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-wine use Wine"
104 --with-msw use MS-Windows"
106 --with-pm use OS/2 Presentation Manager"
108 --with-mgl use SciTech MGL"
110 --with-microwin use MicroWindows"
114 --enable-nanox use NanoX"
116 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
118 --with-libpng use libpng (PNG image format)"
120 --with-libjpeg use libjpeg (JPEG file format)"
122 --with-libtiff use libtiff (TIFF file format)"
124 --with-opengl use OpenGL (or Mesa)"
126 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
128 --with-regex enable support for wxRegEx class"
130 --with-zlib use zlib for LZW compression"
132 --with-odbc use the IODBC and wxODBC classes"
134 --enable-shared create shared library code"
136 --enable-soname set the DT_SONAME field in ELF shared libraries"
138 --enable-optimise create optimised code"
140 --enable-debug same as debug_flag and debug_info"
142 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
144 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
146 --enable-debug_info create code with debugging information"
148 --enable-debug_gdb create code with extra GDB debugging information"
150 --enable-debug_cntxt use wxDebugContext"
152 --enable-mem_tracing create code with memory tracing"
154 --enable-profile create code with profiling information"
156 --enable-no_rtti create code without RTTI information"
158 --enable-no_exceptions create code without C++ exceptions handling"
160 --enable-permissive compile code disregarding strict ANSI"
162 --enable-no_deps create code without dependency information"
164 --enable-compat20 enable wxWindows 2.0 compatibility"
166 --enable-compat22 enable wxWindows 2.2 compatibility"
168 --disable-compat24 disable wxWindows 2.4 compatibility"
170 --enable-rpath=DIR output the rpath flag from wx-config"
172 --enable-intl use internationalization system"
174 --enable-config use wxConfig (and derived) classes"
176 --enable-protocols use wxProtocol and derived classes"
178 --enable-ftp use wxFTP (requires wxProtocol"
180 --enable-http use wxHTTP (requires wxProtocol"
182 --enable-fileproto use wxFileProto class (requires wxProtocol"
184 --enable-sockets use socket/network classes"
186 --enable-ole use OLE classes"
188 --enable-dataobj use data object classes"
190 --enable-ipc use interprocess communication (wxSocket etc.)"
192 --enable-cmdline use wxCmdLineParser class"
194 --enable-datetime use wxDateTime class"
196 --enable-timedate use obsolete wxDate/wxTime classes"
198 --enable-stopwatch use wxStopWatch class"
200 --enable-dialupman use dialup network classes"
202 --enable-apple_ieee use the Apple IEEE codec"
204 --enable-timer use wxTimer class"
206 --enable-wave use wxWave class"
208 --enable-fraction use wxFraction class"
210 --enable-dynlib use wxLibrary class for DLL loading"
212 --enable-dynamicloader use (new) wxDynamicLibrary class"
214 --enable-longlong use wxLongLong class"
216 --enable-geometry use geometry class"
218 --enable-log use logging system"
220 --enable-streams use wxStream etc classes"
222 --enable-file use wxFile classes"
224 --enable-ffile use wxFFile classes"
226 --enable-textbuf use wxTextBuffer class"
228 --enable-textfile use wxTextFile class"
230 --enable-fontmap use font encodings conversion classes"
232 --enable-unicode compile wxString with Unicode support"
234 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
236 --enable-wxprintfv use wxWindows implementation of vprintf()"
238 --enable-std_iostreams use standard C++ stream classes"
240 --enable-filesystem use virtual file systems classes"
242 --enable-fs_inet use virtual HTTP/FTP filesystems"
244 --enable-fs_zip use virtual ZIP filesystems"
246 --enable-zipstream use wxZipInputStream"
248 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
250 --enable-snglinst use wxSingleInstanceChecker class"
252 --enable-mimetype use wxMimeTypesManager"
254 --enable-sysoptions use wxSystemOptions"
256 --enable-url use wxURL class"
258 --enable-protocol use wxProtocol class"
260 --enable-protocol-http HTTP support in wxProtocol"
262 --enable-protocol-ftp FTP support in wxProtocol"
264 --enable-protocol-file FILE support in wxProtocol"
266 --enable-threads use threads"
268 --enable-docview use document view architecture"
270 --enable-help use help subsystem"
272 --enable-mshtmlhelp use MS HTML Help (win32)"
274 --enable-html use wxHTML sub-library"
276 --enable-htmlhelp use wxHTML-based help"
278 --enable-constraints use layout-constraints system"
280 --enable-printarch use printing architecture"
282 --enable-mdi use multiple document interface architecture"
284 --enable-loggui use standard GUI logger"
286 --enable-logwin use wxLogWindow"
288 --enable-logdialog use wxLogDialog"
290 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
292 --enable-prologio use Prolog IO library"
294 --enable-resources use wxWindows resources"
296 --enable-xresources use X resources for save (default for gtk+)"
298 --enable-clipboard use wxClipboard class"
300 --enable-dnd use Drag'n'Drop classes"
302 --enable-metafile use win32 metafiles"
304 --enable-treelayout use wxTreeLayout class"
306 --enable-controls use all usual controls"
308 --enable-accel use accelerators"
310 --enable-button use wxButton class"
312 --enable-bmpbutton use wxBitmapButton class"
314 --enable-calendar use wxCalendarCtrl class"
316 --enable-caret use wxCaret class"
318 --enable-checkbox use wxCheckBox class"
320 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
322 --enable-choice use wxChoice class"
324 --enable-combobox use wxComboBox class"
326 --enable-display use wxDisplay class"
328 --enable-gauge use wxGauge class"
330 --enable-grid use wxGrid class"
332 --enable-newgrid use new wxGrid class"
334 --enable-imaglist use wxImageList class"
336 --enable-listbox use wxListBox class"
338 --enable-listctrl use wxListCtrl class"
340 --enable-notebook use wxNotebook class"
342 --enable-propsheet use wxPropertySheet class"
344 --enable-radiobox use wxRadioBox class"
346 --enable-radiobtn use wxRadioButton class"
348 --enable-sash use wxSashWindow class"
350 --enable-scrollbar use wxScrollBar class and scrollable windows"
352 --enable-slider use wxSlider class"
354 --enable-spinbtn use wxSpinButton class"
356 --enable-spinctrl use wxSpinCtrl class"
358 --enable-splitter use wxSplitterWindow class"
360 --enable-statbmp use wxStaticBitmap class"
362 --enable-statbox use wxStaticBox class"
364 --enable-statline use wxStaticLine class"
366 --enable-stattext use wxStaticText class"
368 --enable-statusbar use wxStatusBar class"
370 --enable-tabdialog use wxTabControl class"
372 --enable-textctrl use wxTextCtrl class"
374 --enable-togglebtn use wxToggleButton class"
376 --enable-toolbar use wxToolBar class"
378 --enable-tbarnative use native wxToolBar class"
380 --enable-tbarsmpl use wxToolBarSimple class"
382 --enable-treectrl use wxTreeCtrl class"
384 --enable-tipwindow use wxTipWindow class"
386 --enable-popupwin use wxPopUpWindow class"
388 --enable-commondlg use all common dialogs"
390 --enable-choicedlg use wxChoiceDialog"
392 --enable-coldlg use wxColourDialog"
394 --enable-filedlg use wxFileDialog"
396 --enable-finddlg use wxFindReplaceDialog"
398 --enable-fontdlg use wxFontDialog"
400 --enable-dirdlg use wxDirDialog"
402 --enable-msgdlg use wxMessageDialog"
404 --enable-numberdlg use wxNumberEntryDialog"
406 --enable-splash use wxSplashScreen"
408 --enable-textdlg use wxTextDialog"
410 --enable-tipdlg use startup tips"
412 --enable-progressdlg use wxProgressDialog"
414 --enable-wizarddlg use wxWizard"
416 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
418 --enable-miniframe use wxMiniFrame class"
420 --enable-tooltips use wxToolTip class"
422 --enable-splines use spline drawing code"
424 --enable-validators use wxValidator and derived classes"
426 --enable-busyinfo use wxBusyInfo"
428 --enable-joystick use wxJoystick (Linux only)"
430 --enable-metafiles use wxMetaFile (Windows only)"
432 --enable-dragimage use wxDragImage"
434 --enable-palette use wxPalette class"
436 --enable-image use wxImage class"
438 --enable-gif use gif images (GIF file format)"
440 --enable-pcx use pcx images (PCX file format)"
442 --enable-iff use iff images (IFF file format)"
444 --enable-pnm use pnm images (PNM file format)"
446 --enable-xpm use xpm images (XPM file format)"
448 --enable-icocur use Windows ICO and CUR formats"
450 --disable-largefile omit support for large files"
452 --disable-gtktest do not try to compile and run a test GTK+ program"
454 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
456 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
458 --disable-gtktest Do not try to compile and run a test GTK program"
460 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
462 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
464 --disable-gtktest Do not try to compile and run a test GTK program"
466 --with-x use the X Window System"
468 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
470 # Initialize some variables set by options.
471 # The variables have the same names as the options, with
472 # dashes changed to underlines.
474 cache_file
=.
/config.cache
483 program_transform_name
=s
,x
,x
,
491 bindir
='${exec_prefix}/bin'
492 sbindir
='${exec_prefix}/sbin'
493 libexecdir
='${exec_prefix}/libexec'
494 datadir
='${prefix}/share'
495 sysconfdir
='${prefix}/etc'
496 sharedstatedir
='${prefix}/com'
497 localstatedir
='${prefix}/var'
498 libdir
='${exec_prefix}/lib'
499 includedir
='${prefix}/include'
500 oldincludedir
='/usr/include'
501 infodir
='${prefix}/info'
502 mandir
='${prefix}/man'
504 # Initialize some other variables.
507 SHELL
=${CONFIG_SHELL-/bin/sh}
508 # Maximum number of lines to put in a shell here document.
515 # If the previous option needs an argument, assign it.
516 if test -n "$ac_prev"; then
517 eval "$ac_prev=\$ac_option"
523 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
527 # Accept the important Cygnus configure options, so we can diagnose typos.
531 -bindir | --bindir | --bindi | --bind | --bin | --bi)
533 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
534 bindir
="$ac_optarg" ;;
536 -build | --build | --buil | --bui | --bu)
538 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
539 build
="$ac_optarg" ;;
541 -cache-file | --cache-file | --cache-fil | --cache-fi \
542 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
543 ac_prev
=cache_file
;;
544 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
545 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
546 cache_file
="$ac_optarg" ;;
548 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
550 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
552 datadir
="$ac_optarg" ;;
554 -disable-* | --disable-*)
555 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
556 # Reject names that are not valid shell variable names.
557 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
558 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
560 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
561 eval "enable_${ac_feature}=no" ;;
563 -enable-* | --enable-*)
564 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
565 # Reject names that are not valid shell variable names.
566 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
567 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
569 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
574 eval "enable_${ac_feature}='$ac_optarg'" ;;
576 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
577 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
578 | --exec | --exe | --ex)
579 ac_prev
=exec_prefix
;;
580 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
581 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
582 | --exec=* | --exe=* | --ex=*)
583 exec_prefix
="$ac_optarg" ;;
585 -gas | --gas | --ga | --g)
586 # Obsolete; use --with-gas.
589 -help | --help | --hel | --he)
590 # Omit some internal or obsolete options to make the list less imposing.
591 # This message is too long to be a string in the A/UX 3.1 sh.
593 Usage: configure [options] [host]
594 Options: [defaults in brackets after descriptions]
596 --cache-file=FILE cache test results in FILE
597 --help print this message
598 --no-create do not create output files
599 --quiet, --silent do not print \`checking...' messages
600 --version print the version of autoconf that created configure
601 Directory and file names:
602 --prefix=PREFIX install architecture-independent files in PREFIX
604 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
606 --bindir=DIR user executables in DIR [EPREFIX/bin]
607 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
608 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
609 --datadir=DIR read-only architecture-independent data in DIR
611 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
612 --sharedstatedir=DIR modifiable architecture-independent data in DIR
614 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
615 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
616 --includedir=DIR C header files in DIR [PREFIX/include]
617 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
618 --infodir=DIR info documentation in DIR [PREFIX/info]
619 --mandir=DIR man documentation in DIR [PREFIX/man]
620 --srcdir=DIR find the sources in DIR [configure dir or ..]
621 --program-prefix=PREFIX prepend PREFIX to installed program names
622 --program-suffix=SUFFIX append SUFFIX to installed program names
623 --program-transform-name=PROGRAM
624 run sed PROGRAM on installed program names
628 --build=BUILD configure for building on BUILD [BUILD=HOST]
629 --host=HOST configure for HOST [guessed]
630 --target=TARGET configure for TARGET [TARGET=HOST]
631 Features and packages:
632 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
633 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
634 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
635 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
636 --x-includes=DIR X include files are in DIR
637 --x-libraries=DIR X library files are in DIR
639 if test -n "$ac_help"; then
640 echo "--enable and --with options recognized:$ac_help"
644 -host | --host | --hos | --ho)
646 -host=* | --host=* | --hos=* | --ho=*)
649 -includedir | --includedir | --includedi | --included | --include \
650 | --includ | --inclu | --incl | --inc)
651 ac_prev
=includedir
;;
652 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
653 | --includ=* | --inclu=* | --incl=* | --inc=*)
654 includedir
="$ac_optarg" ;;
656 -infodir | --infodir | --infodi | --infod | --info | --inf)
658 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
659 infodir
="$ac_optarg" ;;
661 -libdir | --libdir | --libdi | --libd)
663 -libdir=* | --libdir=* | --libdi=* | --libd=*)
664 libdir
="$ac_optarg" ;;
666 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
667 | --libexe | --libex | --libe)
668 ac_prev
=libexecdir
;;
669 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
670 | --libexe=* | --libex=* | --libe=*)
671 libexecdir
="$ac_optarg" ;;
673 -localstatedir | --localstatedir | --localstatedi | --localstated \
674 | --localstate | --localstat | --localsta | --localst \
675 | --locals | --local | --loca | --loc | --lo)
676 ac_prev
=localstatedir
;;
677 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
678 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
679 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
680 localstatedir
="$ac_optarg" ;;
682 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
684 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
685 mandir
="$ac_optarg" ;;
688 # Obsolete; use --without-fp.
691 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
695 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
696 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
699 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
700 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
701 | --oldin | --oldi | --old | --ol | --o)
702 ac_prev
=oldincludedir
;;
703 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
704 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
705 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
706 oldincludedir
="$ac_optarg" ;;
708 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
710 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
711 prefix
="$ac_optarg" ;;
713 -program-prefix | --program-prefix | --program-prefi | --program-pref \
714 | --program-pre | --program-pr | --program-p)
715 ac_prev
=program_prefix
;;
716 -program-prefix=* | --program-prefix=* | --program-prefi=* \
717 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
718 program_prefix
="$ac_optarg" ;;
720 -program-suffix | --program-suffix | --program-suffi | --program-suff \
721 | --program-suf | --program-su | --program-s)
722 ac_prev
=program_suffix
;;
723 -program-suffix=* | --program-suffix=* | --program-suffi=* \
724 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
725 program_suffix
="$ac_optarg" ;;
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 ac_prev
=program_transform_name
;;
735 -program-transform-name=* | --program-transform-name=* \
736 | --program-transform-nam=* | --program-transform-na=* \
737 | --program-transform-n=* | --program-transform-=* \
738 | --program-transform=* | --program-transfor=* \
739 | --program-transfo=* | --program-transf=* \
740 | --program-trans=* | --program-tran=* \
741 | --progr-tra=* | --program-tr=* | --program-t=*)
742 program_transform_name
="$ac_optarg" ;;
744 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
745 | -silent | --silent | --silen | --sile | --sil)
748 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
750 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
752 sbindir
="$ac_optarg" ;;
754 -sharedstatedir | --sharedstatedir | --sharedstatedi \
755 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
756 | --sharedst | --shareds | --shared | --share | --shar \
758 ac_prev
=sharedstatedir
;;
759 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
760 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
761 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
763 sharedstatedir
="$ac_optarg" ;;
765 -site | --site | --sit)
767 -site=* | --site=* | --sit=*)
770 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
772 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
773 srcdir
="$ac_optarg" ;;
775 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
776 | --syscon | --sysco | --sysc | --sys | --sy)
777 ac_prev
=sysconfdir
;;
778 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
779 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
780 sysconfdir
="$ac_optarg" ;;
782 -target | --target | --targe | --targ | --tar | --ta | --t)
784 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
785 target
="$ac_optarg" ;;
787 -v | -verbose | --verbose | --verbos | --verbo | --verb)
790 -version | --version | --versio | --versi | --vers)
791 echo "configure generated by autoconf version 2.13"
795 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
796 # Reject names that are not valid shell variable names.
797 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
798 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
800 ac_package
=`echo $ac_package| sed 's/-/_/g'`
805 eval "with_${ac_package}='$ac_optarg'" ;;
807 -without-* | --without-*)
808 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
809 # Reject names that are not valid shell variable names.
810 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
811 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
813 ac_package
=`echo $ac_package| sed 's/-/_/g'`
814 eval "with_${ac_package}=no" ;;
817 # Obsolete; use --with-x.
820 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
821 | --x-incl | --x-inc | --x-in | --x-i)
822 ac_prev
=x_includes
;;
823 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
824 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
825 x_includes
="$ac_optarg" ;;
827 -x-libraries | --x-libraries | --x-librarie | --x-librari \
828 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
829 ac_prev
=x_libraries
;;
830 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
831 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
832 x_libraries
="$ac_optarg" ;;
834 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
838 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
839 echo "configure: warning: $ac_option: invalid host type" 1>&2
841 if test "x$nonopt" != xNONE
; then
842 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
850 if test -n "$ac_prev"; then
851 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
854 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
856 # File descriptor usage:
859 # 2 errors and warnings
860 # 3 some systems may open it to /dev/tty
861 # 4 used on the Kubota Titan
862 # 6 checking for... messages and results
863 # 5 compiler messages saved in config.log
864 if test "$silent" = yes; then
872 This file contains any messages produced by compilers while
873 running configure, to aid debugging if configure makes a mistake.
876 # Strip out --no-create and --no-recursion so they do not pile up.
877 # Also quote any args containing shell metacharacters.
882 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
883 | --no-cr | --no-c) ;;
884 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
885 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
886 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
887 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
888 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
893 # Only set these to C if already set. These must not be set unconditionally
894 # because not all systems understand e.g. LANG=C (notably SCO).
895 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
896 # Non-C LC_CTYPE values break the ctype check.
897 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
898 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
899 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
900 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
902 # confdefs.h avoids OS command line length limits that DEFS can exceed.
903 rm -rf conftest
* confdefs.h
904 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
907 # A filename unique to this package, relative to the directory that
908 # configure is in, which we can look for to find out if srcdir is correct.
909 ac_unique_file
=wx
-config.
in
911 # Find the source files, if location was not specified.
912 if test -z "$srcdir"; then
913 ac_srcdir_defaulted
=yes
914 # Try the directory containing this script, then its parent.
916 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
917 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
919 if test ! -r $srcdir/$ac_unique_file; then
923 ac_srcdir_defaulted
=no
925 if test ! -r $srcdir/$ac_unique_file; then
926 if test "$ac_srcdir_defaulted" = yes; then
927 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
929 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
932 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
934 # Prefer explicitly selected file to automatically selected ones.
935 if test -z "$CONFIG_SITE"; then
936 if test "x$prefix" != xNONE
; then
937 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
939 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
942 for ac_site_file
in $CONFIG_SITE; do
943 if test -r "$ac_site_file"; then
944 echo "loading site script $ac_site_file"
949 if test -r "$cache_file"; then
950 echo "loading cache $cache_file"
953 echo "creating cache $cache_file"
958 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
959 ac_cpp
='$CPP $CPPFLAGS'
960 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
961 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
962 cross_compiling
=$ac_cv_prog_cc_cross
966 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
967 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
968 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
975 ac_n
= ac_c
='\c' ac_t
=
981 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
982 if test -f $ac_dir/install-sh; then
984 ac_install_sh
="$ac_aux_dir/install-sh -c"
986 elif test -f $ac_dir/install.sh
; then
988 ac_install_sh
="$ac_aux_dir/install.sh -c"
992 if test -z "$ac_aux_dir"; then
993 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
995 ac_config_guess
=$ac_aux_dir/config.guess
996 ac_config_sub
=$ac_aux_dir/config.sub
997 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1000 # Do some error checking and defaulting for the host and target type.
1002 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
1005 # 1. You are not allowed to specify --host, --target, and nonopt at the
1007 # 2. Host defaults to nonopt.
1008 # 3. If nonopt is not specified, then host defaults to the current host,
1009 # as determined by config.guess.
1010 # 4. Target and build default to nonopt.
1011 # 5. If nonopt is not specified, then target and build default to host.
1013 # The aliases save the names the user supplied, while $host etc.
1014 # will get canonicalized.
1015 case $host---$target---$nonopt in
1016 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1017 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1021 # Make sure we can run config.sub.
1022 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1023 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1026 echo $ac_n "checking host system type""... $ac_c" 1>&6
1027 echo "configure:1028: checking host system type" >&5
1030 case "$host_alias" in
1034 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1035 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1037 *) host_alias
=$nonopt ;;
1041 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1042 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1043 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1044 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1045 echo "$ac_t""$host" 1>&6
1047 echo $ac_n "checking target system type""... $ac_c" 1>&6
1048 echo "configure:1049: checking target system type" >&5
1050 target_alias
=$target
1051 case "$target_alias" in
1054 NONE
) target_alias
=$host_alias ;;
1055 *) target_alias
=$nonopt ;;
1059 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1060 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1061 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1062 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1063 echo "$ac_t""$target" 1>&6
1065 echo $ac_n "checking build system type""... $ac_c" 1>&6
1066 echo "configure:1067: checking build system type" >&5
1069 case "$build_alias" in
1072 NONE
) build_alias
=$host_alias ;;
1073 *) build_alias
=$nonopt ;;
1077 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1078 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1079 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1080 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1081 echo "$ac_t""$build" 1>&6
1083 test "$host_alias" != "$target_alias" &&
1084 test "$program_prefix$program_suffix$program_transform_name" = \
1086 program_prefix
=${target_alias}-
1090 WX_MAJOR_VERSION_NUMBER
=2
1091 WX_MINOR_VERSION_NUMBER
=5
1094 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1095 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1097 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1131 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1133 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1138 DEFAULT_wxUSE_MICROWIN
=0
1139 DEFAULT_wxUSE_MOTIF
=0
1144 DEFAULT_DEFAULT_wxUSE_GTK
=0
1145 DEFAULT_DEFAULT_wxUSE_MAC
=0
1146 DEFAULT_DEFAULT_wxUSE_MGL
=0
1147 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1148 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1149 DEFAULT_DEFAULT_wxUSE_MSW
=0
1150 DEFAULT_DEFAULT_wxUSE_PM
=0
1151 DEFAULT_DEFAULT_wxUSE_X11
=0
1159 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1160 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1162 cat >> confdefs.h
<<\EOF
1169 cat >> confdefs.h
<<\EOF
1174 if test "x$TMP" = "xalpha"; then
1176 cat >> confdefs.h
<<\EOF
1181 DEFAULT_DEFAULT_wxUSE_GTK
=1
1183 *-*-irix5* | *-*-irix6* )
1186 cat >> confdefs.h
<<\EOF
1190 cat >> confdefs.h
<<\EOF
1194 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1200 cat >> confdefs.h
<<\EOF
1204 cat >> confdefs.h
<<\EOF
1205 #define __SOLARIS__ 1
1208 cat >> confdefs.h
<<\EOF
1212 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1213 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1219 cat >> confdefs.h
<<\EOF
1223 cat >> confdefs.h
<<\EOF
1227 cat >> confdefs.h
<<\EOF
1231 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1236 cat >> confdefs.h
<<\EOF
1237 #define __FREEBSD__ 1
1240 cat >> confdefs.h
<<\EOF
1244 DEFAULT_DEFAULT_wxUSE_GTK
=1
1249 cat >> confdefs.h
<<\EOF
1250 #define __OPENBSD__ 1
1253 cat >> confdefs.h
<<\EOF
1257 DEFAULT_DEFAULT_wxUSE_GTK
=1
1262 cat >> confdefs.h
<<\EOF
1263 #define __NETBSD__ 1
1266 cat >> confdefs.h
<<\EOF
1270 DEFAULT_DEFAULT_wxUSE_GTK
=1
1275 cat >> confdefs.h
<<\EOF
1279 cat >> confdefs.h
<<\EOF
1283 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1284 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1289 cat >> confdefs.h
<<\EOF
1293 cat >> confdefs.h
<<\EOF
1297 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1302 cat >> confdefs.h
<<\EOF
1306 cat >> confdefs.h
<<\EOF
1310 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1317 cat >> confdefs.h
<<\EOF
1321 cat >> confdefs.h
<<\EOF
1325 cat >> confdefs.h
<<\EOF
1329 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1332 *-*-cygwin* | *-*-mingw32* )
1336 DEFAULT_DEFAULT_wxUSE_MSW
=1
1342 cat >> confdefs.h
<<\EOF
1347 DEFAULT_DEFAULT_wxUSE_MGL
=1
1348 LIBS
="$LIBS -lstdc++"
1351 *-pc-os2_emx | *-pc-os2-emx )
1352 cat >> confdefs.h
<<\EOF
1357 DEFAULT_DEFAULT_wxUSE_PM
=1
1364 cat >> confdefs.h
<<\EOF
1368 cat >> confdefs.h
<<\EOF
1369 #define __DARWIN__ 1
1372 cat >> confdefs.h
<<\EOF
1373 #define __POWERPC__ 1
1376 cat >> confdefs.h
<<\EOF
1377 #define TARGET_CARBON 1
1380 DEFAULT_DEFAULT_wxUSE_MAC
=1
1385 cat >> confdefs.h
<<\EOF
1392 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1398 wx_arg_cache_file
="configarg.cache"
1399 echo "loading argument cache $wx_arg_cache_file"
1400 rm -f ${wx_arg_cache_file}.tmp
1401 touch ${wx_arg_cache_file}.tmp
1402 touch ${wx_arg_cache_file}
1406 if test $DEBUG_CONFIGURE = 1; then
1407 DEFAULT_wxUSE_UNIVERSAL
=no
1409 DEFAULT_wxUSE_NANOX
=no
1411 DEFAULT_wxUSE_THREADS
=yes
1413 DEFAULT_wxUSE_SHARED
=yes
1414 DEFAULT_wxUSE_SONAME
=no
1415 DEFAULT_wxUSE_OPTIMISE
=no
1416 DEFAULT_wxUSE_PROFILE
=no
1417 DEFAULT_wxUSE_NO_DEPS
=no
1418 DEFAULT_wxUSE_NO_RTTI
=no
1419 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1420 DEFAULT_wxUSE_PERMISSIVE
=no
1421 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1422 DEFAULT_wxUSE_DEBUG_INFO
=yes
1423 DEFAULT_wxUSE_DEBUG_GDB
=yes
1424 DEFAULT_wxUSE_MEM_TRACING
=no
1425 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1426 DEFAULT_wxUSE_DMALLOC
=no
1427 DEFAULT_wxUSE_PRECOMP
=no
1428 DEFAULT_wxUSE_APPLE_IEEE
=no
1430 DEFAULT_wxUSE_LOG
=yes
1431 DEFAULT_wxUSE_LOGWINDOW
=no
1432 DEFAULT_wxUSE_LOGGUI
=no
1433 DEFAULT_wxUSE_LOGDIALOG
=no
1435 DEFAULT_wxUSE_GUI
=yes
1436 DEFAULT_wxUSE_CONTROLS
=no
1438 DEFAULT_wxUSE_REGEX
=no
1439 DEFAULT_wxUSE_ZLIB
=no
1440 DEFAULT_wxUSE_LIBPNG
=no
1441 DEFAULT_wxUSE_LIBJPEG
=no
1442 DEFAULT_wxUSE_LIBTIFF
=no
1443 DEFAULT_wxUSE_ODBC
=no
1444 DEFAULT_wxUSE_OPENGL
=no
1446 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1447 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1448 DEFAULT_wxUSE_STD_IOSTREAM
=no
1449 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1450 DEFAULT_wxUSE_DATETIME
=no
1451 DEFAULT_wxUSE_TIMEDATE
=no
1452 DEFAULT_wxUSE_TIMER
=no
1453 DEFAULT_wxUSE_STOPWATCH
=no
1454 DEFAULT_wxUSE_FILE
=no
1455 DEFAULT_wxUSE_FFILE
=no
1456 DEFAULT_wxUSE_TEXTBUFFER
=no
1457 DEFAULT_wxUSE_TEXTFILE
=no
1458 DEFAULT_wxUSE_WAVE
=no
1459 DEFAULT_wxUSE_INTL
=no
1460 DEFAULT_wxUSE_CONFIG
=no
1461 DEFAULT_wxUSE_FONTMAP
=no
1462 DEFAULT_wxUSE_STREAMS
=no
1463 DEFAULT_wxUSE_SOCKETS
=no
1464 DEFAULT_wxUSE_OLE
=no
1465 DEFAULT_wxUSE_DATAOBJ
=no
1466 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1467 DEFAULT_wxUSE_JOYSTICK
=no
1468 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1469 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1470 DEFAULT_wxUSE_LONGLONG
=no
1471 DEFAULT_wxUSE_GEOMETRY
=no
1473 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1474 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1475 DEFAULT_wxUSE_POSTSCRIPT
=no
1477 DEFAULT_wxUSE_X_RESOURCES
=no
1478 DEFAULT_wxUSE_CLIPBOARD
=no
1479 DEFAULT_wxUSE_TOOLTIPS
=no
1480 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1481 DEFAULT_wxUSE_DRAGIMAGE
=no
1482 DEFAULT_wxUSE_SPLINES
=no
1484 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1485 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1486 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1488 DEFAULT_wxUSE_PROLOGIO
=no
1489 DEFAULT_wxUSE_RESOURCES
=no
1490 DEFAULT_wxUSE_CONSTRAINTS
=no
1491 DEFAULT_wxUSE_IPC
=no
1492 DEFAULT_wxUSE_HELP
=no
1493 DEFAULT_wxUSE_MS_HTML_HELP
=no
1494 DEFAULT_wxUSE_WXHTML_HELP
=no
1495 DEFAULT_wxUSE_TREELAYOUT
=no
1496 DEFAULT_wxUSE_METAFILE
=no
1497 DEFAULT_wxUSE_MIMETYPE
=no
1498 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1499 DEFAULT_wxUSE_PROTOCOL
=no
1500 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1501 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1502 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1503 DEFAULT_wxUSE_URL
=no
1505 DEFAULT_wxUSE_COMMONDLGS
=no
1506 DEFAULT_wxUSE_CHOICEDLG
=no
1507 DEFAULT_wxUSE_COLOURDLG
=no
1508 DEFAULT_wxUSE_DIRDLG
=no
1509 DEFAULT_wxUSE_FILEDLG
=no
1510 DEFAULT_wxUSE_FINDREPLDLG
=no
1511 DEFAULT_wxUSE_FONTDLG
=no
1512 DEFAULT_wxUSE_MSGDLG
=no
1513 DEFAULT_wxUSE_NUMBERDLG
=no
1514 DEFAULT_wxUSE_TEXTDLG
=no
1515 DEFAULT_wxUSE_SPLASH
=no
1516 DEFAULT_wxUSE_STARTUP_TIPS
=no
1517 DEFAULT_wxUSE_PROGRESSDLG
=no
1518 DEFAULT_wxUSE_WIZARDDLG
=no
1520 DEFAULT_wxUSE_MENUS
=no
1521 DEFAULT_wxUSE_MINIFRAME
=no
1522 DEFAULT_wxUSE_HTML
=no
1523 DEFAULT_wxUSE_FILESYSTEM
=no
1524 DEFAULT_wxUSE_FS_INET
=no
1525 DEFAULT_wxUSE_FS_ZIP
=no
1526 DEFAULT_wxUSE_BUSYINFO
=no
1527 DEFAULT_wxUSE_ZIPSTREAM
=no
1528 DEFAULT_wxUSE_VALIDATORS
=no
1530 DEFAULT_wxUSE_ACCEL
=no
1531 DEFAULT_wxUSE_BUTTON
=no
1532 DEFAULT_wxUSE_BMPBUTTON
=no
1533 DEFAULT_wxUSE_CALCTRL
=no
1534 DEFAULT_wxUSE_CARET
=no
1535 DEFAULT_wxUSE_CHECKBOX
=no
1536 DEFAULT_wxUSE_CHECKLST
=no
1537 DEFAULT_wxUSE_CHOICE
=no
1538 DEFAULT_wxUSE_COMBOBOX
=no
1539 DEFAULT_wxUSE_DISPLAY
=no
1540 DEFAULT_wxUSE_GAUGE
=no
1541 DEFAULT_wxUSE_GRID
=no
1542 DEFAULT_wxUSE_NEW_GRID
=no
1543 DEFAULT_wxUSE_IMAGLIST
=no
1544 DEFAULT_wxUSE_LISTBOX
=no
1545 DEFAULT_wxUSE_LISTCTRL
=no
1546 DEFAULT_wxUSE_NOTEBOOK
=no
1547 DEFAULT_wxUSE_PROPSHEET
=no
1548 DEFAULT_wxUSE_RADIOBOX
=no
1549 DEFAULT_wxUSE_RADIOBTN
=no
1550 DEFAULT_wxUSE_SASH
=no
1551 DEFAULT_wxUSE_SCROLLBAR
=no
1552 DEFAULT_wxUSE_SLIDER
=no
1553 DEFAULT_wxUSE_SPINBTN
=no
1554 DEFAULT_wxUSE_SPINCTRL
=no
1555 DEFAULT_wxUSE_SPLITTER
=no
1556 DEFAULT_wxUSE_STATBMP
=no
1557 DEFAULT_wxUSE_STATBOX
=no
1558 DEFAULT_wxUSE_STATLINE
=no
1559 DEFAULT_wxUSE_STATTEXT
=no
1560 DEFAULT_wxUSE_STATUSBAR
=yes
1561 DEFAULT_wxUSE_TABDIALOG
=no
1562 DEFAULT_wxUSE_TEXTCTRL
=no
1563 DEFAULT_wxUSE_TOGGLEBTN
=no
1564 DEFAULT_wxUSE_TOOLBAR
=no
1565 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1566 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1567 DEFAULT_wxUSE_TREECTRL
=no
1568 DEFAULT_wxUSE_POPUPWIN
=no
1569 DEFAULT_wxUSE_TIPWINDOW
=no
1571 DEFAULT_wxUSE_UNICODE
=no
1572 DEFAULT_wxUSE_UNICODE_MSLU
=no
1573 DEFAULT_wxUSE_WCSRTOMBS
=no
1575 DEFAULT_wxUSE_PALETTE
=no
1576 DEFAULT_wxUSE_IMAGE
=no
1577 DEFAULT_wxUSE_GIF
=no
1578 DEFAULT_wxUSE_PCX
=no
1579 DEFAULT_wxUSE_PNM
=no
1580 DEFAULT_wxUSE_IFF
=no
1581 DEFAULT_wxUSE_XPM
=no
1582 DEFAULT_wxUSE_ICO_CUR
=no
1584 DEFAULT_wxUSE_UNIVERSAL
=no
1586 DEFAULT_wxUSE_NANOX
=no
1588 DEFAULT_wxUSE_THREADS
=yes
1590 DEFAULT_wxUSE_SHARED
=yes
1591 DEFAULT_wxUSE_SONAME
=no
1592 DEFAULT_wxUSE_OPTIMISE
=yes
1593 DEFAULT_wxUSE_PROFILE
=no
1594 DEFAULT_wxUSE_NO_DEPS
=no
1595 DEFAULT_wxUSE_NO_RTTI
=no
1596 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1597 DEFAULT_wxUSE_PERMISSIVE
=no
1598 DEFAULT_wxUSE_DEBUG_FLAG
=no
1599 DEFAULT_wxUSE_DEBUG_INFO
=no
1600 DEFAULT_wxUSE_DEBUG_GDB
=no
1601 DEFAULT_wxUSE_MEM_TRACING
=no
1602 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1603 DEFAULT_wxUSE_DMALLOC
=no
1604 DEFAULT_wxUSE_PRECOMP
=no
1605 DEFAULT_wxUSE_APPLE_IEEE
=yes
1607 DEFAULT_wxUSE_LOG
=yes
1608 DEFAULT_wxUSE_LOGWINDOW
=yes
1609 DEFAULT_wxUSE_LOGGUI
=yes
1610 DEFAULT_wxUSE_LOGDIALOG
=yes
1612 DEFAULT_wxUSE_GUI
=yes
1614 DEFAULT_wxUSE_REGEX
=yes
1615 DEFAULT_wxUSE_ZLIB
=yes
1616 DEFAULT_wxUSE_LIBPNG
=yes
1617 DEFAULT_wxUSE_LIBJPEG
=yes
1618 DEFAULT_wxUSE_LIBTIFF
=yes
1619 DEFAULT_wxUSE_ODBC
=no
1620 DEFAULT_wxUSE_OPENGL
=no
1622 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1623 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1624 DEFAULT_wxUSE_STD_IOSTREAM
=no
1625 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1626 DEFAULT_wxUSE_DATETIME
=yes
1627 DEFAULT_wxUSE_TIMEDATE
=no
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_PROLOGIO
=no
1665 DEFAULT_wxUSE_RESOURCES
=no
1666 DEFAULT_wxUSE_CONSTRAINTS
=yes
1667 DEFAULT_wxUSE_IPC
=yes
1668 DEFAULT_wxUSE_HELP
=yes
1669 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1670 DEFAULT_wxUSE_WXHTML_HELP
=yes
1671 DEFAULT_wxUSE_TREELAYOUT
=yes
1672 DEFAULT_wxUSE_METAFILE
=yes
1673 DEFAULT_wxUSE_MIMETYPE
=yes
1674 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1675 DEFAULT_wxUSE_PROTOCOL
=yes
1676 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1677 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1678 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1679 DEFAULT_wxUSE_URL
=yes
1681 DEFAULT_wxUSE_COMMONDLGS
=yes
1682 DEFAULT_wxUSE_CHOICEDLG
=yes
1683 DEFAULT_wxUSE_COLOURDLG
=yes
1684 DEFAULT_wxUSE_DIRDLG
=yes
1685 DEFAULT_wxUSE_FILEDLG
=yes
1686 DEFAULT_wxUSE_FINDREPLDLG
=yes
1687 DEFAULT_wxUSE_FONTDLG
=yes
1688 DEFAULT_wxUSE_MSGDLG
=yes
1689 DEFAULT_wxUSE_NUMBERDLG
=yes
1690 DEFAULT_wxUSE_TEXTDLG
=yes
1691 DEFAULT_wxUSE_SPLASH
=yes
1692 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1693 DEFAULT_wxUSE_PROGRESSDLG
=yes
1694 DEFAULT_wxUSE_WIZARDDLG
=yes
1696 DEFAULT_wxUSE_MENUS
=yes
1697 DEFAULT_wxUSE_MINIFRAME
=yes
1698 DEFAULT_wxUSE_HTML
=yes
1699 DEFAULT_wxUSE_FILESYSTEM
=yes
1700 DEFAULT_wxUSE_FS_INET
=yes
1701 DEFAULT_wxUSE_FS_ZIP
=yes
1702 DEFAULT_wxUSE_BUSYINFO
=yes
1703 DEFAULT_wxUSE_ZIPSTREAM
=yes
1704 DEFAULT_wxUSE_VALIDATORS
=yes
1706 DEFAULT_wxUSE_ACCEL
=yes
1707 DEFAULT_wxUSE_BUTTON
=yes
1708 DEFAULT_wxUSE_BMPBUTTON
=yes
1709 DEFAULT_wxUSE_CALCTRL
=yes
1710 DEFAULT_wxUSE_CARET
=yes
1711 DEFAULT_wxUSE_CHECKBOX
=yes
1712 DEFAULT_wxUSE_CHECKLST
=yes
1713 DEFAULT_wxUSE_CHOICE
=yes
1714 DEFAULT_wxUSE_COMBOBOX
=yes
1715 DEFAULT_wxUSE_DISPLAY
=no
1716 DEFAULT_wxUSE_GAUGE
=yes
1717 DEFAULT_wxUSE_GRID
=yes
1718 DEFAULT_wxUSE_NEW_GRID
=yes
1719 DEFAULT_wxUSE_IMAGLIST
=yes
1720 DEFAULT_wxUSE_LISTBOX
=yes
1721 DEFAULT_wxUSE_LISTCTRL
=yes
1722 DEFAULT_wxUSE_NOTEBOOK
=yes
1723 DEFAULT_wxUSE_PROPSHEET
=yes
1724 DEFAULT_wxUSE_RADIOBOX
=yes
1725 DEFAULT_wxUSE_RADIOBTN
=yes
1726 DEFAULT_wxUSE_SASH
=yes
1727 DEFAULT_wxUSE_SCROLLBAR
=yes
1728 DEFAULT_wxUSE_SLIDER
=yes
1729 DEFAULT_wxUSE_SPINBTN
=yes
1730 DEFAULT_wxUSE_SPINCTRL
=yes
1731 DEFAULT_wxUSE_SPLITTER
=yes
1732 DEFAULT_wxUSE_STATBMP
=yes
1733 DEFAULT_wxUSE_STATBOX
=yes
1734 DEFAULT_wxUSE_STATLINE
=yes
1735 DEFAULT_wxUSE_STATTEXT
=yes
1736 DEFAULT_wxUSE_STATUSBAR
=yes
1737 DEFAULT_wxUSE_TABDIALOG
=no
1738 DEFAULT_wxUSE_TEXTCTRL
=yes
1739 DEFAULT_wxUSE_TOGGLEBTN
=yes
1740 DEFAULT_wxUSE_TOOLBAR
=yes
1741 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1742 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1743 DEFAULT_wxUSE_TREECTRL
=yes
1744 DEFAULT_wxUSE_POPUPWIN
=yes
1745 DEFAULT_wxUSE_TIPWINDOW
=yes
1747 DEFAULT_wxUSE_UNICODE
=no
1748 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1749 DEFAULT_wxUSE_WCSRTOMBS
=no
1751 DEFAULT_wxUSE_PALETTE
=yes
1752 DEFAULT_wxUSE_IMAGE
=yes
1753 DEFAULT_wxUSE_GIF
=yes
1754 DEFAULT_wxUSE_PCX
=yes
1755 DEFAULT_wxUSE_IFF
=no
1756 DEFAULT_wxUSE_PNM
=yes
1757 DEFAULT_wxUSE_XPM
=yes
1758 DEFAULT_wxUSE_ICO_CUR
=yes
1763 for toolkit
in `echo $ALL_TOOLKITS`; do
1764 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1765 if test "x$LINE" != "x" ; then
1766 has_toolkit_in_cache
=1
1767 eval "DEFAULT_$LINE"
1768 eval "CACHE_$toolkit=1"
1775 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1776 echo "configure:1777: checking for --${enablestring:-enable}-gui" >&5
1778 # Check whether --enable-gui or --disable-gui was given.
1779 if test "${enable_gui+set}" = set; then
1780 enableval
="$enable_gui"
1782 if test "$enableval" = yes; then
1783 ac_cv_use_gui
='wxUSE_GUI=yes'
1785 ac_cv_use_gui
='wxUSE_GUI=no'
1790 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1791 if test "x$LINE" != x
; then
1792 eval "DEFAULT_$LINE"
1797 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1802 eval "$ac_cv_use_gui"
1803 if test "$no_cache" != 1; then
1804 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1807 if test "$wxUSE_GUI" = yes; then
1808 echo "$ac_t""yes" 1>&6
1810 echo "$ac_t""no" 1>&6
1814 if test "$wxUSE_GUI" = "yes"; then
1818 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1819 echo "configure:1820: checking for --${enablestring:-enable}-universal" >&5
1821 # Check whether --enable-universal or --disable-universal was given.
1822 if test "${enable_universal+set}" = set; then
1823 enableval
="$enable_universal"
1825 if test "$enableval" = yes; then
1826 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1828 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1833 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1834 if test "x$LINE" != x
; then
1835 eval "DEFAULT_$LINE"
1840 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1845 eval "$ac_cv_use_universal"
1846 if test "$no_cache" != 1; then
1847 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1850 if test "$wxUSE_UNIVERSAL" = yes; then
1851 echo "$ac_t""yes" 1>&6
1853 echo "$ac_t""no" 1>&6
1856 # Check whether --with-gtk or --without-gtk was given.
1857 if test "${with_gtk+set}" = set; then
1859 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1862 # Check whether --with-motif or --without-motif was given.
1863 if test "${with_motif+set}" = set; then
1864 withval
="$with_motif"
1865 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1868 # Check whether --with-mac or --without-mac was given.
1869 if test "${with_mac+set}" = set; then
1871 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1874 # Check whether --with-wine or --without-wine was given.
1875 if test "${with_wine+set}" = set; then
1876 withval
="$with_wine"
1877 wxUSE_WINE
="$withval" CACHE_WINE
=1
1880 # Check whether --with-msw or --without-msw was given.
1881 if test "${with_msw+set}" = set; then
1883 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1886 # Check whether --with-pm or --without-pm was given.
1887 if test "${with_pm+set}" = set; then
1889 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1892 # Check whether --with-mgl or --without-mgl was given.
1893 if test "${with_mgl+set}" = set; then
1895 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1898 # Check whether --with-microwin or --without-microwin was given.
1899 if test "${with_microwin+set}" = set; then
1900 withval
="$with_microwin"
1901 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1904 # Check whether --with-x11 or --without-x11 was given.
1905 if test "${with_x11+set}" = set; then
1907 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1912 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1913 echo "configure:1914: checking for --${enablestring:-enable}-nanox" >&5
1915 # Check whether --enable-nanox or --disable-nanox was given.
1916 if test "${enable_nanox+set}" = set; then
1917 enableval
="$enable_nanox"
1919 if test "$enableval" = yes; then
1920 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1922 ac_cv_use_nanox
='wxUSE_NANOX=no'
1927 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1928 if test "x$LINE" != x
; then
1929 eval "DEFAULT_$LINE"
1934 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1939 eval "$ac_cv_use_nanox"
1940 if test "$no_cache" != 1; then
1941 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1944 if test "$wxUSE_NANOX" = yes; then
1945 echo "$ac_t""yes" 1>&6
1947 echo "$ac_t""no" 1>&6
1953 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1954 echo "configure:1955: checking for --${enablestring:-enable}-gtk2" >&5
1956 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1957 if test "${enable_gtk2+set}" = set; then
1958 enableval
="$enable_gtk2"
1960 if test "$enableval" = yes; then
1961 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1963 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1968 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1969 if test "x$LINE" != x
; then
1970 eval "DEFAULT_$LINE"
1975 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1980 eval "$ac_cv_use_gtk2"
1981 if test "$no_cache" != 1; then
1982 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1985 if test "$wxUSE_GTK2" = yes; then
1986 echo "$ac_t""yes" 1>&6
1988 echo "$ac_t""no" 1>&6
1993 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1994 echo "configure:1995: checking for --with-libpng" >&5
1996 # Check whether --with-libpng or --without-libpng was given.
1997 if test "${with_libpng+set}" = set; then
1998 withval
="$with_libpng"
2000 if test "$withval" = yes; then
2001 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2002 elif test "$withval" = no
; then
2003 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2004 elif test "$withval" = sys
; then
2005 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2006 elif test "$withval" = builtin; then
2007 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2009 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2014 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2015 if test "x$LINE" != x
; then
2016 eval "DEFAULT_$LINE"
2021 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2026 eval "$ac_cv_use_libpng"
2027 if test "$no_cache" != 1; then
2028 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2031 if test "$wxUSE_LIBPNG" = yes; then
2032 echo "$ac_t""yes" 1>&6
2033 elif test "$wxUSE_LIBPNG" = no
; then
2034 echo "$ac_t""no" 1>&6
2035 elif test "$wxUSE_LIBPNG" = sys
; then
2036 echo "$ac_t""system version" 1>&6
2037 elif test "$wxUSE_LIBPNG" = builtin; then
2038 echo "$ac_t""builtin version" 1>&6
2040 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2044 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2045 echo "configure:2046: checking for --with-libjpeg" >&5
2047 # Check whether --with-libjpeg or --without-libjpeg was given.
2048 if test "${with_libjpeg+set}" = set; then
2049 withval
="$with_libjpeg"
2051 if test "$withval" = yes; then
2052 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2053 elif test "$withval" = no
; then
2054 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2055 elif test "$withval" = sys
; then
2056 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2057 elif test "$withval" = builtin; then
2058 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2060 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2065 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2066 if test "x$LINE" != x
; then
2067 eval "DEFAULT_$LINE"
2072 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2077 eval "$ac_cv_use_libjpeg"
2078 if test "$no_cache" != 1; then
2079 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2082 if test "$wxUSE_LIBJPEG" = yes; then
2083 echo "$ac_t""yes" 1>&6
2084 elif test "$wxUSE_LIBJPEG" = no
; then
2085 echo "$ac_t""no" 1>&6
2086 elif test "$wxUSE_LIBJPEG" = sys
; then
2087 echo "$ac_t""system version" 1>&6
2088 elif test "$wxUSE_LIBJPEG" = builtin; then
2089 echo "$ac_t""builtin version" 1>&6
2091 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2095 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2096 echo "configure:2097: checking for --with-libtiff" >&5
2098 # Check whether --with-libtiff or --without-libtiff was given.
2099 if test "${with_libtiff+set}" = set; then
2100 withval
="$with_libtiff"
2102 if test "$withval" = yes; then
2103 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2104 elif test "$withval" = no
; then
2105 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2106 elif test "$withval" = sys
; then
2107 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2108 elif test "$withval" = builtin; then
2109 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2111 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2116 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2117 if test "x$LINE" != x
; then
2118 eval "DEFAULT_$LINE"
2123 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2128 eval "$ac_cv_use_libtiff"
2129 if test "$no_cache" != 1; then
2130 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2133 if test "$wxUSE_LIBTIFF" = yes; then
2134 echo "$ac_t""yes" 1>&6
2135 elif test "$wxUSE_LIBTIFF" = no
; then
2136 echo "$ac_t""no" 1>&6
2137 elif test "$wxUSE_LIBTIFF" = sys
; then
2138 echo "$ac_t""system version" 1>&6
2139 elif test "$wxUSE_LIBTIFF" = builtin; then
2140 echo "$ac_t""builtin version" 1>&6
2142 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2146 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2147 echo "configure:2148: checking for --with-opengl" >&5
2149 # Check whether --with-opengl or --without-opengl was given.
2150 if test "${with_opengl+set}" = set; then
2151 withval
="$with_opengl"
2153 if test "$withval" = yes; then
2154 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2156 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2161 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2162 if test "x$LINE" != x
; then
2163 eval "DEFAULT_$LINE"
2168 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2173 eval "$ac_cv_use_opengl"
2174 if test "$no_cache" != 1; then
2175 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2178 if test "$wxUSE_OPENGL" = yes; then
2179 echo "$ac_t""yes" 1>&6
2181 echo "$ac_t""no" 1>&6
2188 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2189 echo "configure:2190: checking for --with-dmalloc" >&5
2191 # Check whether --with-dmalloc or --without-dmalloc was given.
2192 if test "${with_dmalloc+set}" = set; then
2193 withval
="$with_dmalloc"
2195 if test "$withval" = yes; then
2196 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2198 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2203 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2204 if test "x$LINE" != x
; then
2205 eval "DEFAULT_$LINE"
2210 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2215 eval "$ac_cv_use_dmalloc"
2216 if test "$no_cache" != 1; then
2217 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2220 if test "$wxUSE_DMALLOC" = yes; then
2221 echo "$ac_t""yes" 1>&6
2223 echo "$ac_t""no" 1>&6
2227 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2228 echo "configure:2229: checking for --with-regex" >&5
2230 # Check whether --with-regex or --without-regex was given.
2231 if test "${with_regex+set}" = set; then
2232 withval
="$with_regex"
2234 if test "$withval" = yes; then
2235 ac_cv_use_regex
='wxUSE_REGEX=yes'
2236 elif test "$withval" = no
; then
2237 ac_cv_use_regex
='wxUSE_REGEX=no'
2238 elif test "$withval" = sys
; then
2239 ac_cv_use_regex
='wxUSE_REGEX=sys'
2240 elif test "$withval" = builtin; then
2241 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2243 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2248 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2249 if test "x$LINE" != x
; then
2250 eval "DEFAULT_$LINE"
2255 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2260 eval "$ac_cv_use_regex"
2261 if test "$no_cache" != 1; then
2262 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2265 if test "$wxUSE_REGEX" = yes; then
2266 echo "$ac_t""yes" 1>&6
2267 elif test "$wxUSE_REGEX" = no
; then
2268 echo "$ac_t""no" 1>&6
2269 elif test "$wxUSE_REGEX" = sys
; then
2270 echo "$ac_t""system version" 1>&6
2271 elif test "$wxUSE_REGEX" = builtin; then
2272 echo "$ac_t""builtin version" 1>&6
2274 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2278 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2279 echo "configure:2280: checking for --with-zlib" >&5
2281 # Check whether --with-zlib or --without-zlib was given.
2282 if test "${with_zlib+set}" = set; then
2283 withval
="$with_zlib"
2285 if test "$withval" = yes; then
2286 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2287 elif test "$withval" = no
; then
2288 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2289 elif test "$withval" = sys
; then
2290 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2291 elif test "$withval" = builtin; then
2292 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2294 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2299 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2300 if test "x$LINE" != x
; then
2301 eval "DEFAULT_$LINE"
2306 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2311 eval "$ac_cv_use_zlib"
2312 if test "$no_cache" != 1; then
2313 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2316 if test "$wxUSE_ZLIB" = yes; then
2317 echo "$ac_t""yes" 1>&6
2318 elif test "$wxUSE_ZLIB" = no
; then
2319 echo "$ac_t""no" 1>&6
2320 elif test "$wxUSE_ZLIB" = sys
; then
2321 echo "$ac_t""system version" 1>&6
2322 elif test "$wxUSE_ZLIB" = builtin; then
2323 echo "$ac_t""builtin version" 1>&6
2325 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2329 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2330 echo "configure:2331: checking for --with-odbc" >&5
2332 # Check whether --with-odbc or --without-odbc was given.
2333 if test "${with_odbc+set}" = set; then
2334 withval
="$with_odbc"
2336 if test "$withval" = yes; then
2337 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2339 ac_cv_use_odbc
='wxUSE_ODBC=no'
2344 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2345 if test "x$LINE" != x
; then
2346 eval "DEFAULT_$LINE"
2351 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2356 eval "$ac_cv_use_odbc"
2357 if test "$no_cache" != 1; then
2358 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2361 if test "$wxUSE_ODBC" = yes; then
2362 echo "$ac_t""yes" 1>&6
2364 echo "$ac_t""no" 1>&6
2371 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2372 echo "configure:2373: checking for --${enablestring:-enable}-shared" >&5
2374 # Check whether --enable-shared or --disable-shared was given.
2375 if test "${enable_shared+set}" = set; then
2376 enableval
="$enable_shared"
2378 if test "$enableval" = yes; then
2379 ac_cv_use_shared
='wxUSE_SHARED=yes'
2381 ac_cv_use_shared
='wxUSE_SHARED=no'
2386 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2387 if test "x$LINE" != x
; then
2388 eval "DEFAULT_$LINE"
2393 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2398 eval "$ac_cv_use_shared"
2399 if test "$no_cache" != 1; then
2400 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2403 if test "$wxUSE_SHARED" = yes; then
2404 echo "$ac_t""yes" 1>&6
2406 echo "$ac_t""no" 1>&6
2411 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2412 echo "configure:2413: checking for --${enablestring:-enable}-soname" >&5
2414 # Check whether --enable-soname or --disable-soname was given.
2415 if test "${enable_soname+set}" = set; then
2416 enableval
="$enable_soname"
2418 if test "$enableval" = yes; then
2419 ac_cv_use_soname
='wxUSE_SONAME=yes'
2421 ac_cv_use_soname
='wxUSE_SONAME=no'
2426 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2427 if test "x$LINE" != x
; then
2428 eval "DEFAULT_$LINE"
2433 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2438 eval "$ac_cv_use_soname"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2443 if test "$wxUSE_SONAME" = yes; then
2444 echo "$ac_t""yes" 1>&6
2446 echo "$ac_t""no" 1>&6
2451 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2452 echo "configure:2453: checking for --${enablestring:-enable}-optimise" >&5
2454 # Check whether --enable-optimise or --disable-optimise was given.
2455 if test "${enable_optimise+set}" = set; then
2456 enableval
="$enable_optimise"
2458 if test "$enableval" = yes; then
2459 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2461 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2466 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2467 if test "x$LINE" != x
; then
2468 eval "DEFAULT_$LINE"
2473 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2478 eval "$ac_cv_use_optimise"
2479 if test "$no_cache" != 1; then
2480 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2483 if test "$wxUSE_OPTIMISE" = yes; then
2484 echo "$ac_t""yes" 1>&6
2486 echo "$ac_t""no" 1>&6
2491 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2492 echo "configure:2493: checking for --${enablestring:-enable}-debug" >&5
2494 # Check whether --enable-debug or --disable-debug was given.
2495 if test "${enable_debug+set}" = set; then
2496 enableval
="$enable_debug"
2498 if test "$enableval" = yes; then
2499 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2501 ac_cv_use_debug
='wxUSE_DEBUG=no'
2506 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2507 if test "x$LINE" != x
; then
2508 eval "DEFAULT_$LINE"
2513 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2518 eval "$ac_cv_use_debug"
2519 if test "$no_cache" != 1; then
2520 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2523 if test "$wxUSE_DEBUG" = yes; then
2524 echo "$ac_t""yes" 1>&6
2526 echo "$ac_t""no" 1>&6
2532 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2533 echo "configure:2534: checking for --${enablestring:-enable}-precomp" >&5
2535 # Check whether --enable-precomp or --disable-precomp was given.
2536 if test "${enable_precomp+set}" = set; then
2537 enableval
="$enable_precomp"
2539 if test "$enableval" = yes; then
2540 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2542 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2547 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2548 if test "x$LINE" != x
; then
2549 eval "DEFAULT_$LINE"
2554 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2559 eval "$ac_cv_use_precomp"
2560 if test "$no_cache" != 1; then
2561 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2564 if test "$wxUSE_PRECOMP" = yes; then
2565 echo "$ac_t""yes" 1>&6
2567 echo "$ac_t""no" 1>&6
2571 if test "$wxUSE_DEBUG" = "yes"; then
2572 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2573 DEFAULT_wxUSE_DEBUG_INFO
=yes
2574 elif test "$wxUSE_DEBUG" = "no"; then
2575 DEFAULT_wxUSE_DEBUG_FLAG
=no
2576 DEFAULT_wxUSE_DEBUG_INFO
=no
2581 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2582 echo "configure:2583: checking for --${enablestring:-enable}-debug_flag" >&5
2584 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2585 if test "${enable_debug_flag+set}" = set; then
2586 enableval
="$enable_debug_flag"
2588 if test "$enableval" = yes; then
2589 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2591 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2596 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2597 if test "x$LINE" != x
; then
2598 eval "DEFAULT_$LINE"
2603 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2608 eval "$ac_cv_use_debug_flag"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2613 if test "$wxUSE_DEBUG_FLAG" = yes; then
2614 echo "$ac_t""yes" 1>&6
2616 echo "$ac_t""no" 1>&6
2621 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2622 echo "configure:2623: checking for --${enablestring:-enable}-debug_info" >&5
2624 # Check whether --enable-debug_info or --disable-debug_info was given.
2625 if test "${enable_debug_info+set}" = set; then
2626 enableval
="$enable_debug_info"
2628 if test "$enableval" = yes; then
2629 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2631 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2636 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2637 if test "x$LINE" != x
; then
2638 eval "DEFAULT_$LINE"
2643 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2648 eval "$ac_cv_use_debug_info"
2649 if test "$no_cache" != 1; then
2650 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2653 if test "$wxUSE_DEBUG_INFO" = yes; then
2654 echo "$ac_t""yes" 1>&6
2656 echo "$ac_t""no" 1>&6
2661 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2662 echo "configure:2663: checking for --${enablestring:-enable}-debug_gdb" >&5
2664 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2665 if test "${enable_debug_gdb+set}" = set; then
2666 enableval
="$enable_debug_gdb"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2671 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2676 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x
; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2688 eval "$ac_cv_use_debug_gdb"
2689 if test "$no_cache" != 1; then
2690 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2693 if test "$wxUSE_DEBUG_GDB" = yes; then
2694 echo "$ac_t""yes" 1>&6
2696 echo "$ac_t""no" 1>&6
2701 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2702 echo "configure:2703: checking for --${enablestring:-enable}-debug_cntxt" >&5
2704 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2705 if test "${enable_debug_cntxt+set}" = set; then
2706 enableval
="$enable_debug_cntxt"
2708 if test "$enableval" = yes; then
2709 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2711 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2716 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x
; then
2718 eval "DEFAULT_$LINE"
2723 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2728 eval "$ac_cv_use_debug_cntxt"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2733 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2734 echo "$ac_t""yes" 1>&6
2736 echo "$ac_t""no" 1>&6
2741 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2742 echo "configure:2743: checking for --${enablestring:-enable}-mem_tracing" >&5
2744 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2745 if test "${enable_mem_tracing+set}" = set; then
2746 enableval
="$enable_mem_tracing"
2748 if test "$enableval" = yes; then
2749 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2751 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2756 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2757 if test "x$LINE" != x
; then
2758 eval "DEFAULT_$LINE"
2763 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2768 eval "$ac_cv_use_mem_tracing"
2769 if test "$no_cache" != 1; then
2770 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2773 if test "$wxUSE_MEM_TRACING" = yes; then
2774 echo "$ac_t""yes" 1>&6
2776 echo "$ac_t""no" 1>&6
2781 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2782 echo "configure:2783: checking for --${enablestring:-enable}-profile" >&5
2784 # Check whether --enable-profile or --disable-profile was given.
2785 if test "${enable_profile+set}" = set; then
2786 enableval
="$enable_profile"
2788 if test "$enableval" = yes; then
2789 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2791 ac_cv_use_profile
='wxUSE_PROFILE=no'
2796 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2797 if test "x$LINE" != x
; then
2798 eval "DEFAULT_$LINE"
2803 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2808 eval "$ac_cv_use_profile"
2809 if test "$no_cache" != 1; then
2810 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2813 if test "$wxUSE_PROFILE" = yes; then
2814 echo "$ac_t""yes" 1>&6
2816 echo "$ac_t""no" 1>&6
2821 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2822 echo "configure:2823: checking for --${enablestring:-enable}-no_rtti" >&5
2824 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2825 if test "${enable_no_rtti+set}" = set; then
2826 enableval
="$enable_no_rtti"
2828 if test "$enableval" = yes; then
2829 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2831 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2836 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2837 if test "x$LINE" != x
; then
2838 eval "DEFAULT_$LINE"
2843 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2848 eval "$ac_cv_use_no_rtti"
2849 if test "$no_cache" != 1; then
2850 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2853 if test "$wxUSE_NO_RTTI" = yes; then
2854 echo "$ac_t""yes" 1>&6
2856 echo "$ac_t""no" 1>&6
2861 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2862 echo "configure:2863: checking for --${enablestring:-enable}-no_exceptions" >&5
2864 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2865 if test "${enable_no_exceptions+set}" = set; then
2866 enableval
="$enable_no_exceptions"
2868 if test "$enableval" = yes; then
2869 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2871 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2876 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2877 if test "x$LINE" != x
; then
2878 eval "DEFAULT_$LINE"
2883 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2888 eval "$ac_cv_use_no_exceptions"
2889 if test "$no_cache" != 1; then
2890 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2893 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2894 echo "$ac_t""yes" 1>&6
2896 echo "$ac_t""no" 1>&6
2901 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2902 echo "configure:2903: checking for --${enablestring:-enable}-permissive" >&5
2904 # Check whether --enable-permissive or --disable-permissive was given.
2905 if test "${enable_permissive+set}" = set; then
2906 enableval
="$enable_permissive"
2908 if test "$enableval" = yes; then
2909 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2911 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2916 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2917 if test "x$LINE" != x
; then
2918 eval "DEFAULT_$LINE"
2923 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2928 eval "$ac_cv_use_permissive"
2929 if test "$no_cache" != 1; then
2930 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2933 if test "$wxUSE_PERMISSIVE" = yes; then
2934 echo "$ac_t""yes" 1>&6
2936 echo "$ac_t""no" 1>&6
2941 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2942 echo "configure:2943: checking for --${enablestring:-enable}-no_deps" >&5
2944 # Check whether --enable-no_deps or --disable-no_deps was given.
2945 if test "${enable_no_deps+set}" = set; then
2946 enableval
="$enable_no_deps"
2948 if test "$enableval" = yes; then
2949 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2951 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2956 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2957 if test "x$LINE" != x
; then
2958 eval "DEFAULT_$LINE"
2963 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2968 eval "$ac_cv_use_no_deps"
2969 if test "$no_cache" != 1; then
2970 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2973 if test "$wxUSE_NO_DEPS" = yes; then
2974 echo "$ac_t""yes" 1>&6
2976 echo "$ac_t""no" 1>&6
2982 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2983 echo "configure:2984: checking for --${enablestring:-enable}-compat20" >&5
2985 # Check whether --enable-compat20 or --disable-compat20 was given.
2986 if test "${enable_compat20+set}" = set; then
2987 enableval
="$enable_compat20"
2989 if test "$enableval" = yes; then
2990 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2992 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2997 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2998 if test "x$LINE" != x
; then
2999 eval "DEFAULT_$LINE"
3004 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3009 eval "$ac_cv_use_compat20"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3014 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3015 echo "$ac_t""yes" 1>&6
3017 echo "$ac_t""no" 1>&6
3022 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3023 echo "configure:3024: checking for --${enablestring:-enable}-compat22" >&5
3025 # Check whether --enable-compat22 or --disable-compat22 was given.
3026 if test "${enable_compat22+set}" = set; then
3027 enableval
="$enable_compat22"
3029 if test "$enableval" = yes; then
3030 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3032 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3037 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x
; then
3039 eval "DEFAULT_$LINE"
3044 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3049 eval "$ac_cv_use_compat22"
3050 if test "$no_cache" != 1; then
3051 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3054 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3055 echo "$ac_t""yes" 1>&6
3057 echo "$ac_t""no" 1>&6
3061 enablestring
=disable
3062 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3063 echo "configure:3064: checking for --${enablestring:-enable}-compat24" >&5
3065 # Check whether --enable-compat24 or --disable-compat24 was given.
3066 if test "${enable_compat24+set}" = set; then
3067 enableval
="$enable_compat24"
3069 if test "$enableval" = yes; then
3070 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3072 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3077 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x
; then
3079 eval "DEFAULT_$LINE"
3084 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3089 eval "$ac_cv_use_compat24"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3094 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3095 echo "$ac_t""yes" 1>&6
3097 echo "$ac_t""no" 1>&6
3101 # Check whether --enable-rpath or --disable-rpath was given.
3102 if test "${enable_rpath+set}" = set; then
3103 enableval
="$enable_rpath"
3104 wxRPATH_DIR
="$enableval"
3108 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3109 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3116 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3117 echo "configure:3118: checking for --${enablestring:-enable}-intl" >&5
3119 # Check whether --enable-intl or --disable-intl was given.
3120 if test "${enable_intl+set}" = set; then
3121 enableval
="$enable_intl"
3123 if test "$enableval" = yes; then
3124 ac_cv_use_intl
='wxUSE_INTL=yes'
3126 ac_cv_use_intl
='wxUSE_INTL=no'
3131 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3132 if test "x$LINE" != x
; then
3133 eval "DEFAULT_$LINE"
3138 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3143 eval "$ac_cv_use_intl"
3144 if test "$no_cache" != 1; then
3145 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3148 if test "$wxUSE_INTL" = yes; then
3149 echo "$ac_t""yes" 1>&6
3151 echo "$ac_t""no" 1>&6
3156 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3157 echo "configure:3158: checking for --${enablestring:-enable}-config" >&5
3159 # Check whether --enable-config or --disable-config was given.
3160 if test "${enable_config+set}" = set; then
3161 enableval
="$enable_config"
3163 if test "$enableval" = yes; then
3164 ac_cv_use_config
='wxUSE_CONFIG=yes'
3166 ac_cv_use_config
='wxUSE_CONFIG=no'
3171 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3172 if test "x$LINE" != x
; then
3173 eval "DEFAULT_$LINE"
3178 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3183 eval "$ac_cv_use_config"
3184 if test "$no_cache" != 1; then
3185 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3188 if test "$wxUSE_CONFIG" = yes; then
3189 echo "$ac_t""yes" 1>&6
3191 echo "$ac_t""no" 1>&6
3197 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3198 echo "configure:3199: checking for --${enablestring:-enable}-protocols" >&5
3200 # Check whether --enable-protocols or --disable-protocols was given.
3201 if test "${enable_protocols+set}" = set; then
3202 enableval
="$enable_protocols"
3204 if test "$enableval" = yes; then
3205 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3207 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3212 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x
; then
3214 eval "DEFAULT_$LINE"
3219 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3224 eval "$ac_cv_use_protocols"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3229 if test "$wxUSE_PROTOCOL" = yes; then
3230 echo "$ac_t""yes" 1>&6
3232 echo "$ac_t""no" 1>&6
3237 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3238 echo "configure:3239: checking for --${enablestring:-enable}-ftp" >&5
3240 # Check whether --enable-ftp or --disable-ftp was given.
3241 if test "${enable_ftp+set}" = set; then
3242 enableval
="$enable_ftp"
3244 if test "$enableval" = yes; then
3245 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3247 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3252 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3253 if test "x$LINE" != x
; then
3254 eval "DEFAULT_$LINE"
3259 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3264 eval "$ac_cv_use_ftp"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3269 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3270 echo "$ac_t""yes" 1>&6
3272 echo "$ac_t""no" 1>&6
3277 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3278 echo "configure:3279: checking for --${enablestring:-enable}-http" >&5
3280 # Check whether --enable-http or --disable-http was given.
3281 if test "${enable_http+set}" = set; then
3282 enableval
="$enable_http"
3284 if test "$enableval" = yes; then
3285 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3287 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3292 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3293 if test "x$LINE" != x
; then
3294 eval "DEFAULT_$LINE"
3299 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3304 eval "$ac_cv_use_http"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3309 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3310 echo "$ac_t""yes" 1>&6
3312 echo "$ac_t""no" 1>&6
3317 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3318 echo "configure:3319: checking for --${enablestring:-enable}-fileproto" >&5
3320 # Check whether --enable-fileproto or --disable-fileproto was given.
3321 if test "${enable_fileproto+set}" = set; then
3322 enableval
="$enable_fileproto"
3324 if test "$enableval" = yes; then
3325 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3327 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3332 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3333 if test "x$LINE" != x
; then
3334 eval "DEFAULT_$LINE"
3339 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3344 eval "$ac_cv_use_fileproto"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3349 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3350 echo "$ac_t""yes" 1>&6
3352 echo "$ac_t""no" 1>&6
3357 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3358 echo "configure:3359: checking for --${enablestring:-enable}-sockets" >&5
3360 # Check whether --enable-sockets or --disable-sockets was given.
3361 if test "${enable_sockets+set}" = set; then
3362 enableval
="$enable_sockets"
3364 if test "$enableval" = yes; then
3365 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3367 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3372 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3373 if test "x$LINE" != x
; then
3374 eval "DEFAULT_$LINE"
3379 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3384 eval "$ac_cv_use_sockets"
3385 if test "$no_cache" != 1; then
3386 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3389 if test "$wxUSE_SOCKETS" = yes; then
3390 echo "$ac_t""yes" 1>&6
3392 echo "$ac_t""no" 1>&6
3397 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3398 echo "configure:3399: checking for --${enablestring:-enable}-ole" >&5
3400 # Check whether --enable-ole or --disable-ole was given.
3401 if test "${enable_ole+set}" = set; then
3402 enableval
="$enable_ole"
3404 if test "$enableval" = yes; then
3405 ac_cv_use_ole
='wxUSE_OLE=yes'
3407 ac_cv_use_ole
='wxUSE_OLE=no'
3412 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x
; then
3414 eval "DEFAULT_$LINE"
3419 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3424 eval "$ac_cv_use_ole"
3425 if test "$no_cache" != 1; then
3426 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3429 if test "$wxUSE_OLE" = yes; then
3430 echo "$ac_t""yes" 1>&6
3432 echo "$ac_t""no" 1>&6
3437 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3438 echo "configure:3439: checking for --${enablestring:-enable}-dataobj" >&5
3440 # Check whether --enable-dataobj or --disable-dataobj was given.
3441 if test "${enable_dataobj+set}" = set; then
3442 enableval
="$enable_dataobj"
3444 if test "$enableval" = yes; then
3445 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3447 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3452 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3453 if test "x$LINE" != x
; then
3454 eval "DEFAULT_$LINE"
3459 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3464 eval "$ac_cv_use_dataobj"
3465 if test "$no_cache" != 1; then
3466 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3469 if test "$wxUSE_DATAOBJ" = yes; then
3470 echo "$ac_t""yes" 1>&6
3472 echo "$ac_t""no" 1>&6
3478 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3479 echo "configure:3480: checking for --${enablestring:-enable}-ipc" >&5
3481 # Check whether --enable-ipc or --disable-ipc was given.
3482 if test "${enable_ipc+set}" = set; then
3483 enableval
="$enable_ipc"
3485 if test "$enableval" = yes; then
3486 ac_cv_use_ipc
='wxUSE_IPC=yes'
3488 ac_cv_use_ipc
='wxUSE_IPC=no'
3493 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3494 if test "x$LINE" != x
; then
3495 eval "DEFAULT_$LINE"
3500 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3505 eval "$ac_cv_use_ipc"
3506 if test "$no_cache" != 1; then
3507 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3510 if test "$wxUSE_IPC" = yes; then
3511 echo "$ac_t""yes" 1>&6
3513 echo "$ac_t""no" 1>&6
3519 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3520 echo "configure:3521: checking for --${enablestring:-enable}-cmdline" >&5
3522 # Check whether --enable-cmdline or --disable-cmdline was given.
3523 if test "${enable_cmdline+set}" = set; then
3524 enableval
="$enable_cmdline"
3526 if test "$enableval" = yes; then
3527 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3529 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3534 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3535 if test "x$LINE" != x
; then
3536 eval "DEFAULT_$LINE"
3541 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3546 eval "$ac_cv_use_cmdline"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3551 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3552 echo "$ac_t""yes" 1>&6
3554 echo "$ac_t""no" 1>&6
3559 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3560 echo "configure:3561: checking for --${enablestring:-enable}-datetime" >&5
3562 # Check whether --enable-datetime or --disable-datetime was given.
3563 if test "${enable_datetime+set}" = set; then
3564 enableval
="$enable_datetime"
3566 if test "$enableval" = yes; then
3567 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3569 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3574 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3575 if test "x$LINE" != x
; then
3576 eval "DEFAULT_$LINE"
3581 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3586 eval "$ac_cv_use_datetime"
3587 if test "$no_cache" != 1; then
3588 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3591 if test "$wxUSE_DATETIME" = yes; then
3592 echo "$ac_t""yes" 1>&6
3594 echo "$ac_t""no" 1>&6
3599 echo $ac_n "checking for --${enablestring:-enable}-timedate""... $ac_c" 1>&6
3600 echo "configure:3601: checking for --${enablestring:-enable}-timedate" >&5
3602 # Check whether --enable-timedate or --disable-timedate was given.
3603 if test "${enable_timedate+set}" = set; then
3604 enableval
="$enable_timedate"
3606 if test "$enableval" = yes; then
3607 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3609 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3614 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x
; then
3616 eval "DEFAULT_$LINE"
3621 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3626 eval "$ac_cv_use_timedate"
3627 if test "$no_cache" != 1; then
3628 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3631 if test "$wxUSE_TIMEDATE" = yes; then
3632 echo "$ac_t""yes" 1>&6
3634 echo "$ac_t""no" 1>&6
3639 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3640 echo "configure:3641: checking for --${enablestring:-enable}-stopwatch" >&5
3642 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3643 if test "${enable_stopwatch+set}" = set; then
3644 enableval
="$enable_stopwatch"
3646 if test "$enableval" = yes; then
3647 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3649 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3654 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x
; then
3656 eval "DEFAULT_$LINE"
3661 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3666 eval "$ac_cv_use_stopwatch"
3667 if test "$no_cache" != 1; then
3668 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3671 if test "$wxUSE_STOPWATCH" = yes; then
3672 echo "$ac_t""yes" 1>&6
3674 echo "$ac_t""no" 1>&6
3679 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3680 echo "configure:3681: checking for --${enablestring:-enable}-dialupman" >&5
3682 # Check whether --enable-dialupman or --disable-dialupman was given.
3683 if test "${enable_dialupman+set}" = set; then
3684 enableval
="$enable_dialupman"
3686 if test "$enableval" = yes; then
3687 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3689 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3694 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3695 if test "x$LINE" != x
; then
3696 eval "DEFAULT_$LINE"
3701 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3706 eval "$ac_cv_use_dialupman"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3711 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3712 echo "$ac_t""yes" 1>&6
3714 echo "$ac_t""no" 1>&6
3719 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3720 echo "configure:3721: checking for --${enablestring:-enable}-apple_ieee" >&5
3722 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3723 if test "${enable_apple_ieee+set}" = set; then
3724 enableval
="$enable_apple_ieee"
3726 if test "$enableval" = yes; then
3727 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3729 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3734 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x
; then
3736 eval "DEFAULT_$LINE"
3741 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3746 eval "$ac_cv_use_apple_ieee"
3747 if test "$no_cache" != 1; then
3748 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3751 if test "$wxUSE_APPLE_IEEE" = yes; then
3752 echo "$ac_t""yes" 1>&6
3754 echo "$ac_t""no" 1>&6
3759 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3760 echo "configure:3761: checking for --${enablestring:-enable}-timer" >&5
3762 # Check whether --enable-timer or --disable-timer was given.
3763 if test "${enable_timer+set}" = set; then
3764 enableval
="$enable_timer"
3766 if test "$enableval" = yes; then
3767 ac_cv_use_timer
='wxUSE_TIMER=yes'
3769 ac_cv_use_timer
='wxUSE_TIMER=no'
3774 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3775 if test "x$LINE" != x
; then
3776 eval "DEFAULT_$LINE"
3781 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3786 eval "$ac_cv_use_timer"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3791 if test "$wxUSE_TIMER" = yes; then
3792 echo "$ac_t""yes" 1>&6
3794 echo "$ac_t""no" 1>&6
3799 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3800 echo "configure:3801: checking for --${enablestring:-enable}-wave" >&5
3802 # Check whether --enable-wave or --disable-wave was given.
3803 if test "${enable_wave+set}" = set; then
3804 enableval
="$enable_wave"
3806 if test "$enableval" = yes; then
3807 ac_cv_use_wave
='wxUSE_WAVE=yes'
3809 ac_cv_use_wave
='wxUSE_WAVE=no'
3814 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3815 if test "x$LINE" != x
; then
3816 eval "DEFAULT_$LINE"
3821 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3826 eval "$ac_cv_use_wave"
3827 if test "$no_cache" != 1; then
3828 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3831 if test "$wxUSE_WAVE" = yes; then
3832 echo "$ac_t""yes" 1>&6
3834 echo "$ac_t""no" 1>&6
3839 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3840 echo "configure:3841: checking for --${enablestring:-enable}-fraction" >&5
3842 # Check whether --enable-fraction or --disable-fraction was given.
3843 if test "${enable_fraction+set}" = set; then
3844 enableval
="$enable_fraction"
3846 if test "$enableval" = yes; then
3847 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3849 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3854 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3855 if test "x$LINE" != x
; then
3856 eval "DEFAULT_$LINE"
3861 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3866 eval "$ac_cv_use_fraction"
3867 if test "$no_cache" != 1; then
3868 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3871 if test "$wxUSE_FRACTION" = yes; then
3872 echo "$ac_t""yes" 1>&6
3874 echo "$ac_t""no" 1>&6
3879 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3880 echo "configure:3881: checking for --${enablestring:-enable}-dynlib" >&5
3882 # Check whether --enable-dynlib or --disable-dynlib was given.
3883 if test "${enable_dynlib+set}" = set; then
3884 enableval
="$enable_dynlib"
3886 if test "$enableval" = yes; then
3887 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3889 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3894 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3895 if test "x$LINE" != x
; then
3896 eval "DEFAULT_$LINE"
3901 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3906 eval "$ac_cv_use_dynlib"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3911 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3912 echo "$ac_t""yes" 1>&6
3914 echo "$ac_t""no" 1>&6
3919 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3920 echo "configure:3921: checking for --${enablestring:-enable}-dynamicloader" >&5
3922 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3923 if test "${enable_dynamicloader+set}" = set; then
3924 enableval
="$enable_dynamicloader"
3926 if test "$enableval" = yes; then
3927 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3929 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3934 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3935 if test "x$LINE" != x
; then
3936 eval "DEFAULT_$LINE"
3941 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3946 eval "$ac_cv_use_dynamicloader"
3947 if test "$no_cache" != 1; then
3948 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3951 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3952 echo "$ac_t""yes" 1>&6
3954 echo "$ac_t""no" 1>&6
3959 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3960 echo "configure:3961: checking for --${enablestring:-enable}-longlong" >&5
3962 # Check whether --enable-longlong or --disable-longlong was given.
3963 if test "${enable_longlong+set}" = set; then
3964 enableval
="$enable_longlong"
3966 if test "$enableval" = yes; then
3967 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3969 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3974 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x
; then
3976 eval "DEFAULT_$LINE"
3981 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3986 eval "$ac_cv_use_longlong"
3987 if test "$no_cache" != 1; then
3988 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3991 if test "$wxUSE_LONGLONG" = yes; then
3992 echo "$ac_t""yes" 1>&6
3994 echo "$ac_t""no" 1>&6
3999 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
4000 echo "configure:4001: checking for --${enablestring:-enable}-geometry" >&5
4002 # Check whether --enable-geometry or --disable-geometry was given.
4003 if test "${enable_geometry+set}" = set; then
4004 enableval
="$enable_geometry"
4006 if test "$enableval" = yes; then
4007 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
4009 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
4014 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4015 if test "x$LINE" != x
; then
4016 eval "DEFAULT_$LINE"
4021 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4026 eval "$ac_cv_use_geometry"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4031 if test "$wxUSE_GEOMETRY" = yes; then
4032 echo "$ac_t""yes" 1>&6
4034 echo "$ac_t""no" 1>&6
4039 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4040 echo "configure:4041: checking for --${enablestring:-enable}-log" >&5
4042 # Check whether --enable-log or --disable-log was given.
4043 if test "${enable_log+set}" = set; then
4044 enableval
="$enable_log"
4046 if test "$enableval" = yes; then
4047 ac_cv_use_log
='wxUSE_LOG=yes'
4049 ac_cv_use_log
='wxUSE_LOG=no'
4054 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4055 if test "x$LINE" != x
; then
4056 eval "DEFAULT_$LINE"
4061 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4066 eval "$ac_cv_use_log"
4067 if test "$no_cache" != 1; then
4068 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4071 if test "$wxUSE_LOG" = yes; then
4072 echo "$ac_t""yes" 1>&6
4074 echo "$ac_t""no" 1>&6
4079 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4080 echo "configure:4081: checking for --${enablestring:-enable}-streams" >&5
4082 # Check whether --enable-streams or --disable-streams was given.
4083 if test "${enable_streams+set}" = set; then
4084 enableval
="$enable_streams"
4086 if test "$enableval" = yes; then
4087 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4089 ac_cv_use_streams
='wxUSE_STREAMS=no'
4094 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4095 if test "x$LINE" != x
; then
4096 eval "DEFAULT_$LINE"
4101 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4106 eval "$ac_cv_use_streams"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4111 if test "$wxUSE_STREAMS" = yes; then
4112 echo "$ac_t""yes" 1>&6
4114 echo "$ac_t""no" 1>&6
4119 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4120 echo "configure:4121: checking for --${enablestring:-enable}-file" >&5
4122 # Check whether --enable-file or --disable-file was given.
4123 if test "${enable_file+set}" = set; then
4124 enableval
="$enable_file"
4126 if test "$enableval" = yes; then
4127 ac_cv_use_file
='wxUSE_FILE=yes'
4129 ac_cv_use_file
='wxUSE_FILE=no'
4134 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4135 if test "x$LINE" != x
; then
4136 eval "DEFAULT_$LINE"
4141 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4146 eval "$ac_cv_use_file"
4147 if test "$no_cache" != 1; then
4148 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4151 if test "$wxUSE_FILE" = yes; then
4152 echo "$ac_t""yes" 1>&6
4154 echo "$ac_t""no" 1>&6
4159 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4160 echo "configure:4161: checking for --${enablestring:-enable}-ffile" >&5
4162 # Check whether --enable-ffile or --disable-ffile was given.
4163 if test "${enable_ffile+set}" = set; then
4164 enableval
="$enable_ffile"
4166 if test "$enableval" = yes; then
4167 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4169 ac_cv_use_ffile
='wxUSE_FFILE=no'
4174 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4175 if test "x$LINE" != x
; then
4176 eval "DEFAULT_$LINE"
4181 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4186 eval "$ac_cv_use_ffile"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4191 if test "$wxUSE_FFILE" = yes; then
4192 echo "$ac_t""yes" 1>&6
4194 echo "$ac_t""no" 1>&6
4199 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4200 echo "configure:4201: checking for --${enablestring:-enable}-textbuf" >&5
4202 # Check whether --enable-textbuf or --disable-textbuf was given.
4203 if test "${enable_textbuf+set}" = set; then
4204 enableval
="$enable_textbuf"
4206 if test "$enableval" = yes; then
4207 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4209 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4214 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4215 if test "x$LINE" != x
; then
4216 eval "DEFAULT_$LINE"
4221 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4226 eval "$ac_cv_use_textbuf"
4227 if test "$no_cache" != 1; then
4228 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4231 if test "$wxUSE_TEXTBUFFER" = yes; then
4232 echo "$ac_t""yes" 1>&6
4234 echo "$ac_t""no" 1>&6
4239 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4240 echo "configure:4241: checking for --${enablestring:-enable}-textfile" >&5
4242 # Check whether --enable-textfile or --disable-textfile was given.
4243 if test "${enable_textfile+set}" = set; then
4244 enableval
="$enable_textfile"
4246 if test "$enableval" = yes; then
4247 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4249 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4254 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4255 if test "x$LINE" != x
; then
4256 eval "DEFAULT_$LINE"
4261 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4266 eval "$ac_cv_use_textfile"
4267 if test "$no_cache" != 1; then
4268 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4271 if test "$wxUSE_TEXTFILE" = yes; then
4272 echo "$ac_t""yes" 1>&6
4274 echo "$ac_t""no" 1>&6
4279 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4280 echo "configure:4281: checking for --${enablestring:-enable}-fontmap" >&5
4282 # Check whether --enable-fontmap or --disable-fontmap was given.
4283 if test "${enable_fontmap+set}" = set; then
4284 enableval
="$enable_fontmap"
4286 if test "$enableval" = yes; then
4287 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4289 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4294 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x
; then
4296 eval "DEFAULT_$LINE"
4301 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4306 eval "$ac_cv_use_fontmap"
4307 if test "$no_cache" != 1; then
4308 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4311 if test "$wxUSE_FONTMAP" = yes; then
4312 echo "$ac_t""yes" 1>&6
4314 echo "$ac_t""no" 1>&6
4319 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4320 echo "configure:4321: checking for --${enablestring:-enable}-unicode" >&5
4322 # Check whether --enable-unicode or --disable-unicode was given.
4323 if test "${enable_unicode+set}" = set; then
4324 enableval
="$enable_unicode"
4326 if test "$enableval" = yes; then
4327 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4329 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4334 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4335 if test "x$LINE" != x
; then
4336 eval "DEFAULT_$LINE"
4341 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4346 eval "$ac_cv_use_unicode"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4351 if test "$wxUSE_UNICODE" = yes; then
4352 echo "$ac_t""yes" 1>&6
4354 echo "$ac_t""no" 1>&6
4359 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4360 echo "configure:4361: checking for --${enablestring:-enable}-mslu" >&5
4362 # Check whether --enable-mslu or --disable-mslu was given.
4363 if test "${enable_mslu+set}" = set; then
4364 enableval
="$enable_mslu"
4366 if test "$enableval" = yes; then
4367 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4369 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4374 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4375 if test "x$LINE" != x
; then
4376 eval "DEFAULT_$LINE"
4381 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4386 eval "$ac_cv_use_mslu"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4391 if test "$wxUSE_UNICODE_MSLU" = yes; then
4392 echo "$ac_t""yes" 1>&6
4394 echo "$ac_t""no" 1>&6
4399 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4400 echo "configure:4401: checking for --${enablestring:-enable}-wxprintfv" >&5
4402 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4403 if test "${enable_wxprintfv+set}" = set; then
4404 enableval
="$enable_wxprintfv"
4406 if test "$enableval" = yes; then
4407 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4409 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4414 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4415 if test "x$LINE" != x
; then
4416 eval "DEFAULT_$LINE"
4421 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4426 eval "$ac_cv_use_wxprintfv"
4427 if test "$no_cache" != 1; then
4428 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4431 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4432 echo "$ac_t""yes" 1>&6
4434 echo "$ac_t""no" 1>&6
4439 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4440 echo "configure:4441: checking for --${enablestring:-enable}-std_iostreams" >&5
4442 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4443 if test "${enable_std_iostreams+set}" = set; then
4444 enableval
="$enable_std_iostreams"
4446 if test "$enableval" = yes; then
4447 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4449 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4454 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4455 if test "x$LINE" != x
; then
4456 eval "DEFAULT_$LINE"
4461 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4466 eval "$ac_cv_use_std_iostreams"
4467 if test "$no_cache" != 1; then
4468 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4471 if test "$wxUSE_STD_IOSTREAM" = yes; then
4472 echo "$ac_t""yes" 1>&6
4474 echo "$ac_t""no" 1>&6
4479 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4480 echo "configure:4481: checking for --${enablestring:-enable}-filesystem" >&5
4482 # Check whether --enable-filesystem or --disable-filesystem was given.
4483 if test "${enable_filesystem+set}" = set; then
4484 enableval
="$enable_filesystem"
4486 if test "$enableval" = yes; then
4487 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4489 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4494 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4495 if test "x$LINE" != x
; then
4496 eval "DEFAULT_$LINE"
4501 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4506 eval "$ac_cv_use_filesystem"
4507 if test "$no_cache" != 1; then
4508 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4511 if test "$wxUSE_FILESYSTEM" = yes; then
4512 echo "$ac_t""yes" 1>&6
4514 echo "$ac_t""no" 1>&6
4519 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4520 echo "configure:4521: checking for --${enablestring:-enable}-fs_inet" >&5
4522 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4523 if test "${enable_fs_inet+set}" = set; then
4524 enableval
="$enable_fs_inet"
4526 if test "$enableval" = yes; then
4527 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4529 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4534 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4535 if test "x$LINE" != x
; then
4536 eval "DEFAULT_$LINE"
4541 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4546 eval "$ac_cv_use_fs_inet"
4547 if test "$no_cache" != 1; then
4548 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4551 if test "$wxUSE_FS_INET" = yes; then
4552 echo "$ac_t""yes" 1>&6
4554 echo "$ac_t""no" 1>&6
4559 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4560 echo "configure:4561: checking for --${enablestring:-enable}-fs_zip" >&5
4562 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4563 if test "${enable_fs_zip+set}" = set; then
4564 enableval
="$enable_fs_zip"
4566 if test "$enableval" = yes; then
4567 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4569 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4574 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4575 if test "x$LINE" != x
; then
4576 eval "DEFAULT_$LINE"
4581 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4586 eval "$ac_cv_use_fs_zip"
4587 if test "$no_cache" != 1; then
4588 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4591 if test "$wxUSE_FS_ZIP" = yes; then
4592 echo "$ac_t""yes" 1>&6
4594 echo "$ac_t""no" 1>&6
4599 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4600 echo "configure:4601: checking for --${enablestring:-enable}-zipstream" >&5
4602 # Check whether --enable-zipstream or --disable-zipstream was given.
4603 if test "${enable_zipstream+set}" = set; then
4604 enableval
="$enable_zipstream"
4606 if test "$enableval" = yes; then
4607 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4609 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4614 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x
; then
4616 eval "DEFAULT_$LINE"
4621 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4626 eval "$ac_cv_use_zipstream"
4627 if test "$no_cache" != 1; then
4628 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4631 if test "$wxUSE_ZIPSTREAM" = yes; then
4632 echo "$ac_t""yes" 1>&6
4634 echo "$ac_t""no" 1>&6
4640 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4641 echo "configure:4642: checking for --${enablestring:-enable}-catch_segvs" >&5
4643 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4644 if test "${enable_catch_segvs+set}" = set; then
4645 enableval
="$enable_catch_segvs"
4647 if test "$enableval" = yes; then
4648 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4650 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4655 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4656 if test "x$LINE" != x
; then
4657 eval "DEFAULT_$LINE"
4662 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4667 eval "$ac_cv_use_catch_segvs"
4668 if test "$no_cache" != 1; then
4669 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4672 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4673 echo "$ac_t""yes" 1>&6
4675 echo "$ac_t""no" 1>&6
4680 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4681 echo "configure:4682: checking for --${enablestring:-enable}-snglinst" >&5
4683 # Check whether --enable-snglinst or --disable-snglinst was given.
4684 if test "${enable_snglinst+set}" = set; then
4685 enableval
="$enable_snglinst"
4687 if test "$enableval" = yes; then
4688 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4690 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4695 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x
; then
4697 eval "DEFAULT_$LINE"
4702 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4707 eval "$ac_cv_use_snglinst"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4712 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4713 echo "$ac_t""yes" 1>&6
4715 echo "$ac_t""no" 1>&6
4721 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4722 echo "configure:4723: checking for --${enablestring:-enable}-mimetype" >&5
4724 # Check whether --enable-mimetype or --disable-mimetype was given.
4725 if test "${enable_mimetype+set}" = set; then
4726 enableval
="$enable_mimetype"
4728 if test "$enableval" = yes; then
4729 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4731 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4736 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4737 if test "x$LINE" != x
; then
4738 eval "DEFAULT_$LINE"
4743 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4748 eval "$ac_cv_use_mimetype"
4749 if test "$no_cache" != 1; then
4750 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4753 if test "$wxUSE_MIMETYPE" = yes; then
4754 echo "$ac_t""yes" 1>&6
4756 echo "$ac_t""no" 1>&6
4761 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4762 echo "configure:4763: checking for --${enablestring:-enable}-system_options" >&5
4764 # Check whether --enable-system_options or --disable-system_options was given.
4765 if test "${enable_system_options+set}" = set; then
4766 enableval
="$enable_system_options"
4768 if test "$enableval" = yes; then
4769 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4771 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4776 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x
; then
4778 eval "DEFAULT_$LINE"
4783 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4788 eval "$ac_cv_use_system_options"
4789 if test "$no_cache" != 1; then
4790 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4793 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4794 echo "$ac_t""yes" 1>&6
4796 echo "$ac_t""no" 1>&6
4802 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4803 echo "configure:4804: checking for --${enablestring:-enable}-url" >&5
4805 # Check whether --enable-url or --disable-url was given.
4806 if test "${enable_url+set}" = set; then
4807 enableval
="$enable_url"
4809 if test "$enableval" = yes; then
4810 ac_cv_use_url
='wxUSE_URL=yes'
4812 ac_cv_use_url
='wxUSE_URL=no'
4817 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x
; then
4819 eval "DEFAULT_$LINE"
4824 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4829 eval "$ac_cv_use_url"
4830 if test "$no_cache" != 1; then
4831 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4834 if test "$wxUSE_URL" = yes; then
4835 echo "$ac_t""yes" 1>&6
4837 echo "$ac_t""no" 1>&6
4842 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4843 echo "configure:4844: checking for --${enablestring:-enable}-protocol" >&5
4845 # Check whether --enable-protocol or --disable-protocol was given.
4846 if test "${enable_protocol+set}" = set; then
4847 enableval
="$enable_protocol"
4849 if test "$enableval" = yes; then
4850 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4852 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4857 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x
; then
4859 eval "DEFAULT_$LINE"
4864 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4869 eval "$ac_cv_use_protocol"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4874 if test "$wxUSE_PROTOCOL" = yes; then
4875 echo "$ac_t""yes" 1>&6
4877 echo "$ac_t""no" 1>&6
4882 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4883 echo "configure:4884: checking for --${enablestring:-enable}-protocol_http" >&5
4885 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4886 if test "${enable_protocol_http+set}" = set; then
4887 enableval
="$enable_protocol_http"
4889 if test "$enableval" = yes; then
4890 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4892 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4897 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x
; then
4899 eval "DEFAULT_$LINE"
4904 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4909 eval "$ac_cv_use_protocol_http"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4914 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4915 echo "$ac_t""yes" 1>&6
4917 echo "$ac_t""no" 1>&6
4922 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4923 echo "configure:4924: checking for --${enablestring:-enable}-protocol_ftp" >&5
4925 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4926 if test "${enable_protocol_ftp+set}" = set; then
4927 enableval
="$enable_protocol_ftp"
4929 if test "$enableval" = yes; then
4930 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4932 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4937 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4938 if test "x$LINE" != x
; then
4939 eval "DEFAULT_$LINE"
4944 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4949 eval "$ac_cv_use_protocol_ftp"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4954 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4955 echo "$ac_t""yes" 1>&6
4957 echo "$ac_t""no" 1>&6
4962 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4963 echo "configure:4964: checking for --${enablestring:-enable}-protocol_file" >&5
4965 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4966 if test "${enable_protocol_file+set}" = set; then
4967 enableval
="$enable_protocol_file"
4969 if test "$enableval" = yes; then
4970 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4972 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4977 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4978 if test "x$LINE" != x
; then
4979 eval "DEFAULT_$LINE"
4984 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4989 eval "$ac_cv_use_protocol_file"
4990 if test "$no_cache" != 1; then
4991 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4994 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4995 echo "$ac_t""yes" 1>&6
4997 echo "$ac_t""no" 1>&6
5005 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
5006 echo "configure:5007: checking for --${enablestring:-enable}-threads" >&5
5008 # Check whether --enable-threads or --disable-threads was given.
5009 if test "${enable_threads+set}" = set; then
5010 enableval
="$enable_threads"
5012 if test "$enableval" = yes; then
5013 ac_cv_use_threads
='wxUSE_THREADS=yes'
5015 ac_cv_use_threads
='wxUSE_THREADS=no'
5020 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5021 if test "x$LINE" != x
; then
5022 eval "DEFAULT_$LINE"
5027 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5032 eval "$ac_cv_use_threads"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5037 if test "$wxUSE_THREADS" = yes; then
5038 echo "$ac_t""yes" 1>&6
5040 echo "$ac_t""no" 1>&6
5044 if test "$wxUSE_GUI" = "yes"; then
5049 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5050 echo "configure:5051: checking for --${enablestring:-enable}-docview" >&5
5052 # Check whether --enable-docview or --disable-docview was given.
5053 if test "${enable_docview+set}" = set; then
5054 enableval
="$enable_docview"
5056 if test "$enableval" = yes; then
5057 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5059 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5064 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5065 if test "x$LINE" != x
; then
5066 eval "DEFAULT_$LINE"
5071 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5076 eval "$ac_cv_use_docview"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5081 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5082 echo "$ac_t""yes" 1>&6
5084 echo "$ac_t""no" 1>&6
5089 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5090 echo "configure:5091: checking for --${enablestring:-enable}-help" >&5
5092 # Check whether --enable-help or --disable-help was given.
5093 if test "${enable_help+set}" = set; then
5094 enableval
="$enable_help"
5096 if test "$enableval" = yes; then
5097 ac_cv_use_help
='wxUSE_HELP=yes'
5099 ac_cv_use_help
='wxUSE_HELP=no'
5104 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x
; then
5106 eval "DEFAULT_$LINE"
5111 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5116 eval "$ac_cv_use_help"
5117 if test "$no_cache" != 1; then
5118 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5121 if test "$wxUSE_HELP" = yes; then
5122 echo "$ac_t""yes" 1>&6
5124 echo "$ac_t""no" 1>&6
5129 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5130 echo "configure:5131: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5132 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5133 if test "${enable_mshtmlhelp+set}" = set; then
5134 enableval
="$enable_mshtmlhelp"
5136 if test "$enableval" = yes; then
5137 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5139 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5144 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x
; then
5146 eval "DEFAULT_$LINE"
5151 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5156 eval "$ac_cv_use_mshtmlhelp"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5161 if test "$wxUSE_MS_HTML_HELP" = yes; then
5162 echo "$ac_t""yes" 1>&6
5164 echo "$ac_t""no" 1>&6
5169 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5170 echo "configure:5171: checking for --${enablestring:-enable}-html" >&5
5172 # Check whether --enable-html or --disable-html was given.
5173 if test "${enable_html+set}" = set; then
5174 enableval
="$enable_html"
5176 if test "$enableval" = yes; then
5177 ac_cv_use_html
='wxUSE_HTML=yes'
5179 ac_cv_use_html
='wxUSE_HTML=no'
5184 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5185 if test "x$LINE" != x
; then
5186 eval "DEFAULT_$LINE"
5191 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5196 eval "$ac_cv_use_html"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5201 if test "$wxUSE_HTML" = yes; then
5202 echo "$ac_t""yes" 1>&6
5204 echo "$ac_t""no" 1>&6
5209 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5210 echo "configure:5211: checking for --${enablestring:-enable}-htmlhelp" >&5
5212 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5213 if test "${enable_htmlhelp+set}" = set; then
5214 enableval
="$enable_htmlhelp"
5216 if test "$enableval" = yes; then
5217 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5219 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5224 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x
; then
5226 eval "DEFAULT_$LINE"
5231 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5236 eval "$ac_cv_use_htmlhelp"
5237 if test "$no_cache" != 1; then
5238 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5241 if test "$wxUSE_WXHTML_HELP" = yes; then
5242 echo "$ac_t""yes" 1>&6
5244 echo "$ac_t""no" 1>&6
5249 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5250 echo "configure:5251: checking for --${enablestring:-enable}-constraints" >&5
5252 # Check whether --enable-constraints or --disable-constraints was given.
5253 if test "${enable_constraints+set}" = set; then
5254 enableval
="$enable_constraints"
5256 if test "$enableval" = yes; then
5257 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5259 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5264 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5265 if test "x$LINE" != x
; then
5266 eval "DEFAULT_$LINE"
5271 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5276 eval "$ac_cv_use_constraints"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5281 if test "$wxUSE_CONSTRAINTS" = yes; then
5282 echo "$ac_t""yes" 1>&6
5284 echo "$ac_t""no" 1>&6
5289 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5290 echo "configure:5291: checking for --${enablestring:-enable}-printarch" >&5
5292 # Check whether --enable-printarch or --disable-printarch was given.
5293 if test "${enable_printarch+set}" = set; then
5294 enableval
="$enable_printarch"
5296 if test "$enableval" = yes; then
5297 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5299 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5304 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5305 if test "x$LINE" != x
; then
5306 eval "DEFAULT_$LINE"
5311 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5316 eval "$ac_cv_use_printarch"
5317 if test "$no_cache" != 1; then
5318 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5321 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5322 echo "$ac_t""yes" 1>&6
5324 echo "$ac_t""no" 1>&6
5329 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5330 echo "configure:5331: checking for --${enablestring:-enable}-mdi" >&5
5332 # Check whether --enable-mdi or --disable-mdi was given.
5333 if test "${enable_mdi+set}" = set; then
5334 enableval
="$enable_mdi"
5336 if test "$enableval" = yes; then
5337 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5339 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5344 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5345 if test "x$LINE" != x
; then
5346 eval "DEFAULT_$LINE"
5351 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5356 eval "$ac_cv_use_mdi"
5357 if test "$no_cache" != 1; then
5358 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5361 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5362 echo "$ac_t""yes" 1>&6
5364 echo "$ac_t""no" 1>&6
5369 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5370 echo "configure:5371: checking for --${enablestring:-enable}-loggui" >&5
5372 # Check whether --enable-loggui or --disable-loggui was given.
5373 if test "${enable_loggui+set}" = set; then
5374 enableval
="$enable_loggui"
5376 if test "$enableval" = yes; then
5377 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5379 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5384 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x
; then
5386 eval "DEFAULT_$LINE"
5391 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5396 eval "$ac_cv_use_loggui"
5397 if test "$no_cache" != 1; then
5398 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5401 if test "$wxUSE_LOGGUI" = yes; then
5402 echo "$ac_t""yes" 1>&6
5404 echo "$ac_t""no" 1>&6
5409 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5410 echo "configure:5411: checking for --${enablestring:-enable}-logwin" >&5
5412 # Check whether --enable-logwin or --disable-logwin was given.
5413 if test "${enable_logwin+set}" = set; then
5414 enableval
="$enable_logwin"
5416 if test "$enableval" = yes; then
5417 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5419 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5424 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5425 if test "x$LINE" != x
; then
5426 eval "DEFAULT_$LINE"
5431 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5436 eval "$ac_cv_use_logwin"
5437 if test "$no_cache" != 1; then
5438 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5441 if test "$wxUSE_LOGWINDOW" = yes; then
5442 echo "$ac_t""yes" 1>&6
5444 echo "$ac_t""no" 1>&6
5449 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5450 echo "configure:5451: checking for --${enablestring:-enable}-logdialog" >&5
5452 # Check whether --enable-logdialog or --disable-logdialog was given.
5453 if test "${enable_logdialog+set}" = set; then
5454 enableval
="$enable_logdialog"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5459 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5464 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x
; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5476 eval "$ac_cv_use_logdialog"
5477 if test "$no_cache" != 1; then
5478 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5481 if test "$wxUSE_LOGDIALOG" = yes; then
5482 echo "$ac_t""yes" 1>&6
5484 echo "$ac_t""no" 1>&6
5490 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5491 echo "configure:5492: checking for --${enablestring:-enable}-postscript" >&5
5493 # Check whether --enable-postscript or --disable-postscript was given.
5494 if test "${enable_postscript+set}" = set; then
5495 enableval
="$enable_postscript"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5500 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5505 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x
; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5517 eval "$ac_cv_use_postscript"
5518 if test "$no_cache" != 1; then
5519 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5522 if test "$wxUSE_POSTSCRIPT" = yes; then
5523 echo "$ac_t""yes" 1>&6
5525 echo "$ac_t""no" 1>&6
5533 echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6
5534 echo "configure:5535: checking for --${enablestring:-enable}-prologio" >&5
5536 # Check whether --enable-prologio or --disable-prologio was given.
5537 if test "${enable_prologio+set}" = set; then
5538 enableval
="$enable_prologio"
5540 if test "$enableval" = yes; then
5541 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5543 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5548 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x
; then
5550 eval "DEFAULT_$LINE"
5555 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5560 eval "$ac_cv_use_prologio"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5565 if test "$wxUSE_PROLOGIO" = yes; then
5566 echo "$ac_t""yes" 1>&6
5568 echo "$ac_t""no" 1>&6
5573 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5574 echo "configure:5575: checking for --${enablestring:-enable}-resources" >&5
5576 # Check whether --enable-resources or --disable-resources was given.
5577 if test "${enable_resources+set}" = set; then
5578 enableval
="$enable_resources"
5580 if test "$enableval" = yes; then
5581 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5583 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5588 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5589 if test "x$LINE" != x
; then
5590 eval "DEFAULT_$LINE"
5595 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5600 eval "$ac_cv_use_resources"
5601 if test "$no_cache" != 1; then
5602 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5605 if test "$wxUSE_RESOURCES" = yes; then
5606 echo "$ac_t""yes" 1>&6
5608 echo "$ac_t""no" 1>&6
5614 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5615 echo "configure:5616: checking for --${enablestring:-enable}-xresources" >&5
5617 # Check whether --enable-xresources or --disable-xresources was given.
5618 if test "${enable_xresources+set}" = set; then
5619 enableval
="$enable_xresources"
5621 if test "$enableval" = yes; then
5622 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5624 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5629 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5630 if test "x$LINE" != x
; then
5631 eval "DEFAULT_$LINE"
5636 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5641 eval "$ac_cv_use_xresources"
5642 if test "$no_cache" != 1; then
5643 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5646 if test "$wxUSE_X_RESOURCES" = yes; then
5647 echo "$ac_t""yes" 1>&6
5649 echo "$ac_t""no" 1>&6
5656 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5657 echo "configure:5658: checking for --${enablestring:-enable}-clipboard" >&5
5659 # Check whether --enable-clipboard or --disable-clipboard was given.
5660 if test "${enable_clipboard+set}" = set; then
5661 enableval
="$enable_clipboard"
5663 if test "$enableval" = yes; then
5664 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5666 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5671 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x
; then
5673 eval "DEFAULT_$LINE"
5678 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5683 eval "$ac_cv_use_clipboard"
5684 if test "$no_cache" != 1; then
5685 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5688 if test "$wxUSE_CLIPBOARD" = yes; then
5689 echo "$ac_t""yes" 1>&6
5691 echo "$ac_t""no" 1>&6
5696 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5697 echo "configure:5698: checking for --${enablestring:-enable}-dnd" >&5
5699 # Check whether --enable-dnd or --disable-dnd was given.
5700 if test "${enable_dnd+set}" = set; then
5701 enableval
="$enable_dnd"
5703 if test "$enableval" = yes; then
5704 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5706 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5711 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5712 if test "x$LINE" != x
; then
5713 eval "DEFAULT_$LINE"
5718 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5723 eval "$ac_cv_use_dnd"
5724 if test "$no_cache" != 1; then
5725 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5728 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5729 echo "$ac_t""yes" 1>&6
5731 echo "$ac_t""no" 1>&6
5736 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5737 echo "configure:5738: checking for --${enablestring:-enable}-metafile" >&5
5739 # Check whether --enable-metafile or --disable-metafile was given.
5740 if test "${enable_metafile+set}" = set; then
5741 enableval
="$enable_metafile"
5743 if test "$enableval" = yes; then
5744 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5746 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5751 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x
; then
5753 eval "DEFAULT_$LINE"
5758 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5763 eval "$ac_cv_use_metafile"
5764 if test "$no_cache" != 1; then
5765 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5768 if test "$wxUSE_METAFILE" = yes; then
5769 echo "$ac_t""yes" 1>&6
5771 echo "$ac_t""no" 1>&6
5777 echo $ac_n "checking for --${enablestring:-enable}-treelayout""... $ac_c" 1>&6
5778 echo "configure:5779: checking for --${enablestring:-enable}-treelayout" >&5
5780 # Check whether --enable-treelayout or --disable-treelayout was given.
5781 if test "${enable_treelayout+set}" = set; then
5782 enableval
="$enable_treelayout"
5784 if test "$enableval" = yes; then
5785 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5787 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5792 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x
; then
5794 eval "DEFAULT_$LINE"
5799 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5804 eval "$ac_cv_use_treelayout"
5805 if test "$no_cache" != 1; then
5806 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5809 if test "$wxUSE_TREELAYOUT" = yes; then
5810 echo "$ac_t""yes" 1>&6
5812 echo "$ac_t""no" 1>&6
5819 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5820 echo "configure:5821: checking for --${enablestring:-enable}-controls" >&5
5822 # Check whether --enable-controls or --disable-controls was given.
5823 if test "${enable_controls+set}" = set; then
5824 enableval
="$enable_controls"
5826 if test "$enableval" = yes; then
5827 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5829 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5834 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5835 if test "x$LINE" != x
; then
5836 eval "DEFAULT_$LINE"
5841 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5846 eval "$ac_cv_use_controls"
5847 if test "$no_cache" != 1; then
5848 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5851 if test "$wxUSE_CONTROLS" = yes; then
5852 echo "$ac_t""yes" 1>&6
5854 echo "$ac_t""no" 1>&6
5858 if test "$wxUSE_CONTROLS" = "yes"; then
5859 DEFAULT_wxUSE_ACCEL
=yes
5860 DEFAULT_wxUSE_BMPBUTTON
=yes
5861 DEFAULT_wxUSE_BUTTON
=yes
5862 DEFAULT_wxUSE_CALCTRL
=no
5863 DEFAULT_wxUSE_CARET
=yes
5864 DEFAULT_wxUSE_COMBOBOX
=yes
5865 DEFAULT_wxUSE_CHECKBOX
=yes
5866 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5867 DEFAULT_wxUSE_CHOICE
=yes
5868 DEFAULT_wxUSE_GAUGE
=yes
5869 DEFAULT_wxUSE_GRID
=yes
5870 DEFAULT_wxUSE_NEW_GRID
=yes
5871 DEFAULT_wxUSE_IMAGLIST
=yes
5872 DEFAULT_wxUSE_LISTBOX
=yes
5873 DEFAULT_wxUSE_LISTCTRL
=yes
5874 DEFAULT_wxUSE_NOTEBOOK
=yes
5875 DEFAULT_wxUSE_PROPSHEET
=yes
5876 DEFAULT_wxUSE_RADIOBOX
=yes
5877 DEFAULT_wxUSE_RADIOBTN
=yes
5878 DEFAULT_wxUSE_SASH
=yes
5879 DEFAULT_wxUSE_SCROLLBAR
=yes
5880 DEFAULT_wxUSE_SLIDER
=yes
5881 DEFAULT_wxUSE_SPINBTN
=yes
5882 DEFAULT_wxUSE_SPINCTRL
=yes
5883 DEFAULT_wxUSE_SPLITTER
=yes
5884 DEFAULT_wxUSE_STATBMP
=yes
5885 DEFAULT_wxUSE_STATBOX
=yes
5886 DEFAULT_wxUSE_STATLINE
=yes
5887 DEFAULT_wxUSE_STATUSBAR
=yes
5888 DEFAULT_wxUSE_TAB_DIALOG
=yes
5889 DEFAULT_wxUSE_TOGGLEBTN
=yes
5890 DEFAULT_wxUSE_TOOLBAR
=yes
5891 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5892 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5893 DEFAULT_wxUSE_TOOLTIPS
=yes
5894 DEFAULT_wxUSE_TREECTRL
=yes
5895 DEFAULT_wxUSE_POPUPWIN
=yes
5896 DEFAULT_wxUSE_TIPWINDOW
=yes
5897 elif test "$wxUSE_CONTROLS" = "no"; then
5898 DEFAULT_wxUSE_ACCEL
=no
5899 DEFAULT_wxUSE_BMPBUTTON
=no
5900 DEFAULT_wxUSE_BUTTON
=no
5901 DEFAULT_wxUSE_CALCTRL
=no
5902 DEFAULT_wxUSE_CARET
=no
5903 DEFAULT_wxUSE_COMBOBOX
=no
5904 DEFAULT_wxUSE_CHECKBOX
=no
5905 DEFAULT_wxUSE_CHECKLISTBOX
=no
5906 DEFAULT_wxUSE_CHOICE
=no
5907 DEFAULT_wxUSE_GAUGE
=no
5908 DEFAULT_wxUSE_GRID
=no
5909 DEFAULT_wxUSE_NEW_GRID
=no
5910 DEFAULT_wxUSE_IMAGLIST
=no
5911 DEFAULT_wxUSE_LISTBOX
=no
5912 DEFAULT_wxUSE_LISTCTRL
=no
5913 DEFAULT_wxUSE_NOTEBOOK
=no
5914 DEFAULT_wxUSE_PROPSHEET
=no
5915 DEFAULT_wxUSE_RADIOBOX
=no
5916 DEFAULT_wxUSE_RADIOBTN
=no
5917 DEFAULT_wxUSE_SASH
=no
5918 DEFAULT_wxUSE_SCROLLBAR
=no
5919 DEFAULT_wxUSE_SLIDER
=no
5920 DEFAULT_wxUSE_SPINBTN
=no
5921 DEFAULT_wxUSE_SPINCTRL
=no
5922 DEFAULT_wxUSE_SPLITTER
=no
5923 DEFAULT_wxUSE_STATBMP
=no
5924 DEFAULT_wxUSE_STATBOX
=no
5925 DEFAULT_wxUSE_STATLINE
=no
5926 DEFAULT_wxUSE_STATUSBAR
=no
5927 DEFAULT_wxUSE_TAB_DIALOG
=no
5928 DEFAULT_wxUSE_TOGGLEBTN
=no
5929 DEFAULT_wxUSE_TOOLBAR
=no
5930 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5931 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5932 DEFAULT_wxUSE_TOOLTIPS
=no
5933 DEFAULT_wxUSE_TREECTRL
=no
5934 DEFAULT_wxUSE_POPUPWIN
=no
5935 DEFAULT_wxUSE_TIPWINDOW
=no
5940 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5941 echo "configure:5942: checking for --${enablestring:-enable}-accel" >&5
5943 # Check whether --enable-accel or --disable-accel was given.
5944 if test "${enable_accel+set}" = set; then
5945 enableval
="$enable_accel"
5947 if test "$enableval" = yes; then
5948 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5950 ac_cv_use_accel
='wxUSE_ACCEL=no'
5955 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5956 if test "x$LINE" != x
; then
5957 eval "DEFAULT_$LINE"
5962 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5967 eval "$ac_cv_use_accel"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5972 if test "$wxUSE_ACCEL" = yes; then
5973 echo "$ac_t""yes" 1>&6
5975 echo "$ac_t""no" 1>&6
5980 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5981 echo "configure:5982: checking for --${enablestring:-enable}-button" >&5
5983 # Check whether --enable-button or --disable-button was given.
5984 if test "${enable_button+set}" = set; then
5985 enableval
="$enable_button"
5987 if test "$enableval" = yes; then
5988 ac_cv_use_button
='wxUSE_BUTTON=yes'
5990 ac_cv_use_button
='wxUSE_BUTTON=no'
5995 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5996 if test "x$LINE" != x
; then
5997 eval "DEFAULT_$LINE"
6002 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6007 eval "$ac_cv_use_button"
6008 if test "$no_cache" != 1; then
6009 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6012 if test "$wxUSE_BUTTON" = yes; then
6013 echo "$ac_t""yes" 1>&6
6015 echo "$ac_t""no" 1>&6
6020 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
6021 echo "configure:6022: checking for --${enablestring:-enable}-bmpbutton" >&5
6023 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6024 if test "${enable_bmpbutton+set}" = set; then
6025 enableval
="$enable_bmpbutton"
6027 if test "$enableval" = yes; then
6028 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6030 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6035 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x
; then
6037 eval "DEFAULT_$LINE"
6042 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6047 eval "$ac_cv_use_bmpbutton"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6052 if test "$wxUSE_BMPBUTTON" = yes; then
6053 echo "$ac_t""yes" 1>&6
6055 echo "$ac_t""no" 1>&6
6060 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
6061 echo "configure:6062: checking for --${enablestring:-enable}-calendar" >&5
6063 # Check whether --enable-calendar or --disable-calendar was given.
6064 if test "${enable_calendar+set}" = set; then
6065 enableval
="$enable_calendar"
6067 if test "$enableval" = yes; then
6068 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6070 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6075 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x
; then
6077 eval "DEFAULT_$LINE"
6082 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6087 eval "$ac_cv_use_calendar"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6092 if test "$wxUSE_CALCTRL" = yes; then
6093 echo "$ac_t""yes" 1>&6
6095 echo "$ac_t""no" 1>&6
6100 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6101 echo "configure:6102: checking for --${enablestring:-enable}-caret" >&5
6103 # Check whether --enable-caret or --disable-caret was given.
6104 if test "${enable_caret+set}" = set; then
6105 enableval
="$enable_caret"
6107 if test "$enableval" = yes; then
6108 ac_cv_use_caret
='wxUSE_CARET=yes'
6110 ac_cv_use_caret
='wxUSE_CARET=no'
6115 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6116 if test "x$LINE" != x
; then
6117 eval "DEFAULT_$LINE"
6122 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6127 eval "$ac_cv_use_caret"
6128 if test "$no_cache" != 1; then
6129 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6132 if test "$wxUSE_CARET" = yes; then
6133 echo "$ac_t""yes" 1>&6
6135 echo "$ac_t""no" 1>&6
6140 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6141 echo "configure:6142: checking for --${enablestring:-enable}-checkbox" >&5
6143 # Check whether --enable-checkbox or --disable-checkbox was given.
6144 if test "${enable_checkbox+set}" = set; then
6145 enableval
="$enable_checkbox"
6147 if test "$enableval" = yes; then
6148 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6150 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6155 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x
; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6167 eval "$ac_cv_use_checkbox"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6172 if test "$wxUSE_CHECKBOX" = yes; then
6173 echo "$ac_t""yes" 1>&6
6175 echo "$ac_t""no" 1>&6
6180 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6181 echo "configure:6182: checking for --${enablestring:-enable}-checklst" >&5
6183 # Check whether --enable-checklst or --disable-checklst was given.
6184 if test "${enable_checklst+set}" = set; then
6185 enableval
="$enable_checklst"
6187 if test "$enableval" = yes; then
6188 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6190 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6195 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6196 if test "x$LINE" != x
; then
6197 eval "DEFAULT_$LINE"
6202 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6207 eval "$ac_cv_use_checklst"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6212 if test "$wxUSE_CHECKLST" = yes; then
6213 echo "$ac_t""yes" 1>&6
6215 echo "$ac_t""no" 1>&6
6220 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6221 echo "configure:6222: checking for --${enablestring:-enable}-choice" >&5
6223 # Check whether --enable-choice or --disable-choice was given.
6224 if test "${enable_choice+set}" = set; then
6225 enableval
="$enable_choice"
6227 if test "$enableval" = yes; then
6228 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6230 ac_cv_use_choice
='wxUSE_CHOICE=no'
6235 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6236 if test "x$LINE" != x
; then
6237 eval "DEFAULT_$LINE"
6242 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6247 eval "$ac_cv_use_choice"
6248 if test "$no_cache" != 1; then
6249 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6252 if test "$wxUSE_CHOICE" = yes; then
6253 echo "$ac_t""yes" 1>&6
6255 echo "$ac_t""no" 1>&6
6260 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6261 echo "configure:6262: checking for --${enablestring:-enable}-combobox" >&5
6263 # Check whether --enable-combobox or --disable-combobox was given.
6264 if test "${enable_combobox+set}" = set; then
6265 enableval
="$enable_combobox"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6270 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6275 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x
; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6287 eval "$ac_cv_use_combobox"
6288 if test "$no_cache" != 1; then
6289 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6292 if test "$wxUSE_COMBOBOX" = yes; then
6293 echo "$ac_t""yes" 1>&6
6295 echo "$ac_t""no" 1>&6
6300 echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
6301 echo "configure:6302: checking for --${enablestring:-enable}-display" >&5
6303 # Check whether --enable-display or --disable-display was given.
6304 if test "${enable_display+set}" = set; then
6305 enableval
="$enable_display"
6307 if test "$enableval" = yes; then
6308 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6310 ac_cv_use_display
='wxUSE_DISPLAY=no'
6315 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6316 if test "x$LINE" != x
; then
6317 eval "DEFAULT_$LINE"
6322 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6327 eval "$ac_cv_use_display"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6332 if test "$wxUSE_DISPLAY" = yes; then
6333 echo "$ac_t""yes" 1>&6
6335 echo "$ac_t""no" 1>&6
6340 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6341 echo "configure:6342: checking for --${enablestring:-enable}-gauge" >&5
6343 # Check whether --enable-gauge or --disable-gauge was given.
6344 if test "${enable_gauge+set}" = set; then
6345 enableval
="$enable_gauge"
6347 if test "$enableval" = yes; then
6348 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6350 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6355 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x
; then
6357 eval "DEFAULT_$LINE"
6362 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6367 eval "$ac_cv_use_gauge"
6368 if test "$no_cache" != 1; then
6369 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6372 if test "$wxUSE_GAUGE" = yes; then
6373 echo "$ac_t""yes" 1>&6
6375 echo "$ac_t""no" 1>&6
6380 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6381 echo "configure:6382: checking for --${enablestring:-enable}-grid" >&5
6383 # Check whether --enable-grid or --disable-grid was given.
6384 if test "${enable_grid+set}" = set; then
6385 enableval
="$enable_grid"
6387 if test "$enableval" = yes; then
6388 ac_cv_use_grid
='wxUSE_GRID=yes'
6390 ac_cv_use_grid
='wxUSE_GRID=no'
6395 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x
; then
6397 eval "DEFAULT_$LINE"
6402 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6407 eval "$ac_cv_use_grid"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6412 if test "$wxUSE_GRID" = yes; then
6413 echo "$ac_t""yes" 1>&6
6415 echo "$ac_t""no" 1>&6
6420 echo $ac_n "checking for --${enablestring:-enable}-newgrid""... $ac_c" 1>&6
6421 echo "configure:6422: checking for --${enablestring:-enable}-newgrid" >&5
6423 # Check whether --enable-newgrid or --disable-newgrid was given.
6424 if test "${enable_newgrid+set}" = set; then
6425 enableval
="$enable_newgrid"
6427 if test "$enableval" = yes; then
6428 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6430 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6435 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6436 if test "x$LINE" != x
; then
6437 eval "DEFAULT_$LINE"
6442 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6447 eval "$ac_cv_use_newgrid"
6448 if test "$no_cache" != 1; then
6449 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6452 if test "$wxUSE_NEW_GRID" = yes; then
6453 echo "$ac_t""yes" 1>&6
6455 echo "$ac_t""no" 1>&6
6460 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6461 echo "configure:6462: checking for --${enablestring:-enable}-imaglist" >&5
6463 # Check whether --enable-imaglist or --disable-imaglist was given.
6464 if test "${enable_imaglist+set}" = set; then
6465 enableval
="$enable_imaglist"
6467 if test "$enableval" = yes; then
6468 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6470 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6475 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x
; then
6477 eval "DEFAULT_$LINE"
6482 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6487 eval "$ac_cv_use_imaglist"
6488 if test "$no_cache" != 1; then
6489 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6492 if test "$wxUSE_IMAGLIST" = yes; then
6493 echo "$ac_t""yes" 1>&6
6495 echo "$ac_t""no" 1>&6
6500 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6501 echo "configure:6502: checking for --${enablestring:-enable}-listbox" >&5
6503 # Check whether --enable-listbox or --disable-listbox was given.
6504 if test "${enable_listbox+set}" = set; then
6505 enableval
="$enable_listbox"
6507 if test "$enableval" = yes; then
6508 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6510 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6515 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6516 if test "x$LINE" != x
; then
6517 eval "DEFAULT_$LINE"
6522 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6527 eval "$ac_cv_use_listbox"
6528 if test "$no_cache" != 1; then
6529 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6532 if test "$wxUSE_LISTBOX" = yes; then
6533 echo "$ac_t""yes" 1>&6
6535 echo "$ac_t""no" 1>&6
6540 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6541 echo "configure:6542: checking for --${enablestring:-enable}-listctrl" >&5
6543 # Check whether --enable-listctrl or --disable-listctrl was given.
6544 if test "${enable_listctrl+set}" = set; then
6545 enableval
="$enable_listctrl"
6547 if test "$enableval" = yes; then
6548 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6550 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6555 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x
; then
6557 eval "DEFAULT_$LINE"
6562 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6567 eval "$ac_cv_use_listctrl"
6568 if test "$no_cache" != 1; then
6569 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6572 if test "$wxUSE_LISTCTRL" = yes; then
6573 echo "$ac_t""yes" 1>&6
6575 echo "$ac_t""no" 1>&6
6580 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6581 echo "configure:6582: checking for --${enablestring:-enable}-notebook" >&5
6583 # Check whether --enable-notebook or --disable-notebook was given.
6584 if test "${enable_notebook+set}" = set; then
6585 enableval
="$enable_notebook"
6587 if test "$enableval" = yes; then
6588 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6590 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6595 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6596 if test "x$LINE" != x
; then
6597 eval "DEFAULT_$LINE"
6602 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6607 eval "$ac_cv_use_notebook"
6608 if test "$no_cache" != 1; then
6609 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6612 if test "$wxUSE_NOTEBOOK" = yes; then
6613 echo "$ac_t""yes" 1>&6
6615 echo "$ac_t""no" 1>&6
6620 echo $ac_n "checking for --${enablestring:-enable}-propsheet""... $ac_c" 1>&6
6621 echo "configure:6622: checking for --${enablestring:-enable}-propsheet" >&5
6623 # Check whether --enable-propsheet or --disable-propsheet was given.
6624 if test "${enable_propsheet+set}" = set; then
6625 enableval
="$enable_propsheet"
6627 if test "$enableval" = yes; then
6628 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6630 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6635 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6636 if test "x$LINE" != x
; then
6637 eval "DEFAULT_$LINE"
6642 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6647 eval "$ac_cv_use_propsheet"
6648 if test "$no_cache" != 1; then
6649 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6652 if test "$wxUSE_PROPSHEET" = yes; then
6653 echo "$ac_t""yes" 1>&6
6655 echo "$ac_t""no" 1>&6
6660 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6661 echo "configure:6662: checking for --${enablestring:-enable}-radiobox" >&5
6663 # Check whether --enable-radiobox or --disable-radiobox was given.
6664 if test "${enable_radiobox+set}" = set; then
6665 enableval
="$enable_radiobox"
6667 if test "$enableval" = yes; then
6668 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6670 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6675 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6676 if test "x$LINE" != x
; then
6677 eval "DEFAULT_$LINE"
6682 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6687 eval "$ac_cv_use_radiobox"
6688 if test "$no_cache" != 1; then
6689 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6692 if test "$wxUSE_RADIOBOX" = yes; then
6693 echo "$ac_t""yes" 1>&6
6695 echo "$ac_t""no" 1>&6
6700 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6701 echo "configure:6702: checking for --${enablestring:-enable}-radiobtn" >&5
6703 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6704 if test "${enable_radiobtn+set}" = set; then
6705 enableval
="$enable_radiobtn"
6707 if test "$enableval" = yes; then
6708 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6710 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6715 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6716 if test "x$LINE" != x
; then
6717 eval "DEFAULT_$LINE"
6722 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6727 eval "$ac_cv_use_radiobtn"
6728 if test "$no_cache" != 1; then
6729 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6732 if test "$wxUSE_RADIOBTN" = yes; then
6733 echo "$ac_t""yes" 1>&6
6735 echo "$ac_t""no" 1>&6
6740 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6741 echo "configure:6742: checking for --${enablestring:-enable}-sash" >&5
6743 # Check whether --enable-sash or --disable-sash was given.
6744 if test "${enable_sash+set}" = set; then
6745 enableval
="$enable_sash"
6747 if test "$enableval" = yes; then
6748 ac_cv_use_sash
='wxUSE_SASH=yes'
6750 ac_cv_use_sash
='wxUSE_SASH=no'
6755 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6756 if test "x$LINE" != x
; then
6757 eval "DEFAULT_$LINE"
6762 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6767 eval "$ac_cv_use_sash"
6768 if test "$no_cache" != 1; then
6769 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6772 if test "$wxUSE_SASH" = yes; then
6773 echo "$ac_t""yes" 1>&6
6775 echo "$ac_t""no" 1>&6
6780 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6781 echo "configure:6782: checking for --${enablestring:-enable}-scrollbar" >&5
6783 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6784 if test "${enable_scrollbar+set}" = set; then
6785 enableval
="$enable_scrollbar"
6787 if test "$enableval" = yes; then
6788 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6790 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6795 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6796 if test "x$LINE" != x
; then
6797 eval "DEFAULT_$LINE"
6802 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6807 eval "$ac_cv_use_scrollbar"
6808 if test "$no_cache" != 1; then
6809 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6812 if test "$wxUSE_SCROLLBAR" = yes; then
6813 echo "$ac_t""yes" 1>&6
6815 echo "$ac_t""no" 1>&6
6820 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6821 echo "configure:6822: checking for --${enablestring:-enable}-slider" >&5
6823 # Check whether --enable-slider or --disable-slider was given.
6824 if test "${enable_slider+set}" = set; then
6825 enableval
="$enable_slider"
6827 if test "$enableval" = yes; then
6828 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6830 ac_cv_use_slider
='wxUSE_SLIDER=no'
6835 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6836 if test "x$LINE" != x
; then
6837 eval "DEFAULT_$LINE"
6842 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6847 eval "$ac_cv_use_slider"
6848 if test "$no_cache" != 1; then
6849 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6852 if test "$wxUSE_SLIDER" = yes; then
6853 echo "$ac_t""yes" 1>&6
6855 echo "$ac_t""no" 1>&6
6860 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6861 echo "configure:6862: checking for --${enablestring:-enable}-spinbtn" >&5
6863 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6864 if test "${enable_spinbtn+set}" = set; then
6865 enableval
="$enable_spinbtn"
6867 if test "$enableval" = yes; then
6868 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6870 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6875 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6876 if test "x$LINE" != x
; then
6877 eval "DEFAULT_$LINE"
6882 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6887 eval "$ac_cv_use_spinbtn"
6888 if test "$no_cache" != 1; then
6889 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6892 if test "$wxUSE_SPINBTN" = yes; then
6893 echo "$ac_t""yes" 1>&6
6895 echo "$ac_t""no" 1>&6
6900 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6901 echo "configure:6902: checking for --${enablestring:-enable}-spinctrl" >&5
6903 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6904 if test "${enable_spinctrl+set}" = set; then
6905 enableval
="$enable_spinctrl"
6907 if test "$enableval" = yes; then
6908 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6910 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6915 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x
; then
6917 eval "DEFAULT_$LINE"
6922 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6927 eval "$ac_cv_use_spinctrl"
6928 if test "$no_cache" != 1; then
6929 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6932 if test "$wxUSE_SPINCTRL" = yes; then
6933 echo "$ac_t""yes" 1>&6
6935 echo "$ac_t""no" 1>&6
6940 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6941 echo "configure:6942: checking for --${enablestring:-enable}-splitter" >&5
6943 # Check whether --enable-splitter or --disable-splitter was given.
6944 if test "${enable_splitter+set}" = set; then
6945 enableval
="$enable_splitter"
6947 if test "$enableval" = yes; then
6948 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6950 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6955 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6956 if test "x$LINE" != x
; then
6957 eval "DEFAULT_$LINE"
6962 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6967 eval "$ac_cv_use_splitter"
6968 if test "$no_cache" != 1; then
6969 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6972 if test "$wxUSE_SPLITTER" = yes; then
6973 echo "$ac_t""yes" 1>&6
6975 echo "$ac_t""no" 1>&6
6980 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6981 echo "configure:6982: checking for --${enablestring:-enable}-statbmp" >&5
6983 # Check whether --enable-statbmp or --disable-statbmp was given.
6984 if test "${enable_statbmp+set}" = set; then
6985 enableval
="$enable_statbmp"
6987 if test "$enableval" = yes; then
6988 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6990 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6995 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x
; then
6997 eval "DEFAULT_$LINE"
7002 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7007 eval "$ac_cv_use_statbmp"
7008 if test "$no_cache" != 1; then
7009 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7012 if test "$wxUSE_STATBMP" = yes; then
7013 echo "$ac_t""yes" 1>&6
7015 echo "$ac_t""no" 1>&6
7020 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
7021 echo "configure:7022: checking for --${enablestring:-enable}-statbox" >&5
7023 # Check whether --enable-statbox or --disable-statbox was given.
7024 if test "${enable_statbox+set}" = set; then
7025 enableval
="$enable_statbox"
7027 if test "$enableval" = yes; then
7028 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7030 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7035 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7036 if test "x$LINE" != x
; then
7037 eval "DEFAULT_$LINE"
7042 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7047 eval "$ac_cv_use_statbox"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_STATBOX" = yes; then
7053 echo "$ac_t""yes" 1>&6
7055 echo "$ac_t""no" 1>&6
7060 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
7061 echo "configure:7062: checking for --${enablestring:-enable}-statline" >&5
7063 # Check whether --enable-statline or --disable-statline was given.
7064 if test "${enable_statline+set}" = set; then
7065 enableval
="$enable_statline"
7067 if test "$enableval" = yes; then
7068 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7070 ac_cv_use_statline
='wxUSE_STATLINE=no'
7075 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7076 if test "x$LINE" != x
; then
7077 eval "DEFAULT_$LINE"
7082 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7087 eval "$ac_cv_use_statline"
7088 if test "$no_cache" != 1; then
7089 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7092 if test "$wxUSE_STATLINE" = yes; then
7093 echo "$ac_t""yes" 1>&6
7095 echo "$ac_t""no" 1>&6
7100 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
7101 echo "configure:7102: checking for --${enablestring:-enable}-stattext" >&5
7103 # Check whether --enable-stattext or --disable-stattext was given.
7104 if test "${enable_stattext+set}" = set; then
7105 enableval
="$enable_stattext"
7107 if test "$enableval" = yes; then
7108 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7110 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7115 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7116 if test "x$LINE" != x
; then
7117 eval "DEFAULT_$LINE"
7122 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7127 eval "$ac_cv_use_stattext"
7128 if test "$no_cache" != 1; then
7129 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7132 if test "$wxUSE_STATTEXT" = yes; then
7133 echo "$ac_t""yes" 1>&6
7135 echo "$ac_t""no" 1>&6
7140 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
7141 echo "configure:7142: checking for --${enablestring:-enable}-statusbar" >&5
7143 # Check whether --enable-statusbar or --disable-statusbar was given.
7144 if test "${enable_statusbar+set}" = set; then
7145 enableval
="$enable_statusbar"
7147 if test "$enableval" = yes; then
7148 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7150 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7155 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x
; then
7157 eval "DEFAULT_$LINE"
7162 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7167 eval "$ac_cv_use_statusbar"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7172 if test "$wxUSE_STATUSBAR" = yes; then
7173 echo "$ac_t""yes" 1>&6
7175 echo "$ac_t""no" 1>&6
7180 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7181 echo "configure:7182: checking for --${enablestring:-enable}-tabdialog" >&5
7183 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7184 if test "${enable_tabdialog+set}" = set; then
7185 enableval
="$enable_tabdialog"
7187 if test "$enableval" = yes; then
7188 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7190 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7195 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7196 if test "x$LINE" != x
; then
7197 eval "DEFAULT_$LINE"
7202 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7207 eval "$ac_cv_use_tabdialog"
7208 if test "$no_cache" != 1; then
7209 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7212 if test "$wxUSE_TABDIALOG" = yes; then
7213 echo "$ac_t""yes" 1>&6
7215 echo "$ac_t""no" 1>&6
7220 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7221 echo "configure:7222: checking for --${enablestring:-enable}-textctrl" >&5
7223 # Check whether --enable-textctrl or --disable-textctrl was given.
7224 if test "${enable_textctrl+set}" = set; then
7225 enableval
="$enable_textctrl"
7227 if test "$enableval" = yes; then
7228 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7230 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7235 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x
; then
7237 eval "DEFAULT_$LINE"
7242 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7247 eval "$ac_cv_use_textctrl"
7248 if test "$no_cache" != 1; then
7249 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7252 if test "$wxUSE_TEXTCTRL" = yes; then
7253 echo "$ac_t""yes" 1>&6
7255 echo "$ac_t""no" 1>&6
7260 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7261 echo "configure:7262: checking for --${enablestring:-enable}-togglebtn" >&5
7263 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7264 if test "${enable_togglebtn+set}" = set; then
7265 enableval
="$enable_togglebtn"
7267 if test "$enableval" = yes; then
7268 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7270 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7275 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7276 if test "x$LINE" != x
; then
7277 eval "DEFAULT_$LINE"
7282 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7287 eval "$ac_cv_use_togglebtn"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7292 if test "$wxUSE_TOGGLEBTN" = yes; then
7293 echo "$ac_t""yes" 1>&6
7295 echo "$ac_t""no" 1>&6
7300 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7301 echo "configure:7302: checking for --${enablestring:-enable}-toolbar" >&5
7303 # Check whether --enable-toolbar or --disable-toolbar was given.
7304 if test "${enable_toolbar+set}" = set; then
7305 enableval
="$enable_toolbar"
7307 if test "$enableval" = yes; then
7308 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7310 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7315 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7316 if test "x$LINE" != x
; then
7317 eval "DEFAULT_$LINE"
7322 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7327 eval "$ac_cv_use_toolbar"
7328 if test "$no_cache" != 1; then
7329 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7332 if test "$wxUSE_TOOLBAR" = yes; then
7333 echo "$ac_t""yes" 1>&6
7335 echo "$ac_t""no" 1>&6
7340 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7341 echo "configure:7342: checking for --${enablestring:-enable}-tbarnative" >&5
7343 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7344 if test "${enable_tbarnative+set}" = set; then
7345 enableval
="$enable_tbarnative"
7347 if test "$enableval" = yes; then
7348 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7350 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7355 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x
; then
7357 eval "DEFAULT_$LINE"
7362 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7367 eval "$ac_cv_use_tbarnative"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7372 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7373 echo "$ac_t""yes" 1>&6
7375 echo "$ac_t""no" 1>&6
7380 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7381 echo "configure:7382: checking for --${enablestring:-enable}-tbarsmpl" >&5
7383 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7384 if test "${enable_tbarsmpl+set}" = set; then
7385 enableval
="$enable_tbarsmpl"
7387 if test "$enableval" = yes; then
7388 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7390 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7395 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7396 if test "x$LINE" != x
; then
7397 eval "DEFAULT_$LINE"
7402 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7407 eval "$ac_cv_use_tbarsmpl"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7412 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7413 echo "$ac_t""yes" 1>&6
7415 echo "$ac_t""no" 1>&6
7420 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7421 echo "configure:7422: checking for --${enablestring:-enable}-treectrl" >&5
7423 # Check whether --enable-treectrl or --disable-treectrl was given.
7424 if test "${enable_treectrl+set}" = set; then
7425 enableval
="$enable_treectrl"
7427 if test "$enableval" = yes; then
7428 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7430 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7435 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x
; then
7437 eval "DEFAULT_$LINE"
7442 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7447 eval "$ac_cv_use_treectrl"
7448 if test "$no_cache" != 1; then
7449 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7452 if test "$wxUSE_TREECTRL" = yes; then
7453 echo "$ac_t""yes" 1>&6
7455 echo "$ac_t""no" 1>&6
7460 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7461 echo "configure:7462: checking for --${enablestring:-enable}-tipwindow" >&5
7463 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7464 if test "${enable_tipwindow+set}" = set; then
7465 enableval
="$enable_tipwindow"
7467 if test "$enableval" = yes; then
7468 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7470 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7475 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x
; then
7477 eval "DEFAULT_$LINE"
7482 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7487 eval "$ac_cv_use_tipwindow"
7488 if test "$no_cache" != 1; then
7489 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7492 if test "$wxUSE_TIPWINDOW" = yes; then
7493 echo "$ac_t""yes" 1>&6
7495 echo "$ac_t""no" 1>&6
7500 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7501 echo "configure:7502: checking for --${enablestring:-enable}-popupwin" >&5
7503 # Check whether --enable-popupwin or --disable-popupwin was given.
7504 if test "${enable_popupwin+set}" = set; then
7505 enableval
="$enable_popupwin"
7507 if test "$enableval" = yes; then
7508 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7510 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7515 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7516 if test "x$LINE" != x
; then
7517 eval "DEFAULT_$LINE"
7522 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7527 eval "$ac_cv_use_popupwin"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7532 if test "$wxUSE_POPUPWIN" = yes; then
7533 echo "$ac_t""yes" 1>&6
7535 echo "$ac_t""no" 1>&6
7542 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7543 echo "configure:7544: checking for --${enablestring:-enable}-commondlg" >&5
7545 # Check whether --enable-commondlg or --disable-commondlg was given.
7546 if test "${enable_commondlg+set}" = set; then
7547 enableval
="$enable_commondlg"
7549 if test "$enableval" = yes; then
7550 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7552 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7557 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x
; then
7559 eval "DEFAULT_$LINE"
7564 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7569 eval "$ac_cv_use_commondlg"
7570 if test "$no_cache" != 1; then
7571 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7574 if test "$wxUSE_COMMONDLGS" = yes; then
7575 echo "$ac_t""yes" 1>&6
7577 echo "$ac_t""no" 1>&6
7582 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7583 echo "configure:7584: checking for --${enablestring:-enable}-choicedlg" >&5
7585 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7586 if test "${enable_choicedlg+set}" = set; then
7587 enableval
="$enable_choicedlg"
7589 if test "$enableval" = yes; then
7590 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7592 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7597 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7598 if test "x$LINE" != x
; then
7599 eval "DEFAULT_$LINE"
7604 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7609 eval "$ac_cv_use_choicedlg"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7614 if test "$wxUSE_CHOICEDLG" = yes; then
7615 echo "$ac_t""yes" 1>&6
7617 echo "$ac_t""no" 1>&6
7622 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7623 echo "configure:7624: checking for --${enablestring:-enable}-coldlg" >&5
7625 # Check whether --enable-coldlg or --disable-coldlg was given.
7626 if test "${enable_coldlg+set}" = set; then
7627 enableval
="$enable_coldlg"
7629 if test "$enableval" = yes; then
7630 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7632 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7637 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x
; then
7639 eval "DEFAULT_$LINE"
7644 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7649 eval "$ac_cv_use_coldlg"
7650 if test "$no_cache" != 1; then
7651 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7654 if test "$wxUSE_COLOURDLG" = yes; then
7655 echo "$ac_t""yes" 1>&6
7657 echo "$ac_t""no" 1>&6
7662 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7663 echo "configure:7664: checking for --${enablestring:-enable}-filedlg" >&5
7665 # Check whether --enable-filedlg or --disable-filedlg was given.
7666 if test "${enable_filedlg+set}" = set; then
7667 enableval
="$enable_filedlg"
7669 if test "$enableval" = yes; then
7670 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7672 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7677 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7678 if test "x$LINE" != x
; then
7679 eval "DEFAULT_$LINE"
7684 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7689 eval "$ac_cv_use_filedlg"
7690 if test "$no_cache" != 1; then
7691 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7694 if test "$wxUSE_FILEDLG" = yes; then
7695 echo "$ac_t""yes" 1>&6
7697 echo "$ac_t""no" 1>&6
7702 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7703 echo "configure:7704: checking for --${enablestring:-enable}-finddlg" >&5
7705 # Check whether --enable-finddlg or --disable-finddlg was given.
7706 if test "${enable_finddlg+set}" = set; then
7707 enableval
="$enable_finddlg"
7709 if test "$enableval" = yes; then
7710 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7712 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7717 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7718 if test "x$LINE" != x
; then
7719 eval "DEFAULT_$LINE"
7724 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7729 eval "$ac_cv_use_finddlg"
7730 if test "$no_cache" != 1; then
7731 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7734 if test "$wxUSE_FINDREPLDLG" = yes; then
7735 echo "$ac_t""yes" 1>&6
7737 echo "$ac_t""no" 1>&6
7742 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7743 echo "configure:7744: checking for --${enablestring:-enable}-fontdlg" >&5
7745 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7746 if test "${enable_fontdlg+set}" = set; then
7747 enableval
="$enable_fontdlg"
7749 if test "$enableval" = yes; then
7750 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7752 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7757 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7758 if test "x$LINE" != x
; then
7759 eval "DEFAULT_$LINE"
7764 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7769 eval "$ac_cv_use_fontdlg"
7770 if test "$no_cache" != 1; then
7771 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7774 if test "$wxUSE_FONTDLG" = yes; then
7775 echo "$ac_t""yes" 1>&6
7777 echo "$ac_t""no" 1>&6
7782 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7783 echo "configure:7784: checking for --${enablestring:-enable}-dirdlg" >&5
7785 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7786 if test "${enable_dirdlg+set}" = set; then
7787 enableval
="$enable_dirdlg"
7789 if test "$enableval" = yes; then
7790 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7792 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7797 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7798 if test "x$LINE" != x
; then
7799 eval "DEFAULT_$LINE"
7804 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7809 eval "$ac_cv_use_dirdlg"
7810 if test "$no_cache" != 1; then
7811 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7814 if test "$wxUSE_DIRDLG" = yes; then
7815 echo "$ac_t""yes" 1>&6
7817 echo "$ac_t""no" 1>&6
7822 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7823 echo "configure:7824: checking for --${enablestring:-enable}-msgdlg" >&5
7825 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7826 if test "${enable_msgdlg+set}" = set; then
7827 enableval
="$enable_msgdlg"
7829 if test "$enableval" = yes; then
7830 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7832 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7837 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7838 if test "x$LINE" != x
; then
7839 eval "DEFAULT_$LINE"
7844 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7849 eval "$ac_cv_use_msgdlg"
7850 if test "$no_cache" != 1; then
7851 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7854 if test "$wxUSE_MSGDLG" = yes; then
7855 echo "$ac_t""yes" 1>&6
7857 echo "$ac_t""no" 1>&6
7862 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7863 echo "configure:7864: checking for --${enablestring:-enable}-numberdlg" >&5
7865 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7866 if test "${enable_numberdlg+set}" = set; then
7867 enableval
="$enable_numberdlg"
7869 if test "$enableval" = yes; then
7870 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7872 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7877 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7878 if test "x$LINE" != x
; then
7879 eval "DEFAULT_$LINE"
7884 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7889 eval "$ac_cv_use_numberdlg"
7890 if test "$no_cache" != 1; then
7891 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7894 if test "$wxUSE_NUMBERDLG" = yes; then
7895 echo "$ac_t""yes" 1>&6
7897 echo "$ac_t""no" 1>&6
7902 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7903 echo "configure:7904: checking for --${enablestring:-enable}-splash" >&5
7905 # Check whether --enable-splash or --disable-splash was given.
7906 if test "${enable_splash+set}" = set; then
7907 enableval
="$enable_splash"
7909 if test "$enableval" = yes; then
7910 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7912 ac_cv_use_splash
='wxUSE_SPLASH=no'
7917 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7918 if test "x$LINE" != x
; then
7919 eval "DEFAULT_$LINE"
7924 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7929 eval "$ac_cv_use_splash"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7934 if test "$wxUSE_SPLASH" = yes; then
7935 echo "$ac_t""yes" 1>&6
7937 echo "$ac_t""no" 1>&6
7942 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7943 echo "configure:7944: checking for --${enablestring:-enable}-textdlg" >&5
7945 # Check whether --enable-textdlg or --disable-textdlg was given.
7946 if test "${enable_textdlg+set}" = set; then
7947 enableval
="$enable_textdlg"
7949 if test "$enableval" = yes; then
7950 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7952 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7957 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7958 if test "x$LINE" != x
; then
7959 eval "DEFAULT_$LINE"
7964 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7969 eval "$ac_cv_use_textdlg"
7970 if test "$no_cache" != 1; then
7971 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7974 if test "$wxUSE_TEXTDLG" = yes; then
7975 echo "$ac_t""yes" 1>&6
7977 echo "$ac_t""no" 1>&6
7982 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7983 echo "configure:7984: checking for --${enablestring:-enable}-tipdlg" >&5
7985 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7986 if test "${enable_tipdlg+set}" = set; then
7987 enableval
="$enable_tipdlg"
7989 if test "$enableval" = yes; then
7990 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7992 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7997 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7998 if test "x$LINE" != x
; then
7999 eval "DEFAULT_$LINE"
8004 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8009 eval "$ac_cv_use_tipdlg"
8010 if test "$no_cache" != 1; then
8011 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8014 if test "$wxUSE_STARTUP_TIPS" = yes; then
8015 echo "$ac_t""yes" 1>&6
8017 echo "$ac_t""no" 1>&6
8022 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
8023 echo "configure:8024: checking for --${enablestring:-enable}-progressdlg" >&5
8025 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8026 if test "${enable_progressdlg+set}" = set; then
8027 enableval
="$enable_progressdlg"
8029 if test "$enableval" = yes; then
8030 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8032 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8037 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8038 if test "x$LINE" != x
; then
8039 eval "DEFAULT_$LINE"
8044 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8049 eval "$ac_cv_use_progressdlg"
8050 if test "$no_cache" != 1; then
8051 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8054 if test "$wxUSE_PROGRESSDLG" = yes; then
8055 echo "$ac_t""yes" 1>&6
8057 echo "$ac_t""no" 1>&6
8062 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
8063 echo "configure:8064: checking for --${enablestring:-enable}-wizarddlg" >&5
8065 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8066 if test "${enable_wizarddlg+set}" = set; then
8067 enableval
="$enable_wizarddlg"
8069 if test "$enableval" = yes; then
8070 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8072 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8077 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8078 if test "x$LINE" != x
; then
8079 eval "DEFAULT_$LINE"
8084 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8089 eval "$ac_cv_use_wizarddlg"
8090 if test "$no_cache" != 1; then
8091 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8094 if test "$wxUSE_WIZARDDLG" = yes; then
8095 echo "$ac_t""yes" 1>&6
8097 echo "$ac_t""no" 1>&6
8104 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
8105 echo "configure:8106: checking for --${enablestring:-enable}-menus" >&5
8107 # Check whether --enable-menus or --disable-menus was given.
8108 if test "${enable_menus+set}" = set; then
8109 enableval
="$enable_menus"
8111 if test "$enableval" = yes; then
8112 ac_cv_use_menus
='wxUSE_MENUS=yes'
8114 ac_cv_use_menus
='wxUSE_MENUS=no'
8119 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8120 if test "x$LINE" != x
; then
8121 eval "DEFAULT_$LINE"
8126 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8131 eval "$ac_cv_use_menus"
8132 if test "$no_cache" != 1; then
8133 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8136 if test "$wxUSE_MENUS" = yes; then
8137 echo "$ac_t""yes" 1>&6
8139 echo "$ac_t""no" 1>&6
8144 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
8145 echo "configure:8146: checking for --${enablestring:-enable}-miniframe" >&5
8147 # Check whether --enable-miniframe or --disable-miniframe was given.
8148 if test "${enable_miniframe+set}" = set; then
8149 enableval
="$enable_miniframe"
8151 if test "$enableval" = yes; then
8152 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8154 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8159 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8160 if test "x$LINE" != x
; then
8161 eval "DEFAULT_$LINE"
8166 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8171 eval "$ac_cv_use_miniframe"
8172 if test "$no_cache" != 1; then
8173 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8176 if test "$wxUSE_MINIFRAME" = yes; then
8177 echo "$ac_t""yes" 1>&6
8179 echo "$ac_t""no" 1>&6
8184 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8185 echo "configure:8186: checking for --${enablestring:-enable}-tooltips" >&5
8187 # Check whether --enable-tooltips or --disable-tooltips was given.
8188 if test "${enable_tooltips+set}" = set; then
8189 enableval
="$enable_tooltips"
8191 if test "$enableval" = yes; then
8192 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8194 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8199 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8200 if test "x$LINE" != x
; then
8201 eval "DEFAULT_$LINE"
8206 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8211 eval "$ac_cv_use_tooltips"
8212 if test "$no_cache" != 1; then
8213 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8216 if test "$wxUSE_TOOLTIPS" = yes; then
8217 echo "$ac_t""yes" 1>&6
8219 echo "$ac_t""no" 1>&6
8224 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8225 echo "configure:8226: checking for --${enablestring:-enable}-splines" >&5
8227 # Check whether --enable-splines or --disable-splines was given.
8228 if test "${enable_splines+set}" = set; then
8229 enableval
="$enable_splines"
8231 if test "$enableval" = yes; then
8232 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8234 ac_cv_use_splines
='wxUSE_SPLINES=no'
8239 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8240 if test "x$LINE" != x
; then
8241 eval "DEFAULT_$LINE"
8246 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8251 eval "$ac_cv_use_splines"
8252 if test "$no_cache" != 1; then
8253 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8256 if test "$wxUSE_SPLINES" = yes; then
8257 echo "$ac_t""yes" 1>&6
8259 echo "$ac_t""no" 1>&6
8264 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8265 echo "configure:8266: checking for --${enablestring:-enable}-validators" >&5
8267 # Check whether --enable-validators or --disable-validators was given.
8268 if test "${enable_validators+set}" = set; then
8269 enableval
="$enable_validators"
8271 if test "$enableval" = yes; then
8272 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8274 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8279 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8280 if test "x$LINE" != x
; then
8281 eval "DEFAULT_$LINE"
8286 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8291 eval "$ac_cv_use_validators"
8292 if test "$no_cache" != 1; then
8293 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8296 if test "$wxUSE_VALIDATORS" = yes; then
8297 echo "$ac_t""yes" 1>&6
8299 echo "$ac_t""no" 1>&6
8304 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8305 echo "configure:8306: checking for --${enablestring:-enable}-busyinfo" >&5
8307 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8308 if test "${enable_busyinfo+set}" = set; then
8309 enableval
="$enable_busyinfo"
8311 if test "$enableval" = yes; then
8312 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8314 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8319 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x
; then
8321 eval "DEFAULT_$LINE"
8326 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8331 eval "$ac_cv_use_busyinfo"
8332 if test "$no_cache" != 1; then
8333 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8336 if test "$wxUSE_BUSYINFO" = yes; then
8337 echo "$ac_t""yes" 1>&6
8339 echo "$ac_t""no" 1>&6
8344 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8345 echo "configure:8346: checking for --${enablestring:-enable}-joystick" >&5
8347 # Check whether --enable-joystick or --disable-joystick was given.
8348 if test "${enable_joystick+set}" = set; then
8349 enableval
="$enable_joystick"
8351 if test "$enableval" = yes; then
8352 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8354 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8359 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8360 if test "x$LINE" != x
; then
8361 eval "DEFAULT_$LINE"
8366 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8371 eval "$ac_cv_use_joystick"
8372 if test "$no_cache" != 1; then
8373 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8376 if test "$wxUSE_JOYSTICK" = yes; then
8377 echo "$ac_t""yes" 1>&6
8379 echo "$ac_t""no" 1>&6
8384 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8385 echo "configure:8386: checking for --${enablestring:-enable}-metafile" >&5
8387 # Check whether --enable-metafile or --disable-metafile was given.
8388 if test "${enable_metafile+set}" = set; then
8389 enableval
="$enable_metafile"
8391 if test "$enableval" = yes; then
8392 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8394 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8399 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8400 if test "x$LINE" != x
; then
8401 eval "DEFAULT_$LINE"
8406 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8411 eval "$ac_cv_use_metafile"
8412 if test "$no_cache" != 1; then
8413 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8416 if test "$wxUSE_METAFILE" = yes; then
8417 echo "$ac_t""yes" 1>&6
8419 echo "$ac_t""no" 1>&6
8424 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8425 echo "configure:8426: checking for --${enablestring:-enable}-dragimage" >&5
8427 # Check whether --enable-dragimage or --disable-dragimage was given.
8428 if test "${enable_dragimage+set}" = set; then
8429 enableval
="$enable_dragimage"
8431 if test "$enableval" = yes; then
8432 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8434 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8439 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8440 if test "x$LINE" != x
; then
8441 eval "DEFAULT_$LINE"
8446 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8451 eval "$ac_cv_use_dragimage"
8452 if test "$no_cache" != 1; then
8453 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8456 if test "$wxUSE_DRAGIMAGE" = yes; then
8457 echo "$ac_t""yes" 1>&6
8459 echo "$ac_t""no" 1>&6
8466 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8467 echo "configure:8468: checking for --${enablestring:-enable}-palette" >&5
8469 # Check whether --enable-palette or --disable-palette was given.
8470 if test "${enable_palette+set}" = set; then
8471 enableval
="$enable_palette"
8473 if test "$enableval" = yes; then
8474 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8476 ac_cv_use_palette
='wxUSE_PALETTE=no'
8481 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8482 if test "x$LINE" != x
; then
8483 eval "DEFAULT_$LINE"
8488 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8493 eval "$ac_cv_use_palette"
8494 if test "$no_cache" != 1; then
8495 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8498 if test "$wxUSE_PALETTE" = yes; then
8499 echo "$ac_t""yes" 1>&6
8501 echo "$ac_t""no" 1>&6
8506 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8507 echo "configure:8508: checking for --${enablestring:-enable}-image" >&5
8509 # Check whether --enable-image or --disable-image was given.
8510 if test "${enable_image+set}" = set; then
8511 enableval
="$enable_image"
8513 if test "$enableval" = yes; then
8514 ac_cv_use_image
='wxUSE_IMAGE=yes'
8516 ac_cv_use_image
='wxUSE_IMAGE=no'
8521 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8522 if test "x$LINE" != x
; then
8523 eval "DEFAULT_$LINE"
8528 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8533 eval "$ac_cv_use_image"
8534 if test "$no_cache" != 1; then
8535 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8538 if test "$wxUSE_IMAGE" = yes; then
8539 echo "$ac_t""yes" 1>&6
8541 echo "$ac_t""no" 1>&6
8546 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8547 echo "configure:8548: checking for --${enablestring:-enable}-gif" >&5
8549 # Check whether --enable-gif or --disable-gif was given.
8550 if test "${enable_gif+set}" = set; then
8551 enableval
="$enable_gif"
8553 if test "$enableval" = yes; then
8554 ac_cv_use_gif
='wxUSE_GIF=yes'
8556 ac_cv_use_gif
='wxUSE_GIF=no'
8561 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8562 if test "x$LINE" != x
; then
8563 eval "DEFAULT_$LINE"
8568 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8573 eval "$ac_cv_use_gif"
8574 if test "$no_cache" != 1; then
8575 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8578 if test "$wxUSE_GIF" = yes; then
8579 echo "$ac_t""yes" 1>&6
8581 echo "$ac_t""no" 1>&6
8586 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8587 echo "configure:8588: checking for --${enablestring:-enable}-pcx" >&5
8589 # Check whether --enable-pcx or --disable-pcx was given.
8590 if test "${enable_pcx+set}" = set; then
8591 enableval
="$enable_pcx"
8593 if test "$enableval" = yes; then
8594 ac_cv_use_pcx
='wxUSE_PCX=yes'
8596 ac_cv_use_pcx
='wxUSE_PCX=no'
8601 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x
; then
8603 eval "DEFAULT_$LINE"
8608 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8613 eval "$ac_cv_use_pcx"
8614 if test "$no_cache" != 1; then
8615 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8618 if test "$wxUSE_PCX" = yes; then
8619 echo "$ac_t""yes" 1>&6
8621 echo "$ac_t""no" 1>&6
8626 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8627 echo "configure:8628: checking for --${enablestring:-enable}-iff" >&5
8629 # Check whether --enable-iff or --disable-iff was given.
8630 if test "${enable_iff+set}" = set; then
8631 enableval
="$enable_iff"
8633 if test "$enableval" = yes; then
8634 ac_cv_use_iff
='wxUSE_IFF=yes'
8636 ac_cv_use_iff
='wxUSE_IFF=no'
8641 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8642 if test "x$LINE" != x
; then
8643 eval "DEFAULT_$LINE"
8648 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8653 eval "$ac_cv_use_iff"
8654 if test "$no_cache" != 1; then
8655 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8658 if test "$wxUSE_IFF" = yes; then
8659 echo "$ac_t""yes" 1>&6
8661 echo "$ac_t""no" 1>&6
8666 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8667 echo "configure:8668: checking for --${enablestring:-enable}-pnm" >&5
8669 # Check whether --enable-pnm or --disable-pnm was given.
8670 if test "${enable_pnm+set}" = set; then
8671 enableval
="$enable_pnm"
8673 if test "$enableval" = yes; then
8674 ac_cv_use_pnm
='wxUSE_PNM=yes'
8676 ac_cv_use_pnm
='wxUSE_PNM=no'
8681 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8682 if test "x$LINE" != x
; then
8683 eval "DEFAULT_$LINE"
8688 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8693 eval "$ac_cv_use_pnm"
8694 if test "$no_cache" != 1; then
8695 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8698 if test "$wxUSE_PNM" = yes; then
8699 echo "$ac_t""yes" 1>&6
8701 echo "$ac_t""no" 1>&6
8706 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8707 echo "configure:8708: checking for --${enablestring:-enable}-xpm" >&5
8709 # Check whether --enable-xpm or --disable-xpm was given.
8710 if test "${enable_xpm+set}" = set; then
8711 enableval
="$enable_xpm"
8713 if test "$enableval" = yes; then
8714 ac_cv_use_xpm
='wxUSE_XPM=yes'
8716 ac_cv_use_xpm
='wxUSE_XPM=no'
8721 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8722 if test "x$LINE" != x
; then
8723 eval "DEFAULT_$LINE"
8728 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8733 eval "$ac_cv_use_xpm"
8734 if test "$no_cache" != 1; then
8735 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8738 if test "$wxUSE_XPM" = yes; then
8739 echo "$ac_t""yes" 1>&6
8741 echo "$ac_t""no" 1>&6
8746 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8747 echo "configure:8748: checking for --${enablestring:-enable}-ico_cur" >&5
8749 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8750 if test "${enable_ico_cur+set}" = set; then
8751 enableval
="$enable_ico_cur"
8753 if test "$enableval" = yes; then
8754 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8756 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8761 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8762 if test "x$LINE" != x
; then
8763 eval "DEFAULT_$LINE"
8768 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8773 eval "$ac_cv_use_ico_cur"
8774 if test "$no_cache" != 1; then
8775 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8778 if test "$wxUSE_ICO_CUR" = yes; then
8779 echo "$ac_t""yes" 1>&6
8781 echo "$ac_t""no" 1>&6
8788 *-pc-os2_emx | *-pc-os2-emx )
8800 echo "saving argument cache $wx_arg_cache_file"
8801 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8805 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8806 echo "configure:8807: checking for toolkit" >&5
8808 # In Wine, we need to default to MSW, not GTK or MOTIF
8809 if test "$wxUSE_WINE" = "yes"; then
8810 DEFAULT_DEFAULT_wxUSE_GTK
=0
8811 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8812 DEFAULT_DEFAULT_wxUSE_MSW
=1
8815 if test "$wxUSE_GUI" = "yes"; then
8817 if test "$USE_BEOS" = 1; then
8818 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8821 if test "$TOOLKIT_GIVEN" = 1; then
8822 for toolkit
in `echo $ALL_TOOLKITS`; do
8824 eval "value=\$${var}"
8825 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8828 for toolkit
in `echo $ALL_TOOLKITS`; do
8829 if test "$has_toolkit_in_cache" != 1; then
8830 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8832 var
=DEFAULT_wxUSE_
$toolkit
8834 eval "wxUSE_$toolkit=\$${var}"
8838 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8839 + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8842 *-pc-os2_emx | *-pc-os2-emx )
8843 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8846 case "$NUM_TOOLKITS" in
8850 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8853 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8856 for toolkit
in `echo $ALL_TOOLKITS`; do
8858 eval "value=\$${var}"
8859 if test "x$value" != x
; then
8860 cache_var
=CACHE_
$toolkit
8861 eval "cache=\$${cache_var}"
8862 if test "$cache" = 1; then
8863 echo "$var=$value" >> ${wx_arg_cache_file}
8865 if test "$value" = 1; then
8866 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8867 echo "$ac_t""$toolkit_echo" 1>&6
8872 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8879 if test "$wxUSE_MSW" = 1 ; then
8890 if test "$wxUSE_WINE" = "yes"; then
8897 if test "$wants_win32" = 1 ; then
8900 cat >> confdefs.h
<<\EOF
8904 cat >> confdefs.h
<<\EOF
8908 cat >> confdefs.h
<<\EOF
8909 #define __WINDOWS__ 1
8912 cat >> confdefs.h
<<\EOF
8913 #define __GNUWIN32__ 1
8916 cat >> confdefs.h
<<\EOF
8920 cat >> confdefs.h
<<\EOF
8921 #define WINVER 0x0400
8925 if test "$doesnt_want_win32" = 1 ; then
8930 if test "$USE_UNIX" = 1 ; then
8932 cat >> confdefs.h
<<\EOF
8939 cat > confcache
<<\EOF
8940 # This file is a shell script that caches the results of configure
8941 # tests run on this system so they can be shared between configure
8942 # scripts and configure runs. It is not useful on other systems.
8943 # If it contains results you don't want to keep, you may remove or edit it.
8945 # By default, configure uses ./config.cache as the cache file,
8946 # creating it if it does not exist already. You can give configure
8947 # the --cache-file=FILE option to use a different cache file; that is
8948 # what configure does when it calls configure scripts in
8949 # subdirectories, so they share the cache.
8950 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8951 # config.status only pays attention to the cache file if you give it the
8952 # --recheck option to rerun configure.
8955 # The following way of writing the cache mishandles newlines in values,
8956 # but we know of no workaround that is simple, portable, and efficient.
8957 # So, don't put newlines in cache variables' values.
8958 # Ultrix sh set writes to stderr and can't be redirected directly,
8959 # and sets the high bit in the cache file unless we assign to the vars.
8961 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8963 # `set' does not quote correctly, so add quotes (double-quote substitution
8964 # turns \\\\ into \\, and sed turns \\ into \).
8966 -e "s/'/'\\\\''/g" \
8967 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8970 # `set' quotes correctly as required by POSIX, so do not add quotes.
8971 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8974 if cmp -s $cache_file confcache
; then
8977 if test -w $cache_file; then
8978 echo "updating cache $cache_file"
8979 cat confcache
> $cache_file
8981 echo "not updating unwritable cache $cache_file"
8987 if test "$build" != "$host" ; then
8988 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8992 RANLIB
=$host_alias-ranlib
8993 DLLTOOL
=$host_alias-dlltool
8994 RESCOMP
=$host_alias-windres
8997 STRIP
=$host_alias-strip
8999 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
9004 # Extract the first word of "gcc", so it can be a program name with args.
9005 set dummy gcc
; ac_word
=$2
9006 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9007 echo "configure:9008: checking for $ac_word" >&5
9008 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9009 echo $ac_n "(cached) $ac_c" 1>&6
9011 if test -n "$CC"; then
9012 ac_cv_prog_CC
="$CC" # Let the user override the test.
9014 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9016 for ac_dir
in $ac_dummy; do
9017 test -z "$ac_dir" && ac_dir
=.
9018 if test -f $ac_dir/$ac_word; then
9027 if test -n "$CC"; then
9028 echo "$ac_t""$CC" 1>&6
9030 echo "$ac_t""no" 1>&6
9033 if test -z "$CC"; then
9034 # Extract the first word of "cc", so it can be a program name with args.
9035 set dummy cc
; ac_word
=$2
9036 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9037 echo "configure:9038: checking for $ac_word" >&5
9038 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9039 echo $ac_n "(cached) $ac_c" 1>&6
9041 if test -n "$CC"; then
9042 ac_cv_prog_CC
="$CC" # Let the user override the test.
9044 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9047 for ac_dir
in $ac_dummy; do
9048 test -z "$ac_dir" && ac_dir
=.
9049 if test -f $ac_dir/$ac_word; then
9050 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
9051 ac_prog_rejected
=yes
9059 if test $ac_prog_rejected = yes; then
9060 # We found a bogon in the path, so make sure we never use it.
9061 set dummy
$ac_cv_prog_CC
9063 if test $# -gt 0; then
9064 # We chose a different compiler from the bogus one.
9065 # However, it has the same basename, so the bogon will be chosen
9066 # first if we set CC to just the basename; use the full file name.
9068 set dummy
"$ac_dir/$ac_word" "$@"
9076 if test -n "$CC"; then
9077 echo "$ac_t""$CC" 1>&6
9079 echo "$ac_t""no" 1>&6
9082 if test -z "$CC"; then
9083 case "`uname -s`" in
9085 # Extract the first word of "cl", so it can be a program name with args.
9086 set dummy cl
; ac_word
=$2
9087 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9088 echo "configure:9089: checking for $ac_word" >&5
9089 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9090 echo $ac_n "(cached) $ac_c" 1>&6
9092 if test -n "$CC"; then
9093 ac_cv_prog_CC
="$CC" # Let the user override the test.
9095 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9097 for ac_dir
in $ac_dummy; do
9098 test -z "$ac_dir" && ac_dir
=.
9099 if test -f $ac_dir/$ac_word; then
9108 if test -n "$CC"; then
9109 echo "$ac_t""$CC" 1>&6
9111 echo "$ac_t""no" 1>&6
9116 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9119 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9120 echo "configure:9121: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9124 ac_cpp
='$CPP $CPPFLAGS'
9125 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9126 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9127 cross_compiling
=$ac_cv_prog_cc_cross
9129 cat > conftest.
$ac_ext << EOF
9131 #line 9132 "configure"
9132 #include "confdefs.h"
9136 if { (eval echo configure
:9137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9137 ac_cv_prog_cc_works
=yes
9138 # If we can't run a trivial program, we are probably using a cross compiler.
9139 if (.
/conftest
; exit) 2>/dev
/null
; then
9140 ac_cv_prog_cc_cross
=no
9142 ac_cv_prog_cc_cross
=yes
9145 echo "configure: failed program was:" >&5
9146 cat conftest.
$ac_ext >&5
9147 ac_cv_prog_cc_works
=no
9151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9152 ac_cpp
='$CPP $CPPFLAGS'
9153 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9154 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9155 cross_compiling
=$ac_cv_prog_cc_cross
9157 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9158 if test $ac_cv_prog_cc_works = no
; then
9159 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9161 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9162 echo "configure:9163: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9163 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9164 cross_compiling
=$ac_cv_prog_cc_cross
9166 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9167 echo "configure:9168: checking whether we are using GNU C" >&5
9168 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9169 echo $ac_n "(cached) $ac_c" 1>&6
9171 cat > conftest.c
<<EOF
9176 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9183 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9185 if test $ac_cv_prog_gcc = yes; then
9191 ac_test_CFLAGS
="${CFLAGS+set}"
9192 ac_save_CFLAGS
="$CFLAGS"
9194 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9195 echo "configure:9196: checking whether ${CC-cc} accepts -g" >&5
9196 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9197 echo $ac_n "(cached) $ac_c" 1>&6
9199 echo 'void f(){}' > conftest.c
9200 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9209 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9210 if test "$ac_test_CFLAGS" = set; then
9211 CFLAGS
="$ac_save_CFLAGS"
9212 elif test $ac_cv_prog_cc_g = yes; then
9213 if test "$GCC" = yes; then
9219 if test "$GCC" = yes; then
9227 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9228 echo "configure:9229: checking how to run the C preprocessor" >&5
9229 # On Suns, sometimes $CPP names a directory.
9230 if test -n "$CPP" && test -d "$CPP"; then
9233 if test -z "$CPP"; then
9234 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9235 echo $ac_n "(cached) $ac_c" 1>&6
9237 # This must be in double quotes, not single quotes, because CPP may get
9238 # substituted into the Makefile and "${CC-cc}" will confuse make.
9240 # On the NeXT, cc -E runs the code through the compiler's parser,
9241 # not just through cpp.
9242 cat > conftest.
$ac_ext <<EOF
9243 #line 9244 "configure"
9244 #include "confdefs.h"
9248 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9249 { (eval echo configure
:9250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9250 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9251 if test -z "$ac_err"; then
9255 echo "configure: failed program was:" >&5
9256 cat conftest.
$ac_ext >&5
9258 CPP
="${CC-cc} -E -traditional-cpp"
9259 cat > conftest.
$ac_ext <<EOF
9260 #line 9261 "configure"
9261 #include "confdefs.h"
9265 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9266 { (eval echo configure
:9267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9267 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9268 if test -z "$ac_err"; then
9272 echo "configure: failed program was:" >&5
9273 cat conftest.
$ac_ext >&5
9275 CPP
="${CC-cc} -nologo -E"
9276 cat > conftest.
$ac_ext <<EOF
9277 #line 9278 "configure"
9278 #include "confdefs.h"
9282 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9283 { (eval echo configure
:9284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9284 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9285 if test -z "$ac_err"; then
9289 echo "configure: failed program was:" >&5
9290 cat conftest.
$ac_ext >&5
9299 ac_cv_prog_CPP
="$CPP"
9301 CPP
="$ac_cv_prog_CPP"
9303 ac_cv_prog_CPP
="$CPP"
9305 echo "$ac_t""$CPP" 1>&6
9307 if test $ac_cv_prog_gcc = yes; then
9308 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9309 echo "configure:9310: checking whether ${CC-cc} needs -traditional" >&5
9310 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9311 echo $ac_n "(cached) $ac_c" 1>&6
9313 ac_pattern
="Autoconf.*'x'"
9314 cat > conftest.
$ac_ext <<EOF
9315 #line 9316 "configure"
9316 #include "confdefs.h"
9320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9321 egrep "$ac_pattern" >/dev
/null
2>&1; then
9323 ac_cv_prog_gcc_traditional
=yes
9326 ac_cv_prog_gcc_traditional
=no
9331 if test $ac_cv_prog_gcc_traditional = no
; then
9332 cat > conftest.
$ac_ext <<EOF
9333 #line 9334 "configure"
9334 #include "confdefs.h"
9338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9339 egrep "$ac_pattern" >/dev
/null
2>&1; then
9341 ac_cv_prog_gcc_traditional
=yes
9348 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9349 if test $ac_cv_prog_gcc_traditional = yes; then
9350 CC
="$CC -traditional"
9357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9358 ac_cpp
='$CXXCPP $CPPFLAGS'
9359 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9360 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9361 cross_compiling
=$ac_cv_prog_cxx_cross
9364 CXXFLAGS
=${CXXFLAGS:=}
9365 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9367 # Extract the first word of "$ac_prog", so it can be a program name with args.
9368 set dummy
$ac_prog; ac_word
=$2
9369 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9370 echo "configure:9371: checking for $ac_word" >&5
9371 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9372 echo $ac_n "(cached) $ac_c" 1>&6
9374 if test -n "$CXX"; then
9375 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9377 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9379 for ac_dir
in $ac_dummy; do
9380 test -z "$ac_dir" && ac_dir
=.
9381 if test -f $ac_dir/$ac_word; then
9382 ac_cv_prog_CXX
="$ac_prog"
9389 CXX
="$ac_cv_prog_CXX"
9390 if test -n "$CXX"; then
9391 echo "$ac_t""$CXX" 1>&6
9393 echo "$ac_t""no" 1>&6
9396 test -n "$CXX" && break
9398 test -n "$CXX" || CXX
="gcc"
9401 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9402 echo "configure:9403: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9406 ac_cpp
='$CXXCPP $CPPFLAGS'
9407 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9408 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9409 cross_compiling
=$ac_cv_prog_cxx_cross
9411 cat > conftest.
$ac_ext << EOF
9413 #line 9414 "configure"
9414 #include "confdefs.h"
9416 int main(){return(0);}
9418 if { (eval echo configure
:9419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9419 ac_cv_prog_cxx_works
=yes
9420 # If we can't run a trivial program, we are probably using a cross compiler.
9421 if (.
/conftest
; exit) 2>/dev
/null
; then
9422 ac_cv_prog_cxx_cross
=no
9424 ac_cv_prog_cxx_cross
=yes
9427 echo "configure: failed program was:" >&5
9428 cat conftest.
$ac_ext >&5
9429 ac_cv_prog_cxx_works
=no
9433 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9434 ac_cpp
='$CXXCPP $CPPFLAGS'
9435 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9436 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9437 cross_compiling
=$ac_cv_prog_cxx_cross
9439 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9440 if test $ac_cv_prog_cxx_works = no
; then
9441 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9443 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9444 echo "configure:9445: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9445 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9446 cross_compiling
=$ac_cv_prog_cxx_cross
9448 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9449 echo "configure:9450: checking whether we are using GNU C++" >&5
9450 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9451 echo $ac_n "(cached) $ac_c" 1>&6
9453 cat > conftest.C
<<EOF
9458 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9465 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9467 if test $ac_cv_prog_gxx = yes; then
9473 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9474 ac_save_CXXFLAGS
="$CXXFLAGS"
9476 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9477 echo "configure:9478: checking whether ${CXX-g++} accepts -g" >&5
9478 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9479 echo $ac_n "(cached) $ac_c" 1>&6
9481 echo 'void f(){}' > conftest.cc
9482 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9483 ac_cv_prog_cxx_g
=yes
9491 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9492 if test "$ac_test_CXXFLAGS" = set; then
9493 CXXFLAGS
="$ac_save_CXXFLAGS"
9494 elif test $ac_cv_prog_cxx_g = yes; then
9495 if test "$GXX" = yes; then
9501 if test "$GXX" = yes; then
9510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9511 ac_cpp
='$CPP $CPPFLAGS'
9512 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9513 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9514 cross_compiling
=$ac_cv_prog_cc_cross
9517 # Extract the first word of "ranlib", so it can be a program name with args.
9518 set dummy ranlib
; ac_word
=$2
9519 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9520 echo "configure:9521: checking for $ac_word" >&5
9521 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9522 echo $ac_n "(cached) $ac_c" 1>&6
9524 if test -n "$RANLIB"; then
9525 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9527 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9529 for ac_dir
in $ac_dummy; do
9530 test -z "$ac_dir" && ac_dir
=.
9531 if test -f $ac_dir/$ac_word; then
9532 ac_cv_prog_RANLIB
="ranlib"
9537 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9540 RANLIB
="$ac_cv_prog_RANLIB"
9541 if test -n "$RANLIB"; then
9542 echo "$ac_t""$RANLIB" 1>&6
9544 echo "$ac_t""no" 1>&6
9548 # Extract the first word of "ar", so it can be a program name with args.
9549 set dummy
ar; ac_word
=$2
9550 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9551 echo "configure:9552: checking for $ac_word" >&5
9552 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9553 echo $ac_n "(cached) $ac_c" 1>&6
9555 if test -n "$AR"; then
9556 ac_cv_prog_AR
="$AR" # Let the user override the test.
9558 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9560 for ac_dir
in $ac_dummy; do
9561 test -z "$ac_dir" && ac_dir
=.
9562 if test -f $ac_dir/$ac_word; then
9568 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9572 if test -n "$AR"; then
9573 echo "$ac_t""$AR" 1>&6
9575 echo "$ac_t""no" 1>&6
9579 # Find a good install program. We prefer a C program (faster),
9580 # so one script is as good as another. But avoid the broken or
9581 # incompatible versions:
9582 # SysV /etc/install, /usr/sbin/install
9583 # SunOS /usr/etc/install
9584 # IRIX /sbin/install
9586 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9587 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9588 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9589 # ./install, which can be erroneously created by make from ./install.sh.
9590 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9591 echo "configure:9592: checking for a BSD compatible install" >&5
9592 if test -z "$INSTALL"; then
9593 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9594 echo $ac_n "(cached) $ac_c" 1>&6
9596 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9597 for ac_dir
in $PATH; do
9598 # Account for people who put trailing slashes in PATH elements.
9600 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9602 # OSF1 and SCO ODT 3.0 have their own names for install.
9603 # Don't use installbsd from OSF since it installs stuff as root
9605 for ac_prog
in ginstall scoinst
install; do
9606 if test -f $ac_dir/$ac_prog; then
9607 if test $ac_prog = install &&
9608 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9609 # AIX install. It has an incompatible calling convention.
9612 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9623 if test "${ac_cv_path_install+set}" = set; then
9624 INSTALL
="$ac_cv_path_install"
9626 # As a last resort, use the slow shell script. We don't cache a
9627 # path for INSTALL within a source directory, because that will
9628 # break other packages using the cache if that directory is
9629 # removed, or if the path is relative.
9630 INSTALL
="$ac_install_sh"
9633 echo "$ac_t""$INSTALL" 1>&6
9635 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9636 # It thinks the first close brace ends the variable substitution.
9637 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9639 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9641 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9647 ?
:* ) # Drive letter, considered as absolute.
9650 INSTALL
=`pwd`/${INSTALL} ;;
9658 *) INSTALL_DIR
="$INSTALL -d"
9666 INSTALL_PROGRAM
="cp -fp"
9667 INSTALL_DATA
="cp -fp"
9673 # Extract the first word of "strip", so it can be a program name with args.
9674 set dummy strip
; ac_word
=$2
9675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9676 echo "configure:9677: checking for $ac_word" >&5
9677 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9678 echo $ac_n "(cached) $ac_c" 1>&6
9680 if test -n "$STRIP"; then
9681 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9683 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9685 for ac_dir
in $ac_dummy; do
9686 test -z "$ac_dir" && ac_dir
=.
9687 if test -f $ac_dir/$ac_word; then
9688 ac_cv_prog_STRIP
="strip"
9693 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9696 STRIP
="$ac_cv_prog_STRIP"
9697 if test -n "$STRIP"; then
9698 echo "$ac_t""$STRIP" 1>&6
9700 echo "$ac_t""no" 1>&6
9704 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9705 echo "configure:9706: checking if make is GNU make" >&5
9706 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9707 echo $ac_n "(cached) $ac_c" 1>&6
9710 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9711 egrep -s GNU
> /dev
/null
); then
9712 wx_cv_prog_makeisgnu
="yes"
9714 wx_cv_prog_makeisgnu
="no"
9719 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9721 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9729 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9730 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9731 echo "configure:9732: checking if make supports VPATH" >&5
9732 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9733 echo $ac_n "(cached) $ac_c" 1>&6
9736 cat - << EOF > confMake
9742 if test ! -d sub
; then
9745 echo dummy
> sub
/file
9746 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9748 rm -f sub
/file check final_file confMake
9750 if test "$RESULT" = 0; then
9751 wx_cv_prog_makevpath
="yes"
9753 wx_cv_prog_makevpath
="no"
9758 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9760 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9761 { echo "configure: error:
9762 You need a make-utility that is able to use the variable
9764 If your version of make does not support VPATH correctly,
9765 please install GNU-make (possibly as gmake), and start
9766 configure with the following command:
9767 export MAKE=gmake; ./configure for sh-type shells
9768 setenv MAKE gmake; ./configure for csh-type shells
9769 Also please do remember to use gmake in this case every time
9770 you are trying to compile.
9773 for ac_prog
in 'bison -y' byacc
9775 # Extract the first word of "$ac_prog", so it can be a program name with args.
9776 set dummy
$ac_prog; ac_word
=$2
9777 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9778 echo "configure:9779: checking for $ac_word" >&5
9779 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9780 echo $ac_n "(cached) $ac_c" 1>&6
9782 if test -n "$YACC"; then
9783 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9785 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9787 for ac_dir
in $ac_dummy; do
9788 test -z "$ac_dir" && ac_dir
=.
9789 if test -f $ac_dir/$ac_word; then
9790 ac_cv_prog_YACC
="$ac_prog"
9797 YACC
="$ac_cv_prog_YACC"
9798 if test -n "$YACC"; then
9799 echo "$ac_t""$YACC" 1>&6
9801 echo "$ac_t""no" 1>&6
9804 test -n "$YACC" && break
9806 test -n "$YACC" || YACC
="yacc"
9809 # Extract the first word of "flex", so it can be a program name with args.
9810 set dummy flex
; ac_word
=$2
9811 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9812 echo "configure:9813: checking for $ac_word" >&5
9813 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9814 echo $ac_n "(cached) $ac_c" 1>&6
9816 if test -n "$LEX"; then
9817 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9819 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9821 for ac_dir
in $ac_dummy; do
9822 test -z "$ac_dir" && ac_dir
=.
9823 if test -f $ac_dir/$ac_word; then
9824 ac_cv_prog_LEX
="flex"
9829 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9832 LEX
="$ac_cv_prog_LEX"
9833 if test -n "$LEX"; then
9834 echo "$ac_t""$LEX" 1>&6
9836 echo "$ac_t""no" 1>&6
9839 if test -z "$LEXLIB"
9845 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9846 echo "configure:9847: checking for yywrap in -l$ac_lib" >&5
9847 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9848 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9849 echo $ac_n "(cached) $ac_c" 1>&6
9851 ac_save_LIBS
="$LIBS"
9852 LIBS
="-l$ac_lib $LIBS"
9853 cat > conftest.
$ac_ext <<EOF
9854 #line 9855 "configure"
9855 #include "confdefs.h"
9856 /* Override any gcc2 internal prototype to avoid an error. */
9857 /* We use char because int might match the return type of a gcc2
9858 builtin and then its argument prototype would still apply. */
9865 if { (eval echo configure
:9866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9867 eval "ac_cv_lib_$ac_lib_var=yes"
9869 echo "configure: failed program was:" >&5
9870 cat conftest.
$ac_ext >&5
9872 eval "ac_cv_lib_$ac_lib_var=no"
9875 LIBS
="$ac_save_LIBS"
9878 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9879 echo "$ac_t""yes" 1>&6
9882 echo "$ac_t""no" 1>&6
9888 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9889 echo "configure:9890: checking whether ln -s works" >&5
9890 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9891 echo $ac_n "(cached) $ac_c" 1>&6
9894 if ln -s X conftestdata
2>/dev
/null
9897 ac_cv_prog_LN_S
="ln -s"
9902 LN_S
="$ac_cv_prog_LN_S"
9903 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9904 echo "$ac_t""yes" 1>&6
9906 echo "$ac_t""no" 1>&6
9911 *-pc-os2_emx | *-pc-os2-emx )
9912 LIBS
="$LIBS -lstdcpp"
9913 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9914 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9915 echo "configure:9916: checking for drand48 in -lcExt" >&5
9916 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9917 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9918 echo $ac_n "(cached) $ac_c" 1>&6
9920 ac_save_LIBS
="$LIBS"
9922 cat > conftest.
$ac_ext <<EOF
9923 #line 9924 "configure"
9924 #include "confdefs.h"
9925 /* Override any gcc2 internal prototype to avoid an error. */
9926 /* We use char because int might match the return type of a gcc2
9927 builtin and then its argument prototype would still apply. */
9934 if { (eval echo configure
:9935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9936 eval "ac_cv_lib_$ac_lib_var=yes"
9938 echo "configure: failed program was:" >&5
9939 cat conftest.
$ac_ext >&5
9941 eval "ac_cv_lib_$ac_lib_var=no"
9944 LIBS
="$ac_save_LIBS"
9947 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9948 echo "$ac_t""yes" 1>&6
9951 echo "$ac_t""no" 1>&6
9955 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9961 if test "$wxUSE_MAC" != 1; then
9962 for ac_hdr
in strings.h
9964 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9965 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9966 echo "configure:9967: checking for $ac_hdr" >&5
9967 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9968 echo $ac_n "(cached) $ac_c" 1>&6
9970 cat > conftest.
$ac_ext <<EOF
9971 #line 9972 "configure"
9972 #include "confdefs.h"
9975 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9976 { (eval echo configure
:9977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9977 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9978 if test -z "$ac_err"; then
9980 eval "ac_cv_header_$ac_safe=yes"
9983 echo "configure: failed program was:" >&5
9984 cat conftest.
$ac_ext >&5
9986 eval "ac_cv_header_$ac_safe=no"
9990 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9991 echo "$ac_t""yes" 1>&6
9992 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9993 cat >> confdefs.h
<<EOF
9994 #define $ac_tr_hdr 1
9998 echo "$ac_t""no" 1>&6
10004 for ac_hdr
in stdlib.h
10006 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10007 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10008 echo "configure:10009: checking for $ac_hdr" >&5
10009 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10010 echo $ac_n "(cached) $ac_c" 1>&6
10012 cat > conftest.
$ac_ext <<EOF
10013 #line 10014 "configure"
10014 #include "confdefs.h"
10017 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10018 { (eval echo configure
:10019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10019 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10020 if test -z "$ac_err"; then
10022 eval "ac_cv_header_$ac_safe=yes"
10025 echo "configure: failed program was:" >&5
10026 cat conftest.
$ac_ext >&5
10028 eval "ac_cv_header_$ac_safe=no"
10032 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10033 echo "$ac_t""yes" 1>&6
10034 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10035 cat >> confdefs.h
<<EOF
10036 #define $ac_tr_hdr 1
10040 echo "$ac_t""no" 1>&6
10044 for ac_hdr
in malloc.h
10046 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10047 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10048 echo "configure:10049: checking for $ac_hdr" >&5
10049 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10050 echo $ac_n "(cached) $ac_c" 1>&6
10052 cat > conftest.
$ac_ext <<EOF
10053 #line 10054 "configure"
10054 #include "confdefs.h"
10057 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10058 { (eval echo configure
:10059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10059 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10060 if test -z "$ac_err"; then
10062 eval "ac_cv_header_$ac_safe=yes"
10065 echo "configure: failed program was:" >&5
10066 cat conftest.
$ac_ext >&5
10068 eval "ac_cv_header_$ac_safe=no"
10072 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10073 echo "$ac_t""yes" 1>&6
10074 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10075 cat >> confdefs.h
<<EOF
10076 #define $ac_tr_hdr 1
10080 echo "$ac_t""no" 1>&6
10084 for ac_hdr
in unistd.h
10086 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10087 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10088 echo "configure:10089: checking for $ac_hdr" >&5
10089 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10090 echo $ac_n "(cached) $ac_c" 1>&6
10092 cat > conftest.
$ac_ext <<EOF
10093 #line 10094 "configure"
10094 #include "confdefs.h"
10097 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10098 { (eval echo configure
:10099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10099 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10100 if test -z "$ac_err"; then
10102 eval "ac_cv_header_$ac_safe=yes"
10105 echo "configure: failed program was:" >&5
10106 cat conftest.
$ac_ext >&5
10108 eval "ac_cv_header_$ac_safe=no"
10112 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10113 echo "$ac_t""yes" 1>&6
10114 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10115 cat >> confdefs.h
<<EOF
10116 #define $ac_tr_hdr 1
10120 echo "$ac_t""no" 1>&6
10124 for ac_hdr
in wchar.h
10126 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10127 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10128 echo "configure:10129: checking for $ac_hdr" >&5
10129 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10130 echo $ac_n "(cached) $ac_c" 1>&6
10132 cat > conftest.
$ac_ext <<EOF
10133 #line 10134 "configure"
10134 #include "confdefs.h"
10137 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10138 { (eval echo configure
:10139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10139 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10140 if test -z "$ac_err"; then
10142 eval "ac_cv_header_$ac_safe=yes"
10145 echo "configure: failed program was:" >&5
10146 cat conftest.
$ac_ext >&5
10148 eval "ac_cv_header_$ac_safe=no"
10152 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10153 echo "$ac_t""yes" 1>&6
10154 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10155 cat >> confdefs.h
<<EOF
10156 #define $ac_tr_hdr 1
10160 echo "$ac_t""no" 1>&6
10165 if test "$ac_cv_header_wchar_h" != "yes"; then
10166 for ac_hdr
in wcstr.h
10168 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10169 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10170 echo "configure:10171: checking for $ac_hdr" >&5
10171 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10172 echo $ac_n "(cached) $ac_c" 1>&6
10174 cat > conftest.
$ac_ext <<EOF
10175 #line 10176 "configure"
10176 #include "confdefs.h"
10179 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10180 { (eval echo configure
:10181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10181 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10182 if test -z "$ac_err"; then
10184 eval "ac_cv_header_$ac_safe=yes"
10187 echo "configure: failed program was:" >&5
10188 cat conftest.
$ac_ext >&5
10190 eval "ac_cv_header_$ac_safe=no"
10194 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10195 echo "$ac_t""yes" 1>&6
10196 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10197 cat >> confdefs.h
<<EOF
10198 #define $ac_tr_hdr 1
10202 echo "$ac_t""no" 1>&6
10208 for ac_hdr
in fnmatch.h
10210 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10211 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10212 echo "configure:10213: checking for $ac_hdr" >&5
10213 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10214 echo $ac_n "(cached) $ac_c" 1>&6
10216 cat > conftest.
$ac_ext <<EOF
10217 #line 10218 "configure"
10218 #include "confdefs.h"
10221 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10222 { (eval echo configure
:10223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10223 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10224 if test -z "$ac_err"; then
10226 eval "ac_cv_header_$ac_safe=yes"
10229 echo "configure: failed program was:" >&5
10230 cat conftest.
$ac_ext >&5
10232 eval "ac_cv_header_$ac_safe=no"
10236 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10237 echo "$ac_t""yes" 1>&6
10238 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10239 cat >> confdefs.h
<<EOF
10240 #define $ac_tr_hdr 1
10244 echo "$ac_t""no" 1>&6
10249 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10250 for ac_func
in fnmatch
10252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10253 echo "configure:10254: checking for $ac_func" >&5
10254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10255 echo $ac_n "(cached) $ac_c" 1>&6
10257 cat > conftest.
$ac_ext <<EOF
10258 #line 10259 "configure"
10259 #include "confdefs.h"
10260 /* System header to define __stub macros and hopefully few prototypes,
10261 which can conflict with char $ac_func(); below. */
10262 #include <assert.h>
10263 /* Override any gcc2 internal prototype to avoid an error. */
10264 /* We use char because int might match the return type of a gcc2
10265 builtin and then its argument prototype would still apply. */
10270 /* The GNU C library defines this for functions which it implements
10271 to always fail with ENOSYS. Some functions are actually named
10272 something starting with __ and the normal name is an alias. */
10273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10281 if { (eval echo configure
:10282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10283 eval "ac_cv_func_$ac_func=yes"
10285 echo "configure: failed program was:" >&5
10286 cat conftest.
$ac_ext >&5
10288 eval "ac_cv_func_$ac_func=no"
10293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10294 echo "$ac_t""yes" 1>&6
10295 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10296 cat >> confdefs.h
<<EOF
10297 #define $ac_tr_func 1
10301 echo "$ac_t""no" 1>&6
10307 for ac_hdr
in langinfo.h
10309 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10310 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10311 echo "configure:10312: checking for $ac_hdr" >&5
10312 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10313 echo $ac_n "(cached) $ac_c" 1>&6
10315 cat > conftest.
$ac_ext <<EOF
10316 #line 10317 "configure"
10317 #include "confdefs.h"
10320 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10321 { (eval echo configure
:10322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10322 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10323 if test -z "$ac_err"; then
10325 eval "ac_cv_header_$ac_safe=yes"
10328 echo "configure: failed program was:" >&5
10329 cat conftest.
$ac_ext >&5
10331 eval "ac_cv_header_$ac_safe=no"
10335 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10336 echo "$ac_t""yes" 1>&6
10337 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10338 cat >> confdefs.h
<<EOF
10339 #define $ac_tr_hdr 1
10343 echo "$ac_t""no" 1>&6
10349 *-pc-os2_emx | *-pc-os2-emx )
10350 if test $ac_cv_header_langinfo_h = "yes"; then
10351 LIBS
="$LIBS -lintl"
10356 if test "$wxUSE_GUI" = "yes"; then
10357 if test "$wxUSE_UNIX" = "yes"; then
10358 for ac_hdr
in X
11/XKBlib.h
10360 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10361 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10362 echo "configure:10363: checking for $ac_hdr" >&5
10363 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10364 echo $ac_n "(cached) $ac_c" 1>&6
10366 cat > conftest.
$ac_ext <<EOF
10367 #line 10368 "configure"
10368 #include "confdefs.h"
10371 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10372 { (eval echo configure
:10373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10373 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10374 if test -z "$ac_err"; then
10376 eval "ac_cv_header_$ac_safe=yes"
10379 echo "configure: failed program was:" >&5
10380 cat conftest.
$ac_ext >&5
10382 eval "ac_cv_header_$ac_safe=no"
10386 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10387 echo "$ac_t""yes" 1>&6
10388 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10389 cat >> confdefs.h
<<EOF
10390 #define $ac_tr_hdr 1
10394 echo "$ac_t""no" 1>&6
10402 echo $ac_n "checking for working const""... $ac_c" 1>&6
10403 echo "configure:10404: checking for working const" >&5
10404 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10405 echo $ac_n "(cached) $ac_c" 1>&6
10407 cat > conftest.
$ac_ext <<EOF
10408 #line 10409 "configure"
10409 #include "confdefs.h"
10413 /* Ultrix mips cc rejects this. */
10414 typedef int charset[2]; const charset x;
10415 /* SunOS 4.1.1 cc rejects this. */
10416 char const *const *ccp;
10418 /* NEC SVR4.0.2 mips cc rejects this. */
10419 struct point {int x, y;};
10420 static struct point const zero = {0,0};
10421 /* AIX XL C 1.02.0.0 rejects this.
10422 It does not let you subtract one const X* pointer from another in an arm
10423 of an if-expression whose if-part is not a constant expression */
10424 const char *g = "string";
10425 ccp = &g + (g ? g-g : 0);
10426 /* HPUX 7.0 cc rejects these. */
10429 ccp = (char const *const *) p;
10430 { /* SCO 3.2v4 cc rejects this. */
10432 char const *s = 0 ? (char *) 0 : (char const *) 0;
10436 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10437 int x[] = {25, 17};
10438 const int *foo = &x[0];
10441 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10442 typedef const int *iptr;
10446 { /* AIX XL C 1.02.0.0 rejects this saying
10447 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10448 struct s { int j; const int *ap[3]; };
10449 struct s *b; b->j = 5;
10451 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10452 const int foo = 10;
10457 if { (eval echo configure
:10458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10461 echo "configure: failed program was:" >&5
10462 cat conftest.
$ac_ext >&5
10469 echo "$ac_t""$ac_cv_c_const" 1>&6
10470 if test $ac_cv_c_const = no
; then
10471 cat >> confdefs.h
<<\EOF
10477 echo $ac_n "checking for inline""... $ac_c" 1>&6
10478 echo "configure:10479: checking for inline" >&5
10479 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10480 echo $ac_n "(cached) $ac_c" 1>&6
10483 for ac_kw
in inline __inline__ __inline
; do
10484 cat > conftest.
$ac_ext <<EOF
10485 #line 10486 "configure"
10486 #include "confdefs.h"
10492 if { (eval echo configure
:10493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10494 ac_cv_c_inline
=$ac_kw; break
10496 echo "configure: failed program was:" >&5
10497 cat conftest.
$ac_ext >&5
10504 echo "$ac_t""$ac_cv_c_inline" 1>&6
10505 case "$ac_cv_c_inline" in
10507 no
) cat >> confdefs.h
<<\EOF
10511 *) cat >> confdefs.h
<<EOF
10512 #define inline $ac_cv_c_inline
10518 echo $ac_n "checking size of char""... $ac_c" 1>&6
10519 echo "configure:10520: checking size of char" >&5
10520 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10521 echo $ac_n "(cached) $ac_c" 1>&6
10523 if test "$cross_compiling" = yes; then
10524 ac_cv_sizeof_char
=1
10526 cat > conftest.
$ac_ext <<EOF
10527 #line 10528 "configure"
10528 #include "confdefs.h"
10530 #include <sys/types.h>
10533 FILE *f=fopen("conftestval", "w");
10535 fprintf(f, "%d\n", sizeof(char));
10539 if { (eval echo configure
:10540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10541 ac_cv_sizeof_char
=`cat conftestval`
10543 echo "configure: failed program was:" >&5
10544 cat conftest.
$ac_ext >&5
10546 ac_cv_sizeof_char
=0
10552 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10553 cat >> confdefs.h
<<EOF
10554 #define SIZEOF_CHAR $ac_cv_sizeof_char
10558 echo $ac_n "checking size of short""... $ac_c" 1>&6
10559 echo "configure:10560: checking size of short" >&5
10560 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10561 echo $ac_n "(cached) $ac_c" 1>&6
10563 if test "$cross_compiling" = yes; then
10564 ac_cv_sizeof_short
=2
10566 cat > conftest.
$ac_ext <<EOF
10567 #line 10568 "configure"
10568 #include "confdefs.h"
10570 #include <sys/types.h>
10573 FILE *f=fopen("conftestval", "w");
10575 fprintf(f, "%d\n", sizeof(short));
10579 if { (eval echo configure
:10580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10581 ac_cv_sizeof_short
=`cat conftestval`
10583 echo "configure: failed program was:" >&5
10584 cat conftest.
$ac_ext >&5
10586 ac_cv_sizeof_short
=0
10592 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10593 cat >> confdefs.h
<<EOF
10594 #define SIZEOF_SHORT $ac_cv_sizeof_short
10598 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10599 echo "configure:10600: checking size of void *" >&5
10600 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10601 echo $ac_n "(cached) $ac_c" 1>&6
10603 if test "$cross_compiling" = yes; then
10604 ac_cv_sizeof_void_p
=4
10606 cat > conftest.
$ac_ext <<EOF
10607 #line 10608 "configure"
10608 #include "confdefs.h"
10610 #include <sys/types.h>
10613 FILE *f=fopen("conftestval", "w");
10615 fprintf(f, "%d\n", sizeof(void *));
10619 if { (eval echo configure
:10620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10621 ac_cv_sizeof_void_p
=`cat conftestval`
10623 echo "configure: failed program was:" >&5
10624 cat conftest.
$ac_ext >&5
10626 ac_cv_sizeof_void_p
=0
10632 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10633 cat >> confdefs.h
<<EOF
10634 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10638 echo $ac_n "checking size of int""... $ac_c" 1>&6
10639 echo "configure:10640: checking size of int" >&5
10640 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10641 echo $ac_n "(cached) $ac_c" 1>&6
10643 if test "$cross_compiling" = yes; then
10646 cat > conftest.
$ac_ext <<EOF
10647 #line 10648 "configure"
10648 #include "confdefs.h"
10650 #include <sys/types.h>
10653 FILE *f=fopen("conftestval", "w");
10655 fprintf(f, "%d\n", sizeof(int));
10659 if { (eval echo configure
:10660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10661 ac_cv_sizeof_int
=`cat conftestval`
10663 echo "configure: failed program was:" >&5
10664 cat conftest.
$ac_ext >&5
10672 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10673 cat >> confdefs.h
<<EOF
10674 #define SIZEOF_INT $ac_cv_sizeof_int
10678 echo $ac_n "checking size of long""... $ac_c" 1>&6
10679 echo "configure:10680: checking size of long" >&5
10680 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10681 echo $ac_n "(cached) $ac_c" 1>&6
10683 if test "$cross_compiling" = yes; then
10684 ac_cv_sizeof_long
=4
10686 cat > conftest.
$ac_ext <<EOF
10687 #line 10688 "configure"
10688 #include "confdefs.h"
10690 #include <sys/types.h>
10693 FILE *f=fopen("conftestval", "w");
10695 fprintf(f, "%d\n", sizeof(long));
10699 if { (eval echo configure
:10700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10701 ac_cv_sizeof_long
=`cat conftestval`
10703 echo "configure: failed program was:" >&5
10704 cat conftest.
$ac_ext >&5
10706 ac_cv_sizeof_long
=0
10712 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10713 cat >> confdefs.h
<<EOF
10714 #define SIZEOF_LONG $ac_cv_sizeof_long
10721 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10722 echo "configure:10723: checking size of long long" >&5
10723 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10724 echo $ac_n "(cached) $ac_c" 1>&6
10726 if test "$cross_compiling" = yes; then
10727 ac_cv_sizeof_long_long
=8
10729 cat > conftest.
$ac_ext <<EOF
10730 #line 10731 "configure"
10731 #include "confdefs.h"
10733 #include <sys/types.h>
10736 FILE *f=fopen("conftestval", "w");
10738 fprintf(f, "%d\n", sizeof(long long));
10742 if { (eval echo configure
:10743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10744 ac_cv_sizeof_long_long
=`cat conftestval`
10746 echo "configure: failed program was:" >&5
10747 cat conftest.
$ac_ext >&5
10749 ac_cv_sizeof_long_long
=0
10755 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10756 cat >> confdefs.h
<<EOF
10757 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10763 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10764 echo "configure:10765: checking size of long long" >&5
10765 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10766 echo $ac_n "(cached) $ac_c" 1>&6
10768 if test "$cross_compiling" = yes; then
10769 ac_cv_sizeof_long_long
=0
10771 cat > conftest.
$ac_ext <<EOF
10772 #line 10773 "configure"
10773 #include "confdefs.h"
10775 #include <sys/types.h>
10778 FILE *f=fopen("conftestval", "w");
10780 fprintf(f, "%d\n", sizeof(long long));
10784 if { (eval echo configure
:10785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10786 ac_cv_sizeof_long_long
=`cat conftestval`
10788 echo "configure: failed program was:" >&5
10789 cat conftest.
$ac_ext >&5
10791 ac_cv_sizeof_long_long
=0
10797 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10798 cat >> confdefs.h
<<EOF
10799 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10803 if test "$ac_cv_sizeof_long_long" != "0"; then
10804 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10808 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10809 echo "configure:10810: checking size of long long" >&5
10810 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10811 echo $ac_n "(cached) $ac_c" 1>&6
10813 if test "$cross_compiling" = yes; then
10814 ac_cv_sizeof_long_long
=0
10816 cat > conftest.
$ac_ext <<EOF
10817 #line 10818 "configure"
10818 #include "confdefs.h"
10820 #include <sys/types.h>
10823 FILE *f=fopen("conftestval", "w");
10825 fprintf(f, "%d\n", sizeof(long long));
10829 if { (eval echo configure
:10830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10831 ac_cv_sizeof_long_long
=`cat conftestval`
10833 echo "configure: failed program was:" >&5
10834 cat conftest.
$ac_ext >&5
10836 ac_cv_sizeof_long_long
=0
10842 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10843 cat >> confdefs.h
<<EOF
10844 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10850 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10851 echo "configure:10852: checking size of wchar_t" >&5
10852 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10853 echo $ac_n "(cached) $ac_c" 1>&6
10856 if test "$cross_compiling" = yes; then
10860 wx_cv_sizeof_wchar_t
=0
10863 wx_cv_sizeof_wchar_t
=4
10869 cat > conftest.
$ac_ext <<EOF
10870 #line 10871 "configure"
10871 #include "confdefs.h"
10873 /* DJGPP only has fake wchar_t: */
10875 # error "fake wchar_t"
10877 #ifdef HAVE_WCHAR_H
10879 # include <stddef.h>
10881 # include <wchar.h>
10883 #ifdef HAVE_STDLIB_H
10884 # include <stdlib.h>
10889 FILE *f=fopen("conftestval", "w");
10891 fprintf(f, "%i", sizeof(wchar_t));
10896 if { (eval echo configure
:10897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10898 wx_cv_sizeof_wchar_t
=`cat conftestval`
10900 echo "configure: failed program was:" >&5
10901 cat conftest.
$ac_ext >&5
10903 wx_cv_sizeof_wchar_t
=0
10911 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10913 cat >> confdefs.h
<<EOF
10914 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10918 # Check whether --enable-largefile or --disable-largefile was given.
10919 if test "${enable_largefile+set}" = set; then
10920 enableval
="$enable_largefile"
10924 if test "$enable_largefile" != no
; then
10927 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10928 echo "configure:10929: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10929 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10930 echo $ac_n "(cached) $ac_c" 1>&6
10933 cat > conftest.
$ac_ext <<EOF
10934 #line 10935 "configure"
10935 #include "confdefs.h"
10936 #define _FILE_OFFSET_BITS 64
10937 #include <sys/types.h>
10940 unsigned int field: sizeof(off_t) == 8;
10945 if { (eval echo configure
:10946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10947 ac_cv_sys_file_offset_bits
=64
10949 echo "configure: failed program was:" >&5
10950 cat conftest.
$ac_ext >&5
10952 ac_cv_sys_file_offset_bits
=no
10959 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10961 if test "$ac_cv_sys_file_offset_bits" != no
; then
10963 cat >> confdefs.h
<<EOF
10964 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10969 if test "x$wx_largefile" != "xyes"; then
10971 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10972 echo "configure:10973: checking for _LARGE_FILES value needed for large files" >&5
10973 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10974 echo $ac_n "(cached) $ac_c" 1>&6
10977 cat > conftest.
$ac_ext <<EOF
10978 #line 10979 "configure"
10979 #include "confdefs.h"
10980 #define _LARGE_FILES 1
10981 #include <sys/types.h>
10984 unsigned int field: sizeof(off_t) == 8;
10989 if { (eval echo configure
:10990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10991 ac_cv_sys_large_files
=1
10993 echo "configure: failed program was:" >&5
10994 cat conftest.
$ac_ext >&5
10996 ac_cv_sys_large_files
=no
11003 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
11005 if test "$ac_cv_sys_large_files" != no
; then
11007 cat >> confdefs.h
<<EOF
11008 #define _LARGE_FILES $ac_cv_sys_large_files
11015 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
11016 echo "configure:11017: checking if large file support is available" >&5
11017 if test "x$wx_largefile" = "xyes"; then
11018 cat >> confdefs.h
<<\EOF
11019 #define HAVE_LARGEFILE_SUPPORT 1
11023 echo "$ac_t""$wx_largefile" 1>&6
11027 if test "x$wx_largefile" = "xyes"; then
11028 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
11029 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
11031 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
11033 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
11036 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
11037 echo "configure:11038: checking whether byte ordering is bigendian" >&5
11038 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
11039 echo $ac_n "(cached) $ac_c" 1>&6
11041 ac_cv_c_bigendian
=unknown
11042 # See if sys/param.h defines the BYTE_ORDER macro.
11043 cat > conftest.
$ac_ext <<EOF
11044 #line 11045 "configure"
11045 #include "confdefs.h"
11046 #include <sys/types.h>
11047 #include <sys/param.h>
11050 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
11051 bogus endian macros
11055 if { (eval echo configure
:11056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11057 # It does; now see whether it defined to BIG_ENDIAN or not.
11058 cat > conftest.
$ac_ext <<EOF
11059 #line 11060 "configure"
11060 #include "confdefs.h"
11061 #include <sys/types.h>
11062 #include <sys/param.h>
11065 #if BYTE_ORDER != BIG_ENDIAN
11070 if { (eval echo configure
:11071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11072 ac_cv_c_bigendian
=yes
11074 echo "configure: failed program was:" >&5
11075 cat conftest.
$ac_ext >&5
11077 ac_cv_c_bigendian
=no
11081 echo "configure: failed program was:" >&5
11082 cat conftest.
$ac_ext >&5
11085 if test $ac_cv_c_bigendian = unknown
; then
11086 if test "$cross_compiling" = yes; then
11087 ac_cv_c_bigendian
=unknown
11089 cat > conftest.
$ac_ext <<EOF
11090 #line 11091 "configure"
11091 #include "confdefs.h"
11093 /* Are we little or big endian? From Harbison&Steele. */
11097 char c[sizeof (long)];
11100 exit (u.c[sizeof (long) - 1] == 1);
11103 if { (eval echo configure
:11104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11105 ac_cv_c_bigendian
=no
11107 echo "configure: failed program was:" >&5
11108 cat conftest.
$ac_ext >&5
11110 ac_cv_c_bigendian
=yes
11118 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11119 if test $ac_cv_c_bigendian = unknown
; then
11120 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
11122 if test $ac_cv_c_bigendian = yes; then
11123 cat >> confdefs.h
<<\EOF
11124 #define WORDS_BIGENDIAN 1
11130 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11131 echo "configure:11132: checking how to run the C++ preprocessor" >&5
11132 if test -z "$CXXCPP"; then
11133 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11134 echo $ac_n "(cached) $ac_c" 1>&6
11137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11138 ac_cpp
='$CXXCPP $CPPFLAGS'
11139 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11140 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11141 cross_compiling
=$ac_cv_prog_cxx_cross
11142 CXXCPP
="${CXX-g++} -E"
11143 cat > conftest.
$ac_ext <<EOF
11144 #line 11145 "configure"
11145 #include "confdefs.h"
11146 #include <stdlib.h>
11148 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11149 { (eval echo configure
:11150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11150 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11151 if test -z "$ac_err"; then
11155 echo "configure: failed program was:" >&5
11156 cat conftest.
$ac_ext >&5
11161 ac_cv_prog_CXXCPP
="$CXXCPP"
11163 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11164 ac_cpp
='$CXXCPP $CPPFLAGS'
11165 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11166 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11167 cross_compiling
=$ac_cv_prog_cxx_cross
11170 CXXCPP
="$ac_cv_prog_CXXCPP"
11171 echo "$ac_t""$CXXCPP" 1>&6
11174 if test "$cross_compiling" = "yes"; then
11175 cat >> confdefs.h
<<\EOF
11176 #define wxUSE_IOSTREAMH 1
11182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11183 ac_cpp
='$CXXCPP $CPPFLAGS'
11184 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11185 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11186 cross_compiling
=$ac_cv_prog_cxx_cross
11189 for ac_hdr
in iostream
11191 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11192 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11193 echo "configure:11194: checking for $ac_hdr" >&5
11194 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11195 echo $ac_n "(cached) $ac_c" 1>&6
11197 cat > conftest.
$ac_ext <<EOF
11198 #line 11199 "configure"
11199 #include "confdefs.h"
11202 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11203 { (eval echo configure
:11204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11204 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11205 if test -z "$ac_err"; then
11207 eval "ac_cv_header_$ac_safe=yes"
11210 echo "configure: failed program was:" >&5
11211 cat conftest.
$ac_ext >&5
11213 eval "ac_cv_header_$ac_safe=no"
11217 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11218 echo "$ac_t""yes" 1>&6
11219 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11220 cat >> confdefs.h
<<EOF
11221 #define $ac_tr_hdr 1
11225 echo "$ac_t""no" 1>&6
11230 if test "$ac_cv_header_iostream" = "yes" ; then
11233 cat >> confdefs.h
<<\EOF
11234 #define wxUSE_IOSTREAMH 1
11240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11241 ac_cpp
='$CPP $CPPFLAGS'
11242 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11243 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11244 cross_compiling
=$ac_cv_prog_cc_cross
11250 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11251 echo "configure:11252: checking if C++ compiler supports bool" >&5
11252 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11253 echo $ac_n "(cached) $ac_c" 1>&6
11258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11259 ac_cpp
='$CXXCPP $CPPFLAGS'
11260 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11261 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11262 cross_compiling
=$ac_cv_prog_cxx_cross
11265 cat > conftest.
$ac_ext <<EOF
11266 #line 11267 "configure"
11267 #include "confdefs.h"
11278 if { (eval echo configure
:11279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11284 echo "configure: failed program was:" >&5
11285 cat conftest.
$ac_ext >&5
11295 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11296 ac_cpp
='$CPP $CPPFLAGS'
11297 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11298 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11299 cross_compiling
=$ac_cv_prog_cc_cross
11304 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11306 if test "$wx_cv_cpp_bool" = "yes"; then
11307 cat >> confdefs.h
<<\EOF
11308 #define HAVE_BOOL 1
11315 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11316 echo "configure:11317: checking if C++ compiler supports the explicit keyword" >&5
11317 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11318 echo $ac_n "(cached) $ac_c" 1>&6
11323 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11324 ac_cpp
='$CXXCPP $CPPFLAGS'
11325 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11326 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11327 cross_compiling
=$ac_cv_prog_cxx_cross
11330 cat > conftest.
$ac_ext <<EOF
11331 #line 11332 "configure"
11332 #include "confdefs.h"
11334 class Foo { public: explicit Foo(int) {} };
11342 if { (eval echo configure
:11343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11345 cat > conftest.
$ac_ext <<EOF
11346 #line 11347 "configure"
11347 #include "confdefs.h"
11349 class Foo { public: explicit Foo(int) {} };
11350 static void TakeFoo(const Foo& foo) { }
11359 if { (eval echo configure
:11360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11363 echo "configure: failed program was:" >&5
11364 cat conftest.
$ac_ext >&5
11372 echo "configure: failed program was:" >&5
11373 cat conftest.
$ac_ext >&5
11381 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11382 ac_cpp
='$CPP $CPPFLAGS'
11383 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11384 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11385 cross_compiling
=$ac_cv_prog_cc_cross
11390 echo "$ac_t""$wx_cv_explicit" 1>&6
11392 if test "$wx_cv_explicit" = "yes"; then
11393 cat >> confdefs.h
<<\EOF
11394 #define HAVE_EXPLICIT 1
11400 echo $ac_n "checking whether the compiler supports const_cast<>""... $ac_c" 1>&6
11401 echo "configure:11402: checking whether the compiler supports const_cast<>" >&5
11402 if eval "test \"`echo '$''{'ac_cv_cxx_const_cast'+set}'`\" = set"; then
11403 echo $ac_n "(cached) $ac_c" 1>&6
11407 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11408 ac_cpp
='$CXXCPP $CPPFLAGS'
11409 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11410 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11411 cross_compiling
=$ac_cv_prog_cxx_cross
11413 cat > conftest.
$ac_ext <<EOF
11414 #line 11415 "configure"
11415 #include "confdefs.h"
11418 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
11421 if { (eval echo configure
:11422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11423 ac_cv_cxx_const_cast
=yes
11425 echo "configure: failed program was:" >&5
11426 cat conftest.
$ac_ext >&5
11428 ac_cv_cxx_const_cast
=no
11432 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11433 ac_cpp
='$CPP $CPPFLAGS'
11434 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11435 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11436 cross_compiling
=$ac_cv_prog_cc_cross
11441 echo "$ac_t""$ac_cv_cxx_const_cast" 1>&6
11442 if test "$ac_cv_cxx_const_cast" = yes; then
11443 cat >> confdefs.h
<<\EOF
11444 #define HAVE_CONST_CAST
11452 /usr/local/include \
11454 /usr/Motif-1.2/include \
11455 /usr/Motif-2.1/include \
11457 /usr/include/Motif1.2 \
11458 /opt/xpm/include/X11 \
11459 /opt/GBxpm/include/ \
11460 /opt/GBxpm/X11/include/ \
11462 /usr/Motif1.2/include \
11464 /usr/openwin/include \
11468 /usr/X11R6/include \
11469 /usr/X11R6.4/include \
11470 /usr/X11R5/include \
11471 /usr/X11R4/include \
11473 /usr/include/X11R6 \
11474 /usr/include/X11R5 \
11475 /usr/include/X11R4 \
11477 /usr/local/X11R6/include \
11478 /usr/local/X11R5/include \
11479 /usr/local/X11R4/include \
11481 /usr/local/include/X11R6 \
11482 /usr/local/include/X11R5 \
11483 /usr/local/include/X11R4 \
11487 /usr/local/X11/include \
11488 /usr/local/include/X11 \
11490 /usr/X386/include \
11491 /usr/x386/include \
11492 /usr/XFree86/include/X11 \
11494 X:/XFree86/include \
11495 X:/XFree86/include/X11 \
11498 /usr/local/include/gtk \
11499 /usr/include/glib \
11500 /usr/local/include/glib \
11503 /usr/local/include/qt \
11505 /usr/include/windows \
11506 /usr/include/wine \
11507 /usr/local/include/wine \
11509 /usr/unsupported/include \
11510 /usr/athena/include \
11511 /usr/local/x11r5/include \
11512 /usr/lpp/Xamples/include \
11514 /usr/openwin/share/include"
11516 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11519 cat > confcache
<<\EOF
11520 # This file is a shell script that caches the results of configure
11521 # tests run on this system so they can be shared between configure
11522 # scripts and configure runs. It is not useful on other systems.
11523 # If it contains results you don't want to keep, you may remove or edit it.
11525 # By default, configure uses ./config.cache as the cache file,
11526 # creating it if it does not exist already. You can give configure
11527 # the --cache-file=FILE option to use a different cache file; that is
11528 # what configure does when it calls configure scripts in
11529 # subdirectories, so they share the cache.
11530 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11531 # config.status only pays attention to the cache file if you give it the
11532 # --recheck option to rerun configure.
11535 # The following way of writing the cache mishandles newlines in values,
11536 # but we know of no workaround that is simple, portable, and efficient.
11537 # So, don't put newlines in cache variables' values.
11538 # Ultrix sh set writes to stderr and can't be redirected directly,
11539 # and sets the high bit in the cache file unless we assign to the vars.
11541 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11543 # `set' does not quote correctly, so add quotes (double-quote substitution
11544 # turns \\\\ into \\, and sed turns \\ into \).
11546 -e "s/'/'\\\\''/g" \
11547 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11550 # `set' quotes correctly as required by POSIX, so do not add quotes.
11551 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11554 if cmp -s $cache_file confcache
; then
11557 if test -w $cache_file; then
11558 echo "updating cache $cache_file"
11559 cat confcache
> $cache_file
11561 echo "not updating unwritable cache $cache_file"
11567 if test "$USE_LINUX" = 1; then
11568 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11569 echo "configure:11570: checking for glibc 2.1 or later" >&5
11570 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11571 echo $ac_n "(cached) $ac_c" 1>&6
11574 cat > conftest.
$ac_ext <<EOF
11575 #line 11576 "configure"
11576 #include "confdefs.h"
11577 #include <features.h>
11580 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11581 #error not glibc2.1
11586 if { (eval echo configure
:11587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11589 wx_cv_lib_glibc21
=yes
11592 echo "configure: failed program was:" >&5
11593 cat conftest.
$ac_ext >&5
11596 wx_cv_lib_glibc21
=no
11604 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11605 if test "$wx_cv_lib_glibc21" = "yes"; then
11606 cat >> confdefs.h
<<\EOF
11607 #define wxHAVE_GLIBC2 1
11613 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11614 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11615 cat >> confdefs.h
<<\EOF
11616 #define _GNU_SOURCE 1
11625 if test "$wxUSE_REGEX" != "no"; then
11626 cat >> confdefs.h
<<\EOF
11627 #define wxUSE_REGEX 1
11631 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11632 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11633 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11634 echo "configure:11635: checking for regex.h" >&5
11635 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11636 echo $ac_n "(cached) $ac_c" 1>&6
11638 cat > conftest.
$ac_ext <<EOF
11639 #line 11640 "configure"
11640 #include "confdefs.h"
11643 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11644 { (eval echo configure
:11645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11645 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11646 if test -z "$ac_err"; then
11648 eval "ac_cv_header_$ac_safe=yes"
11651 echo "configure: failed program was:" >&5
11652 cat conftest.
$ac_ext >&5
11654 eval "ac_cv_header_$ac_safe=no"
11658 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11659 echo "$ac_t""yes" 1>&6
11660 for ac_func
in regcomp
11662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11663 echo "configure:11664: checking for $ac_func" >&5
11664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11665 echo $ac_n "(cached) $ac_c" 1>&6
11667 cat > conftest.
$ac_ext <<EOF
11668 #line 11669 "configure"
11669 #include "confdefs.h"
11670 /* System header to define __stub macros and hopefully few prototypes,
11671 which can conflict with char $ac_func(); below. */
11672 #include <assert.h>
11673 /* Override any gcc2 internal prototype to avoid an error. */
11674 /* We use char because int might match the return type of a gcc2
11675 builtin and then its argument prototype would still apply. */
11680 /* The GNU C library defines this for functions which it implements
11681 to always fail with ENOSYS. Some functions are actually named
11682 something starting with __ and the normal name is an alias. */
11683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11691 if { (eval echo configure
:11692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11693 eval "ac_cv_func_$ac_func=yes"
11695 echo "configure: failed program was:" >&5
11696 cat conftest.
$ac_ext >&5
11698 eval "ac_cv_func_$ac_func=no"
11703 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11704 echo "$ac_t""yes" 1>&6
11705 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11706 cat >> confdefs.h
<<EOF
11707 #define $ac_tr_func 1
11711 echo "$ac_t""no" 1>&6
11716 echo "$ac_t""no" 1>&6
11720 if test "x$ac_cv_func_regcomp" != "xyes"; then
11721 if test "$wxUSE_REGEX" = "sys" ; then
11722 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11724 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11725 wxUSE_REGEX
=builtin
11732 if test "$wxUSE_REGEX" = "builtin" ; then
11733 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11740 if test "$wxUSE_ZLIB" != "no" ; then
11741 cat >> confdefs.h
<<\EOF
11742 #define wxUSE_ZLIB 1
11746 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11747 if test "$USE_DARWIN" = 1; then
11748 system_zlib_h_ok
="yes"
11750 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11751 echo "configure:11752: checking for zlib.h >= 1.1.4" >&5
11752 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11753 echo $ac_n "(cached) $ac_c" 1>&6
11755 if test "$cross_compiling" = yes; then
11756 unset ac_cv_header_zlib_h
11759 cat > conftest.
$ac_ext <<EOF
11760 #line 11761 "configure"
11761 #include "confdefs.h"
11769 FILE *f=fopen("conftestval", "w");
11772 ZLIB_VERSION[0] == '1' &&
11773 (ZLIB_VERSION[2] > '1' ||
11774 (ZLIB_VERSION[2] == '1' &&
11775 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11781 if { (eval echo configure
:11782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11783 ac_cv_header_zlib_h
=`cat conftestval`
11785 echo "configure: failed program was:" >&5
11786 cat conftest.
$ac_ext >&5
11788 ac_cv_header_zlib_h
=no
11796 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11797 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11798 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11799 echo "configure:11800: checking for zlib.h" >&5
11800 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11801 echo $ac_n "(cached) $ac_c" 1>&6
11803 cat > conftest.
$ac_ext <<EOF
11804 #line 11805 "configure"
11805 #include "confdefs.h"
11808 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11809 { (eval echo configure
:11810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11810 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11811 if test -z "$ac_err"; then
11813 eval "ac_cv_header_$ac_safe=yes"
11816 echo "configure: failed program was:" >&5
11817 cat conftest.
$ac_ext >&5
11819 eval "ac_cv_header_$ac_safe=no"
11823 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11824 echo "$ac_t""yes" 1>&6
11827 echo "$ac_t""no" 1>&6
11831 system_zlib_h_ok
=$ac_cv_header_zlib_h
11834 if test "$system_zlib_h_ok" = "yes"; then
11835 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11836 echo "configure:11837: checking for deflate in -lz" >&5
11837 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11838 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11839 echo $ac_n "(cached) $ac_c" 1>&6
11841 ac_save_LIBS
="$LIBS"
11843 cat > conftest.
$ac_ext <<EOF
11844 #line 11845 "configure"
11845 #include "confdefs.h"
11846 /* Override any gcc2 internal prototype to avoid an error. */
11847 /* We use char because int might match the return type of a gcc2
11848 builtin and then its argument prototype would still apply. */
11855 if { (eval echo configure
:11856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11857 eval "ac_cv_lib_$ac_lib_var=yes"
11859 echo "configure: failed program was:" >&5
11860 cat conftest.
$ac_ext >&5
11862 eval "ac_cv_lib_$ac_lib_var=no"
11865 LIBS
="$ac_save_LIBS"
11868 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11869 echo "$ac_t""yes" 1>&6
11872 echo "$ac_t""no" 1>&6
11877 if test "x$ZLIB_LINK" = "x" ; then
11878 if test "$wxUSE_ZLIB" = "sys" ; then
11879 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11881 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11889 if test "$wxUSE_ZLIB" = "builtin" ; then
11890 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11897 if test "$wxUSE_LIBPNG" != "no" ; then
11898 cat >> confdefs.h
<<\EOF
11899 #define wxUSE_LIBPNG 1
11903 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11904 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11908 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11909 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11910 wxUSE_LIBPNG
=builtin
11913 if test "$wxUSE_MGL" != 1 ; then
11914 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11915 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11916 echo "configure:11917: checking for png.h > 0.90" >&5
11917 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11918 echo $ac_n "(cached) $ac_c" 1>&6
11920 if test "$cross_compiling" = yes; then
11921 unset ac_cv_header_png_h
11924 cat > conftest.
$ac_ext <<EOF
11925 #line 11926 "configure"
11926 #include "confdefs.h"
11933 FILE *f=fopen("conftestval", "w");
11936 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11941 if { (eval echo configure
:11942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11943 ac_cv_header_png_h
=`cat conftestval`
11945 echo "configure: failed program was:" >&5
11946 cat conftest.
$ac_ext >&5
11948 ac_cv_header_png_h
=no
11956 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11957 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11958 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11959 echo "configure:11960: checking for png.h" >&5
11960 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11961 echo $ac_n "(cached) $ac_c" 1>&6
11963 cat > conftest.
$ac_ext <<EOF
11964 #line 11965 "configure"
11965 #include "confdefs.h"
11968 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11969 { (eval echo configure
:11970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11970 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11971 if test -z "$ac_err"; then
11973 eval "ac_cv_header_$ac_safe=yes"
11976 echo "configure: failed program was:" >&5
11977 cat conftest.
$ac_ext >&5
11979 eval "ac_cv_header_$ac_safe=no"
11983 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11984 echo "$ac_t""yes" 1>&6
11987 echo "$ac_t""no" 1>&6
11991 if test "$ac_cv_header_png_h" = "yes"; then
11992 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11993 echo "configure:11994: checking for png_check_sig in -lpng" >&5
11994 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11995 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11996 echo $ac_n "(cached) $ac_c" 1>&6
11998 ac_save_LIBS
="$LIBS"
11999 LIBS
="-lpng -lz -lm $LIBS"
12000 cat > conftest.
$ac_ext <<EOF
12001 #line 12002 "configure"
12002 #include "confdefs.h"
12003 /* Override any gcc2 internal prototype to avoid an error. */
12004 /* We use char because int might match the return type of a gcc2
12005 builtin and then its argument prototype would still apply. */
12006 char png_check_sig();
12012 if { (eval echo configure
:12013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12014 eval "ac_cv_lib_$ac_lib_var=yes"
12016 echo "configure: failed program was:" >&5
12017 cat conftest.
$ac_ext >&5
12019 eval "ac_cv_lib_$ac_lib_var=no"
12022 LIBS
="$ac_save_LIBS"
12025 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12026 echo "$ac_t""yes" 1>&6
12029 echo "$ac_t""no" 1>&6
12034 if test "x$PNG_LINK" = "x" ; then
12035 if test "$wxUSE_LIBPNG" = "sys" ; then
12036 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
12038 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
12039 wxUSE_LIBPNG
=builtin
12047 if test "$wxUSE_LIBPNG" = "builtin" ; then
12048 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
12051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
12057 if test "$wxUSE_LIBJPEG" != "no" ; then
12058 cat >> confdefs.h
<<\EOF
12059 #define wxUSE_LIBJPEG 1
12063 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
12064 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
12068 if test "$wxUSE_MGL" != 1 ; then
12069 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
12070 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12071 echo "configure:12072: checking for jpeglib.h" >&5
12072 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
12073 echo $ac_n "(cached) $ac_c" 1>&6
12075 cat > conftest.
$ac_ext <<EOF
12076 #line 12077 "configure"
12077 #include "confdefs.h"
12079 #undef HAVE_STDLIB_H
12081 #include <jpeglib.h>
12088 if { (eval echo configure
:12089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12090 ac_cv_header_jpeglib_h
=yes
12092 echo "configure: failed program was:" >&5
12093 cat conftest.
$ac_ext >&5
12095 ac_cv_header_jpeglib_h
=no
12102 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
12104 if test "$ac_cv_header_jpeglib_h" = "yes"; then
12105 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
12106 echo "configure:12107: checking for jpeg_read_header in -ljpeg" >&5
12107 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
12108 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12109 echo $ac_n "(cached) $ac_c" 1>&6
12111 ac_save_LIBS
="$LIBS"
12112 LIBS
="-ljpeg $LIBS"
12113 cat > conftest.
$ac_ext <<EOF
12114 #line 12115 "configure"
12115 #include "confdefs.h"
12116 /* Override any gcc2 internal prototype to avoid an error. */
12117 /* We use char because int might match the return type of a gcc2
12118 builtin and then its argument prototype would still apply. */
12119 char jpeg_read_header();
12125 if { (eval echo configure
:12126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12127 eval "ac_cv_lib_$ac_lib_var=yes"
12129 echo "configure: failed program was:" >&5
12130 cat conftest.
$ac_ext >&5
12132 eval "ac_cv_lib_$ac_lib_var=no"
12135 LIBS
="$ac_save_LIBS"
12138 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12139 echo "$ac_t""yes" 1>&6
12140 JPEG_LINK
=" -ljpeg"
12142 echo "$ac_t""no" 1>&6
12147 if test "x$JPEG_LINK" = "x" ; then
12148 if test "$wxUSE_LIBJPEG" = "sys" ; then
12149 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
12151 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
12152 wxUSE_LIBJPEG
=builtin
12160 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12161 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12168 TIFF_PREREQ_LINKS
=-lm
12169 if test "$wxUSE_LIBTIFF" != "no" ; then
12170 cat >> confdefs.h
<<\EOF
12171 #define wxUSE_LIBTIFF 1
12175 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12176 if test "$wxUSE_LIBJPEG" = "sys"; then
12177 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12179 if test "$wxUSE_ZLIB" = "sys"; then
12180 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12182 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12183 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12184 echo "configure:12185: checking for tiffio.h" >&5
12185 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12186 echo $ac_n "(cached) $ac_c" 1>&6
12188 cat > conftest.
$ac_ext <<EOF
12189 #line 12190 "configure"
12190 #include "confdefs.h"
12191 #include <tiffio.h>
12193 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12194 { (eval echo configure
:12195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12195 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12196 if test -z "$ac_err"; then
12198 eval "ac_cv_header_$ac_safe=yes"
12201 echo "configure: failed program was:" >&5
12202 cat conftest.
$ac_ext >&5
12204 eval "ac_cv_header_$ac_safe=no"
12208 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12209 echo "$ac_t""yes" 1>&6
12210 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12211 echo "configure:12212: checking for TIFFError in -ltiff" >&5
12212 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12213 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12214 echo $ac_n "(cached) $ac_c" 1>&6
12216 ac_save_LIBS
="$LIBS"
12217 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12218 cat > conftest.
$ac_ext <<EOF
12219 #line 12220 "configure"
12220 #include "confdefs.h"
12221 /* Override any gcc2 internal prototype to avoid an error. */
12222 /* We use char because int might match the return type of a gcc2
12223 builtin and then its argument prototype would still apply. */
12230 if { (eval echo configure
:12231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12232 eval "ac_cv_lib_$ac_lib_var=yes"
12234 echo "configure: failed program was:" >&5
12235 cat conftest.
$ac_ext >&5
12237 eval "ac_cv_lib_$ac_lib_var=no"
12240 LIBS
="$ac_save_LIBS"
12243 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12244 echo "$ac_t""yes" 1>&6
12245 TIFF_LINK
=" -ltiff"
12247 echo "$ac_t""no" 1>&6
12252 echo "$ac_t""no" 1>&6
12256 if test "x$TIFF_LINK" = "x" ; then
12257 if test "$wxUSE_LIBTIFF" = "sys" ; then
12258 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12260 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12261 wxUSE_LIBTIFF
=builtin
12268 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12269 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12281 if test "$USE_WIN32" = 1 ; then
12282 for ac_hdr
in w32api.h
12284 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12285 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12286 echo "configure:12287: checking for $ac_hdr" >&5
12287 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12288 echo $ac_n "(cached) $ac_c" 1>&6
12290 cat > conftest.
$ac_ext <<EOF
12291 #line 12292 "configure"
12292 #include "confdefs.h"
12295 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12296 { (eval echo configure
:12297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12297 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12298 if test -z "$ac_err"; then
12300 eval "ac_cv_header_$ac_safe=yes"
12303 echo "configure: failed program was:" >&5
12304 cat conftest.
$ac_ext >&5
12306 eval "ac_cv_header_$ac_safe=no"
12310 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12311 echo "$ac_t""yes" 1>&6
12312 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12313 cat >> confdefs.h
<<EOF
12314 #define $ac_tr_hdr 1
12318 echo "$ac_t""no" 1>&6
12322 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12323 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12324 echo "configure:12325: checking for windows.h" >&5
12325 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12326 echo $ac_n "(cached) $ac_c" 1>&6
12328 cat > conftest.
$ac_ext <<EOF
12329 #line 12330 "configure"
12330 #include "confdefs.h"
12331 #include <windows.h>
12333 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12334 { (eval echo configure
:12335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12335 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12336 if test -z "$ac_err"; then
12338 eval "ac_cv_header_$ac_safe=yes"
12341 echo "configure: failed program was:" >&5
12342 cat conftest.
$ac_ext >&5
12344 eval "ac_cv_header_$ac_safe=no"
12348 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12349 echo "$ac_t""yes" 1>&6
12352 echo "$ac_t""no" 1>&6
12354 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12359 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12360 echo "configure:12361: checking if w32api has good enough MSIE support" >&5
12361 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12362 echo $ac_n "(cached) $ac_c" 1>&6
12365 cat > conftest.
$ac_ext <<EOF
12366 #line 12367 "configure"
12367 #include "confdefs.h"
12368 #include <w32api.h>
12371 #define wxCHECK_W32API_VERSION( major, minor ) \
12372 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12373 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12374 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12376 #if !wxCHECK_W32API_VERSION(1,1)
12377 #error You need w32api 1.1 or newer
12382 if { (eval echo configure
:12383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12385 wx_cv_w32api_win32_ie
=yes
12388 echo "configure: failed program was:" >&5
12389 cat conftest.
$ac_ext >&5
12392 wx_cv_w32api_win32_ie
=no
12399 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12400 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12401 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12404 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12408 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12409 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12412 if test "$wxUSE_ODBC" = "yes" ; then
12413 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12416 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12417 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12419 WIN32INSTALL
=win32install
12422 if test "$USE_DARWIN" = 1; then
12423 if test "$wxUSE_PRECOMP" = "yes"; then
12424 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12426 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12430 if test "$wxUSE_GUI" = "yes"; then
12439 if test "$wxUSE_MSW" = 1 ; then
12443 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12446 if test "$wxUSE_GTK" = 1; then
12447 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12448 echo "configure:12449: checking for GTK+ version" >&5
12450 gtk_version_cached
=1
12451 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12452 echo $ac_n "(cached) $ac_c" 1>&6
12455 gtk_version_cached
=0
12456 echo "$ac_t""" 1>&6
12459 if test "$wxUSE_THREADS" = "yes"; then
12460 GTK_MODULES
=gthread
12464 if test "x$wxUSE_GTK2" = "xyes"; then
12465 # Check whether --enable-gtktest or --disable-gtktest was given.
12466 if test "${enable_gtktest+set}" = set; then
12467 enableval
="$enable_gtktest"
12474 pkg_config_args
=gtk
+-2.0
12475 for module
in .
$GTK_MODULES
12479 pkg_config_args
="$pkg_config_args gthread-2.0"
12486 # Extract the first word of "pkg-config", so it can be a program name with args.
12487 set dummy pkg
-config; ac_word
=$2
12488 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12489 echo "configure:12490: checking for $ac_word" >&5
12490 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12491 echo $ac_n "(cached) $ac_c" 1>&6
12493 case "$PKG_CONFIG" in
12495 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12498 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12501 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12503 for ac_dir
in $ac_dummy; do
12504 test -z "$ac_dir" && ac_dir
=.
12505 if test -f $ac_dir/$ac_word; then
12506 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12511 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12515 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12516 if test -n "$PKG_CONFIG"; then
12517 echo "$ac_t""$PKG_CONFIG" 1>&6
12519 echo "$ac_t""no" 1>&6
12523 if test x
$PKG_CONFIG != xno
; then
12524 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12527 echo *** pkg
-config too old
; version
0.7 or better required.
12535 min_gtk_version
=2.0.0
12536 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12537 echo "configure:12538: checking for GTK+ - version >= $min_gtk_version" >&5
12539 if test x
$PKG_CONFIG != xno
; then
12540 ## don't try to run the test against uninstalled libtool libs
12541 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12542 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12546 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12553 if test x
"$no_gtk" = x
; then
12554 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12555 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12556 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12557 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12558 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12559 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12560 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12561 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12562 if test "x$enable_gtktest" = "xyes" ; then
12563 ac_save_CFLAGS
="$CFLAGS"
12564 ac_save_LIBS
="$LIBS"
12565 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12566 LIBS
="$GTK_LIBS $LIBS"
12568 if test "$cross_compiling" = yes; then
12569 echo $ac_n "cross compiling; assumed OK... $ac_c"
12571 cat > conftest.
$ac_ext <<EOF
12572 #line 12573 "configure"
12573 #include "confdefs.h"
12575 #include <gtk/gtk.h>
12577 #include <stdlib.h>
12582 int major, minor, micro;
12585 system ("touch conf.gtktest");
12587 /* HP/UX 9 (%@#!) writes to sscanf strings */
12588 tmp_version = g_strdup("$min_gtk_version");
12589 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12590 printf("%s, bad version string\n", "$min_gtk_version");
12594 if ((gtk_major_version != $gtk_config_major_version) ||
12595 (gtk_minor_version != $gtk_config_minor_version) ||
12596 (gtk_micro_version != $gtk_config_micro_version))
12598 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12599 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12600 gtk_major_version, gtk_minor_version, gtk_micro_version);
12601 printf ("*** was found! If pkg-config was correct, then it is best\n");
12602 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12603 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12604 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12605 printf("*** required on your system.\n");
12606 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12607 printf("*** to point to the correct configuration files\n");
12609 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12610 (gtk_minor_version != GTK_MINOR_VERSION) ||
12611 (gtk_micro_version != GTK_MICRO_VERSION))
12613 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12614 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12615 printf("*** library (version %d.%d.%d)\n",
12616 gtk_major_version, gtk_minor_version, gtk_micro_version);
12620 if ((gtk_major_version > major) ||
12621 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12622 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12628 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12629 gtk_major_version, gtk_minor_version, gtk_micro_version);
12630 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12631 major, minor, micro);
12632 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12634 printf("*** If you have already installed a sufficiently new version, this error\n");
12635 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12636 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12637 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12638 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12639 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12640 printf("*** so that the correct libraries are found at run-time))\n");
12647 if { (eval echo configure
:12648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12651 echo "configure: failed program was:" >&5
12652 cat conftest.
$ac_ext >&5
12659 CFLAGS
="$ac_save_CFLAGS"
12660 LIBS
="$ac_save_LIBS"
12663 if test "x$no_gtk" = x
; then
12664 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12667 echo "$ac_t""no" 1>&6
12668 if test "$PKG_CONFIG" = "no" ; then
12669 echo "*** A new enough version of pkg-config was not found."
12670 echo "*** See http://pkgconfig.sourceforge.net"
12672 if test -f conf.gtktest
; then
12675 echo "*** Could not run GTK+ test program, checking why..."
12676 ac_save_CFLAGS
="$CFLAGS"
12677 ac_save_LIBS
="$LIBS"
12678 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12679 LIBS
="$LIBS $GTK_LIBS"
12680 cat > conftest.
$ac_ext <<EOF
12681 #line 12682 "configure"
12682 #include "confdefs.h"
12684 #include <gtk/gtk.h>
12688 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12691 if { (eval echo configure
:12692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12693 echo "*** The test program compiled, but did not run. This usually means"
12694 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12695 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12696 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12697 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12698 echo "*** is required on your system"
12700 echo "*** If you have an old version installed, it is best to remove it, although"
12701 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12703 echo "configure: failed program was:" >&5
12704 cat conftest.
$ac_ext >&5
12706 echo "*** The test program failed to compile or link. See the file config.log for the"
12707 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12710 CFLAGS
="$ac_save_CFLAGS"
12711 LIBS
="$ac_save_LIBS"
12723 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12724 if test "${with_gtk_prefix+set}" = set; then
12725 withval
="$with_gtk_prefix"
12726 gtk_config_prefix
="$withval"
12728 gtk_config_prefix
=""
12731 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12732 if test "${with_gtk_exec_prefix+set}" = set; then
12733 withval
="$with_gtk_exec_prefix"
12734 gtk_config_exec_prefix
="$withval"
12736 gtk_config_exec_prefix
=""
12739 # Check whether --enable-gtktest or --disable-gtktest was given.
12740 if test "${enable_gtktest+set}" = set; then
12741 enableval
="$enable_gtktest"
12748 for module
in .
$GTK_MODULES
12752 gtk_config_args
="$gtk_config_args gthread"
12757 if test x
$gtk_config_exec_prefix != x
; then
12758 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12759 if test x
${GTK_CONFIG+set} != xset
; then
12760 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12763 if test x
$gtk_config_prefix != x
; then
12764 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12765 if test x
${GTK_CONFIG+set} != xset
; then
12766 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12770 # Extract the first word of "gtk-config", so it can be a program name with args.
12771 set dummy gtk
-config; ac_word
=$2
12772 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12773 echo "configure:12774: checking for $ac_word" >&5
12774 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12775 echo $ac_n "(cached) $ac_c" 1>&6
12777 case "$GTK_CONFIG" in
12779 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12782 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12785 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12787 for ac_dir
in $ac_dummy; do
12788 test -z "$ac_dir" && ac_dir
=.
12789 if test -f $ac_dir/$ac_word; then
12790 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12795 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12799 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12800 if test -n "$GTK_CONFIG"; then
12801 echo "$ac_t""$GTK_CONFIG" 1>&6
12803 echo "$ac_t""no" 1>&6
12806 min_gtk_version
=1.2.7
12807 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12808 echo "configure:12809: checking for GTK - version >= $min_gtk_version" >&5
12810 if test "$GTK_CONFIG" = "no" ; then
12813 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12814 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12815 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12816 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12817 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12818 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12819 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12820 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12821 if test "x$enable_gtktest" = "xyes" ; then
12822 ac_save_CFLAGS
="$CFLAGS"
12823 ac_save_LIBS
="$LIBS"
12824 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12825 LIBS
="$GTK_LIBS $LIBS"
12827 if test "$cross_compiling" = yes; then
12828 echo $ac_n "cross compiling; assumed OK... $ac_c"
12830 cat > conftest.
$ac_ext <<EOF
12831 #line 12832 "configure"
12832 #include "confdefs.h"
12834 #include <gtk/gtk.h>
12836 #include <stdlib.h>
12841 int major, minor, micro;
12844 system ("touch conf.gtktest");
12846 /* HP/UX 9 (%@#!) writes to sscanf strings */
12847 tmp_version = g_strdup("$min_gtk_version");
12848 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12849 printf("%s, bad version string\n", "$min_gtk_version");
12853 if ((gtk_major_version != $gtk_config_major_version) ||
12854 (gtk_minor_version != $gtk_config_minor_version) ||
12855 (gtk_micro_version != $gtk_config_micro_version))
12857 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12858 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12859 gtk_major_version, gtk_minor_version, gtk_micro_version);
12860 printf ("*** was found! If gtk-config was correct, then it is best\n");
12861 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12862 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12863 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12864 printf("*** required on your system.\n");
12865 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12866 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12867 printf("*** before re-running configure\n");
12869 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12870 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12871 (gtk_minor_version != GTK_MINOR_VERSION) ||
12872 (gtk_micro_version != GTK_MICRO_VERSION))
12874 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12875 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12876 printf("*** library (version %d.%d.%d)\n",
12877 gtk_major_version, gtk_minor_version, gtk_micro_version);
12879 #endif /* defined (GTK_MAJOR_VERSION) ... */
12882 if ((gtk_major_version > major) ||
12883 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12884 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12890 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12891 gtk_major_version, gtk_minor_version, gtk_micro_version);
12892 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12893 major, minor, micro);
12894 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12896 printf("*** If you have already installed a sufficiently new version, this error\n");
12897 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12898 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12899 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12900 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12901 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12902 printf("*** so that the correct libraries are found at run-time))\n");
12909 if { (eval echo configure
:12910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12913 echo "configure: failed program was:" >&5
12914 cat conftest.
$ac_ext >&5
12921 CFLAGS
="$ac_save_CFLAGS"
12922 LIBS
="$ac_save_LIBS"
12925 if test "x$no_gtk" = x
; then
12926 echo "$ac_t""yes" 1>&6
12927 wx_cv_lib_gtk
=1.2.7
12929 echo "$ac_t""no" 1>&6
12930 if test "$GTK_CONFIG" = "no" ; then
12931 echo "*** The gtk-config script installed by GTK could not be found"
12932 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12933 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12934 echo "*** full path to gtk-config."
12936 if test -f conf.gtktest
; then
12939 echo "*** Could not run GTK test program, checking why..."
12940 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12941 LIBS
="$LIBS $GTK_LIBS"
12942 cat > conftest.
$ac_ext <<EOF
12943 #line 12944 "configure"
12944 #include "confdefs.h"
12946 #include <gtk/gtk.h>
12950 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12953 if { (eval echo configure
:12954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12955 echo "*** The test program compiled, but did not run. This usually means"
12956 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12957 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12958 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12959 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12960 echo "*** is required on your system"
12962 echo "*** If you have an old version installed, it is best to remove it, although"
12963 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12965 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12966 echo "*** came with the system with the command"
12968 echo "*** rpm --erase --nodeps gtk gtk-devel"
12970 echo "configure: failed program was:" >&5
12971 cat conftest.
$ac_ext >&5
12973 echo "*** The test program failed to compile or link. See the file config.log for the"
12974 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12975 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12976 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12979 CFLAGS
="$ac_save_CFLAGS"
12980 LIBS
="$ac_save_LIBS"
12992 if test -z "$wx_cv_lib_gtk"; then
12993 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12994 if test "${with_gtk_prefix+set}" = set; then
12995 withval
="$with_gtk_prefix"
12996 gtk_config_prefix
="$withval"
12998 gtk_config_prefix
=""
13001 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
13002 if test "${with_gtk_exec_prefix+set}" = set; then
13003 withval
="$with_gtk_exec_prefix"
13004 gtk_config_exec_prefix
="$withval"
13006 gtk_config_exec_prefix
=""
13009 # Check whether --enable-gtktest or --disable-gtktest was given.
13010 if test "${enable_gtktest+set}" = set; then
13011 enableval
="$enable_gtktest"
13018 for module
in .
$GTK_MODULES
13022 gtk_config_args
="$gtk_config_args gthread"
13027 if test x
$gtk_config_exec_prefix != x
; then
13028 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
13029 if test x
${GTK_CONFIG+set} != xset
; then
13030 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
13033 if test x
$gtk_config_prefix != x
; then
13034 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
13035 if test x
${GTK_CONFIG+set} != xset
; then
13036 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
13040 # Extract the first word of "gtk-config", so it can be a program name with args.
13041 set dummy gtk
-config; ac_word
=$2
13042 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13043 echo "configure:13044: checking for $ac_word" >&5
13044 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
13045 echo $ac_n "(cached) $ac_c" 1>&6
13047 case "$GTK_CONFIG" in
13049 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
13052 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
13055 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13057 for ac_dir
in $ac_dummy; do
13058 test -z "$ac_dir" && ac_dir
=.
13059 if test -f $ac_dir/$ac_word; then
13060 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
13065 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
13069 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
13070 if test -n "$GTK_CONFIG"; then
13071 echo "$ac_t""$GTK_CONFIG" 1>&6
13073 echo "$ac_t""no" 1>&6
13076 min_gtk_version
=1.2.3
13077 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
13078 echo "configure:13079: checking for GTK - version >= $min_gtk_version" >&5
13080 if test "$GTK_CONFIG" = "no" ; then
13083 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
13084 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
13085 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
13086 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13087 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
13088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13089 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
13090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13091 if test "x$enable_gtktest" = "xyes" ; then
13092 ac_save_CFLAGS
="$CFLAGS"
13093 ac_save_LIBS
="$LIBS"
13094 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13095 LIBS
="$GTK_LIBS $LIBS"
13097 if test "$cross_compiling" = yes; then
13098 echo $ac_n "cross compiling; assumed OK... $ac_c"
13100 cat > conftest.
$ac_ext <<EOF
13101 #line 13102 "configure"
13102 #include "confdefs.h"
13104 #include <gtk/gtk.h>
13106 #include <stdlib.h>
13111 int major, minor, micro;
13114 system ("touch conf.gtktest");
13116 /* HP/UX 9 (%@#!) writes to sscanf strings */
13117 tmp_version = g_strdup("$min_gtk_version");
13118 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13119 printf("%s, bad version string\n", "$min_gtk_version");
13123 if ((gtk_major_version != $gtk_config_major_version) ||
13124 (gtk_minor_version != $gtk_config_minor_version) ||
13125 (gtk_micro_version != $gtk_config_micro_version))
13127 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
13128 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
13129 gtk_major_version, gtk_minor_version, gtk_micro_version);
13130 printf ("*** was found! If gtk-config was correct, then it is best\n");
13131 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
13132 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13133 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13134 printf("*** required on your system.\n");
13135 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
13136 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
13137 printf("*** before re-running configure\n");
13139 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
13140 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
13141 (gtk_minor_version != GTK_MINOR_VERSION) ||
13142 (gtk_micro_version != GTK_MICRO_VERSION))
13144 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
13145 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
13146 printf("*** library (version %d.%d.%d)\n",
13147 gtk_major_version, gtk_minor_version, gtk_micro_version);
13149 #endif /* defined (GTK_MAJOR_VERSION) ... */
13152 if ((gtk_major_version > major) ||
13153 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
13154 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
13160 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
13161 gtk_major_version, gtk_minor_version, gtk_micro_version);
13162 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13163 major, minor, micro);
13164 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13166 printf("*** If you have already installed a sufficiently new version, this error\n");
13167 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13168 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13169 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13170 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13171 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13172 printf("*** so that the correct libraries are found at run-time))\n");
13179 if { (eval echo configure
:13180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13183 echo "configure: failed program was:" >&5
13184 cat conftest.
$ac_ext >&5
13191 CFLAGS
="$ac_save_CFLAGS"
13192 LIBS
="$ac_save_LIBS"
13195 if test "x$no_gtk" = x
; then
13196 echo "$ac_t""yes" 1>&6
13197 wx_cv_lib_gtk
=1.2.3
13199 echo "$ac_t""no" 1>&6
13200 if test "$GTK_CONFIG" = "no" ; then
13201 echo "*** The gtk-config script installed by GTK could not be found"
13202 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13203 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13204 echo "*** full path to gtk-config."
13206 if test -f conf.gtktest
; then
13209 echo "*** Could not run GTK test program, checking why..."
13210 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13211 LIBS
="$LIBS $GTK_LIBS"
13212 cat > conftest.
$ac_ext <<EOF
13213 #line 13214 "configure"
13214 #include "confdefs.h"
13216 #include <gtk/gtk.h>
13220 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13223 if { (eval echo configure
:13224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13225 echo "*** The test program compiled, but did not run. This usually means"
13226 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13227 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13228 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13229 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13230 echo "*** is required on your system"
13232 echo "*** If you have an old version installed, it is best to remove it, although"
13233 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13235 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13236 echo "*** came with the system with the command"
13238 echo "*** rpm --erase --nodeps gtk gtk-devel"
13240 echo "configure: failed program was:" >&5
13241 cat conftest.
$ac_ext >&5
13243 echo "*** The test program failed to compile or link. See the file config.log for the"
13244 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13245 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13246 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13249 CFLAGS
="$ac_save_CFLAGS"
13250 LIBS
="$ac_save_LIBS"
13264 if test -z "$wx_cv_lib_gtk"; then
13267 wx_cv_cflags_gtk
=$GTK_CFLAGS
13268 wx_cv_libs_gtk
=$GTK_LIBS
13275 if test "$gtk_version_cached" = 1; then
13276 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13279 case "$wx_cv_lib_gtk" in
13288 *) { echo "configure: error:
13289 Please check that gtk-config is in path, the directory
13290 where GTK+ libraries are installed (returned by
13291 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13292 equivalent variable and GTK+ is version 1.2.3 or above.
13297 if test "$WXGTK20" = 1; then
13298 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13302 if test -z "$PKG_CONFIG"; then
13303 # Extract the first word of "pkg-config", so it can be a program name with args.
13304 set dummy pkg
-config; ac_word
=$2
13305 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13306 echo "configure:13307: checking for $ac_word" >&5
13307 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13308 echo $ac_n "(cached) $ac_c" 1>&6
13310 case "$PKG_CONFIG" in
13312 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13315 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13318 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13320 for ac_dir
in $ac_dummy; do
13321 test -z "$ac_dir" && ac_dir
=.
13322 if test -f $ac_dir/$ac_word; then
13323 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13328 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13332 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13333 if test -n "$PKG_CONFIG"; then
13334 echo "$ac_t""$PKG_CONFIG" 1>&6
13336 echo "$ac_t""no" 1>&6
13341 if test "$PKG_CONFIG" = "no" ; then
13342 echo "*** The pkg-config script could not be found. Make sure it is"
13343 echo "*** in your path, or set the PKG_CONFIG environment variable"
13344 echo "*** to the full path to pkg-config."
13345 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13347 PKG_CONFIG_MIN_VERSION
=0.9.0
13348 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13349 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13350 echo "configure:13351: checking for pangoft2" >&5
13352 if $PKG_CONFIG --exists "pangoft2" ; then
13353 echo "$ac_t""yes" 1>&6
13356 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13357 echo "configure:13358: checking PANGOFT2_CFLAGS" >&5
13358 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13359 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13361 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13362 echo "configure:13363: checking PANGOFT2_LIBS" >&5
13363 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13364 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13368 ## If we have a custom action on failure, don't print errors, but
13369 ## do set a variable so people can do so.
13370 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13377 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13378 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13382 if test $succeeded = yes; then
13384 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13385 LIBS
="$LIBS $PANGOFT2_LIBS"
13389 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13390 wxUSE_PRINTING_ARCHITECTURE
="no"
13397 if test "$wxUSE_UNICODE" = "yes"; then
13398 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13403 if test "$USE_DARWIN" != 1; then
13404 for ac_func
in poll
13406 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13407 echo "configure:13408: checking for $ac_func" >&5
13408 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13409 echo $ac_n "(cached) $ac_c" 1>&6
13411 cat > conftest.
$ac_ext <<EOF
13412 #line 13413 "configure"
13413 #include "confdefs.h"
13414 /* System header to define __stub macros and hopefully few prototypes,
13415 which can conflict with char $ac_func(); below. */
13416 #include <assert.h>
13417 /* Override any gcc2 internal prototype to avoid an error. */
13418 /* We use char because int might match the return type of a gcc2
13419 builtin and then its argument prototype would still apply. */
13424 /* The GNU C library defines this for functions which it implements
13425 to always fail with ENOSYS. Some functions are actually named
13426 something starting with __ and the normal name is an alias. */
13427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13435 if { (eval echo configure
:13436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13437 eval "ac_cv_func_$ac_func=yes"
13439 echo "configure: failed program was:" >&5
13440 cat conftest.
$ac_ext >&5
13442 eval "ac_cv_func_$ac_func=no"
13447 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13448 echo "$ac_t""yes" 1>&6
13449 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13450 cat >> confdefs.h
<<EOF
13451 #define $ac_tr_func 1
13455 echo "$ac_t""no" 1>&6
13461 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13462 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13464 AFMINSTALL
=afminstall
13468 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13469 echo "configure:13470: checking for gdk_im_open in -lgdk" >&5
13470 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13471 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13472 echo $ac_n "(cached) $ac_c" 1>&6
13474 ac_save_LIBS
="$LIBS"
13476 cat > conftest.
$ac_ext <<EOF
13477 #line 13478 "configure"
13478 #include "confdefs.h"
13479 /* Override any gcc2 internal prototype to avoid an error. */
13480 /* We use char because int might match the return type of a gcc2
13481 builtin and then its argument prototype would still apply. */
13482 char gdk_im_open();
13488 if { (eval echo configure
:13489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13490 eval "ac_cv_lib_$ac_lib_var=yes"
13492 echo "configure: failed program was:" >&5
13493 cat conftest.
$ac_ext >&5
13495 eval "ac_cv_lib_$ac_lib_var=no"
13498 LIBS
="$ac_save_LIBS"
13501 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13502 echo "$ac_t""yes" 1>&6
13503 cat >> confdefs.h
<<\EOF
13508 echo "$ac_t""no" 1>&6
13513 if test "$wxUSE_MGL" = 1; then
13514 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13515 echo "configure:13516: checking for SciTech MGL library" >&5
13516 if test "x$MGL_ROOT" = x
; then
13517 echo "$ac_t""not found" 1>&6
13518 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13520 echo "$ac_t""$MGL_ROOT" 1>&6
13523 echo $ac_n "checking for libmgl location""... $ac_c" 1>&6
13524 echo "configure:13525: checking for libmgl location" >&5
13527 if test "x$wxUSE_SHARED" = xyes
; then
13528 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
13530 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
13534 mgl_os_candidates
="dos32/dj2"
13537 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13543 for mgl_os_i
in $mgl_os_candidates ; do
13544 if test "x$mgl_os" = x
; then
13545 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13546 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
13547 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
13552 if test "x$mgl_lib_type" = x
; then
13553 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
13554 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
13555 mgl_lib_type
=release
13562 if test "x$mgl_os" = x
; then
13563 echo "$ac_t""not found" 1>&6
13564 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13566 echo "$ac_t"""$MGL_ROOT/lib
/$mgl_lib_type/$mgl_os"" 1>&6
13568 wxUSE_UNIVERSAL
="yes"
13570 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13571 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13573 AFMINSTALL
=afminstall
13578 if test "$wxUSE_MICROWIN" = 1; then
13579 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13580 echo "configure:13581: checking for MicroWindows" >&5
13581 if test "x$MICROWINDOWS" = x
; then
13582 echo "$ac_t""not found" 1>&6
13583 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13585 echo "$ac_t""$MICROWINDOWS" 1>&6
13588 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13589 echo "$ac_t""MicroWindows' libraries found." 1>&6
13591 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13594 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13595 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13597 wxUSE_UNIVERSAL
="yes"
13599 AFMINSTALL
=afminstall
13601 GUIDIST
=MICROWIN_DIST
13603 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13606 if test "$wxUSE_X11" = 1; then
13607 # If we find X, set shell vars x_includes and x_libraries to the
13608 # paths, otherwise set no_x=yes.
13609 # Uses ac_ vars as temps to allow command line to override cache and checks.
13610 # --without-x overrides everything else, but does not touch the cache.
13611 echo $ac_n "checking for X""... $ac_c" 1>&6
13612 echo "configure:13613: checking for X" >&5
13614 # Check whether --with-x or --without-x was given.
13615 if test "${with_x+set}" = set; then
13620 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13621 if test "x$with_x" = xno
; then
13622 # The user explicitly disabled X.
13625 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13626 # Both variables are already set.
13629 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13630 echo $ac_n "(cached) $ac_c" 1>&6
13632 # One or both of the vars are not set, and there is no cached value.
13633 ac_x_includes
=NO ac_x_libraries
=NO
13635 if mkdir conftestdir
; then
13637 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13638 cat > Imakefile
<<'EOF'
13640 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13642 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13643 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13644 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13645 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13646 for ac_extension
in a so sl
; do
13647 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13648 test -f $ac_im_libdir/libX11.
$ac_extension; then
13649 ac_im_usrlibdir
=$ac_im_libdir; break
13652 # Screen out bogus values from the imake configuration. They are
13653 # bogus both because they are the default anyway, and because
13654 # using them would break gcc on systems where it needs fixed includes.
13655 case "$ac_im_incroot" in
13657 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13659 case "$ac_im_usrlibdir" in
13660 /usr
/lib
| /lib
) ;;
13661 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13668 if test "$ac_x_includes" = NO
; then
13669 # Guess where to find include files, by looking for this one X11 .h file.
13670 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13672 # First, try using that file with no special directory specified.
13673 cat > conftest.
$ac_ext <<EOF
13674 #line 13675 "configure"
13675 #include "confdefs.h"
13676 #include <$x_direct_test_include>
13678 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13679 { (eval echo configure
:13680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13680 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13681 if test -z "$ac_err"; then
13683 # We can compile using X headers with no special include directory.
13687 echo "configure: failed program was:" >&5
13688 cat conftest.
$ac_ext >&5
13690 # Look for the header file in a standard set of common directories.
13691 # Check X11 before X11Rn because it is often a symlink to the current release.
13694 /usr
/X
11R
6/include \
13695 /usr
/X
11R
5/include \
13696 /usr
/X
11R
4/include \
13699 /usr
/include
/X11R6 \
13700 /usr
/include
/X11R5 \
13701 /usr
/include
/X11R4 \
13703 /usr
/local
/X
11/include \
13704 /usr
/local
/X
11R
6/include \
13705 /usr
/local
/X
11R
5/include \
13706 /usr
/local
/X
11R
4/include \
13708 /usr
/local
/include
/X11 \
13709 /usr
/local
/include
/X11R6 \
13710 /usr
/local
/include
/X11R5 \
13711 /usr
/local
/include
/X11R4 \
13713 /usr
/X
386/include \
13714 /usr
/x
386/include \
13715 /usr
/XFree
86/include
/X11 \
13718 /usr
/local
/include \
13719 /usr
/unsupported
/include \
13720 /usr
/athena
/include \
13721 /usr
/local
/x
11r
5/include \
13722 /usr
/lpp
/Xamples
/include \
13724 /usr
/openwin
/include \
13725 /usr
/openwin
/share
/include \
13728 if test -r "$ac_dir/$x_direct_test_include"; then
13729 ac_x_includes
=$ac_dir
13735 fi # $ac_x_includes = NO
13737 if test "$ac_x_libraries" = NO
; then
13738 # Check for the libraries.
13740 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13741 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13743 # See if we find them without any special options.
13744 # Don't add to $LIBS permanently.
13745 ac_save_LIBS
="$LIBS"
13746 LIBS
="-l$x_direct_test_library $LIBS"
13747 cat > conftest.
$ac_ext <<EOF
13748 #line 13749 "configure"
13749 #include "confdefs.h"
13752 ${x_direct_test_function}()
13755 if { (eval echo configure
:13756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13757 LIBS
="$ac_save_LIBS"
13758 # We can link X programs with no special library path.
13761 echo "configure: failed program was:" >&5
13762 cat conftest.
$ac_ext >&5
13764 LIBS
="$ac_save_LIBS"
13765 # First see if replacing the include by lib works.
13766 # Check X11 before X11Rn because it is often a symlink to the current release.
13767 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13778 /usr
/local
/X
11/lib \
13779 /usr
/local
/X
11R
6/lib \
13780 /usr
/local
/X
11R
5/lib \
13781 /usr
/local
/X
11R
4/lib \
13783 /usr
/local
/lib
/X11 \
13784 /usr
/local
/lib
/X11R6 \
13785 /usr
/local
/lib
/X11R5 \
13786 /usr
/local
/lib
/X11R4 \
13790 /usr
/XFree
86/lib
/X11 \
13794 /usr
/unsupported
/lib \
13796 /usr
/local
/x
11r
5/lib \
13797 /usr
/lpp
/Xamples
/lib \
13801 /usr
/openwin
/share
/lib \
13804 for ac_extension
in a so sl
; do
13805 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13806 ac_x_libraries
=$ac_dir
13813 fi # $ac_x_libraries = NO
13815 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13816 # Didn't find X anywhere. Cache the known absence of X.
13817 ac_cv_have_x
="have_x=no"
13819 # Record where we found X for the cache.
13820 ac_cv_have_x
="have_x=yes \
13821 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13825 eval "$ac_cv_have_x"
13828 if test "$have_x" != yes; then
13829 echo "$ac_t""$have_x" 1>&6
13832 # If each of the values was on the command line, it overrides each guess.
13833 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13834 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13835 # Update the cache value to reflect the command line values.
13836 ac_cv_have_x
="have_x=yes \
13837 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13838 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13841 if test "$no_x" = yes; then
13842 # Not all programs may use this symbol, but it does not hurt to define it.
13843 cat >> confdefs.h
<<\EOF
13844 #define X_DISPLAY_MISSING 1
13847 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13849 if test -n "$x_includes"; then
13850 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13853 # It would also be nice to do this for all -L options, not just this one.
13854 if test -n "$x_libraries"; then
13855 X_LIBS
="$X_LIBS -L$x_libraries"
13856 # For Solaris; some versions of Sun CC require a space after -R and
13857 # others require no space. Words are not sufficient . . . .
13858 case "`(uname -sr) 2>/dev/null`" in
13860 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13861 echo "configure:13862: checking whether -R must be followed by a space" >&5
13862 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13863 cat > conftest.
$ac_ext <<EOF
13864 #line 13865 "configure"
13865 #include "confdefs.h"
13871 if { (eval echo configure
:13872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13875 echo "configure: failed program was:" >&5
13876 cat conftest.
$ac_ext >&5
13881 if test $ac_R_nospace = yes; then
13882 echo "$ac_t""no" 1>&6
13883 X_LIBS
="$X_LIBS -R$x_libraries"
13885 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13886 cat > conftest.
$ac_ext <<EOF
13887 #line 13888 "configure"
13888 #include "confdefs.h"
13894 if { (eval echo configure
:13895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13898 echo "configure: failed program was:" >&5
13899 cat conftest.
$ac_ext >&5
13904 if test $ac_R_space = yes; then
13905 echo "$ac_t""yes" 1>&6
13906 X_LIBS
="$X_LIBS -R $x_libraries"
13908 echo "$ac_t""neither works" 1>&6
13911 LIBS
="$ac_xsave_LIBS"
13915 # Check for system-dependent libraries X programs must link with.
13916 # Do this before checking for the system-independent R6 libraries
13917 # (-lICE), since we may need -lsocket or whatever for X linking.
13919 if test "$ISC" = yes; then
13920 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13922 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13923 # libraries were built with DECnet support. And karl@cs.umb.edu says
13924 # the Alpha needs dnet_stub (dnet does not exist).
13925 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13926 echo "configure:13927: checking for dnet_ntoa in -ldnet" >&5
13927 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13928 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13929 echo $ac_n "(cached) $ac_c" 1>&6
13931 ac_save_LIBS
="$LIBS"
13932 LIBS
="-ldnet $LIBS"
13933 cat > conftest.
$ac_ext <<EOF
13934 #line 13935 "configure"
13935 #include "confdefs.h"
13936 /* Override any gcc2 internal prototype to avoid an error. */
13937 /* We use char because int might match the return type of a gcc2
13938 builtin and then its argument prototype would still apply. */
13945 if { (eval echo configure
:13946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13947 eval "ac_cv_lib_$ac_lib_var=yes"
13949 echo "configure: failed program was:" >&5
13950 cat conftest.
$ac_ext >&5
13952 eval "ac_cv_lib_$ac_lib_var=no"
13955 LIBS
="$ac_save_LIBS"
13958 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13959 echo "$ac_t""yes" 1>&6
13960 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13962 echo "$ac_t""no" 1>&6
13965 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13966 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13967 echo "configure:13968: checking for dnet_ntoa in -ldnet_stub" >&5
13968 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13969 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13970 echo $ac_n "(cached) $ac_c" 1>&6
13972 ac_save_LIBS
="$LIBS"
13973 LIBS
="-ldnet_stub $LIBS"
13974 cat > conftest.
$ac_ext <<EOF
13975 #line 13976 "configure"
13976 #include "confdefs.h"
13977 /* Override any gcc2 internal prototype to avoid an error. */
13978 /* We use char because int might match the return type of a gcc2
13979 builtin and then its argument prototype would still apply. */
13986 if { (eval echo configure
:13987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13988 eval "ac_cv_lib_$ac_lib_var=yes"
13990 echo "configure: failed program was:" >&5
13991 cat conftest.
$ac_ext >&5
13993 eval "ac_cv_lib_$ac_lib_var=no"
13996 LIBS
="$ac_save_LIBS"
13999 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14000 echo "$ac_t""yes" 1>&6
14001 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14003 echo "$ac_t""no" 1>&6
14008 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14009 # to get the SysV transport functions.
14010 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14012 # The nsl library prevents programs from opening the X display
14013 # on Irix 5.2, according to dickey@clark.net.
14014 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14015 echo "configure:14016: checking for gethostbyname" >&5
14016 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14017 echo $ac_n "(cached) $ac_c" 1>&6
14019 cat > conftest.
$ac_ext <<EOF
14020 #line 14021 "configure"
14021 #include "confdefs.h"
14022 /* System header to define __stub macros and hopefully few prototypes,
14023 which can conflict with char gethostbyname(); below. */
14024 #include <assert.h>
14025 /* Override any gcc2 internal prototype to avoid an error. */
14026 /* We use char because int might match the return type of a gcc2
14027 builtin and then its argument prototype would still apply. */
14028 char gethostbyname();
14032 /* The GNU C library defines this for functions which it implements
14033 to always fail with ENOSYS. Some functions are actually named
14034 something starting with __ and the normal name is an alias. */
14035 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14043 if { (eval echo configure
:14044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14045 eval "ac_cv_func_gethostbyname=yes"
14047 echo "configure: failed program was:" >&5
14048 cat conftest.
$ac_ext >&5
14050 eval "ac_cv_func_gethostbyname=no"
14055 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14056 echo "$ac_t""yes" 1>&6
14059 echo "$ac_t""no" 1>&6
14062 if test $ac_cv_func_gethostbyname = no
; then
14063 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14064 echo "configure:14065: checking for gethostbyname in -lnsl" >&5
14065 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14066 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14067 echo $ac_n "(cached) $ac_c" 1>&6
14069 ac_save_LIBS
="$LIBS"
14071 cat > conftest.
$ac_ext <<EOF
14072 #line 14073 "configure"
14073 #include "confdefs.h"
14074 /* Override any gcc2 internal prototype to avoid an error. */
14075 /* We use char because int might match the return type of a gcc2
14076 builtin and then its argument prototype would still apply. */
14077 char gethostbyname();
14083 if { (eval echo configure
:14084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14085 eval "ac_cv_lib_$ac_lib_var=yes"
14087 echo "configure: failed program was:" >&5
14088 cat conftest.
$ac_ext >&5
14090 eval "ac_cv_lib_$ac_lib_var=no"
14093 LIBS
="$ac_save_LIBS"
14096 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14097 echo "$ac_t""yes" 1>&6
14098 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14100 echo "$ac_t""no" 1>&6
14105 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14106 # socket/setsockopt and other routines are undefined under SCO ODT
14107 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14108 # on later versions), says simon@lia.di.epfl.ch: it contains
14109 # gethostby* variants that don't use the nameserver (or something).
14110 # -lsocket must be given before -lnsl if both are needed.
14111 # We assume that if connect needs -lnsl, so does gethostbyname.
14112 echo $ac_n "checking for connect""... $ac_c" 1>&6
14113 echo "configure:14114: checking for connect" >&5
14114 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14115 echo $ac_n "(cached) $ac_c" 1>&6
14117 cat > conftest.
$ac_ext <<EOF
14118 #line 14119 "configure"
14119 #include "confdefs.h"
14120 /* System header to define __stub macros and hopefully few prototypes,
14121 which can conflict with char connect(); below. */
14122 #include <assert.h>
14123 /* Override any gcc2 internal prototype to avoid an error. */
14124 /* We use char because int might match the return type of a gcc2
14125 builtin and then its argument prototype would still apply. */
14130 /* The GNU C library defines this for functions which it implements
14131 to always fail with ENOSYS. Some functions are actually named
14132 something starting with __ and the normal name is an alias. */
14133 #if defined (__stub_connect) || defined (__stub___connect)
14141 if { (eval echo configure
:14142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14143 eval "ac_cv_func_connect=yes"
14145 echo "configure: failed program was:" >&5
14146 cat conftest.
$ac_ext >&5
14148 eval "ac_cv_func_connect=no"
14153 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14154 echo "$ac_t""yes" 1>&6
14157 echo "$ac_t""no" 1>&6
14160 if test $ac_cv_func_connect = no
; then
14161 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14162 echo "configure:14163: checking for connect in -lsocket" >&5
14163 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14164 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14165 echo $ac_n "(cached) $ac_c" 1>&6
14167 ac_save_LIBS
="$LIBS"
14168 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14169 cat > conftest.
$ac_ext <<EOF
14170 #line 14171 "configure"
14171 #include "confdefs.h"
14172 /* Override any gcc2 internal prototype to avoid an error. */
14173 /* We use char because int might match the return type of a gcc2
14174 builtin and then its argument prototype would still apply. */
14181 if { (eval echo configure
:14182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14183 eval "ac_cv_lib_$ac_lib_var=yes"
14185 echo "configure: failed program was:" >&5
14186 cat conftest.
$ac_ext >&5
14188 eval "ac_cv_lib_$ac_lib_var=no"
14191 LIBS
="$ac_save_LIBS"
14194 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14195 echo "$ac_t""yes" 1>&6
14196 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14198 echo "$ac_t""no" 1>&6
14203 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14204 echo $ac_n "checking for remove""... $ac_c" 1>&6
14205 echo "configure:14206: checking for remove" >&5
14206 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14207 echo $ac_n "(cached) $ac_c" 1>&6
14209 cat > conftest.
$ac_ext <<EOF
14210 #line 14211 "configure"
14211 #include "confdefs.h"
14212 /* System header to define __stub macros and hopefully few prototypes,
14213 which can conflict with char remove(); below. */
14214 #include <assert.h>
14215 /* Override any gcc2 internal prototype to avoid an error. */
14216 /* We use char because int might match the return type of a gcc2
14217 builtin and then its argument prototype would still apply. */
14222 /* The GNU C library defines this for functions which it implements
14223 to always fail with ENOSYS. Some functions are actually named
14224 something starting with __ and the normal name is an alias. */
14225 #if defined (__stub_remove) || defined (__stub___remove)
14233 if { (eval echo configure
:14234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14235 eval "ac_cv_func_remove=yes"
14237 echo "configure: failed program was:" >&5
14238 cat conftest.
$ac_ext >&5
14240 eval "ac_cv_func_remove=no"
14245 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14246 echo "$ac_t""yes" 1>&6
14249 echo "$ac_t""no" 1>&6
14252 if test $ac_cv_func_remove = no
; then
14253 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14254 echo "configure:14255: checking for remove in -lposix" >&5
14255 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14256 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14257 echo $ac_n "(cached) $ac_c" 1>&6
14259 ac_save_LIBS
="$LIBS"
14260 LIBS
="-lposix $LIBS"
14261 cat > conftest.
$ac_ext <<EOF
14262 #line 14263 "configure"
14263 #include "confdefs.h"
14264 /* Override any gcc2 internal prototype to avoid an error. */
14265 /* We use char because int might match the return type of a gcc2
14266 builtin and then its argument prototype would still apply. */
14273 if { (eval echo configure
:14274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14275 eval "ac_cv_lib_$ac_lib_var=yes"
14277 echo "configure: failed program was:" >&5
14278 cat conftest.
$ac_ext >&5
14280 eval "ac_cv_lib_$ac_lib_var=no"
14283 LIBS
="$ac_save_LIBS"
14286 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14287 echo "$ac_t""yes" 1>&6
14288 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14290 echo "$ac_t""no" 1>&6
14295 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14296 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14297 echo "configure:14298: checking for shmat" >&5
14298 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14299 echo $ac_n "(cached) $ac_c" 1>&6
14301 cat > conftest.
$ac_ext <<EOF
14302 #line 14303 "configure"
14303 #include "confdefs.h"
14304 /* System header to define __stub macros and hopefully few prototypes,
14305 which can conflict with char shmat(); below. */
14306 #include <assert.h>
14307 /* Override any gcc2 internal prototype to avoid an error. */
14308 /* We use char because int might match the return type of a gcc2
14309 builtin and then its argument prototype would still apply. */
14314 /* The GNU C library defines this for functions which it implements
14315 to always fail with ENOSYS. Some functions are actually named
14316 something starting with __ and the normal name is an alias. */
14317 #if defined (__stub_shmat) || defined (__stub___shmat)
14325 if { (eval echo configure
:14326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14327 eval "ac_cv_func_shmat=yes"
14329 echo "configure: failed program was:" >&5
14330 cat conftest.
$ac_ext >&5
14332 eval "ac_cv_func_shmat=no"
14337 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14338 echo "$ac_t""yes" 1>&6
14341 echo "$ac_t""no" 1>&6
14344 if test $ac_cv_func_shmat = no
; then
14345 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14346 echo "configure:14347: checking for shmat in -lipc" >&5
14347 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14348 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14349 echo $ac_n "(cached) $ac_c" 1>&6
14351 ac_save_LIBS
="$LIBS"
14353 cat > conftest.
$ac_ext <<EOF
14354 #line 14355 "configure"
14355 #include "confdefs.h"
14356 /* Override any gcc2 internal prototype to avoid an error. */
14357 /* We use char because int might match the return type of a gcc2
14358 builtin and then its argument prototype would still apply. */
14365 if { (eval echo configure
:14366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14367 eval "ac_cv_lib_$ac_lib_var=yes"
14369 echo "configure: failed program was:" >&5
14370 cat conftest.
$ac_ext >&5
14372 eval "ac_cv_lib_$ac_lib_var=no"
14375 LIBS
="$ac_save_LIBS"
14378 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14379 echo "$ac_t""yes" 1>&6
14380 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14382 echo "$ac_t""no" 1>&6
14388 # Check for libraries that X11R6 Xt/Xaw programs need.
14389 ac_save_LDFLAGS
="$LDFLAGS"
14390 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14391 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14392 # check for ICE first), but we must link in the order -lSM -lICE or
14393 # we get undefined symbols. So assume we have SM if we have ICE.
14394 # These have to be linked with before -lX11, unlike the other
14395 # libraries we check for below, so use a different variable.
14396 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14397 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14398 echo "configure:14399: checking for IceConnectionNumber in -lICE" >&5
14399 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14400 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14401 echo $ac_n "(cached) $ac_c" 1>&6
14403 ac_save_LIBS
="$LIBS"
14404 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14405 cat > conftest.
$ac_ext <<EOF
14406 #line 14407 "configure"
14407 #include "confdefs.h"
14408 /* Override any gcc2 internal prototype to avoid an error. */
14409 /* We use char because int might match the return type of a gcc2
14410 builtin and then its argument prototype would still apply. */
14411 char IceConnectionNumber();
14414 IceConnectionNumber()
14417 if { (eval echo configure
:14418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14419 eval "ac_cv_lib_$ac_lib_var=yes"
14421 echo "configure: failed program was:" >&5
14422 cat conftest.
$ac_ext >&5
14424 eval "ac_cv_lib_$ac_lib_var=no"
14427 LIBS
="$ac_save_LIBS"
14430 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14431 echo "$ac_t""yes" 1>&6
14432 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14434 echo "$ac_t""no" 1>&6
14437 LDFLAGS
="$ac_save_LDFLAGS"
14442 if test "$no_x" = "yes"; then
14443 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14446 GUI_TK_LIBRARY
="$X_LIBS"
14447 TOOLKIT_INCLUDE
="$X_CFLAGS"
14448 AFMINSTALL
=afminstall
14449 COMPILED_X_PROGRAM
=0
14451 if test "$wxUSE_NANOX" = "yes"; then
14452 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14453 echo "configure:14454: checking for MicroWindows/NanoX distribution" >&5
14454 if test "x$MICROWIN" = x
; then
14455 echo "$ac_t""not found" 1>&6
14456 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14458 echo "$ac_t""$MICROWIN" 1>&6
14459 cat >> confdefs.h
<<\EOF
14460 #define wxUSE_NANOX 1
14467 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14468 echo "configure:14469: checking for Xpm library" >&5
14471 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14473 for ac_extension
in a so sl dylib
; do
14474 if test -f "$ac_dir/libXpm.$ac_extension"; then
14475 ac_find_libraries
=$ac_dir
14481 if test "$ac_find_libraries" != "" ; then
14483 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14485 if test $result = 0; then
14488 ac_path_to_link
=" -L$ac_find_libraries"
14491 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14493 cat >> confdefs.h
<<\EOF
14494 #define wxHAVE_LIB_XPM 1
14497 echo "$ac_t""found at $ac_find_libraries" 1>&6
14499 cat > conftest.
$ac_ext <<EOF
14500 #line 14501 "configure"
14501 #include "confdefs.h"
14503 #include <X11/xpm.h>
14508 version = XpmLibraryVersion();
14512 if { (eval echo configure
:14513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14516 cat >> confdefs.h
<<\EOF
14517 #define wxHAVE_LIB_XPM 1
14520 echo "$ac_t""found in default search path" 1>&6
14521 COMPILED_X_PROGRAM
=0
14524 echo "configure: failed program was:" >&5
14525 cat conftest.
$ac_ext >&5
14528 echo "$ac_t""no" 1>&6
14529 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14536 if test "$wxUSE_UNICODE" = "yes"; then
14540 if test -z "$PKG_CONFIG"; then
14541 # Extract the first word of "pkg-config", so it can be a program name with args.
14542 set dummy pkg
-config; ac_word
=$2
14543 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14544 echo "configure:14545: checking for $ac_word" >&5
14545 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14546 echo $ac_n "(cached) $ac_c" 1>&6
14548 case "$PKG_CONFIG" in
14550 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14553 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14556 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14558 for ac_dir
in $ac_dummy; do
14559 test -z "$ac_dir" && ac_dir
=.
14560 if test -f $ac_dir/$ac_word; then
14561 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14566 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14570 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14571 if test -n "$PKG_CONFIG"; then
14572 echo "$ac_t""$PKG_CONFIG" 1>&6
14574 echo "$ac_t""no" 1>&6
14579 if test "$PKG_CONFIG" = "no" ; then
14580 echo "*** The pkg-config script could not be found. Make sure it is"
14581 echo "*** in your path, or set the PKG_CONFIG environment variable"
14582 echo "*** to the full path to pkg-config."
14583 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14585 PKG_CONFIG_MIN_VERSION
=0.9.0
14586 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14587 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14588 echo "configure:14589: checking for pangox" >&5
14590 if $PKG_CONFIG --exists "pangox" ; then
14591 echo "$ac_t""yes" 1>&6
14594 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14595 echo "configure:14596: checking PANGOX_CFLAGS" >&5
14596 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14597 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14599 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14600 echo "configure:14601: checking PANGOX_LIBS" >&5
14601 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14602 echo "$ac_t""$PANGOX_LIBS" 1>&6
14606 ## If we have a custom action on failure, don't print errors, but
14607 ## do set a variable so people can do so.
14608 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14615 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14616 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14620 if test $succeeded = yes; then
14622 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14623 LIBS
="$LIBS $PANGOX_LIBS"
14627 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14635 if test -z "$PKG_CONFIG"; then
14636 # Extract the first word of "pkg-config", so it can be a program name with args.
14637 set dummy pkg
-config; ac_word
=$2
14638 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14639 echo "configure:14640: checking for $ac_word" >&5
14640 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14641 echo $ac_n "(cached) $ac_c" 1>&6
14643 case "$PKG_CONFIG" in
14645 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14648 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14651 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14653 for ac_dir
in $ac_dummy; do
14654 test -z "$ac_dir" && ac_dir
=.
14655 if test -f $ac_dir/$ac_word; then
14656 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14661 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14665 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14666 if test -n "$PKG_CONFIG"; then
14667 echo "$ac_t""$PKG_CONFIG" 1>&6
14669 echo "$ac_t""no" 1>&6
14674 if test "$PKG_CONFIG" = "no" ; then
14675 echo "*** The pkg-config script could not be found. Make sure it is"
14676 echo "*** in your path, or set the PKG_CONFIG environment variable"
14677 echo "*** to the full path to pkg-config."
14678 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14680 PKG_CONFIG_MIN_VERSION
=0.9.0
14681 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14682 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14683 echo "configure:14684: checking for pangoft2" >&5
14685 if $PKG_CONFIG --exists "pangoft2" ; then
14686 echo "$ac_t""yes" 1>&6
14689 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14690 echo "configure:14691: checking PANGOFT2_CFLAGS" >&5
14691 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14692 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14694 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14695 echo "configure:14696: checking PANGOFT2_LIBS" >&5
14696 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14697 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14701 ## If we have a custom action on failure, don't print errors, but
14702 ## do set a variable so people can do so.
14703 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14710 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14711 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14715 if test $succeeded = yes; then
14717 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14718 LIBS
="$LIBS $PANGOFT2_LIBS"
14722 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14723 wxUSE_PRINTING_ARCHITECTURE
="no"
14731 if test -z "$PKG_CONFIG"; then
14732 # Extract the first word of "pkg-config", so it can be a program name with args.
14733 set dummy pkg
-config; ac_word
=$2
14734 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14735 echo "configure:14736: checking for $ac_word" >&5
14736 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14737 echo $ac_n "(cached) $ac_c" 1>&6
14739 case "$PKG_CONFIG" in
14741 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14744 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14747 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14749 for ac_dir
in $ac_dummy; do
14750 test -z "$ac_dir" && ac_dir
=.
14751 if test -f $ac_dir/$ac_word; then
14752 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14757 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14761 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14762 if test -n "$PKG_CONFIG"; then
14763 echo "$ac_t""$PKG_CONFIG" 1>&6
14765 echo "$ac_t""no" 1>&6
14770 if test "$PKG_CONFIG" = "no" ; then
14771 echo "*** The pkg-config script could not be found. Make sure it is"
14772 echo "*** in your path, or set the PKG_CONFIG environment variable"
14773 echo "*** to the full path to pkg-config."
14774 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14776 PKG_CONFIG_MIN_VERSION
=0.9.0
14777 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14778 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14779 echo "configure:14780: checking for pangoxft" >&5
14781 if $PKG_CONFIG --exists "pangoxft" ; then
14782 echo "$ac_t""yes" 1>&6
14785 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14786 echo "configure:14787: checking PANGOXFT_CFLAGS" >&5
14787 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14788 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14790 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14791 echo "configure:14792: checking PANGOXFT_LIBS" >&5
14792 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14793 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14797 ## If we have a custom action on failure, don't print errors, but
14798 ## do set a variable so people can do so.
14799 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14806 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14807 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14811 if test $succeeded = yes; then
14813 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14814 LIBS
="$LIBS $PANGOXFT_LIBS"
14818 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14825 wxUSE_UNIVERSAL
="yes"
14827 if test "$wxUSE_NANOX" = "yes"; then
14828 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14829 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"
14830 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14832 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14835 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14840 if test "$wxUSE_MOTIF" = 1; then
14841 if test "$no_x" = yes; then
14842 # Not all programs may use this symbol, but it does not hurt to define it.
14843 cat >> confdefs.h
<<\EOF
14844 #define X_DISPLAY_MISSING 1
14847 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14849 if test -n "$x_includes"; then
14850 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14853 # It would also be nice to do this for all -L options, not just this one.
14854 if test -n "$x_libraries"; then
14855 X_LIBS
="$X_LIBS -L$x_libraries"
14856 # For Solaris; some versions of Sun CC require a space after -R and
14857 # others require no space. Words are not sufficient . . . .
14858 case "`(uname -sr) 2>/dev/null`" in
14860 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14861 echo "configure:14862: checking whether -R must be followed by a space" >&5
14862 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14863 cat > conftest.
$ac_ext <<EOF
14864 #line 14865 "configure"
14865 #include "confdefs.h"
14871 if { (eval echo configure
:14872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14875 echo "configure: failed program was:" >&5
14876 cat conftest.
$ac_ext >&5
14881 if test $ac_R_nospace = yes; then
14882 echo "$ac_t""no" 1>&6
14883 X_LIBS
="$X_LIBS -R$x_libraries"
14885 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14886 cat > conftest.
$ac_ext <<EOF
14887 #line 14888 "configure"
14888 #include "confdefs.h"
14894 if { (eval echo configure
:14895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14898 echo "configure: failed program was:" >&5
14899 cat conftest.
$ac_ext >&5
14904 if test $ac_R_space = yes; then
14905 echo "$ac_t""yes" 1>&6
14906 X_LIBS
="$X_LIBS -R $x_libraries"
14908 echo "$ac_t""neither works" 1>&6
14911 LIBS
="$ac_xsave_LIBS"
14915 # Check for system-dependent libraries X programs must link with.
14916 # Do this before checking for the system-independent R6 libraries
14917 # (-lICE), since we may need -lsocket or whatever for X linking.
14919 if test "$ISC" = yes; then
14920 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14922 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14923 # libraries were built with DECnet support. And karl@cs.umb.edu says
14924 # the Alpha needs dnet_stub (dnet does not exist).
14925 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14926 echo "configure:14927: checking for dnet_ntoa in -ldnet" >&5
14927 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14928 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14929 echo $ac_n "(cached) $ac_c" 1>&6
14931 ac_save_LIBS
="$LIBS"
14932 LIBS
="-ldnet $LIBS"
14933 cat > conftest.
$ac_ext <<EOF
14934 #line 14935 "configure"
14935 #include "confdefs.h"
14936 /* Override any gcc2 internal prototype to avoid an error. */
14937 /* We use char because int might match the return type of a gcc2
14938 builtin and then its argument prototype would still apply. */
14945 if { (eval echo configure
:14946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14947 eval "ac_cv_lib_$ac_lib_var=yes"
14949 echo "configure: failed program was:" >&5
14950 cat conftest.
$ac_ext >&5
14952 eval "ac_cv_lib_$ac_lib_var=no"
14955 LIBS
="$ac_save_LIBS"
14958 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14959 echo "$ac_t""yes" 1>&6
14960 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14962 echo "$ac_t""no" 1>&6
14965 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14966 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14967 echo "configure:14968: checking for dnet_ntoa in -ldnet_stub" >&5
14968 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14969 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14970 echo $ac_n "(cached) $ac_c" 1>&6
14972 ac_save_LIBS
="$LIBS"
14973 LIBS
="-ldnet_stub $LIBS"
14974 cat > conftest.
$ac_ext <<EOF
14975 #line 14976 "configure"
14976 #include "confdefs.h"
14977 /* Override any gcc2 internal prototype to avoid an error. */
14978 /* We use char because int might match the return type of a gcc2
14979 builtin and then its argument prototype would still apply. */
14986 if { (eval echo configure
:14987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14988 eval "ac_cv_lib_$ac_lib_var=yes"
14990 echo "configure: failed program was:" >&5
14991 cat conftest.
$ac_ext >&5
14993 eval "ac_cv_lib_$ac_lib_var=no"
14996 LIBS
="$ac_save_LIBS"
14999 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15000 echo "$ac_t""yes" 1>&6
15001 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
15003 echo "$ac_t""no" 1>&6
15008 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
15009 # to get the SysV transport functions.
15010 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
15012 # The nsl library prevents programs from opening the X display
15013 # on Irix 5.2, according to dickey@clark.net.
15014 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
15015 echo "configure:15016: checking for gethostbyname" >&5
15016 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
15017 echo $ac_n "(cached) $ac_c" 1>&6
15019 cat > conftest.
$ac_ext <<EOF
15020 #line 15021 "configure"
15021 #include "confdefs.h"
15022 /* System header to define __stub macros and hopefully few prototypes,
15023 which can conflict with char gethostbyname(); below. */
15024 #include <assert.h>
15025 /* Override any gcc2 internal prototype to avoid an error. */
15026 /* We use char because int might match the return type of a gcc2
15027 builtin and then its argument prototype would still apply. */
15028 char gethostbyname();
15032 /* The GNU C library defines this for functions which it implements
15033 to always fail with ENOSYS. Some functions are actually named
15034 something starting with __ and the normal name is an alias. */
15035 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
15043 if { (eval echo configure
:15044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15045 eval "ac_cv_func_gethostbyname=yes"
15047 echo "configure: failed program was:" >&5
15048 cat conftest.
$ac_ext >&5
15050 eval "ac_cv_func_gethostbyname=no"
15055 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
15056 echo "$ac_t""yes" 1>&6
15059 echo "$ac_t""no" 1>&6
15062 if test $ac_cv_func_gethostbyname = no
; then
15063 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
15064 echo "configure:15065: checking for gethostbyname in -lnsl" >&5
15065 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
15066 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15067 echo $ac_n "(cached) $ac_c" 1>&6
15069 ac_save_LIBS
="$LIBS"
15071 cat > conftest.
$ac_ext <<EOF
15072 #line 15073 "configure"
15073 #include "confdefs.h"
15074 /* Override any gcc2 internal prototype to avoid an error. */
15075 /* We use char because int might match the return type of a gcc2
15076 builtin and then its argument prototype would still apply. */
15077 char gethostbyname();
15083 if { (eval echo configure
:15084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15085 eval "ac_cv_lib_$ac_lib_var=yes"
15087 echo "configure: failed program was:" >&5
15088 cat conftest.
$ac_ext >&5
15090 eval "ac_cv_lib_$ac_lib_var=no"
15093 LIBS
="$ac_save_LIBS"
15096 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15097 echo "$ac_t""yes" 1>&6
15098 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15100 echo "$ac_t""no" 1>&6
15105 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15106 # socket/setsockopt and other routines are undefined under SCO ODT
15107 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15108 # on later versions), says simon@lia.di.epfl.ch: it contains
15109 # gethostby* variants that don't use the nameserver (or something).
15110 # -lsocket must be given before -lnsl if both are needed.
15111 # We assume that if connect needs -lnsl, so does gethostbyname.
15112 echo $ac_n "checking for connect""... $ac_c" 1>&6
15113 echo "configure:15114: checking for connect" >&5
15114 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
15115 echo $ac_n "(cached) $ac_c" 1>&6
15117 cat > conftest.
$ac_ext <<EOF
15118 #line 15119 "configure"
15119 #include "confdefs.h"
15120 /* System header to define __stub macros and hopefully few prototypes,
15121 which can conflict with char connect(); below. */
15122 #include <assert.h>
15123 /* Override any gcc2 internal prototype to avoid an error. */
15124 /* We use char because int might match the return type of a gcc2
15125 builtin and then its argument prototype would still apply. */
15130 /* The GNU C library defines this for functions which it implements
15131 to always fail with ENOSYS. Some functions are actually named
15132 something starting with __ and the normal name is an alias. */
15133 #if defined (__stub_connect) || defined (__stub___connect)
15141 if { (eval echo configure
:15142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15143 eval "ac_cv_func_connect=yes"
15145 echo "configure: failed program was:" >&5
15146 cat conftest.
$ac_ext >&5
15148 eval "ac_cv_func_connect=no"
15153 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15154 echo "$ac_t""yes" 1>&6
15157 echo "$ac_t""no" 1>&6
15160 if test $ac_cv_func_connect = no
; then
15161 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15162 echo "configure:15163: checking for connect in -lsocket" >&5
15163 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15164 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15165 echo $ac_n "(cached) $ac_c" 1>&6
15167 ac_save_LIBS
="$LIBS"
15168 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15169 cat > conftest.
$ac_ext <<EOF
15170 #line 15171 "configure"
15171 #include "confdefs.h"
15172 /* Override any gcc2 internal prototype to avoid an error. */
15173 /* We use char because int might match the return type of a gcc2
15174 builtin and then its argument prototype would still apply. */
15181 if { (eval echo configure
:15182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15183 eval "ac_cv_lib_$ac_lib_var=yes"
15185 echo "configure: failed program was:" >&5
15186 cat conftest.
$ac_ext >&5
15188 eval "ac_cv_lib_$ac_lib_var=no"
15191 LIBS
="$ac_save_LIBS"
15194 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15195 echo "$ac_t""yes" 1>&6
15196 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15198 echo "$ac_t""no" 1>&6
15203 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15204 echo $ac_n "checking for remove""... $ac_c" 1>&6
15205 echo "configure:15206: checking for remove" >&5
15206 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15207 echo $ac_n "(cached) $ac_c" 1>&6
15209 cat > conftest.
$ac_ext <<EOF
15210 #line 15211 "configure"
15211 #include "confdefs.h"
15212 /* System header to define __stub macros and hopefully few prototypes,
15213 which can conflict with char remove(); below. */
15214 #include <assert.h>
15215 /* Override any gcc2 internal prototype to avoid an error. */
15216 /* We use char because int might match the return type of a gcc2
15217 builtin and then its argument prototype would still apply. */
15222 /* The GNU C library defines this for functions which it implements
15223 to always fail with ENOSYS. Some functions are actually named
15224 something starting with __ and the normal name is an alias. */
15225 #if defined (__stub_remove) || defined (__stub___remove)
15233 if { (eval echo configure
:15234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15235 eval "ac_cv_func_remove=yes"
15237 echo "configure: failed program was:" >&5
15238 cat conftest.
$ac_ext >&5
15240 eval "ac_cv_func_remove=no"
15245 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15246 echo "$ac_t""yes" 1>&6
15249 echo "$ac_t""no" 1>&6
15252 if test $ac_cv_func_remove = no
; then
15253 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15254 echo "configure:15255: checking for remove in -lposix" >&5
15255 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15256 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15257 echo $ac_n "(cached) $ac_c" 1>&6
15259 ac_save_LIBS
="$LIBS"
15260 LIBS
="-lposix $LIBS"
15261 cat > conftest.
$ac_ext <<EOF
15262 #line 15263 "configure"
15263 #include "confdefs.h"
15264 /* Override any gcc2 internal prototype to avoid an error. */
15265 /* We use char because int might match the return type of a gcc2
15266 builtin and then its argument prototype would still apply. */
15273 if { (eval echo configure
:15274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15275 eval "ac_cv_lib_$ac_lib_var=yes"
15277 echo "configure: failed program was:" >&5
15278 cat conftest.
$ac_ext >&5
15280 eval "ac_cv_lib_$ac_lib_var=no"
15283 LIBS
="$ac_save_LIBS"
15286 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15287 echo "$ac_t""yes" 1>&6
15288 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15290 echo "$ac_t""no" 1>&6
15295 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15296 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15297 echo "configure:15298: checking for shmat" >&5
15298 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15299 echo $ac_n "(cached) $ac_c" 1>&6
15301 cat > conftest.
$ac_ext <<EOF
15302 #line 15303 "configure"
15303 #include "confdefs.h"
15304 /* System header to define __stub macros and hopefully few prototypes,
15305 which can conflict with char shmat(); below. */
15306 #include <assert.h>
15307 /* Override any gcc2 internal prototype to avoid an error. */
15308 /* We use char because int might match the return type of a gcc2
15309 builtin and then its argument prototype would still apply. */
15314 /* The GNU C library defines this for functions which it implements
15315 to always fail with ENOSYS. Some functions are actually named
15316 something starting with __ and the normal name is an alias. */
15317 #if defined (__stub_shmat) || defined (__stub___shmat)
15325 if { (eval echo configure
:15326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15327 eval "ac_cv_func_shmat=yes"
15329 echo "configure: failed program was:" >&5
15330 cat conftest.
$ac_ext >&5
15332 eval "ac_cv_func_shmat=no"
15337 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15338 echo "$ac_t""yes" 1>&6
15341 echo "$ac_t""no" 1>&6
15344 if test $ac_cv_func_shmat = no
; then
15345 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15346 echo "configure:15347: checking for shmat in -lipc" >&5
15347 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15348 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15349 echo $ac_n "(cached) $ac_c" 1>&6
15351 ac_save_LIBS
="$LIBS"
15353 cat > conftest.
$ac_ext <<EOF
15354 #line 15355 "configure"
15355 #include "confdefs.h"
15356 /* Override any gcc2 internal prototype to avoid an error. */
15357 /* We use char because int might match the return type of a gcc2
15358 builtin and then its argument prototype would still apply. */
15365 if { (eval echo configure
:15366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15367 eval "ac_cv_lib_$ac_lib_var=yes"
15369 echo "configure: failed program was:" >&5
15370 cat conftest.
$ac_ext >&5
15372 eval "ac_cv_lib_$ac_lib_var=no"
15375 LIBS
="$ac_save_LIBS"
15378 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15379 echo "$ac_t""yes" 1>&6
15380 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15382 echo "$ac_t""no" 1>&6
15388 # Check for libraries that X11R6 Xt/Xaw programs need.
15389 ac_save_LDFLAGS
="$LDFLAGS"
15390 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15391 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15392 # check for ICE first), but we must link in the order -lSM -lICE or
15393 # we get undefined symbols. So assume we have SM if we have ICE.
15394 # These have to be linked with before -lX11, unlike the other
15395 # libraries we check for below, so use a different variable.
15396 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15397 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15398 echo "configure:15399: checking for IceConnectionNumber in -lICE" >&5
15399 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15400 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15401 echo $ac_n "(cached) $ac_c" 1>&6
15403 ac_save_LIBS
="$LIBS"
15404 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15405 cat > conftest.
$ac_ext <<EOF
15406 #line 15407 "configure"
15407 #include "confdefs.h"
15408 /* Override any gcc2 internal prototype to avoid an error. */
15409 /* We use char because int might match the return type of a gcc2
15410 builtin and then its argument prototype would still apply. */
15411 char IceConnectionNumber();
15414 IceConnectionNumber()
15417 if { (eval echo configure
:15418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15419 eval "ac_cv_lib_$ac_lib_var=yes"
15421 echo "configure: failed program was:" >&5
15422 cat conftest.
$ac_ext >&5
15424 eval "ac_cv_lib_$ac_lib_var=no"
15427 LIBS
="$ac_save_LIBS"
15430 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15431 echo "$ac_t""yes" 1>&6
15432 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15434 echo "$ac_t""no" 1>&6
15437 LDFLAGS
="$ac_save_LDFLAGS"
15442 if test "$no_x" = "yes"; then
15443 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15446 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15447 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15448 AFMINSTALL
=afminstall
15449 COMPILED_X_PROGRAM
=0
15451 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15452 echo "configure:15453: checking for Motif/Lesstif headers" >&5
15455 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15457 if test -f "$ac_dir/Xm/Xm.h"; then
15458 ac_find_includes
=$ac_dir
15463 if test "$ac_find_includes" != "" ; then
15464 echo "$ac_t""found in $ac_find_includes" 1>&6
15466 if test "x$ac_find_includes" = "x/usr/include"; then
15467 ac_path_to_include
=""
15469 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15471 if test $result = 0; then
15472 ac_path_to_include
=""
15474 ac_path_to_include
=" -I$ac_find_includes"
15478 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15480 cat > conftest.
$ac_ext <<EOF
15481 #line 15482 "configure"
15482 #include "confdefs.h"
15489 version = xmUseVersion;
15493 if { (eval echo configure
:15494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15496 echo "$ac_t""found in default search path" 1>&6
15497 COMPILED_X_PROGRAM
=1
15500 echo "configure: failed program was:" >&5
15501 cat conftest.
$ac_ext >&5
15504 echo "$ac_t""no" 1>&6
15505 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15512 if test "$COMPILED_X_PROGRAM" = 0; then
15513 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15514 echo "configure:15515: checking for Motif/Lesstif library" >&5
15517 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15519 for ac_extension
in a so sl dylib
; do
15520 if test -f "$ac_dir/libXm.$ac_extension"; then
15521 ac_find_libraries
=$ac_dir
15527 if test "$ac_find_libraries" != "" ; then
15528 echo "$ac_t""found at $ac_find_libraries" 1>&6
15531 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15533 if test $result = 0; then
15536 ac_path_to_link
=" -L$ac_find_libraries"
15539 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15541 save_CFLAGS
=$CFLAGS
15542 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15544 cat > conftest.
$ac_ext <<EOF
15545 #line 15546 "configure"
15546 #include "confdefs.h"
15553 version = xmUseVersion;
15557 if { (eval echo configure
:15558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15560 echo "$ac_t""found in default search path" 1>&6
15561 COMPILED_X_PROGRAM
=1
15564 echo "configure: failed program was:" >&5
15565 cat conftest.
$ac_ext >&5
15568 echo "$ac_t""no" 1>&6
15569 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15575 CFLAGS
=$save_CFLAGS
15580 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15581 echo "configure:15582: checking for Xpm library" >&5
15584 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15586 for ac_extension
in a so sl dylib
; do
15587 if test -f "$ac_dir/libXpm.$ac_extension"; then
15588 ac_find_libraries
=$ac_dir
15594 if test "$ac_find_libraries" != "" ; then
15596 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15598 if test $result = 0; then
15601 ac_path_to_link
=" -L$ac_find_libraries"
15604 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15607 cat >> confdefs.h
<<\EOF
15608 #define wxHAVE_LIB_XPM 1
15611 echo "$ac_t""found at $ac_find_libraries" 1>&6
15613 save_CFLAGS
=$CFLAGS
15614 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15616 cat > conftest.
$ac_ext <<EOF
15617 #line 15618 "configure"
15618 #include "confdefs.h"
15620 #include <X11/xpm.h>
15625 version = XpmLibraryVersion();
15629 if { (eval echo configure
:15630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15633 cat >> confdefs.h
<<\EOF
15634 #define wxHAVE_LIB_XPM 1
15637 echo "$ac_t""found in default search path" 1>&6
15638 COMPILED_X_PROGRAM
=0
15641 echo "configure: failed program was:" >&5
15642 cat conftest.
$ac_ext >&5
15645 echo "$ac_t""no" 1>&6
15646 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15652 CFLAGS
=$save_CFLAGS
15655 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15656 echo "configure:15657: checking if we need -lXp and/or -lSM -lICE" >&5
15660 for libp
in "" " -lXp"; do
15661 if test "$libs_found" = "0"; then
15662 for libsm_ice
in " -lSM -lICE"; do
15663 if test "$libs_found" = "0"; then
15665 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15666 save_CFLAGS
=$CFLAGS
15667 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15669 cat > conftest.
$ac_ext <<EOF
15670 #line 15671 "configure"
15671 #include "confdefs.h"
15674 #include <Xm/List.h>
15678 XmString string = NULL;
15681 XmListAddItem(w, string, position);
15685 if { (eval echo configure
:15686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15689 libsm_ice_link
="$libsm_ice"
15690 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15694 echo "configure: failed program was:" >&5
15695 cat conftest.
$ac_ext >&5
15703 CFLAGS
=$save_CFLAGS
15709 if test "$libs_found" = "0"; then
15710 echo "$ac_t""can't find the right libraries" 1>&6
15711 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15714 save_CFLAGS
=$CFLAGS
15715 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15716 echo $ac_n "checking for Motif 2""... $ac_c" 1>&6
15717 echo "configure:15718: checking for Motif 2" >&5
15718 cat > conftest.
$ac_ext <<EOF
15719 #line 15720 "configure"
15720 #include "confdefs.h"
15726 #if XmVersion < 2000
15727 #error "Not Motif 2"
15732 if { (eval echo configure
:15733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15735 cat >> confdefs.h
<<\EOF
15736 #define __WXMOTIF20__ 1
15739 echo "$ac_t""found" 1>&6
15742 echo "configure: failed program was:" >&5
15743 cat conftest.
$ac_ext >&5
15746 cat >> confdefs.h
<<\EOF
15747 #define __WXMOTIF20__ 0
15750 echo "$ac_t""not found" 1>&6
15754 CFLAGS
=$save_CFLAGS
15756 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15757 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15762 if test "$wxUSE_MAC" = 1; then
15763 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15765 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15770 if test "$wxUSE_PM" = 1; then
15773 echo "configure: warning: OS/2 PM requires old resource format, re-enabled" 1>&2
15774 wxUSE_PROLOGIO
="yes"
15775 wxUSE_RESOURCES
="yes"
15776 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15780 if test "$TOOLKIT" = "PM" ; then
15783 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15786 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15788 if test "$wxUSE_UNIVERSAL" = "yes"; then
15789 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15791 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15792 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15794 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15795 if test "$wxUSE_X11" = 1; then
15796 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15798 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15800 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15803 ALL_OBJECTS
="\$(GUIOBJS)"
15804 ALL_SOURCES
="\$(ALL_SOURCES)"
15805 ALL_HEADERS
="\$(ALL_HEADERS)"
15808 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15810 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15811 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15814 if test "$wxUSE_HTML" = "yes"; then
15815 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15818 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15819 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15821 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15822 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15824 if test "$wxUSE_LIBPNG" = "builtin" ; then
15825 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15828 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15829 DISTDIR
="wx\$(TOOLKIT)"
15835 if test "$USE_WIN32" = 1 ; then
15836 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15837 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15841 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15842 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15845 ALL_SOURCES
="\$(ALL_SOURCES)"
15846 ALL_HEADERS
="\$(ALL_HEADERS)"
15848 PORT_FILES
="\${top_srcdir}/src/files.lst"
15850 GUIDIST
="BASE_DIST"
15855 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15856 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15859 if test "$wxUSE_REGEX" = "builtin" ; then
15860 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15862 if test "$wxUSE_ZLIB" = "builtin" ; then
15863 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15867 if test "$wxUSE_OPENGL" = "yes"; then
15868 if test "$wxUSE_MAC" = 1; then
15869 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15870 elif test "$wxUSE_MSW" = 1; then
15871 OPENGL_LIBS
="-lopengl32 -lglu32"
15873 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15874 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15875 echo "configure:15876: checking for GL/gl.h" >&5
15876 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15877 echo $ac_n "(cached) $ac_c" 1>&6
15879 cat > conftest.
$ac_ext <<EOF
15880 #line 15881 "configure"
15881 #include "confdefs.h"
15884 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15885 { (eval echo configure
:15886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15886 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15887 if test -z "$ac_err"; then
15889 eval "ac_cv_header_$ac_safe=yes"
15892 echo "configure: failed program was:" >&5
15893 cat conftest.
$ac_ext >&5
15895 eval "ac_cv_header_$ac_safe=no"
15899 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15900 echo "$ac_t""yes" 1>&6
15902 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15903 echo "configure:15904: checking for -lGL" >&5
15906 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15908 for ac_extension
in a so sl dylib
; do
15909 if test -f "$ac_dir/libGL.$ac_extension"; then
15910 ac_find_libraries
=$ac_dir
15916 if test "$ac_find_libraries" != "" ; then
15918 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15920 if test $result = 0; then
15923 ac_path_to_link
=" -L$ac_find_libraries"
15926 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15927 LDFLAGS_GL
="$LDFLAGS"
15929 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15931 OPENGL_LIBS
="-lGL -lGLU"
15932 echo "$ac_t""yes" 1>&6
15934 echo "$ac_t""no" 1>&6
15935 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15936 echo "configure:15937: checking for -lMesaGL" >&5
15939 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15941 for ac_extension
in a so sl dylib
; do
15942 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15943 ac_find_libraries
=$ac_dir
15949 if test "$ac_find_libraries" != "" ; then
15951 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15953 if test $result = 0; then
15956 ac_path_to_link
=" -L$ac_find_libraries"
15959 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15960 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15961 echo "$ac_t""yes" 1>&6
15963 echo "$ac_t""no" 1>&6
15968 echo "$ac_t""no" 1>&6
15972 if test "x$OPENGL_LIBS" = "x"; then
15973 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15977 if test "$wxUSE_OPENGL" = "yes"; then
15978 cat >> confdefs.h
<<\EOF
15979 #define wxUSE_OPENGL 1
15982 cat >> confdefs.h
<<\EOF
15983 #define wxUSE_GLCANVAS 1
15986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15990 if test -z "$TOOLKIT_VPATH" ; then
15991 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15994 if test -n "$TOOLKIT" ; then
15995 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15998 lib_unicode_suffix
=
15999 if test "$wxUSE_UNICODE" = "yes"; then
16000 lib_unicode_suffix
=u
16004 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
16008 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
16010 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
16011 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
16013 if test "$cross_compiling" = "yes"; then
16014 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
16015 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
16018 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
16019 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
16020 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
16022 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16023 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16025 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
16026 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16027 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
16028 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16031 *-*-cygwin* | *-*-mingw32* )
16035 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
16036 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16037 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16038 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
16039 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
16041 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16042 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16048 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16049 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16051 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
16052 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16053 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
16054 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16056 if test "$wxUSE_MAC" = 1; then
16057 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
16058 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
16063 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
16064 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
16066 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
16067 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
16069 if test "$wxUSE_OPENGL" = "yes"; then
16070 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
16071 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
16076 if test "$wxUSE_SHARED" = "yes"; then
16078 *-pc-os2_emx | *-pc-os2-emx | \
16081 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
16086 if test "$wxUSE_SHARED" = "yes"; then
16088 if test "$wxUSE_OPENGL" = "yes"; then
16089 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
16090 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
16092 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16093 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
16096 if test "$GCC" = "yes"; then
16102 found_versioning
=no
16105 if test $found_versioning = no
; then
16106 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
16107 echo "configure:16108: checking if the linker accepts --version-script" >&5
16108 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
16109 echo $ac_n "(cached) $ac_c" 1>&6
16112 echo "VER_1 { *; };" >conftest.sym
16113 echo "int main() { return 0; }" >conftest.cpp
16116 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
16117 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:16118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
16118 if test -s conftest.stderr
; then
16119 wx_cv_version_script
=no
16121 wx_cv_version_script
=yes
16124 wx_cv_version_script
=no
16126 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
16130 echo "$ac_t""$wx_cv_version_script" 1>&6
16131 if test $wx_cv_version_script = yes ; then
16132 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
16137 SHARED_LD
="${CXX} -shared -o"
16141 if test "$GCC" = "yes"; then
16142 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
16144 LDFLAGS
="$LDFLAGS -L/usr/lib"
16146 SHARED_LD
="${CXX} -b -o"
16150 if test "$wxUSE_OPENGL" = "yes"; then
16151 WX_ALL_INSTALLED
="preinstall_gl"
16152 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16154 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16159 if test "$GCC" != "yes"; then
16160 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
16161 echo "configure:16162: checking for Intel compiler" >&5
16162 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
16163 echo $ac_n "(cached) $ac_c" 1>&6
16166 cat > conftest.
$ac_ext <<EOF
16167 #line 16168 "configure"
16168 #include "confdefs.h"
16172 #ifndef __INTEL_COMPILER
16178 if { (eval echo configure
:16179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16182 echo "configure: failed program was:" >&5
16183 cat conftest.
$ac_ext >&5
16192 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16193 if test "$wx_cv_prog_icc" = "yes"; then
16198 if test "$wxUSE_SONAME" = "yes" ; then
16199 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16200 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16201 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16206 if test "$GCC" = yes ; then
16207 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16209 SHARED_LD
="${CXX} -G -o"
16211 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16212 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16217 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16218 CFLAGS
="$CFLAGS -fno-common"
16219 CXXFLAGS
="$CXXFLAGS -fno-common"
16220 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16221 PIC_FLAG
="-dynamic -fPIC"
16222 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16223 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16227 if test "$GCC" != "yes"; then
16228 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16229 set dummy makeC
++SharedLib
; ac_word
=$2
16230 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16231 echo "configure:16232: checking for $ac_word" >&5
16232 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16233 echo $ac_n "(cached) $ac_c" 1>&6
16235 if test -n "$AIX_CXX_LD"; then
16236 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16238 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16240 for ac_dir
in $ac_dummy; do
16241 test -z "$ac_dir" && ac_dir
=.
16242 if test -f $ac_dir/$ac_word; then
16243 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16248 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16251 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16252 if test -n "$AIX_CXX_LD"; then
16253 echo "$ac_t""$AIX_CXX_LD" 1>&6
16255 echo "$ac_t""no" 1>&6
16259 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16263 *-*-cygwin* | *-*-mingw32* )
16264 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16266 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16267 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16269 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16271 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16272 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16274 if test "$wxUSE_OPENGL" = "yes"; then
16275 LIBS
="${LIBS} ${OPENGL_LIBS}"
16280 SHARED_LD
="${LD} -shared -o"
16284 if test "$GCC" != "yes"; then
16289 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16297 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16300 if test "x$WX_TARGET_LIBRARY" = "x"; then
16301 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16302 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16305 WX_TARGET_LIBRARY_TYPE
="so"
16306 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16309 if test "$wxUSE_SHARED" = "no"; then
16311 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16312 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16315 if test "$wxUSE_MAC" = 1; then
16316 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16319 if test "$wxUSE_OPENGL" = "yes"; then
16320 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16321 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16323 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16326 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16327 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16329 WX_TARGET_LIBRARY_TYPE
="a"
16330 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16340 if test "$wxUSE_MAC" = 1; then
16341 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16342 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16343 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16344 # Extract the first word of "Rez", so it can be a program name with args.
16345 set dummy Rez
; ac_word
=$2
16346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16347 echo "configure:16348: checking for $ac_word" >&5
16348 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16349 echo $ac_n "(cached) $ac_c" 1>&6
16351 if test -n "$RESCOMP"; then
16352 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16354 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16356 for ac_dir
in $ac_dummy; do
16357 test -z "$ac_dir" && ac_dir
=.
16358 if test -f $ac_dir/$ac_word; then
16359 ac_cv_prog_RESCOMP
="Rez"
16364 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16367 RESCOMP
="$ac_cv_prog_RESCOMP"
16368 if test -n "$RESCOMP"; then
16369 echo "$ac_t""$RESCOMP" 1>&6
16371 echo "$ac_t""no" 1>&6
16374 # Extract the first word of "DeRez", so it can be a program name with args.
16375 set dummy DeRez
; ac_word
=$2
16376 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16377 echo "configure:16378: checking for $ac_word" >&5
16378 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16379 echo $ac_n "(cached) $ac_c" 1>&6
16381 if test -n "$DEREZ"; then
16382 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16384 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16386 for ac_dir
in $ac_dummy; do
16387 test -z "$ac_dir" && ac_dir
=.
16388 if test -f $ac_dir/$ac_word; then
16389 ac_cv_prog_DEREZ
="DeRez"
16394 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16397 DEREZ
="$ac_cv_prog_DEREZ"
16398 if test -n "$DEREZ"; then
16399 echo "$ac_t""$DEREZ" 1>&6
16401 echo "$ac_t""no" 1>&6
16404 # Extract the first word of "SetFile", so it can be a program name with args.
16405 set dummy SetFile
; ac_word
=$2
16406 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16407 echo "configure:16408: checking for $ac_word" >&5
16408 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16409 echo $ac_n "(cached) $ac_c" 1>&6
16411 if test -n "$SETFILE"; then
16412 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16414 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16416 for ac_dir
in $ac_dummy; do
16417 test -z "$ac_dir" && ac_dir
=.
16418 if test -f $ac_dir/$ac_word; then
16419 ac_cv_prog_SETFILE
="SetFile"
16424 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16427 SETFILE
="$ac_cv_prog_SETFILE"
16428 if test -n "$SETFILE"; then
16429 echo "$ac_t""$SETFILE" 1>&6
16431 echo "$ac_t""no" 1>&6
16434 MACOSX_BUNDLE
="bundle"
16435 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16436 MACSETFILE
="\$(SETFILE)"
16437 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16439 if test "$wxUSE_PM" = 1; then
16440 MACRESCOMP
="emxbind -ep"
16445 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16446 echo "configure:16447: checking for ANSI C header files" >&5
16447 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16448 echo $ac_n "(cached) $ac_c" 1>&6
16450 cat > conftest.
$ac_ext <<EOF
16451 #line 16452 "configure"
16452 #include "confdefs.h"
16453 #include <stdlib.h>
16454 #include <stdarg.h>
16455 #include <string.h>
16458 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16459 { (eval echo configure
:16460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16460 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16461 if test -z "$ac_err"; then
16463 ac_cv_header_stdc
=yes
16466 echo "configure: failed program was:" >&5
16467 cat conftest.
$ac_ext >&5
16469 ac_cv_header_stdc
=no
16473 if test $ac_cv_header_stdc = yes; then
16474 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16475 cat > conftest.
$ac_ext <<EOF
16476 #line 16477 "configure"
16477 #include "confdefs.h"
16478 #include <string.h>
16480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16481 egrep "memchr" >/dev
/null
2>&1; then
16485 ac_cv_header_stdc
=no
16491 if test $ac_cv_header_stdc = yes; then
16492 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16493 cat > conftest.
$ac_ext <<EOF
16494 #line 16495 "configure"
16495 #include "confdefs.h"
16496 #include <stdlib.h>
16498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16499 egrep "free" >/dev
/null
2>&1; then
16503 ac_cv_header_stdc
=no
16509 if test $ac_cv_header_stdc = yes; then
16510 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16511 if test "$cross_compiling" = yes; then
16514 cat > conftest.
$ac_ext <<EOF
16515 #line 16516 "configure"
16516 #include "confdefs.h"
16518 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16519 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16520 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16521 int main () { int i; for (i = 0; i < 256; i++)
16522 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16526 if { (eval echo configure
:16527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16530 echo "configure: failed program was:" >&5
16531 cat conftest.
$ac_ext >&5
16533 ac_cv_header_stdc
=no
16541 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16542 if test $ac_cv_header_stdc = yes; then
16543 cat >> confdefs.h
<<\EOF
16544 #define STDC_HEADERS 1
16549 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16550 echo "configure:16551: checking for mode_t" >&5
16551 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16552 echo $ac_n "(cached) $ac_c" 1>&6
16554 cat > conftest.
$ac_ext <<EOF
16555 #line 16556 "configure"
16556 #include "confdefs.h"
16557 #include <sys/types.h>
16559 #include <stdlib.h>
16560 #include <stddef.h>
16563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16564 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16566 ac_cv_type_mode_t
=yes
16569 ac_cv_type_mode_t
=no
16574 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16575 if test $ac_cv_type_mode_t = no
; then
16576 cat >> confdefs.h
<<\EOF
16582 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16583 echo "configure:16584: checking for off_t" >&5
16584 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16585 echo $ac_n "(cached) $ac_c" 1>&6
16587 cat > conftest.
$ac_ext <<EOF
16588 #line 16589 "configure"
16589 #include "confdefs.h"
16590 #include <sys/types.h>
16592 #include <stdlib.h>
16593 #include <stddef.h>
16596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16597 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16599 ac_cv_type_off_t
=yes
16602 ac_cv_type_off_t
=no
16607 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16608 if test $ac_cv_type_off_t = no
; then
16609 cat >> confdefs.h
<<\EOF
16615 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16616 echo "configure:16617: checking for pid_t" >&5
16617 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16618 echo $ac_n "(cached) $ac_c" 1>&6
16620 cat > conftest.
$ac_ext <<EOF
16621 #line 16622 "configure"
16622 #include "confdefs.h"
16623 #include <sys/types.h>
16625 #include <stdlib.h>
16626 #include <stddef.h>
16629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16630 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16632 ac_cv_type_pid_t
=yes
16635 ac_cv_type_pid_t
=no
16640 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16641 if test $ac_cv_type_pid_t = no
; then
16642 cat >> confdefs.h
<<\EOF
16648 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16649 echo "configure:16650: checking for size_t" >&5
16650 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16651 echo $ac_n "(cached) $ac_c" 1>&6
16653 cat > conftest.
$ac_ext <<EOF
16654 #line 16655 "configure"
16655 #include "confdefs.h"
16656 #include <sys/types.h>
16658 #include <stdlib.h>
16659 #include <stddef.h>
16662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16663 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16665 ac_cv_type_size_t
=yes
16668 ac_cv_type_size_t
=no
16673 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16674 if test $ac_cv_type_size_t = no
; then
16675 cat >> confdefs.h
<<\EOF
16676 #define size_t unsigned
16681 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16682 echo "configure:16683: checking for uid_t in sys/types.h" >&5
16683 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16684 echo $ac_n "(cached) $ac_c" 1>&6
16686 cat > conftest.
$ac_ext <<EOF
16687 #line 16688 "configure"
16688 #include "confdefs.h"
16689 #include <sys/types.h>
16691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16692 egrep "uid_t" >/dev
/null
2>&1; then
16694 ac_cv_type_uid_t
=yes
16697 ac_cv_type_uid_t
=no
16703 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16704 if test $ac_cv_type_uid_t = no
; then
16705 cat >> confdefs.h
<<\EOF
16709 cat >> confdefs.h
<<\EOF
16718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16719 ac_cpp
='$CXXCPP $CPPFLAGS'
16720 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16721 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16722 cross_compiling
=$ac_cv_prog_cxx_cross
16724 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16725 echo "configure:16726: checking if size_t is unsigned int" >&5
16726 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16727 echo $ac_n "(cached) $ac_c" 1>&6
16729 cat > conftest.
$ac_ext <<EOF
16730 #line 16731 "configure"
16731 #include "confdefs.h"
16732 #include <stddef.h>
16737 struct Foo { void foo(size_t); void foo(unsigned int); };
16743 if { (eval echo configure
:16744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16745 wx_cv_size_t_is_uint
=no
16747 echo "configure: failed program was:" >&5
16748 cat conftest.
$ac_ext >&5
16750 wx_cv_size_t_is_uint
=yes
16757 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16759 if test "$wx_cv_size_t_is_uint" = "yes"; then
16760 cat >> confdefs.h
<<\EOF
16761 #define wxSIZE_T_IS_UINT 1
16765 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16766 echo "configure:16767: checking if size_t is unsigned long" >&5
16767 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16768 echo $ac_n "(cached) $ac_c" 1>&6
16770 cat > conftest.
$ac_ext <<EOF
16771 #line 16772 "configure"
16772 #include "confdefs.h"
16773 #include <stddef.h>
16778 struct Foo { void foo(size_t); void foo(unsigned long); };
16784 if { (eval echo configure
:16785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16786 wx_cv_size_t_is_ulong
=no
16788 echo "configure: failed program was:" >&5
16789 cat conftest.
$ac_ext >&5
16791 wx_cv_size_t_is_ulong
=yes
16798 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16800 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16801 cat >> confdefs.h
<<\EOF
16802 #define wxSIZE_T_IS_ULONG 1
16809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16810 ac_cpp
='$CPP $CPPFLAGS'
16811 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16812 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16813 cross_compiling
=$ac_cv_prog_cc_cross
16817 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16818 echo "configure:16819: checking for pw_gecos in struct passwd" >&5
16819 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16820 echo $ac_n "(cached) $ac_c" 1>&6
16823 cat > conftest.
$ac_ext <<EOF
16824 #line 16825 "configure"
16825 #include "confdefs.h"
16835 if { (eval echo configure
:16836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16838 wx_cv_struct_pw_gecos
=yes
16841 echo "configure: failed program was:" >&5
16842 cat conftest.
$ac_ext >&5
16845 wx_cv_struct_pw_gecos
=no
16854 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16856 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16857 cat >> confdefs.h
<<\EOF
16858 #define HAVE_PW_GECOS 1
16864 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16865 cat >> confdefs.h
<<\EOF
16866 #define wxUSE_WCHAR_T 1
16872 for ac_func
in wcslen
16874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16875 echo "configure:16876: checking for $ac_func" >&5
16876 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16877 echo $ac_n "(cached) $ac_c" 1>&6
16879 cat > conftest.
$ac_ext <<EOF
16880 #line 16881 "configure"
16881 #include "confdefs.h"
16882 /* System header to define __stub macros and hopefully few prototypes,
16883 which can conflict with char $ac_func(); below. */
16884 #include <assert.h>
16885 /* Override any gcc2 internal prototype to avoid an error. */
16886 /* We use char because int might match the return type of a gcc2
16887 builtin and then its argument prototype would still apply. */
16892 /* The GNU C library defines this for functions which it implements
16893 to always fail with ENOSYS. Some functions are actually named
16894 something starting with __ and the normal name is an alias. */
16895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16903 if { (eval echo configure
:16904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16905 eval "ac_cv_func_$ac_func=yes"
16907 echo "configure: failed program was:" >&5
16908 cat conftest.
$ac_ext >&5
16910 eval "ac_cv_func_$ac_func=no"
16915 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16916 echo "$ac_t""yes" 1>&6
16917 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16918 cat >> confdefs.h
<<EOF
16919 #define $ac_tr_func 1
16923 echo "$ac_t""no" 1>&6
16928 if test "$WCSLEN_FOUND" = 0; then
16929 if test "$TOOLKIT" = "MSW"; then
16930 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16931 echo "configure:16932: checking for wcslen in -lmsvcrt" >&5
16932 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16933 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16934 echo $ac_n "(cached) $ac_c" 1>&6
16936 ac_save_LIBS
="$LIBS"
16937 LIBS
="-lmsvcrt $LIBS"
16938 cat > conftest.
$ac_ext <<EOF
16939 #line 16940 "configure"
16940 #include "confdefs.h"
16941 /* Override any gcc2 internal prototype to avoid an error. */
16942 /* We use char because int might match the return type of a gcc2
16943 builtin and then its argument prototype would still apply. */
16950 if { (eval echo configure
:16951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16952 eval "ac_cv_lib_$ac_lib_var=yes"
16954 echo "configure: failed program was:" >&5
16955 cat conftest.
$ac_ext >&5
16957 eval "ac_cv_lib_$ac_lib_var=no"
16960 LIBS
="$ac_save_LIBS"
16963 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16964 echo "$ac_t""yes" 1>&6
16967 echo "$ac_t""no" 1>&6
16971 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
16972 echo "configure:16973: checking for wcslen in -lw" >&5
16973 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
16974 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16975 echo $ac_n "(cached) $ac_c" 1>&6
16977 ac_save_LIBS
="$LIBS"
16979 cat > conftest.
$ac_ext <<EOF
16980 #line 16981 "configure"
16981 #include "confdefs.h"
16982 /* Override any gcc2 internal prototype to avoid an error. */
16983 /* We use char because int might match the return type of a gcc2
16984 builtin and then its argument prototype would still apply. */
16991 if { (eval echo configure
:16992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16993 eval "ac_cv_lib_$ac_lib_var=yes"
16995 echo "configure: failed program was:" >&5
16996 cat conftest.
$ac_ext >&5
16998 eval "ac_cv_lib_$ac_lib_var=no"
17001 LIBS
="$ac_save_LIBS"
17004 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17005 echo "$ac_t""yes" 1>&6
17011 echo "$ac_t""no" 1>&6
17017 if test "$WCSLEN_FOUND" = 1; then
17018 cat >> confdefs.h
<<\EOF
17019 #define HAVE_WCSLEN 1
17024 for ac_func
in wcsrtombs
17026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17027 echo "configure:17028: checking for $ac_func" >&5
17028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17029 echo $ac_n "(cached) $ac_c" 1>&6
17031 cat > conftest.
$ac_ext <<EOF
17032 #line 17033 "configure"
17033 #include "confdefs.h"
17034 /* System header to define __stub macros and hopefully few prototypes,
17035 which can conflict with char $ac_func(); below. */
17036 #include <assert.h>
17037 /* Override any gcc2 internal prototype to avoid an error. */
17038 /* We use char because int might match the return type of a gcc2
17039 builtin and then its argument prototype would still apply. */
17044 /* The GNU C library defines this for functions which it implements
17045 to always fail with ENOSYS. Some functions are actually named
17046 something starting with __ and the normal name is an alias. */
17047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17055 if { (eval echo configure
:17056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17057 eval "ac_cv_func_$ac_func=yes"
17059 echo "configure: failed program was:" >&5
17060 cat conftest.
$ac_ext >&5
17062 eval "ac_cv_func_$ac_func=no"
17067 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17068 echo "$ac_t""yes" 1>&6
17069 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17070 cat >> confdefs.h
<<EOF
17071 #define $ac_tr_func 1
17075 echo "$ac_t""no" 1>&6
17080 echo "configure: warning: Wide character support is unavailable" 1>&2
17085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17086 ac_cpp
='$CXXCPP $CPPFLAGS'
17087 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17088 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17089 cross_compiling
=$ac_cv_prog_cxx_cross
17092 for ac_func
in vsnprintf
17094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17095 echo "configure:17096: checking for $ac_func" >&5
17096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17097 echo $ac_n "(cached) $ac_c" 1>&6
17099 cat > conftest.
$ac_ext <<EOF
17100 #line 17101 "configure"
17101 #include "confdefs.h"
17102 /* System header to define __stub macros and hopefully few prototypes,
17103 which can conflict with char $ac_func(); below. */
17104 #include <assert.h>
17105 /* Override any gcc2 internal prototype to avoid an error. */
17109 /* We use char because int might match the return type of a gcc2
17110 builtin and then its argument prototype would still apply. */
17115 /* The GNU C library defines this for functions which it implements
17116 to always fail with ENOSYS. Some functions are actually named
17117 something starting with __ and the normal name is an alias. */
17118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17126 if { (eval echo configure
:17127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17128 eval "ac_cv_func_$ac_func=yes"
17130 echo "configure: failed program was:" >&5
17131 cat conftest.
$ac_ext >&5
17133 eval "ac_cv_func_$ac_func=no"
17138 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17139 echo "$ac_t""yes" 1>&6
17140 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17141 cat >> confdefs.h
<<EOF
17142 #define $ac_tr_func 1
17146 echo "$ac_t""no" 1>&6
17151 if test "$ac_cv_func_vsnprintf" = "yes"; then
17152 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
17153 echo "configure:17154: checking for vsnprintf declaration" >&5
17154 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
17155 echo $ac_n "(cached) $ac_c" 1>&6
17158 cat > conftest.
$ac_ext <<EOF
17159 #line 17160 "configure"
17160 #include "confdefs.h"
17163 #include <stdarg.h>
17169 vsnprintf(buf, 10u, "%s", ap);
17173 if { (eval echo configure
:17174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17175 wx_cv_func_vsnprintf_decl
=yes
17177 echo "configure: failed program was:" >&5
17178 cat conftest.
$ac_ext >&5
17180 wx_cv_func_vsnprintf_decl
=no
17188 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17190 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17191 cat >> confdefs.h
<<\EOF
17192 #define HAVE_VSNPRINTF_DECL 1
17198 if test "$wxUSE_UNICODE" = yes; then
17199 for ac_func
in fputwc wprintf vswprintf
17201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17202 echo "configure:17203: checking for $ac_func" >&5
17203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17204 echo $ac_n "(cached) $ac_c" 1>&6
17206 cat > conftest.
$ac_ext <<EOF
17207 #line 17208 "configure"
17208 #include "confdefs.h"
17209 /* System header to define __stub macros and hopefully few prototypes,
17210 which can conflict with char $ac_func(); below. */
17211 #include <assert.h>
17212 /* Override any gcc2 internal prototype to avoid an error. */
17216 /* We use char because int might match the return type of a gcc2
17217 builtin and then its argument prototype would still apply. */
17222 /* The GNU C library defines this for functions which it implements
17223 to always fail with ENOSYS. Some functions are actually named
17224 something starting with __ and the normal name is an alias. */
17225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17233 if { (eval echo configure
:17234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17235 eval "ac_cv_func_$ac_func=yes"
17237 echo "configure: failed program was:" >&5
17238 cat conftest.
$ac_ext >&5
17240 eval "ac_cv_func_$ac_func=no"
17245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17246 echo "$ac_t""yes" 1>&6
17247 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17248 cat >> confdefs.h
<<EOF
17249 #define $ac_tr_func 1
17253 echo "$ac_t""no" 1>&6
17258 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17259 echo "configure:17260: checking for _vsnwprintf" >&5
17260 cat > conftest.
$ac_ext <<EOF
17261 #line 17262 "configure"
17262 #include "confdefs.h"
17268 if { (eval echo configure
:17269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17270 echo "$ac_t""yes" 1>&6
17271 cat >> confdefs.h
<<\EOF
17272 #define HAVE__VSNWPRINTF 1
17276 echo "configure: failed program was:" >&5
17277 cat conftest.
$ac_ext >&5
17279 echo "$ac_t""no" 1>&6
17285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17286 ac_cpp
='$CPP $CPPFLAGS'
17287 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17288 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17289 cross_compiling
=$ac_cv_prog_cc_cross
17294 if test "$TOOLKIT" != "MSW"; then
17299 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17300 ac_cpp
='$CXXCPP $CPPFLAGS'
17301 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17302 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17303 cross_compiling
=$ac_cv_prog_cxx_cross
17307 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17308 if test "${with_libiconv_prefix+set}" = set; then
17309 withval
="$with_libiconv_prefix"
17311 for dir
in `echo "$withval" | tr : ' '`; do
17312 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17313 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17319 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17320 echo "configure:17321: checking for iconv" >&5
17321 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17322 echo $ac_n "(cached) $ac_c" 1>&6
17325 am_cv_func_iconv
="no, consider installing GNU libiconv"
17327 cat > conftest.
$ac_ext <<EOF
17328 #line 17329 "configure"
17329 #include "confdefs.h"
17330 #include <stdlib.h>
17333 iconv_t cd = iconv_open("","");
17334 iconv(cd,NULL,NULL,NULL,NULL);
17338 if { (eval echo configure
:17339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17340 am_cv_func_iconv
=yes
17342 echo "configure: failed program was:" >&5
17343 cat conftest.
$ac_ext >&5
17346 if test "$am_cv_func_iconv" != yes; then
17347 am_save_LIBS
="$LIBS"
17348 LIBS
="$LIBS -liconv"
17349 cat > conftest.
$ac_ext <<EOF
17350 #line 17351 "configure"
17351 #include "confdefs.h"
17352 #include <stdlib.h>
17355 iconv_t cd = iconv_open("","");
17356 iconv(cd,NULL,NULL,NULL,NULL);
17360 if { (eval echo configure
:17361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17362 am_cv_lib_iconv
=yes
17363 am_cv_func_iconv
=yes
17365 echo "configure: failed program was:" >&5
17366 cat conftest.
$ac_ext >&5
17369 LIBS
="$am_save_LIBS"
17374 echo "$ac_t""$am_cv_func_iconv" 1>&6
17375 if test "$am_cv_func_iconv" = yes; then
17376 cat >> confdefs.h
<<\EOF
17377 #define HAVE_ICONV 1
17380 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17381 echo "configure:17382: checking if iconv needs const" >&5
17382 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17383 echo $ac_n "(cached) $ac_c" 1>&6
17385 cat > conftest.
$ac_ext <<EOF
17386 #line 17387 "configure"
17387 #include "confdefs.h"
17389 #include <stdlib.h>
17395 #if defined(__STDC__) || defined(__cplusplus)
17396 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17405 if { (eval echo configure
:17406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17407 wx_cv_func_iconv_const
="no"
17409 echo "configure: failed program was:" >&5
17410 cat conftest.
$ac_ext >&5
17412 wx_cv_func_iconv_const
="yes"
17419 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17422 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17423 iconv_const
="const"
17426 cat >> confdefs.h
<<EOF
17427 #define ICONV_CONST $iconv_const
17432 if test "$am_cv_lib_iconv" = yes; then
17437 LIBS
="$LIBICONV $LIBS"
17439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17440 ac_cpp
='$CPP $CPPFLAGS'
17441 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17442 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17443 cross_compiling
=$ac_cv_prog_cc_cross
17446 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17447 for ac_func
in sigaction
17449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17450 echo "configure:17451: checking for $ac_func" >&5
17451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17452 echo $ac_n "(cached) $ac_c" 1>&6
17454 cat > conftest.
$ac_ext <<EOF
17455 #line 17456 "configure"
17456 #include "confdefs.h"
17457 /* System header to define __stub macros and hopefully few prototypes,
17458 which can conflict with char $ac_func(); below. */
17459 #include <assert.h>
17460 /* Override any gcc2 internal prototype to avoid an error. */
17461 /* We use char because int might match the return type of a gcc2
17462 builtin and then its argument prototype would still apply. */
17467 /* The GNU C library defines this for functions which it implements
17468 to always fail with ENOSYS. Some functions are actually named
17469 something starting with __ and the normal name is an alias. */
17470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17478 if { (eval echo configure
:17479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17480 eval "ac_cv_func_$ac_func=yes"
17482 echo "configure: failed program was:" >&5
17483 cat conftest.
$ac_ext >&5
17485 eval "ac_cv_func_$ac_func=no"
17490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17491 echo "$ac_t""yes" 1>&6
17492 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17493 cat >> confdefs.h
<<EOF
17494 #define $ac_tr_func 1
17498 echo "$ac_t""no" 1>&6
17503 if test "$ac_cv_func_sigaction" = "no"; then
17504 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17505 wxUSE_ON_FATAL_EXCEPTION
=no
17508 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17511 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17512 ac_cpp
='$CXXCPP $CPPFLAGS'
17513 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17514 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17515 cross_compiling
=$ac_cv_prog_cxx_cross
17518 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17519 echo "configure:17520: checking for sa_handler type" >&5
17520 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17521 echo $ac_n "(cached) $ac_c" 1>&6
17524 cat > conftest.
$ac_ext <<EOF
17525 #line 17526 "configure"
17526 #include "confdefs.h"
17527 #include <signal.h>
17530 extern void testSigHandler(int);
17532 struct sigaction sa;
17533 sa.sa_handler = testSigHandler;
17537 if { (eval echo configure
:17538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17540 wx_cv_type_sa_handler
=int
17543 echo "configure: failed program was:" >&5
17544 cat conftest.
$ac_ext >&5
17547 wx_cv_type_sa_handler
=void
17554 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17558 ac_cpp
='$CPP $CPPFLAGS'
17559 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17560 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17561 cross_compiling
=$ac_cv_prog_cc_cross
17564 cat >> confdefs.h
<<EOF
17565 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17571 for ac_func
in mkstemp mktemp
17573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17574 echo "configure:17575: checking for $ac_func" >&5
17575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17576 echo $ac_n "(cached) $ac_c" 1>&6
17578 cat > conftest.
$ac_ext <<EOF
17579 #line 17580 "configure"
17580 #include "confdefs.h"
17581 /* System header to define __stub macros and hopefully few prototypes,
17582 which can conflict with char $ac_func(); below. */
17583 #include <assert.h>
17584 /* Override any gcc2 internal prototype to avoid an error. */
17585 /* We use char because int might match the return type of a gcc2
17586 builtin and then its argument prototype would still apply. */
17591 /* The GNU C library defines this for functions which it implements
17592 to always fail with ENOSYS. Some functions are actually named
17593 something starting with __ and the normal name is an alias. */
17594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17602 if { (eval echo configure
:17603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17604 eval "ac_cv_func_$ac_func=yes"
17606 echo "configure: failed program was:" >&5
17607 cat conftest.
$ac_ext >&5
17609 eval "ac_cv_func_$ac_func=no"
17614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17615 echo "$ac_t""yes" 1>&6
17616 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17617 cat >> confdefs.h
<<EOF
17618 #define $ac_tr_func 1
17622 echo "$ac_t""no" 1>&6
17627 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17628 echo "configure:17629: checking for statfs" >&5
17629 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17630 echo $ac_n "(cached) $ac_c" 1>&6
17632 cat > conftest.
$ac_ext <<EOF
17633 #line 17634 "configure"
17634 #include "confdefs.h"
17636 #if defined(__BSD__)
17637 #include <sys/param.h>
17638 #include <sys/mount.h>
17640 #include <sys/vfs.h>
17654 if { (eval echo configure
:17655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17657 wx_cv_func_statfs
=yes
17660 echo "configure: failed program was:" >&5
17661 cat conftest.
$ac_ext >&5
17664 wx_cv_func_statfs
=no
17672 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17674 if test "$wx_cv_func_statfs" = "yes"; then
17675 wx_cv_type_statvfs_t
="struct statfs"
17676 cat >> confdefs.h
<<\EOF
17677 #define HAVE_STATFS 1
17681 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17682 echo "configure:17683: checking for statvfs" >&5
17683 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17684 echo $ac_n "(cached) $ac_c" 1>&6
17686 cat > conftest.
$ac_ext <<EOF
17687 #line 17688 "configure"
17688 #include "confdefs.h"
17690 #include <stddef.h>
17691 #include <sys/statvfs.h>
17695 statvfs("/", NULL);
17699 if { (eval echo configure
:17700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17701 wx_cv_func_statvfs
=yes
17703 echo "configure: failed program was:" >&5
17704 cat conftest.
$ac_ext >&5
17706 wx_cv_func_statvfs
=no
17713 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17715 if test "$wx_cv_func_statvfs" = "yes"; then
17718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17719 ac_cpp
='$CXXCPP $CPPFLAGS'
17720 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17721 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17722 cross_compiling
=$ac_cv_prog_cxx_cross
17725 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17726 echo "configure:17727: checking for statvfs argument type" >&5
17727 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17728 echo $ac_n "(cached) $ac_c" 1>&6
17730 cat > conftest.
$ac_ext <<EOF
17731 #line 17732 "configure"
17732 #include "confdefs.h"
17734 #include <sys/statvfs.h>
17747 if { (eval echo configure
:17748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17749 wx_cv_type_statvfs_t
=statvfs_t
17751 echo "configure: failed program was:" >&5
17752 cat conftest.
$ac_ext >&5
17755 cat > conftest.
$ac_ext <<EOF
17756 #line 17757 "configure"
17757 #include "confdefs.h"
17759 #include <sys/statvfs.h>
17772 if { (eval echo configure
:17773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17774 wx_cv_type_statvfs_t
="struct statvfs"
17776 echo "configure: failed program was:" >&5
17777 cat conftest.
$ac_ext >&5
17779 wx_cv_type_statvfs_t
="unknown"
17790 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17793 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17794 ac_cpp
='$CPP $CPPFLAGS'
17795 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17796 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17797 cross_compiling
=$ac_cv_prog_cc_cross
17800 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17801 cat >> confdefs.h
<<\EOF
17802 #define HAVE_STATVFS 1
17807 wx_cv_type_statvfs_t
="unknown"
17811 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17812 cat >> confdefs.h
<<EOF
17813 #define WX_STATFS_T $wx_cv_type_statvfs_t
17817 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17820 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17821 for ac_func
in fcntl flock
17823 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17824 echo "configure:17825: checking for $ac_func" >&5
17825 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17826 echo $ac_n "(cached) $ac_c" 1>&6
17828 cat > conftest.
$ac_ext <<EOF
17829 #line 17830 "configure"
17830 #include "confdefs.h"
17831 /* System header to define __stub macros and hopefully few prototypes,
17832 which can conflict with char $ac_func(); below. */
17833 #include <assert.h>
17834 /* Override any gcc2 internal prototype to avoid an error. */
17835 /* We use char because int might match the return type of a gcc2
17836 builtin and then its argument prototype would still apply. */
17841 /* The GNU C library defines this for functions which it implements
17842 to always fail with ENOSYS. Some functions are actually named
17843 something starting with __ and the normal name is an alias. */
17844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17852 if { (eval echo configure
:17853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17854 eval "ac_cv_func_$ac_func=yes"
17856 echo "configure: failed program was:" >&5
17857 cat conftest.
$ac_ext >&5
17859 eval "ac_cv_func_$ac_func=no"
17864 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17865 echo "$ac_t""yes" 1>&6
17866 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17867 cat >> confdefs.h
<<EOF
17868 #define $ac_tr_func 1
17872 echo "$ac_t""no" 1>&6
17877 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17878 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17879 wxUSE_SNGLINST_CHECKER
=no
17883 for ac_func
in timegm
17885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17886 echo "configure:17887: checking for $ac_func" >&5
17887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17888 echo $ac_n "(cached) $ac_c" 1>&6
17890 cat > conftest.
$ac_ext <<EOF
17891 #line 17892 "configure"
17892 #include "confdefs.h"
17893 /* System header to define __stub macros and hopefully few prototypes,
17894 which can conflict with char $ac_func(); below. */
17895 #include <assert.h>
17896 /* Override any gcc2 internal prototype to avoid an error. */
17897 /* We use char because int might match the return type of a gcc2
17898 builtin and then its argument prototype would still apply. */
17903 /* The GNU C library defines this for functions which it implements
17904 to always fail with ENOSYS. Some functions are actually named
17905 something starting with __ and the normal name is an alias. */
17906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17914 if { (eval echo configure
:17915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17916 eval "ac_cv_func_$ac_func=yes"
17918 echo "configure: failed program was:" >&5
17919 cat conftest.
$ac_ext >&5
17921 eval "ac_cv_func_$ac_func=no"
17926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17927 echo "$ac_t""yes" 1>&6
17928 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17929 cat >> confdefs.h
<<EOF
17930 #define $ac_tr_func 1
17934 echo "$ac_t""no" 1>&6
17939 for ac_func
in putenv setenv
17941 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17942 echo "configure:17943: checking for $ac_func" >&5
17943 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17944 echo $ac_n "(cached) $ac_c" 1>&6
17946 cat > conftest.
$ac_ext <<EOF
17947 #line 17948 "configure"
17948 #include "confdefs.h"
17949 /* System header to define __stub macros and hopefully few prototypes,
17950 which can conflict with char $ac_func(); below. */
17951 #include <assert.h>
17952 /* Override any gcc2 internal prototype to avoid an error. */
17953 /* We use char because int might match the return type of a gcc2
17954 builtin and then its argument prototype would still apply. */
17959 /* The GNU C library defines this for functions which it implements
17960 to always fail with ENOSYS. Some functions are actually named
17961 something starting with __ and the normal name is an alias. */
17962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17970 if { (eval echo configure
:17971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17972 eval "ac_cv_func_$ac_func=yes"
17974 echo "configure: failed program was:" >&5
17975 cat conftest.
$ac_ext >&5
17977 eval "ac_cv_func_$ac_func=no"
17982 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17983 echo "$ac_t""yes" 1>&6
17984 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17985 cat >> confdefs.h
<<EOF
17986 #define $ac_tr_func 1
17990 echo "$ac_t""no" 1>&6
17995 HAVE_SOME_SLEEP_FUNC
=0
17996 if test "$USE_BEOS" = 1; then
17997 cat >> confdefs.h
<<\EOF
17998 #define HAVE_SLEEP 1
18001 HAVE_SOME_SLEEP_FUNC
=1
18004 if test "$USE_DARWIN" = 1; then
18005 cat >> confdefs.h
<<\EOF
18006 #define HAVE_USLEEP 1
18009 HAVE_SOME_SLEEP_FUNC
=1
18012 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
18014 for ac_func
in nanosleep
18016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18017 echo "configure:18018: checking for $ac_func" >&5
18018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18019 echo $ac_n "(cached) $ac_c" 1>&6
18021 cat > conftest.
$ac_ext <<EOF
18022 #line 18023 "configure"
18023 #include "confdefs.h"
18024 /* System header to define __stub macros and hopefully few prototypes,
18025 which can conflict with char $ac_func(); below. */
18026 #include <assert.h>
18027 /* Override any gcc2 internal prototype to avoid an error. */
18028 /* We use char because int might match the return type of a gcc2
18029 builtin and then its argument prototype would still apply. */
18034 /* The GNU C library defines this for functions which it implements
18035 to always fail with ENOSYS. Some functions are actually named
18036 something starting with __ and the normal name is an alias. */
18037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18045 if { (eval echo configure
:18046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18047 eval "ac_cv_func_$ac_func=yes"
18049 echo "configure: failed program was:" >&5
18050 cat conftest.
$ac_ext >&5
18052 eval "ac_cv_func_$ac_func=no"
18057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18058 echo "$ac_t""yes" 1>&6
18059 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18060 cat >> confdefs.h
<<EOF
18061 #define $ac_tr_func 1
18063 cat >> confdefs.h
<<\EOF
18064 #define HAVE_NANOSLEEP 1
18068 echo "$ac_t""no" 1>&6
18069 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
18070 echo "configure:18071: checking for nanosleep in -lposix4" >&5
18071 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
18072 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18073 echo $ac_n "(cached) $ac_c" 1>&6
18075 ac_save_LIBS
="$LIBS"
18076 LIBS
="-lposix4 $LIBS"
18077 cat > conftest.
$ac_ext <<EOF
18078 #line 18079 "configure"
18079 #include "confdefs.h"
18080 /* Override any gcc2 internal prototype to avoid an error. */
18081 /* We use char because int might match the return type of a gcc2
18082 builtin and then its argument prototype would still apply. */
18089 if { (eval echo configure
:18090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18091 eval "ac_cv_lib_$ac_lib_var=yes"
18093 echo "configure: failed program was:" >&5
18094 cat conftest.
$ac_ext >&5
18096 eval "ac_cv_lib_$ac_lib_var=no"
18099 LIBS
="$ac_save_LIBS"
18102 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18103 echo "$ac_t""yes" 1>&6
18105 cat >> confdefs.h
<<\EOF
18106 #define HAVE_NANOSLEEP 1
18109 POSIX4_LINK
=" -lposix4"
18112 echo "$ac_t""no" 1>&6
18114 for ac_func
in usleep
18116 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18117 echo "configure:18118: checking for $ac_func" >&5
18118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18119 echo $ac_n "(cached) $ac_c" 1>&6
18121 cat > conftest.
$ac_ext <<EOF
18122 #line 18123 "configure"
18123 #include "confdefs.h"
18124 /* System header to define __stub macros and hopefully few prototypes,
18125 which can conflict with char $ac_func(); below. */
18126 #include <assert.h>
18127 /* Override any gcc2 internal prototype to avoid an error. */
18128 /* We use char because int might match the return type of a gcc2
18129 builtin and then its argument prototype would still apply. */
18134 /* The GNU C library defines this for functions which it implements
18135 to always fail with ENOSYS. Some functions are actually named
18136 something starting with __ and the normal name is an alias. */
18137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18145 if { (eval echo configure
:18146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18147 eval "ac_cv_func_$ac_func=yes"
18149 echo "configure: failed program was:" >&5
18150 cat conftest.
$ac_ext >&5
18152 eval "ac_cv_func_$ac_func=no"
18157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18158 echo "$ac_t""yes" 1>&6
18159 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18160 cat >> confdefs.h
<<EOF
18161 #define $ac_tr_func 1
18163 cat >> confdefs.h
<<\EOF
18164 #define HAVE_USLEEP 1
18168 echo "$ac_t""no" 1>&6
18169 echo "configure: warning: wxSleep() function will not work" 1>&2
18185 for ac_func
in uname gethostname
18187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18188 echo "configure:18189: checking for $ac_func" >&5
18189 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18190 echo $ac_n "(cached) $ac_c" 1>&6
18192 cat > conftest.
$ac_ext <<EOF
18193 #line 18194 "configure"
18194 #include "confdefs.h"
18195 /* System header to define __stub macros and hopefully few prototypes,
18196 which can conflict with char $ac_func(); below. */
18197 #include <assert.h>
18198 /* Override any gcc2 internal prototype to avoid an error. */
18199 /* We use char because int might match the return type of a gcc2
18200 builtin and then its argument prototype would still apply. */
18205 /* The GNU C library defines this for functions which it implements
18206 to always fail with ENOSYS. Some functions are actually named
18207 something starting with __ and the normal name is an alias. */
18208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18216 if { (eval echo configure
:18217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18218 eval "ac_cv_func_$ac_func=yes"
18220 echo "configure: failed program was:" >&5
18221 cat conftest.
$ac_ext >&5
18223 eval "ac_cv_func_$ac_func=no"
18228 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18229 echo "$ac_t""yes" 1>&6
18230 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18231 cat >> confdefs.h
<<EOF
18232 #define $ac_tr_func 1
18236 echo "$ac_t""no" 1>&6
18243 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18244 ac_cpp
='$CXXCPP $CPPFLAGS'
18245 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18246 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18247 cross_compiling
=$ac_cv_prog_cxx_cross
18250 for ac_func
in strtok_r
18252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18253 echo "configure:18254: checking for $ac_func" >&5
18254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18255 echo $ac_n "(cached) $ac_c" 1>&6
18257 cat > conftest.
$ac_ext <<EOF
18258 #line 18259 "configure"
18259 #include "confdefs.h"
18260 /* System header to define __stub macros and hopefully few prototypes,
18261 which can conflict with char $ac_func(); below. */
18262 #include <assert.h>
18263 /* Override any gcc2 internal prototype to avoid an error. */
18267 /* We use char because int might match the return type of a gcc2
18268 builtin and then its argument prototype would still apply. */
18273 /* The GNU C library defines this for functions which it implements
18274 to always fail with ENOSYS. Some functions are actually named
18275 something starting with __ and the normal name is an alias. */
18276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18284 if { (eval echo configure
:18285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18286 eval "ac_cv_func_$ac_func=yes"
18288 echo "configure: failed program was:" >&5
18289 cat conftest.
$ac_ext >&5
18291 eval "ac_cv_func_$ac_func=no"
18296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18297 echo "$ac_t""yes" 1>&6
18298 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18299 cat >> confdefs.h
<<EOF
18300 #define $ac_tr_func 1
18304 echo "$ac_t""no" 1>&6
18310 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18311 ac_cpp
='$CPP $CPPFLAGS'
18312 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18313 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18314 cross_compiling
=$ac_cv_prog_cc_cross
18318 for ac_func
in inet_addr
18320 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18321 echo "configure:18322: checking for $ac_func" >&5
18322 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18323 echo $ac_n "(cached) $ac_c" 1>&6
18325 cat > conftest.
$ac_ext <<EOF
18326 #line 18327 "configure"
18327 #include "confdefs.h"
18328 /* System header to define __stub macros and hopefully few prototypes,
18329 which can conflict with char $ac_func(); below. */
18330 #include <assert.h>
18331 /* Override any gcc2 internal prototype to avoid an error. */
18332 /* We use char because int might match the return type of a gcc2
18333 builtin and then its argument prototype would still apply. */
18338 /* The GNU C library defines this for functions which it implements
18339 to always fail with ENOSYS. Some functions are actually named
18340 something starting with __ and the normal name is an alias. */
18341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18349 if { (eval echo configure
:18350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18351 eval "ac_cv_func_$ac_func=yes"
18353 echo "configure: failed program was:" >&5
18354 cat conftest.
$ac_ext >&5
18356 eval "ac_cv_func_$ac_func=no"
18361 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18362 echo "$ac_t""yes" 1>&6
18363 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18364 cat >> confdefs.h
<<EOF
18365 #define $ac_tr_func 1
18367 cat >> confdefs.h
<<\EOF
18368 #define HAVE_INET_ADDR 1
18372 echo "$ac_t""no" 1>&6
18373 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18374 echo "configure:18375: checking for inet_addr in -lnsl" >&5
18375 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18376 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18377 echo $ac_n "(cached) $ac_c" 1>&6
18379 ac_save_LIBS
="$LIBS"
18381 cat > conftest.
$ac_ext <<EOF
18382 #line 18383 "configure"
18383 #include "confdefs.h"
18384 /* Override any gcc2 internal prototype to avoid an error. */
18385 /* We use char because int might match the return type of a gcc2
18386 builtin and then its argument prototype would still apply. */
18393 if { (eval echo configure
:18394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18395 eval "ac_cv_lib_$ac_lib_var=yes"
18397 echo "configure: failed program was:" >&5
18398 cat conftest.
$ac_ext >&5
18400 eval "ac_cv_lib_$ac_lib_var=no"
18403 LIBS
="$ac_save_LIBS"
18406 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18407 echo "$ac_t""yes" 1>&6
18410 echo "$ac_t""no" 1>&6
18411 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18412 echo "configure:18413: checking for inet_addr in -lresolv" >&5
18413 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18414 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18415 echo $ac_n "(cached) $ac_c" 1>&6
18417 ac_save_LIBS
="$LIBS"
18418 LIBS
="-lresolv $LIBS"
18419 cat > conftest.
$ac_ext <<EOF
18420 #line 18421 "configure"
18421 #include "confdefs.h"
18422 /* Override any gcc2 internal prototype to avoid an error. */
18423 /* We use char because int might match the return type of a gcc2
18424 builtin and then its argument prototype would still apply. */
18431 if { (eval echo configure
:18432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18433 eval "ac_cv_lib_$ac_lib_var=yes"
18435 echo "configure: failed program was:" >&5
18436 cat conftest.
$ac_ext >&5
18438 eval "ac_cv_lib_$ac_lib_var=no"
18441 LIBS
="$ac_save_LIBS"
18444 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18445 echo "$ac_t""yes" 1>&6
18448 echo "$ac_t""no" 1>&6
18449 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18450 echo "configure:18451: checking for inet_addr in -lsocket" >&5
18451 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18452 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18453 echo $ac_n "(cached) $ac_c" 1>&6
18455 ac_save_LIBS
="$LIBS"
18456 LIBS
="-lsocket $LIBS"
18457 cat > conftest.
$ac_ext <<EOF
18458 #line 18459 "configure"
18459 #include "confdefs.h"
18460 /* Override any gcc2 internal prototype to avoid an error. */
18461 /* We use char because int might match the return type of a gcc2
18462 builtin and then its argument prototype would still apply. */
18469 if { (eval echo configure
:18470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18471 eval "ac_cv_lib_$ac_lib_var=yes"
18473 echo "configure: failed program was:" >&5
18474 cat conftest.
$ac_ext >&5
18476 eval "ac_cv_lib_$ac_lib_var=no"
18479 LIBS
="$ac_save_LIBS"
18482 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18483 echo "$ac_t""yes" 1>&6
18487 echo "$ac_t""no" 1>&6
18502 for ac_func
in inet_aton
18504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18505 echo "configure:18506: checking for $ac_func" >&5
18506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18507 echo $ac_n "(cached) $ac_c" 1>&6
18509 cat > conftest.
$ac_ext <<EOF
18510 #line 18511 "configure"
18511 #include "confdefs.h"
18512 /* System header to define __stub macros and hopefully few prototypes,
18513 which can conflict with char $ac_func(); below. */
18514 #include <assert.h>
18515 /* Override any gcc2 internal prototype to avoid an error. */
18516 /* We use char because int might match the return type of a gcc2
18517 builtin and then its argument prototype would still apply. */
18522 /* The GNU C library defines this for functions which it implements
18523 to always fail with ENOSYS. Some functions are actually named
18524 something starting with __ and the normal name is an alias. */
18525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18533 if { (eval echo configure
:18534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18535 eval "ac_cv_func_$ac_func=yes"
18537 echo "configure: failed program was:" >&5
18538 cat conftest.
$ac_ext >&5
18540 eval "ac_cv_func_$ac_func=no"
18545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18546 echo "$ac_t""yes" 1>&6
18547 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18548 cat >> confdefs.h
<<EOF
18549 #define $ac_tr_func 1
18551 cat >> confdefs.h
<<\EOF
18552 #define HAVE_INET_ATON 1
18556 echo "$ac_t""no" 1>&6
18557 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18558 echo "configure:18559: checking for inet_aton in -l$INET_LINK" >&5
18559 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18560 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18561 echo $ac_n "(cached) $ac_c" 1>&6
18563 ac_save_LIBS
="$LIBS"
18564 LIBS
="-l$INET_LINK $LIBS"
18565 cat > conftest.
$ac_ext <<EOF
18566 #line 18567 "configure"
18567 #include "confdefs.h"
18568 /* Override any gcc2 internal prototype to avoid an error. */
18569 /* We use char because int might match the return type of a gcc2
18570 builtin and then its argument prototype would still apply. */
18577 if { (eval echo configure
:18578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18579 eval "ac_cv_lib_$ac_lib_var=yes"
18581 echo "configure: failed program was:" >&5
18582 cat conftest.
$ac_ext >&5
18584 eval "ac_cv_lib_$ac_lib_var=no"
18587 LIBS
="$ac_save_LIBS"
18590 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18591 echo "$ac_t""yes" 1>&6
18592 cat >> confdefs.h
<<\EOF
18593 #define HAVE_INET_ATON 1
18597 echo "$ac_t""no" 1>&6
18605 if test "x$INET_LINK" != "x"; then
18606 cat >> confdefs.h
<<\EOF
18607 #define HAVE_INET_ADDR 1
18610 INET_LINK
=" -l$INET_LINK"
18616 cat > confcache
<<\EOF
18617 # This file is a shell script that caches the results of configure
18618 # tests run on this system so they can be shared between configure
18619 # scripts and configure runs. It is not useful on other systems.
18620 # If it contains results you don't want to keep, you may remove or edit it.
18622 # By default, configure uses ./config.cache as the cache file,
18623 # creating it if it does not exist already. You can give configure
18624 # the --cache-file=FILE option to use a different cache file; that is
18625 # what configure does when it calls configure scripts in
18626 # subdirectories, so they share the cache.
18627 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18628 # config.status only pays attention to the cache file if you give it the
18629 # --recheck option to rerun configure.
18632 # The following way of writing the cache mishandles newlines in values,
18633 # but we know of no workaround that is simple, portable, and efficient.
18634 # So, don't put newlines in cache variables' values.
18635 # Ultrix sh set writes to stderr and can't be redirected directly,
18636 # and sets the high bit in the cache file unless we assign to the vars.
18638 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18640 # `set' does not quote correctly, so add quotes (double-quote substitution
18641 # turns \\\\ into \\, and sed turns \\ into \).
18643 -e "s/'/'\\\\''/g" \
18644 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18647 # `set' quotes correctly as required by POSIX, so do not add quotes.
18648 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18651 if cmp -s $cache_file confcache
; then
18654 if test -w $cache_file; then
18655 echo "updating cache $cache_file"
18656 cat confcache
> $cache_file
18658 echo "not updating unwritable cache $cache_file"
18666 if test "$TOOLKIT" != "MSW"; then
18672 if test "$wxUSE_THREADS" = "yes" ; then
18673 if test "$USE_BEOS" = 1; then
18674 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18679 if test "$wxUSE_THREADS" = "yes" ; then
18682 THREAD_OPTS
="-pthread"
18684 *-*-solaris2* | *-*-sunos4* )
18685 if test "x$GCC" = "xyes"; then
18686 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18688 THREAD_OPTS
="-mt $THREAD_OPTS"
18692 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18694 *-*-darwin* | *-*-cygwin* )
18698 THREAD_OPTS
="pthreads"
18701 if test "x$GCC" != "xyes"; then
18706 THREAD_OPTS
="$THREAD_OPTS pthread none"
18709 for flag
in $THREAD_OPTS; do
18712 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18713 echo "configure:18714: checking whether pthreads work without any flags" >&5
18717 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18718 echo "configure:18719: checking whether pthreads work with $flag" >&5
18719 THREADS_CFLAGS
="$flag"
18723 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18724 echo "configure:18725: checking for the pthreads library -l$flag" >&5
18725 THREADS_LINK
="-l$flag"
18730 save_CFLAGS
="$CFLAGS"
18731 LIBS
="$THREADS_LINK $LIBS"
18732 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18734 cat > conftest.
$ac_ext <<EOF
18735 #line 18736 "configure"
18736 #include "confdefs.h"
18737 #include <pthread.h>
18739 pthread_create(0,0,0,0);
18742 if { (eval echo configure
:18743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18746 echo "configure: failed program was:" >&5
18747 cat conftest.
$ac_ext >&5
18752 CFLAGS
="$save_CFLAGS"
18754 echo "$ac_t""$THREADS_OK" 1>&6
18755 if test "x$THREADS_OK" = "xyes"; then
18763 if test "x$THREADS_OK" != "xyes"; then
18765 echo "configure: warning: No thread support on this system... disabled" 1>&2
18767 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18768 LIBS
="$THREADS_LINK $LIBS"
18770 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18771 echo "configure:18772: checking if more special flags are required for pthreads" >&5
18775 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18776 flag
="-D_THREAD_SAFE"
18779 flag
="-D_THREAD_SAFE"
18782 flag
="-D_REENTRANT"
18783 if test "x$GCC" != "xyes"; then
18784 flag
="$flag -D_RWSTD_MULTI_THREAD"
18787 *solaris
* | alpha
*-osf*)
18788 flag
="-D_REENTRANT"
18791 echo "$ac_t""${flag}" 1>&6
18792 if test "x$flag" != xno
; then
18793 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18796 if test "x$THREADS_CFLAGS" != "x"; then
18797 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18798 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18803 if test "$wxUSE_THREADS" = "yes" ; then
18804 for ac_func
in thr_setconcurrency
18806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18807 echo "configure:18808: checking for $ac_func" >&5
18808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18809 echo $ac_n "(cached) $ac_c" 1>&6
18811 cat > conftest.
$ac_ext <<EOF
18812 #line 18813 "configure"
18813 #include "confdefs.h"
18814 /* System header to define __stub macros and hopefully few prototypes,
18815 which can conflict with char $ac_func(); below. */
18816 #include <assert.h>
18817 /* Override any gcc2 internal prototype to avoid an error. */
18818 /* We use char because int might match the return type of a gcc2
18819 builtin and then its argument prototype would still apply. */
18824 /* The GNU C library defines this for functions which it implements
18825 to always fail with ENOSYS. Some functions are actually named
18826 something starting with __ and the normal name is an alias. */
18827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18835 if { (eval echo configure
:18836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18837 eval "ac_cv_func_$ac_func=yes"
18839 echo "configure: failed program was:" >&5
18840 cat conftest.
$ac_ext >&5
18842 eval "ac_cv_func_$ac_func=no"
18847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18848 echo "$ac_t""yes" 1>&6
18849 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18850 cat >> confdefs.h
<<EOF
18851 #define $ac_tr_func 1
18855 echo "$ac_t""no" 1>&6
18860 for ac_hdr
in sched.h
18862 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18863 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18864 echo "configure:18865: checking for $ac_hdr" >&5
18865 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18866 echo $ac_n "(cached) $ac_c" 1>&6
18868 cat > conftest.
$ac_ext <<EOF
18869 #line 18870 "configure"
18870 #include "confdefs.h"
18873 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18874 { (eval echo configure
:18875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18875 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18876 if test -z "$ac_err"; then
18878 eval "ac_cv_header_$ac_safe=yes"
18881 echo "configure: failed program was:" >&5
18882 cat conftest.
$ac_ext >&5
18884 eval "ac_cv_header_$ac_safe=no"
18888 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18889 echo "$ac_t""yes" 1>&6
18890 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18891 cat >> confdefs.h
<<EOF
18892 #define $ac_tr_hdr 1
18896 echo "$ac_t""no" 1>&6
18900 if test "$ac_cv_header_sched_h" = "yes"; then
18901 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18902 echo "configure:18903: checking for sched_yield" >&5
18903 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18904 echo $ac_n "(cached) $ac_c" 1>&6
18906 cat > conftest.
$ac_ext <<EOF
18907 #line 18908 "configure"
18908 #include "confdefs.h"
18909 /* System header to define __stub macros and hopefully few prototypes,
18910 which can conflict with char sched_yield(); below. */
18911 #include <assert.h>
18912 /* Override any gcc2 internal prototype to avoid an error. */
18913 /* We use char because int might match the return type of a gcc2
18914 builtin and then its argument prototype would still apply. */
18915 char sched_yield();
18919 /* The GNU C library defines this for functions which it implements
18920 to always fail with ENOSYS. Some functions are actually named
18921 something starting with __ and the normal name is an alias. */
18922 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
18930 if { (eval echo configure
:18931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18932 eval "ac_cv_func_sched_yield=yes"
18934 echo "configure: failed program was:" >&5
18935 cat conftest.
$ac_ext >&5
18937 eval "ac_cv_func_sched_yield=no"
18942 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18943 echo "$ac_t""yes" 1>&6
18944 cat >> confdefs.h
<<\EOF
18945 #define HAVE_SCHED_YIELD 1
18949 echo "$ac_t""no" 1>&6
18951 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
18952 echo "configure:18953: checking for sched_yield in -lposix4" >&5
18953 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
18954 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18955 echo $ac_n "(cached) $ac_c" 1>&6
18957 ac_save_LIBS
="$LIBS"
18958 LIBS
="-lposix4 $LIBS"
18959 cat > conftest.
$ac_ext <<EOF
18960 #line 18961 "configure"
18961 #include "confdefs.h"
18962 /* Override any gcc2 internal prototype to avoid an error. */
18963 /* We use char because int might match the return type of a gcc2
18964 builtin and then its argument prototype would still apply. */
18965 char sched_yield();
18971 if { (eval echo configure
:18972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18973 eval "ac_cv_lib_$ac_lib_var=yes"
18975 echo "configure: failed program was:" >&5
18976 cat conftest.
$ac_ext >&5
18978 eval "ac_cv_lib_$ac_lib_var=no"
18981 LIBS
="$ac_save_LIBS"
18984 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18985 echo "$ac_t""yes" 1>&6
18986 cat >> confdefs.h
<<\EOF
18987 #define HAVE_SCHED_YIELD 1
18989 POSIX4_LINK
=" -lposix4"
18991 echo "$ac_t""no" 1>&6
18992 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
19003 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
19004 echo "configure:19005: checking for pthread_attr_getschedpolicy" >&5
19005 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
19006 echo $ac_n "(cached) $ac_c" 1>&6
19008 cat > conftest.
$ac_ext <<EOF
19009 #line 19010 "configure"
19010 #include "confdefs.h"
19011 /* System header to define __stub macros and hopefully few prototypes,
19012 which can conflict with char pthread_attr_getschedpolicy(); below. */
19013 #include <assert.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 pthread_attr_getschedpolicy();
19021 /* The GNU C library defines this for functions which it implements
19022 to always fail with ENOSYS. Some functions are actually named
19023 something starting with __ and the normal name is an alias. */
19024 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
19027 pthread_attr_getschedpolicy();
19032 if { (eval echo configure
:19033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19034 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
19036 echo "configure: failed program was:" >&5
19037 cat conftest.
$ac_ext >&5
19039 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
19044 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
19045 echo "$ac_t""yes" 1>&6
19046 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
19047 echo "configure:19048: checking for pthread_attr_setschedparam" >&5
19048 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
19049 echo $ac_n "(cached) $ac_c" 1>&6
19051 cat > conftest.
$ac_ext <<EOF
19052 #line 19053 "configure"
19053 #include "confdefs.h"
19054 /* System header to define __stub macros and hopefully few prototypes,
19055 which can conflict with char pthread_attr_setschedparam(); below. */
19056 #include <assert.h>
19057 /* Override any gcc2 internal prototype to avoid an error. */
19058 /* We use char because int might match the return type of a gcc2
19059 builtin and then its argument prototype would still apply. */
19060 char pthread_attr_setschedparam();
19064 /* The GNU C library defines this for functions which it implements
19065 to always fail with ENOSYS. Some functions are actually named
19066 something starting with __ and the normal name is an alias. */
19067 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
19070 pthread_attr_setschedparam();
19075 if { (eval echo configure
:19076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19077 eval "ac_cv_func_pthread_attr_setschedparam=yes"
19079 echo "configure: failed program was:" >&5
19080 cat conftest.
$ac_ext >&5
19082 eval "ac_cv_func_pthread_attr_setschedparam=no"
19087 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
19088 echo "$ac_t""yes" 1>&6
19089 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
19090 echo "configure:19091: checking for sched_get_priority_max" >&5
19091 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
19092 echo $ac_n "(cached) $ac_c" 1>&6
19094 cat > conftest.
$ac_ext <<EOF
19095 #line 19096 "configure"
19096 #include "confdefs.h"
19097 /* System header to define __stub macros and hopefully few prototypes
19099 echo "$ac_t""no" 1>&6
19100 which can conflict with char sched_get_priority_max(); below. */
19101 #include <assert.h>
19102 /* Override any gcc2 internal prototype to avoid an error. */
19103 /* We use char because int might match the return type of a gcc2
19104 builtin and then its argument prototype would still apply. */
19105 char sched_get_priority_max();
19109 /* The GNU C library defines this for functions which it implements
19110 to always fail with ENOSYS. Some functions are actually named
19111 something starting with __ and the normal name is an alias. */
19112 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
19115 sched_get_priority_max();
19120 if { (eval echo configure
:19121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19122 eval "ac_cv_func_sched_get_priority_max=yes"
19124 echo "configure: failed program was:" >&5
19125 cat conftest.
$ac_ext >&5
19127 eval "ac_cv_func_sched_get_priority_max=no"
19132 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
19133 echo "$ac_t""yes" 1>&6
19136 echo "$ac_t""no" 1>&6
19137 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
19138 echo "configure:19139: checking for sched_get_priority_max in -lposix4" >&5
19139 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
19140 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19141 echo $ac_n "(cached) $ac_c" 1>&6
19143 ac_save_LIBS
="$LIBS"
19144 LIBS
="-lposix4 $LIBS"
19145 cat > conftest.
$ac_ext <<EOF
19146 #line 19147 "configure"
19147 #include "confdefs.h"
19148 /* Override any gcc2 internal prototype to avoid an error. */
19149 /* We use char because int might match the return type of a gcc2
19150 builtin and then its argument prototype would still apply. */
19151 char sched_get_priority_max();
19154 sched_get_priority_max()
19157 if { (eval echo configure
:19158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19159 eval "ac_cv_lib_$ac_lib_var=yes"
19161 echo "configure: failed program was:" >&5
19162 cat conftest.
$ac_ext >&5
19164 eval "ac_cv_lib_$ac_lib_var=no"
19167 LIBS
="$ac_save_LIBS"
19170 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19171 echo "$ac_t""yes" 1>&6
19174 POSIX4_LINK
=" -lposix4"
19177 echo "$ac_t""no" 1>&6
19185 echo "$ac_t""no" 1>&6
19192 if test "$HAVE_PRIOR_FUNCS" = 1; then
19193 cat >> confdefs.h
<<\EOF
19194 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19198 echo "configure: warning: Setting thread priority will not work" 1>&2
19201 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19202 echo "configure:19203: checking for pthread_cancel" >&5
19203 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
19204 echo $ac_n "(cached) $ac_c" 1>&6
19206 cat > conftest.
$ac_ext <<EOF
19207 #line 19208 "configure"
19208 #include "confdefs.h"
19209 /* System header to define __stub macros and hopefully few prototypes,
19210 which can conflict with char pthread_cancel(); below. */
19211 #include <assert.h>
19212 /* Override any gcc2 internal prototype to avoid an error. */
19213 /* We use char because int might match the return type of a gcc2
19214 builtin and then its argument prototype would still apply. */
19215 char pthread_cancel();
19219 /* The GNU C library defines this for functions which it implements
19220 to always fail with ENOSYS. Some functions are actually named
19221 something starting with __ and the normal name is an alias. */
19222 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19230 if { (eval echo configure
:19231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19232 eval "ac_cv_func_pthread_cancel=yes"
19234 echo "configure: failed program was:" >&5
19235 cat conftest.
$ac_ext >&5
19237 eval "ac_cv_func_pthread_cancel=no"
19242 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19243 echo "$ac_t""yes" 1>&6
19244 cat >> confdefs.h
<<\EOF
19245 #define HAVE_PTHREAD_CANCEL 1
19249 echo "$ac_t""no" 1>&6
19250 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19254 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19255 echo "configure:19256: checking for pthread_cleanup_push/pop" >&5
19256 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19257 echo $ac_n "(cached) $ac_c" 1>&6
19260 cat > conftest.
$ac_ext <<EOF
19261 #line 19262 "configure"
19262 #include "confdefs.h"
19263 #include <pthread.h>
19266 pthread_cleanup_push(NULL, NULL);
19267 pthread_cleanup_pop(0);
19271 if { (eval echo configure
:19272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19274 wx_cv_func_pthread_cleanup_push
=yes
19277 echo "configure: failed program was:" >&5
19278 cat conftest.
$ac_ext >&5
19281 wx_cv_func_pthread_cleanup_push
=no
19288 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19290 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19291 cat >> confdefs.h
<<\EOF
19292 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19298 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19299 echo "configure:19300: checking for pthread_mutexattr_t" >&5
19300 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19301 echo $ac_n "(cached) $ac_c" 1>&6
19304 cat > conftest.
$ac_ext <<EOF
19305 #line 19306 "configure"
19306 #include "confdefs.h"
19307 #include <pthread.h>
19310 pthread_mutexattr_t attr;
19311 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19315 if { (eval echo configure
:19316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19318 wx_cv_type_pthread_mutexattr_t
=yes
19321 echo "configure: failed program was:" >&5
19322 cat conftest.
$ac_ext >&5
19325 wx_cv_type_pthread_mutexattr_t
=no
19333 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19335 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19336 cat >> confdefs.h
<<\EOF
19337 #define HAVE_PTHREAD_MUTEXATTR_T 1
19341 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19342 echo "configure:19343: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19343 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19344 echo $ac_n "(cached) $ac_c" 1>&6
19347 cat > conftest.
$ac_ext <<EOF
19348 #line 19349 "configure"
19349 #include "confdefs.h"
19350 #include <pthread.h>
19353 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19357 if { (eval echo configure
:19358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19360 wx_cv_type_pthread_rec_mutex_init
=yes
19363 echo "configure: failed program was:" >&5
19364 cat conftest.
$ac_ext >&5
19367 wx_cv_type_pthread_rec_mutex_init
=no
19375 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19376 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19377 cat >> confdefs.h
<<\EOF
19378 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19382 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19388 if test "$wxUSE_THREADS" = "yes" ; then
19391 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19392 echo "configure:19393: checking if compiler supports -mthreads" >&5
19393 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19394 echo $ac_n "(cached) $ac_c" 1>&6
19397 CFLAGS_OLD
="$CFLAGS"
19398 CFLAGS
="$CFLAGS -mthreads"
19399 cat > conftest.
$ac_ext <<EOF
19400 #line 19401 "configure"
19401 #include "confdefs.h"
19407 if { (eval echo configure
:19408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19409 wx_cv_cflags_mthread
=yes
19411 echo "configure: failed program was:" >&5
19412 cat conftest.
$ac_ext >&5
19414 wx_cv_cflags_mthread
=no
19422 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19424 if test "$wx_cv_cflags_mthread" = "yes"; then
19425 CXXFLAGS
="$CXXFLAGS -mthreads"
19426 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19427 LDFLAGS
="$LDFLAGS -mthreads"
19429 CFLAGS
="$CFLAGS_OLD"
19436 if test "$wxUSE_THREADS" = "yes"; then
19437 cat >> confdefs.h
<<\EOF
19438 #define wxUSE_THREADS 1
19442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19444 if test "$ac_cv_func_strtok_r" = "yes"; then
19445 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19446 echo "configure:19447: checking if -D_REENTRANT is needed" >&5
19447 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19448 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19449 echo "$ac_t""yes" 1>&6
19451 echo "$ac_t""no" 1>&6
19456 if test "$WXGTK20" = 1 ; then
19457 cat >> confdefs.h
<<EOF
19458 #define __WXGTK20__ $WXGTK20
19464 if test "$WXGTK12" = 1 ; then
19465 cat >> confdefs.h
<<EOF
19466 #define __WXGTK12__ $WXGTK12
19471 if test "$WXGTK127" = 1 ; then
19472 cat >> confdefs.h
<<EOF
19473 #define __WXGTK127__ $WXGTK127
19480 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19485 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19486 wxUSE_DEBUG_INFO
=yes
19490 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19491 cat >> confdefs.h
<<\EOF
19495 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19497 if test "$wxUSE_GTK" = 1 ; then
19498 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19502 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19503 cat >> confdefs.h
<<\EOF
19504 #define wxUSE_MEMORY_TRACING 1
19507 cat >> confdefs.h
<<\EOF
19508 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19511 cat >> confdefs.h
<<\EOF
19512 #define wxUSE_DEBUG_NEW_ALWAYS 1
19515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19518 if test "$wxUSE_DMALLOC" = "yes" ; then
19519 DMALLOC_LIBS
="-ldmalloc"
19523 if test "$wxUSE_PROFILE" = "yes" ; then
19528 CODE_GEN_FLAGS_CXX
=
19529 if test "$GCC" = "yes" ; then
19530 if test "$wxUSE_NO_RTTI" = "yes" ; then
19531 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19533 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19534 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19536 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19537 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19539 if test "$USE_WIN32" = 1 ; then
19540 # I'm not even really sure what this was ever added to solve,
19541 # but someone added it for mingw native builds, so I guess
19542 # they had a reason, right??
19543 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19548 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19551 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19557 if test "$wxUSE_OPTIMISE" = "no" ; then
19558 if test "$GCC" = yes ; then
19562 if test "$GCC" = yes ; then
19566 i586
-*-*|i686
-*-* )
19567 OPTIMISE
="${OPTIMISE} "
19576 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19577 cat >> confdefs.h
<<\EOF
19578 #define WXWIN_COMPATIBILITY_2 1
19582 WXWIN_COMPATIBILITY_2_2
="yes"
19585 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19586 cat >> confdefs.h
<<\EOF
19587 #define WXWIN_COMPATIBILITY_2_2 1
19591 WXWIN_COMPATIBILITY_2_4
="yes"
19594 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19595 cat >> confdefs.h
<<\EOF
19596 #define WXWIN_COMPATIBILITY_2_4 1
19602 if test "$wxUSE_GUI" = "yes"; then
19603 cat >> confdefs.h
<<\EOF
19604 #define wxUSE_GUI 1
19609 cat >> confdefs.h
<<\EOF
19610 #define wxUSE_NOGUI 1
19616 if test "$wxUSE_UNIX" = "yes"; then
19617 cat >> confdefs.h
<<\EOF
19618 #define wxUSE_UNIX 1
19624 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19625 cat >> confdefs.h
<<\EOF
19626 #define wxUSE_APPLE_IEEE 1
19631 if test "$wxUSE_TIMER" = "yes"; then
19632 cat >> confdefs.h
<<\EOF
19633 #define wxUSE_TIMER 1
19638 if test "$wxUSE_WAVE" = "yes"; then
19639 cat >> confdefs.h
<<\EOF
19640 #define wxUSE_WAVE 1
19645 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19646 cat >> confdefs.h
<<\EOF
19647 #define wxUSE_CMDLINE_PARSER 1
19652 if test "$wxUSE_STOPWATCH" = "yes"; then
19653 cat >> confdefs.h
<<\EOF
19654 #define wxUSE_STOPWATCH 1
19659 if test "$wxUSE_DATETIME" = "yes"; then
19660 cat >> confdefs.h
<<\EOF
19661 #define wxUSE_DATETIME 1
19666 if test "$wxUSE_TIMEDATE" = "yes"; then
19667 cat >> confdefs.h
<<\EOF
19668 #define wxUSE_TIMEDATE 1
19673 if test "$wxUSE_FILE" = "yes"; then
19674 cat >> confdefs.h
<<\EOF
19675 #define wxUSE_FILE 1
19680 if test "$wxUSE_FFILE" = "yes"; then
19681 cat >> confdefs.h
<<\EOF
19682 #define wxUSE_FFILE 1
19687 if test "$wxUSE_FILESYSTEM" = "yes"; then
19688 cat >> confdefs.h
<<\EOF
19689 #define wxUSE_FILESYSTEM 1
19694 if test "$wxUSE_FS_INET" = "yes"; then
19695 cat >> confdefs.h
<<\EOF
19696 #define wxUSE_FS_INET 1
19701 if test "$wxUSE_FS_ZIP" = "yes"; then
19702 cat >> confdefs.h
<<\EOF
19703 #define wxUSE_FS_ZIP 1
19708 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19709 cat >> confdefs.h
<<\EOF
19710 #define wxUSE_ZIPSTREAM 1
19715 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19716 cat >> confdefs.h
<<\EOF
19717 #define wxUSE_ON_FATAL_EXCEPTION 1
19722 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19723 cat >> confdefs.h
<<\EOF
19724 #define wxUSE_SNGLINST_CHECKER 1
19729 if test "$wxUSE_BUSYINFO" = "yes"; then
19730 cat >> confdefs.h
<<\EOF
19731 #define wxUSE_BUSYINFO 1
19736 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19737 cat >> confdefs.h
<<\EOF
19738 #define wxUSE_STD_IOSTREAM 1
19743 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19744 cat >> confdefs.h
<<\EOF
19745 #define wxUSE_TEXTBUFFER 1
19750 if test "$wxUSE_TEXTFILE" = "yes"; then
19751 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19752 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19754 cat >> confdefs.h
<<\EOF
19755 #define wxUSE_TEXTFILE 1
19761 if test "$wxUSE_CONFIG" = "yes" ; then
19762 if test "$wxUSE_TEXTFILE" != "yes"; then
19763 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19765 cat >> confdefs.h
<<\EOF
19766 #define wxUSE_CONFIG 1
19769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19773 if test "$wxUSE_INTL" = "yes" ; then
19774 if test "$wxUSE_FILE" != "yes"; then
19775 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19777 cat >> confdefs.h
<<\EOF
19778 #define wxUSE_INTL 1
19781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19782 GUIDIST
="$GUIDIST INTL_DIST"
19786 if test "$wxUSE_LOG" = "yes"; then
19787 cat >> confdefs.h
<<\EOF
19788 #define wxUSE_LOG 1
19792 if test "$wxUSE_LOGGUI" = "yes"; then
19793 cat >> confdefs.h
<<\EOF
19794 #define wxUSE_LOGGUI 1
19799 if test "$wxUSE_LOGWINDOW" = "yes"; then
19800 cat >> confdefs.h
<<\EOF
19801 #define wxUSE_LOGWINDOW 1
19806 if test "$wxUSE_LOGDIALOG" = "yes"; then
19807 cat >> confdefs.h
<<\EOF
19808 #define wxUSE_LOG_DIALOG 1
19814 if test "$wxUSE_LONGLONG" = "yes"; then
19815 cat >> confdefs.h
<<\EOF
19816 #define wxUSE_LONGLONG 1
19821 if test "$wxUSE_GEOMETRY" = "yes"; then
19822 cat >> confdefs.h
<<\EOF
19823 #define wxUSE_GEOMETRY 1
19828 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19829 cat >> confdefs.h
<<\EOF
19830 #define wxUSE_DIALUP_MANAGER 1
19833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19836 if test "$wxUSE_STREAMS" = "yes" ; then
19837 cat >> confdefs.h
<<\EOF
19838 #define wxUSE_STREAMS 1
19844 if test "$wxUSE_DATETIME" = "yes"; then
19845 for ac_func
in strptime
19847 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19848 echo "configure:19849: checking for $ac_func" >&5
19849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19850 echo $ac_n "(cached) $ac_c" 1>&6
19852 cat > conftest.
$ac_ext <<EOF
19853 #line 19854 "configure"
19854 #include "confdefs.h"
19855 /* System header to define __stub macros and hopefully few prototypes,
19856 which can conflict with char $ac_func(); below. */
19857 #include <assert.h>
19858 /* Override any gcc2 internal prototype to avoid an error. */
19859 /* We use char because int might match the return type of a gcc2
19860 builtin and then its argument prototype would still apply. */
19865 /* The GNU C library defines this for functions which it implements
19866 to always fail with ENOSYS. Some functions are actually named
19867 something starting with __ and the normal name is an alias. */
19868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19876 if { (eval echo configure
:19877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19878 eval "ac_cv_func_$ac_func=yes"
19880 echo "configure: failed program was:" >&5
19881 cat conftest.
$ac_ext >&5
19883 eval "ac_cv_func_$ac_func=no"
19888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19889 echo "$ac_t""yes" 1>&6
19890 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19891 cat >> confdefs.h
<<EOF
19892 #define $ac_tr_func 1
19896 echo "$ac_t""no" 1>&6
19901 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19902 echo "configure:19903: checking for timezone variable in <time.h>" >&5
19903 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19904 echo $ac_n "(cached) $ac_c" 1>&6
19907 cat > conftest.
$ac_ext <<EOF
19908 #line 19909 "configure"
19909 #include "confdefs.h"
19920 if { (eval echo configure
:19921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19923 wx_cv_var_timezone
=timezone
19926 echo "configure: failed program was:" >&5
19927 cat conftest.
$ac_ext >&5
19930 cat > conftest.
$ac_ext <<EOF
19931 #line 19932 "configure"
19932 #include "confdefs.h"
19943 if { (eval echo configure
:19944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19946 wx_cv_var_timezone
=_timezone
19949 echo "configure: failed program was:" >&5
19950 cat conftest.
$ac_ext >&5
19953 cat > conftest.
$ac_ext <<EOF
19954 #line 19955 "configure"
19955 #include "confdefs.h"
19966 if { (eval echo configure
:19967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19969 wx_cv_var_timezone
=__timezone
19972 echo "configure: failed program was:" >&5
19973 cat conftest.
$ac_ext >&5
19976 if test "$USE_DOS" = 0 ; then
19977 echo "configure: warning: no timezone variable" 1>&2
19995 echo "$ac_t""$wx_cv_var_timezone" 1>&6
19997 if test "x$wx_cv_var_timezone" != x
; then
19998 cat >> confdefs.h
<<EOF
19999 #define WX_TIMEZONE $wx_cv_var_timezone
20004 for ac_func
in localtime
20006 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20007 echo "configure:20008: checking for $ac_func" >&5
20008 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20009 echo $ac_n "(cached) $ac_c" 1>&6
20011 cat > conftest.
$ac_ext <<EOF
20012 #line 20013 "configure"
20013 #include "confdefs.h"
20014 /* System header to define __stub macros and hopefully few prototypes,
20015 which can conflict with char $ac_func(); below. */
20016 #include <assert.h>
20017 /* Override any gcc2 internal prototype to avoid an error. */
20018 /* We use char because int might match the return type of a gcc2
20019 builtin and then its argument prototype would still apply. */
20024 /* The GNU C library defines this for functions which it implements
20025 to always fail with ENOSYS. Some functions are actually named
20026 something starting with __ and the normal name is an alias. */
20027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20035 if { (eval echo configure
:20036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20037 eval "ac_cv_func_$ac_func=yes"
20039 echo "configure: failed program was:" >&5
20040 cat conftest.
$ac_ext >&5
20042 eval "ac_cv_func_$ac_func=no"
20047 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20048 echo "$ac_t""yes" 1>&6
20049 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20050 cat >> confdefs.h
<<EOF
20051 #define $ac_tr_func 1
20055 echo "$ac_t""no" 1>&6
20060 if test "$ac_cv_func_localtime" = "yes"; then
20061 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
20062 echo "configure:20063: checking for tm_gmtoff in struct tm" >&5
20063 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
20064 echo $ac_n "(cached) $ac_c" 1>&6
20067 cat > conftest.
$ac_ext <<EOF
20068 #line 20069 "configure"
20069 #include "confdefs.h"
20080 if { (eval echo configure
:20081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20083 wx_cv_struct_tm_has_gmtoff
=yes
20086 echo "configure: failed program was:" >&5
20087 cat conftest.
$ac_ext >&5
20089 wx_cv_struct_tm_has_gmtoff
=no
20096 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
20099 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
20100 cat >> confdefs.h
<<\EOF
20101 #define WX_GMTOFF_IN_TM 1
20106 for ac_func
in gettimeofday ftime
20108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20109 echo "configure:20110: checking for $ac_func" >&5
20110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20111 echo $ac_n "(cached) $ac_c" 1>&6
20113 cat > conftest.
$ac_ext <<EOF
20114 #line 20115 "configure"
20115 #include "confdefs.h"
20116 /* System header to define __stub macros and hopefully few prototypes,
20117 which can conflict with char $ac_func(); below. */
20118 #include <assert.h>
20119 /* Override any gcc2 internal prototype to avoid an error. */
20120 /* We use char because int might match the return type of a gcc2
20121 builtin and then its argument prototype would still apply. */
20126 /* The GNU C library defines this for functions which it implements
20127 to always fail with ENOSYS. Some functions are actually named
20128 something starting with __ and the normal name is an alias. */
20129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20137 if { (eval echo configure
:20138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20139 eval "ac_cv_func_$ac_func=yes"
20141 echo "configure: failed program was:" >&5
20142 cat conftest.
$ac_ext >&5
20144 eval "ac_cv_func_$ac_func=no"
20149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20150 echo "$ac_t""yes" 1>&6
20151 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20152 cat >> confdefs.h
<<EOF
20153 #define $ac_tr_func 1
20157 echo "$ac_t""no" 1>&6
20162 if test "$ac_cv_func_gettimeofday" = "yes"; then
20163 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
20164 echo "configure:20165: checking whether gettimeofday takes two arguments" >&5
20165 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
20166 echo $ac_n "(cached) $ac_c" 1>&6
20171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20172 ac_cpp
='$CXXCPP $CPPFLAGS'
20173 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20174 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20175 cross_compiling
=$ac_cv_prog_cxx_cross
20178 cat > conftest.
$ac_ext <<EOF
20179 #line 20180 "configure"
20180 #include "confdefs.h"
20182 #include <sys/time.h>
20183 #include <unistd.h>
20188 gettimeofday(&tv, NULL);
20192 if { (eval echo configure
:20193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20194 wx_cv_func_gettimeofday_has_2_args
=yes
20196 echo "configure: failed program was:" >&5
20197 cat conftest.
$ac_ext >&5
20199 cat > conftest.
$ac_ext <<EOF
20200 #line 20201 "configure"
20201 #include "confdefs.h"
20203 #include <sys/time.h>
20204 #include <unistd.h>
20213 if { (eval echo configure
:20214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20215 wx_cv_func_gettimeofday_has_2_args
=no
20217 echo "configure: failed program was:" >&5
20218 cat conftest.
$ac_ext >&5
20221 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20222 wx_cv_func_gettimeofday_has_2_args
=unknown
20231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20232 ac_cpp
='$CPP $CPPFLAGS'
20233 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20234 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20235 cross_compiling
=$ac_cv_prog_cc_cross
20240 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20242 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20243 cat >> confdefs.h
<<\EOF
20244 #define WX_GETTIMEOFDAY_NO_TZ 1
20250 cat >> confdefs.h
<<\EOF
20251 #define wxUSE_TIMEDATE 1
20254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20258 if test "$wxUSE_SOCKETS" = "yes"; then
20259 if test "$wxUSE_MGL" = "1"; then
20260 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20265 if test "$wxUSE_SOCKETS" = "yes"; then
20266 if test "$TOOLKIT" != "MSW"; then
20267 echo $ac_n "checking for socket""... $ac_c" 1>&6
20268 echo "configure:20269: checking for socket" >&5
20269 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20270 echo $ac_n "(cached) $ac_c" 1>&6
20272 cat > conftest.
$ac_ext <<EOF
20273 #line 20274 "configure"
20274 #include "confdefs.h"
20275 /* System header to define __stub macros and hopefully few prototypes,
20276 which can conflict with char socket(); below. */
20277 #include <assert.h>
20278 /* Override any gcc2 internal prototype to avoid an error. */
20279 /* We use char because int might match the return type of a gcc2
20280 builtin and then its argument prototype would still apply. */
20285 /* The GNU C library defines this for functions which it implements
20286 to always fail with ENOSYS. Some functions are actually named
20287 something starting with __ and the normal name is an alias. */
20288 #if defined (__stub_socket) || defined (__stub___socket)
20296 if { (eval echo configure
:20297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20298 eval "ac_cv_func_socket=yes"
20300 echo "configure: failed program was:" >&5
20301 cat conftest.
$ac_ext >&5
20303 eval "ac_cv_func_socket=no"
20308 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20309 echo "$ac_t""yes" 1>&6
20312 echo "$ac_t""no" 1>&6
20313 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20314 echo "configure:20315: checking for socket in -lsocket" >&5
20315 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20316 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20317 echo $ac_n "(cached) $ac_c" 1>&6
20319 ac_save_LIBS
="$LIBS"
20320 LIBS
="-lsocket $LIBS"
20321 cat > conftest.
$ac_ext <<EOF
20322 #line 20323 "configure"
20323 #include "confdefs.h"
20324 /* Override any gcc2 internal prototype to avoid an error. */
20325 /* We use char because int might match the return type of a gcc2
20326 builtin and then its argument prototype would still apply. */
20333 if { (eval echo configure
:20334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20335 eval "ac_cv_lib_$ac_lib_var=yes"
20337 echo "configure: failed program was:" >&5
20338 cat conftest.
$ac_ext >&5
20340 eval "ac_cv_lib_$ac_lib_var=no"
20343 LIBS
="$ac_save_LIBS"
20346 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20347 echo "$ac_t""yes" 1>&6
20348 if test "$INET_LINK" != " -lsocket"; then
20349 INET_LINK
="$INET_LINK -lsocket"
20352 echo "$ac_t""no" 1>&6
20354 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20366 if test "$wxUSE_SOCKETS" = "yes" ; then
20367 if test "$TOOLKIT" != "MSW"; then
20368 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20369 echo "configure:20370: checking what is the type of the third argument of getsockname" >&5
20370 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20371 echo $ac_n "(cached) $ac_c" 1>&6
20376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20377 ac_cpp
='$CXXCPP $CPPFLAGS'
20378 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20379 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20380 cross_compiling
=$ac_cv_prog_cxx_cross
20383 cat > conftest.
$ac_ext <<EOF
20384 #line 20385 "configure"
20385 #include "confdefs.h"
20387 #include <sys/types.h>
20388 #include <sys/socket.h>
20393 getsockname(0, 0, &len);
20397 if { (eval echo configure
:20398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20399 wx_cv_type_getsockname3
=socklen_t
20401 echo "configure: failed program was:" >&5
20402 cat conftest.
$ac_ext >&5
20404 cat > conftest.
$ac_ext <<EOF
20405 #line 20406 "configure"
20406 #include "confdefs.h"
20408 #include <sys/types.h>
20409 #include <sys/socket.h>
20414 getsockname(0, 0, &len);
20418 if { (eval echo configure
:20419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20420 wx_cv_type_getsockname3
=size_t
20422 echo "configure: failed program was:" >&5
20423 cat conftest.
$ac_ext >&5
20425 cat > conftest.
$ac_ext <<EOF
20426 #line 20427 "configure"
20427 #include "confdefs.h"
20429 #include <sys/types.h>
20430 #include <sys/socket.h>
20435 getsockname(0, 0, &len);
20439 if { (eval echo configure
:20440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20441 wx_cv_type_getsockname3
=int
20443 echo "configure: failed program was:" >&5
20444 cat conftest.
$ac_ext >&5
20446 wx_cv_type_getsockname3
=unknown
20458 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20459 ac_cpp
='$CPP $CPPFLAGS'
20460 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20461 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20462 cross_compiling
=$ac_cv_prog_cc_cross
20467 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20469 if test "$wx_cv_type_getsockname3" = "unknown"; then
20471 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20473 cat >> confdefs.h
<<EOF
20474 #define SOCKLEN_T $wx_cv_type_getsockname3
20481 if test "$wxUSE_SOCKETS" = "yes" ; then
20482 cat >> confdefs.h
<<\EOF
20483 #define wxUSE_SOCKETS 1
20486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20490 if test "$wxUSE_GUI" = "yes"; then
20492 if test "$TOOLKIT" = "MAC"; then
20493 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20496 if test "$TOOLKIT" = "MOTIF"; then
20497 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20500 if test "$TOOLKIT" = "X11"; then
20501 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20505 if test "$TOOLKIT" != "MSW"; then
20506 if test "$wxUSE_JOYSTICK" = "yes"; then
20507 for ac_hdr
in linux
/joystick.h
20509 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20510 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20511 echo "configure:20512: checking for $ac_hdr" >&5
20512 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20513 echo $ac_n "(cached) $ac_c" 1>&6
20515 cat > conftest.
$ac_ext <<EOF
20516 #line 20517 "configure"
20517 #include "confdefs.h"
20520 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20521 { (eval echo configure
:20522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20522 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20523 if test -z "$ac_err"; then
20525 eval "ac_cv_header_$ac_safe=yes"
20528 echo "configure: failed program was:" >&5
20529 cat conftest.
$ac_ext >&5
20531 eval "ac_cv_header_$ac_safe=no"
20535 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20536 echo "$ac_t""yes" 1>&6
20537 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20538 cat >> confdefs.h
<<EOF
20539 #define $ac_tr_hdr 1
20543 echo "$ac_t""no" 1>&6
20547 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20549 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20554 if test "$wxUSE_JOYSTICK" = "yes"; then
20555 cat >> confdefs.h
<<\EOF
20556 #define wxUSE_JOYSTICK 1
20559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20564 if test "$TOOLKIT" != "MSW"; then
20568 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20569 if test "$USE_DARWIN" = 1; then
20572 for ac_func
in dlopen
20574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20575 echo "configure:20576: checking for $ac_func" >&5
20576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20577 echo $ac_n "(cached) $ac_c" 1>&6
20579 cat > conftest.
$ac_ext <<EOF
20580 #line 20581 "configure"
20581 #include "confdefs.h"
20582 /* System header to define __stub macros and hopefully few prototypes,
20583 which can conflict with char $ac_func(); below. */
20584 #include <assert.h>
20585 /* Override any gcc2 internal prototype to avoid an error. */
20586 /* We use char because int might match the return type of a gcc2
20587 builtin and then its argument prototype would still apply. */
20592 /* The GNU C library defines this for functions which it implements
20593 to always fail with ENOSYS. Some functions are actually named
20594 something starting with __ and the normal name is an alias. */
20595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20603 if { (eval echo configure
:20604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20605 eval "ac_cv_func_$ac_func=yes"
20607 echo "configure: failed program was:" >&5
20608 cat conftest.
$ac_ext >&5
20610 eval "ac_cv_func_$ac_func=no"
20615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20616 echo "$ac_t""yes" 1>&6
20617 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20618 cat >> confdefs.h
<<EOF
20619 #define $ac_tr_func 1
20622 cat >> confdefs.h
<<\EOF
20623 #define HAVE_DLOPEN 1
20629 echo "$ac_t""no" 1>&6
20630 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20631 echo "configure:20632: checking for dlopen in -ldl" >&5
20632 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20633 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20634 echo $ac_n "(cached) $ac_c" 1>&6
20636 ac_save_LIBS
="$LIBS"
20638 cat > conftest.
$ac_ext <<EOF
20639 #line 20640 "configure"
20640 #include "confdefs.h"
20641 /* Override any gcc2 internal prototype to avoid an error. */
20642 /* We use char because int might match the return type of a gcc2
20643 builtin and then its argument prototype would still apply. */
20650 if { (eval echo configure
:20651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20652 eval "ac_cv_lib_$ac_lib_var=yes"
20654 echo "configure: failed program was:" >&5
20655 cat conftest.
$ac_ext >&5
20657 eval "ac_cv_lib_$ac_lib_var=no"
20660 LIBS
="$ac_save_LIBS"
20663 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20664 echo "$ac_t""yes" 1>&6
20666 cat >> confdefs.h
<<\EOF
20667 #define HAVE_DLOPEN 1
20671 DL_LINK
=" -ldl$DL_LINK"
20674 echo "$ac_t""no" 1>&6
20676 for ac_func
in shl_load
20678 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20679 echo "configure:20680: checking for $ac_func" >&5
20680 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20681 echo $ac_n "(cached) $ac_c" 1>&6
20683 cat > conftest.
$ac_ext <<EOF
20684 #line 20685 "configure"
20685 #include "confdefs.h"
20686 /* System header to define __stub macros and hopefully few prototypes,
20687 which can conflict with char $ac_func(); below. */
20688 #include <assert.h>
20689 /* Override any gcc2 internal prototype to avoid an error. */
20690 /* We use char because int might match the return type of a gcc2
20691 builtin and then its argument prototype would still apply. */
20696 /* The GNU C library defines this for functions which it implements
20697 to always fail with ENOSYS. Some functions are actually named
20698 something starting with __ and the normal name is an alias. */
20699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20707 if { (eval echo configure
:20708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20709 eval "ac_cv_func_$ac_func=yes"
20711 echo "configure: failed program was:" >&5
20712 cat conftest.
$ac_ext >&5
20714 eval "ac_cv_func_$ac_func=no"
20719 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20720 echo "$ac_t""yes" 1>&6
20721 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20722 cat >> confdefs.h
<<EOF
20723 #define $ac_tr_func 1
20726 cat >> confdefs.h
<<\EOF
20727 #define HAVE_SHL_LOAD 1
20733 echo "$ac_t""no" 1>&6
20734 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20735 echo "configure:20736: checking for dld in -lshl_load" >&5
20736 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20737 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20738 echo $ac_n "(cached) $ac_c" 1>&6
20740 ac_save_LIBS
="$LIBS"
20741 LIBS
="-lshl_load $LIBS"
20742 cat > conftest.
$ac_ext <<EOF
20743 #line 20744 "configure"
20744 #include "confdefs.h"
20745 /* Override any gcc2 internal prototype to avoid an error. */
20746 /* We use char because int might match the return type of a gcc2
20747 builtin and then its argument prototype would still apply. */
20754 if { (eval echo configure
:20755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20756 eval "ac_cv_lib_$ac_lib_var=yes"
20758 echo "configure: failed program was:" >&5
20759 cat conftest.
$ac_ext >&5
20761 eval "ac_cv_lib_$ac_lib_var=no"
20764 LIBS
="$ac_save_LIBS"
20767 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20768 echo "$ac_t""yes" 1>&6
20771 DL_LINK
=" -ldld$DL_LINK"
20774 echo "$ac_t""no" 1>&6
20789 if test "$HAVE_DL_FUNCS" = 1; then
20790 for ac_func
in dlerror
20792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20793 echo "configure:20794: checking for $ac_func" >&5
20794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20795 echo $ac_n "(cached) $ac_c" 1>&6
20797 cat > conftest.
$ac_ext <<EOF
20798 #line 20799 "configure"
20799 #include "confdefs.h"
20800 /* System header to define __stub macros and hopefully few prototypes,
20801 which can conflict with char $ac_func(); below. */
20802 #include <assert.h>
20803 /* Override any gcc2 internal prototype to avoid an error. */
20804 /* We use char because int might match the return type of a gcc2
20805 builtin and then its argument prototype would still apply. */
20810 /* The GNU C library defines this for functions which it implements
20811 to always fail with ENOSYS. Some functions are actually named
20812 something starting with __ and the normal name is an alias. */
20813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20821 if { (eval echo configure
:20822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20823 eval "ac_cv_func_$ac_func=yes"
20825 echo "configure: failed program was:" >&5
20826 cat conftest.
$ac_ext >&5
20828 eval "ac_cv_func_$ac_func=no"
20833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20834 echo "$ac_t""yes" 1>&6
20835 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20836 cat >> confdefs.h
<<EOF
20837 #define $ac_tr_func 1
20839 cat >> confdefs.h
<<\EOF
20840 #define HAVE_DLERROR 1
20844 echo "$ac_t""no" 1>&6
20845 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20846 echo "configure:20847: checking for dlerror in -ldl" >&5
20847 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20848 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20849 echo $ac_n "(cached) $ac_c" 1>&6
20851 ac_save_LIBS
="$LIBS"
20853 cat > conftest.
$ac_ext <<EOF
20854 #line 20855 "configure"
20855 #include "confdefs.h"
20856 /* Override any gcc2 internal prototype to avoid an error. */
20857 /* We use char because int might match the return type of a gcc2
20858 builtin and then its argument prototype would still apply. */
20865 if { (eval echo configure
:20866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20867 eval "ac_cv_lib_$ac_lib_var=yes"
20869 echo "configure: failed program was:" >&5
20870 cat conftest.
$ac_ext >&5
20872 eval "ac_cv_lib_$ac_lib_var=no"
20875 LIBS
="$ac_save_LIBS"
20878 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20879 echo "$ac_t""yes" 1>&6
20880 cat >> confdefs.h
<<\EOF
20881 #define HAVE_DLERROR 1
20885 echo "$ac_t""no" 1>&6
20894 if test "$HAVE_DL_FUNCS" = 0; then
20895 if test "$HAVE_SHL_FUNCS" = 0; then
20896 if test "$USE_UNIX" = 1; then
20897 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20898 wxUSE_DYNAMIC_LOADER
=no
20899 wxUSE_DYNLIB_CLASS
=no
20901 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20908 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20909 cat >> confdefs.h
<<\EOF
20910 #define wxUSE_DYNAMIC_LOADER 1
20913 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20914 cat >> confdefs.h
<<\EOF
20915 #define wxUSE_DYNLIB_CLASS 1
20921 if test "$wxUSE_FONTMAP" = "yes" ; then
20922 cat >> confdefs.h
<<\EOF
20923 #define wxUSE_FONTMAP 1
20928 if test "$wxUSE_UNICODE" = "yes" ; then
20929 cat >> confdefs.h
<<\EOF
20930 #define wxUSE_UNICODE 1
20934 if test "$wxUSE_MSW" != 1; then
20935 wxUSE_UNICODE_MSLU
=no
20938 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20939 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20940 echo "configure:20941: checking for main in -lunicows" >&5
20941 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20942 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20943 echo $ac_n "(cached) $ac_c" 1>&6
20945 ac_save_LIBS
="$LIBS"
20946 LIBS
="-lunicows $LIBS"
20947 cat > conftest.
$ac_ext <<EOF
20948 #line 20949 "configure"
20949 #include "confdefs.h"
20955 if { (eval echo configure
:20956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20957 eval "ac_cv_lib_$ac_lib_var=yes"
20959 echo "configure: failed program was:" >&5
20960 cat conftest.
$ac_ext >&5
20962 eval "ac_cv_lib_$ac_lib_var=no"
20965 LIBS
="$ac_save_LIBS"
20968 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20969 echo "$ac_t""yes" 1>&6
20971 cat >> confdefs.h
<<\EOF
20972 #define wxUSE_UNICODE_MSLU 1
20977 echo "$ac_t""no" 1>&6
20979 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
20980 Applications will only run on Windows NT/2000/XP!" 1>&2
20981 wxUSE_UNICODE_MSLU
=no
20988 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
20989 cat >> confdefs.h
<<\EOF
20990 #define wxUSE_EXPERIMENTAL_PRINTF 1
20998 if test "$wxUSE_ODBC" = "yes" ; then
20999 cat >> confdefs.h
<<\EOF
21000 #define wxUSE_ODBC 1
21003 WXODBCFLAG
="-D_IODBC_"
21004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
21008 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
21009 cat >> confdefs.h
<<\EOF
21010 #define wxUSE_POSTSCRIPT 1
21015 cat >> confdefs.h
<<\EOF
21016 #define wxUSE_AFM_FOR_POSTSCRIPT 1
21020 cat >> confdefs.h
<<\EOF
21021 #define wxUSE_NORMALIZED_PS_FONTS 1
21026 if test "$wxUSE_CONSTRAINTS" = "yes"; then
21027 cat >> confdefs.h
<<\EOF
21028 #define wxUSE_CONSTRAINTS 1
21031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
21034 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21037 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21038 cat >> confdefs.h
<<\EOF
21039 #define wxUSE_MDI_ARCHITECTURE 1
21042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
21046 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
21047 cat >> confdefs.h
<<\EOF
21048 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
21051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
21052 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
21057 if test "$wxUSE_HELP" = "yes"; then
21058 cat >> confdefs.h
<<\EOF
21059 #define wxUSE_HELP 1
21062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
21064 if test "$wxUSE_MSW" = 1; then
21065 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
21066 cat >> confdefs.h
<<\EOF
21067 #define wxUSE_MS_HTML_HELP 1
21073 if test "$wxUSE_WXHTML_HELP" = "yes"; then
21074 if test "$wxUSE_HTML" = "yes"; then
21075 cat >> confdefs.h
<<\EOF
21076 #define wxUSE_WXHTML_HELP 1
21080 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
21081 wxUSE_WXHTML_HELP
=no
21086 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21087 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21088 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
21090 cat >> confdefs.h
<<\EOF
21091 #define wxUSE_PRINTING_ARCHITECTURE 1
21095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
21098 if test "$wxUSE_PROLOGIO" = "yes" ; then
21099 cat >> confdefs.h
<<\EOF
21100 #define wxUSE_PROLOGIO 1
21103 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
21106 if test "$wxUSE_RESOURCES" = "yes" ; then
21107 if test "$wxUSE_NANOX" = "yes"; then
21108 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
21110 cat >> confdefs.h
<<\EOF
21111 #define wxUSE_RESOURCES 1
21114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
21116 if test "$wxUSE_PROLOGIO" != "yes" ; then
21117 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
21121 if test "$wxUSE_X_RESOURCES" = "yes"; then
21122 cat >> confdefs.h
<<\EOF
21123 #define wxUSE_X_RESOURCES 1
21129 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
21130 -o "$wxUSE_CLIPBOARD" = "yes" \
21131 -o "$wxUSE_OLE" = "yes" \
21132 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
21133 for ac_hdr
in ole2.h
21135 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21136 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21137 echo "configure:21138: checking for $ac_hdr" >&5
21138 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21139 echo $ac_n "(cached) $ac_c" 1>&6
21141 cat > conftest.
$ac_ext <<EOF
21142 #line 21143 "configure"
21143 #include "confdefs.h"
21146 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21147 { (eval echo configure
:21148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21148 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21149 if test -z "$ac_err"; then
21151 eval "ac_cv_header_$ac_safe=yes"
21154 echo "configure: failed program was:" >&5
21155 cat conftest.
$ac_ext >&5
21157 eval "ac_cv_header_$ac_safe=no"
21161 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21162 echo "$ac_t""yes" 1>&6
21163 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21164 cat >> confdefs.h
<<EOF
21165 #define $ac_tr_hdr 1
21169 echo "$ac_t""no" 1>&6
21174 if test "$ac_cv_header_ole2_h" = "yes" ; then
21175 if test "$GCC" = yes ; then
21178 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21179 ac_cpp
='$CXXCPP $CPPFLAGS'
21180 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21181 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21182 cross_compiling
=$ac_cv_prog_cxx_cross
21185 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
21186 echo "configure:21187: checking if g++ requires -fvtable-thunks" >&5
21187 cat > conftest.
$ac_ext <<EOF
21188 #line 21189 "configure"
21189 #include "confdefs.h"
21190 #include <windows.h>
21196 if { (eval echo configure
:21197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21198 echo "$ac_t""no" 1>&6
21200 echo "configure: failed program was:" >&5
21201 cat conftest.
$ac_ext >&5
21203 echo "$ac_t""yes" 1>&6
21204 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21208 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21209 ac_cpp
='$CPP $CPPFLAGS'
21210 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21211 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21212 cross_compiling
=$ac_cv_prog_cc_cross
21214 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21215 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21216 cat >> confdefs.h
<<\EOF
21217 #define wxUSE_OLE 1
21223 cat >> confdefs.h
<<\EOF
21224 #define wxUSE_DATAOBJ 1
21228 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21231 wxUSE_DRAG_AND_DROP
=no
21236 if test "$wxUSE_METAFILE" = "yes"; then
21237 cat >> confdefs.h
<<\EOF
21238 #define wxUSE_METAFILE 1
21242 cat >> confdefs.h
<<\EOF
21243 #define wxUSE_ENH_METAFILE 1
21249 if test "$wxUSE_IPC" = "yes"; then
21250 if test "$wxUSE_SOCKETS" != "yes"; then
21251 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21254 cat >> confdefs.h
<<\EOF
21255 #define wxUSE_IPC 1
21260 if test "$wxUSE_CLIPBOARD" = "yes"; then
21261 if test "$wxUSE_MGL" = 1; then
21262 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21266 if test "$wxUSE_CLIPBOARD" = "yes"; then
21267 cat >> confdefs.h
<<\EOF
21268 #define wxUSE_CLIPBOARD 1
21272 cat >> confdefs.h
<<\EOF
21273 #define wxUSE_DATAOBJ 1
21279 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21280 if test "$wxUSE_GTK" = 1; then
21281 if test "$WXGTK12" != 1; then
21282 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21283 wxUSE_DRAG_AND_DROP
=no
21287 if test "$wxUSE_MOTIF" = 1; then
21288 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21289 wxUSE_DRAG_AND_DROP
=no
21292 if test "$wxUSE_X11" = 1; then
21293 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21294 wxUSE_DRAG_AND_DROP
=no
21297 if test "$wxUSE_MGL" = 1; then
21298 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21299 wxUSE_DRAG_AND_DROP
=no
21302 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21303 cat >> confdefs.h
<<\EOF
21304 #define wxUSE_DRAG_AND_DROP 1
21307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21312 if test "$wxUSE_SPLINES" = "yes" ; then
21313 cat >> confdefs.h
<<\EOF
21314 #define wxUSE_SPLINES 1
21321 if test "$wxUSE_CONTROLS" = "yes"; then
21325 if test "$wxUSE_ACCEL" = "yes"; then
21326 cat >> confdefs.h
<<\EOF
21327 #define wxUSE_ACCEL 1
21333 if test "$wxUSE_BUTTON" = "yes"; then
21334 cat >> confdefs.h
<<\EOF
21335 #define wxUSE_BUTTON 1
21341 if test "$wxUSE_BMPBUTTON" = "yes"; then
21342 cat >> confdefs.h
<<\EOF
21343 #define wxUSE_BMPBUTTON 1
21349 if test "$wxUSE_CALCTRL" = "yes"; then
21350 cat >> confdefs.h
<<\EOF
21351 #define wxUSE_CALENDARCTRL 1
21355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21358 if test "$wxUSE_CARET" = "yes"; then
21359 cat >> confdefs.h
<<\EOF
21360 #define wxUSE_CARET 1
21364 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21367 if test "$wxUSE_COMBOBOX" = "yes"; then
21368 cat >> confdefs.h
<<\EOF
21369 #define wxUSE_COMBOBOX 1
21375 if test "$wxUSE_CHOICE" = "yes"; then
21376 cat >> confdefs.h
<<\EOF
21377 #define wxUSE_CHOICE 1
21383 if test "$wxUSE_CHECKBOX" = "yes"; then
21384 cat >> confdefs.h
<<\EOF
21385 #define wxUSE_CHECKBOX 1
21391 if test "$wxUSE_CHECKLST" = "yes"; then
21392 cat >> confdefs.h
<<\EOF
21393 #define wxUSE_CHECKLISTBOX 1
21397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21400 if test "$wxUSE_DISPLAY" = "yes"; then
21401 cat >> confdefs.h
<<\EOF
21402 #define wxUSE_DISPLAY 1
21405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
21408 if test "$wxUSE_GAUGE" = "yes"; then
21409 cat >> confdefs.h
<<\EOF
21410 #define wxUSE_GAUGE 1
21416 if test "$wxUSE_NEW_GRID" = "yes"; then
21418 cat >> confdefs.h
<<\EOF
21419 #define wxUSE_NEW_GRID 1
21423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
21426 if test "$wxUSE_GRID" = "yes"; then
21427 cat >> confdefs.h
<<\EOF
21428 #define wxUSE_GRID 1
21432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21435 if test "$wxUSE_IMAGLIST" = "yes"; then
21436 cat >> confdefs.h
<<\EOF
21437 #define wxUSE_IMAGLIST 1
21442 if test "$wxUSE_LISTBOX" = "yes"; then
21443 cat >> confdefs.h
<<\EOF
21444 #define wxUSE_LISTBOX 1
21450 if test "$wxUSE_LISTCTRL" = "yes"; then
21451 if test "$wxUSE_IMAGLIST" = "yes"; then
21452 cat >> confdefs.h
<<\EOF
21453 #define wxUSE_LISTCTRL 1
21457 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21459 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21463 if test "$wxUSE_NOTEBOOK" = "yes"; then
21464 cat >> confdefs.h
<<\EOF
21465 #define wxUSE_NOTEBOOK 1
21469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21472 if test "$wxUSE_PROPSHEET" = "yes"; then
21473 cat >> confdefs.h
<<\EOF
21474 #define wxUSE_PROPSHEET 1
21478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
21481 if test "$wxUSE_RADIOBOX" = "yes"; then
21482 cat >> confdefs.h
<<\EOF
21483 #define wxUSE_RADIOBOX 1
21489 if test "$wxUSE_RADIOBTN" = "yes"; then
21490 cat >> confdefs.h
<<\EOF
21491 #define wxUSE_RADIOBTN 1
21497 if test "$wxUSE_SASH" = "yes"; then
21498 cat >> confdefs.h
<<\EOF
21499 #define wxUSE_SASH 1
21502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21505 if test "$wxUSE_SCROLLBAR" = "yes"; then
21506 cat >> confdefs.h
<<\EOF
21507 #define wxUSE_SCROLLBAR 1
21511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21514 if test "$wxUSE_SLIDER" = "yes"; then
21515 cat >> confdefs.h
<<\EOF
21516 #define wxUSE_SLIDER 1
21522 if test "$wxUSE_SPINBTN" = "yes"; then
21523 cat >> confdefs.h
<<\EOF
21524 #define wxUSE_SPINBTN 1
21530 if test "$wxUSE_SPINCTRL" = "yes"; then
21531 cat >> confdefs.h
<<\EOF
21532 #define wxUSE_SPINCTRL 1
21538 if test "$wxUSE_SPLITTER" = "yes"; then
21539 cat >> confdefs.h
<<\EOF
21540 #define wxUSE_SPLITTER 1
21543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21546 if test "$wxUSE_STATBMP" = "yes"; then
21547 cat >> confdefs.h
<<\EOF
21548 #define wxUSE_STATBMP 1
21554 if test "$wxUSE_STATBOX" = "yes"; then
21555 cat >> confdefs.h
<<\EOF
21556 #define wxUSE_STATBOX 1
21562 if test "$wxUSE_STATTEXT" = "yes"; then
21563 cat >> confdefs.h
<<\EOF
21564 #define wxUSE_STATTEXT 1
21570 if test "$wxUSE_STATLINE" = "yes"; then
21571 cat >> confdefs.h
<<\EOF
21572 #define wxUSE_STATLINE 1
21578 if test "$wxUSE_STATUSBAR" = "yes"; then
21579 cat >> confdefs.h
<<\EOF
21580 #define wxUSE_STATUSBAR 1
21585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21588 if test "$wxUSE_TABDIALOG" = "yes"; then
21589 cat >> confdefs.h
<<\EOF
21590 #define wxUSE_TAB_DIALOG 1
21593 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21596 if test "$wxUSE_TEXTCTRL" = "yes"; then
21597 cat >> confdefs.h
<<\EOF
21598 #define wxUSE_TEXTCTRL 1
21602 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21605 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21606 if test "$wxUSE_MAC" = 1; then
21607 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21610 if test "$wxUSE_UNIVERSAL" = "yes"; then
21611 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21615 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21616 cat >> confdefs.h
<<\EOF
21617 #define wxUSE_TOGGLEBTN 1
21624 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21625 cat >> confdefs.h
<<\EOF
21626 #define wxUSE_TOOLBAR_SIMPLE 1
21629 wxUSE_TOOLBAR
="yes"
21633 if test "$wxUSE_TOOLBAR" = "yes"; then
21634 cat >> confdefs.h
<<\EOF
21635 #define wxUSE_TOOLBAR 1
21640 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21641 wxUSE_TOOLBAR_NATIVE
="yes"
21644 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21645 cat >> confdefs.h
<<\EOF
21646 #define wxUSE_TOOLBAR_NATIVE 1
21652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21655 if test "$wxUSE_TOOLTIPS" = "yes"; then
21656 if test "$wxUSE_MOTIF" = 1; then
21657 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21659 if test "$wxUSE_UNIVERSAL" = "yes"; then
21660 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21662 cat >> confdefs.h
<<\EOF
21663 #define wxUSE_TOOLTIPS 1
21670 if test "$wxUSE_TREECTRL" = "yes"; then
21671 if test "$wxUSE_IMAGLIST" = "yes"; then
21672 cat >> confdefs.h
<<\EOF
21673 #define wxUSE_TREECTRL 1
21677 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21679 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21683 if test "$wxUSE_POPUPWIN" = "yes"; then
21684 if test "$wxUSE_MAC" = 1; then
21685 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21687 if test "$wxUSE_MOTIF" = 1; then
21688 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21690 if test "$wxUSE_PM" = 1; then
21691 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21693 cat >> confdefs.h
<<\EOF
21694 #define wxUSE_POPUPWIN 1
21704 if test "$wxUSE_TIPWINDOW" = "yes"; then
21705 if test "$wxUSE_PM" = 1; then
21706 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21708 cat >> confdefs.h
<<\EOF
21709 #define wxUSE_TIPWINDOW 1
21715 if test "$USES_CONTROLS" = 1; then
21716 cat >> confdefs.h
<<\EOF
21717 #define wxUSE_CONTROLS 1
21723 if test "$wxUSE_TREELAYOUT" = "yes"; then
21724 cat >> confdefs.h
<<\EOF
21725 #define wxUSE_TREELAYOUT 1
21728 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
21731 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21732 cat >> confdefs.h
<<\EOF
21733 #define wxUSE_DRAGIMAGE 1
21736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21739 if test "$wxUSE_MENUS" = "yes"; then
21740 cat >> confdefs.h
<<\EOF
21741 #define wxUSE_MENUS 1
21744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21747 if test "$wxUSE_METAFILE" = "yes"; then
21748 cat >> confdefs.h
<<\EOF
21749 #define wxUSE_METAFILE 1
21754 if test "$wxUSE_MIMETYPE" = "yes"; then
21755 cat >> confdefs.h
<<\EOF
21756 #define wxUSE_MIMETYPE 1
21761 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21762 cat >> confdefs.h
<<\EOF
21763 #define wxUSE_SYSTEM_OPTIONS 1
21766 if test "$TOOLKIT" = "MSW"; then
21767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21772 if test "$wxUSE_PROTOCOL" = "yes"; then
21773 if test "$wxUSE_SOCKETS" != "yes"; then
21774 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21778 if test "$wxUSE_PROTOCOL" = "yes"; then
21779 cat >> confdefs.h
<<\EOF
21780 #define wxUSE_PROTOCOL 1
21784 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21785 cat >> confdefs.h
<<\EOF
21786 #define wxUSE_PROTOCOL_HTTP 1
21790 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21791 cat >> confdefs.h
<<\EOF
21792 #define wxUSE_PROTOCOL_FTP 1
21796 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21797 cat >> confdefs.h
<<\EOF
21798 #define wxUSE_PROTOCOL_FILE 1
21805 if test "$wxUSE_URL" = "yes"; then
21806 if test "$wxUSE_PROTOCOL" != "yes"; then
21807 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21810 if test "$wxUSE_URL" = "yes"; then
21811 cat >> confdefs.h
<<\EOF
21812 #define wxUSE_URL 1
21818 if test "$wxUSE_MINIFRAME" = "yes"; then
21819 cat >> confdefs.h
<<\EOF
21820 #define wxUSE_MINIFRAME 1
21823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21826 if test "$wxUSE_HTML" = "yes"; then
21827 cat >> confdefs.h
<<\EOF
21828 #define wxUSE_HTML 1
21831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21834 if test "$wxUSE_VALIDATORS" = "yes"; then
21835 cat >> confdefs.h
<<\EOF
21836 #define wxUSE_VALIDATORS 1
21839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21842 if test "$wxUSE_PALETTE" = "yes" ; then
21843 cat >> confdefs.h
<<\EOF
21844 #define wxUSE_PALETTE 1
21849 if test "$wxUSE_IMAGE" = "yes" ; then
21850 cat >> confdefs.h
<<\EOF
21851 #define wxUSE_IMAGE 1
21856 if test "$wxUSE_GIF" = "yes" ; then
21857 cat >> confdefs.h
<<\EOF
21858 #define wxUSE_GIF 1
21863 if test "$wxUSE_PCX" = "yes" ; then
21864 cat >> confdefs.h
<<\EOF
21865 #define wxUSE_PCX 1
21870 if test "$wxUSE_IFF" = "yes" ; then
21871 cat >> confdefs.h
<<\EOF
21872 #define wxUSE_IFF 1
21877 if test "$wxUSE_PNM" = "yes" ; then
21878 cat >> confdefs.h
<<\EOF
21879 #define wxUSE_PNM 1
21884 if test "$wxUSE_XPM" = "yes" ; then
21885 cat >> confdefs.h
<<\EOF
21886 #define wxUSE_XPM 1
21891 if test "$wxUSE_ICO_CUR" = "yes" ; then
21892 cat >> confdefs.h
<<\EOF
21893 #define wxUSE_ICO_CUR 1
21898 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21899 LIBS
=" -lunicows $LIBS"
21903 if test "$wxUSE_CHOICEDLG" = "yes"; then
21904 cat >> confdefs.h
<<\EOF
21905 #define wxUSE_CHOICEDLG 1
21910 if test "$wxUSE_COLOURDLG" = "yes"; then
21911 cat >> confdefs.h
<<\EOF
21912 #define wxUSE_COLOURDLG 1
21917 if test "$wxUSE_FILEDLG" = "yes"; then
21918 cat >> confdefs.h
<<\EOF
21919 #define wxUSE_FILEDLG 1
21924 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21925 cat >> confdefs.h
<<\EOF
21926 #define wxUSE_FINDREPLDLG 1
21931 if test "$wxUSE_FONTDLG" = "yes"; then
21932 cat >> confdefs.h
<<\EOF
21933 #define wxUSE_FONTDLG 1
21938 if test "$wxUSE_DIRDLG" = "yes"; then
21939 if test "$wxUSE_TREECTRL" != "yes"; then
21940 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21942 cat >> confdefs.h
<<\EOF
21943 #define wxUSE_DIRDLG 1
21949 if test "$wxUSE_MSGDLG" = "yes"; then
21950 cat >> confdefs.h
<<\EOF
21951 #define wxUSE_MSGDLG 1
21956 if test "$wxUSE_NUMBERDLG" = "yes"; then
21957 cat >> confdefs.h
<<\EOF
21958 #define wxUSE_NUMBERDLG 1
21963 if test "$wxUSE_PROGRESSDLG" = "yes"; then
21964 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21965 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
21967 cat >> confdefs.h
<<\EOF
21968 #define wxUSE_PROGRESSDLG 1
21974 if test "$wxUSE_SPLASH" = "yes"; then
21975 cat >> confdefs.h
<<\EOF
21976 #define wxUSE_SPLASH 1
21981 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
21982 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21983 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
21985 cat >> confdefs.h
<<\EOF
21986 #define wxUSE_STARTUP_TIPS 1
21992 if test "$wxUSE_TEXTDLG" = "yes"; then
21993 cat >> confdefs.h
<<\EOF
21994 #define wxUSE_TEXTDLG 1
21999 if test "$wxUSE_WIZARDDLG" = "yes"; then
22000 cat >> confdefs.h
<<\EOF
22001 #define wxUSE_WIZARDDLG 1
22004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
22008 if test "$cross_compiling" = "yes"; then
22011 OSINFO
=`uname -s -r -m`
22012 OSINFO
="\"$OSINFO\""
22015 cat >> confdefs.h
<<EOF
22016 #define WXWIN_OS_DESCRIPTION $OSINFO
22021 if test "x$prefix" != "xNONE"; then
22024 wxPREFIX
=$ac_default_prefix
22027 cat >> confdefs.h
<<EOF
22028 #define wxINSTALL_PREFIX "$wxPREFIX"
22037 if test "$wxUSE_MAC" = 1 ; then
22038 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
22042 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
22048 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22049 echo "configure:22050: checking for $ac_func" >&5
22050 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22051 echo $ac_n "(cached) $ac_c" 1>&6
22053 cat > conftest.
$ac_ext <<EOF
22054 #line 22055 "configure"
22055 #include "confdefs.h"
22056 /* System header to define __stub macros and hopefully few prototypes,
22057 which can conflict with char $ac_func(); below. */
22058 #include <assert.h>
22059 /* Override any gcc2 internal prototype to avoid an error. */
22060 /* We use char because int might match the return type of a gcc2
22061 builtin and then its argument prototype would still apply. */
22066 /* The GNU C library defines this for functions which it implements
22067 to always fail with ENOSYS. Some functions are actually named
22068 something starting with __ and the normal name is an alias. */
22069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22077 if { (eval echo configure
:22078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22079 eval "ac_cv_func_$ac_func=yes"
22081 echo "configure: failed program was:" >&5
22082 cat conftest.
$ac_ext >&5
22084 eval "ac_cv_func_$ac_func=no"
22089 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22090 echo "$ac_t""yes" 1>&6
22091 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22092 cat >> confdefs.h
<<EOF
22093 #define $ac_tr_func 1
22097 echo "$ac_t""no" 1>&6
22101 for ac_func
in floor
22103 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22104 echo "configure:22105: checking for $ac_func" >&5
22105 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22106 echo $ac_n "(cached) $ac_c" 1>&6
22108 cat > conftest.
$ac_ext <<EOF
22109 #line 22110 "configure"
22110 #include "confdefs.h"
22111 /* System header to define __stub macros and hopefully few prototypes,
22112 which can conflict with char $ac_func(); below. */
22113 #include <assert.h>
22114 /* Override any gcc2 internal prototype to avoid an error. */
22115 /* We use char because int might match the return type of a gcc2
22116 builtin and then its argument prototype would still apply. */
22121 /* The GNU C library defines this for functions which it implements
22122 to always fail with ENOSYS. Some functions are actually named
22123 something starting with __ and the normal name is an alias. */
22124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22132 if { (eval echo configure
:22133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22134 eval "ac_cv_func_$ac_func=yes"
22136 echo "configure: failed program was:" >&5
22137 cat conftest.
$ac_ext >&5
22139 eval "ac_cv_func_$ac_func=no"
22144 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22145 echo "$ac_t""yes" 1>&6
22146 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22147 cat >> confdefs.h
<<EOF
22148 #define $ac_tr_func 1
22152 echo "$ac_t""no" 1>&6
22156 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
22157 echo "configure:22158: checking if floating point functions link without -lm" >&5
22158 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22159 echo "$ac_t""yes" 1>&6
22161 echo "$ac_t""no" 1>&6
22163 # use different functions to avoid configure caching
22168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22169 echo "configure:22170: checking for $ac_func" >&5
22170 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22171 echo $ac_n "(cached) $ac_c" 1>&6
22173 cat > conftest.
$ac_ext <<EOF
22174 #line 22175 "configure"
22175 #include "confdefs.h"
22176 /* System header to define __stub macros and hopefully few prototypes,
22177 which can conflict with char $ac_func(); below. */
22178 #include <assert.h>
22179 /* Override any gcc2 internal prototype to avoid an error. */
22180 /* We use char because int might match the return type of a gcc2
22181 builtin and then its argument prototype would still apply. */
22186 /* The GNU C library defines this for functions which it implements
22187 to always fail with ENOSYS. Some functions are actually named
22188 something starting with __ and the normal name is an alias. */
22189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22197 if { (eval echo configure
:22198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22199 eval "ac_cv_func_$ac_func=yes"
22201 echo "configure: failed program was:" >&5
22202 cat conftest.
$ac_ext >&5
22204 eval "ac_cv_func_$ac_func=no"
22209 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22210 echo "$ac_t""yes" 1>&6
22211 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22212 cat >> confdefs.h
<<EOF
22213 #define $ac_tr_func 1
22217 echo "$ac_t""no" 1>&6
22221 for ac_func
in ceil
22223 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22224 echo "configure:22225: checking for $ac_func" >&5
22225 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22226 echo $ac_n "(cached) $ac_c" 1>&6
22228 cat > conftest.
$ac_ext <<EOF
22229 #line 22230 "configure"
22230 #include "confdefs.h"
22231 /* System header to define __stub macros and hopefully few prototypes,
22232 which can conflict with char $ac_func(); below. */
22233 #include <assert.h>
22234 /* Override any gcc2 internal prototype to avoid an error. */
22235 /* We use char because int might match the return type of a gcc2
22236 builtin and then its argument prototype would still apply. */
22241 /* The GNU C library defines this for functions which it implements
22242 to always fail with ENOSYS. Some functions are actually named
22243 something starting with __ and the normal name is an alias. */
22244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22252 if { (eval echo configure
:22253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22254 eval "ac_cv_func_$ac_func=yes"
22256 echo "configure: failed program was:" >&5
22257 cat conftest.
$ac_ext >&5
22259 eval "ac_cv_func_$ac_func=no"
22264 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22265 echo "$ac_t""yes" 1>&6
22266 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22267 cat >> confdefs.h
<<EOF
22268 #define $ac_tr_func 1
22272 echo "$ac_t""no" 1>&6
22276 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22277 echo "configure:22278: checking if floating point functions link with -lm" >&5
22278 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22279 echo "$ac_t""yes" 1>&6
22281 echo "$ac_t""no" 1>&6
22282 # not sure we should warn the user, crash, etc.
22286 if test "$wxUSE_GUI" = "yes"; then
22288 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22292 drawing dynamic erase event exec font image \
22293 minimal propsize rotate widgets"
22295 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22297 SAMPLES_SUBDIRS
="console"
22301 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22302 -I\${top_srcdir}/include \
22303 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22306 if test "$wxUSE_GTK" = 1; then
22309 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22312 if test "$GXX" = yes ; then
22313 CXXWARNINGS
="-Wall"
22315 if test "$wxUSE_NO_DEPS" = "no" ; then
22316 CFLAGS
="-MMD $CFLAGS"
22317 CXXFLAGS
="-MMD $CXXFLAGS"
22321 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22323 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22324 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22325 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22326 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22328 LDFLAGS
="$LDFLAGS $PROFILE"
22330 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22432 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22433 echo "configure:22434: checking whether ${MAKE-make} sets \${MAKE}" >&5
22434 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22435 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22436 echo $ac_n "(cached) $ac_c" 1>&6
22438 cat > conftestmake
<<\EOF
22440 @
echo 'ac_maketemp="${MAKE}"'
22442 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22443 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22444 if test -n "$ac_maketemp"; then
22445 eval ac_cv_prog_make_
${ac_make}_set
=yes
22447 eval ac_cv_prog_make_
${ac_make}_set
=no
22451 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22452 echo "$ac_t""yes" 1>&6
22455 echo "$ac_t""no" 1>&6
22456 SET_MAKE
="MAKE=${MAKE-make}"
22460 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22461 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22466 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22467 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22468 wx_cv_path_ifs
=$PATH_IFS
22469 wx_cv_program_ext
=$PROGRAM_EXT
22470 wx_cv_target_library
=$WX_TARGET_LIBRARY
22471 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22472 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22473 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22474 wx_cv_release
=${WX_RELEASE}
22475 wx_cv_current
=${WX_CURRENT}
22476 wx_cv_revision
=${WX_REVISION}
22477 wx_cv_age
=${WX_AGE}
22478 wx_cv_use_gui
=${USE_GUI}
22479 wx_cv_use_resources
=${wxUSE_RESOURCES}
22480 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22481 wx_cv_path_ifs wx_cv_program_ext \
22482 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22483 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22484 wx_cv_use_gui wx_cv_use_resources
22486 subdirs
="demos samples utils contrib"
22490 cat > confcache
<<\EOF
22491 # This file is a shell script that caches the results of configure
22492 # tests run on this system so they can be shared between configure
22493 # scripts and configure runs. It is not useful on other systems.
22494 # If it contains results you don't want to keep, you may remove or edit it.
22496 # By default, configure uses ./config.cache as the cache file,
22497 # creating it if it does not exist already. You can give configure
22498 # the --cache-file=FILE option to use a different cache file; that is
22499 # what configure does when it calls configure scripts in
22500 # subdirectories, so they share the cache.
22501 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22502 # config.status only pays attention to the cache file if you give it the
22503 # --recheck option to rerun configure.
22506 # The following way of writing the cache mishandles newlines in values,
22507 # but we know of no workaround that is simple, portable, and efficient.
22508 # So, don't put newlines in cache variables' values.
22509 # Ultrix sh set writes to stderr and can't be redirected directly,
22510 # and sets the high bit in the cache file unless we assign to the vars.
22512 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22514 # `set' does not quote correctly, so add quotes (double-quote substitution
22515 # turns \\\\ into \\, and sed turns \\ into \).
22517 -e "s/'/'\\\\''/g" \
22518 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22521 # `set' quotes correctly as required by POSIX, so do not add quotes.
22522 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22525 if cmp -s $cache_file confcache
; then
22528 if test -w $cache_file; then
22529 echo "updating cache $cache_file"
22530 cat confcache
> $cache_file
22532 echo "not updating unwritable cache $cache_file"
22537 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22539 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22540 # Let make expand exec_prefix.
22541 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22543 # Any assignment to VPATH causes Sun make to only execute
22544 # the first set of double-colon rules, so remove it if not needed.
22545 # If there is a colon in the path, we need to keep it.
22546 if test "x$srcdir" = x.
; then
22547 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22550 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22552 DEFS
=-DHAVE_CONFIG_H
22554 # Without the "./", some shells look in PATH for config.status.
22555 : ${CONFIG_STATUS=./config.status}
22557 echo creating
$CONFIG_STATUS
22558 rm -f $CONFIG_STATUS
22559 cat > $CONFIG_STATUS <<EOF
22561 # Generated automatically by configure.
22562 # Run this file to recreate the current configuration.
22563 # This directory was configured as follows,
22564 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22566 # $0 $ac_configure_args
22568 # Compiler output produced by configure, useful for debugging
22569 # configure, is in ./config.log if it exists.
22571 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22574 case "\$ac_option" in
22575 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22576 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22577 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22578 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22579 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22581 -help | --help | --hel | --he | --h)
22582 echo "\$ac_cs_usage"; exit 0 ;;
22583 *) echo "\$ac_cs_usage"; exit 1 ;;
22587 ac_given_srcdir=$srcdir
22588 ac_given_INSTALL="$INSTALL"
22590 trap 'rm -fr `echo "
22597 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22599 cat >> $CONFIG_STATUS <<EOF
22601 # Protect against being on the right side of a sed subst in config.status.
22602 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22603 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22607 s%@CFLAGS@%$CFLAGS%g
22608 s%@CPPFLAGS@%$CPPFLAGS%g
22609 s%@CXXFLAGS@%$CXXFLAGS%g
22610 s%@FFLAGS@%$FFLAGS%g
22612 s%@LDFLAGS@%$LDFLAGS%g
22614 s%@exec_prefix@%$exec_prefix%g
22615 s%@prefix@%$prefix%g
22616 s%@program_transform_name@%$program_transform_name%g
22617 s%@bindir@%$bindir%g
22618 s%@sbindir@%$sbindir%g
22619 s%@libexecdir@%$libexecdir%g
22620 s%@datadir@%$datadir%g
22621 s%@sysconfdir@%$sysconfdir%g
22622 s%@sharedstatedir@%$sharedstatedir%g
22623 s%@localstatedir@%$localstatedir%g
22624 s%@libdir@%$libdir%g
22625 s%@includedir@%$includedir%g
22626 s%@oldincludedir@%$oldincludedir%g
22627 s%@infodir@%$infodir%g
22628 s%@mandir@%$mandir%g
22630 s%@host_alias@%$host_alias%g
22631 s%@host_cpu@%$host_cpu%g
22632 s%@host_vendor@%$host_vendor%g
22633 s%@host_os@%$host_os%g
22634 s%@target@%$target%g
22635 s%@target_alias@%$target_alias%g
22636 s%@target_cpu@%$target_cpu%g
22637 s%@target_vendor@%$target_vendor%g
22638 s%@target_os@%$target_os%g
22640 s%@build_alias@%$build_alias%g
22641 s%@build_cpu@%$build_cpu%g
22642 s%@build_vendor@%$build_vendor%g
22643 s%@build_os@%$build_os%g
22647 s%@RANLIB@%$RANLIB%g
22649 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22650 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22651 s%@INSTALL_DATA@%$INSTALL_DATA%g
22653 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22656 s%@LEXLIB@%$LEXLIB%g
22658 s%@CXXCPP@%$CXXCPP%g
22659 s%@PKG_CONFIG@%$PKG_CONFIG%g
22660 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22661 s%@GTK_LIBS@%$GTK_LIBS%g
22662 s%@GTK_CONFIG@%$GTK_CONFIG%g
22663 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22664 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22665 s%@X_CFLAGS@%$X_CFLAGS%g
22666 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22667 s%@X_LIBS@%$X_LIBS%g
22668 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22669 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22670 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22671 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22672 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22673 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22674 s%@RESCOMP@%$RESCOMP%g
22676 s%@SETFILE@%$SETFILE%g
22677 s%@LIBICONV@%$LIBICONV%g
22678 s%@LEX_STEM@%$LEX_STEM%g
22679 s%@PATH_IFS@%$PATH_IFS%g
22680 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22681 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22682 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22683 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22684 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22685 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22686 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22687 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22688 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22689 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22690 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22691 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22692 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22693 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22694 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22695 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22696 s%@WX_ALL@%$WX_ALL%g
22697 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22698 s%@SHARED_LD@%$SHARED_LD%g
22699 s%@PIC_FLAG@%$PIC_FLAG%g
22700 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22701 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22702 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22703 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22704 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22705 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22706 s%@STATIC_FLAG@%$STATIC_FLAG%g
22707 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22708 s%@USE_GUI@%$USE_GUI%g
22709 s%@AFMINSTALL@%$AFMINSTALL%g
22710 s%@WIN32INSTALL@%$WIN32INSTALL%g
22711 s%@TOOLKIT@%$TOOLKIT%g
22712 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22713 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22714 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22715 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22716 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22717 s%@top_builddir@%$top_builddir%g
22718 s%@cross_compiling@%$cross_compiling%g
22719 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22720 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22721 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22722 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22723 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22724 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22725 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22726 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22727 s%@ALL_HEADERS@%$ALL_HEADERS%g
22728 s%@ALL_SOURCES@%$ALL_SOURCES%g
22729 s%@GUIDIST@%$GUIDIST%g
22730 s%@PORT_FILES@%$PORT_FILES%g
22731 s%@DISTDIR@%$DISTDIR%g
22732 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22733 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22734 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22735 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22736 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22737 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22738 s%@EXTRADEFS@%$EXTRADEFS%g
22739 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22740 s%@RESFLAGS@%$RESFLAGS%g
22741 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22742 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22743 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22744 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22745 s%@LIBWXMACRES@%$LIBWXMACRES%g
22746 s%@MACRESCOMP@%$MACRESCOMP%g
22747 s%@MACSETFILE@%$MACSETFILE%g
22748 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
22750 s%@DLLTOOL@%$DLLTOOL%g
22754 s%@MAKEINFO@%$MAKEINFO%g
22755 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22756 s%@INSTALL_DIR@%$INSTALL_DIR%g
22757 s%@SET_MAKE@%$SET_MAKE%g
22758 s%@subdirs@%$subdirs%g
22763 cat >> $CONFIG_STATUS <<\EOF
22765 # Split the substitutions into bite-sized pieces for seds with
22766 # small command number limits, like on Digital OSF/1 and HP-UX.
22767 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22768 ac_file
=1 # Number of current file.
22769 ac_beg
=1 # First line for current file.
22770 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22773 while $ac_more_lines; do
22774 if test $ac_beg -gt 1; then
22775 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22777 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22779 if test ! -s conftest.s
$ac_file; then
22780 ac_more_lines
=false
22781 rm -f conftest.s
$ac_file
22783 if test -z "$ac_sed_cmds"; then
22784 ac_sed_cmds
="sed -f conftest.s$ac_file"
22786 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22788 ac_file
=`expr $ac_file + 1`
22790 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22793 if test -z "$ac_sed_cmds"; then
22798 cat >> $CONFIG_STATUS <<EOF
22800 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22808 cat >> $CONFIG_STATUS <<\EOF
22809 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22810 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22812 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22813 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22814 *) ac_file_in
="${ac_file}.in" ;;
22817 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22819 # Remove last slash and all that follows it. Not all systems have dirname.
22820 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22821 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22822 # The file is in a subdirectory.
22823 test ! -d "$ac_dir" && mkdir "$ac_dir"
22824 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22825 # A "../" for each directory in $ac_dir_suffix.
22826 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22828 ac_dir_suffix
= ac_dots
=
22831 case "$ac_given_srcdir" in
22833 if test -z "$ac_dots"; then top_srcdir
=.
22834 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22835 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22836 *) # Relative path.
22837 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22838 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22841 case "$ac_given_INSTALL" in
22842 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22843 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22846 echo creating
"$ac_file"
22848 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22850 *Makefile
*) ac_comsub
="1i\\
22851 # $configure_input" ;;
22855 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22857 s%@configure_input@%$configure_input%g
22858 s%@srcdir@%$srcdir%g
22859 s%@top_srcdir@%$top_srcdir%g
22860 s%@INSTALL@%$INSTALL%g
22861 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22865 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22866 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22868 # ac_d sets the value in "#define NAME VALUE" lines.
22869 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22870 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22873 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22874 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22875 ac_uB
='\([ ]\)%\1#\2define\3'
22878 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22879 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22880 ac_eB
='$%\1#\2define\3'
22884 if test "${CONFIG_HEADERS+set}" != set; then
22886 cat >> $CONFIG_STATUS <<EOF
22887 CONFIG_HEADERS="setup.h:setup.h.in"
22889 cat >> $CONFIG_STATUS <<\EOF
22891 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22892 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22894 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22895 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22896 *) ac_file_in
="${ac_file}.in" ;;
22899 echo creating
$ac_file
22901 rm -f conftest.frag conftest.
in conftest.out
22902 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22903 cat $ac_file_inputs > conftest.
in
22907 # Transform confdefs.h into a sed script conftest.vals that substitutes
22908 # the proper values into config.h.in to produce config.h. And first:
22909 # Protect against being on the right side of a sed subst in config.status.
22910 # Protect against being in an unquoted here document in config.status.
22911 rm -f conftest.vals
22912 cat > conftest.hdr
<<\EOF
22915 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22919 sed -n -f conftest.hdr confdefs.h > conftest.vals
22922 # This sed command replaces #undef with comments. This is necessary, for
22923 # example, in the case of _POSIX_SOURCE, which is predefined and required
22924 # on some systems where configure will not decide to define it.
22925 cat >> conftest.vals <<\EOF
22926 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22929 # Break up conftest.vals because some shells have a limit on
22930 # the size of here documents, and old seds have small limits too.
22932 rm -f conftest.tail
22935 ac_lines=`grep -c . conftest.vals
`
22936 # grep -c gives empty output for an empty file on some AIX systems.
22937 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22938 # Write a limited-size here document to conftest.frag.
22939 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22940 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22942 sed -f conftest.frag conftest.in > conftest.out
22944 mv conftest.out conftest.in
22945 ' >> $CONFIG_STATUS
22946 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22947 rm -f conftest.vals
22948 mv conftest.tail conftest.vals
22950 rm -f conftest.vals
22952 cat >> $CONFIG_STATUS <<\EOF
22953 rm -f conftest.frag conftest.h
22954 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22955 cat conftest.in >> conftest.h
22957 if cmp -s $ac_file conftest.h 2>/dev/null; then
22958 echo "$ac_file is unchanged"
22961 # Remove last slash and all that follows it. Not all systems have dirname.
22962 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22963 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22964 # The file is in a subdirectory.
22965 test ! -d "$ac_dir" && mkdir "$ac_dir"
22968 mv conftest.h $ac_file
22973 cat >> $CONFIG_STATUS <<EOF
22975 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
22980 cat >> $CONFIG_STATUS <<\EOF
22982 if test ! -h wx-config; then
22984 mv wx-config wx${TOOLCHAIN_NAME}-config
22985 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
22988 if test ! -d lib; then
22991 if test ! -d lib/wx; then
22994 if test ! -d lib/wx/include; then
22995 mkdir lib/wx/include
22997 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
22998 mkdir lib/wx/include/${TOOLCHAIN_NAME}
23000 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
23001 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
23003 if test -f setup.h; then
23004 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
23009 chmod +x $CONFIG_STATUS
23010 rm -fr confdefs* $ac_clean_files
23011 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
23013 if test "$no_recursion" != yes; then
23015 # Remove --cache-file and --srcdir arguments so they do not pile up.
23016 ac_sub_configure_args=
23018 for ac_arg in $ac_configure_args; do
23019 if test -n "$ac_prev"; then
23024 -cache-file | --cache-file | --cache-fil | --cache-fi \
23025 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
23026 ac_prev=cache_file ;;
23027 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
23028 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
23030 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
23032 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
23034 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
23038 for ac_config_dir in demos samples utils contrib; do
23040 # Do not complain, so a configure script can configure whichever
23041 # parts of a large source tree are present.
23042 if test ! -d $srcdir/$ac_config_dir; then
23046 echo configuring in $ac_config_dir
23051 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
23053 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
23061 # A "../" for each directory in /$ac_config_dir.
23062 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
23065 .) # No --srcdir option. We are building in place.
23066 ac_sub_srcdir=$srcdir ;;
23067 /*) # Absolute path.
23068 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
23069 *) # Relative path.
23070 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
23073 # Check for guested configure; otherwise get Cygnus style configure.
23074 if test -f $ac_sub_srcdir/configure; then
23075 ac_sub_configure=$ac_sub_srcdir/configure
23076 elif test -f $ac_sub_srcdir/configure.in; then
23077 ac_sub_configure=$ac_configure
23079 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
23083 # The recursion is here.
23084 if test -n "$ac_sub_configure"; then
23086 # Make the cache file name correct relative to the subdirectory.
23087 case "$cache_file" in
23088 /*) ac_sub_cache_file=$cache_file ;;
23089 *) # Relative path.
23090 ac_sub_cache_file="$ac_dots$cache_file" ;;
23092 case "$ac_given_INSTALL" in
23093 [/$]*) INSTALL="$ac_given_INSTALL" ;;
23094 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
23097 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
23098 # The eval makes quoting arguments work.
23099 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
23102 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
23112 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
23114 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
23116 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
23117 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
23118 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
23120 echo " What level of wxWindows compatibility should be enabled?"
23121 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
23122 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
23123 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
23125 echo " Which libraries should wxWindows use?"
23126 echo " jpeg ${wxUSE_LIBJPEG-none}"
23127 echo " png ${wxUSE_LIBPNG-none}"
23128 echo " regex ${wxUSE_REGEX}"
23129 echo " tiff ${wxUSE_LIBTIFF-none}"
23130 echo " zlib ${wxUSE_ZLIB}"