3 # From configure.in Id: configure.in
59 # Configure paths for GTK+
60 # Owen Taylor 1997-2001
69 # Configure paths for GTK+
74 # Guess values for system-dependent variables and create Makefiles.
75 # Generated automatically using autoconf version 2.13
76 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
78 # This configure script is free software; the Free Software Foundation
79 # gives unlimited permission to copy, distribute and modify it.
83 ac_default_prefix
=/usr
/local
84 # Any additions from configure.in:
86 --enable-gui use GUI classes"
88 --enable-universal use wxWindows GUI controls instead of native ones"
92 --with-motif use Motif/Lesstif"
94 --with-mac use Mac OS X"
98 --with-msw use MS-Windows"
100 --with-pm use OS/2 Presentation Manager"
102 --with-mgl use SciTech MGL"
104 --with-microwin use MicroWindows"
108 --enable-nanox use NanoX"
110 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
112 --with-libpng use libpng (PNG image format)"
114 --with-libjpeg use libjpeg (JPEG file format)"
116 --with-libtiff use libtiff (TIFF file format)"
118 --with-opengl use OpenGL (or Mesa)"
120 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
122 --with-regex enable support for wxRegEx class"
124 --with-zlib use zlib for LZW compression"
126 --with-odbc use the IODBC and wxODBC classes"
128 --enable-shared create shared library code"
130 --enable-soname set the DT_SONAME field in ELF shared libraries"
132 --enable-optimise create optimised code"
134 --enable-debug same as debug_flag and debug_info"
136 --enable-precomp enable use of precompiled headers (Mac OS X)"
138 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
140 --enable-debug_info create code with debugging information"
142 --enable-debug_gdb create code with extra GDB debugging information"
144 --enable-debug_cntxt use wxDebugContext"
146 --enable-mem_tracing create code with memory tracing"
148 --enable-profile create code with profiling information"
150 --enable-no_rtti create code without RTTI information"
152 --enable-no_exceptions create code without C++ exceptions handling"
154 --enable-permissive compile code disregarding strict ANSI"
156 --enable-no_deps create code without dependency information"
158 --enable-compat20 enable wxWindows 2.0 compatibility"
160 --disable-compat22 disable wxWindows 2.2 compatibility"
162 --enable-rpath=DIR output the rpath flag from wx-config"
164 --enable-intl use internationalization system"
166 --enable-config use wxConfig (and derived) classes"
168 --enable-protocols use wxProtocol and derived classes"
170 --enable-ftp use wxFTP (requires wxProtocol"
172 --enable-http use wxHTTP (requires wxProtocol"
174 --enable-fileproto use wxFileProto class (requires wxProtocol"
176 --enable-sockets use socket/network classes"
178 --enable-ole use OLE classes"
180 --enable-dataobj use data object classes"
182 --enable-ipc use interprocess communication (wxSocket etc.)"
184 --enable-cmdline use wxCmdLineParser class"
186 --enable-datetime use wxDateTime class"
188 --enable-timedate use obsolete wxDate/wxTime classes"
190 --enable-stopwatch use wxStopWatch class"
192 --enable-dialupman use dialup network classes"
194 --enable-apple_ieee use the Apple IEEE codec"
196 --enable-timer use wxTimer class"
198 --enable-wave use wxWave class"
200 --enable-fraction use wxFraction class"
202 --enable-dynlib use wxLibrary class for DLL loading"
204 --enable-dynamicloader use (new) wxDynamicLibrary class"
206 --enable-longlong use wxLongLong class"
208 --enable-geometry use geometry class"
210 --enable-log use logging system"
212 --enable-streams use wxStream etc classes"
214 --enable-file use wxFile classes"
216 --enable-ffile use wxFFile classes"
218 --enable-textbuf use wxTextBuffer class"
220 --enable-textfile use wxTextFile class"
222 --enable-fontmap use font encodings conversion classes"
224 --enable-unicode compile wxString with Unicode support"
226 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
228 --enable-wxprintfv use wxWindows implementation of vprintf()"
230 --enable-std_iostreams use standard C++ stream classes"
232 --enable-filesystem use virtual file systems classes"
234 --enable-fs_inet use virtual HTTP/FTP filesystems"
236 --enable-fs_zip use virtual ZIP filesystems"
238 --enable-zipstream use wxZipInputStream"
240 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
242 --enable-snglinst use wxSingleInstanceChecker class"
244 --enable-mimetype use wxMimeTypesManager"
246 --enable-sysoptions use wxSystemOptions"
248 --enable-url use wxURL class"
250 --enable-protocol use wxProtocol class"
252 --enable-protocol-http HTTP support in wxProtocol"
254 --enable-protocol-ftp FTP support in wxProtocol"
256 --enable-protocol-file FILE support in wxProtocol"
258 --enable-threads use threads"
260 --enable-docview use document view architecture"
262 --enable-help use help subsystem"
264 --enable-mshtmlhelp use MS HTML Help (win32)"
266 --enable-html use wxHTML sub-library"
268 --enable-htmlhelp use wxHTML-based help"
270 --enable-constraints use layout-constraints system"
272 --enable-printarch use printing architecture"
274 --enable-mdi use multiple document interface architecture"
276 --enable-loggui use standard GUI logger"
278 --enable-logwin use wxLogWindow"
280 --enable-logdialog use wxLogDialog"
282 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
284 --enable-prologio use Prolog IO library"
286 --enable-resources use wxWindows resources"
288 --enable-xresources use X resources for save (default for gtk+)"
290 --enable-clipboard use wxClipboard classes"
292 --enable-dnd use Drag'n'Drop classes"
294 --enable-metafile use win32 metafiles"
296 --enable-treelayout use wxTreeLayout classes"
298 --enable-controls use all usual controls"
300 --enable-accel use accelerators"
302 --enable-button use wxButton class"
304 --enable-bmpbutton use wxBitmapButton class"
306 --enable-calendar use wxCalendarCtrl class"
308 --enable-caret use wxCaret class"
310 --enable-checkbox use wxCheckBox class"
312 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
314 --enable-choice use wxChoice class"
316 --enable-combobox use wxComboBox classes"
318 --enable-gauge use wxGauge class"
320 --enable-grid use wxGrid class"
322 --enable-newgrid use new wxGrid class"
324 --enable-imaglist use wxImageList class"
326 --enable-listbox use wxListBox class"
328 --enable-listctrl use wxListCtrl class"
330 --enable-notebook use wxNotebook class"
332 --enable-propsheet use wxPropertySheet class"
334 --enable-radiobox use wxRadioBox class"
336 --enable-radiobtn use wxRadioButton class"
338 --enable-sash use wxSashWindow class"
340 --enable-scrollbar use wxScrollBar class and scrollable windows"
342 --enable-slider use wxSlider class"
344 --enable-spinbtn use wxSpinButton class"
346 --enable-spinctrl use wxSpinCtrl class"
348 --enable-splitter use wxSplitterWindow class"
350 --enable-statbmp use wxStaticBitmap class"
352 --enable-statbox use wxStaticBox class"
354 --enable-statline use wxStaticLine class"
356 --enable-stattext use wxStaticText class"
358 --enable-statusbar use wxStatusBar class"
360 --enable-tabdialog use wxTabControl class"
362 --enable-textctrl use wxTextCtrl class"
364 --enable-togglebtn use wxToggleButton class"
366 --enable-toolbar use wxToolBar class"
368 --enable-tbarnative use native wxToolBar class"
370 --enable-tbarsmpl use wxToolBarSimple class"
372 --enable-treectrl use wxTreeCtrl class"
374 --enable-tipwindow use wxTipWindow class"
376 --enable-popupwin use wxPopUpWindow class"
378 --enable-commondlg use all common dialogs"
380 --enable-choicedlg use wxChoiceDialog"
382 --enable-coldlg use wxColourDialog"
384 --enable-filedlg use wxFileDialog"
386 --enable-finddlg use wxFindReplaceDialog"
388 --enable-fontdlg use wxFontDialog"
390 --enable-dirdlg use wxDirDialog"
392 --enable-msgdlg use wxMessageDialog"
394 --enable-numberdlg use wxNumberEntryDialog"
396 --enable-splash use wxSplashScreen"
398 --enable-textdlg use wxTextDialog"
400 --enable-tipdlg use startup tips"
402 --enable-progressdlg use wxProgressDialog"
404 --enable-wizarddlg use wxWizard"
406 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
408 --enable-miniframe use wxMiniFrame class"
410 --enable-tooltips use wxToolTip class"
412 --enable-splines use spline drawing code"
414 --enable-validators use wxValidator and derived classes"
416 --enable-busyinfo use wxBusyInfo"
418 --enable-joystick use wxJoystick (Linux only)"
420 --enable-metafiles use wxMetaFile (Windows only)"
422 --enable-dragimage use wxDragImage"
424 --enable-palette use wxPalette class"
426 --enable-image use wxImage class"
428 --enable-gif use gif images (GIF file format)"
430 --enable-pcx use pcx images (PCX file format)"
432 --enable-iff use iff images (IFF file format)"
434 --enable-pnm use pnm images (PNM file format)"
436 --enable-xpm use xpm images (XPM file format)"
438 --enable-icocur use Windows ICO and CUR formats"
440 --disable-largefile omit support for large files"
442 --disable-gtktest do not try to compile and run a test GTK+ program"
444 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
446 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
448 --disable-gtktest Do not try to compile and run a test GTK program"
450 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
452 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
454 --disable-gtktest Do not try to compile and run a test GTK program"
456 --with-x use the X Window System"
458 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
460 # Initialize some variables set by options.
461 # The variables have the same names as the options, with
462 # dashes changed to underlines.
464 cache_file
=.
/config.cache
473 program_transform_name
=s
,x
,x
,
481 bindir
='${exec_prefix}/bin'
482 sbindir
='${exec_prefix}/sbin'
483 libexecdir
='${exec_prefix}/libexec'
484 datadir
='${prefix}/share'
485 sysconfdir
='${prefix}/etc'
486 sharedstatedir
='${prefix}/com'
487 localstatedir
='${prefix}/var'
488 libdir
='${exec_prefix}/lib'
489 includedir
='${prefix}/include'
490 oldincludedir
='/usr/include'
491 infodir
='${prefix}/info'
492 mandir
='${prefix}/man'
494 # Initialize some other variables.
497 SHELL
=${CONFIG_SHELL-/bin/sh}
498 # Maximum number of lines to put in a shell here document.
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
513 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
517 # Accept the important Cygnus configure options, so we can diagnose typos.
521 -bindir | --bindir | --bindi | --bind | --bin | --bi)
523 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
524 bindir
="$ac_optarg" ;;
526 -build | --build | --buil | --bui | --bu)
528 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
529 build
="$ac_optarg" ;;
531 -cache-file | --cache-file | --cache-fil | --cache-fi \
532 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
533 ac_prev
=cache_file
;;
534 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
535 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
536 cache_file
="$ac_optarg" ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542 datadir
="$ac_optarg" ;;
544 -disable-* | --disable-*)
545 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
546 # Reject names that are not valid shell variable names.
547 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
548 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
550 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
551 eval "enable_${ac_feature}=no" ;;
553 -enable-* | --enable-*)
554 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
555 # Reject names that are not valid shell variable names.
556 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
557 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
559 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
564 eval "enable_${ac_feature}='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev
=exec_prefix
;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix
="$ac_optarg" ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
579 -help | --help | --hel | --he)
580 # Omit some internal or obsolete options to make the list less imposing.
581 # This message is too long to be a string in the A/UX 3.1 sh.
583 Usage: configure [options] [host]
584 Options: [defaults in brackets after descriptions]
586 --cache-file=FILE cache test results in FILE
587 --help print this message
588 --no-create do not create output files
589 --quiet, --silent do not print \`checking...' messages
590 --version print the version of autoconf that created configure
591 Directory and file names:
592 --prefix=PREFIX install architecture-independent files in PREFIX
594 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
596 --bindir=DIR user executables in DIR [EPREFIX/bin]
597 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
598 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
599 --datadir=DIR read-only architecture-independent data in DIR
601 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
602 --sharedstatedir=DIR modifiable architecture-independent data in DIR
604 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
605 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
606 --includedir=DIR C header files in DIR [PREFIX/include]
607 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
608 --infodir=DIR info documentation in DIR [PREFIX/info]
609 --mandir=DIR man documentation in DIR [PREFIX/man]
610 --srcdir=DIR find the sources in DIR [configure dir or ..]
611 --program-prefix=PREFIX prepend PREFIX to installed program names
612 --program-suffix=SUFFIX append SUFFIX to installed program names
613 --program-transform-name=PROGRAM
614 run sed PROGRAM on installed program names
618 --build=BUILD configure for building on BUILD [BUILD=HOST]
619 --host=HOST configure for HOST [guessed]
620 --target=TARGET configure for TARGET [TARGET=HOST]
621 Features and packages:
622 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
623 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
624 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
625 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
626 --x-includes=DIR X include files are in DIR
627 --x-libraries=DIR X library files are in DIR
629 if test -n "$ac_help"; then
630 echo "--enable and --with options recognized:$ac_help"
634 -host | --host | --hos | --ho)
636 -host=* | --host=* | --hos=* | --ho=*)
639 -includedir | --includedir | --includedi | --included | --include \
640 | --includ | --inclu | --incl | --inc)
641 ac_prev
=includedir
;;
642 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
643 | --includ=* | --inclu=* | --incl=* | --inc=*)
644 includedir
="$ac_optarg" ;;
646 -infodir | --infodir | --infodi | --infod | --info | --inf)
648 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
649 infodir
="$ac_optarg" ;;
651 -libdir | --libdir | --libdi | --libd)
653 -libdir=* | --libdir=* | --libdi=* | --libd=*)
654 libdir
="$ac_optarg" ;;
656 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
657 | --libexe | --libex | --libe)
658 ac_prev
=libexecdir
;;
659 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
660 | --libexe=* | --libex=* | --libe=*)
661 libexecdir
="$ac_optarg" ;;
663 -localstatedir | --localstatedir | --localstatedi | --localstated \
664 | --localstate | --localstat | --localsta | --localst \
665 | --locals | --local | --loca | --loc | --lo)
666 ac_prev
=localstatedir
;;
667 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
668 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
669 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
670 localstatedir
="$ac_optarg" ;;
672 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
674 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
675 mandir
="$ac_optarg" ;;
678 # Obsolete; use --without-fp.
681 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
685 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
686 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
689 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
690 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
691 | --oldin | --oldi | --old | --ol | --o)
692 ac_prev
=oldincludedir
;;
693 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
694 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
695 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
696 oldincludedir
="$ac_optarg" ;;
698 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
700 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
701 prefix
="$ac_optarg" ;;
703 -program-prefix | --program-prefix | --program-prefi | --program-pref \
704 | --program-pre | --program-pr | --program-p)
705 ac_prev
=program_prefix
;;
706 -program-prefix=* | --program-prefix=* | --program-prefi=* \
707 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
708 program_prefix
="$ac_optarg" ;;
710 -program-suffix | --program-suffix | --program-suffi | --program-suff \
711 | --program-suf | --program-su | --program-s)
712 ac_prev
=program_suffix
;;
713 -program-suffix=* | --program-suffix=* | --program-suffi=* \
714 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
715 program_suffix
="$ac_optarg" ;;
717 -program-transform-name | --program-transform-name \
718 | --program-transform-nam | --program-transform-na \
719 | --program-transform-n | --program-transform- \
720 | --program-transform | --program-transfor \
721 | --program-transfo | --program-transf \
722 | --program-trans | --program-tran \
723 | --progr-tra | --program-tr | --program-t)
724 ac_prev
=program_transform_name
;;
725 -program-transform-name=* | --program-transform-name=* \
726 | --program-transform-nam=* | --program-transform-na=* \
727 | --program-transform-n=* | --program-transform-=* \
728 | --program-transform=* | --program-transfor=* \
729 | --program-transfo=* | --program-transf=* \
730 | --program-trans=* | --program-tran=* \
731 | --progr-tra=* | --program-tr=* | --program-t=*)
732 program_transform_name
="$ac_optarg" ;;
734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
735 | -silent | --silent | --silen | --sile | --sil)
738 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
740 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
742 sbindir
="$ac_optarg" ;;
744 -sharedstatedir | --sharedstatedir | --sharedstatedi \
745 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
746 | --sharedst | --shareds | --shared | --share | --shar \
748 ac_prev
=sharedstatedir
;;
749 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
750 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
751 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
753 sharedstatedir
="$ac_optarg" ;;
755 -site | --site | --sit)
757 -site=* | --site=* | --sit=*)
760 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
762 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
763 srcdir
="$ac_optarg" ;;
765 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
766 | --syscon | --sysco | --sysc | --sys | --sy)
767 ac_prev
=sysconfdir
;;
768 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
769 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
770 sysconfdir
="$ac_optarg" ;;
772 -target | --target | --targe | --targ | --tar | --ta | --t)
774 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
775 target
="$ac_optarg" ;;
777 -v | -verbose | --verbose | --verbos | --verbo | --verb)
780 -version | --version | --versio | --versi | --vers)
781 echo "configure generated by autoconf version 2.13"
785 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
786 # Reject names that are not valid shell variable names.
787 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
788 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
790 ac_package
=`echo $ac_package| sed 's/-/_/g'`
795 eval "with_${ac_package}='$ac_optarg'" ;;
797 -without-* | --without-*)
798 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
799 # Reject names that are not valid shell variable names.
800 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
801 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
803 ac_package
=`echo $ac_package| sed 's/-/_/g'`
804 eval "with_${ac_package}=no" ;;
807 # Obsolete; use --with-x.
810 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
811 | --x-incl | --x-inc | --x-in | --x-i)
812 ac_prev
=x_includes
;;
813 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
814 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
815 x_includes
="$ac_optarg" ;;
817 -x-libraries | --x-libraries | --x-librarie | --x-librari \
818 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
819 ac_prev
=x_libraries
;;
820 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
821 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
822 x_libraries
="$ac_optarg" ;;
824 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
828 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
829 echo "configure: warning: $ac_option: invalid host type" 1>&2
831 if test "x$nonopt" != xNONE
; then
832 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
840 if test -n "$ac_prev"; then
841 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
844 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
846 # File descriptor usage:
849 # 2 errors and warnings
850 # 3 some systems may open it to /dev/tty
851 # 4 used on the Kubota Titan
852 # 6 checking for... messages and results
853 # 5 compiler messages saved in config.log
854 if test "$silent" = yes; then
862 This file contains any messages produced by compilers while
863 running configure, to aid debugging if configure makes a mistake.
866 # Strip out --no-create and --no-recursion so they do not pile up.
867 # Also quote any args containing shell metacharacters.
872 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
873 | --no-cr | --no-c) ;;
874 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
875 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
876 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
877 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
878 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
883 # Only set these to C if already set. These must not be set unconditionally
884 # because not all systems understand e.g. LANG=C (notably SCO).
885 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
886 # Non-C LC_CTYPE values break the ctype check.
887 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
888 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
889 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
890 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
892 # confdefs.h avoids OS command line length limits that DEFS can exceed.
893 rm -rf conftest
* confdefs.h
894 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
897 # A filename unique to this package, relative to the directory that
898 # configure is in, which we can look for to find out if srcdir is correct.
899 ac_unique_file
=wx
-config.
in
901 # Find the source files, if location was not specified.
902 if test -z "$srcdir"; then
903 ac_srcdir_defaulted
=yes
904 # Try the directory containing this script, then its parent.
906 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
907 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
909 if test ! -r $srcdir/$ac_unique_file; then
913 ac_srcdir_defaulted
=no
915 if test ! -r $srcdir/$ac_unique_file; then
916 if test "$ac_srcdir_defaulted" = yes; then
917 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
919 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
922 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
924 # Prefer explicitly selected file to automatically selected ones.
925 if test -z "$CONFIG_SITE"; then
926 if test "x$prefix" != xNONE
; then
927 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
929 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
932 for ac_site_file
in $CONFIG_SITE; do
933 if test -r "$ac_site_file"; then
934 echo "loading site script $ac_site_file"
939 if test -r "$cache_file"; then
940 echo "loading cache $cache_file"
943 echo "creating cache $cache_file"
948 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
949 ac_cpp
='$CPP $CPPFLAGS'
950 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
951 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
952 cross_compiling
=$ac_cv_prog_cc_cross
956 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
957 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
958 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
965 ac_n
= ac_c
='\c' ac_t
=
971 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
972 if test -f $ac_dir/install-sh; then
974 ac_install_sh
="$ac_aux_dir/install-sh -c"
976 elif test -f $ac_dir/install.sh
; then
978 ac_install_sh
="$ac_aux_dir/install.sh -c"
982 if test -z "$ac_aux_dir"; then
983 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
985 ac_config_guess
=$ac_aux_dir/config.guess
986 ac_config_sub
=$ac_aux_dir/config.sub
987 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
990 # Do some error checking and defaulting for the host and target type.
992 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
995 # 1. You are not allowed to specify --host, --target, and nonopt at the
997 # 2. Host defaults to nonopt.
998 # 3. If nonopt is not specified, then host defaults to the current host,
999 # as determined by config.guess.
1000 # 4. Target and build default to nonopt.
1001 # 5. If nonopt is not specified, then target and build default to host.
1003 # The aliases save the names the user supplied, while $host etc.
1004 # will get canonicalized.
1005 case $host---$target---$nonopt in
1006 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1007 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1011 # Make sure we can run config.sub.
1012 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1013 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1016 echo $ac_n "checking host system type""... $ac_c" 1>&6
1017 echo "configure:1018: checking host system type" >&5
1020 case "$host_alias" in
1024 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1025 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1027 *) host_alias
=$nonopt ;;
1031 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1032 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1033 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1034 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1035 echo "$ac_t""$host" 1>&6
1037 echo $ac_n "checking target system type""... $ac_c" 1>&6
1038 echo "configure:1039: checking target system type" >&5
1040 target_alias
=$target
1041 case "$target_alias" in
1044 NONE
) target_alias
=$host_alias ;;
1045 *) target_alias
=$nonopt ;;
1049 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1050 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1051 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1052 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1053 echo "$ac_t""$target" 1>&6
1055 echo $ac_n "checking build system type""... $ac_c" 1>&6
1056 echo "configure:1057: checking build system type" >&5
1059 case "$build_alias" in
1062 NONE
) build_alias
=$host_alias ;;
1063 *) build_alias
=$nonopt ;;
1067 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1068 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1069 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1070 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1071 echo "$ac_t""$build" 1>&6
1073 test "$host_alias" != "$target_alias" &&
1074 test "$program_prefix$program_suffix$program_transform_name" = \
1076 program_prefix
=${target_alias}-
1080 WX_MAJOR_VERSION_NUMBER
=2
1081 WX_MINOR_VERSION_NUMBER
=3
1084 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1085 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1087 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1121 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1123 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1128 DEFAULT_wxUSE_MICROWIN
=0
1129 DEFAULT_wxUSE_MOTIF
=0
1132 DEFAULT_wxUSE_WINE
=0
1135 DEFAULT_DEFAULT_wxUSE_GTK
=0
1136 DEFAULT_DEFAULT_wxUSE_MAC
=0
1137 DEFAULT_DEFAULT_wxUSE_MGL
=0
1138 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1139 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1140 DEFAULT_DEFAULT_wxUSE_MSW
=0
1141 DEFAULT_DEFAULT_wxUSE_PM
=0
1142 DEFAULT_DEFAULT_wxUSE_WINE
=0
1143 DEFAULT_DEFAULT_wxUSE_X11
=0
1151 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1152 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1154 cat >> confdefs.h
<<\EOF
1161 cat >> confdefs.h
<<\EOF
1166 if test "x$TMP" = "xalpha"; then
1168 cat >> confdefs.h
<<\EOF
1173 DEFAULT_DEFAULT_wxUSE_GTK
=1
1175 *-*-irix5* | *-*-irix6* )
1178 cat >> confdefs.h
<<\EOF
1182 cat >> confdefs.h
<<\EOF
1186 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1192 cat >> confdefs.h
<<\EOF
1196 cat >> confdefs.h
<<\EOF
1197 #define __SOLARIS__ 1
1200 cat >> confdefs.h
<<\EOF
1204 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1205 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1211 cat >> confdefs.h
<<\EOF
1215 cat >> confdefs.h
<<\EOF
1219 cat >> confdefs.h
<<\EOF
1223 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1228 cat >> confdefs.h
<<\EOF
1229 #define __FREEBSD__ 1
1232 cat >> confdefs.h
<<\EOF
1236 DEFAULT_DEFAULT_wxUSE_GTK
=1
1241 cat >> confdefs.h
<<\EOF
1242 #define __FREEBSD__ 1
1245 cat >> confdefs.h
<<\EOF
1246 #define __OPENBSD__ 1
1249 DEFAULT_DEFAULT_wxUSE_GTK
=1
1254 cat >> confdefs.h
<<\EOF
1255 #define __FREEBSD__ 1
1258 cat >> confdefs.h
<<\EOF
1259 #define __NETBSD__ 1
1262 DEFAULT_DEFAULT_wxUSE_GTK
=1
1267 cat >> confdefs.h
<<\EOF
1271 cat >> confdefs.h
<<\EOF
1275 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1276 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1281 cat >> confdefs.h
<<\EOF
1285 cat >> confdefs.h
<<\EOF
1289 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1294 cat >> confdefs.h
<<\EOF
1298 cat >> confdefs.h
<<\EOF
1302 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1309 cat >> confdefs.h
<<\EOF
1313 cat >> confdefs.h
<<\EOF
1317 cat >> confdefs.h
<<\EOF
1321 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1324 *-*-cygwin* | *-*-mingw32* )
1328 DEFAULT_DEFAULT_wxUSE_MSW
=1
1334 cat >> confdefs.h
<<\EOF
1339 DEFAULT_DEFAULT_wxUSE_MGL
=1
1340 LIBS
="$LIBS -lstdc++"
1343 *-pc-os2_emx | *-pc-os2-emx )
1344 cat >> confdefs.h
<<\EOF
1349 DEFAULT_DEFAULT_wxUSE_PM
=1
1356 cat >> confdefs.h
<<\EOF
1360 cat >> confdefs.h
<<\EOF
1361 #define __DARWIN__ 1
1364 cat >> confdefs.h
<<\EOF
1365 #define __POWERPC__ 1
1368 DEFAULT_DEFAULT_wxUSE_MAC
=1
1373 cat >> confdefs.h
<<\EOF
1380 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1386 wx_arg_cache_file
="configarg.cache"
1387 echo "loading argument cache $wx_arg_cache_file"
1388 rm -f ${wx_arg_cache_file}.tmp
1389 touch ${wx_arg_cache_file}.tmp
1390 touch ${wx_arg_cache_file}
1394 if test $DEBUG_CONFIGURE = 1; then
1395 DEFAULT_wxUSE_UNIVERSAL
=no
1397 DEFAULT_wxUSE_NANOX
=no
1399 DEFAULT_wxUSE_THREADS
=yes
1401 DEFAULT_wxUSE_SHARED
=yes
1402 DEFAULT_wxUSE_SONAME
=no
1403 DEFAULT_wxUSE_OPTIMISE
=no
1404 DEFAULT_wxUSE_PROFILE
=no
1405 DEFAULT_wxUSE_NO_DEPS
=no
1406 DEFAULT_wxUSE_NO_RTTI
=no
1407 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1408 DEFAULT_wxUSE_PERMISSIVE
=no
1409 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1410 DEFAULT_wxUSE_DEBUG_INFO
=yes
1411 DEFAULT_wxUSE_DEBUG_GDB
=yes
1412 DEFAULT_wxUSE_MEM_TRACING
=no
1413 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1414 DEFAULT_wxUSE_DMALLOC
=no
1415 DEFAULT_wxUSE_PRECOMP
=no
1416 DEFAULT_wxUSE_APPLE_IEEE
=no
1418 DEFAULT_wxUSE_LOG
=yes
1419 DEFAULT_wxUSE_LOGWINDOW
=no
1420 DEFAULT_wxUSE_LOGGUI
=no
1421 DEFAULT_wxUSE_LOGDIALOG
=no
1423 DEFAULT_wxUSE_GUI
=yes
1424 DEFAULT_wxUSE_CONTROLS
=no
1426 DEFAULT_wxUSE_REGEX
=no
1427 DEFAULT_wxUSE_ZLIB
=no
1428 DEFAULT_wxUSE_LIBPNG
=no
1429 DEFAULT_wxUSE_LIBJPEG
=no
1430 DEFAULT_wxUSE_LIBTIFF
=no
1431 DEFAULT_wxUSE_ODBC
=no
1432 DEFAULT_wxUSE_OPENGL
=no
1434 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1435 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1436 DEFAULT_wxUSE_STD_IOSTREAM
=no
1437 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1438 DEFAULT_wxUSE_DATETIME
=no
1439 DEFAULT_wxUSE_TIMEDATE
=no
1440 DEFAULT_wxUSE_TIMER
=no
1441 DEFAULT_wxUSE_STOPWATCH
=no
1442 DEFAULT_wxUSE_FILE
=no
1443 DEFAULT_wxUSE_FFILE
=no
1444 DEFAULT_wxUSE_TEXTBUFFER
=no
1445 DEFAULT_wxUSE_TEXTFILE
=no
1446 DEFAULT_wxUSE_WAVE
=no
1447 DEFAULT_wxUSE_INTL
=no
1448 DEFAULT_wxUSE_CONFIG
=no
1449 DEFAULT_wxUSE_FONTMAP
=no
1450 DEFAULT_wxUSE_STREAMS
=no
1451 DEFAULT_wxUSE_SOCKETS
=no
1452 DEFAULT_wxUSE_OLE
=no
1453 DEFAULT_wxUSE_DATAOBJ
=no
1454 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1455 DEFAULT_wxUSE_JOYSTICK
=no
1456 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1457 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1458 DEFAULT_wxUSE_LONGLONG
=no
1459 DEFAULT_wxUSE_GEOMETRY
=no
1461 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1462 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1463 DEFAULT_wxUSE_POSTSCRIPT
=no
1465 DEFAULT_wxUSE_X_RESOURCES
=no
1466 DEFAULT_wxUSE_CLIPBOARD
=no
1467 DEFAULT_wxUSE_TOOLTIPS
=no
1468 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1469 DEFAULT_wxUSE_DRAGIMAGE
=no
1470 DEFAULT_wxUSE_SPLINES
=no
1472 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1473 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1474 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1476 DEFAULT_wxUSE_PROLOGIO
=no
1477 DEFAULT_wxUSE_RESOURCES
=no
1478 DEFAULT_wxUSE_CONSTRAINTS
=no
1479 DEFAULT_wxUSE_IPC
=no
1480 DEFAULT_wxUSE_HELP
=no
1481 DEFAULT_wxUSE_MS_HTML_HELP
=no
1482 DEFAULT_wxUSE_WXHTML_HELP
=no
1483 DEFAULT_wxUSE_TREELAYOUT
=no
1484 DEFAULT_wxUSE_METAFILE
=no
1485 DEFAULT_wxUSE_MIMETYPE
=no
1486 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1487 DEFAULT_wxUSE_PROTOCOL
=no
1488 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1489 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1490 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1491 DEFAULT_wxUSE_URL
=no
1493 DEFAULT_wxUSE_COMMONDLGS
=no
1494 DEFAULT_wxUSE_CHOICEDLG
=no
1495 DEFAULT_wxUSE_COLOURDLG
=no
1496 DEFAULT_wxUSE_DIRDLG
=no
1497 DEFAULT_wxUSE_FILEDLG
=no
1498 DEFAULT_wxUSE_FINDREPLDLG
=no
1499 DEFAULT_wxUSE_FONTDLG
=no
1500 DEFAULT_wxUSE_MSGDLG
=no
1501 DEFAULT_wxUSE_NUMBERDLG
=no
1502 DEFAULT_wxUSE_TEXTDLG
=no
1503 DEFAULT_wxUSE_SPLASH
=no
1504 DEFAULT_wxUSE_STARTUP_TIPS
=no
1505 DEFAULT_wxUSE_PROGRESSDLG
=no
1506 DEFAULT_wxUSE_WIZARDDLG
=no
1508 DEFAULT_wxUSE_MENUS
=no
1509 DEFAULT_wxUSE_MINIFRAME
=no
1510 DEFAULT_wxUSE_HTML
=no
1511 DEFAULT_wxUSE_FILESYSTEM
=no
1512 DEFAULT_wxUSE_FS_INET
=no
1513 DEFAULT_wxUSE_FS_ZIP
=no
1514 DEFAULT_wxUSE_BUSYINFO
=no
1515 DEFAULT_wxUSE_ZIPSTREAM
=no
1516 DEFAULT_wxUSE_VALIDATORS
=no
1518 DEFAULT_wxUSE_ACCEL
=no
1519 DEFAULT_wxUSE_BUTTON
=no
1520 DEFAULT_wxUSE_BMPBUTTON
=no
1521 DEFAULT_wxUSE_CALCTRL
=no
1522 DEFAULT_wxUSE_CARET
=no
1523 DEFAULT_wxUSE_CHECKBOX
=no
1524 DEFAULT_wxUSE_CHECKLST
=no
1525 DEFAULT_wxUSE_CHOICE
=no
1526 DEFAULT_wxUSE_COMBOBOX
=no
1527 DEFAULT_wxUSE_GAUGE
=no
1528 DEFAULT_wxUSE_GRID
=no
1529 DEFAULT_wxUSE_NEW_GRID
=no
1530 DEFAULT_wxUSE_IMAGLIST
=no
1531 DEFAULT_wxUSE_LISTBOX
=no
1532 DEFAULT_wxUSE_LISTCTRL
=no
1533 DEFAULT_wxUSE_NOTEBOOK
=no
1534 DEFAULT_wxUSE_PROPSHEET
=no
1535 DEFAULT_wxUSE_RADIOBOX
=no
1536 DEFAULT_wxUSE_RADIOBTN
=no
1537 DEFAULT_wxUSE_SASH
=no
1538 DEFAULT_wxUSE_SCROLLBAR
=no
1539 DEFAULT_wxUSE_SLIDER
=no
1540 DEFAULT_wxUSE_SPINBTN
=no
1541 DEFAULT_wxUSE_SPINCTRL
=no
1542 DEFAULT_wxUSE_SPLITTER
=no
1543 DEFAULT_wxUSE_STATBMP
=no
1544 DEFAULT_wxUSE_STATBOX
=no
1545 DEFAULT_wxUSE_STATLINE
=no
1546 DEFAULT_wxUSE_STATTEXT
=no
1547 DEFAULT_wxUSE_STATUSBAR
=yes
1548 DEFAULT_wxUSE_TABDIALOG
=no
1549 DEFAULT_wxUSE_TEXTCTRL
=no
1550 DEFAULT_wxUSE_TOGGLEBTN
=no
1551 DEFAULT_wxUSE_TOOLBAR
=no
1552 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1553 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1554 DEFAULT_wxUSE_TREECTRL
=no
1555 DEFAULT_wxUSE_POPUPWIN
=no
1556 DEFAULT_wxUSE_TIPWINDOW
=no
1558 DEFAULT_wxUSE_UNICODE
=no
1559 DEFAULT_wxUSE_UNICODE_MSLU
=no
1560 DEFAULT_wxUSE_WCSRTOMBS
=no
1562 DEFAULT_wxUSE_PALETTE
=no
1563 DEFAULT_wxUSE_IMAGE
=no
1564 DEFAULT_wxUSE_GIF
=no
1565 DEFAULT_wxUSE_PCX
=no
1566 DEFAULT_wxUSE_PNM
=no
1567 DEFAULT_wxUSE_IFF
=no
1568 DEFAULT_wxUSE_XPM
=no
1569 DEFAULT_wxUSE_ICO_CUR
=no
1571 DEFAULT_wxUSE_UNIVERSAL
=no
1573 DEFAULT_wxUSE_NANOX
=no
1575 DEFAULT_wxUSE_THREADS
=yes
1577 DEFAULT_wxUSE_SHARED
=yes
1578 DEFAULT_wxUSE_SONAME
=no
1579 DEFAULT_wxUSE_OPTIMISE
=yes
1580 DEFAULT_wxUSE_PROFILE
=no
1581 DEFAULT_wxUSE_NO_DEPS
=no
1582 DEFAULT_wxUSE_NO_RTTI
=no
1583 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1584 DEFAULT_wxUSE_PERMISSIVE
=no
1585 DEFAULT_wxUSE_DEBUG_FLAG
=no
1586 DEFAULT_wxUSE_DEBUG_INFO
=no
1587 DEFAULT_wxUSE_DEBUG_GDB
=no
1588 DEFAULT_wxUSE_MEM_TRACING
=no
1589 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1590 DEFAULT_wxUSE_DMALLOC
=no
1591 DEFAULT_wxUSE_PRECOMP
=no
1592 DEFAULT_wxUSE_APPLE_IEEE
=yes
1594 DEFAULT_wxUSE_LOG
=yes
1595 DEFAULT_wxUSE_LOGWINDOW
=yes
1596 DEFAULT_wxUSE_LOGGUI
=yes
1597 DEFAULT_wxUSE_LOGDIALOG
=yes
1599 DEFAULT_wxUSE_GUI
=yes
1601 DEFAULT_wxUSE_REGEX
=yes
1602 DEFAULT_wxUSE_ZLIB
=yes
1603 DEFAULT_wxUSE_LIBPNG
=yes
1604 DEFAULT_wxUSE_LIBJPEG
=yes
1605 DEFAULT_wxUSE_LIBTIFF
=yes
1606 DEFAULT_wxUSE_ODBC
=no
1607 DEFAULT_wxUSE_OPENGL
=no
1609 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1610 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1611 DEFAULT_wxUSE_STD_IOSTREAM
=no
1612 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1613 DEFAULT_wxUSE_DATETIME
=yes
1614 DEFAULT_wxUSE_TIMEDATE
=no
1615 DEFAULT_wxUSE_TIMER
=yes
1616 DEFAULT_wxUSE_STOPWATCH
=yes
1617 DEFAULT_wxUSE_FILE
=yes
1618 DEFAULT_wxUSE_FFILE
=yes
1619 DEFAULT_wxUSE_TEXTBUFFER
=yes
1620 DEFAULT_wxUSE_TEXTFILE
=yes
1621 DEFAULT_wxUSE_WAVE
=no
1622 DEFAULT_wxUSE_INTL
=yes
1623 DEFAULT_wxUSE_CONFIG
=yes
1624 DEFAULT_wxUSE_FONTMAP
=yes
1625 DEFAULT_wxUSE_STREAMS
=yes
1626 DEFAULT_wxUSE_SOCKETS
=yes
1627 DEFAULT_wxUSE_OLE
=yes
1628 DEFAULT_wxUSE_DATAOBJ
=yes
1629 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1630 DEFAULT_wxUSE_JOYSTICK
=yes
1631 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1632 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1633 DEFAULT_wxUSE_LONGLONG
=yes
1634 DEFAULT_wxUSE_GEOMETRY
=yes
1636 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1637 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1638 DEFAULT_wxUSE_POSTSCRIPT
=yes
1640 DEFAULT_wxUSE_X_RESOURCES
=no
1641 DEFAULT_wxUSE_CLIPBOARD
=yes
1642 DEFAULT_wxUSE_TOOLTIPS
=yes
1643 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1644 DEFAULT_wxUSE_DRAGIMAGE
=yes
1645 DEFAULT_wxUSE_SPLINES
=yes
1647 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1648 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1649 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1651 DEFAULT_wxUSE_PROLOGIO
=yes
1652 DEFAULT_wxUSE_RESOURCES
=yes
1653 DEFAULT_wxUSE_CONSTRAINTS
=yes
1654 DEFAULT_wxUSE_IPC
=yes
1655 DEFAULT_wxUSE_HELP
=yes
1656 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1657 DEFAULT_wxUSE_WXHTML_HELP
=yes
1658 DEFAULT_wxUSE_TREELAYOUT
=yes
1659 DEFAULT_wxUSE_METAFILE
=yes
1660 DEFAULT_wxUSE_MIMETYPE
=yes
1661 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1662 DEFAULT_wxUSE_PROTOCOL
=yes
1663 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1664 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1665 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1666 DEFAULT_wxUSE_URL
=yes
1668 DEFAULT_wxUSE_COMMONDLGS
=yes
1669 DEFAULT_wxUSE_CHOICEDLG
=yes
1670 DEFAULT_wxUSE_COLOURDLG
=yes
1671 DEFAULT_wxUSE_DIRDLG
=yes
1672 DEFAULT_wxUSE_FILEDLG
=yes
1673 DEFAULT_wxUSE_FINDREPLDLG
=yes
1674 DEFAULT_wxUSE_FONTDLG
=yes
1675 DEFAULT_wxUSE_MSGDLG
=yes
1676 DEFAULT_wxUSE_NUMBERDLG
=yes
1677 DEFAULT_wxUSE_TEXTDLG
=yes
1678 DEFAULT_wxUSE_SPLASH
=yes
1679 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1680 DEFAULT_wxUSE_PROGRESSDLG
=yes
1681 DEFAULT_wxUSE_WIZARDDLG
=yes
1683 DEFAULT_wxUSE_MENUS
=yes
1684 DEFAULT_wxUSE_MINIFRAME
=yes
1685 DEFAULT_wxUSE_HTML
=yes
1686 DEFAULT_wxUSE_FILESYSTEM
=yes
1687 DEFAULT_wxUSE_FS_INET
=yes
1688 DEFAULT_wxUSE_FS_ZIP
=yes
1689 DEFAULT_wxUSE_BUSYINFO
=yes
1690 DEFAULT_wxUSE_ZIPSTREAM
=yes
1691 DEFAULT_wxUSE_VALIDATORS
=yes
1693 DEFAULT_wxUSE_ACCEL
=yes
1694 DEFAULT_wxUSE_BUTTON
=yes
1695 DEFAULT_wxUSE_BMPBUTTON
=yes
1696 DEFAULT_wxUSE_CALCTRL
=yes
1697 DEFAULT_wxUSE_CARET
=yes
1698 DEFAULT_wxUSE_CHECKBOX
=yes
1699 DEFAULT_wxUSE_CHECKLST
=yes
1700 DEFAULT_wxUSE_CHOICE
=yes
1701 DEFAULT_wxUSE_COMBOBOX
=yes
1702 DEFAULT_wxUSE_GAUGE
=yes
1703 DEFAULT_wxUSE_GRID
=yes
1704 DEFAULT_wxUSE_NEW_GRID
=yes
1705 DEFAULT_wxUSE_IMAGLIST
=yes
1706 DEFAULT_wxUSE_LISTBOX
=yes
1707 DEFAULT_wxUSE_LISTCTRL
=yes
1708 DEFAULT_wxUSE_NOTEBOOK
=yes
1709 DEFAULT_wxUSE_PROPSHEET
=yes
1710 DEFAULT_wxUSE_RADIOBOX
=yes
1711 DEFAULT_wxUSE_RADIOBTN
=yes
1712 DEFAULT_wxUSE_SASH
=yes
1713 DEFAULT_wxUSE_SCROLLBAR
=yes
1714 DEFAULT_wxUSE_SLIDER
=yes
1715 DEFAULT_wxUSE_SPINBTN
=yes
1716 DEFAULT_wxUSE_SPINCTRL
=yes
1717 DEFAULT_wxUSE_SPLITTER
=yes
1718 DEFAULT_wxUSE_STATBMP
=yes
1719 DEFAULT_wxUSE_STATBOX
=yes
1720 DEFAULT_wxUSE_STATLINE
=yes
1721 DEFAULT_wxUSE_STATTEXT
=yes
1722 DEFAULT_wxUSE_STATUSBAR
=yes
1723 DEFAULT_wxUSE_TABDIALOG
=no
1724 DEFAULT_wxUSE_TEXTCTRL
=yes
1725 DEFAULT_wxUSE_TOGGLEBTN
=yes
1726 DEFAULT_wxUSE_TOOLBAR
=yes
1727 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1728 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1729 DEFAULT_wxUSE_TREECTRL
=yes
1730 DEFAULT_wxUSE_POPUPWIN
=yes
1731 DEFAULT_wxUSE_TIPWINDOW
=yes
1733 DEFAULT_wxUSE_UNICODE
=no
1734 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1735 DEFAULT_wxUSE_WCSRTOMBS
=no
1737 DEFAULT_wxUSE_PALETTE
=yes
1738 DEFAULT_wxUSE_IMAGE
=yes
1739 DEFAULT_wxUSE_GIF
=yes
1740 DEFAULT_wxUSE_PCX
=yes
1741 DEFAULT_wxUSE_IFF
=no
1742 DEFAULT_wxUSE_PNM
=yes
1743 DEFAULT_wxUSE_XPM
=yes
1744 DEFAULT_wxUSE_ICO_CUR
=yes
1749 for toolkit
in `echo $ALL_TOOLKITS`; do
1750 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1751 if test "x$LINE" != "x" ; then
1752 has_toolkit_in_cache
=1
1753 eval "DEFAULT_$LINE"
1754 eval "CACHE_$toolkit=1"
1760 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1761 echo "configure:1762: checking for --enable-gui" >&5
1763 # Check whether --enable-gui or --disable-gui was given.
1764 if test "${enable_gui+set}" = set; then
1765 enableval
="$enable_gui"
1767 if test "$enableval" = yes; then
1768 ac_cv_use_gui
='wxUSE_GUI=yes'
1770 ac_cv_use_gui
='wxUSE_GUI=no'
1775 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1776 if test "x$LINE" != x
; then
1777 eval "DEFAULT_$LINE"
1782 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1787 eval "$ac_cv_use_gui"
1788 if test "$no_cache" != 1; then
1789 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1792 if test "$wxUSE_GUI" = yes; then
1793 echo "$ac_t""yes" 1>&6
1795 echo "$ac_t""no" 1>&6
1799 if test "$wxUSE_GUI" = "yes"; then
1802 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1803 echo "configure:1804: checking for --enable-universal" >&5
1805 # Check whether --enable-universal or --disable-universal was given.
1806 if test "${enable_universal+set}" = set; then
1807 enableval
="$enable_universal"
1809 if test "$enableval" = yes; then
1810 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1812 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1817 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1818 if test "x$LINE" != x
; then
1819 eval "DEFAULT_$LINE"
1824 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1829 eval "$ac_cv_use_universal"
1830 if test "$no_cache" != 1; then
1831 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1834 if test "$wxUSE_UNIVERSAL" = yes; then
1835 echo "$ac_t""yes" 1>&6
1837 echo "$ac_t""no" 1>&6
1840 # Check whether --with-gtk or --without-gtk was given.
1841 if test "${with_gtk+set}" = set; then
1843 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1846 # Check whether --with-motif or --without-motif was given.
1847 if test "${with_motif+set}" = set; then
1848 withval
="$with_motif"
1849 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1852 # Check whether --with-mac or --without-mac was given.
1853 if test "${with_mac+set}" = set; then
1855 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1858 # Check whether --with-wine or --without-wine was given.
1859 if test "${with_wine+set}" = set; then
1860 withval
="$with_wine"
1861 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1864 # Check whether --with-msw or --without-msw was given.
1865 if test "${with_msw+set}" = set; then
1867 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1870 # Check whether --with-pm or --without-pm was given.
1871 if test "${with_pm+set}" = set; then
1873 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1876 # Check whether --with-mgl or --without-mgl was given.
1877 if test "${with_mgl+set}" = set; then
1879 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1882 # Check whether --with-microwin or --without-microwin was given.
1883 if test "${with_microwin+set}" = set; then
1884 withval
="$with_microwin"
1885 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1888 # Check whether --with-x11 or --without-x11 was given.
1889 if test "${with_x11+set}" = set; then
1891 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1895 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1896 echo "configure:1897: checking for --enable-nanox" >&5
1898 # Check whether --enable-nanox or --disable-nanox was given.
1899 if test "${enable_nanox+set}" = set; then
1900 enableval
="$enable_nanox"
1902 if test "$enableval" = yes; then
1903 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1905 ac_cv_use_nanox
='wxUSE_NANOX=no'
1910 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1911 if test "x$LINE" != x
; then
1912 eval "DEFAULT_$LINE"
1917 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1922 eval "$ac_cv_use_nanox"
1923 if test "$no_cache" != 1; then
1924 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1927 if test "$wxUSE_NANOX" = yes; then
1928 echo "$ac_t""yes" 1>&6
1930 echo "$ac_t""no" 1>&6
1935 echo $ac_n "checking for --enable-gtk2""... $ac_c" 1>&6
1936 echo "configure:1937: checking for --enable-gtk2" >&5
1938 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1939 if test "${enable_gtk2+set}" = set; then
1940 enableval
="$enable_gtk2"
1942 if test "$enableval" = yes; then
1943 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1945 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1950 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1951 if test "x$LINE" != x
; then
1952 eval "DEFAULT_$LINE"
1957 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1962 eval "$ac_cv_use_gtk2"
1963 if test "$no_cache" != 1; then
1964 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1967 if test "$wxUSE_GTK2" = yes; then
1968 echo "$ac_t""yes" 1>&6
1970 echo "$ac_t""no" 1>&6
1975 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1976 echo "configure:1977: checking for --with-libpng" >&5
1978 # Check whether --with-libpng or --without-libpng was given.
1979 if test "${with_libpng+set}" = set; then
1980 withval
="$with_libpng"
1982 if test "$withval" = yes; then
1983 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1984 elif test "$withval" = no
; then
1985 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1986 elif test "$withval" = sys
; then
1987 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1988 elif test "$withval" = builtin; then
1989 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1991 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1996 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1997 if test "x$LINE" != x
; then
1998 eval "DEFAULT_$LINE"
2003 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2008 eval "$ac_cv_use_libpng"
2009 if test "$no_cache" != 1; then
2010 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2013 if test "$wxUSE_LIBPNG" = yes; then
2014 echo "$ac_t""yes" 1>&6
2015 elif test "$wxUSE_LIBPNG" = no
; then
2016 echo "$ac_t""no" 1>&6
2017 elif test "$wxUSE_LIBPNG" = sys
; then
2018 echo "$ac_t""system version" 1>&6
2019 elif test "$wxUSE_LIBPNG" = builtin; then
2020 echo "$ac_t""builtin version" 1>&6
2022 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2026 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2027 echo "configure:2028: checking for --with-libjpeg" >&5
2029 # Check whether --with-libjpeg or --without-libjpeg was given.
2030 if test "${with_libjpeg+set}" = set; then
2031 withval
="$with_libjpeg"
2033 if test "$withval" = yes; then
2034 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2035 elif test "$withval" = no
; then
2036 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2037 elif test "$withval" = sys
; then
2038 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2039 elif test "$withval" = builtin; then
2040 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2042 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2047 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2048 if test "x$LINE" != x
; then
2049 eval "DEFAULT_$LINE"
2054 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2059 eval "$ac_cv_use_libjpeg"
2060 if test "$no_cache" != 1; then
2061 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2064 if test "$wxUSE_LIBJPEG" = yes; then
2065 echo "$ac_t""yes" 1>&6
2066 elif test "$wxUSE_LIBJPEG" = no
; then
2067 echo "$ac_t""no" 1>&6
2068 elif test "$wxUSE_LIBJPEG" = sys
; then
2069 echo "$ac_t""system version" 1>&6
2070 elif test "$wxUSE_LIBJPEG" = builtin; then
2071 echo "$ac_t""builtin version" 1>&6
2073 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2077 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2078 echo "configure:2079: checking for --with-libtiff" >&5
2080 # Check whether --with-libtiff or --without-libtiff was given.
2081 if test "${with_libtiff+set}" = set; then
2082 withval
="$with_libtiff"
2084 if test "$withval" = yes; then
2085 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2086 elif test "$withval" = no
; then
2087 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2088 elif test "$withval" = sys
; then
2089 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2090 elif test "$withval" = builtin; then
2091 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2093 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2098 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2099 if test "x$LINE" != x
; then
2100 eval "DEFAULT_$LINE"
2105 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2110 eval "$ac_cv_use_libtiff"
2111 if test "$no_cache" != 1; then
2112 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2115 if test "$wxUSE_LIBTIFF" = yes; then
2116 echo "$ac_t""yes" 1>&6
2117 elif test "$wxUSE_LIBTIFF" = no
; then
2118 echo "$ac_t""no" 1>&6
2119 elif test "$wxUSE_LIBTIFF" = sys
; then
2120 echo "$ac_t""system version" 1>&6
2121 elif test "$wxUSE_LIBTIFF" = builtin; then
2122 echo "$ac_t""builtin version" 1>&6
2124 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2128 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2129 echo "configure:2130: checking for --with-opengl" >&5
2131 # Check whether --with-opengl or --without-opengl was given.
2132 if test "${with_opengl+set}" = set; then
2133 withval
="$with_opengl"
2135 if test "$withval" = yes; then
2136 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2138 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2143 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2144 if test "x$LINE" != x
; then
2145 eval "DEFAULT_$LINE"
2150 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2155 eval "$ac_cv_use_opengl"
2156 if test "$no_cache" != 1; then
2157 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2160 if test "$wxUSE_OPENGL" = yes; then
2161 echo "$ac_t""yes" 1>&6
2163 echo "$ac_t""no" 1>&6
2170 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2171 echo "configure:2172: checking for --with-dmalloc" >&5
2173 # Check whether --with-dmalloc or --without-dmalloc was given.
2174 if test "${with_dmalloc+set}" = set; then
2175 withval
="$with_dmalloc"
2177 if test "$withval" = yes; then
2178 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2180 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2185 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2186 if test "x$LINE" != x
; then
2187 eval "DEFAULT_$LINE"
2192 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2197 eval "$ac_cv_use_dmalloc"
2198 if test "$no_cache" != 1; then
2199 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2202 if test "$wxUSE_DMALLOC" = yes; then
2203 echo "$ac_t""yes" 1>&6
2205 echo "$ac_t""no" 1>&6
2209 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2210 echo "configure:2211: checking for --with-regex" >&5
2212 # Check whether --with-regex or --without-regex was given.
2213 if test "${with_regex+set}" = set; then
2214 withval
="$with_regex"
2216 if test "$withval" = yes; then
2217 ac_cv_use_regex
='wxUSE_REGEX=yes'
2218 elif test "$withval" = no
; then
2219 ac_cv_use_regex
='wxUSE_REGEX=no'
2220 elif test "$withval" = sys
; then
2221 ac_cv_use_regex
='wxUSE_REGEX=sys'
2222 elif test "$withval" = builtin; then
2223 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2225 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2230 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2231 if test "x$LINE" != x
; then
2232 eval "DEFAULT_$LINE"
2237 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2242 eval "$ac_cv_use_regex"
2243 if test "$no_cache" != 1; then
2244 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2247 if test "$wxUSE_REGEX" = yes; then
2248 echo "$ac_t""yes" 1>&6
2249 elif test "$wxUSE_REGEX" = no
; then
2250 echo "$ac_t""no" 1>&6
2251 elif test "$wxUSE_REGEX" = sys
; then
2252 echo "$ac_t""system version" 1>&6
2253 elif test "$wxUSE_REGEX" = builtin; then
2254 echo "$ac_t""builtin version" 1>&6
2256 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2260 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2261 echo "configure:2262: checking for --with-zlib" >&5
2263 # Check whether --with-zlib or --without-zlib was given.
2264 if test "${with_zlib+set}" = set; then
2265 withval
="$with_zlib"
2267 if test "$withval" = yes; then
2268 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2269 elif test "$withval" = no
; then
2270 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2271 elif test "$withval" = sys
; then
2272 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2273 elif test "$withval" = builtin; then
2274 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2276 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2281 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2282 if test "x$LINE" != x
; then
2283 eval "DEFAULT_$LINE"
2288 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2293 eval "$ac_cv_use_zlib"
2294 if test "$no_cache" != 1; then
2295 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2298 if test "$wxUSE_ZLIB" = yes; then
2299 echo "$ac_t""yes" 1>&6
2300 elif test "$wxUSE_ZLIB" = no
; then
2301 echo "$ac_t""no" 1>&6
2302 elif test "$wxUSE_ZLIB" = sys
; then
2303 echo "$ac_t""system version" 1>&6
2304 elif test "$wxUSE_ZLIB" = builtin; then
2305 echo "$ac_t""builtin version" 1>&6
2307 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2311 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2312 echo "configure:2313: checking for --with-odbc" >&5
2314 # Check whether --with-odbc or --without-odbc was given.
2315 if test "${with_odbc+set}" = set; then
2316 withval
="$with_odbc"
2318 if test "$withval" = yes; then
2319 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2321 ac_cv_use_odbc
='wxUSE_ODBC=no'
2326 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2327 if test "x$LINE" != x
; then
2328 eval "DEFAULT_$LINE"
2333 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2338 eval "$ac_cv_use_odbc"
2339 if test "$no_cache" != 1; then
2340 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2343 if test "$wxUSE_ODBC" = yes; then
2344 echo "$ac_t""yes" 1>&6
2346 echo "$ac_t""no" 1>&6
2352 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2353 echo "configure:2354: checking for --enable-shared" >&5
2355 # Check whether --enable-shared or --disable-shared was given.
2356 if test "${enable_shared+set}" = set; then
2357 enableval
="$enable_shared"
2359 if test "$enableval" = yes; then
2360 ac_cv_use_shared
='wxUSE_SHARED=yes'
2362 ac_cv_use_shared
='wxUSE_SHARED=no'
2367 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2368 if test "x$LINE" != x
; then
2369 eval "DEFAULT_$LINE"
2374 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2379 eval "$ac_cv_use_shared"
2380 if test "$no_cache" != 1; then
2381 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2384 if test "$wxUSE_SHARED" = yes; then
2385 echo "$ac_t""yes" 1>&6
2387 echo "$ac_t""no" 1>&6
2391 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2392 echo "configure:2393: checking for --enable-soname" >&5
2394 # Check whether --enable-soname or --disable-soname was given.
2395 if test "${enable_soname+set}" = set; then
2396 enableval
="$enable_soname"
2398 if test "$enableval" = yes; then
2399 ac_cv_use_soname
='wxUSE_SONAME=yes'
2401 ac_cv_use_soname
='wxUSE_SONAME=no'
2406 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2407 if test "x$LINE" != x
; then
2408 eval "DEFAULT_$LINE"
2413 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2418 eval "$ac_cv_use_soname"
2419 if test "$no_cache" != 1; then
2420 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2423 if test "$wxUSE_SONAME" = yes; then
2424 echo "$ac_t""yes" 1>&6
2426 echo "$ac_t""no" 1>&6
2430 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2431 echo "configure:2432: checking for --enable-optimise" >&5
2433 # Check whether --enable-optimise or --disable-optimise was given.
2434 if test "${enable_optimise+set}" = set; then
2435 enableval
="$enable_optimise"
2437 if test "$enableval" = yes; then
2438 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2440 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2445 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2446 if test "x$LINE" != x
; then
2447 eval "DEFAULT_$LINE"
2452 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2457 eval "$ac_cv_use_optimise"
2458 if test "$no_cache" != 1; then
2459 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2462 if test "$wxUSE_OPTIMISE" = yes; then
2463 echo "$ac_t""yes" 1>&6
2465 echo "$ac_t""no" 1>&6
2469 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2470 echo "configure:2471: checking for --enable-debug" >&5
2472 # Check whether --enable-debug or --disable-debug was given.
2473 if test "${enable_debug+set}" = set; then
2474 enableval
="$enable_debug"
2476 if test "$enableval" = yes; then
2477 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2479 ac_cv_use_debug
='wxUSE_DEBUG=no'
2484 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2485 if test "x$LINE" != x
; then
2486 eval "DEFAULT_$LINE"
2491 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2496 eval "$ac_cv_use_debug"
2497 if test "$no_cache" != 1; then
2498 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2501 if test "$wxUSE_DEBUG" = yes; then
2502 echo "$ac_t""yes" 1>&6
2504 echo "$ac_t""no" 1>&6
2509 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2510 echo "configure:2511: checking for --enable-precomp" >&5
2512 # Check whether --enable-precomp or --disable-precomp was given.
2513 if test "${enable_precomp+set}" = set; then
2514 enableval
="$enable_precomp"
2516 if test "$enableval" = yes; then
2517 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2519 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2524 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2525 if test "x$LINE" != x
; then
2526 eval "DEFAULT_$LINE"
2531 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2536 eval "$ac_cv_use_precomp"
2537 if test "$no_cache" != 1; then
2538 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2541 if test "$wxUSE_PRECOMP" = yes; then
2542 echo "$ac_t""yes" 1>&6
2544 echo "$ac_t""no" 1>&6
2548 if test "$wxUSE_DEBUG" = "yes"; then
2549 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2550 DEFAULT_wxUSE_DEBUG_INFO
=yes
2551 elif test "$wxUSE_DEBUG" = "no"; then
2552 DEFAULT_wxUSE_DEBUG_FLAG
=no
2553 DEFAULT_wxUSE_DEBUG_INFO
=no
2557 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2558 echo "configure:2559: checking for --enable-debug_flag" >&5
2560 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2561 if test "${enable_debug_flag+set}" = set; then
2562 enableval
="$enable_debug_flag"
2564 if test "$enableval" = yes; then
2565 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2567 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2572 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2573 if test "x$LINE" != x
; then
2574 eval "DEFAULT_$LINE"
2579 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2584 eval "$ac_cv_use_debug_flag"
2585 if test "$no_cache" != 1; then
2586 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2589 if test "$wxUSE_DEBUG_FLAG" = yes; then
2590 echo "$ac_t""yes" 1>&6
2592 echo "$ac_t""no" 1>&6
2596 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2597 echo "configure:2598: checking for --enable-debug_info" >&5
2599 # Check whether --enable-debug_info or --disable-debug_info was given.
2600 if test "${enable_debug_info+set}" = set; then
2601 enableval
="$enable_debug_info"
2603 if test "$enableval" = yes; then
2604 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2606 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2611 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2612 if test "x$LINE" != x
; then
2613 eval "DEFAULT_$LINE"
2618 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2623 eval "$ac_cv_use_debug_info"
2624 if test "$no_cache" != 1; then
2625 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2628 if test "$wxUSE_DEBUG_INFO" = yes; then
2629 echo "$ac_t""yes" 1>&6
2631 echo "$ac_t""no" 1>&6
2635 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2636 echo "configure:2637: checking for --enable-debug_gdb" >&5
2638 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2639 if test "${enable_debug_gdb+set}" = set; then
2640 enableval
="$enable_debug_gdb"
2642 if test "$enableval" = yes; then
2643 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2645 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2650 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2651 if test "x$LINE" != x
; then
2652 eval "DEFAULT_$LINE"
2657 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2662 eval "$ac_cv_use_debug_gdb"
2663 if test "$no_cache" != 1; then
2664 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2667 if test "$wxUSE_DEBUG_GDB" = yes; then
2668 echo "$ac_t""yes" 1>&6
2670 echo "$ac_t""no" 1>&6
2674 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2675 echo "configure:2676: checking for --enable-debug_cntxt" >&5
2677 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2678 if test "${enable_debug_cntxt+set}" = set; then
2679 enableval
="$enable_debug_cntxt"
2681 if test "$enableval" = yes; then
2682 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2684 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2689 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x
; then
2691 eval "DEFAULT_$LINE"
2696 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2701 eval "$ac_cv_use_debug_cntxt"
2702 if test "$no_cache" != 1; then
2703 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2706 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2707 echo "$ac_t""yes" 1>&6
2709 echo "$ac_t""no" 1>&6
2713 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2714 echo "configure:2715: checking for --enable-mem_tracing" >&5
2716 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2717 if test "${enable_mem_tracing+set}" = set; then
2718 enableval
="$enable_mem_tracing"
2720 if test "$enableval" = yes; then
2721 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2723 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2728 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2729 if test "x$LINE" != x
; then
2730 eval "DEFAULT_$LINE"
2735 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2740 eval "$ac_cv_use_mem_tracing"
2741 if test "$no_cache" != 1; then
2742 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2745 if test "$wxUSE_MEM_TRACING" = yes; then
2746 echo "$ac_t""yes" 1>&6
2748 echo "$ac_t""no" 1>&6
2752 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2753 echo "configure:2754: checking for --enable-profile" >&5
2755 # Check whether --enable-profile or --disable-profile was given.
2756 if test "${enable_profile+set}" = set; then
2757 enableval
="$enable_profile"
2759 if test "$enableval" = yes; then
2760 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2762 ac_cv_use_profile
='wxUSE_PROFILE=no'
2767 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2768 if test "x$LINE" != x
; then
2769 eval "DEFAULT_$LINE"
2774 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2779 eval "$ac_cv_use_profile"
2780 if test "$no_cache" != 1; then
2781 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2784 if test "$wxUSE_PROFILE" = yes; then
2785 echo "$ac_t""yes" 1>&6
2787 echo "$ac_t""no" 1>&6
2791 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2792 echo "configure:2793: checking for --enable-no_rtti" >&5
2794 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2795 if test "${enable_no_rtti+set}" = set; then
2796 enableval
="$enable_no_rtti"
2798 if test "$enableval" = yes; then
2799 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2801 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2806 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2807 if test "x$LINE" != x
; then
2808 eval "DEFAULT_$LINE"
2813 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2818 eval "$ac_cv_use_no_rtti"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2823 if test "$wxUSE_NO_RTTI" = yes; then
2824 echo "$ac_t""yes" 1>&6
2826 echo "$ac_t""no" 1>&6
2830 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2831 echo "configure:2832: checking for --enable-no_exceptions" >&5
2833 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2834 if test "${enable_no_exceptions+set}" = set; then
2835 enableval
="$enable_no_exceptions"
2837 if test "$enableval" = yes; then
2838 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2840 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2845 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2846 if test "x$LINE" != x
; then
2847 eval "DEFAULT_$LINE"
2852 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2857 eval "$ac_cv_use_no_exceptions"
2858 if test "$no_cache" != 1; then
2859 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2862 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2863 echo "$ac_t""yes" 1>&6
2865 echo "$ac_t""no" 1>&6
2869 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2870 echo "configure:2871: checking for --enable-permissive" >&5
2872 # Check whether --enable-permissive or --disable-permissive was given.
2873 if test "${enable_permissive+set}" = set; then
2874 enableval
="$enable_permissive"
2876 if test "$enableval" = yes; then
2877 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2879 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2884 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2885 if test "x$LINE" != x
; then
2886 eval "DEFAULT_$LINE"
2891 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2896 eval "$ac_cv_use_permissive"
2897 if test "$no_cache" != 1; then
2898 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2901 if test "$wxUSE_PERMISSIVE" = yes; then
2902 echo "$ac_t""yes" 1>&6
2904 echo "$ac_t""no" 1>&6
2908 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2909 echo "configure:2910: checking for --enable-no_deps" >&5
2911 # Check whether --enable-no_deps or --disable-no_deps was given.
2912 if test "${enable_no_deps+set}" = set; then
2913 enableval
="$enable_no_deps"
2915 if test "$enableval" = yes; then
2916 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2918 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2923 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2924 if test "x$LINE" != x
; then
2925 eval "DEFAULT_$LINE"
2930 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2935 eval "$ac_cv_use_no_deps"
2936 if test "$no_cache" != 1; then
2937 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2940 if test "$wxUSE_NO_DEPS" = yes; then
2941 echo "$ac_t""yes" 1>&6
2943 echo "$ac_t""no" 1>&6
2948 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2949 echo "configure:2950: checking for --enable-compat20" >&5
2951 # Check whether --enable-compat20 or --disable-compat20 was given.
2952 if test "${enable_compat20+set}" = set; then
2953 enableval
="$enable_compat20"
2955 if test "$enableval" = yes; then
2956 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2958 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2963 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2964 if test "x$LINE" != x
; then
2965 eval "DEFAULT_$LINE"
2970 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2975 eval "$ac_cv_use_compat20"
2976 if test "$no_cache" != 1; then
2977 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2980 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2981 echo "$ac_t""yes" 1>&6
2983 echo "$ac_t""no" 1>&6
2987 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2988 echo "configure:2989: checking for --enable-compat22" >&5
2990 # Check whether --enable-compat22 or --disable-compat22 was given.
2991 if test "${enable_compat22+set}" = set; then
2992 enableval
="$enable_compat22"
2994 if test "$enableval" = yes; then
2995 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2997 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3002 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3003 if test "x$LINE" != x
; then
3004 eval "DEFAULT_$LINE"
3009 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3014 eval "$ac_cv_use_compat22"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3019 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3020 echo "$ac_t""yes" 1>&6
3022 echo "$ac_t""no" 1>&6
3026 # Check whether --enable-rpath or --disable-rpath was given.
3027 if test "${enable_rpath+set}" = set; then
3028 enableval
="$enable_rpath"
3029 wxRPATH_DIR
="$enableval"
3033 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3034 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3040 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3041 echo "configure:3042: checking for --enable-intl" >&5
3043 # Check whether --enable-intl or --disable-intl was given.
3044 if test "${enable_intl+set}" = set; then
3045 enableval
="$enable_intl"
3047 if test "$enableval" = yes; then
3048 ac_cv_use_intl
='wxUSE_INTL=yes'
3050 ac_cv_use_intl
='wxUSE_INTL=no'
3055 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x
; then
3057 eval "DEFAULT_$LINE"
3062 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3067 eval "$ac_cv_use_intl"
3068 if test "$no_cache" != 1; then
3069 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3072 if test "$wxUSE_INTL" = yes; then
3073 echo "$ac_t""yes" 1>&6
3075 echo "$ac_t""no" 1>&6
3079 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3080 echo "configure:3081: checking for --enable-config" >&5
3082 # Check whether --enable-config or --disable-config was given.
3083 if test "${enable_config+set}" = set; then
3084 enableval
="$enable_config"
3086 if test "$enableval" = yes; then
3087 ac_cv_use_config
='wxUSE_CONFIG=yes'
3089 ac_cv_use_config
='wxUSE_CONFIG=no'
3094 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3095 if test "x$LINE" != x
; then
3096 eval "DEFAULT_$LINE"
3101 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3106 eval "$ac_cv_use_config"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3111 if test "$wxUSE_CONFIG" = yes; then
3112 echo "$ac_t""yes" 1>&6
3114 echo "$ac_t""no" 1>&6
3119 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3120 echo "configure:3121: checking for --enable-protocols" >&5
3122 # Check whether --enable-protocols or --disable-protocols was given.
3123 if test "${enable_protocols+set}" = set; then
3124 enableval
="$enable_protocols"
3126 if test "$enableval" = yes; then
3127 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3129 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3134 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3135 if test "x$LINE" != x
; then
3136 eval "DEFAULT_$LINE"
3141 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3146 eval "$ac_cv_use_protocols"
3147 if test "$no_cache" != 1; then
3148 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3151 if test "$wxUSE_PROTOCOL" = yes; then
3152 echo "$ac_t""yes" 1>&6
3154 echo "$ac_t""no" 1>&6
3158 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3159 echo "configure:3160: checking for --enable-ftp" >&5
3161 # Check whether --enable-ftp or --disable-ftp was given.
3162 if test "${enable_ftp+set}" = set; then
3163 enableval
="$enable_ftp"
3165 if test "$enableval" = yes; then
3166 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3168 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3173 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3185 eval "$ac_cv_use_ftp"
3186 if test "$no_cache" != 1; then
3187 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3190 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3191 echo "$ac_t""yes" 1>&6
3193 echo "$ac_t""no" 1>&6
3197 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3198 echo "configure:3199: checking for --enable-http" >&5
3200 # Check whether --enable-http or --disable-http was given.
3201 if test "${enable_http+set}" = set; then
3202 enableval
="$enable_http"
3204 if test "$enableval" = yes; then
3205 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3207 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3212 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x
; then
3214 eval "DEFAULT_$LINE"
3219 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3224 eval "$ac_cv_use_http"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3229 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3230 echo "$ac_t""yes" 1>&6
3232 echo "$ac_t""no" 1>&6
3236 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3237 echo "configure:3238: checking for --enable-fileproto" >&5
3239 # Check whether --enable-fileproto or --disable-fileproto was given.
3240 if test "${enable_fileproto+set}" = set; then
3241 enableval
="$enable_fileproto"
3243 if test "$enableval" = yes; then
3244 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3246 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3251 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x
; then
3253 eval "DEFAULT_$LINE"
3258 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3263 eval "$ac_cv_use_fileproto"
3264 if test "$no_cache" != 1; then
3265 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3268 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3269 echo "$ac_t""yes" 1>&6
3271 echo "$ac_t""no" 1>&6
3275 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3276 echo "configure:3277: checking for --enable-sockets" >&5
3278 # Check whether --enable-sockets or --disable-sockets was given.
3279 if test "${enable_sockets+set}" = set; then
3280 enableval
="$enable_sockets"
3282 if test "$enableval" = yes; then
3283 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3285 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3290 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x
; then
3292 eval "DEFAULT_$LINE"
3297 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3302 eval "$ac_cv_use_sockets"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_SOCKETS" = yes; then
3308 echo "$ac_t""yes" 1>&6
3310 echo "$ac_t""no" 1>&6
3314 echo $ac_n "checking for --enable-ole""... $ac_c" 1>&6
3315 echo "configure:3316: checking for --enable-ole" >&5
3317 # Check whether --enable-ole or --disable-ole was given.
3318 if test "${enable_ole+set}" = set; then
3319 enableval
="$enable_ole"
3321 if test "$enableval" = yes; then
3322 ac_cv_use_ole
='wxUSE_OLE=yes'
3324 ac_cv_use_ole
='wxUSE_OLE=no'
3329 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3330 if test "x$LINE" != x
; then
3331 eval "DEFAULT_$LINE"
3336 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3341 eval "$ac_cv_use_ole"
3342 if test "$no_cache" != 1; then
3343 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3346 if test "$wxUSE_OLE" = yes; then
3347 echo "$ac_t""yes" 1>&6
3349 echo "$ac_t""no" 1>&6
3353 echo $ac_n "checking for --enable-dataobj""... $ac_c" 1>&6
3354 echo "configure:3355: checking for --enable-dataobj" >&5
3356 # Check whether --enable-dataobj or --disable-dataobj was given.
3357 if test "${enable_dataobj+set}" = set; then
3358 enableval
="$enable_dataobj"
3360 if test "$enableval" = yes; then
3361 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3363 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3368 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x
; then
3370 eval "DEFAULT_$LINE"
3375 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3380 eval "$ac_cv_use_dataobj"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3385 if test "$wxUSE_DATAOBJ" = yes; then
3386 echo "$ac_t""yes" 1>&6
3388 echo "$ac_t""no" 1>&6
3393 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3394 echo "configure:3395: checking for --enable-ipc" >&5
3396 # Check whether --enable-ipc or --disable-ipc was given.
3397 if test "${enable_ipc+set}" = set; then
3398 enableval
="$enable_ipc"
3400 if test "$enableval" = yes; then
3401 ac_cv_use_ipc
='wxUSE_IPC=yes'
3403 ac_cv_use_ipc
='wxUSE_IPC=no'
3408 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x
; then
3410 eval "DEFAULT_$LINE"
3415 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3420 eval "$ac_cv_use_ipc"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3425 if test "$wxUSE_IPC" = yes; then
3426 echo "$ac_t""yes" 1>&6
3428 echo "$ac_t""no" 1>&6
3433 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3434 echo "configure:3435: checking for --enable-cmdline" >&5
3436 # Check whether --enable-cmdline or --disable-cmdline was given.
3437 if test "${enable_cmdline+set}" = set; then
3438 enableval
="$enable_cmdline"
3440 if test "$enableval" = yes; then
3441 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3443 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3448 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x
; then
3450 eval "DEFAULT_$LINE"
3455 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3460 eval "$ac_cv_use_cmdline"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3465 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3466 echo "$ac_t""yes" 1>&6
3468 echo "$ac_t""no" 1>&6
3472 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3473 echo "configure:3474: checking for --enable-datetime" >&5
3475 # Check whether --enable-datetime or --disable-datetime was given.
3476 if test "${enable_datetime+set}" = set; then
3477 enableval
="$enable_datetime"
3479 if test "$enableval" = yes; then
3480 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3482 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3487 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x
; then
3489 eval "DEFAULT_$LINE"
3494 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3499 eval "$ac_cv_use_datetime"
3500 if test "$no_cache" != 1; then
3501 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3504 if test "$wxUSE_DATETIME" = yes; then
3505 echo "$ac_t""yes" 1>&6
3507 echo "$ac_t""no" 1>&6
3511 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3512 echo "configure:3513: checking for --enable-timedate" >&5
3514 # Check whether --enable-timedate or --disable-timedate was given.
3515 if test "${enable_timedate+set}" = set; then
3516 enableval
="$enable_timedate"
3518 if test "$enableval" = yes; then
3519 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3521 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3526 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x
; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3538 eval "$ac_cv_use_timedate"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3543 if test "$wxUSE_TIMEDATE" = yes; then
3544 echo "$ac_t""yes" 1>&6
3546 echo "$ac_t""no" 1>&6
3550 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3551 echo "configure:3552: checking for --enable-stopwatch" >&5
3553 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3554 if test "${enable_stopwatch+set}" = set; then
3555 enableval
="$enable_stopwatch"
3557 if test "$enableval" = yes; then
3558 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3560 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3565 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x
; then
3567 eval "DEFAULT_$LINE"
3572 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3577 eval "$ac_cv_use_stopwatch"
3578 if test "$no_cache" != 1; then
3579 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3582 if test "$wxUSE_STOPWATCH" = yes; then
3583 echo "$ac_t""yes" 1>&6
3585 echo "$ac_t""no" 1>&6
3589 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3590 echo "configure:3591: checking for --enable-dialupman" >&5
3592 # Check whether --enable-dialupman or --disable-dialupman was given.
3593 if test "${enable_dialupman+set}" = set; then
3594 enableval
="$enable_dialupman"
3596 if test "$enableval" = yes; then
3597 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3599 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3604 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x
; then
3606 eval "DEFAULT_$LINE"
3611 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3616 eval "$ac_cv_use_dialupman"
3617 if test "$no_cache" != 1; then
3618 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3621 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3622 echo "$ac_t""yes" 1>&6
3624 echo "$ac_t""no" 1>&6
3628 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3629 echo "configure:3630: checking for --enable-apple_ieee" >&5
3631 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3632 if test "${enable_apple_ieee+set}" = set; then
3633 enableval
="$enable_apple_ieee"
3635 if test "$enableval" = yes; then
3636 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3638 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3643 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x
; then
3645 eval "DEFAULT_$LINE"
3650 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3655 eval "$ac_cv_use_apple_ieee"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_APPLE_IEEE" = yes; then
3661 echo "$ac_t""yes" 1>&6
3663 echo "$ac_t""no" 1>&6
3667 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3668 echo "configure:3669: checking for --enable-timer" >&5
3670 # Check whether --enable-timer or --disable-timer was given.
3671 if test "${enable_timer+set}" = set; then
3672 enableval
="$enable_timer"
3674 if test "$enableval" = yes; then
3675 ac_cv_use_timer
='wxUSE_TIMER=yes'
3677 ac_cv_use_timer
='wxUSE_TIMER=no'
3682 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x
; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3694 eval "$ac_cv_use_timer"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_TIMER" = yes; then
3700 echo "$ac_t""yes" 1>&6
3702 echo "$ac_t""no" 1>&6
3706 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3707 echo "configure:3708: checking for --enable-wave" >&5
3709 # Check whether --enable-wave or --disable-wave was given.
3710 if test "${enable_wave+set}" = set; then
3711 enableval
="$enable_wave"
3713 if test "$enableval" = yes; then
3714 ac_cv_use_wave
='wxUSE_WAVE=yes'
3716 ac_cv_use_wave
='wxUSE_WAVE=no'
3721 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x
; then
3723 eval "DEFAULT_$LINE"
3728 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3733 eval "$ac_cv_use_wave"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_WAVE" = yes; then
3739 echo "$ac_t""yes" 1>&6
3741 echo "$ac_t""no" 1>&6
3745 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3746 echo "configure:3747: checking for --enable-fraction" >&5
3748 # Check whether --enable-fraction or --disable-fraction was given.
3749 if test "${enable_fraction+set}" = set; then
3750 enableval
="$enable_fraction"
3752 if test "$enableval" = yes; then
3753 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3755 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3760 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x
; then
3762 eval "DEFAULT_$LINE"
3767 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3772 eval "$ac_cv_use_fraction"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3777 if test "$wxUSE_FRACTION" = yes; then
3778 echo "$ac_t""yes" 1>&6
3780 echo "$ac_t""no" 1>&6
3784 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3785 echo "configure:3786: checking for --enable-dynlib" >&5
3787 # Check whether --enable-dynlib or --disable-dynlib was given.
3788 if test "${enable_dynlib+set}" = set; then
3789 enableval
="$enable_dynlib"
3791 if test "$enableval" = yes; then
3792 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3794 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3799 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3800 if test "x$LINE" != x
; then
3801 eval "DEFAULT_$LINE"
3806 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3811 eval "$ac_cv_use_dynlib"
3812 if test "$no_cache" != 1; then
3813 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3816 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3817 echo "$ac_t""yes" 1>&6
3819 echo "$ac_t""no" 1>&6
3823 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3824 echo "configure:3825: checking for --enable-dynamicloader" >&5
3826 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3827 if test "${enable_dynamicloader+set}" = set; then
3828 enableval
="$enable_dynamicloader"
3830 if test "$enableval" = yes; then
3831 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3833 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3838 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x
; then
3840 eval "DEFAULT_$LINE"
3845 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3850 eval "$ac_cv_use_dynamicloader"
3851 if test "$no_cache" != 1; then
3852 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3855 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3856 echo "$ac_t""yes" 1>&6
3858 echo "$ac_t""no" 1>&6
3862 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3863 echo "configure:3864: checking for --enable-longlong" >&5
3865 # Check whether --enable-longlong or --disable-longlong was given.
3866 if test "${enable_longlong+set}" = set; then
3867 enableval
="$enable_longlong"
3869 if test "$enableval" = yes; then
3870 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3872 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3877 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x
; then
3879 eval "DEFAULT_$LINE"
3884 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3889 eval "$ac_cv_use_longlong"
3890 if test "$no_cache" != 1; then
3891 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3894 if test "$wxUSE_LONGLONG" = yes; then
3895 echo "$ac_t""yes" 1>&6
3897 echo "$ac_t""no" 1>&6
3901 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3902 echo "configure:3903: checking for --enable-geometry" >&5
3904 # Check whether --enable-geometry or --disable-geometry was given.
3905 if test "${enable_geometry+set}" = set; then
3906 enableval
="$enable_geometry"
3908 if test "$enableval" = yes; then
3909 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3911 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3916 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3917 if test "x$LINE" != x
; then
3918 eval "DEFAULT_$LINE"
3923 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3928 eval "$ac_cv_use_geometry"
3929 if test "$no_cache" != 1; then
3930 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3933 if test "$wxUSE_GEOMETRY" = yes; then
3934 echo "$ac_t""yes" 1>&6
3936 echo "$ac_t""no" 1>&6
3940 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3941 echo "configure:3942: checking for --enable-log" >&5
3943 # Check whether --enable-log or --disable-log was given.
3944 if test "${enable_log+set}" = set; then
3945 enableval
="$enable_log"
3947 if test "$enableval" = yes; then
3948 ac_cv_use_log
='wxUSE_LOG=yes'
3950 ac_cv_use_log
='wxUSE_LOG=no'
3955 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x
; then
3957 eval "DEFAULT_$LINE"
3962 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3967 eval "$ac_cv_use_log"
3968 if test "$no_cache" != 1; then
3969 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3972 if test "$wxUSE_LOG" = yes; then
3973 echo "$ac_t""yes" 1>&6
3975 echo "$ac_t""no" 1>&6
3979 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3980 echo "configure:3981: checking for --enable-streams" >&5
3982 # Check whether --enable-streams or --disable-streams was given.
3983 if test "${enable_streams+set}" = set; then
3984 enableval
="$enable_streams"
3986 if test "$enableval" = yes; then
3987 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3989 ac_cv_use_streams
='wxUSE_STREAMS=no'
3994 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3995 if test "x$LINE" != x
; then
3996 eval "DEFAULT_$LINE"
4001 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4006 eval "$ac_cv_use_streams"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4011 if test "$wxUSE_STREAMS" = yes; then
4012 echo "$ac_t""yes" 1>&6
4014 echo "$ac_t""no" 1>&6
4018 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
4019 echo "configure:4020: checking for --enable-file" >&5
4021 # Check whether --enable-file or --disable-file was given.
4022 if test "${enable_file+set}" = set; then
4023 enableval
="$enable_file"
4025 if test "$enableval" = yes; then
4026 ac_cv_use_file
='wxUSE_FILE=yes'
4028 ac_cv_use_file
='wxUSE_FILE=no'
4033 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x
; then
4035 eval "DEFAULT_$LINE"
4040 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4045 eval "$ac_cv_use_file"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4050 if test "$wxUSE_FILE" = yes; then
4051 echo "$ac_t""yes" 1>&6
4053 echo "$ac_t""no" 1>&6
4057 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
4058 echo "configure:4059: checking for --enable-ffile" >&5
4060 # Check whether --enable-ffile or --disable-ffile was given.
4061 if test "${enable_ffile+set}" = set; then
4062 enableval
="$enable_ffile"
4064 if test "$enableval" = yes; then
4065 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4067 ac_cv_use_ffile
='wxUSE_FFILE=no'
4072 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4073 if test "x$LINE" != x
; then
4074 eval "DEFAULT_$LINE"
4079 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4084 eval "$ac_cv_use_ffile"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4089 if test "$wxUSE_FFILE" = yes; then
4090 echo "$ac_t""yes" 1>&6
4092 echo "$ac_t""no" 1>&6
4096 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4097 echo "configure:4098: checking for --enable-textbuf" >&5
4099 # Check whether --enable-textbuf or --disable-textbuf was given.
4100 if test "${enable_textbuf+set}" = set; then
4101 enableval
="$enable_textbuf"
4103 if test "$enableval" = yes; then
4104 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4106 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4111 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4112 if test "x$LINE" != x
; then
4113 eval "DEFAULT_$LINE"
4118 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4123 eval "$ac_cv_use_textbuf"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4128 if test "$wxUSE_TEXTBUFFER" = yes; then
4129 echo "$ac_t""yes" 1>&6
4131 echo "$ac_t""no" 1>&6
4135 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4136 echo "configure:4137: checking for --enable-textfile" >&5
4138 # Check whether --enable-textfile or --disable-textfile was given.
4139 if test "${enable_textfile+set}" = set; then
4140 enableval
="$enable_textfile"
4142 if test "$enableval" = yes; then
4143 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4145 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4150 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x
; then
4152 eval "DEFAULT_$LINE"
4157 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4162 eval "$ac_cv_use_textfile"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4167 if test "$wxUSE_TEXTFILE" = yes; then
4168 echo "$ac_t""yes" 1>&6
4170 echo "$ac_t""no" 1>&6
4174 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4175 echo "configure:4176: checking for --enable-fontmap" >&5
4177 # Check whether --enable-fontmap or --disable-fontmap was given.
4178 if test "${enable_fontmap+set}" = set; then
4179 enableval
="$enable_fontmap"
4181 if test "$enableval" = yes; then
4182 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4184 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4189 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4190 if test "x$LINE" != x
; then
4191 eval "DEFAULT_$LINE"
4196 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4201 eval "$ac_cv_use_fontmap"
4202 if test "$no_cache" != 1; then
4203 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4206 if test "$wxUSE_FONTMAP" = yes; then
4207 echo "$ac_t""yes" 1>&6
4209 echo "$ac_t""no" 1>&6
4213 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4214 echo "configure:4215: checking for --enable-unicode" >&5
4216 # Check whether --enable-unicode or --disable-unicode was given.
4217 if test "${enable_unicode+set}" = set; then
4218 enableval
="$enable_unicode"
4220 if test "$enableval" = yes; then
4221 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4223 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4228 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x
; then
4230 eval "DEFAULT_$LINE"
4235 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4240 eval "$ac_cv_use_unicode"
4241 if test "$no_cache" != 1; then
4242 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4245 if test "$wxUSE_UNICODE" = yes; then
4246 echo "$ac_t""yes" 1>&6
4248 echo "$ac_t""no" 1>&6
4252 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4253 echo "configure:4254: checking for --enable-mslu" >&5
4255 # Check whether --enable-mslu or --disable-mslu was given.
4256 if test "${enable_mslu+set}" = set; then
4257 enableval
="$enable_mslu"
4259 if test "$enableval" = yes; then
4260 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4262 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4267 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4268 if test "x$LINE" != x
; then
4269 eval "DEFAULT_$LINE"
4274 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4279 eval "$ac_cv_use_mslu"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4284 if test "$wxUSE_UNICODE_MSLU" = yes; then
4285 echo "$ac_t""yes" 1>&6
4287 echo "$ac_t""no" 1>&6
4291 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4292 echo "configure:4293: checking for --enable-wxprintfv" >&5
4294 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4295 if test "${enable_wxprintfv+set}" = set; then
4296 enableval
="$enable_wxprintfv"
4298 if test "$enableval" = yes; then
4299 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4301 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4306 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x
; then
4308 eval "DEFAULT_$LINE"
4313 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4318 eval "$ac_cv_use_wxprintfv"
4319 if test "$no_cache" != 1; then
4320 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4323 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4324 echo "$ac_t""yes" 1>&6
4326 echo "$ac_t""no" 1>&6
4330 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4331 echo "configure:4332: checking for --enable-std_iostreams" >&5
4333 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4334 if test "${enable_std_iostreams+set}" = set; then
4335 enableval
="$enable_std_iostreams"
4337 if test "$enableval" = yes; then
4338 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4340 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4345 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x
; then
4347 eval "DEFAULT_$LINE"
4352 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4357 eval "$ac_cv_use_std_iostreams"
4358 if test "$no_cache" != 1; then
4359 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4362 if test "$wxUSE_STD_IOSTREAM" = yes; then
4363 echo "$ac_t""yes" 1>&6
4365 echo "$ac_t""no" 1>&6
4369 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4370 echo "configure:4371: checking for --enable-filesystem" >&5
4372 # Check whether --enable-filesystem or --disable-filesystem was given.
4373 if test "${enable_filesystem+set}" = set; then
4374 enableval
="$enable_filesystem"
4376 if test "$enableval" = yes; then
4377 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4379 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4384 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x
; then
4386 eval "DEFAULT_$LINE"
4391 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4396 eval "$ac_cv_use_filesystem"
4397 if test "$no_cache" != 1; then
4398 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4401 if test "$wxUSE_FILESYSTEM" = yes; then
4402 echo "$ac_t""yes" 1>&6
4404 echo "$ac_t""no" 1>&6
4408 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4409 echo "configure:4410: checking for --enable-fs_inet" >&5
4411 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4412 if test "${enable_fs_inet+set}" = set; then
4413 enableval
="$enable_fs_inet"
4415 if test "$enableval" = yes; then
4416 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4418 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4423 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x
; then
4425 eval "DEFAULT_$LINE"
4430 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4435 eval "$ac_cv_use_fs_inet"
4436 if test "$no_cache" != 1; then
4437 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4440 if test "$wxUSE_FS_INET" = yes; then
4441 echo "$ac_t""yes" 1>&6
4443 echo "$ac_t""no" 1>&6
4447 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4448 echo "configure:4449: checking for --enable-fs_zip" >&5
4450 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4451 if test "${enable_fs_zip+set}" = set; then
4452 enableval
="$enable_fs_zip"
4454 if test "$enableval" = yes; then
4455 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4457 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4462 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x
; then
4464 eval "DEFAULT_$LINE"
4469 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4474 eval "$ac_cv_use_fs_zip"
4475 if test "$no_cache" != 1; then
4476 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4479 if test "$wxUSE_FS_ZIP" = yes; then
4480 echo "$ac_t""yes" 1>&6
4482 echo "$ac_t""no" 1>&6
4486 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4487 echo "configure:4488: checking for --enable-zipstream" >&5
4489 # Check whether --enable-zipstream or --disable-zipstream was given.
4490 if test "${enable_zipstream+set}" = set; then
4491 enableval
="$enable_zipstream"
4493 if test "$enableval" = yes; then
4494 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4496 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4501 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x
; then
4503 eval "DEFAULT_$LINE"
4508 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4513 eval "$ac_cv_use_zipstream"
4514 if test "$no_cache" != 1; then
4515 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4518 if test "$wxUSE_ZIPSTREAM" = yes; then
4519 echo "$ac_t""yes" 1>&6
4521 echo "$ac_t""no" 1>&6
4526 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4527 echo "configure:4528: checking for --enable-catch_segvs" >&5
4529 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4530 if test "${enable_catch_segvs+set}" = set; then
4531 enableval
="$enable_catch_segvs"
4533 if test "$enableval" = yes; then
4534 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4536 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4541 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4542 if test "x$LINE" != x
; then
4543 eval "DEFAULT_$LINE"
4548 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4553 eval "$ac_cv_use_catch_segvs"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4558 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4559 echo "$ac_t""yes" 1>&6
4561 echo "$ac_t""no" 1>&6
4565 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4566 echo "configure:4567: checking for --enable-snglinst" >&5
4568 # Check whether --enable-snglinst or --disable-snglinst was given.
4569 if test "${enable_snglinst+set}" = set; then
4570 enableval
="$enable_snglinst"
4572 if test "$enableval" = yes; then
4573 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4575 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4580 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4581 if test "x$LINE" != x
; then
4582 eval "DEFAULT_$LINE"
4587 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4592 eval "$ac_cv_use_snglinst"
4593 if test "$no_cache" != 1; then
4594 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4597 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4598 echo "$ac_t""yes" 1>&6
4600 echo "$ac_t""no" 1>&6
4605 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4606 echo "configure:4607: checking for --enable-mimetype" >&5
4608 # Check whether --enable-mimetype or --disable-mimetype was given.
4609 if test "${enable_mimetype+set}" = set; then
4610 enableval
="$enable_mimetype"
4612 if test "$enableval" = yes; then
4613 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4615 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4620 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4621 if test "x$LINE" != x
; then
4622 eval "DEFAULT_$LINE"
4627 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4632 eval "$ac_cv_use_mimetype"
4633 if test "$no_cache" != 1; then
4634 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4637 if test "$wxUSE_MIMETYPE" = yes; then
4638 echo "$ac_t""yes" 1>&6
4640 echo "$ac_t""no" 1>&6
4644 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4645 echo "configure:4646: checking for --enable-system_options" >&5
4647 # Check whether --enable-system_options or --disable-system_options was given.
4648 if test "${enable_system_options+set}" = set; then
4649 enableval
="$enable_system_options"
4651 if test "$enableval" = yes; then
4652 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4654 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4659 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4660 if test "x$LINE" != x
; then
4661 eval "DEFAULT_$LINE"
4666 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4671 eval "$ac_cv_use_system_options"
4672 if test "$no_cache" != 1; then
4673 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4676 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4677 echo "$ac_t""yes" 1>&6
4679 echo "$ac_t""no" 1>&6
4684 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4685 echo "configure:4686: checking for --enable-url" >&5
4687 # Check whether --enable-url or --disable-url was given.
4688 if test "${enable_url+set}" = set; then
4689 enableval
="$enable_url"
4691 if test "$enableval" = yes; then
4692 ac_cv_use_url
='wxUSE_URL=yes'
4694 ac_cv_use_url
='wxUSE_URL=no'
4699 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4700 if test "x$LINE" != x
; then
4701 eval "DEFAULT_$LINE"
4706 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4711 eval "$ac_cv_use_url"
4712 if test "$no_cache" != 1; then
4713 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4716 if test "$wxUSE_URL" = yes; then
4717 echo "$ac_t""yes" 1>&6
4719 echo "$ac_t""no" 1>&6
4723 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4724 echo "configure:4725: checking for --enable-protocol" >&5
4726 # Check whether --enable-protocol or --disable-protocol was given.
4727 if test "${enable_protocol+set}" = set; then
4728 enableval
="$enable_protocol"
4730 if test "$enableval" = yes; then
4731 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4733 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4738 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x
; then
4740 eval "DEFAULT_$LINE"
4745 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4750 eval "$ac_cv_use_protocol"
4751 if test "$no_cache" != 1; then
4752 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4755 if test "$wxUSE_PROTOCOL" = yes; then
4756 echo "$ac_t""yes" 1>&6
4758 echo "$ac_t""no" 1>&6
4762 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4763 echo "configure:4764: checking for --enable-protocol_http" >&5
4765 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4766 if test "${enable_protocol_http+set}" = set; then
4767 enableval
="$enable_protocol_http"
4769 if test "$enableval" = yes; then
4770 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4772 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4777 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4778 if test "x$LINE" != x
; then
4779 eval "DEFAULT_$LINE"
4784 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4789 eval "$ac_cv_use_protocol_http"
4790 if test "$no_cache" != 1; then
4791 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4794 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4795 echo "$ac_t""yes" 1>&6
4797 echo "$ac_t""no" 1>&6
4801 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4802 echo "configure:4803: checking for --enable-protocol_ftp" >&5
4804 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4805 if test "${enable_protocol_ftp+set}" = set; then
4806 enableval
="$enable_protocol_ftp"
4808 if test "$enableval" = yes; then
4809 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4811 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4816 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x
; then
4818 eval "DEFAULT_$LINE"
4823 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4828 eval "$ac_cv_use_protocol_ftp"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4833 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4834 echo "$ac_t""yes" 1>&6
4836 echo "$ac_t""no" 1>&6
4840 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4841 echo "configure:4842: checking for --enable-protocol_file" >&5
4843 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4844 if test "${enable_protocol_file+set}" = set; then
4845 enableval
="$enable_protocol_file"
4847 if test "$enableval" = yes; then
4848 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4850 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4855 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4856 if test "x$LINE" != x
; then
4857 eval "DEFAULT_$LINE"
4862 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4867 eval "$ac_cv_use_protocol_file"
4868 if test "$no_cache" != 1; then
4869 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4872 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4873 echo "$ac_t""yes" 1>&6
4875 echo "$ac_t""no" 1>&6
4882 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4883 echo "configure:4884: checking for --enable-threads" >&5
4885 # Check whether --enable-threads or --disable-threads was given.
4886 if test "${enable_threads+set}" = set; then
4887 enableval
="$enable_threads"
4889 if test "$enableval" = yes; then
4890 ac_cv_use_threads
='wxUSE_THREADS=yes'
4892 ac_cv_use_threads
='wxUSE_THREADS=no'
4897 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x
; then
4899 eval "DEFAULT_$LINE"
4904 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4909 eval "$ac_cv_use_threads"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4914 if test "$wxUSE_THREADS" = yes; then
4915 echo "$ac_t""yes" 1>&6
4917 echo "$ac_t""no" 1>&6
4921 if test "$wxUSE_GUI" = "yes"; then
4925 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4926 echo "configure:4927: checking for --enable-docview" >&5
4928 # Check whether --enable-docview or --disable-docview was given.
4929 if test "${enable_docview+set}" = set; then
4930 enableval
="$enable_docview"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4935 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4940 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x
; then
4942 eval "DEFAULT_$LINE"
4947 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4952 eval "$ac_cv_use_docview"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4957 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4958 echo "$ac_t""yes" 1>&6
4960 echo "$ac_t""no" 1>&6
4964 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4965 echo "configure:4966: checking for --enable-help" >&5
4967 # Check whether --enable-help or --disable-help was given.
4968 if test "${enable_help+set}" = set; then
4969 enableval
="$enable_help"
4971 if test "$enableval" = yes; then
4972 ac_cv_use_help
='wxUSE_HELP=yes'
4974 ac_cv_use_help
='wxUSE_HELP=no'
4979 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4980 if test "x$LINE" != x
; then
4981 eval "DEFAULT_$LINE"
4986 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4991 eval "$ac_cv_use_help"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4996 if test "$wxUSE_HELP" = yes; then
4997 echo "$ac_t""yes" 1>&6
4999 echo "$ac_t""no" 1>&6
5003 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
5004 echo "configure:5005: checking for --enable-mshtmlhelp" >&5
5006 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5007 if test "${enable_mshtmlhelp+set}" = set; then
5008 enableval
="$enable_mshtmlhelp"
5010 if test "$enableval" = yes; then
5011 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5013 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5018 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5019 if test "x$LINE" != x
; then
5020 eval "DEFAULT_$LINE"
5025 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5030 eval "$ac_cv_use_mshtmlhelp"
5031 if test "$no_cache" != 1; then
5032 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5035 if test "$wxUSE_MS_HTML_HELP" = yes; then
5036 echo "$ac_t""yes" 1>&6
5038 echo "$ac_t""no" 1>&6
5042 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
5043 echo "configure:5044: checking for --enable-html" >&5
5045 # Check whether --enable-html or --disable-html was given.
5046 if test "${enable_html+set}" = set; then
5047 enableval
="$enable_html"
5049 if test "$enableval" = yes; then
5050 ac_cv_use_html
='wxUSE_HTML=yes'
5052 ac_cv_use_html
='wxUSE_HTML=no'
5057 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x
; then
5059 eval "DEFAULT_$LINE"
5064 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5069 eval "$ac_cv_use_html"
5070 if test "$no_cache" != 1; then
5071 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5074 if test "$wxUSE_HTML" = yes; then
5075 echo "$ac_t""yes" 1>&6
5077 echo "$ac_t""no" 1>&6
5081 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5082 echo "configure:5083: checking for --enable-htmlhelp" >&5
5084 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5085 if test "${enable_htmlhelp+set}" = set; then
5086 enableval
="$enable_htmlhelp"
5088 if test "$enableval" = yes; then
5089 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5091 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5096 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5097 if test "x$LINE" != x
; then
5098 eval "DEFAULT_$LINE"
5103 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5108 eval "$ac_cv_use_htmlhelp"
5109 if test "$no_cache" != 1; then
5110 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5113 if test "$wxUSE_WXHTML_HELP" = yes; then
5114 echo "$ac_t""yes" 1>&6
5116 echo "$ac_t""no" 1>&6
5120 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5121 echo "configure:5122: checking for --enable-constraints" >&5
5123 # Check whether --enable-constraints or --disable-constraints was given.
5124 if test "${enable_constraints+set}" = set; then
5125 enableval
="$enable_constraints"
5127 if test "$enableval" = yes; then
5128 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5130 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5135 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5136 if test "x$LINE" != x
; then
5137 eval "DEFAULT_$LINE"
5142 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5147 eval "$ac_cv_use_constraints"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_CONSTRAINTS" = yes; then
5153 echo "$ac_t""yes" 1>&6
5155 echo "$ac_t""no" 1>&6
5159 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5160 echo "configure:5161: checking for --enable-printarch" >&5
5162 # Check whether --enable-printarch or --disable-printarch was given.
5163 if test "${enable_printarch+set}" = set; then
5164 enableval
="$enable_printarch"
5166 if test "$enableval" = yes; then
5167 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5169 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5174 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x
; then
5176 eval "DEFAULT_$LINE"
5181 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5186 eval "$ac_cv_use_printarch"
5187 if test "$no_cache" != 1; then
5188 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5191 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5192 echo "$ac_t""yes" 1>&6
5194 echo "$ac_t""no" 1>&6
5198 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5199 echo "configure:5200: checking for --enable-mdi" >&5
5201 # Check whether --enable-mdi or --disable-mdi was given.
5202 if test "${enable_mdi+set}" = set; then
5203 enableval
="$enable_mdi"
5205 if test "$enableval" = yes; then
5206 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5208 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5213 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x
; then
5215 eval "DEFAULT_$LINE"
5220 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5225 eval "$ac_cv_use_mdi"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5230 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5231 echo "$ac_t""yes" 1>&6
5233 echo "$ac_t""no" 1>&6
5237 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5238 echo "configure:5239: checking for --enable-loggui" >&5
5240 # Check whether --enable-loggui or --disable-loggui was given.
5241 if test "${enable_loggui+set}" = set; then
5242 enableval
="$enable_loggui"
5244 if test "$enableval" = yes; then
5245 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5247 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5252 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5253 if test "x$LINE" != x
; then
5254 eval "DEFAULT_$LINE"
5259 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5264 eval "$ac_cv_use_loggui"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5269 if test "$wxUSE_LOGGUI" = yes; then
5270 echo "$ac_t""yes" 1>&6
5272 echo "$ac_t""no" 1>&6
5276 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5277 echo "configure:5278: checking for --enable-logwin" >&5
5279 # Check whether --enable-logwin or --disable-logwin was given.
5280 if test "${enable_logwin+set}" = set; then
5281 enableval
="$enable_logwin"
5283 if test "$enableval" = yes; then
5284 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5286 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5291 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x
; then
5293 eval "DEFAULT_$LINE"
5298 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5303 eval "$ac_cv_use_logwin"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5308 if test "$wxUSE_LOGWINDOW" = yes; then
5309 echo "$ac_t""yes" 1>&6
5311 echo "$ac_t""no" 1>&6
5315 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5316 echo "configure:5317: checking for --enable-logdialog" >&5
5318 # Check whether --enable-logdialog or --disable-logdialog was given.
5319 if test "${enable_logdialog+set}" = set; then
5320 enableval
="$enable_logdialog"
5322 if test "$enableval" = yes; then
5323 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5325 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5330 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x
; then
5332 eval "DEFAULT_$LINE"
5337 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5342 eval "$ac_cv_use_logdialog"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5347 if test "$wxUSE_LOGDIALOG" = yes; then
5348 echo "$ac_t""yes" 1>&6
5350 echo "$ac_t""no" 1>&6
5355 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5356 echo "configure:5357: checking for --enable-postscript" >&5
5358 # Check whether --enable-postscript or --disable-postscript was given.
5359 if test "${enable_postscript+set}" = set; then
5360 enableval
="$enable_postscript"
5362 if test "$enableval" = yes; then
5363 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5365 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5370 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x
; then
5372 eval "DEFAULT_$LINE"
5377 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5382 eval "$ac_cv_use_postscript"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5387 if test "$wxUSE_POSTSCRIPT" = yes; then
5388 echo "$ac_t""yes" 1>&6
5390 echo "$ac_t""no" 1>&6
5397 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5398 echo "configure:5399: checking for --enable-prologio" >&5
5400 # Check whether --enable-prologio or --disable-prologio was given.
5401 if test "${enable_prologio+set}" = set; then
5402 enableval
="$enable_prologio"
5404 if test "$enableval" = yes; then
5405 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5407 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5412 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5413 if test "x$LINE" != x
; then
5414 eval "DEFAULT_$LINE"
5419 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5424 eval "$ac_cv_use_prologio"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5429 if test "$wxUSE_PROLOGIO" = yes; then
5430 echo "$ac_t""yes" 1>&6
5432 echo "$ac_t""no" 1>&6
5436 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5437 echo "configure:5438: checking for --enable-resources" >&5
5439 # Check whether --enable-resources or --disable-resources was given.
5440 if test "${enable_resources+set}" = set; then
5441 enableval
="$enable_resources"
5443 if test "$enableval" = yes; then
5444 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5446 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5451 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5452 if test "x$LINE" != x
; then
5453 eval "DEFAULT_$LINE"
5458 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5463 eval "$ac_cv_use_resources"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5468 if test "$wxUSE_RESOURCES" = yes; then
5469 echo "$ac_t""yes" 1>&6
5471 echo "$ac_t""no" 1>&6
5476 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5477 echo "configure:5478: checking for --enable-xresources" >&5
5479 # Check whether --enable-xresources or --disable-xresources was given.
5480 if test "${enable_xresources+set}" = set; then
5481 enableval
="$enable_xresources"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5486 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5491 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5503 eval "$ac_cv_use_xresources"
5504 if test "$no_cache" != 1; then
5505 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5508 if test "$wxUSE_X_RESOURCES" = yes; then
5509 echo "$ac_t""yes" 1>&6
5511 echo "$ac_t""no" 1>&6
5517 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5518 echo "configure:5519: checking for --enable-clipboard" >&5
5520 # Check whether --enable-clipboard or --disable-clipboard was given.
5521 if test "${enable_clipboard+set}" = set; then
5522 enableval
="$enable_clipboard"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5527 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5532 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5544 eval "$ac_cv_use_clipboard"
5545 if test "$no_cache" != 1; then
5546 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5549 if test "$wxUSE_CLIPBOARD" = yes; then
5550 echo "$ac_t""yes" 1>&6
5552 echo "$ac_t""no" 1>&6
5556 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5557 echo "configure:5558: checking for --enable-dnd" >&5
5559 # Check whether --enable-dnd or --disable-dnd was given.
5560 if test "${enable_dnd+set}" = set; then
5561 enableval
="$enable_dnd"
5563 if test "$enableval" = yes; then
5564 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5566 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5571 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5572 if test "x$LINE" != x
; then
5573 eval "DEFAULT_$LINE"
5578 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5583 eval "$ac_cv_use_dnd"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5588 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5589 echo "$ac_t""yes" 1>&6
5591 echo "$ac_t""no" 1>&6
5595 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5596 echo "configure:5597: checking for --enable-metafile" >&5
5598 # Check whether --enable-metafile or --disable-metafile was given.
5599 if test "${enable_metafile+set}" = set; then
5600 enableval
="$enable_metafile"
5602 if test "$enableval" = yes; then
5603 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5605 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5610 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5611 if test "x$LINE" != x
; then
5612 eval "DEFAULT_$LINE"
5617 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5622 eval "$ac_cv_use_metafile"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5627 if test "$wxUSE_METAFILE" = yes; then
5628 echo "$ac_t""yes" 1>&6
5630 echo "$ac_t""no" 1>&6
5635 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5636 echo "configure:5637: checking for --enable-treelayout" >&5
5638 # Check whether --enable-treelayout or --disable-treelayout was given.
5639 if test "${enable_treelayout+set}" = set; then
5640 enableval
="$enable_treelayout"
5642 if test "$enableval" = yes; then
5643 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5645 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5650 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x
; then
5652 eval "DEFAULT_$LINE"
5657 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5662 eval "$ac_cv_use_treelayout"
5663 if test "$no_cache" != 1; then
5664 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5667 if test "$wxUSE_TREELAYOUT" = yes; then
5668 echo "$ac_t""yes" 1>&6
5670 echo "$ac_t""no" 1>&6
5676 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5677 echo "configure:5678: checking for --enable-controls" >&5
5679 # Check whether --enable-controls or --disable-controls was given.
5680 if test "${enable_controls+set}" = set; then
5681 enableval
="$enable_controls"
5683 if test "$enableval" = yes; then
5684 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5686 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5691 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5692 if test "x$LINE" != x
; then
5693 eval "DEFAULT_$LINE"
5698 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5703 eval "$ac_cv_use_controls"
5704 if test "$no_cache" != 1; then
5705 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5708 if test "$wxUSE_CONTROLS" = yes; then
5709 echo "$ac_t""yes" 1>&6
5711 echo "$ac_t""no" 1>&6
5715 if test "$wxUSE_CONTROLS" = "yes"; then
5716 DEFAULT_wxUSE_ACCEL
=yes
5717 DEFAULT_wxUSE_BMPBUTTON
=yes
5718 DEFAULT_wxUSE_BUTTON
=yes
5719 DEFAULT_wxUSE_CALCTRL
=no
5720 DEFAULT_wxUSE_CARET
=yes
5721 DEFAULT_wxUSE_COMBOBOX
=yes
5722 DEFAULT_wxUSE_CHECKBOX
=yes
5723 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5724 DEFAULT_wxUSE_CHOICE
=yes
5725 DEFAULT_wxUSE_GAUGE
=yes
5726 DEFAULT_wxUSE_GRID
=yes
5727 DEFAULT_wxUSE_NEW_GRID
=yes
5728 DEFAULT_wxUSE_IMAGLIST
=yes
5729 DEFAULT_wxUSE_LISTBOX
=yes
5730 DEFAULT_wxUSE_LISTCTRL
=yes
5731 DEFAULT_wxUSE_NOTEBOOK
=yes
5732 DEFAULT_wxUSE_PROPSHEET
=yes
5733 DEFAULT_wxUSE_RADIOBOX
=yes
5734 DEFAULT_wxUSE_RADIOBTN
=yes
5735 DEFAULT_wxUSE_SASH
=yes
5736 DEFAULT_wxUSE_SCROLLBAR
=yes
5737 DEFAULT_wxUSE_SLIDER
=yes
5738 DEFAULT_wxUSE_SPINBTN
=yes
5739 DEFAULT_wxUSE_SPINCTRL
=yes
5740 DEFAULT_wxUSE_SPLITTER
=yes
5741 DEFAULT_wxUSE_STATBMP
=yes
5742 DEFAULT_wxUSE_STATBOX
=yes
5743 DEFAULT_wxUSE_STATLINE
=yes
5744 DEFAULT_wxUSE_STATUSBAR
=yes
5745 DEFAULT_wxUSE_TAB_DIALOG
=yes
5746 DEFAULT_wxUSE_TOGGLEBTN
=yes
5747 DEFAULT_wxUSE_TOOLBAR
=yes
5748 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5749 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5750 DEFAULT_wxUSE_TOOLTIPS
=yes
5751 DEFAULT_wxUSE_TREECTRL
=yes
5752 DEFAULT_wxUSE_POPUPWIN
=yes
5753 DEFAULT_wxUSE_TIPWINDOW
=yes
5754 elif test "$wxUSE_CONTROLS" = "no"; then
5755 DEFAULT_wxUSE_ACCEL
=no
5756 DEFAULT_wxUSE_BMPBUTTON
=no
5757 DEFAULT_wxUSE_BUTTON
=no
5758 DEFAULT_wxUSE_CALCTRL
=no
5759 DEFAULT_wxUSE_CARET
=no
5760 DEFAULT_wxUSE_COMBOBOX
=no
5761 DEFAULT_wxUSE_CHECKBOX
=no
5762 DEFAULT_wxUSE_CHECKLISTBOX
=no
5763 DEFAULT_wxUSE_CHOICE
=no
5764 DEFAULT_wxUSE_GAUGE
=no
5765 DEFAULT_wxUSE_GRID
=no
5766 DEFAULT_wxUSE_NEW_GRID
=no
5767 DEFAULT_wxUSE_IMAGLIST
=no
5768 DEFAULT_wxUSE_LISTBOX
=no
5769 DEFAULT_wxUSE_LISTCTRL
=no
5770 DEFAULT_wxUSE_NOTEBOOK
=no
5771 DEFAULT_wxUSE_PROPSHEET
=no
5772 DEFAULT_wxUSE_RADIOBOX
=no
5773 DEFAULT_wxUSE_RADIOBTN
=no
5774 DEFAULT_wxUSE_SASH
=no
5775 DEFAULT_wxUSE_SCROLLBAR
=no
5776 DEFAULT_wxUSE_SLIDER
=no
5777 DEFAULT_wxUSE_SPINBTN
=no
5778 DEFAULT_wxUSE_SPINCTRL
=no
5779 DEFAULT_wxUSE_SPLITTER
=no
5780 DEFAULT_wxUSE_STATBMP
=no
5781 DEFAULT_wxUSE_STATBOX
=no
5782 DEFAULT_wxUSE_STATLINE
=no
5783 DEFAULT_wxUSE_STATUSBAR
=no
5784 DEFAULT_wxUSE_TAB_DIALOG
=no
5785 DEFAULT_wxUSE_TOGGLEBTN
=no
5786 DEFAULT_wxUSE_TOOLBAR
=no
5787 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5788 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5789 DEFAULT_wxUSE_TOOLTIPS
=no
5790 DEFAULT_wxUSE_TREECTRL
=no
5791 DEFAULT_wxUSE_POPUPWIN
=no
5792 DEFAULT_wxUSE_TIPWINDOW
=no
5796 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5797 echo "configure:5798: checking for --enable-accel" >&5
5799 # Check whether --enable-accel or --disable-accel was given.
5800 if test "${enable_accel+set}" = set; then
5801 enableval
="$enable_accel"
5803 if test "$enableval" = yes; then
5804 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5806 ac_cv_use_accel
='wxUSE_ACCEL=no'
5811 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5812 if test "x$LINE" != x
; then
5813 eval "DEFAULT_$LINE"
5818 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5823 eval "$ac_cv_use_accel"
5824 if test "$no_cache" != 1; then
5825 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5828 if test "$wxUSE_ACCEL" = yes; then
5829 echo "$ac_t""yes" 1>&6
5831 echo "$ac_t""no" 1>&6
5835 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5836 echo "configure:5837: checking for --enable-button" >&5
5838 # Check whether --enable-button or --disable-button was given.
5839 if test "${enable_button+set}" = set; then
5840 enableval
="$enable_button"
5842 if test "$enableval" = yes; then
5843 ac_cv_use_button
='wxUSE_BUTTON=yes'
5845 ac_cv_use_button
='wxUSE_BUTTON=no'
5850 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5851 if test "x$LINE" != x
; then
5852 eval "DEFAULT_$LINE"
5857 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5862 eval "$ac_cv_use_button"
5863 if test "$no_cache" != 1; then
5864 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5867 if test "$wxUSE_BUTTON" = yes; then
5868 echo "$ac_t""yes" 1>&6
5870 echo "$ac_t""no" 1>&6
5874 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5875 echo "configure:5876: checking for --enable-bmpbutton" >&5
5877 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5878 if test "${enable_bmpbutton+set}" = set; then
5879 enableval
="$enable_bmpbutton"
5881 if test "$enableval" = yes; then
5882 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5884 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5889 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5890 if test "x$LINE" != x
; then
5891 eval "DEFAULT_$LINE"
5896 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5901 eval "$ac_cv_use_bmpbutton"
5902 if test "$no_cache" != 1; then
5903 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5906 if test "$wxUSE_BMPBUTTON" = yes; then
5907 echo "$ac_t""yes" 1>&6
5909 echo "$ac_t""no" 1>&6
5913 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5914 echo "configure:5915: checking for --enable-calendar" >&5
5916 # Check whether --enable-calendar or --disable-calendar was given.
5917 if test "${enable_calendar+set}" = set; then
5918 enableval
="$enable_calendar"
5920 if test "$enableval" = yes; then
5921 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5923 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5928 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5929 if test "x$LINE" != x
; then
5930 eval "DEFAULT_$LINE"
5935 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5940 eval "$ac_cv_use_calendar"
5941 if test "$no_cache" != 1; then
5942 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5945 if test "$wxUSE_CALCTRL" = yes; then
5946 echo "$ac_t""yes" 1>&6
5948 echo "$ac_t""no" 1>&6
5952 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5953 echo "configure:5954: checking for --enable-caret" >&5
5955 # Check whether --enable-caret or --disable-caret was given.
5956 if test "${enable_caret+set}" = set; then
5957 enableval
="$enable_caret"
5959 if test "$enableval" = yes; then
5960 ac_cv_use_caret
='wxUSE_CARET=yes'
5962 ac_cv_use_caret
='wxUSE_CARET=no'
5967 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x
; then
5969 eval "DEFAULT_$LINE"
5974 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5979 eval "$ac_cv_use_caret"
5980 if test "$no_cache" != 1; then
5981 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5984 if test "$wxUSE_CARET" = yes; then
5985 echo "$ac_t""yes" 1>&6
5987 echo "$ac_t""no" 1>&6
5991 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5992 echo "configure:5993: checking for --enable-checkbox" >&5
5994 # Check whether --enable-checkbox or --disable-checkbox was given.
5995 if test "${enable_checkbox+set}" = set; then
5996 enableval
="$enable_checkbox"
5998 if test "$enableval" = yes; then
5999 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6001 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6006 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x
; then
6008 eval "DEFAULT_$LINE"
6013 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6018 eval "$ac_cv_use_checkbox"
6019 if test "$no_cache" != 1; then
6020 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6023 if test "$wxUSE_CHECKBOX" = yes; then
6024 echo "$ac_t""yes" 1>&6
6026 echo "$ac_t""no" 1>&6
6030 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
6031 echo "configure:6032: checking for --enable-checklst" >&5
6033 # Check whether --enable-checklst or --disable-checklst was given.
6034 if test "${enable_checklst+set}" = set; then
6035 enableval
="$enable_checklst"
6037 if test "$enableval" = yes; then
6038 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6040 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6045 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x
; then
6047 eval "DEFAULT_$LINE"
6052 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6057 eval "$ac_cv_use_checklst"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6062 if test "$wxUSE_CHECKLST" = yes; then
6063 echo "$ac_t""yes" 1>&6
6065 echo "$ac_t""no" 1>&6
6069 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
6070 echo "configure:6071: checking for --enable-choice" >&5
6072 # Check whether --enable-choice or --disable-choice was given.
6073 if test "${enable_choice+set}" = set; then
6074 enableval
="$enable_choice"
6076 if test "$enableval" = yes; then
6077 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6079 ac_cv_use_choice
='wxUSE_CHOICE=no'
6084 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6085 if test "x$LINE" != x
; then
6086 eval "DEFAULT_$LINE"
6091 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6096 eval "$ac_cv_use_choice"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6101 if test "$wxUSE_CHOICE" = yes; then
6102 echo "$ac_t""yes" 1>&6
6104 echo "$ac_t""no" 1>&6
6108 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6109 echo "configure:6110: checking for --enable-combobox" >&5
6111 # Check whether --enable-combobox or --disable-combobox was given.
6112 if test "${enable_combobox+set}" = set; then
6113 enableval
="$enable_combobox"
6115 if test "$enableval" = yes; then
6116 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6118 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6123 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x
; then
6125 eval "DEFAULT_$LINE"
6130 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6135 eval "$ac_cv_use_combobox"
6136 if test "$no_cache" != 1; then
6137 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6140 if test "$wxUSE_COMBOBOX" = yes; then
6141 echo "$ac_t""yes" 1>&6
6143 echo "$ac_t""no" 1>&6
6147 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6148 echo "configure:6149: checking for --enable-gauge" >&5
6150 # Check whether --enable-gauge or --disable-gauge was given.
6151 if test "${enable_gauge+set}" = set; then
6152 enableval
="$enable_gauge"
6154 if test "$enableval" = yes; then
6155 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6157 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6162 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x
; then
6164 eval "DEFAULT_$LINE"
6169 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6174 eval "$ac_cv_use_gauge"
6175 if test "$no_cache" != 1; then
6176 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6179 if test "$wxUSE_GAUGE" = yes; then
6180 echo "$ac_t""yes" 1>&6
6182 echo "$ac_t""no" 1>&6
6186 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6187 echo "configure:6188: checking for --enable-grid" >&5
6189 # Check whether --enable-grid or --disable-grid was given.
6190 if test "${enable_grid+set}" = set; then
6191 enableval
="$enable_grid"
6193 if test "$enableval" = yes; then
6194 ac_cv_use_grid
='wxUSE_GRID=yes'
6196 ac_cv_use_grid
='wxUSE_GRID=no'
6201 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x
; then
6203 eval "DEFAULT_$LINE"
6208 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6213 eval "$ac_cv_use_grid"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6218 if test "$wxUSE_GRID" = yes; then
6219 echo "$ac_t""yes" 1>&6
6221 echo "$ac_t""no" 1>&6
6225 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6226 echo "configure:6227: checking for --enable-newgrid" >&5
6228 # Check whether --enable-newgrid or --disable-newgrid was given.
6229 if test "${enable_newgrid+set}" = set; then
6230 enableval
="$enable_newgrid"
6232 if test "$enableval" = yes; then
6233 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6235 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6240 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x
; then
6242 eval "DEFAULT_$LINE"
6247 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6252 eval "$ac_cv_use_newgrid"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6257 if test "$wxUSE_NEW_GRID" = yes; then
6258 echo "$ac_t""yes" 1>&6
6260 echo "$ac_t""no" 1>&6
6264 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6265 echo "configure:6266: checking for --enable-imaglist" >&5
6267 # Check whether --enable-imaglist or --disable-imaglist was given.
6268 if test "${enable_imaglist+set}" = set; then
6269 enableval
="$enable_imaglist"
6271 if test "$enableval" = yes; then
6272 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6274 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6279 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6280 if test "x$LINE" != x
; then
6281 eval "DEFAULT_$LINE"
6286 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6291 eval "$ac_cv_use_imaglist"
6292 if test "$no_cache" != 1; then
6293 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6296 if test "$wxUSE_IMAGLIST" = yes; then
6297 echo "$ac_t""yes" 1>&6
6299 echo "$ac_t""no" 1>&6
6303 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6304 echo "configure:6305: checking for --enable-listbox" >&5
6306 # Check whether --enable-listbox or --disable-listbox was given.
6307 if test "${enable_listbox+set}" = set; then
6308 enableval
="$enable_listbox"
6310 if test "$enableval" = yes; then
6311 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6313 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6318 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x
; then
6320 eval "DEFAULT_$LINE"
6325 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6330 eval "$ac_cv_use_listbox"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6335 if test "$wxUSE_LISTBOX" = yes; then
6336 echo "$ac_t""yes" 1>&6
6338 echo "$ac_t""no" 1>&6
6342 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6343 echo "configure:6344: checking for --enable-listctrl" >&5
6345 # Check whether --enable-listctrl or --disable-listctrl was given.
6346 if test "${enable_listctrl+set}" = set; then
6347 enableval
="$enable_listctrl"
6349 if test "$enableval" = yes; then
6350 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6352 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6357 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x
; then
6359 eval "DEFAULT_$LINE"
6364 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6369 eval "$ac_cv_use_listctrl"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6374 if test "$wxUSE_LISTCTRL" = yes; then
6375 echo "$ac_t""yes" 1>&6
6377 echo "$ac_t""no" 1>&6
6381 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6382 echo "configure:6383: checking for --enable-notebook" >&5
6384 # Check whether --enable-notebook or --disable-notebook was given.
6385 if test "${enable_notebook+set}" = set; then
6386 enableval
="$enable_notebook"
6388 if test "$enableval" = yes; then
6389 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6391 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6396 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x
; then
6398 eval "DEFAULT_$LINE"
6403 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6408 eval "$ac_cv_use_notebook"
6409 if test "$no_cache" != 1; then
6410 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6413 if test "$wxUSE_NOTEBOOK" = yes; then
6414 echo "$ac_t""yes" 1>&6
6416 echo "$ac_t""no" 1>&6
6420 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6421 echo "configure:6422: checking for --enable-propsheet" >&5
6423 # Check whether --enable-propsheet or --disable-propsheet was given.
6424 if test "${enable_propsheet+set}" = set; then
6425 enableval
="$enable_propsheet"
6427 if test "$enableval" = yes; then
6428 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6430 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6435 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6436 if test "x$LINE" != x
; then
6437 eval "DEFAULT_$LINE"
6442 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6447 eval "$ac_cv_use_propsheet"
6448 if test "$no_cache" != 1; then
6449 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6452 if test "$wxUSE_PROPSHEET" = yes; then
6453 echo "$ac_t""yes" 1>&6
6455 echo "$ac_t""no" 1>&6
6459 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6460 echo "configure:6461: checking for --enable-radiobox" >&5
6462 # Check whether --enable-radiobox or --disable-radiobox was given.
6463 if test "${enable_radiobox+set}" = set; then
6464 enableval
="$enable_radiobox"
6466 if test "$enableval" = yes; then
6467 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6469 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6474 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6475 if test "x$LINE" != x
; then
6476 eval "DEFAULT_$LINE"
6481 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6486 eval "$ac_cv_use_radiobox"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6491 if test "$wxUSE_RADIOBOX" = yes; then
6492 echo "$ac_t""yes" 1>&6
6494 echo "$ac_t""no" 1>&6
6498 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6499 echo "configure:6500: checking for --enable-radiobtn" >&5
6501 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6502 if test "${enable_radiobtn+set}" = set; then
6503 enableval
="$enable_radiobtn"
6505 if test "$enableval" = yes; then
6506 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6508 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6513 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x
; then
6515 eval "DEFAULT_$LINE"
6520 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6525 eval "$ac_cv_use_radiobtn"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6530 if test "$wxUSE_RADIOBTN" = yes; then
6531 echo "$ac_t""yes" 1>&6
6533 echo "$ac_t""no" 1>&6
6537 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6538 echo "configure:6539: checking for --enable-sash" >&5
6540 # Check whether --enable-sash or --disable-sash was given.
6541 if test "${enable_sash+set}" = set; then
6542 enableval
="$enable_sash"
6544 if test "$enableval" = yes; then
6545 ac_cv_use_sash
='wxUSE_SASH=yes'
6547 ac_cv_use_sash
='wxUSE_SASH=no'
6552 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6553 if test "x$LINE" != x
; then
6554 eval "DEFAULT_$LINE"
6559 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6564 eval "$ac_cv_use_sash"
6565 if test "$no_cache" != 1; then
6566 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6569 if test "$wxUSE_SASH" = yes; then
6570 echo "$ac_t""yes" 1>&6
6572 echo "$ac_t""no" 1>&6
6576 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6577 echo "configure:6578: checking for --enable-scrollbar" >&5
6579 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6580 if test "${enable_scrollbar+set}" = set; then
6581 enableval
="$enable_scrollbar"
6583 if test "$enableval" = yes; then
6584 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6586 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6591 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6592 if test "x$LINE" != x
; then
6593 eval "DEFAULT_$LINE"
6598 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6603 eval "$ac_cv_use_scrollbar"
6604 if test "$no_cache" != 1; then
6605 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6608 if test "$wxUSE_SCROLLBAR" = yes; then
6609 echo "$ac_t""yes" 1>&6
6611 echo "$ac_t""no" 1>&6
6615 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6616 echo "configure:6617: checking for --enable-slider" >&5
6618 # Check whether --enable-slider or --disable-slider was given.
6619 if test "${enable_slider+set}" = set; then
6620 enableval
="$enable_slider"
6622 if test "$enableval" = yes; then
6623 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6625 ac_cv_use_slider
='wxUSE_SLIDER=no'
6630 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6631 if test "x$LINE" != x
; then
6632 eval "DEFAULT_$LINE"
6637 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6642 eval "$ac_cv_use_slider"
6643 if test "$no_cache" != 1; then
6644 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6647 if test "$wxUSE_SLIDER" = yes; then
6648 echo "$ac_t""yes" 1>&6
6650 echo "$ac_t""no" 1>&6
6654 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6655 echo "configure:6656: checking for --enable-spinbtn" >&5
6657 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6658 if test "${enable_spinbtn+set}" = set; then
6659 enableval
="$enable_spinbtn"
6661 if test "$enableval" = yes; then
6662 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6664 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6669 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x
; then
6671 eval "DEFAULT_$LINE"
6676 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6681 eval "$ac_cv_use_spinbtn"
6682 if test "$no_cache" != 1; then
6683 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6686 if test "$wxUSE_SPINBTN" = yes; then
6687 echo "$ac_t""yes" 1>&6
6689 echo "$ac_t""no" 1>&6
6693 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6694 echo "configure:6695: checking for --enable-spinctrl" >&5
6696 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6697 if test "${enable_spinctrl+set}" = set; then
6698 enableval
="$enable_spinctrl"
6700 if test "$enableval" = yes; then
6701 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6703 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6708 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x
; then
6710 eval "DEFAULT_$LINE"
6715 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6720 eval "$ac_cv_use_spinctrl"
6721 if test "$no_cache" != 1; then
6722 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6725 if test "$wxUSE_SPINCTRL" = yes; then
6726 echo "$ac_t""yes" 1>&6
6728 echo "$ac_t""no" 1>&6
6732 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6733 echo "configure:6734: checking for --enable-splitter" >&5
6735 # Check whether --enable-splitter or --disable-splitter was given.
6736 if test "${enable_splitter+set}" = set; then
6737 enableval
="$enable_splitter"
6739 if test "$enableval" = yes; then
6740 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6742 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6747 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6748 if test "x$LINE" != x
; then
6749 eval "DEFAULT_$LINE"
6754 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6759 eval "$ac_cv_use_splitter"
6760 if test "$no_cache" != 1; then
6761 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6764 if test "$wxUSE_SPLITTER" = yes; then
6765 echo "$ac_t""yes" 1>&6
6767 echo "$ac_t""no" 1>&6
6771 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6772 echo "configure:6773: checking for --enable-statbmp" >&5
6774 # Check whether --enable-statbmp or --disable-statbmp was given.
6775 if test "${enable_statbmp+set}" = set; then
6776 enableval
="$enable_statbmp"
6778 if test "$enableval" = yes; then
6779 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6781 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6786 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x
; then
6788 eval "DEFAULT_$LINE"
6793 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6798 eval "$ac_cv_use_statbmp"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6803 if test "$wxUSE_STATBMP" = yes; then
6804 echo "$ac_t""yes" 1>&6
6806 echo "$ac_t""no" 1>&6
6810 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6811 echo "configure:6812: checking for --enable-statbox" >&5
6813 # Check whether --enable-statbox or --disable-statbox was given.
6814 if test "${enable_statbox+set}" = set; then
6815 enableval
="$enable_statbox"
6817 if test "$enableval" = yes; then
6818 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6820 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6825 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6826 if test "x$LINE" != x
; then
6827 eval "DEFAULT_$LINE"
6832 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6837 eval "$ac_cv_use_statbox"
6838 if test "$no_cache" != 1; then
6839 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6842 if test "$wxUSE_STATBOX" = yes; then
6843 echo "$ac_t""yes" 1>&6
6845 echo "$ac_t""no" 1>&6
6849 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6850 echo "configure:6851: checking for --enable-statline" >&5
6852 # Check whether --enable-statline or --disable-statline was given.
6853 if test "${enable_statline+set}" = set; then
6854 enableval
="$enable_statline"
6856 if test "$enableval" = yes; then
6857 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6859 ac_cv_use_statline
='wxUSE_STATLINE=no'
6864 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6865 if test "x$LINE" != x
; then
6866 eval "DEFAULT_$LINE"
6871 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6876 eval "$ac_cv_use_statline"
6877 if test "$no_cache" != 1; then
6878 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6881 if test "$wxUSE_STATLINE" = yes; then
6882 echo "$ac_t""yes" 1>&6
6884 echo "$ac_t""no" 1>&6
6888 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6889 echo "configure:6890: checking for --enable-stattext" >&5
6891 # Check whether --enable-stattext or --disable-stattext was given.
6892 if test "${enable_stattext+set}" = set; then
6893 enableval
="$enable_stattext"
6895 if test "$enableval" = yes; then
6896 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6898 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6903 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6904 if test "x$LINE" != x
; then
6905 eval "DEFAULT_$LINE"
6910 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6915 eval "$ac_cv_use_stattext"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6920 if test "$wxUSE_STATTEXT" = yes; then
6921 echo "$ac_t""yes" 1>&6
6923 echo "$ac_t""no" 1>&6
6927 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6928 echo "configure:6929: checking for --enable-statusbar" >&5
6930 # Check whether --enable-statusbar or --disable-statusbar was given.
6931 if test "${enable_statusbar+set}" = set; then
6932 enableval
="$enable_statusbar"
6934 if test "$enableval" = yes; then
6935 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6937 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6942 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x
; then
6944 eval "DEFAULT_$LINE"
6949 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6954 eval "$ac_cv_use_statusbar"
6955 if test "$no_cache" != 1; then
6956 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6959 if test "$wxUSE_STATUSBAR" = yes; then
6960 echo "$ac_t""yes" 1>&6
6962 echo "$ac_t""no" 1>&6
6966 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6967 echo "configure:6968: checking for --enable-tabdialog" >&5
6969 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6970 if test "${enable_tabdialog+set}" = set; then
6971 enableval
="$enable_tabdialog"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6976 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6981 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x
; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6993 eval "$ac_cv_use_tabdialog"
6994 if test "$no_cache" != 1; then
6995 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6998 if test "$wxUSE_TABDIALOG" = yes; then
6999 echo "$ac_t""yes" 1>&6
7001 echo "$ac_t""no" 1>&6
7005 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
7006 echo "configure:7007: checking for --enable-textctrl" >&5
7008 # Check whether --enable-textctrl or --disable-textctrl was given.
7009 if test "${enable_textctrl+set}" = set; then
7010 enableval
="$enable_textctrl"
7012 if test "$enableval" = yes; then
7013 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7015 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7020 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7021 if test "x$LINE" != x
; then
7022 eval "DEFAULT_$LINE"
7027 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7032 eval "$ac_cv_use_textctrl"
7033 if test "$no_cache" != 1; then
7034 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7037 if test "$wxUSE_TEXTCTRL" = yes; then
7038 echo "$ac_t""yes" 1>&6
7040 echo "$ac_t""no" 1>&6
7044 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
7045 echo "configure:7046: checking for --enable-togglebtn" >&5
7047 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7048 if test "${enable_togglebtn+set}" = set; then
7049 enableval
="$enable_togglebtn"
7051 if test "$enableval" = yes; then
7052 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7054 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7059 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x
; then
7061 eval "DEFAULT_$LINE"
7066 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7071 eval "$ac_cv_use_togglebtn"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_TOGGLEBTN" = yes; then
7077 echo "$ac_t""yes" 1>&6
7079 echo "$ac_t""no" 1>&6
7083 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7084 echo "configure:7085: checking for --enable-toolbar" >&5
7086 # Check whether --enable-toolbar or --disable-toolbar was given.
7087 if test "${enable_toolbar+set}" = set; then
7088 enableval
="$enable_toolbar"
7090 if test "$enableval" = yes; then
7091 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7093 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7098 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7099 if test "x$LINE" != x
; then
7100 eval "DEFAULT_$LINE"
7105 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7110 eval "$ac_cv_use_toolbar"
7111 if test "$no_cache" != 1; then
7112 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7115 if test "$wxUSE_TOOLBAR" = yes; then
7116 echo "$ac_t""yes" 1>&6
7118 echo "$ac_t""no" 1>&6
7122 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7123 echo "configure:7124: checking for --enable-tbarnative" >&5
7125 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7126 if test "${enable_tbarnative+set}" = set; then
7127 enableval
="$enable_tbarnative"
7129 if test "$enableval" = yes; then
7130 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7132 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7137 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7138 if test "x$LINE" != x
; then
7139 eval "DEFAULT_$LINE"
7144 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7149 eval "$ac_cv_use_tbarnative"
7150 if test "$no_cache" != 1; then
7151 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7154 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7155 echo "$ac_t""yes" 1>&6
7157 echo "$ac_t""no" 1>&6
7161 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7162 echo "configure:7163: checking for --enable-tbarsmpl" >&5
7164 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7165 if test "${enable_tbarsmpl+set}" = set; then
7166 enableval
="$enable_tbarsmpl"
7168 if test "$enableval" = yes; then
7169 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7171 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7176 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7177 if test "x$LINE" != x
; then
7178 eval "DEFAULT_$LINE"
7183 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7188 eval "$ac_cv_use_tbarsmpl"
7189 if test "$no_cache" != 1; then
7190 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7193 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7194 echo "$ac_t""yes" 1>&6
7196 echo "$ac_t""no" 1>&6
7200 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7201 echo "configure:7202: checking for --enable-treectrl" >&5
7203 # Check whether --enable-treectrl or --disable-treectrl was given.
7204 if test "${enable_treectrl+set}" = set; then
7205 enableval
="$enable_treectrl"
7207 if test "$enableval" = yes; then
7208 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7210 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7215 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7216 if test "x$LINE" != x
; then
7217 eval "DEFAULT_$LINE"
7222 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7227 eval "$ac_cv_use_treectrl"
7228 if test "$no_cache" != 1; then
7229 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7232 if test "$wxUSE_TREECTRL" = yes; then
7233 echo "$ac_t""yes" 1>&6
7235 echo "$ac_t""no" 1>&6
7239 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7240 echo "configure:7241: checking for --enable-tipwindow" >&5
7242 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7243 if test "${enable_tipwindow+set}" = set; then
7244 enableval
="$enable_tipwindow"
7246 if test "$enableval" = yes; then
7247 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7249 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7254 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7255 if test "x$LINE" != x
; then
7256 eval "DEFAULT_$LINE"
7261 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7266 eval "$ac_cv_use_tipwindow"
7267 if test "$no_cache" != 1; then
7268 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7271 if test "$wxUSE_TIPWINDOW" = yes; then
7272 echo "$ac_t""yes" 1>&6
7274 echo "$ac_t""no" 1>&6
7278 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7279 echo "configure:7280: checking for --enable-popupwin" >&5
7281 # Check whether --enable-popupwin or --disable-popupwin was given.
7282 if test "${enable_popupwin+set}" = set; then
7283 enableval
="$enable_popupwin"
7285 if test "$enableval" = yes; then
7286 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7288 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7293 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7294 if test "x$LINE" != x
; then
7295 eval "DEFAULT_$LINE"
7300 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7305 eval "$ac_cv_use_popupwin"
7306 if test "$no_cache" != 1; then
7307 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7310 if test "$wxUSE_POPUPWIN" = yes; then
7311 echo "$ac_t""yes" 1>&6
7313 echo "$ac_t""no" 1>&6
7319 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7320 echo "configure:7321: checking for --enable-commondlg" >&5
7322 # Check whether --enable-commondlg or --disable-commondlg was given.
7323 if test "${enable_commondlg+set}" = set; then
7324 enableval
="$enable_commondlg"
7326 if test "$enableval" = yes; then
7327 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7329 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7334 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7335 if test "x$LINE" != x
; then
7336 eval "DEFAULT_$LINE"
7341 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7346 eval "$ac_cv_use_commondlg"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7351 if test "$wxUSE_COMMONDLGS" = yes; then
7352 echo "$ac_t""yes" 1>&6
7354 echo "$ac_t""no" 1>&6
7358 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7359 echo "configure:7360: checking for --enable-choicedlg" >&5
7361 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7362 if test "${enable_choicedlg+set}" = set; then
7363 enableval
="$enable_choicedlg"
7365 if test "$enableval" = yes; then
7366 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7368 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7373 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7374 if test "x$LINE" != x
; then
7375 eval "DEFAULT_$LINE"
7380 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7385 eval "$ac_cv_use_choicedlg"
7386 if test "$no_cache" != 1; then
7387 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7390 if test "$wxUSE_CHOICEDLG" = yes; then
7391 echo "$ac_t""yes" 1>&6
7393 echo "$ac_t""no" 1>&6
7397 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7398 echo "configure:7399: checking for --enable-coldlg" >&5
7400 # Check whether --enable-coldlg or --disable-coldlg was given.
7401 if test "${enable_coldlg+set}" = set; then
7402 enableval
="$enable_coldlg"
7404 if test "$enableval" = yes; then
7405 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7407 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7412 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7413 if test "x$LINE" != x
; then
7414 eval "DEFAULT_$LINE"
7419 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7424 eval "$ac_cv_use_coldlg"
7425 if test "$no_cache" != 1; then
7426 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7429 if test "$wxUSE_COLOURDLG" = yes; then
7430 echo "$ac_t""yes" 1>&6
7432 echo "$ac_t""no" 1>&6
7436 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7437 echo "configure:7438: checking for --enable-filedlg" >&5
7439 # Check whether --enable-filedlg or --disable-filedlg was given.
7440 if test "${enable_filedlg+set}" = set; then
7441 enableval
="$enable_filedlg"
7443 if test "$enableval" = yes; then
7444 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7446 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7451 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7452 if test "x$LINE" != x
; then
7453 eval "DEFAULT_$LINE"
7458 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7463 eval "$ac_cv_use_filedlg"
7464 if test "$no_cache" != 1; then
7465 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7468 if test "$wxUSE_FILEDLG" = yes; then
7469 echo "$ac_t""yes" 1>&6
7471 echo "$ac_t""no" 1>&6
7475 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7476 echo "configure:7477: checking for --enable-finddlg" >&5
7478 # Check whether --enable-finddlg or --disable-finddlg was given.
7479 if test "${enable_finddlg+set}" = set; then
7480 enableval
="$enable_finddlg"
7482 if test "$enableval" = yes; then
7483 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7485 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7490 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7491 if test "x$LINE" != x
; then
7492 eval "DEFAULT_$LINE"
7497 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7502 eval "$ac_cv_use_finddlg"
7503 if test "$no_cache" != 1; then
7504 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7507 if test "$wxUSE_FINDREPLDLG" = yes; then
7508 echo "$ac_t""yes" 1>&6
7510 echo "$ac_t""no" 1>&6
7514 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7515 echo "configure:7516: checking for --enable-fontdlg" >&5
7517 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7518 if test "${enable_fontdlg+set}" = set; then
7519 enableval
="$enable_fontdlg"
7521 if test "$enableval" = yes; then
7522 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7524 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7529 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7530 if test "x$LINE" != x
; then
7531 eval "DEFAULT_$LINE"
7536 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7541 eval "$ac_cv_use_fontdlg"
7542 if test "$no_cache" != 1; then
7543 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7546 if test "$wxUSE_FONTDLG" = yes; then
7547 echo "$ac_t""yes" 1>&6
7549 echo "$ac_t""no" 1>&6
7553 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7554 echo "configure:7555: checking for --enable-dirdlg" >&5
7556 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7557 if test "${enable_dirdlg+set}" = set; then
7558 enableval
="$enable_dirdlg"
7560 if test "$enableval" = yes; then
7561 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7563 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7568 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7569 if test "x$LINE" != x
; then
7570 eval "DEFAULT_$LINE"
7575 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7580 eval "$ac_cv_use_dirdlg"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7585 if test "$wxUSE_DIRDLG" = yes; then
7586 echo "$ac_t""yes" 1>&6
7588 echo "$ac_t""no" 1>&6
7592 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7593 echo "configure:7594: checking for --enable-msgdlg" >&5
7595 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7596 if test "${enable_msgdlg+set}" = set; then
7597 enableval
="$enable_msgdlg"
7599 if test "$enableval" = yes; then
7600 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7602 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7607 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7608 if test "x$LINE" != x
; then
7609 eval "DEFAULT_$LINE"
7614 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7619 eval "$ac_cv_use_msgdlg"
7620 if test "$no_cache" != 1; then
7621 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7624 if test "$wxUSE_MSGDLG" = yes; then
7625 echo "$ac_t""yes" 1>&6
7627 echo "$ac_t""no" 1>&6
7631 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7632 echo "configure:7633: checking for --enable-numberdlg" >&5
7634 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7635 if test "${enable_numberdlg+set}" = set; then
7636 enableval
="$enable_numberdlg"
7638 if test "$enableval" = yes; then
7639 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7641 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7646 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7647 if test "x$LINE" != x
; then
7648 eval "DEFAULT_$LINE"
7653 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7658 eval "$ac_cv_use_numberdlg"
7659 if test "$no_cache" != 1; then
7660 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7663 if test "$wxUSE_NUMBERDLG" = yes; then
7664 echo "$ac_t""yes" 1>&6
7666 echo "$ac_t""no" 1>&6
7670 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7671 echo "configure:7672: checking for --enable-splash" >&5
7673 # Check whether --enable-splash or --disable-splash was given.
7674 if test "${enable_splash+set}" = set; then
7675 enableval
="$enable_splash"
7677 if test "$enableval" = yes; then
7678 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7680 ac_cv_use_splash
='wxUSE_SPLASH=no'
7685 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7686 if test "x$LINE" != x
; then
7687 eval "DEFAULT_$LINE"
7692 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7697 eval "$ac_cv_use_splash"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7702 if test "$wxUSE_SPLASH" = yes; then
7703 echo "$ac_t""yes" 1>&6
7705 echo "$ac_t""no" 1>&6
7709 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7710 echo "configure:7711: checking for --enable-textdlg" >&5
7712 # Check whether --enable-textdlg or --disable-textdlg was given.
7713 if test "${enable_textdlg+set}" = set; then
7714 enableval
="$enable_textdlg"
7716 if test "$enableval" = yes; then
7717 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7719 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7724 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x
; then
7726 eval "DEFAULT_$LINE"
7731 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7736 eval "$ac_cv_use_textdlg"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_TEXTDLG" = yes; then
7742 echo "$ac_t""yes" 1>&6
7744 echo "$ac_t""no" 1>&6
7748 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7749 echo "configure:7750: checking for --enable-tipdlg" >&5
7751 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7752 if test "${enable_tipdlg+set}" = set; then
7753 enableval
="$enable_tipdlg"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7758 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7763 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7775 eval "$ac_cv_use_tipdlg"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7780 if test "$wxUSE_STARTUP_TIPS" = yes; then
7781 echo "$ac_t""yes" 1>&6
7783 echo "$ac_t""no" 1>&6
7787 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7788 echo "configure:7789: checking for --enable-progressdlg" >&5
7790 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7791 if test "${enable_progressdlg+set}" = set; then
7792 enableval
="$enable_progressdlg"
7794 if test "$enableval" = yes; then
7795 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7797 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7802 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7803 if test "x$LINE" != x
; then
7804 eval "DEFAULT_$LINE"
7809 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7814 eval "$ac_cv_use_progressdlg"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7819 if test "$wxUSE_PROGRESSDLG" = yes; then
7820 echo "$ac_t""yes" 1>&6
7822 echo "$ac_t""no" 1>&6
7826 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7827 echo "configure:7828: checking for --enable-wizarddlg" >&5
7829 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7830 if test "${enable_wizarddlg+set}" = set; then
7831 enableval
="$enable_wizarddlg"
7833 if test "$enableval" = yes; then
7834 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7836 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7841 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x
; then
7843 eval "DEFAULT_$LINE"
7848 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7853 eval "$ac_cv_use_wizarddlg"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7858 if test "$wxUSE_WIZARDDLG" = yes; then
7859 echo "$ac_t""yes" 1>&6
7861 echo "$ac_t""no" 1>&6
7867 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7868 echo "configure:7869: checking for --enable-menus" >&5
7870 # Check whether --enable-menus or --disable-menus was given.
7871 if test "${enable_menus+set}" = set; then
7872 enableval
="$enable_menus"
7874 if test "$enableval" = yes; then
7875 ac_cv_use_menus
='wxUSE_MENUS=yes'
7877 ac_cv_use_menus
='wxUSE_MENUS=no'
7882 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x
; then
7884 eval "DEFAULT_$LINE"
7889 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7894 eval "$ac_cv_use_menus"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7899 if test "$wxUSE_MENUS" = yes; then
7900 echo "$ac_t""yes" 1>&6
7902 echo "$ac_t""no" 1>&6
7906 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7907 echo "configure:7908: checking for --enable-miniframe" >&5
7909 # Check whether --enable-miniframe or --disable-miniframe was given.
7910 if test "${enable_miniframe+set}" = set; then
7911 enableval
="$enable_miniframe"
7913 if test "$enableval" = yes; then
7914 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7916 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7921 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x
; then
7923 eval "DEFAULT_$LINE"
7928 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7933 eval "$ac_cv_use_miniframe"
7934 if test "$no_cache" != 1; then
7935 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7938 if test "$wxUSE_MINIFRAME" = yes; then
7939 echo "$ac_t""yes" 1>&6
7941 echo "$ac_t""no" 1>&6
7945 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7946 echo "configure:7947: checking for --enable-tooltips" >&5
7948 # Check whether --enable-tooltips or --disable-tooltips was given.
7949 if test "${enable_tooltips+set}" = set; then
7950 enableval
="$enable_tooltips"
7952 if test "$enableval" = yes; then
7953 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7955 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7960 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7961 if test "x$LINE" != x
; then
7962 eval "DEFAULT_$LINE"
7967 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7972 eval "$ac_cv_use_tooltips"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7977 if test "$wxUSE_TOOLTIPS" = yes; then
7978 echo "$ac_t""yes" 1>&6
7980 echo "$ac_t""no" 1>&6
7984 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7985 echo "configure:7986: checking for --enable-splines" >&5
7987 # Check whether --enable-splines or --disable-splines was given.
7988 if test "${enable_splines+set}" = set; then
7989 enableval
="$enable_splines"
7991 if test "$enableval" = yes; then
7992 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7994 ac_cv_use_splines
='wxUSE_SPLINES=no'
7999 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x
; then
8001 eval "DEFAULT_$LINE"
8006 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8011 eval "$ac_cv_use_splines"
8012 if test "$no_cache" != 1; then
8013 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8016 if test "$wxUSE_SPLINES" = yes; then
8017 echo "$ac_t""yes" 1>&6
8019 echo "$ac_t""no" 1>&6
8023 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
8024 echo "configure:8025: checking for --enable-validators" >&5
8026 # Check whether --enable-validators or --disable-validators was given.
8027 if test "${enable_validators+set}" = set; then
8028 enableval
="$enable_validators"
8030 if test "$enableval" = yes; then
8031 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8033 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8038 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8039 if test "x$LINE" != x
; then
8040 eval "DEFAULT_$LINE"
8045 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8050 eval "$ac_cv_use_validators"
8051 if test "$no_cache" != 1; then
8052 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8055 if test "$wxUSE_VALIDATORS" = yes; then
8056 echo "$ac_t""yes" 1>&6
8058 echo "$ac_t""no" 1>&6
8062 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
8063 echo "configure:8064: checking for --enable-busyinfo" >&5
8065 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8066 if test "${enable_busyinfo+set}" = set; then
8067 enableval
="$enable_busyinfo"
8069 if test "$enableval" = yes; then
8070 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8072 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8077 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8078 if test "x$LINE" != x
; then
8079 eval "DEFAULT_$LINE"
8084 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8089 eval "$ac_cv_use_busyinfo"
8090 if test "$no_cache" != 1; then
8091 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8094 if test "$wxUSE_BUSYINFO" = yes; then
8095 echo "$ac_t""yes" 1>&6
8097 echo "$ac_t""no" 1>&6
8101 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8102 echo "configure:8103: checking for --enable-joystick" >&5
8104 # Check whether --enable-joystick or --disable-joystick was given.
8105 if test "${enable_joystick+set}" = set; then
8106 enableval
="$enable_joystick"
8108 if test "$enableval" = yes; then
8109 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8111 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8116 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8117 if test "x$LINE" != x
; then
8118 eval "DEFAULT_$LINE"
8123 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8128 eval "$ac_cv_use_joystick"
8129 if test "$no_cache" != 1; then
8130 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8133 if test "$wxUSE_JOYSTICK" = yes; then
8134 echo "$ac_t""yes" 1>&6
8136 echo "$ac_t""no" 1>&6
8140 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8141 echo "configure:8142: checking for --enable-metafile" >&5
8143 # Check whether --enable-metafile or --disable-metafile was given.
8144 if test "${enable_metafile+set}" = set; then
8145 enableval
="$enable_metafile"
8147 if test "$enableval" = yes; then
8148 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8150 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8155 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x
; then
8157 eval "DEFAULT_$LINE"
8162 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8167 eval "$ac_cv_use_metafile"
8168 if test "$no_cache" != 1; then
8169 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8172 if test "$wxUSE_METAFILE" = yes; then
8173 echo "$ac_t""yes" 1>&6
8175 echo "$ac_t""no" 1>&6
8179 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8180 echo "configure:8181: checking for --enable-dragimage" >&5
8182 # Check whether --enable-dragimage or --disable-dragimage was given.
8183 if test "${enable_dragimage+set}" = set; then
8184 enableval
="$enable_dragimage"
8186 if test "$enableval" = yes; then
8187 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8189 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8194 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8195 if test "x$LINE" != x
; then
8196 eval "DEFAULT_$LINE"
8201 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8206 eval "$ac_cv_use_dragimage"
8207 if test "$no_cache" != 1; then
8208 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8211 if test "$wxUSE_DRAGIMAGE" = yes; then
8212 echo "$ac_t""yes" 1>&6
8214 echo "$ac_t""no" 1>&6
8220 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8221 echo "configure:8222: checking for --enable-palette" >&5
8223 # Check whether --enable-palette or --disable-palette was given.
8224 if test "${enable_palette+set}" = set; then
8225 enableval
="$enable_palette"
8227 if test "$enableval" = yes; then
8228 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8230 ac_cv_use_palette
='wxUSE_PALETTE=no'
8235 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8236 if test "x$LINE" != x
; then
8237 eval "DEFAULT_$LINE"
8242 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8247 eval "$ac_cv_use_palette"
8248 if test "$no_cache" != 1; then
8249 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8252 if test "$wxUSE_PALETTE" = yes; then
8253 echo "$ac_t""yes" 1>&6
8255 echo "$ac_t""no" 1>&6
8259 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8260 echo "configure:8261: checking for --enable-image" >&5
8262 # Check whether --enable-image or --disable-image was given.
8263 if test "${enable_image+set}" = set; then
8264 enableval
="$enable_image"
8266 if test "$enableval" = yes; then
8267 ac_cv_use_image
='wxUSE_IMAGE=yes'
8269 ac_cv_use_image
='wxUSE_IMAGE=no'
8274 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8275 if test "x$LINE" != x
; then
8276 eval "DEFAULT_$LINE"
8281 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8286 eval "$ac_cv_use_image"
8287 if test "$no_cache" != 1; then
8288 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8291 if test "$wxUSE_IMAGE" = yes; then
8292 echo "$ac_t""yes" 1>&6
8294 echo "$ac_t""no" 1>&6
8298 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8299 echo "configure:8300: checking for --enable-gif" >&5
8301 # Check whether --enable-gif or --disable-gif was given.
8302 if test "${enable_gif+set}" = set; then
8303 enableval
="$enable_gif"
8305 if test "$enableval" = yes; then
8306 ac_cv_use_gif
='wxUSE_GIF=yes'
8308 ac_cv_use_gif
='wxUSE_GIF=no'
8313 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x
; then
8315 eval "DEFAULT_$LINE"
8320 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8325 eval "$ac_cv_use_gif"
8326 if test "$no_cache" != 1; then
8327 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8330 if test "$wxUSE_GIF" = yes; then
8331 echo "$ac_t""yes" 1>&6
8333 echo "$ac_t""no" 1>&6
8337 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8338 echo "configure:8339: checking for --enable-pcx" >&5
8340 # Check whether --enable-pcx or --disable-pcx was given.
8341 if test "${enable_pcx+set}" = set; then
8342 enableval
="$enable_pcx"
8344 if test "$enableval" = yes; then
8345 ac_cv_use_pcx
='wxUSE_PCX=yes'
8347 ac_cv_use_pcx
='wxUSE_PCX=no'
8352 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x
; then
8354 eval "DEFAULT_$LINE"
8359 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8364 eval "$ac_cv_use_pcx"
8365 if test "$no_cache" != 1; then
8366 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8369 if test "$wxUSE_PCX" = yes; then
8370 echo "$ac_t""yes" 1>&6
8372 echo "$ac_t""no" 1>&6
8376 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8377 echo "configure:8378: checking for --enable-iff" >&5
8379 # Check whether --enable-iff or --disable-iff was given.
8380 if test "${enable_iff+set}" = set; then
8381 enableval
="$enable_iff"
8383 if test "$enableval" = yes; then
8384 ac_cv_use_iff
='wxUSE_IFF=yes'
8386 ac_cv_use_iff
='wxUSE_IFF=no'
8391 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x
; then
8393 eval "DEFAULT_$LINE"
8398 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8403 eval "$ac_cv_use_iff"
8404 if test "$no_cache" != 1; then
8405 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8408 if test "$wxUSE_IFF" = yes; then
8409 echo "$ac_t""yes" 1>&6
8411 echo "$ac_t""no" 1>&6
8415 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8416 echo "configure:8417: checking for --enable-pnm" >&5
8418 # Check whether --enable-pnm or --disable-pnm was given.
8419 if test "${enable_pnm+set}" = set; then
8420 enableval
="$enable_pnm"
8422 if test "$enableval" = yes; then
8423 ac_cv_use_pnm
='wxUSE_PNM=yes'
8425 ac_cv_use_pnm
='wxUSE_PNM=no'
8430 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8431 if test "x$LINE" != x
; then
8432 eval "DEFAULT_$LINE"
8437 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8442 eval "$ac_cv_use_pnm"
8443 if test "$no_cache" != 1; then
8444 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8447 if test "$wxUSE_PNM" = yes; then
8448 echo "$ac_t""yes" 1>&6
8450 echo "$ac_t""no" 1>&6
8454 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8455 echo "configure:8456: checking for --enable-xpm" >&5
8457 # Check whether --enable-xpm or --disable-xpm was given.
8458 if test "${enable_xpm+set}" = set; then
8459 enableval
="$enable_xpm"
8461 if test "$enableval" = yes; then
8462 ac_cv_use_xpm
='wxUSE_XPM=yes'
8464 ac_cv_use_xpm
='wxUSE_XPM=no'
8469 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8470 if test "x$LINE" != x
; then
8471 eval "DEFAULT_$LINE"
8476 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8481 eval "$ac_cv_use_xpm"
8482 if test "$no_cache" != 1; then
8483 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8486 if test "$wxUSE_XPM" = yes; then
8487 echo "$ac_t""yes" 1>&6
8489 echo "$ac_t""no" 1>&6
8493 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8494 echo "configure:8495: checking for --enable-ico_cur" >&5
8496 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8497 if test "${enable_ico_cur+set}" = set; then
8498 enableval
="$enable_ico_cur"
8500 if test "$enableval" = yes; then
8501 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8503 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8508 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x
; then
8510 eval "DEFAULT_$LINE"
8515 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8520 eval "$ac_cv_use_ico_cur"
8521 if test "$no_cache" != 1; then
8522 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8525 if test "$wxUSE_ICO_CUR" = yes; then
8526 echo "$ac_t""yes" 1>&6
8528 echo "$ac_t""no" 1>&6
8535 *-pc-os2_emx | *-pc-os2-emx )
8547 echo "saving argument cache $wx_arg_cache_file"
8548 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8552 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8553 echo "configure:8554: checking for toolkit" >&5
8555 if test "$wxUSE_GUI" = "yes"; then
8557 if test "$USE_BEOS" = 1; then
8558 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8561 if test "$TOOLKIT_GIVEN" = 1; then
8562 for toolkit
in `echo $ALL_TOOLKITS`; do
8564 eval "value=\$${var}"
8565 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8568 for toolkit
in `echo $ALL_TOOLKITS`; do
8569 if test "$has_toolkit_in_cache" != 1; then
8570 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8572 var
=DEFAULT_wxUSE_
$toolkit
8574 eval "wxUSE_$toolkit=\$${var}"
8578 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8579 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8582 *-pc-os2_emx | *-pc-os2-emx )
8583 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8586 case "$NUM_TOOLKITS" in
8590 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8593 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8596 for toolkit
in `echo $ALL_TOOLKITS`; do
8598 eval "value=\$${var}"
8599 if test "x$value" != x
; then
8600 cache_var
=CACHE_
$toolkit
8601 eval "cache=\$${cache_var}"
8602 if test "$cache" = 1; then
8603 echo "$var=$value" >> ${wx_arg_cache_file}
8605 if test "$value" = 1; then
8606 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8607 echo "$ac_t""$toolkit_echo" 1>&6
8612 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8616 *-pc-os2_emx | *-pc-os2-emx )
8617 LIBS
="$LIBS -lstdcpp"
8618 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
8619 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
8620 echo "configure:8621: checking for drand48 in -lcExt" >&5
8621 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
8622 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8623 echo $ac_n "(cached) $ac_c" 1>&6
8625 ac_save_LIBS
="$LIBS"
8627 cat > conftest.
$ac_ext <<EOF
8628 #line 8629 "configure"
8629 #include "confdefs.h"
8630 /* Override any gcc2 internal prototype to avoid an error. */
8631 /* We use char because int might match the return type of a gcc2
8632 builtin and then its argument prototype would still apply. */
8639 if { (eval echo configure
:8640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8641 eval "ac_cv_lib_$ac_lib_var=yes"
8643 echo "configure: failed program was:" >&5
8644 cat conftest.
$ac_ext >&5
8646 eval "ac_cv_lib_$ac_lib_var=no"
8649 LIBS
="$ac_save_LIBS"
8652 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8653 echo "$ac_t""yes" 1>&6
8656 echo "$ac_t""no" 1>&6
8660 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
8669 if test "$wxUSE_MSW" = 1 ; then
8680 if test "$wants_win32" = 1 ; then
8683 cat >> confdefs.h
<<\EOF
8687 cat >> confdefs.h
<<\EOF
8691 cat >> confdefs.h
<<\EOF
8692 #define __WINDOWS__ 1
8695 cat >> confdefs.h
<<\EOF
8696 #define __GNUWIN32__ 1
8699 cat >> confdefs.h
<<\EOF
8703 cat >> confdefs.h
<<\EOF
8704 #define WINVER 0x0400
8708 if test "$doesnt_want_win32" = 1 ; then
8713 if test "$USE_UNIX" = 1 ; then
8715 cat >> confdefs.h
<<\EOF
8722 cat > confcache
<<\EOF
8723 # This file is a shell script that caches the results of configure
8724 # tests run on this system so they can be shared between configure
8725 # scripts and configure runs. It is not useful on other systems.
8726 # If it contains results you don't want to keep, you may remove or edit it.
8728 # By default, configure uses ./config.cache as the cache file,
8729 # creating it if it does not exist already. You can give configure
8730 # the --cache-file=FILE option to use a different cache file; that is
8731 # what configure does when it calls configure scripts in
8732 # subdirectories, so they share the cache.
8733 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8734 # config.status only pays attention to the cache file if you give it the
8735 # --recheck option to rerun configure.
8738 # The following way of writing the cache mishandles newlines in values,
8739 # but we know of no workaround that is simple, portable, and efficient.
8740 # So, don't put newlines in cache variables' values.
8741 # Ultrix sh set writes to stderr and can't be redirected directly,
8742 # and sets the high bit in the cache file unless we assign to the vars.
8744 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8746 # `set' does not quote correctly, so add quotes (double-quote substitution
8747 # turns \\\\ into \\, and sed turns \\ into \).
8749 -e "s/'/'\\\\''/g" \
8750 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8753 # `set' quotes correctly as required by POSIX, so do not add quotes.
8754 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8757 if cmp -s $cache_file confcache
; then
8760 if test -w $cache_file; then
8761 echo "updating cache $cache_file"
8762 cat confcache
> $cache_file
8764 echo "not updating unwritable cache $cache_file"
8770 if test "$build" != "$host" ; then
8771 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8775 RANLIB
=$host_alias-ranlib
8776 DLLTOOL
=$host_alias-dlltool
8777 RESCOMP
=$host_alias-windres
8780 STRIP
=$host_alias-strip
8782 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8787 # Extract the first word of "gcc", so it can be a program name with args.
8788 set dummy gcc
; ac_word
=$2
8789 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8790 echo "configure:8791: checking for $ac_word" >&5
8791 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8792 echo $ac_n "(cached) $ac_c" 1>&6
8794 if test -n "$CC"; then
8795 ac_cv_prog_CC
="$CC" # Let the user override the test.
8797 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8799 for ac_dir
in $ac_dummy; do
8800 test -z "$ac_dir" && ac_dir
=.
8801 if test -f $ac_dir/$ac_word; then
8810 if test -n "$CC"; then
8811 echo "$ac_t""$CC" 1>&6
8813 echo "$ac_t""no" 1>&6
8816 if test -z "$CC"; then
8817 # Extract the first word of "cc", so it can be a program name with args.
8818 set dummy cc
; ac_word
=$2
8819 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8820 echo "configure:8821: checking for $ac_word" >&5
8821 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8822 echo $ac_n "(cached) $ac_c" 1>&6
8824 if test -n "$CC"; then
8825 ac_cv_prog_CC
="$CC" # Let the user override the test.
8827 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8830 for ac_dir
in $ac_dummy; do
8831 test -z "$ac_dir" && ac_dir
=.
8832 if test -f $ac_dir/$ac_word; then
8833 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8834 ac_prog_rejected
=yes
8842 if test $ac_prog_rejected = yes; then
8843 # We found a bogon in the path, so make sure we never use it.
8844 set dummy
$ac_cv_prog_CC
8846 if test $# -gt 0; then
8847 # We chose a different compiler from the bogus one.
8848 # However, it has the same basename, so the bogon will be chosen
8849 # first if we set CC to just the basename; use the full file name.
8851 set dummy
"$ac_dir/$ac_word" "$@"
8859 if test -n "$CC"; then
8860 echo "$ac_t""$CC" 1>&6
8862 echo "$ac_t""no" 1>&6
8865 if test -z "$CC"; then
8866 case "`uname -s`" in
8868 # Extract the first word of "cl", so it can be a program name with args.
8869 set dummy cl
; ac_word
=$2
8870 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8871 echo "configure:8872: checking for $ac_word" >&5
8872 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8873 echo $ac_n "(cached) $ac_c" 1>&6
8875 if test -n "$CC"; then
8876 ac_cv_prog_CC
="$CC" # Let the user override the test.
8878 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8880 for ac_dir
in $ac_dummy; do
8881 test -z "$ac_dir" && ac_dir
=.
8882 if test -f $ac_dir/$ac_word; then
8891 if test -n "$CC"; then
8892 echo "$ac_t""$CC" 1>&6
8894 echo "$ac_t""no" 1>&6
8899 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8902 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8903 echo "configure:8904: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8907 ac_cpp
='$CPP $CPPFLAGS'
8908 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8909 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8910 cross_compiling
=$ac_cv_prog_cc_cross
8912 cat > conftest.
$ac_ext << EOF
8914 #line 8915 "configure"
8915 #include "confdefs.h"
8919 if { (eval echo configure
:8920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8920 ac_cv_prog_cc_works
=yes
8921 # If we can't run a trivial program, we are probably using a cross compiler.
8922 if (.
/conftest
; exit) 2>/dev
/null
; then
8923 ac_cv_prog_cc_cross
=no
8925 ac_cv_prog_cc_cross
=yes
8928 echo "configure: failed program was:" >&5
8929 cat conftest.
$ac_ext >&5
8930 ac_cv_prog_cc_works
=no
8934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8935 ac_cpp
='$CPP $CPPFLAGS'
8936 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8937 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8938 cross_compiling
=$ac_cv_prog_cc_cross
8940 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8941 if test $ac_cv_prog_cc_works = no
; then
8942 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8944 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8945 echo "configure:8946: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8946 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8947 cross_compiling
=$ac_cv_prog_cc_cross
8949 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8950 echo "configure:8951: checking whether we are using GNU C" >&5
8951 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8952 echo $ac_n "(cached) $ac_c" 1>&6
8954 cat > conftest.c
<<EOF
8959 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8966 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8968 if test $ac_cv_prog_gcc = yes; then
8974 ac_test_CFLAGS
="${CFLAGS+set}"
8975 ac_save_CFLAGS
="$CFLAGS"
8977 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8978 echo "configure:8979: checking whether ${CC-cc} accepts -g" >&5
8979 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8980 echo $ac_n "(cached) $ac_c" 1>&6
8982 echo 'void f(){}' > conftest.c
8983 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8992 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8993 if test "$ac_test_CFLAGS" = set; then
8994 CFLAGS
="$ac_save_CFLAGS"
8995 elif test $ac_cv_prog_cc_g = yes; then
8996 if test "$GCC" = yes; then
9002 if test "$GCC" = yes; then
9010 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9011 echo "configure:9012: checking how to run the C preprocessor" >&5
9012 # On Suns, sometimes $CPP names a directory.
9013 if test -n "$CPP" && test -d "$CPP"; then
9016 if test -z "$CPP"; then
9017 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9018 echo $ac_n "(cached) $ac_c" 1>&6
9020 # This must be in double quotes, not single quotes, because CPP may get
9021 # substituted into the Makefile and "${CC-cc}" will confuse make.
9023 # On the NeXT, cc -E runs the code through the compiler's parser,
9024 # not just through cpp.
9025 cat > conftest.
$ac_ext <<EOF
9026 #line 9027 "configure"
9027 #include "confdefs.h"
9031 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9032 { (eval echo configure
:9033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9033 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9034 if test -z "$ac_err"; then
9038 echo "configure: failed program was:" >&5
9039 cat conftest.
$ac_ext >&5
9041 CPP
="${CC-cc} -E -traditional-cpp"
9042 cat > conftest.
$ac_ext <<EOF
9043 #line 9044 "configure"
9044 #include "confdefs.h"
9048 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9049 { (eval echo configure
:9050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9050 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9051 if test -z "$ac_err"; then
9055 echo "configure: failed program was:" >&5
9056 cat conftest.
$ac_ext >&5
9058 CPP
="${CC-cc} -nologo -E"
9059 cat > conftest.
$ac_ext <<EOF
9060 #line 9061 "configure"
9061 #include "confdefs.h"
9065 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9066 { (eval echo configure
:9067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9067 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9068 if test -z "$ac_err"; then
9072 echo "configure: failed program was:" >&5
9073 cat conftest.
$ac_ext >&5
9082 ac_cv_prog_CPP
="$CPP"
9084 CPP
="$ac_cv_prog_CPP"
9086 ac_cv_prog_CPP
="$CPP"
9088 echo "$ac_t""$CPP" 1>&6
9090 if test $ac_cv_prog_gcc = yes; then
9091 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9092 echo "configure:9093: checking whether ${CC-cc} needs -traditional" >&5
9093 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9094 echo $ac_n "(cached) $ac_c" 1>&6
9096 ac_pattern
="Autoconf.*'x'"
9097 cat > conftest.
$ac_ext <<EOF
9098 #line 9099 "configure"
9099 #include "confdefs.h"
9103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9104 egrep "$ac_pattern" >/dev
/null
2>&1; then
9106 ac_cv_prog_gcc_traditional
=yes
9109 ac_cv_prog_gcc_traditional
=no
9114 if test $ac_cv_prog_gcc_traditional = no
; then
9115 cat > conftest.
$ac_ext <<EOF
9116 #line 9117 "configure"
9117 #include "confdefs.h"
9121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9122 egrep "$ac_pattern" >/dev
/null
2>&1; then
9124 ac_cv_prog_gcc_traditional
=yes
9131 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9132 if test $ac_cv_prog_gcc_traditional = yes; then
9133 CC
="$CC -traditional"
9140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9141 ac_cpp
='$CXXCPP $CPPFLAGS'
9142 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9143 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9144 cross_compiling
=$ac_cv_prog_cxx_cross
9147 CXXFLAGS
=${CXXFLAGS:=}
9148 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9150 # Extract the first word of "$ac_prog", so it can be a program name with args.
9151 set dummy
$ac_prog; ac_word
=$2
9152 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9153 echo "configure:9154: checking for $ac_word" >&5
9154 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9155 echo $ac_n "(cached) $ac_c" 1>&6
9157 if test -n "$CXX"; then
9158 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9160 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9162 for ac_dir
in $ac_dummy; do
9163 test -z "$ac_dir" && ac_dir
=.
9164 if test -f $ac_dir/$ac_word; then
9165 ac_cv_prog_CXX
="$ac_prog"
9172 CXX
="$ac_cv_prog_CXX"
9173 if test -n "$CXX"; then
9174 echo "$ac_t""$CXX" 1>&6
9176 echo "$ac_t""no" 1>&6
9179 test -n "$CXX" && break
9181 test -n "$CXX" || CXX
="gcc"
9184 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9185 echo "configure:9186: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9188 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9189 ac_cpp
='$CXXCPP $CPPFLAGS'
9190 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9191 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9192 cross_compiling
=$ac_cv_prog_cxx_cross
9194 cat > conftest.
$ac_ext << EOF
9196 #line 9197 "configure"
9197 #include "confdefs.h"
9199 int main(){return(0);}
9201 if { (eval echo configure
:9202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9202 ac_cv_prog_cxx_works
=yes
9203 # If we can't run a trivial program, we are probably using a cross compiler.
9204 if (.
/conftest
; exit) 2>/dev
/null
; then
9205 ac_cv_prog_cxx_cross
=no
9207 ac_cv_prog_cxx_cross
=yes
9210 echo "configure: failed program was:" >&5
9211 cat conftest.
$ac_ext >&5
9212 ac_cv_prog_cxx_works
=no
9216 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9217 ac_cpp
='$CXXCPP $CPPFLAGS'
9218 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9219 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9220 cross_compiling
=$ac_cv_prog_cxx_cross
9222 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9223 if test $ac_cv_prog_cxx_works = no
; then
9224 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9226 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9227 echo "configure:9228: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9228 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9229 cross_compiling
=$ac_cv_prog_cxx_cross
9231 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9232 echo "configure:9233: checking whether we are using GNU C++" >&5
9233 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9234 echo $ac_n "(cached) $ac_c" 1>&6
9236 cat > conftest.C
<<EOF
9241 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9248 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9250 if test $ac_cv_prog_gxx = yes; then
9256 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9257 ac_save_CXXFLAGS
="$CXXFLAGS"
9259 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9260 echo "configure:9261: checking whether ${CXX-g++} accepts -g" >&5
9261 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9262 echo $ac_n "(cached) $ac_c" 1>&6
9264 echo 'void f(){}' > conftest.cc
9265 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9266 ac_cv_prog_cxx_g
=yes
9274 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9275 if test "$ac_test_CXXFLAGS" = set; then
9276 CXXFLAGS
="$ac_save_CXXFLAGS"
9277 elif test $ac_cv_prog_cxx_g = yes; then
9278 if test "$GXX" = yes; then
9284 if test "$GXX" = yes; then
9293 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9294 ac_cpp
='$CPP $CPPFLAGS'
9295 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9296 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9297 cross_compiling
=$ac_cv_prog_cc_cross
9300 # Extract the first word of "ranlib", so it can be a program name with args.
9301 set dummy ranlib
; ac_word
=$2
9302 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9303 echo "configure:9304: checking for $ac_word" >&5
9304 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9305 echo $ac_n "(cached) $ac_c" 1>&6
9307 if test -n "$RANLIB"; then
9308 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9310 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9312 for ac_dir
in $ac_dummy; do
9313 test -z "$ac_dir" && ac_dir
=.
9314 if test -f $ac_dir/$ac_word; then
9315 ac_cv_prog_RANLIB
="ranlib"
9320 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9323 RANLIB
="$ac_cv_prog_RANLIB"
9324 if test -n "$RANLIB"; then
9325 echo "$ac_t""$RANLIB" 1>&6
9327 echo "$ac_t""no" 1>&6
9331 # Extract the first word of "ar", so it can be a program name with args.
9332 set dummy
ar; ac_word
=$2
9333 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9334 echo "configure:9335: checking for $ac_word" >&5
9335 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9336 echo $ac_n "(cached) $ac_c" 1>&6
9338 if test -n "$AR"; then
9339 ac_cv_prog_AR
="$AR" # Let the user override the test.
9341 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9343 for ac_dir
in $ac_dummy; do
9344 test -z "$ac_dir" && ac_dir
=.
9345 if test -f $ac_dir/$ac_word; then
9351 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9355 if test -n "$AR"; then
9356 echo "$ac_t""$AR" 1>&6
9358 echo "$ac_t""no" 1>&6
9362 # Find a good install program. We prefer a C program (faster),
9363 # so one script is as good as another. But avoid the broken or
9364 # incompatible versions:
9365 # SysV /etc/install, /usr/sbin/install
9366 # SunOS /usr/etc/install
9367 # IRIX /sbin/install
9369 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9370 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9371 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9372 # ./install, which can be erroneously created by make from ./install.sh.
9373 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9374 echo "configure:9375: checking for a BSD compatible install" >&5
9375 if test -z "$INSTALL"; then
9376 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9377 echo $ac_n "(cached) $ac_c" 1>&6
9379 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9380 for ac_dir
in $PATH; do
9381 # Account for people who put trailing slashes in PATH elements.
9383 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9385 # OSF1 and SCO ODT 3.0 have their own names for install.
9386 # Don't use installbsd from OSF since it installs stuff as root
9388 for ac_prog
in ginstall scoinst
install; do
9389 if test -f $ac_dir/$ac_prog; then
9390 if test $ac_prog = install &&
9391 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9392 # AIX install. It has an incompatible calling convention.
9395 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9406 if test "${ac_cv_path_install+set}" = set; then
9407 INSTALL
="$ac_cv_path_install"
9409 # As a last resort, use the slow shell script. We don't cache a
9410 # path for INSTALL within a source directory, because that will
9411 # break other packages using the cache if that directory is
9412 # removed, or if the path is relative.
9413 INSTALL
="$ac_install_sh"
9416 echo "$ac_t""$INSTALL" 1>&6
9418 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9419 # It thinks the first close brace ends the variable substitution.
9420 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9422 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9424 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9431 INSTALL
=`pwd`/${INSTALL} ;;
9438 INSTALL_PROGRAM
="cp -fp"
9439 INSTALL_DATA
="cp -fp"
9445 # Extract the first word of "strip", so it can be a program name with args.
9446 set dummy strip
; ac_word
=$2
9447 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9448 echo "configure:9449: checking for $ac_word" >&5
9449 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9450 echo $ac_n "(cached) $ac_c" 1>&6
9452 if test -n "$STRIP"; then
9453 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9455 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9457 for ac_dir
in $ac_dummy; do
9458 test -z "$ac_dir" && ac_dir
=.
9459 if test -f $ac_dir/$ac_word; then
9460 ac_cv_prog_STRIP
="strip"
9465 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9468 STRIP
="$ac_cv_prog_STRIP"
9469 if test -n "$STRIP"; then
9470 echo "$ac_t""$STRIP" 1>&6
9472 echo "$ac_t""no" 1>&6
9476 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9477 echo "configure:9478: checking if make is GNU make" >&5
9478 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9479 echo $ac_n "(cached) $ac_c" 1>&6
9482 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9483 egrep -s GNU
> /dev
/null
); then
9484 wx_cv_prog_makeisgnu
="yes"
9486 wx_cv_prog_makeisgnu
="no"
9491 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9493 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9501 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9502 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9503 echo "configure:9504: checking if make supports VPATH" >&5
9504 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9505 echo $ac_n "(cached) $ac_c" 1>&6
9508 cat - << EOF > confMake
9514 if test ! -d sub
; then
9517 echo dummy
> sub
/file
9518 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9520 rm -f sub
/file check final_file confMake
9522 if test "$RESULT" = 0; then
9523 wx_cv_prog_makevpath
="yes"
9525 wx_cv_prog_makevpath
="no"
9530 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9532 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9533 { echo "configure: error:
9534 You need a make-utility that is able to use the variable
9536 If your version of make does not support VPATH correctly,
9537 please install GNU-make (possibly as gmake), and start
9538 configure with the following command:
9539 export MAKE=gmake; ./configure for sh-type shells
9540 setenv MAKE gmake; ./configure for csh-type shells
9541 Also please do remember to use gmake in this case every time
9542 you are trying to compile.
9545 for ac_prog
in 'bison -y' byacc
9547 # Extract the first word of "$ac_prog", so it can be a program name with args.
9548 set dummy
$ac_prog; ac_word
=$2
9549 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9550 echo "configure:9551: checking for $ac_word" >&5
9551 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9552 echo $ac_n "(cached) $ac_c" 1>&6
9554 if test -n "$YACC"; then
9555 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9557 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9559 for ac_dir
in $ac_dummy; do
9560 test -z "$ac_dir" && ac_dir
=.
9561 if test -f $ac_dir/$ac_word; then
9562 ac_cv_prog_YACC
="$ac_prog"
9569 YACC
="$ac_cv_prog_YACC"
9570 if test -n "$YACC"; then
9571 echo "$ac_t""$YACC" 1>&6
9573 echo "$ac_t""no" 1>&6
9576 test -n "$YACC" && break
9578 test -n "$YACC" || YACC
="yacc"
9581 # Extract the first word of "flex", so it can be a program name with args.
9582 set dummy flex
; ac_word
=$2
9583 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9584 echo "configure:9585: checking for $ac_word" >&5
9585 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9586 echo $ac_n "(cached) $ac_c" 1>&6
9588 if test -n "$LEX"; then
9589 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9591 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9593 for ac_dir
in $ac_dummy; do
9594 test -z "$ac_dir" && ac_dir
=.
9595 if test -f $ac_dir/$ac_word; then
9596 ac_cv_prog_LEX
="flex"
9601 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9604 LEX
="$ac_cv_prog_LEX"
9605 if test -n "$LEX"; then
9606 echo "$ac_t""$LEX" 1>&6
9608 echo "$ac_t""no" 1>&6
9611 if test -z "$LEXLIB"
9617 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9618 echo "configure:9619: checking for yywrap in -l$ac_lib" >&5
9619 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9620 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9621 echo $ac_n "(cached) $ac_c" 1>&6
9623 ac_save_LIBS
="$LIBS"
9624 LIBS
="-l$ac_lib $LIBS"
9625 cat > conftest.
$ac_ext <<EOF
9626 #line 9627 "configure"
9627 #include "confdefs.h"
9628 /* Override any gcc2 internal prototype to avoid an error. */
9629 /* We use char because int might match the return type of a gcc2
9630 builtin and then its argument prototype would still apply. */
9637 if { (eval echo configure
:9638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9639 eval "ac_cv_lib_$ac_lib_var=yes"
9641 echo "configure: failed program was:" >&5
9642 cat conftest.
$ac_ext >&5
9644 eval "ac_cv_lib_$ac_lib_var=no"
9647 LIBS
="$ac_save_LIBS"
9650 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9651 echo "$ac_t""yes" 1>&6
9654 echo "$ac_t""no" 1>&6
9660 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9661 echo "configure:9662: checking whether ln -s works" >&5
9662 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9663 echo $ac_n "(cached) $ac_c" 1>&6
9666 if ln -s X conftestdata
2>/dev
/null
9669 ac_cv_prog_LN_S
="ln -s"
9674 LN_S
="$ac_cv_prog_LN_S"
9675 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9676 echo "$ac_t""yes" 1>&6
9678 echo "$ac_t""no" 1>&6
9683 if test "$wxUSE_MAC" != 1; then
9684 for ac_hdr
in strings.h
9686 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9687 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9688 echo "configure:9689: checking for $ac_hdr" >&5
9689 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9690 echo $ac_n "(cached) $ac_c" 1>&6
9692 cat > conftest.
$ac_ext <<EOF
9693 #line 9694 "configure"
9694 #include "confdefs.h"
9697 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9698 { (eval echo configure
:9699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9699 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9700 if test -z "$ac_err"; then
9702 eval "ac_cv_header_$ac_safe=yes"
9705 echo "configure: failed program was:" >&5
9706 cat conftest.
$ac_ext >&5
9708 eval "ac_cv_header_$ac_safe=no"
9712 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9713 echo "$ac_t""yes" 1>&6
9714 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9715 cat >> confdefs.h
<<EOF
9716 #define $ac_tr_hdr 1
9720 echo "$ac_t""no" 1>&6
9726 for ac_hdr
in stdlib.h
9728 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9729 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9730 echo "configure:9731: checking for $ac_hdr" >&5
9731 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9732 echo $ac_n "(cached) $ac_c" 1>&6
9734 cat > conftest.
$ac_ext <<EOF
9735 #line 9736 "configure"
9736 #include "confdefs.h"
9739 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9740 { (eval echo configure
:9741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9741 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9742 if test -z "$ac_err"; then
9744 eval "ac_cv_header_$ac_safe=yes"
9747 echo "configure: failed program was:" >&5
9748 cat conftest.
$ac_ext >&5
9750 eval "ac_cv_header_$ac_safe=no"
9754 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9755 echo "$ac_t""yes" 1>&6
9756 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9757 cat >> confdefs.h
<<EOF
9758 #define $ac_tr_hdr 1
9762 echo "$ac_t""no" 1>&6
9766 for ac_hdr
in malloc.h
9768 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9769 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9770 echo "configure:9771: checking for $ac_hdr" >&5
9771 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9772 echo $ac_n "(cached) $ac_c" 1>&6
9774 cat > conftest.
$ac_ext <<EOF
9775 #line 9776 "configure"
9776 #include "confdefs.h"
9779 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9780 { (eval echo configure
:9781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9781 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9782 if test -z "$ac_err"; then
9784 eval "ac_cv_header_$ac_safe=yes"
9787 echo "configure: failed program was:" >&5
9788 cat conftest.
$ac_ext >&5
9790 eval "ac_cv_header_$ac_safe=no"
9794 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9795 echo "$ac_t""yes" 1>&6
9796 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9797 cat >> confdefs.h
<<EOF
9798 #define $ac_tr_hdr 1
9802 echo "$ac_t""no" 1>&6
9806 for ac_hdr
in unistd.h
9808 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9809 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9810 echo "configure:9811: checking for $ac_hdr" >&5
9811 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9812 echo $ac_n "(cached) $ac_c" 1>&6
9814 cat > conftest.
$ac_ext <<EOF
9815 #line 9816 "configure"
9816 #include "confdefs.h"
9819 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9820 { (eval echo configure
:9821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9821 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9822 if test -z "$ac_err"; then
9824 eval "ac_cv_header_$ac_safe=yes"
9827 echo "configure: failed program was:" >&5
9828 cat conftest.
$ac_ext >&5
9830 eval "ac_cv_header_$ac_safe=no"
9834 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9835 echo "$ac_t""yes" 1>&6
9836 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9837 cat >> confdefs.h
<<EOF
9838 #define $ac_tr_hdr 1
9842 echo "$ac_t""no" 1>&6
9846 for ac_hdr
in wchar.h
9848 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9849 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9850 echo "configure:9851: checking for $ac_hdr" >&5
9851 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9852 echo $ac_n "(cached) $ac_c" 1>&6
9854 cat > conftest.
$ac_ext <<EOF
9855 #line 9856 "configure"
9856 #include "confdefs.h"
9859 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9860 { (eval echo configure
:9861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9861 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9862 if test -z "$ac_err"; then
9864 eval "ac_cv_header_$ac_safe=yes"
9867 echo "configure: failed program was:" >&5
9868 cat conftest.
$ac_ext >&5
9870 eval "ac_cv_header_$ac_safe=no"
9874 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9875 echo "$ac_t""yes" 1>&6
9876 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9877 cat >> confdefs.h
<<EOF
9878 #define $ac_tr_hdr 1
9882 echo "$ac_t""no" 1>&6
9887 if test "$ac_cv_header_wchar_h" != "yes"; then
9888 for ac_hdr
in wcstr.h
9890 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9891 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9892 echo "configure:9893: checking for $ac_hdr" >&5
9893 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9894 echo $ac_n "(cached) $ac_c" 1>&6
9896 cat > conftest.
$ac_ext <<EOF
9897 #line 9898 "configure"
9898 #include "confdefs.h"
9901 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9902 { (eval echo configure
:9903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9903 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9904 if test -z "$ac_err"; then
9906 eval "ac_cv_header_$ac_safe=yes"
9909 echo "configure: failed program was:" >&5
9910 cat conftest.
$ac_ext >&5
9912 eval "ac_cv_header_$ac_safe=no"
9916 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9917 echo "$ac_t""yes" 1>&6
9918 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9919 cat >> confdefs.h
<<EOF
9920 #define $ac_tr_hdr 1
9924 echo "$ac_t""no" 1>&6
9930 for ac_hdr
in fnmatch.h
9932 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9933 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9934 echo "configure:9935: checking for $ac_hdr" >&5
9935 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9936 echo $ac_n "(cached) $ac_c" 1>&6
9938 cat > conftest.
$ac_ext <<EOF
9939 #line 9940 "configure"
9940 #include "confdefs.h"
9943 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9944 { (eval echo configure
:9945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9945 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9946 if test -z "$ac_err"; then
9948 eval "ac_cv_header_$ac_safe=yes"
9951 echo "configure: failed program was:" >&5
9952 cat conftest.
$ac_ext >&5
9954 eval "ac_cv_header_$ac_safe=no"
9958 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9959 echo "$ac_t""yes" 1>&6
9960 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9961 cat >> confdefs.h
<<EOF
9962 #define $ac_tr_hdr 1
9966 echo "$ac_t""no" 1>&6
9971 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9972 for ac_func
in fnmatch
9974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9975 echo "configure:9976: checking for $ac_func" >&5
9976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9977 echo $ac_n "(cached) $ac_c" 1>&6
9979 cat > conftest.
$ac_ext <<EOF
9980 #line 9981 "configure"
9981 #include "confdefs.h"
9982 /* System header to define __stub macros and hopefully few prototypes,
9983 which can conflict with char $ac_func(); below. */
9985 /* Override any gcc2 internal prototype to avoid an error. */
9986 /* We use char because int might match the return type of a gcc2
9987 builtin and then its argument prototype would still apply. */
9992 /* The GNU C library defines this for functions which it implements
9993 to always fail with ENOSYS. Some functions are actually named
9994 something starting with __ and the normal name is an alias. */
9995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10003 if { (eval echo configure
:10004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10005 eval "ac_cv_func_$ac_func=yes"
10007 echo "configure: failed program was:" >&5
10008 cat conftest.
$ac_ext >&5
10010 eval "ac_cv_func_$ac_func=no"
10015 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10016 echo "$ac_t""yes" 1>&6
10017 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10018 cat >> confdefs.h
<<EOF
10019 #define $ac_tr_func 1
10023 echo "$ac_t""no" 1>&6
10029 for ac_hdr
in langinfo.h
10031 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10032 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10033 echo "configure:10034: checking for $ac_hdr" >&5
10034 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10035 echo $ac_n "(cached) $ac_c" 1>&6
10037 cat > conftest.
$ac_ext <<EOF
10038 #line 10039 "configure"
10039 #include "confdefs.h"
10042 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10043 { (eval echo configure
:10044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10044 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10045 if test -z "$ac_err"; then
10047 eval "ac_cv_header_$ac_safe=yes"
10050 echo "configure: failed program was:" >&5
10051 cat conftest.
$ac_ext >&5
10053 eval "ac_cv_header_$ac_safe=no"
10057 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10058 echo "$ac_t""yes" 1>&6
10059 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10060 cat >> confdefs.h
<<EOF
10061 #define $ac_tr_hdr 1
10065 echo "$ac_t""no" 1>&6
10070 if test "$wxUSE_GUI" = "yes"; then
10071 if test "$wxUSE_UNIX" = "yes"; then
10072 for ac_hdr
in X
11/XKBlib.h
10074 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10075 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10076 echo "configure:10077: checking for $ac_hdr" >&5
10077 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10078 echo $ac_n "(cached) $ac_c" 1>&6
10080 cat > conftest.
$ac_ext <<EOF
10081 #line 10082 "configure"
10082 #include "confdefs.h"
10085 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10086 { (eval echo configure
:10087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10087 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10088 if test -z "$ac_err"; then
10090 eval "ac_cv_header_$ac_safe=yes"
10093 echo "configure: failed program was:" >&5
10094 cat conftest.
$ac_ext >&5
10096 eval "ac_cv_header_$ac_safe=no"
10100 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10101 echo "$ac_t""yes" 1>&6
10102 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10103 cat >> confdefs.h
<<EOF
10104 #define $ac_tr_hdr 1
10108 echo "$ac_t""no" 1>&6
10116 echo $ac_n "checking for working const""... $ac_c" 1>&6
10117 echo "configure:10118: checking for working const" >&5
10118 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10119 echo $ac_n "(cached) $ac_c" 1>&6
10121 cat > conftest.
$ac_ext <<EOF
10122 #line 10123 "configure"
10123 #include "confdefs.h"
10127 /* Ultrix mips cc rejects this. */
10128 typedef int charset[2]; const charset x;
10129 /* SunOS 4.1.1 cc rejects this. */
10130 char const *const *ccp;
10132 /* NEC SVR4.0.2 mips cc rejects this. */
10133 struct point {int x, y;};
10134 static struct point const zero = {0,0};
10135 /* AIX XL C 1.02.0.0 rejects this.
10136 It does not let you subtract one const X* pointer from another in an arm
10137 of an if-expression whose if-part is not a constant expression */
10138 const char *g = "string";
10139 ccp = &g + (g ? g-g : 0);
10140 /* HPUX 7.0 cc rejects these. */
10143 ccp = (char const *const *) p;
10144 { /* SCO 3.2v4 cc rejects this. */
10146 char const *s = 0 ? (char *) 0 : (char const *) 0;
10150 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10151 int x[] = {25, 17};
10152 const int *foo = &x[0];
10155 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10156 typedef const int *iptr;
10160 { /* AIX XL C 1.02.0.0 rejects this saying
10161 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10162 struct s { int j; const int *ap[3]; };
10163 struct s *b; b->j = 5;
10165 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10166 const int foo = 10;
10171 if { (eval echo configure
:10172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10175 echo "configure: failed program was:" >&5
10176 cat conftest.
$ac_ext >&5
10183 echo "$ac_t""$ac_cv_c_const" 1>&6
10184 if test $ac_cv_c_const = no
; then
10185 cat >> confdefs.h
<<\EOF
10191 echo $ac_n "checking for inline""... $ac_c" 1>&6
10192 echo "configure:10193: checking for inline" >&5
10193 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10194 echo $ac_n "(cached) $ac_c" 1>&6
10197 for ac_kw
in inline __inline__ __inline
; do
10198 cat > conftest.
$ac_ext <<EOF
10199 #line 10200 "configure"
10200 #include "confdefs.h"
10206 if { (eval echo configure
:10207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10208 ac_cv_c_inline
=$ac_kw; break
10210 echo "configure: failed program was:" >&5
10211 cat conftest.
$ac_ext >&5
10218 echo "$ac_t""$ac_cv_c_inline" 1>&6
10219 case "$ac_cv_c_inline" in
10221 no
) cat >> confdefs.h
<<\EOF
10225 *) cat >> confdefs.h
<<EOF
10226 #define inline $ac_cv_c_inline
10232 echo $ac_n "checking size of char""... $ac_c" 1>&6
10233 echo "configure:10234: checking size of char" >&5
10234 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10235 echo $ac_n "(cached) $ac_c" 1>&6
10237 if test "$cross_compiling" = yes; then
10238 ac_cv_sizeof_char
=1
10240 cat > conftest.
$ac_ext <<EOF
10241 #line 10242 "configure"
10242 #include "confdefs.h"
10246 FILE *f=fopen("conftestval", "w");
10248 fprintf(f, "%d\n", sizeof(char));
10252 if { (eval echo configure
:10253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10254 ac_cv_sizeof_char
=`cat conftestval`
10256 echo "configure: failed program was:" >&5
10257 cat conftest.
$ac_ext >&5
10259 ac_cv_sizeof_char
=0
10265 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10266 cat >> confdefs.h
<<EOF
10267 #define SIZEOF_CHAR $ac_cv_sizeof_char
10271 echo $ac_n "checking size of short""... $ac_c" 1>&6
10272 echo "configure:10273: checking size of short" >&5
10273 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10274 echo $ac_n "(cached) $ac_c" 1>&6
10276 if test "$cross_compiling" = yes; then
10277 ac_cv_sizeof_short
=2
10279 cat > conftest.
$ac_ext <<EOF
10280 #line 10281 "configure"
10281 #include "confdefs.h"
10285 FILE *f=fopen("conftestval", "w");
10287 fprintf(f, "%d\n", sizeof(short));
10291 if { (eval echo configure
:10292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10293 ac_cv_sizeof_short
=`cat conftestval`
10295 echo "configure: failed program was:" >&5
10296 cat conftest.
$ac_ext >&5
10298 ac_cv_sizeof_short
=0
10304 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10305 cat >> confdefs.h
<<EOF
10306 #define SIZEOF_SHORT $ac_cv_sizeof_short
10310 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10311 echo "configure:10312: checking size of void *" >&5
10312 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10313 echo $ac_n "(cached) $ac_c" 1>&6
10315 if test "$cross_compiling" = yes; then
10316 ac_cv_sizeof_void_p
=4
10318 cat > conftest.
$ac_ext <<EOF
10319 #line 10320 "configure"
10320 #include "confdefs.h"
10324 FILE *f=fopen("conftestval", "w");
10326 fprintf(f, "%d\n", sizeof(void *));
10330 if { (eval echo configure
:10331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10332 ac_cv_sizeof_void_p
=`cat conftestval`
10334 echo "configure: failed program was:" >&5
10335 cat conftest.
$ac_ext >&5
10337 ac_cv_sizeof_void_p
=0
10343 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10344 cat >> confdefs.h
<<EOF
10345 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10349 echo $ac_n "checking size of int""... $ac_c" 1>&6
10350 echo "configure:10351: checking size of int" >&5
10351 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10352 echo $ac_n "(cached) $ac_c" 1>&6
10354 if test "$cross_compiling" = yes; then
10357 cat > conftest.
$ac_ext <<EOF
10358 #line 10359 "configure"
10359 #include "confdefs.h"
10363 FILE *f=fopen("conftestval", "w");
10365 fprintf(f, "%d\n", sizeof(int));
10369 if { (eval echo configure
:10370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10371 ac_cv_sizeof_int
=`cat conftestval`
10373 echo "configure: failed program was:" >&5
10374 cat conftest.
$ac_ext >&5
10382 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10383 cat >> confdefs.h
<<EOF
10384 #define SIZEOF_INT $ac_cv_sizeof_int
10388 echo $ac_n "checking size of long""... $ac_c" 1>&6
10389 echo "configure:10390: checking size of long" >&5
10390 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10391 echo $ac_n "(cached) $ac_c" 1>&6
10393 if test "$cross_compiling" = yes; then
10394 ac_cv_sizeof_long
=4
10396 cat > conftest.
$ac_ext <<EOF
10397 #line 10398 "configure"
10398 #include "confdefs.h"
10402 FILE *f=fopen("conftestval", "w");
10404 fprintf(f, "%d\n", sizeof(long));
10408 if { (eval echo configure
:10409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10410 ac_cv_sizeof_long
=`cat conftestval`
10412 echo "configure: failed program was:" >&5
10413 cat conftest.
$ac_ext >&5
10415 ac_cv_sizeof_long
=0
10421 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10422 cat >> confdefs.h
<<EOF
10423 #define SIZEOF_LONG $ac_cv_sizeof_long
10430 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10431 echo "configure:10432: checking size of long long" >&5
10432 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10433 echo $ac_n "(cached) $ac_c" 1>&6
10435 if test "$cross_compiling" = yes; then
10436 ac_cv_sizeof_long_long
=8
10438 cat > conftest.
$ac_ext <<EOF
10439 #line 10440 "configure"
10440 #include "confdefs.h"
10444 FILE *f=fopen("conftestval", "w");
10446 fprintf(f, "%d\n", sizeof(long long));
10450 if { (eval echo configure
:10451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10452 ac_cv_sizeof_long_long
=`cat conftestval`
10454 echo "configure: failed program was:" >&5
10455 cat conftest.
$ac_ext >&5
10457 ac_cv_sizeof_long_long
=0
10463 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10464 cat >> confdefs.h
<<EOF
10465 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10471 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10472 echo "configure:10473: checking size of long long" >&5
10473 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10474 echo $ac_n "(cached) $ac_c" 1>&6
10476 if test "$cross_compiling" = yes; then
10477 ac_cv_sizeof_long_long
=0
10479 cat > conftest.
$ac_ext <<EOF
10480 #line 10481 "configure"
10481 #include "confdefs.h"
10485 FILE *f=fopen("conftestval", "w");
10487 fprintf(f, "%d\n", sizeof(long long));
10491 if { (eval echo configure
:10492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10493 ac_cv_sizeof_long_long
=`cat conftestval`
10495 echo "configure: failed program was:" >&5
10496 cat conftest.
$ac_ext >&5
10498 ac_cv_sizeof_long_long
=0
10504 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10505 cat >> confdefs.h
<<EOF
10506 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10512 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10513 echo "configure:10514: checking size of wchar_t" >&5
10514 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10515 echo $ac_n "(cached) $ac_c" 1>&6
10518 if test "$cross_compiling" = yes; then
10519 wx_cv_sizeof_wchar_t
=4
10522 cat > conftest.
$ac_ext <<EOF
10523 #line 10524 "configure"
10524 #include "confdefs.h"
10526 #ifdef HAVE_WCHAR_H
10528 # include <stddef.h>
10530 # include <wchar.h>
10532 #ifdef HAVE_STDLIB_H
10533 # include <stdlib.h>
10538 FILE *f=fopen("conftestval", "w");
10540 fprintf(f, "%i", sizeof(wchar_t));
10545 if { (eval echo configure
:10546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10547 wx_cv_sizeof_wchar_t
=`cat conftestval`
10549 echo "configure: failed program was:" >&5
10550 cat conftest.
$ac_ext >&5
10552 wx_cv_sizeof_wchar_t
=0
10560 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10562 cat >> confdefs.h
<<EOF
10563 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10567 # Check whether --enable-largefile or --disable-largefile was given.
10568 if test "${enable_largefile+set}" = set; then
10569 enableval
="$enable_largefile"
10573 if test "$enable_largefile" != no
; then
10576 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10577 echo "configure:10578: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10578 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10579 echo $ac_n "(cached) $ac_c" 1>&6
10582 cat > conftest.
$ac_ext <<EOF
10583 #line 10584 "configure"
10584 #include "confdefs.h"
10585 #define _FILE_OFFSET_BITS 64
10586 #include <sys/types.h>
10589 unsigned int field: sizeof(off_t) == 8;
10594 if { (eval echo configure
:10595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10596 ac_cv_sys_file_offset_bits
=64
10598 echo "configure: failed program was:" >&5
10599 cat conftest.
$ac_ext >&5
10601 ac_cv_sys_file_offset_bits
=no
10608 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10610 if test "$ac_cv_sys_file_offset_bits" != no
; then
10612 cat >> confdefs.h
<<EOF
10613 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10618 if test "x$wx_largefile" != "xyes"; then
10620 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10621 echo "configure:10622: checking for _LARGE_FILES value needed for large files" >&5
10622 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10623 echo $ac_n "(cached) $ac_c" 1>&6
10626 cat > conftest.
$ac_ext <<EOF
10627 #line 10628 "configure"
10628 #include "confdefs.h"
10629 #define _LARGE_FILES 1
10630 #include <sys/types.h>
10633 unsigned int field: sizeof(off_t) == 8;
10638 if { (eval echo configure
:10639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10640 ac_cv_sys_large_files
=1
10642 echo "configure: failed program was:" >&5
10643 cat conftest.
$ac_ext >&5
10645 ac_cv_sys_large_files
=no
10652 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10654 if test "$ac_cv_sys_large_files" != no
; then
10656 cat >> confdefs.h
<<EOF
10657 #define _LARGE_FILES $ac_cv_sys_large_files
10664 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10665 echo "configure:10666: checking if large file support is available" >&5
10666 if test "x$wx_largefile" = "xyes"; then
10667 cat >> confdefs.h
<<\EOF
10668 #define HAVE_LARGEFILE_SUPPORT 1
10672 echo "$ac_t""$wx_largefile" 1>&6
10676 if test "x$wx_largefile" = "xyes"; then
10677 if test "x$ac_cv_sys_file_offset_bits" = "xyes"; then
10678 CPPFLAGS
="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
10680 CPPFLAGS
="$CPPFLAGS -D_LARGE_FILES"
10684 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10685 echo "configure:10686: checking whether byte ordering is bigendian" >&5
10686 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10687 echo $ac_n "(cached) $ac_c" 1>&6
10689 ac_cv_c_bigendian
=unknown
10690 # See if sys/param.h defines the BYTE_ORDER macro.
10691 cat > conftest.
$ac_ext <<EOF
10692 #line 10693 "configure"
10693 #include "confdefs.h"
10694 #include <sys/types.h>
10695 #include <sys/param.h>
10698 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10699 bogus endian macros
10703 if { (eval echo configure
:10704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10705 # It does; now see whether it defined to BIG_ENDIAN or not.
10706 cat > conftest.
$ac_ext <<EOF
10707 #line 10708 "configure"
10708 #include "confdefs.h"
10709 #include <sys/types.h>
10710 #include <sys/param.h>
10713 #if BYTE_ORDER != BIG_ENDIAN
10718 if { (eval echo configure
:10719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10720 ac_cv_c_bigendian
=yes
10722 echo "configure: failed program was:" >&5
10723 cat conftest.
$ac_ext >&5
10725 ac_cv_c_bigendian
=no
10729 echo "configure: failed program was:" >&5
10730 cat conftest.
$ac_ext >&5
10733 if test $ac_cv_c_bigendian = unknown
; then
10734 if test "$cross_compiling" = yes; then
10735 ac_cv_c_bigendian
=unknown
10737 cat > conftest.
$ac_ext <<EOF
10738 #line 10739 "configure"
10739 #include "confdefs.h"
10741 /* Are we little or big endian? From Harbison&Steele. */
10745 char c[sizeof (long)];
10748 exit (u.c[sizeof (long) - 1] == 1);
10751 if { (eval echo configure
:10752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10753 ac_cv_c_bigendian
=no
10755 echo "configure: failed program was:" >&5
10756 cat conftest.
$ac_ext >&5
10758 ac_cv_c_bigendian
=yes
10766 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10767 if test $ac_cv_c_bigendian = unknown
; then
10768 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
10770 if test $ac_cv_c_bigendian = yes; then
10771 cat >> confdefs.h
<<\EOF
10772 #define WORDS_BIGENDIAN 1
10778 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10779 echo "configure:10780: checking how to run the C++ preprocessor" >&5
10780 if test -z "$CXXCPP"; then
10781 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10782 echo $ac_n "(cached) $ac_c" 1>&6
10785 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10786 ac_cpp
='$CXXCPP $CPPFLAGS'
10787 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10788 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10789 cross_compiling
=$ac_cv_prog_cxx_cross
10790 CXXCPP
="${CXX-g++} -E"
10791 cat > conftest.
$ac_ext <<EOF
10792 #line 10793 "configure"
10793 #include "confdefs.h"
10794 #include <stdlib.h>
10796 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10797 { (eval echo configure
:10798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10798 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10799 if test -z "$ac_err"; then
10803 echo "configure: failed program was:" >&5
10804 cat conftest.
$ac_ext >&5
10809 ac_cv_prog_CXXCPP
="$CXXCPP"
10811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10812 ac_cpp
='$CXXCPP $CPPFLAGS'
10813 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10814 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10815 cross_compiling
=$ac_cv_prog_cxx_cross
10818 CXXCPP
="$ac_cv_prog_CXXCPP"
10819 echo "$ac_t""$CXXCPP" 1>&6
10822 if test "$cross_compiling" = "yes"; then
10823 cat >> confdefs.h
<<\EOF
10824 #define wxUSE_IOSTREAMH 1
10830 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10831 ac_cpp
='$CXXCPP $CPPFLAGS'
10832 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10833 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10834 cross_compiling
=$ac_cv_prog_cxx_cross
10837 for ac_hdr
in iostream
10839 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10840 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10841 echo "configure:10842: checking for $ac_hdr" >&5
10842 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10843 echo $ac_n "(cached) $ac_c" 1>&6
10845 cat > conftest.
$ac_ext <<EOF
10846 #line 10847 "configure"
10847 #include "confdefs.h"
10850 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10851 { (eval echo configure
:10852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10852 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10853 if test -z "$ac_err"; then
10855 eval "ac_cv_header_$ac_safe=yes"
10858 echo "configure: failed program was:" >&5
10859 cat conftest.
$ac_ext >&5
10861 eval "ac_cv_header_$ac_safe=no"
10865 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10866 echo "$ac_t""yes" 1>&6
10867 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10868 cat >> confdefs.h
<<EOF
10869 #define $ac_tr_hdr 1
10873 echo "$ac_t""no" 1>&6
10878 if test "$ac_cv_header_iostream" = "yes" ; then
10881 cat >> confdefs.h
<<\EOF
10882 #define wxUSE_IOSTREAMH 1
10888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10889 ac_cpp
='$CPP $CPPFLAGS'
10890 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10891 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10892 cross_compiling
=$ac_cv_prog_cc_cross
10898 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10899 echo "configure:10900: checking if C++ compiler supports bool" >&5
10900 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10901 echo $ac_n "(cached) $ac_c" 1>&6
10906 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10907 ac_cpp
='$CXXCPP $CPPFLAGS'
10908 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10909 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10910 cross_compiling
=$ac_cv_prog_cxx_cross
10913 cat > conftest.
$ac_ext <<EOF
10914 #line 10915 "configure"
10915 #include "confdefs.h"
10926 if { (eval echo configure
:10927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10932 echo "configure: failed program was:" >&5
10933 cat conftest.
$ac_ext >&5
10943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10944 ac_cpp
='$CPP $CPPFLAGS'
10945 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10946 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10947 cross_compiling
=$ac_cv_prog_cc_cross
10952 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10954 if test "$wx_cv_cpp_bool" = "yes"; then
10955 cat >> confdefs.h
<<\EOF
10956 #define HAVE_BOOL 1
10963 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
10964 echo "configure:10965: checking if C++ compiler supports the explicit keyword" >&5
10965 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
10966 echo $ac_n "(cached) $ac_c" 1>&6
10971 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10972 ac_cpp
='$CXXCPP $CPPFLAGS'
10973 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10974 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10975 cross_compiling
=$ac_cv_prog_cxx_cross
10978 cat > conftest.
$ac_ext <<EOF
10979 #line 10980 "configure"
10980 #include "confdefs.h"
10982 class Foo { public: explicit Foo(int) {} };
10990 if { (eval echo configure
:10991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10993 cat > conftest.
$ac_ext <<EOF
10994 #line 10995 "configure"
10995 #include "confdefs.h"
10997 class Foo { public: explicit Foo(int) {} };
10998 static void TakeFoo(const Foo& foo) { }
11007 if { (eval echo configure
:11008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11011 echo "configure: failed program was:" >&5
11012 cat conftest.
$ac_ext >&5
11020 echo "configure: failed program was:" >&5
11021 cat conftest.
$ac_ext >&5
11029 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11030 ac_cpp
='$CPP $CPPFLAGS'
11031 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11032 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11033 cross_compiling
=$ac_cv_prog_cc_cross
11038 echo "$ac_t""$wx_cv_explicit" 1>&6
11040 if test "$wx_cv_explicit" = "yes"; then
11041 cat >> confdefs.h
<<\EOF
11042 #define HAVE_EXPLICIT 1
11050 /usr/local/include \
11052 /usr/Motif-1.2/include \
11053 /usr/Motif-2.1/include \
11055 /usr/include/Motif1.2 \
11056 /opt/xpm/include/X11 \
11057 /opt/GBxpm/include/ \
11058 /opt/GBxpm/X11/include/ \
11060 /usr/Motif1.2/include \
11062 /usr/openwin/include \
11066 /usr/X11R6/include \
11067 /usr/X11R6.4/include \
11068 /usr/X11R5/include \
11069 /usr/X11R4/include \
11071 /usr/include/X11R6 \
11072 /usr/include/X11R5 \
11073 /usr/include/X11R4 \
11075 /usr/local/X11R6/include \
11076 /usr/local/X11R5/include \
11077 /usr/local/X11R4/include \
11079 /usr/local/include/X11R6 \
11080 /usr/local/include/X11R5 \
11081 /usr/local/include/X11R4 \
11085 /usr/local/X11/include \
11086 /usr/local/include/X11 \
11088 /usr/X386/include \
11089 /usr/x386/include \
11090 /usr/XFree86/include/X11 \
11092 X:/XFree86/include \
11093 X:/XFree86/include/X11 \
11096 /usr/local/include/gtk \
11097 /usr/include/glib \
11098 /usr/local/include/glib \
11101 /usr/local/include/qt \
11103 /usr/include/windows \
11104 /usr/include/wine \
11105 /usr/local/include/wine \
11107 /usr/unsupported/include \
11108 /usr/athena/include \
11109 /usr/local/x11r5/include \
11110 /usr/lpp/Xamples/include \
11112 /usr/openwin/share/include"
11114 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11117 cat > confcache
<<\EOF
11118 # This file is a shell script that caches the results of configure
11119 # tests run on this system so they can be shared between configure
11120 # scripts and configure runs. It is not useful on other systems.
11121 # If it contains results you don't want to keep, you may remove or edit it.
11123 # By default, configure uses ./config.cache as the cache file,
11124 # creating it if it does not exist already. You can give configure
11125 # the --cache-file=FILE option to use a different cache file; that is
11126 # what configure does when it calls configure scripts in
11127 # subdirectories, so they share the cache.
11128 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11129 # config.status only pays attention to the cache file if you give it the
11130 # --recheck option to rerun configure.
11133 # The following way of writing the cache mishandles newlines in values,
11134 # but we know of no workaround that is simple, portable, and efficient.
11135 # So, don't put newlines in cache variables' values.
11136 # Ultrix sh set writes to stderr and can't be redirected directly,
11137 # and sets the high bit in the cache file unless we assign to the vars.
11139 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11141 # `set' does not quote correctly, so add quotes (double-quote substitution
11142 # turns \\\\ into \\, and sed turns \\ into \).
11144 -e "s/'/'\\\\''/g" \
11145 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11148 # `set' quotes correctly as required by POSIX, so do not add quotes.
11149 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11152 if cmp -s $cache_file confcache
; then
11155 if test -w $cache_file; then
11156 echo "updating cache $cache_file"
11157 cat confcache
> $cache_file
11159 echo "not updating unwritable cache $cache_file"
11165 if test "$USE_LINUX" = 1; then
11166 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11167 echo "configure:11168: checking for glibc 2.1 or later" >&5
11168 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11169 echo $ac_n "(cached) $ac_c" 1>&6
11172 cat > conftest.
$ac_ext <<EOF
11173 #line 11174 "configure"
11174 #include "confdefs.h"
11175 #include <features.h>
11178 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11179 #error not glibc2.1
11184 if { (eval echo configure
:11185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11187 wx_cv_lib_glibc21
=yes
11190 echo "configure: failed program was:" >&5
11191 cat conftest.
$ac_ext >&5
11194 wx_cv_lib_glibc21
=no
11202 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11203 if test "$wx_cv_lib_glibc21" = "yes"; then
11204 cat >> confdefs.h
<<\EOF
11205 #define wxHAVE_GLIBC2 1
11211 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11212 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11213 cat >> confdefs.h
<<\EOF
11214 #define _GNU_SOURCE 1
11223 if test "$wxUSE_REGEX" != "no"; then
11224 cat >> confdefs.h
<<\EOF
11225 #define wxUSE_REGEX 1
11229 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11230 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11231 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11232 echo "configure:11233: checking for regex.h" >&5
11233 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11234 echo $ac_n "(cached) $ac_c" 1>&6
11236 cat > conftest.
$ac_ext <<EOF
11237 #line 11238 "configure"
11238 #include "confdefs.h"
11241 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11242 { (eval echo configure
:11243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11243 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11244 if test -z "$ac_err"; then
11246 eval "ac_cv_header_$ac_safe=yes"
11249 echo "configure: failed program was:" >&5
11250 cat conftest.
$ac_ext >&5
11252 eval "ac_cv_header_$ac_safe=no"
11256 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11257 echo "$ac_t""yes" 1>&6
11258 for ac_func
in regcomp
11260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11261 echo "configure:11262: checking for $ac_func" >&5
11262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11263 echo $ac_n "(cached) $ac_c" 1>&6
11265 cat > conftest.
$ac_ext <<EOF
11266 #line 11267 "configure"
11267 #include "confdefs.h"
11268 /* System header to define __stub macros and hopefully few prototypes,
11269 which can conflict with char $ac_func(); below. */
11270 #include <assert.h>
11271 /* Override any gcc2 internal prototype to avoid an error. */
11272 /* We use char because int might match the return type of a gcc2
11273 builtin and then its argument prototype would still apply. */
11278 /* The GNU C library defines this for functions which it implements
11279 to always fail with ENOSYS. Some functions are actually named
11280 something starting with __ and the normal name is an alias. */
11281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11289 if { (eval echo configure
:11290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11291 eval "ac_cv_func_$ac_func=yes"
11293 echo "configure: failed program was:" >&5
11294 cat conftest.
$ac_ext >&5
11296 eval "ac_cv_func_$ac_func=no"
11301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11302 echo "$ac_t""yes" 1>&6
11303 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11304 cat >> confdefs.h
<<EOF
11305 #define $ac_tr_func 1
11309 echo "$ac_t""no" 1>&6
11314 echo "$ac_t""no" 1>&6
11318 if test "x$ac_cv_func_regcomp" != "xyes"; then
11319 if test "$wxUSE_REGEX" = "sys" ; then
11320 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11322 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11323 wxUSE_REGEX
=builtin
11330 if test "$wxUSE_REGEX" = "builtin" ; then
11331 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11338 if test "$wxUSE_ZLIB" != "no" ; then
11339 cat >> confdefs.h
<<\EOF
11340 #define wxUSE_ZLIB 1
11344 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11345 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11346 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11347 echo "configure:11348: checking for zlib.h" >&5
11348 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11349 echo $ac_n "(cached) $ac_c" 1>&6
11351 cat > conftest.
$ac_ext <<EOF
11352 #line 11353 "configure"
11353 #include "confdefs.h"
11356 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11357 { (eval echo configure
:11358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11358 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11359 if test -z "$ac_err"; then
11361 eval "ac_cv_header_$ac_safe=yes"
11364 echo "configure: failed program was:" >&5
11365 cat conftest.
$ac_ext >&5
11367 eval "ac_cv_header_$ac_safe=no"
11371 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11372 echo "$ac_t""yes" 1>&6
11373 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11374 echo "configure:11375: checking for deflate in -lz" >&5
11375 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11376 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11377 echo $ac_n "(cached) $ac_c" 1>&6
11379 ac_save_LIBS
="$LIBS"
11381 cat > conftest.
$ac_ext <<EOF
11382 #line 11383 "configure"
11383 #include "confdefs.h"
11384 /* Override any gcc2 internal prototype to avoid an error. */
11385 /* We use char because int might match the return type of a gcc2
11386 builtin and then its argument prototype would still apply. */
11393 if { (eval echo configure
:11394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11395 eval "ac_cv_lib_$ac_lib_var=yes"
11397 echo "configure: failed program was:" >&5
11398 cat conftest.
$ac_ext >&5
11400 eval "ac_cv_lib_$ac_lib_var=no"
11403 LIBS
="$ac_save_LIBS"
11406 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11407 echo "$ac_t""yes" 1>&6
11410 echo "$ac_t""no" 1>&6
11414 echo "$ac_t""no" 1>&6
11418 if test "x$ZLIB_LINK" = "x" ; then
11419 if test "$wxUSE_ZLIB" = "sys" ; then
11420 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11422 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11430 if test "$wxUSE_ZLIB" = "builtin" ; then
11431 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11438 if test "$wxUSE_LIBPNG" != "no" ; then
11439 cat >> confdefs.h
<<\EOF
11440 #define wxUSE_LIBPNG 1
11444 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11445 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11449 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11450 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11451 wxUSE_LIBPNG
=builtin
11454 if test "$wxUSE_MGL" != 1 ; then
11455 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11456 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11457 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11458 echo "configure:11459: checking for png.h" >&5
11459 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11460 echo $ac_n "(cached) $ac_c" 1>&6
11462 cat > conftest.
$ac_ext <<EOF
11463 #line 11464 "configure"
11464 #include "confdefs.h"
11467 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11468 { (eval echo configure
:11469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11469 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11470 if test -z "$ac_err"; then
11472 eval "ac_cv_header_$ac_safe=yes"
11475 echo "configure: failed program was:" >&5
11476 cat conftest.
$ac_ext >&5
11478 eval "ac_cv_header_$ac_safe=no"
11482 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11483 echo "$ac_t""yes" 1>&6
11484 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11485 echo "configure:11486: checking for png_check_sig in -lpng" >&5
11486 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11487 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11488 echo $ac_n "(cached) $ac_c" 1>&6
11490 ac_save_LIBS
="$LIBS"
11491 LIBS
="-lpng -lz -lm $LIBS"
11492 cat > conftest.
$ac_ext <<EOF
11493 #line 11494 "configure"
11494 #include "confdefs.h"
11495 /* Override any gcc2 internal prototype to avoid an error. */
11496 /* We use char because int might match the return type of a gcc2
11497 builtin and then its argument prototype would still apply. */
11498 char png_check_sig();
11504 if { (eval echo configure
:11505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11506 eval "ac_cv_lib_$ac_lib_var=yes"
11508 echo "configure: failed program was:" >&5
11509 cat conftest.
$ac_ext >&5
11511 eval "ac_cv_lib_$ac_lib_var=no"
11514 LIBS
="$ac_save_LIBS"
11517 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11518 echo "$ac_t""yes" 1>&6
11521 echo "$ac_t""no" 1>&6
11526 echo "$ac_t""no" 1>&6
11530 if test "x$PNG_LINK" = "x" ; then
11531 if test "$wxUSE_LIBPNG" = "sys" ; then
11532 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11534 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11535 wxUSE_LIBPNG
=builtin
11543 if test "$wxUSE_LIBPNG" = "builtin" ; then
11544 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11553 if test "$wxUSE_LIBJPEG" != "no" ; then
11554 cat >> confdefs.h
<<\EOF
11555 #define wxUSE_LIBJPEG 1
11559 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11560 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11564 if test "$wxUSE_MGL" != 1 ; then
11565 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11566 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11567 echo "configure:11568: checking for jpeglib.h" >&5
11568 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11569 echo $ac_n "(cached) $ac_c" 1>&6
11571 cat > conftest.
$ac_ext <<EOF
11572 #line 11573 "configure"
11573 #include "confdefs.h"
11575 #undef HAVE_STDLIB_H
11577 #include <jpeglib.h>
11584 if { (eval echo configure
:11585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11586 ac_cv_header_jpeglib_h
=yes
11588 echo "configure: failed program was:" >&5
11589 cat conftest.
$ac_ext >&5
11591 ac_cv_header_jpeglib_h
=no
11598 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11600 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11601 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11602 echo "configure:11603: checking for jpeg_read_header in -ljpeg" >&5
11603 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11604 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11605 echo $ac_n "(cached) $ac_c" 1>&6
11607 ac_save_LIBS
="$LIBS"
11608 LIBS
="-ljpeg $LIBS"
11609 cat > conftest.
$ac_ext <<EOF
11610 #line 11611 "configure"
11611 #include "confdefs.h"
11612 /* Override any gcc2 internal prototype to avoid an error. */
11613 /* We use char because int might match the return type of a gcc2
11614 builtin and then its argument prototype would still apply. */
11615 char jpeg_read_header();
11621 if { (eval echo configure
:11622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11623 eval "ac_cv_lib_$ac_lib_var=yes"
11625 echo "configure: failed program was:" >&5
11626 cat conftest.
$ac_ext >&5
11628 eval "ac_cv_lib_$ac_lib_var=no"
11631 LIBS
="$ac_save_LIBS"
11634 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11635 echo "$ac_t""yes" 1>&6
11636 JPEG_LINK
=" -ljpeg"
11638 echo "$ac_t""no" 1>&6
11643 if test "x$JPEG_LINK" = "x" ; then
11644 if test "$wxUSE_LIBJPEG" = "sys" ; then
11645 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11647 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11648 wxUSE_LIBJPEG
=builtin
11656 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11657 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11664 if test "$wxUSE_LIBTIFF" != "no" ; then
11665 cat >> confdefs.h
<<\EOF
11666 #define wxUSE_LIBTIFF 1
11670 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11671 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11672 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11673 echo "configure:11674: checking for tiffio.h" >&5
11674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11675 echo $ac_n "(cached) $ac_c" 1>&6
11677 cat > conftest.
$ac_ext <<EOF
11678 #line 11679 "configure"
11679 #include "confdefs.h"
11680 #include <tiffio.h>
11682 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11683 { (eval echo configure
:11684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11684 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11685 if test -z "$ac_err"; then
11687 eval "ac_cv_header_$ac_safe=yes"
11690 echo "configure: failed program was:" >&5
11691 cat conftest.
$ac_ext >&5
11693 eval "ac_cv_header_$ac_safe=no"
11697 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11698 echo "$ac_t""yes" 1>&6
11699 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11700 echo "configure:11701: checking for TIFFError in -ltiff" >&5
11701 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11702 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11703 echo $ac_n "(cached) $ac_c" 1>&6
11705 ac_save_LIBS
="$LIBS"
11706 LIBS
="-ltiff -lm $LIBS"
11707 cat > conftest.
$ac_ext <<EOF
11708 #line 11709 "configure"
11709 #include "confdefs.h"
11710 /* Override any gcc2 internal prototype to avoid an error. */
11711 /* We use char because int might match the return type of a gcc2
11712 builtin and then its argument prototype would still apply. */
11719 if { (eval echo configure
:11720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11721 eval "ac_cv_lib_$ac_lib_var=yes"
11723 echo "configure: failed program was:" >&5
11724 cat conftest.
$ac_ext >&5
11726 eval "ac_cv_lib_$ac_lib_var=no"
11729 LIBS
="$ac_save_LIBS"
11732 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11733 echo "$ac_t""yes" 1>&6
11734 TIFF_LINK
=" -ltiff"
11736 echo "$ac_t""no" 1>&6
11741 echo "$ac_t""no" 1>&6
11745 if test "x$TIFF_LINK" = "x" ; then
11746 if test "$wxUSE_LIBTIFF" = "sys" ; then
11747 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11749 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11750 wxUSE_LIBTIFF
=builtin
11757 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11758 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11769 if test "$USE_WIN32" = 1 ; then
11770 for ac_hdr
in w32api.h
11772 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11773 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11774 echo "configure:11775: checking for $ac_hdr" >&5
11775 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11776 echo $ac_n "(cached) $ac_c" 1>&6
11778 cat > conftest.
$ac_ext <<EOF
11779 #line 11780 "configure"
11780 #include "confdefs.h"
11783 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11784 { (eval echo configure
:11785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11785 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11786 if test -z "$ac_err"; then
11788 eval "ac_cv_header_$ac_safe=yes"
11791 echo "configure: failed program was:" >&5
11792 cat conftest.
$ac_ext >&5
11794 eval "ac_cv_header_$ac_safe=no"
11798 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11799 echo "$ac_t""yes" 1>&6
11800 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11801 cat >> confdefs.h
<<EOF
11802 #define $ac_tr_hdr 1
11806 echo "$ac_t""no" 1>&6
11810 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11811 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11812 echo "configure:11813: checking for windows.h" >&5
11813 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11814 echo $ac_n "(cached) $ac_c" 1>&6
11816 cat > conftest.
$ac_ext <<EOF
11817 #line 11818 "configure"
11818 #include "confdefs.h"
11819 #include <windows.h>
11821 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11822 { (eval echo configure
:11823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11823 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11824 if test -z "$ac_err"; then
11826 eval "ac_cv_header_$ac_safe=yes"
11829 echo "configure: failed program was:" >&5
11830 cat conftest.
$ac_ext >&5
11832 eval "ac_cv_header_$ac_safe=no"
11836 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11837 echo "$ac_t""yes" 1>&6
11840 echo "$ac_t""no" 1>&6
11842 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11847 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11848 echo "configure:11849: checking if w32api has good enough MSIE support" >&5
11849 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11850 echo $ac_n "(cached) $ac_c" 1>&6
11853 cat > conftest.
$ac_ext <<EOF
11854 #line 11855 "configure"
11855 #include "confdefs.h"
11856 #include <w32api.h>
11859 #define wxCHECK_W32API_VERSION( major, minor ) \
11860 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11861 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11862 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11864 #if !wxCHECK_W32API_VERSION(1,1)
11865 #error You need w32api 1.1 or newer
11870 if { (eval echo configure
:11871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11873 wx_cv_w32api_win32_ie
=yes
11876 echo "configure: failed program was:" >&5
11877 cat conftest.
$ac_ext >&5
11880 wx_cv_w32api_win32_ie
=no
11887 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11888 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11889 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
11892 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11896 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11897 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11900 if test "$wxUSE_ODBC" = "yes" ; then
11901 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
11904 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11905 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
11908 if test "$wxUSE_GUI" = "yes"; then
11917 if test "$wxUSE_MSW" = 1 ; then
11923 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11927 if test "$wxUSE_GTK" = 1; then
11928 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11929 echo "configure:11930: checking for GTK+ version" >&5
11931 gtk_version_cached
=1
11932 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11933 echo $ac_n "(cached) $ac_c" 1>&6
11936 gtk_version_cached
=0
11937 echo "$ac_t""" 1>&6
11940 if test "$wxUSE_THREADS" = "yes"; then
11941 GTK_MODULES
=gthread
11945 if test "x$wxUSE_GTK2" = "xyes"; then
11946 # Check whether --enable-gtktest or --disable-gtktest was given.
11947 if test "${enable_gtktest+set}" = set; then
11948 enableval
="$enable_gtktest"
11955 pkg_config_args
=gtk
+-2.0
11956 for module
in .
$GTK_MODULES
11960 pkg_config_args
="$pkg_config_args gthread-2.0"
11967 # Extract the first word of "pkg-config", so it can be a program name with args.
11968 set dummy pkg
-config; ac_word
=$2
11969 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11970 echo "configure:11971: checking for $ac_word" >&5
11971 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11972 echo $ac_n "(cached) $ac_c" 1>&6
11974 case "$PKG_CONFIG" in
11976 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11979 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
11982 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11984 for ac_dir
in $ac_dummy; do
11985 test -z "$ac_dir" && ac_dir
=.
11986 if test -f $ac_dir/$ac_word; then
11987 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
11992 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11996 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11997 if test -n "$PKG_CONFIG"; then
11998 echo "$ac_t""$PKG_CONFIG" 1>&6
12000 echo "$ac_t""no" 1>&6
12004 if test x
$PKG_CONFIG != xno
; then
12005 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12008 echo *** pkg
-config too old
; version
0.7 or better required.
12016 min_gtk_version
=2.0.0
12017 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12018 echo "configure:12019: checking for GTK+ - version >= $min_gtk_version" >&5
12020 if test x
$PKG_CONFIG != xno
; then
12021 ## don't try to run the test against uninstalled libtool libs
12022 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12023 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12027 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12034 if test x
"$no_gtk" = x
; then
12035 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12036 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12037 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12039 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12041 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12043 if test "x$enable_gtktest" = "xyes" ; then
12044 ac_save_CFLAGS
="$CFLAGS"
12045 ac_save_LIBS
="$LIBS"
12046 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12047 LIBS
="$GTK_LIBS $LIBS"
12049 if test "$cross_compiling" = yes; then
12050 echo $ac_n "cross compiling; assumed OK... $ac_c"
12052 cat > conftest.
$ac_ext <<EOF
12053 #line 12054 "configure"
12054 #include "confdefs.h"
12056 #include <gtk/gtk.h>
12058 #include <stdlib.h>
12063 int major, minor, micro;
12066 system ("touch conf.gtktest");
12068 /* HP/UX 9 (%@#!) writes to sscanf strings */
12069 tmp_version = g_strdup("$min_gtk_version");
12070 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12071 printf("%s, bad version string\n", "$min_gtk_version");
12075 if ((gtk_major_version != $gtk_config_major_version) ||
12076 (gtk_minor_version != $gtk_config_minor_version) ||
12077 (gtk_micro_version != $gtk_config_micro_version))
12079 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12080 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12081 gtk_major_version, gtk_minor_version, gtk_micro_version);
12082 printf ("*** was found! If pkg-config was correct, then it is best\n");
12083 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12084 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12085 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12086 printf("*** required on your system.\n");
12087 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12088 printf("*** to point to the correct configuration files\n");
12090 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12091 (gtk_minor_version != GTK_MINOR_VERSION) ||
12092 (gtk_micro_version != GTK_MICRO_VERSION))
12094 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12095 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12096 printf("*** library (version %d.%d.%d)\n",
12097 gtk_major_version, gtk_minor_version, gtk_micro_version);
12101 if ((gtk_major_version > major) ||
12102 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12103 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12109 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12110 gtk_major_version, gtk_minor_version, gtk_micro_version);
12111 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12112 major, minor, micro);
12113 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12115 printf("*** If you have already installed a sufficiently new version, this error\n");
12116 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12117 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12118 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12119 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12120 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12121 printf("*** so that the correct libraries are found at run-time))\n");
12128 if { (eval echo configure
:12129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12132 echo "configure: failed program was:" >&5
12133 cat conftest.
$ac_ext >&5
12140 CFLAGS
="$ac_save_CFLAGS"
12141 LIBS
="$ac_save_LIBS"
12144 if test "x$no_gtk" = x
; then
12145 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12148 echo "$ac_t""no" 1>&6
12149 if test "$PKG_CONFIG" = "no" ; then
12150 echo "*** A new enough version of pkg-config was not found."
12151 echo "*** See http://pkgconfig.sourceforge.net"
12153 if test -f conf.gtktest
; then
12156 echo "*** Could not run GTK+ test program, checking why..."
12157 ac_save_CFLAGS
="$CFLAGS"
12158 ac_save_LIBS
="$LIBS"
12159 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12160 LIBS
="$LIBS $GTK_LIBS"
12161 cat > conftest.
$ac_ext <<EOF
12162 #line 12163 "configure"
12163 #include "confdefs.h"
12165 #include <gtk/gtk.h>
12169 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12172 if { (eval echo configure
:12173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12174 echo "*** The test program compiled, but did not run. This usually means"
12175 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12176 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12177 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12178 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12179 echo "*** is required on your system"
12181 echo "*** If you have an old version installed, it is best to remove it, although"
12182 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12184 echo "configure: failed program was:" >&5
12185 cat conftest.
$ac_ext >&5
12187 echo "*** The test program failed to compile or link. See the file config.log for the"
12188 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12191 CFLAGS
="$ac_save_CFLAGS"
12192 LIBS
="$ac_save_LIBS"
12205 if test -z "$wx_cv_lib_gtk"; then
12206 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12207 if test "${with_gtk_prefix+set}" = set; then
12208 withval
="$with_gtk_prefix"
12209 gtk_config_prefix
="$withval"
12211 gtk_config_prefix
=""
12214 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12215 if test "${with_gtk_exec_prefix+set}" = set; then
12216 withval
="$with_gtk_exec_prefix"
12217 gtk_config_exec_prefix
="$withval"
12219 gtk_config_exec_prefix
=""
12222 # Check whether --enable-gtktest or --disable-gtktest was given.
12223 if test "${enable_gtktest+set}" = set; then
12224 enableval
="$enable_gtktest"
12231 for module
in .
$GTK_MODULES
12235 gtk_config_args
="$gtk_config_args gthread"
12240 if test x
$gtk_config_exec_prefix != x
; then
12241 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12242 if test x
${GTK_CONFIG+set} != xset
; then
12243 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12246 if test x
$gtk_config_prefix != x
; then
12247 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12248 if test x
${GTK_CONFIG+set} != xset
; then
12249 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12253 # Extract the first word of "gtk-config", so it can be a program name with args.
12254 set dummy gtk
-config; ac_word
=$2
12255 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12256 echo "configure:12257: checking for $ac_word" >&5
12257 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12258 echo $ac_n "(cached) $ac_c" 1>&6
12260 case "$GTK_CONFIG" in
12262 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12265 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12268 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12270 for ac_dir
in $ac_dummy; do
12271 test -z "$ac_dir" && ac_dir
=.
12272 if test -f $ac_dir/$ac_word; then
12273 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12278 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12282 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12283 if test -n "$GTK_CONFIG"; then
12284 echo "$ac_t""$GTK_CONFIG" 1>&6
12286 echo "$ac_t""no" 1>&6
12289 min_gtk_version
=1.2.7
12290 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12291 echo "configure:12292: checking for GTK - version >= $min_gtk_version" >&5
12293 if test "$GTK_CONFIG" = "no" ; then
12296 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12297 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12298 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12299 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12300 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12301 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12302 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12304 if test "x$enable_gtktest" = "xyes" ; then
12305 ac_save_CFLAGS
="$CFLAGS"
12306 ac_save_LIBS
="$LIBS"
12307 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12308 LIBS
="$GTK_LIBS $LIBS"
12310 if test "$cross_compiling" = yes; then
12311 echo $ac_n "cross compiling; assumed OK... $ac_c"
12313 cat > conftest.
$ac_ext <<EOF
12314 #line 12315 "configure"
12315 #include "confdefs.h"
12317 #include <gtk/gtk.h>
12319 #include <stdlib.h>
12324 int major, minor, micro;
12327 system ("touch conf.gtktest");
12329 /* HP/UX 9 (%@#!) writes to sscanf strings */
12330 tmp_version = g_strdup("$min_gtk_version");
12331 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12332 printf("%s, bad version string\n", "$min_gtk_version");
12336 if ((gtk_major_version != $gtk_config_major_version) ||
12337 (gtk_minor_version != $gtk_config_minor_version) ||
12338 (gtk_micro_version != $gtk_config_micro_version))
12340 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12341 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12342 gtk_major_version, gtk_minor_version, gtk_micro_version);
12343 printf ("*** was found! If gtk-config was correct, then it is best\n");
12344 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12345 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12346 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12347 printf("*** required on your system.\n");
12348 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12349 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12350 printf("*** before re-running configure\n");
12352 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12353 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12354 (gtk_minor_version != GTK_MINOR_VERSION) ||
12355 (gtk_micro_version != GTK_MICRO_VERSION))
12357 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12358 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12359 printf("*** library (version %d.%d.%d)\n",
12360 gtk_major_version, gtk_minor_version, gtk_micro_version);
12362 #endif /* defined (GTK_MAJOR_VERSION) ... */
12365 if ((gtk_major_version > major) ||
12366 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12367 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12373 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12374 gtk_major_version, gtk_minor_version, gtk_micro_version);
12375 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12376 major, minor, micro);
12377 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12379 printf("*** If you have already installed a sufficiently new version, this error\n");
12380 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12381 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12382 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12383 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12384 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12385 printf("*** so that the correct libraries are found at run-time))\n");
12392 if { (eval echo configure
:12393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12396 echo "configure: failed program was:" >&5
12397 cat conftest.
$ac_ext >&5
12404 CFLAGS
="$ac_save_CFLAGS"
12405 LIBS
="$ac_save_LIBS"
12408 if test "x$no_gtk" = x
; then
12409 echo "$ac_t""yes" 1>&6
12410 wx_cv_lib_gtk
=1.2.7
12412 echo "$ac_t""no" 1>&6
12413 if test "$GTK_CONFIG" = "no" ; then
12414 echo "*** The gtk-config script installed by GTK could not be found"
12415 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12416 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12417 echo "*** full path to gtk-config."
12419 if test -f conf.gtktest
; then
12422 echo "*** Could not run GTK test program, checking why..."
12423 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12424 LIBS
="$LIBS $GTK_LIBS"
12425 cat > conftest.
$ac_ext <<EOF
12426 #line 12427 "configure"
12427 #include "confdefs.h"
12429 #include <gtk/gtk.h>
12433 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12436 if { (eval echo configure
:12437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12438 echo "*** The test program compiled, but did not run. This usually means"
12439 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12440 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12441 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12442 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12443 echo "*** is required on your system"
12445 echo "*** If you have an old version installed, it is best to remove it, although"
12446 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12448 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12449 echo "*** came with the system with the command"
12451 echo "*** rpm --erase --nodeps gtk gtk-devel"
12453 echo "configure: failed program was:" >&5
12454 cat conftest.
$ac_ext >&5
12456 echo "*** The test program failed to compile or link. See the file config.log for the"
12457 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12458 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12459 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12462 CFLAGS
="$ac_save_CFLAGS"
12463 LIBS
="$ac_save_LIBS"
12476 if test -z "$wx_cv_lib_gtk"; then
12477 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12478 if test "${with_gtk_prefix+set}" = set; then
12479 withval
="$with_gtk_prefix"
12480 gtk_config_prefix
="$withval"
12482 gtk_config_prefix
=""
12485 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12486 if test "${with_gtk_exec_prefix+set}" = set; then
12487 withval
="$with_gtk_exec_prefix"
12488 gtk_config_exec_prefix
="$withval"
12490 gtk_config_exec_prefix
=""
12493 # Check whether --enable-gtktest or --disable-gtktest was given.
12494 if test "${enable_gtktest+set}" = set; then
12495 enableval
="$enable_gtktest"
12502 for module
in .
$GTK_MODULES
12506 gtk_config_args
="$gtk_config_args gthread"
12511 if test x
$gtk_config_exec_prefix != x
; then
12512 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12513 if test x
${GTK_CONFIG+set} != xset
; then
12514 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12517 if test x
$gtk_config_prefix != x
; then
12518 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12519 if test x
${GTK_CONFIG+set} != xset
; then
12520 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12524 # Extract the first word of "gtk-config", so it can be a program name with args.
12525 set dummy gtk
-config; ac_word
=$2
12526 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12527 echo "configure:12528: checking for $ac_word" >&5
12528 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12529 echo $ac_n "(cached) $ac_c" 1>&6
12531 case "$GTK_CONFIG" in
12533 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12536 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12539 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12541 for ac_dir
in $ac_dummy; do
12542 test -z "$ac_dir" && ac_dir
=.
12543 if test -f $ac_dir/$ac_word; then
12544 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12549 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12553 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12554 if test -n "$GTK_CONFIG"; then
12555 echo "$ac_t""$GTK_CONFIG" 1>&6
12557 echo "$ac_t""no" 1>&6
12560 min_gtk_version
=1.2.3
12561 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12562 echo "configure:12563: checking for GTK - version >= $min_gtk_version" >&5
12564 if test "$GTK_CONFIG" = "no" ; then
12567 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12568 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12569 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12571 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12573 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12575 if test "x$enable_gtktest" = "xyes" ; then
12576 ac_save_CFLAGS
="$CFLAGS"
12577 ac_save_LIBS
="$LIBS"
12578 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12579 LIBS
="$GTK_LIBS $LIBS"
12581 if test "$cross_compiling" = yes; then
12582 echo $ac_n "cross compiling; assumed OK... $ac_c"
12584 cat > conftest.
$ac_ext <<EOF
12585 #line 12586 "configure"
12586 #include "confdefs.h"
12588 #include <gtk/gtk.h>
12590 #include <stdlib.h>
12595 int major, minor, micro;
12598 system ("touch conf.gtktest");
12600 /* HP/UX 9 (%@#!) writes to sscanf strings */
12601 tmp_version = g_strdup("$min_gtk_version");
12602 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12603 printf("%s, bad version string\n", "$min_gtk_version");
12607 if ((gtk_major_version != $gtk_config_major_version) ||
12608 (gtk_minor_version != $gtk_config_minor_version) ||
12609 (gtk_micro_version != $gtk_config_micro_version))
12611 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12612 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12613 gtk_major_version, gtk_minor_version, gtk_micro_version);
12614 printf ("*** was found! If gtk-config was correct, then it is best\n");
12615 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12616 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12617 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12618 printf("*** required on your system.\n");
12619 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12620 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12621 printf("*** before re-running configure\n");
12623 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12624 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12625 (gtk_minor_version != GTK_MINOR_VERSION) ||
12626 (gtk_micro_version != GTK_MICRO_VERSION))
12628 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12629 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12630 printf("*** library (version %d.%d.%d)\n",
12631 gtk_major_version, gtk_minor_version, gtk_micro_version);
12633 #endif /* defined (GTK_MAJOR_VERSION) ... */
12636 if ((gtk_major_version > major) ||
12637 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12638 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12644 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12645 gtk_major_version, gtk_minor_version, gtk_micro_version);
12646 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12647 major, minor, micro);
12648 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12650 printf("*** If you have already installed a sufficiently new version, this error\n");
12651 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12652 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12653 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12654 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12655 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12656 printf("*** so that the correct libraries are found at run-time))\n");
12663 if { (eval echo configure
:12664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12667 echo "configure: failed program was:" >&5
12668 cat conftest.
$ac_ext >&5
12675 CFLAGS
="$ac_save_CFLAGS"
12676 LIBS
="$ac_save_LIBS"
12679 if test "x$no_gtk" = x
; then
12680 echo "$ac_t""yes" 1>&6
12681 wx_cv_lib_gtk
=1.2.3
12683 echo "$ac_t""no" 1>&6
12684 if test "$GTK_CONFIG" = "no" ; then
12685 echo "*** The gtk-config script installed by GTK could not be found"
12686 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12687 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12688 echo "*** full path to gtk-config."
12690 if test -f conf.gtktest
; then
12693 echo "*** Could not run GTK test program, checking why..."
12694 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12695 LIBS
="$LIBS $GTK_LIBS"
12696 cat > conftest.
$ac_ext <<EOF
12697 #line 12698 "configure"
12698 #include "confdefs.h"
12700 #include <gtk/gtk.h>
12704 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12707 if { (eval echo configure
:12708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12709 echo "*** The test program compiled, but did not run. This usually means"
12710 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12711 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12712 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12713 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12714 echo "*** is required on your system"
12716 echo "*** If you have an old version installed, it is best to remove it, although"
12717 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12719 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12720 echo "*** came with the system with the command"
12722 echo "*** rpm --erase --nodeps gtk gtk-devel"
12724 echo "configure: failed program was:" >&5
12725 cat conftest.
$ac_ext >&5
12727 echo "*** The test program failed to compile or link. See the file config.log for the"
12728 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12729 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12730 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12733 CFLAGS
="$ac_save_CFLAGS"
12734 LIBS
="$ac_save_LIBS"
12747 if test -z "$wx_cv_lib_gtk"; then
12750 wx_cv_cflags_gtk
=$GTK_CFLAGS
12751 wx_cv_libs_gtk
=$GTK_LIBS
12758 if test "$gtk_version_cached" = 1; then
12759 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12762 case "$wx_cv_lib_gtk" in
12770 *) { echo "configure: error:
12771 Please check that gtk-config is in path, the directory
12772 where GTK+ libraries are installed (returned by
12773 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12774 equivalent variable and GTK+ is version 1.2.3 or above.
12779 if test "$WXGTK20" = 1; then
12780 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12784 if test -z "$PKG_CONFIG"; then
12785 # Extract the first word of "pkg-config", so it can be a program name with args.
12786 set dummy pkg
-config; ac_word
=$2
12787 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12788 echo "configure:12789: checking for $ac_word" >&5
12789 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12790 echo $ac_n "(cached) $ac_c" 1>&6
12792 case "$PKG_CONFIG" in
12794 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12797 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12800 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12802 for ac_dir
in $ac_dummy; do
12803 test -z "$ac_dir" && ac_dir
=.
12804 if test -f $ac_dir/$ac_word; then
12805 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12810 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12814 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12815 if test -n "$PKG_CONFIG"; then
12816 echo "$ac_t""$PKG_CONFIG" 1>&6
12818 echo "$ac_t""no" 1>&6
12823 if test "$PKG_CONFIG" = "no" ; then
12824 echo "*** The pkg-config script could not be found. Make sure it is"
12825 echo "*** in your path, or set the PKG_CONFIG environment variable"
12826 echo "*** to the full path to pkg-config."
12827 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12829 PKG_CONFIG_MIN_VERSION
=0.9.0
12830 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12831 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
12832 echo "configure:12833: checking for pangoft2" >&5
12834 if $PKG_CONFIG --exists "pangoft2" ; then
12835 echo "$ac_t""yes" 1>&6
12838 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
12839 echo "configure:12840: checking PANGOFT2_CFLAGS" >&5
12840 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
12841 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
12843 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
12844 echo "configure:12845: checking PANGOFT2_LIBS" >&5
12845 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
12846 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
12850 ## If we have a custom action on failure, don't print errors, but
12851 ## do set a variable so people can do so.
12852 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12859 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12860 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12864 if test $succeeded = yes; then
12866 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
12867 LIBS
="$LIBS $PANGOFT2_LIBS"
12871 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
12872 wxUSE_PRINTING_ARCHITECTURE
="no"
12880 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
12881 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
12883 AFMINSTALL
=afminstall
12887 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12888 echo "configure:12889: checking for gdk_im_open in -lgdk" >&5
12889 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12890 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12891 echo $ac_n "(cached) $ac_c" 1>&6
12893 ac_save_LIBS
="$LIBS"
12895 cat > conftest.
$ac_ext <<EOF
12896 #line 12897 "configure"
12897 #include "confdefs.h"
12898 /* Override any gcc2 internal prototype to avoid an error. */
12899 /* We use char because int might match the return type of a gcc2
12900 builtin and then its argument prototype would still apply. */
12901 char gdk_im_open();
12907 if { (eval echo configure
:12908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12909 eval "ac_cv_lib_$ac_lib_var=yes"
12911 echo "configure: failed program was:" >&5
12912 cat conftest.
$ac_ext >&5
12914 eval "ac_cv_lib_$ac_lib_var=no"
12917 LIBS
="$ac_save_LIBS"
12920 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12921 echo "$ac_t""yes" 1>&6
12922 cat >> confdefs.h
<<\EOF
12927 echo "$ac_t""no" 1>&6
12932 if test "$wxUSE_MGL" = 1; then
12933 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12934 echo "configure:12935: checking for SciTech MGL library" >&5
12935 if test "x$MGL_ROOT" = x
; then
12936 echo "$ac_t""not found" 1>&6
12937 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12939 echo "$ac_t""$MGL_ROOT" 1>&6
12944 mgl_os
=linux
/gcc
/glibc
12950 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12955 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12956 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
12957 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
12961 if test "x$mgl_lib_type" = x
; then
12962 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
12963 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
12964 mgl_lib_type
=release
12966 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12970 wxUSE_UNIVERSAL
="yes"
12972 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
12973 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12975 AFMINSTALL
=afminstall
12980 if test "$wxUSE_MICROWIN" = 1; then
12981 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12982 echo "configure:12983: checking for MicroWindows" >&5
12983 if test "x$MICROWINDOWS" = x
; then
12984 echo "$ac_t""not found" 1>&6
12985 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12987 echo "$ac_t""$MICROWINDOWS" 1>&6
12990 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
12991 echo "$ac_t""MicroWindows' libraries found." 1>&6
12993 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
12996 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
12997 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
12999 wxUSE_UNIVERSAL
="yes"
13001 AFMINSTALL
=afminstall
13003 GUIDIST
=MICROWIN_DIST
13005 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13008 if test "$wxUSE_X11" = 1; then
13009 # If we find X, set shell vars x_includes and x_libraries to the
13010 # paths, otherwise set no_x=yes.
13011 # Uses ac_ vars as temps to allow command line to override cache and checks.
13012 # --without-x overrides everything else, but does not touch the cache.
13013 echo $ac_n "checking for X""... $ac_c" 1>&6
13014 echo "configure:13015: checking for X" >&5
13016 # Check whether --with-x or --without-x was given.
13017 if test "${with_x+set}" = set; then
13022 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13023 if test "x$with_x" = xno
; then
13024 # The user explicitly disabled X.
13027 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13028 # Both variables are already set.
13031 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13032 echo $ac_n "(cached) $ac_c" 1>&6
13034 # One or both of the vars are not set, and there is no cached value.
13035 ac_x_includes
=NO ac_x_libraries
=NO
13037 if mkdir conftestdir
; then
13039 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13040 cat > Imakefile
<<'EOF'
13042 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13044 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13045 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13046 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13047 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13048 for ac_extension
in a so sl
; do
13049 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13050 test -f $ac_im_libdir/libX11.
$ac_extension; then
13051 ac_im_usrlibdir
=$ac_im_libdir; break
13054 # Screen out bogus values from the imake configuration. They are
13055 # bogus both because they are the default anyway, and because
13056 # using them would break gcc on systems where it needs fixed includes.
13057 case "$ac_im_incroot" in
13059 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13061 case "$ac_im_usrlibdir" in
13062 /usr
/lib
| /lib
) ;;
13063 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13070 if test "$ac_x_includes" = NO
; then
13071 # Guess where to find include files, by looking for this one X11 .h file.
13072 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13074 # First, try using that file with no special directory specified.
13075 cat > conftest.
$ac_ext <<EOF
13076 #line 13077 "configure"
13077 #include "confdefs.h"
13078 #include <$x_direct_test_include>
13080 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13081 { (eval echo configure
:13082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13082 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13083 if test -z "$ac_err"; then
13085 # We can compile using X headers with no special include directory.
13089 echo "configure: failed program was:" >&5
13090 cat conftest.
$ac_ext >&5
13092 # Look for the header file in a standard set of common directories.
13093 # Check X11 before X11Rn because it is often a symlink to the current release.
13096 /usr
/X
11R
6/include \
13097 /usr
/X
11R
5/include \
13098 /usr
/X
11R
4/include \
13101 /usr
/include
/X11R6 \
13102 /usr
/include
/X11R5 \
13103 /usr
/include
/X11R4 \
13105 /usr
/local
/X
11/include \
13106 /usr
/local
/X
11R
6/include \
13107 /usr
/local
/X
11R
5/include \
13108 /usr
/local
/X
11R
4/include \
13110 /usr
/local
/include
/X11 \
13111 /usr
/local
/include
/X11R6 \
13112 /usr
/local
/include
/X11R5 \
13113 /usr
/local
/include
/X11R4 \
13115 /usr
/X
386/include \
13116 /usr
/x
386/include \
13117 /usr
/XFree
86/include
/X11 \
13120 /usr
/local
/include \
13121 /usr
/unsupported
/include \
13122 /usr
/athena
/include \
13123 /usr
/local
/x
11r
5/include \
13124 /usr
/lpp
/Xamples
/include \
13126 /usr
/openwin
/include \
13127 /usr
/openwin
/share
/include \
13130 if test -r "$ac_dir/$x_direct_test_include"; then
13131 ac_x_includes
=$ac_dir
13137 fi # $ac_x_includes = NO
13139 if test "$ac_x_libraries" = NO
; then
13140 # Check for the libraries.
13142 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13143 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13145 # See if we find them without any special options.
13146 # Don't add to $LIBS permanently.
13147 ac_save_LIBS
="$LIBS"
13148 LIBS
="-l$x_direct_test_library $LIBS"
13149 cat > conftest.
$ac_ext <<EOF
13150 #line 13151 "configure"
13151 #include "confdefs.h"
13154 ${x_direct_test_function}()
13157 if { (eval echo configure
:13158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13159 LIBS
="$ac_save_LIBS"
13160 # We can link X programs with no special library path.
13163 echo "configure: failed program was:" >&5
13164 cat conftest.
$ac_ext >&5
13166 LIBS
="$ac_save_LIBS"
13167 # First see if replacing the include by lib works.
13168 # Check X11 before X11Rn because it is often a symlink to the current release.
13169 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13180 /usr
/local
/X
11/lib \
13181 /usr
/local
/X
11R
6/lib \
13182 /usr
/local
/X
11R
5/lib \
13183 /usr
/local
/X
11R
4/lib \
13185 /usr
/local
/lib
/X11 \
13186 /usr
/local
/lib
/X11R6 \
13187 /usr
/local
/lib
/X11R5 \
13188 /usr
/local
/lib
/X11R4 \
13192 /usr
/XFree
86/lib
/X11 \
13196 /usr
/unsupported
/lib \
13198 /usr
/local
/x
11r
5/lib \
13199 /usr
/lpp
/Xamples
/lib \
13203 /usr
/openwin
/share
/lib \
13206 for ac_extension
in a so sl
; do
13207 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13208 ac_x_libraries
=$ac_dir
13215 fi # $ac_x_libraries = NO
13217 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13218 # Didn't find X anywhere. Cache the known absence of X.
13219 ac_cv_have_x
="have_x=no"
13221 # Record where we found X for the cache.
13222 ac_cv_have_x
="have_x=yes \
13223 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13227 eval "$ac_cv_have_x"
13230 if test "$have_x" != yes; then
13231 echo "$ac_t""$have_x" 1>&6
13234 # If each of the values was on the command line, it overrides each guess.
13235 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13236 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13237 # Update the cache value to reflect the command line values.
13238 ac_cv_have_x
="have_x=yes \
13239 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13240 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13243 if test "$no_x" = yes; then
13244 # Not all programs may use this symbol, but it does not hurt to define it.
13245 cat >> confdefs.h
<<\EOF
13246 #define X_DISPLAY_MISSING 1
13249 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13251 if test -n "$x_includes"; then
13252 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13255 # It would also be nice to do this for all -L options, not just this one.
13256 if test -n "$x_libraries"; then
13257 X_LIBS
="$X_LIBS -L$x_libraries"
13258 # For Solaris; some versions of Sun CC require a space after -R and
13259 # others require no space. Words are not sufficient . . . .
13260 case "`(uname -sr) 2>/dev/null`" in
13262 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13263 echo "configure:13264: checking whether -R must be followed by a space" >&5
13264 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13265 cat > conftest.
$ac_ext <<EOF
13266 #line 13267 "configure"
13267 #include "confdefs.h"
13273 if { (eval echo configure
:13274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13277 echo "configure: failed program was:" >&5
13278 cat conftest.
$ac_ext >&5
13283 if test $ac_R_nospace = yes; then
13284 echo "$ac_t""no" 1>&6
13285 X_LIBS
="$X_LIBS -R$x_libraries"
13287 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13288 cat > conftest.
$ac_ext <<EOF
13289 #line 13290 "configure"
13290 #include "confdefs.h"
13296 if { (eval echo configure
:13297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13300 echo "configure: failed program was:" >&5
13301 cat conftest.
$ac_ext >&5
13306 if test $ac_R_space = yes; then
13307 echo "$ac_t""yes" 1>&6
13308 X_LIBS
="$X_LIBS -R $x_libraries"
13310 echo "$ac_t""neither works" 1>&6
13313 LIBS
="$ac_xsave_LIBS"
13317 # Check for system-dependent libraries X programs must link with.
13318 # Do this before checking for the system-independent R6 libraries
13319 # (-lICE), since we may need -lsocket or whatever for X linking.
13321 if test "$ISC" = yes; then
13322 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13324 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13325 # libraries were built with DECnet support. And karl@cs.umb.edu says
13326 # the Alpha needs dnet_stub (dnet does not exist).
13327 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13328 echo "configure:13329: checking for dnet_ntoa in -ldnet" >&5
13329 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13330 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13331 echo $ac_n "(cached) $ac_c" 1>&6
13333 ac_save_LIBS
="$LIBS"
13334 LIBS
="-ldnet $LIBS"
13335 cat > conftest.
$ac_ext <<EOF
13336 #line 13337 "configure"
13337 #include "confdefs.h"
13338 /* Override any gcc2 internal prototype to avoid an error. */
13339 /* We use char because int might match the return type of a gcc2
13340 builtin and then its argument prototype would still apply. */
13347 if { (eval echo configure
:13348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13349 eval "ac_cv_lib_$ac_lib_var=yes"
13351 echo "configure: failed program was:" >&5
13352 cat conftest.
$ac_ext >&5
13354 eval "ac_cv_lib_$ac_lib_var=no"
13357 LIBS
="$ac_save_LIBS"
13360 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13361 echo "$ac_t""yes" 1>&6
13362 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13364 echo "$ac_t""no" 1>&6
13367 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13368 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13369 echo "configure:13370: checking for dnet_ntoa in -ldnet_stub" >&5
13370 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13371 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13372 echo $ac_n "(cached) $ac_c" 1>&6
13374 ac_save_LIBS
="$LIBS"
13375 LIBS
="-ldnet_stub $LIBS"
13376 cat > conftest.
$ac_ext <<EOF
13377 #line 13378 "configure"
13378 #include "confdefs.h"
13379 /* Override any gcc2 internal prototype to avoid an error. */
13380 /* We use char because int might match the return type of a gcc2
13381 builtin and then its argument prototype would still apply. */
13388 if { (eval echo configure
:13389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13390 eval "ac_cv_lib_$ac_lib_var=yes"
13392 echo "configure: failed program was:" >&5
13393 cat conftest.
$ac_ext >&5
13395 eval "ac_cv_lib_$ac_lib_var=no"
13398 LIBS
="$ac_save_LIBS"
13401 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13402 echo "$ac_t""yes" 1>&6
13403 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13405 echo "$ac_t""no" 1>&6
13410 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13411 # to get the SysV transport functions.
13412 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13414 # The nsl library prevents programs from opening the X display
13415 # on Irix 5.2, according to dickey@clark.net.
13416 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13417 echo "configure:13418: checking for gethostbyname" >&5
13418 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13419 echo $ac_n "(cached) $ac_c" 1>&6
13421 cat > conftest.
$ac_ext <<EOF
13422 #line 13423 "configure"
13423 #include "confdefs.h"
13424 /* System header to define __stub macros and hopefully few prototypes,
13425 which can conflict with char gethostbyname(); below. */
13426 #include <assert.h>
13427 /* Override any gcc2 internal prototype to avoid an error. */
13428 /* We use char because int might match the return type of a gcc2
13429 builtin and then its argument prototype would still apply. */
13430 char gethostbyname();
13434 /* The GNU C library defines this for functions which it implements
13435 to always fail with ENOSYS. Some functions are actually named
13436 something starting with __ and the normal name is an alias. */
13437 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13445 if { (eval echo configure
:13446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13447 eval "ac_cv_func_gethostbyname=yes"
13449 echo "configure: failed program was:" >&5
13450 cat conftest.
$ac_ext >&5
13452 eval "ac_cv_func_gethostbyname=no"
13457 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13458 echo "$ac_t""yes" 1>&6
13461 echo "$ac_t""no" 1>&6
13464 if test $ac_cv_func_gethostbyname = no
; then
13465 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13466 echo "configure:13467: checking for gethostbyname in -lnsl" >&5
13467 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13468 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13469 echo $ac_n "(cached) $ac_c" 1>&6
13471 ac_save_LIBS
="$LIBS"
13473 cat > conftest.
$ac_ext <<EOF
13474 #line 13475 "configure"
13475 #include "confdefs.h"
13476 /* Override any gcc2 internal prototype to avoid an error. */
13477 /* We use char because int might match the return type of a gcc2
13478 builtin and then its argument prototype would still apply. */
13479 char gethostbyname();
13485 if { (eval echo configure
:13486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13487 eval "ac_cv_lib_$ac_lib_var=yes"
13489 echo "configure: failed program was:" >&5
13490 cat conftest.
$ac_ext >&5
13492 eval "ac_cv_lib_$ac_lib_var=no"
13495 LIBS
="$ac_save_LIBS"
13498 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13499 echo "$ac_t""yes" 1>&6
13500 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13502 echo "$ac_t""no" 1>&6
13507 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13508 # socket/setsockopt and other routines are undefined under SCO ODT
13509 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13510 # on later versions), says simon@lia.di.epfl.ch: it contains
13511 # gethostby* variants that don't use the nameserver (or something).
13512 # -lsocket must be given before -lnsl if both are needed.
13513 # We assume that if connect needs -lnsl, so does gethostbyname.
13514 echo $ac_n "checking for connect""... $ac_c" 1>&6
13515 echo "configure:13516: checking for connect" >&5
13516 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13517 echo $ac_n "(cached) $ac_c" 1>&6
13519 cat > conftest.
$ac_ext <<EOF
13520 #line 13521 "configure"
13521 #include "confdefs.h"
13522 /* System header to define __stub macros and hopefully few prototypes,
13523 which can conflict with char connect(); below. */
13524 #include <assert.h>
13525 /* Override any gcc2 internal prototype to avoid an error. */
13526 /* We use char because int might match the return type of a gcc2
13527 builtin and then its argument prototype would still apply. */
13532 /* The GNU C library defines this for functions which it implements
13533 to always fail with ENOSYS. Some functions are actually named
13534 something starting with __ and the normal name is an alias. */
13535 #if defined (__stub_connect) || defined (__stub___connect)
13543 if { (eval echo configure
:13544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13545 eval "ac_cv_func_connect=yes"
13547 echo "configure: failed program was:" >&5
13548 cat conftest.
$ac_ext >&5
13550 eval "ac_cv_func_connect=no"
13555 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13556 echo "$ac_t""yes" 1>&6
13559 echo "$ac_t""no" 1>&6
13562 if test $ac_cv_func_connect = no
; then
13563 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13564 echo "configure:13565: checking for connect in -lsocket" >&5
13565 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13566 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13567 echo $ac_n "(cached) $ac_c" 1>&6
13569 ac_save_LIBS
="$LIBS"
13570 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13571 cat > conftest.
$ac_ext <<EOF
13572 #line 13573 "configure"
13573 #include "confdefs.h"
13574 /* Override any gcc2 internal prototype to avoid an error. */
13575 /* We use char because int might match the return type of a gcc2
13576 builtin and then its argument prototype would still apply. */
13583 if { (eval echo configure
:13584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13585 eval "ac_cv_lib_$ac_lib_var=yes"
13587 echo "configure: failed program was:" >&5
13588 cat conftest.
$ac_ext >&5
13590 eval "ac_cv_lib_$ac_lib_var=no"
13593 LIBS
="$ac_save_LIBS"
13596 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13597 echo "$ac_t""yes" 1>&6
13598 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13600 echo "$ac_t""no" 1>&6
13605 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13606 echo $ac_n "checking for remove""... $ac_c" 1>&6
13607 echo "configure:13608: checking for remove" >&5
13608 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13609 echo $ac_n "(cached) $ac_c" 1>&6
13611 cat > conftest.
$ac_ext <<EOF
13612 #line 13613 "configure"
13613 #include "confdefs.h"
13614 /* System header to define __stub macros and hopefully few prototypes,
13615 which can conflict with char remove(); below. */
13616 #include <assert.h>
13617 /* Override any gcc2 internal prototype to avoid an error. */
13618 /* We use char because int might match the return type of a gcc2
13619 builtin and then its argument prototype would still apply. */
13624 /* The GNU C library defines this for functions which it implements
13625 to always fail with ENOSYS. Some functions are actually named
13626 something starting with __ and the normal name is an alias. */
13627 #if defined (__stub_remove) || defined (__stub___remove)
13635 if { (eval echo configure
:13636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13637 eval "ac_cv_func_remove=yes"
13639 echo "configure: failed program was:" >&5
13640 cat conftest.
$ac_ext >&5
13642 eval "ac_cv_func_remove=no"
13647 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13648 echo "$ac_t""yes" 1>&6
13651 echo "$ac_t""no" 1>&6
13654 if test $ac_cv_func_remove = no
; then
13655 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13656 echo "configure:13657: checking for remove in -lposix" >&5
13657 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13658 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13659 echo $ac_n "(cached) $ac_c" 1>&6
13661 ac_save_LIBS
="$LIBS"
13662 LIBS
="-lposix $LIBS"
13663 cat > conftest.
$ac_ext <<EOF
13664 #line 13665 "configure"
13665 #include "confdefs.h"
13666 /* Override any gcc2 internal prototype to avoid an error. */
13667 /* We use char because int might match the return type of a gcc2
13668 builtin and then its argument prototype would still apply. */
13675 if { (eval echo configure
:13676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13677 eval "ac_cv_lib_$ac_lib_var=yes"
13679 echo "configure: failed program was:" >&5
13680 cat conftest.
$ac_ext >&5
13682 eval "ac_cv_lib_$ac_lib_var=no"
13685 LIBS
="$ac_save_LIBS"
13688 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13689 echo "$ac_t""yes" 1>&6
13690 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
13692 echo "$ac_t""no" 1>&6
13697 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13698 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13699 echo "configure:13700: checking for shmat" >&5
13700 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13701 echo $ac_n "(cached) $ac_c" 1>&6
13703 cat > conftest.
$ac_ext <<EOF
13704 #line 13705 "configure"
13705 #include "confdefs.h"
13706 /* System header to define __stub macros and hopefully few prototypes,
13707 which can conflict with char shmat(); below. */
13708 #include <assert.h>
13709 /* Override any gcc2 internal prototype to avoid an error. */
13710 /* We use char because int might match the return type of a gcc2
13711 builtin and then its argument prototype would still apply. */
13716 /* The GNU C library defines this for functions which it implements
13717 to always fail with ENOSYS. Some functions are actually named
13718 something starting with __ and the normal name is an alias. */
13719 #if defined (__stub_shmat) || defined (__stub___shmat)
13727 if { (eval echo configure
:13728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13729 eval "ac_cv_func_shmat=yes"
13731 echo "configure: failed program was:" >&5
13732 cat conftest.
$ac_ext >&5
13734 eval "ac_cv_func_shmat=no"
13739 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13740 echo "$ac_t""yes" 1>&6
13743 echo "$ac_t""no" 1>&6
13746 if test $ac_cv_func_shmat = no
; then
13747 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13748 echo "configure:13749: checking for shmat in -lipc" >&5
13749 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13750 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13751 echo $ac_n "(cached) $ac_c" 1>&6
13753 ac_save_LIBS
="$LIBS"
13755 cat > conftest.
$ac_ext <<EOF
13756 #line 13757 "configure"
13757 #include "confdefs.h"
13758 /* Override any gcc2 internal prototype to avoid an error. */
13759 /* We use char because int might match the return type of a gcc2
13760 builtin and then its argument prototype would still apply. */
13767 if { (eval echo configure
:13768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13769 eval "ac_cv_lib_$ac_lib_var=yes"
13771 echo "configure: failed program was:" >&5
13772 cat conftest.
$ac_ext >&5
13774 eval "ac_cv_lib_$ac_lib_var=no"
13777 LIBS
="$ac_save_LIBS"
13780 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13781 echo "$ac_t""yes" 1>&6
13782 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
13784 echo "$ac_t""no" 1>&6
13790 # Check for libraries that X11R6 Xt/Xaw programs need.
13791 ac_save_LDFLAGS
="$LDFLAGS"
13792 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
13793 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13794 # check for ICE first), but we must link in the order -lSM -lICE or
13795 # we get undefined symbols. So assume we have SM if we have ICE.
13796 # These have to be linked with before -lX11, unlike the other
13797 # libraries we check for below, so use a different variable.
13798 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13799 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13800 echo "configure:13801: checking for IceConnectionNumber in -lICE" >&5
13801 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13802 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13803 echo $ac_n "(cached) $ac_c" 1>&6
13805 ac_save_LIBS
="$LIBS"
13806 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
13807 cat > conftest.
$ac_ext <<EOF
13808 #line 13809 "configure"
13809 #include "confdefs.h"
13810 /* Override any gcc2 internal prototype to avoid an error. */
13811 /* We use char because int might match the return type of a gcc2
13812 builtin and then its argument prototype would still apply. */
13813 char IceConnectionNumber();
13816 IceConnectionNumber()
13819 if { (eval echo configure
:13820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13821 eval "ac_cv_lib_$ac_lib_var=yes"
13823 echo "configure: failed program was:" >&5
13824 cat conftest.
$ac_ext >&5
13826 eval "ac_cv_lib_$ac_lib_var=no"
13829 LIBS
="$ac_save_LIBS"
13832 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13833 echo "$ac_t""yes" 1>&6
13834 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
13836 echo "$ac_t""no" 1>&6
13839 LDFLAGS
="$ac_save_LDFLAGS"
13844 if test "$no_x" = "yes"; then
13845 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13848 GUI_TK_LIBRARY
="$X_LIBS"
13849 TOOLKIT_INCLUDE
="$X_CFLAGS"
13850 AFMINSTALL
=afminstall
13851 COMPILED_X_PROGRAM
=0
13853 if test "$wxUSE_NANOX" = "yes"; then
13854 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13855 echo "configure:13856: checking for MicroWindows/NanoX distribution" >&5
13856 if test "x$MICROWIN" = x
; then
13857 echo "$ac_t""not found" 1>&6
13858 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13860 echo "$ac_t""$MICROWIN" 1>&6
13861 cat >> confdefs.h
<<\EOF
13862 #define wxUSE_NANOX 1
13869 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13870 echo "configure:13871: checking for Xpm library" >&5
13873 for ac_dir
in $SEARCH_LIB;
13875 for ac_extension
in a so sl dylib
; do
13876 if test -f "$ac_dir/libXpm.$ac_extension"; then
13877 ac_find_libraries
=$ac_dir
13883 if test "$ac_find_libraries" != "" ; then
13885 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13887 if test $result = 0; then
13890 ac_path_to_link
=" -L$ac_find_libraries"
13893 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13895 cat >> confdefs.h
<<\EOF
13896 #define wxHAVE_LIB_XPM 1
13899 echo "$ac_t""found at $ac_find_libraries" 1>&6
13901 cat > conftest.
$ac_ext <<EOF
13902 #line 13903 "configure"
13903 #include "confdefs.h"
13905 #include <X11/xpm.h>
13910 version = XpmLibraryVersion();
13914 if { (eval echo configure
:13915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13918 cat >> confdefs.h
<<\EOF
13919 #define wxHAVE_LIB_XPM 1
13922 echo "$ac_t""found in default search path" 1>&6
13923 COMPILED_X_PROGRAM
=0
13926 echo "configure: failed program was:" >&5
13927 cat conftest.
$ac_ext >&5
13930 echo "$ac_t""no" 1>&6
13931 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13938 wxUSE_UNIVERSAL
="yes"
13940 if test "$wxUSE_NANOX" = "yes"; then
13941 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13942 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"
13943 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13945 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
13948 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
13953 if test "$wxUSE_WINE" = 1; then
13954 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
13955 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13956 echo "configure:13957: checking for windows.h" >&5
13957 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13958 echo $ac_n "(cached) $ac_c" 1>&6
13960 cat > conftest.
$ac_ext <<EOF
13961 #line 13962 "configure"
13962 #include "confdefs.h"
13963 #include <windows.h>
13965 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13966 { (eval echo configure
:13967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13967 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13968 if test -z "$ac_err"; then
13970 eval "ac_cv_header_$ac_safe=yes"
13973 echo "configure: failed program was:" >&5
13974 cat conftest.
$ac_ext >&5
13976 eval "ac_cv_header_$ac_safe=no"
13980 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13981 echo "$ac_t""yes" 1>&6
13984 echo "$ac_t""no" 1>&6
13986 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13992 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13993 echo "configure:13994: checking for Xpm library" >&5
13996 for ac_dir
in $SEARCH_LIB;
13998 for ac_extension
in a so sl dylib
; do
13999 if test -f "$ac_dir/libXpm.$ac_extension"; then
14000 ac_find_libraries
=$ac_dir
14006 if test "$ac_find_libraries" != "" ; then
14007 GUI_TK_LIBRARY
="-L$ac_find_libraries"
14009 cat >> confdefs.h
<<\EOF
14010 #define wxHAVE_LIB_XPM 1
14013 echo "$ac_t""found at $ac_find_libraries" 1>&6
14015 echo "$ac_t""no" 1>&6
14016 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14020 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
14021 echo "configure:14022: checking for Mesa library" >&5
14024 for ac_dir
in $SEARCH_LIB;
14026 for ac_extension
in a so sl dylib
; do
14027 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14028 ac_find_libraries
=$ac_dir
14034 if test "$ac_find_libraries" != "" ; then
14035 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
14036 mesa_link
=" -lMesaGL"
14037 echo "$ac_t""found at $ac_find_libraries" 1>&6
14040 echo "$ac_t""no" 1>&6
14041 echo "configure: warning: library will be compiled without Mesa support" 1>&2
14044 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
14047 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
14050 if test "$wxUSE_MOTIF" = 1; then
14051 if test "$no_x" = yes; then
14052 # Not all programs may use this symbol, but it does not hurt to define it.
14053 cat >> confdefs.h
<<\EOF
14054 #define X_DISPLAY_MISSING 1
14057 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14059 if test -n "$x_includes"; then
14060 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14063 # It would also be nice to do this for all -L options, not just this one.
14064 if test -n "$x_libraries"; then
14065 X_LIBS
="$X_LIBS -L$x_libraries"
14066 # For Solaris; some versions of Sun CC require a space after -R and
14067 # others require no space. Words are not sufficient . . . .
14068 case "`(uname -sr) 2>/dev/null`" in
14070 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14071 echo "configure:14072: checking whether -R must be followed by a space" >&5
14072 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14073 cat > conftest.
$ac_ext <<EOF
14074 #line 14075 "configure"
14075 #include "confdefs.h"
14081 if { (eval echo configure
:14082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14085 echo "configure: failed program was:" >&5
14086 cat conftest.
$ac_ext >&5
14091 if test $ac_R_nospace = yes; then
14092 echo "$ac_t""no" 1>&6
14093 X_LIBS
="$X_LIBS -R$x_libraries"
14095 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14096 cat > conftest.
$ac_ext <<EOF
14097 #line 14098 "configure"
14098 #include "confdefs.h"
14104 if { (eval echo configure
:14105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14108 echo "configure: failed program was:" >&5
14109 cat conftest.
$ac_ext >&5
14114 if test $ac_R_space = yes; then
14115 echo "$ac_t""yes" 1>&6
14116 X_LIBS
="$X_LIBS -R $x_libraries"
14118 echo "$ac_t""neither works" 1>&6
14121 LIBS
="$ac_xsave_LIBS"
14125 # Check for system-dependent libraries X programs must link with.
14126 # Do this before checking for the system-independent R6 libraries
14127 # (-lICE), since we may need -lsocket or whatever for X linking.
14129 if test "$ISC" = yes; then
14130 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14132 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14133 # libraries were built with DECnet support. And karl@cs.umb.edu says
14134 # the Alpha needs dnet_stub (dnet does not exist).
14135 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14136 echo "configure:14137: checking for dnet_ntoa in -ldnet" >&5
14137 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14138 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14139 echo $ac_n "(cached) $ac_c" 1>&6
14141 ac_save_LIBS
="$LIBS"
14142 LIBS
="-ldnet $LIBS"
14143 cat > conftest.
$ac_ext <<EOF
14144 #line 14145 "configure"
14145 #include "confdefs.h"
14146 /* Override any gcc2 internal prototype to avoid an error. */
14147 /* We use char because int might match the return type of a gcc2
14148 builtin and then its argument prototype would still apply. */
14155 if { (eval echo configure
:14156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14157 eval "ac_cv_lib_$ac_lib_var=yes"
14159 echo "configure: failed program was:" >&5
14160 cat conftest.
$ac_ext >&5
14162 eval "ac_cv_lib_$ac_lib_var=no"
14165 LIBS
="$ac_save_LIBS"
14168 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14169 echo "$ac_t""yes" 1>&6
14170 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14172 echo "$ac_t""no" 1>&6
14175 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14176 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14177 echo "configure:14178: checking for dnet_ntoa in -ldnet_stub" >&5
14178 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14179 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14180 echo $ac_n "(cached) $ac_c" 1>&6
14182 ac_save_LIBS
="$LIBS"
14183 LIBS
="-ldnet_stub $LIBS"
14184 cat > conftest.
$ac_ext <<EOF
14185 #line 14186 "configure"
14186 #include "confdefs.h"
14187 /* Override any gcc2 internal prototype to avoid an error. */
14188 /* We use char because int might match the return type of a gcc2
14189 builtin and then its argument prototype would still apply. */
14196 if { (eval echo configure
:14197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14198 eval "ac_cv_lib_$ac_lib_var=yes"
14200 echo "configure: failed program was:" >&5
14201 cat conftest.
$ac_ext >&5
14203 eval "ac_cv_lib_$ac_lib_var=no"
14206 LIBS
="$ac_save_LIBS"
14209 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14210 echo "$ac_t""yes" 1>&6
14211 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14213 echo "$ac_t""no" 1>&6
14218 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14219 # to get the SysV transport functions.
14220 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14222 # The nsl library prevents programs from opening the X display
14223 # on Irix 5.2, according to dickey@clark.net.
14224 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14225 echo "configure:14226: checking for gethostbyname" >&5
14226 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14227 echo $ac_n "(cached) $ac_c" 1>&6
14229 cat > conftest.
$ac_ext <<EOF
14230 #line 14231 "configure"
14231 #include "confdefs.h"
14232 /* System header to define __stub macros and hopefully few prototypes,
14233 which can conflict with char gethostbyname(); below. */
14234 #include <assert.h>
14235 /* Override any gcc2 internal prototype to avoid an error. */
14236 /* We use char because int might match the return type of a gcc2
14237 builtin and then its argument prototype would still apply. */
14238 char gethostbyname();
14242 /* The GNU C library defines this for functions which it implements
14243 to always fail with ENOSYS. Some functions are actually named
14244 something starting with __ and the normal name is an alias. */
14245 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14253 if { (eval echo configure
:14254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14255 eval "ac_cv_func_gethostbyname=yes"
14257 echo "configure: failed program was:" >&5
14258 cat conftest.
$ac_ext >&5
14260 eval "ac_cv_func_gethostbyname=no"
14265 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14266 echo "$ac_t""yes" 1>&6
14269 echo "$ac_t""no" 1>&6
14272 if test $ac_cv_func_gethostbyname = no
; then
14273 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14274 echo "configure:14275: checking for gethostbyname in -lnsl" >&5
14275 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14276 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14277 echo $ac_n "(cached) $ac_c" 1>&6
14279 ac_save_LIBS
="$LIBS"
14281 cat > conftest.
$ac_ext <<EOF
14282 #line 14283 "configure"
14283 #include "confdefs.h"
14284 /* Override any gcc2 internal prototype to avoid an error. */
14285 /* We use char because int might match the return type of a gcc2
14286 builtin and then its argument prototype would still apply. */
14287 char gethostbyname();
14293 if { (eval echo configure
:14294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14295 eval "ac_cv_lib_$ac_lib_var=yes"
14297 echo "configure: failed program was:" >&5
14298 cat conftest.
$ac_ext >&5
14300 eval "ac_cv_lib_$ac_lib_var=no"
14303 LIBS
="$ac_save_LIBS"
14306 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14307 echo "$ac_t""yes" 1>&6
14308 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14310 echo "$ac_t""no" 1>&6
14315 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14316 # socket/setsockopt and other routines are undefined under SCO ODT
14317 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14318 # on later versions), says simon@lia.di.epfl.ch: it contains
14319 # gethostby* variants that don't use the nameserver (or something).
14320 # -lsocket must be given before -lnsl if both are needed.
14321 # We assume that if connect needs -lnsl, so does gethostbyname.
14322 echo $ac_n "checking for connect""... $ac_c" 1>&6
14323 echo "configure:14324: checking for connect" >&5
14324 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14325 echo $ac_n "(cached) $ac_c" 1>&6
14327 cat > conftest.
$ac_ext <<EOF
14328 #line 14329 "configure"
14329 #include "confdefs.h"
14330 /* System header to define __stub macros and hopefully few prototypes,
14331 which can conflict with char connect(); below. */
14332 #include <assert.h>
14333 /* Override any gcc2 internal prototype to avoid an error. */
14334 /* We use char because int might match the return type of a gcc2
14335 builtin and then its argument prototype would still apply. */
14340 /* The GNU C library defines this for functions which it implements
14341 to always fail with ENOSYS. Some functions are actually named
14342 something starting with __ and the normal name is an alias. */
14343 #if defined (__stub_connect) || defined (__stub___connect)
14351 if { (eval echo configure
:14352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14353 eval "ac_cv_func_connect=yes"
14355 echo "configure: failed program was:" >&5
14356 cat conftest.
$ac_ext >&5
14358 eval "ac_cv_func_connect=no"
14363 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14364 echo "$ac_t""yes" 1>&6
14367 echo "$ac_t""no" 1>&6
14370 if test $ac_cv_func_connect = no
; then
14371 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14372 echo "configure:14373: checking for connect in -lsocket" >&5
14373 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14374 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14375 echo $ac_n "(cached) $ac_c" 1>&6
14377 ac_save_LIBS
="$LIBS"
14378 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14379 cat > conftest.
$ac_ext <<EOF
14380 #line 14381 "configure"
14381 #include "confdefs.h"
14382 /* Override any gcc2 internal prototype to avoid an error. */
14383 /* We use char because int might match the return type of a gcc2
14384 builtin and then its argument prototype would still apply. */
14391 if { (eval echo configure
:14392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14393 eval "ac_cv_lib_$ac_lib_var=yes"
14395 echo "configure: failed program was:" >&5
14396 cat conftest.
$ac_ext >&5
14398 eval "ac_cv_lib_$ac_lib_var=no"
14401 LIBS
="$ac_save_LIBS"
14404 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14405 echo "$ac_t""yes" 1>&6
14406 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14408 echo "$ac_t""no" 1>&6
14413 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14414 echo $ac_n "checking for remove""... $ac_c" 1>&6
14415 echo "configure:14416: checking for remove" >&5
14416 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14417 echo $ac_n "(cached) $ac_c" 1>&6
14419 cat > conftest.
$ac_ext <<EOF
14420 #line 14421 "configure"
14421 #include "confdefs.h"
14422 /* System header to define __stub macros and hopefully few prototypes,
14423 which can conflict with char remove(); below. */
14424 #include <assert.h>
14425 /* Override any gcc2 internal prototype to avoid an error. */
14426 /* We use char because int might match the return type of a gcc2
14427 builtin and then its argument prototype would still apply. */
14432 /* The GNU C library defines this for functions which it implements
14433 to always fail with ENOSYS. Some functions are actually named
14434 something starting with __ and the normal name is an alias. */
14435 #if defined (__stub_remove) || defined (__stub___remove)
14443 if { (eval echo configure
:14444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14445 eval "ac_cv_func_remove=yes"
14447 echo "configure: failed program was:" >&5
14448 cat conftest.
$ac_ext >&5
14450 eval "ac_cv_func_remove=no"
14455 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14456 echo "$ac_t""yes" 1>&6
14459 echo "$ac_t""no" 1>&6
14462 if test $ac_cv_func_remove = no
; then
14463 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14464 echo "configure:14465: checking for remove in -lposix" >&5
14465 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14466 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14467 echo $ac_n "(cached) $ac_c" 1>&6
14469 ac_save_LIBS
="$LIBS"
14470 LIBS
="-lposix $LIBS"
14471 cat > conftest.
$ac_ext <<EOF
14472 #line 14473 "configure"
14473 #include "confdefs.h"
14474 /* Override any gcc2 internal prototype to avoid an error. */
14475 /* We use char because int might match the return type of a gcc2
14476 builtin and then its argument prototype would still apply. */
14483 if { (eval echo configure
:14484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14485 eval "ac_cv_lib_$ac_lib_var=yes"
14487 echo "configure: failed program was:" >&5
14488 cat conftest.
$ac_ext >&5
14490 eval "ac_cv_lib_$ac_lib_var=no"
14493 LIBS
="$ac_save_LIBS"
14496 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14497 echo "$ac_t""yes" 1>&6
14498 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14500 echo "$ac_t""no" 1>&6
14505 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14506 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14507 echo "configure:14508: checking for shmat" >&5
14508 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14509 echo $ac_n "(cached) $ac_c" 1>&6
14511 cat > conftest.
$ac_ext <<EOF
14512 #line 14513 "configure"
14513 #include "confdefs.h"
14514 /* System header to define __stub macros and hopefully few prototypes,
14515 which can conflict with char shmat(); below. */
14516 #include <assert.h>
14517 /* Override any gcc2 internal prototype to avoid an error. */
14518 /* We use char because int might match the return type of a gcc2
14519 builtin and then its argument prototype would still apply. */
14524 /* The GNU C library defines this for functions which it implements
14525 to always fail with ENOSYS. Some functions are actually named
14526 something starting with __ and the normal name is an alias. */
14527 #if defined (__stub_shmat) || defined (__stub___shmat)
14535 if { (eval echo configure
:14536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14537 eval "ac_cv_func_shmat=yes"
14539 echo "configure: failed program was:" >&5
14540 cat conftest.
$ac_ext >&5
14542 eval "ac_cv_func_shmat=no"
14547 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14548 echo "$ac_t""yes" 1>&6
14551 echo "$ac_t""no" 1>&6
14554 if test $ac_cv_func_shmat = no
; then
14555 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14556 echo "configure:14557: checking for shmat in -lipc" >&5
14557 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14558 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14559 echo $ac_n "(cached) $ac_c" 1>&6
14561 ac_save_LIBS
="$LIBS"
14563 cat > conftest.
$ac_ext <<EOF
14564 #line 14565 "configure"
14565 #include "confdefs.h"
14566 /* Override any gcc2 internal prototype to avoid an error. */
14567 /* We use char because int might match the return type of a gcc2
14568 builtin and then its argument prototype would still apply. */
14575 if { (eval echo configure
:14576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14577 eval "ac_cv_lib_$ac_lib_var=yes"
14579 echo "configure: failed program was:" >&5
14580 cat conftest.
$ac_ext >&5
14582 eval "ac_cv_lib_$ac_lib_var=no"
14585 LIBS
="$ac_save_LIBS"
14588 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14589 echo "$ac_t""yes" 1>&6
14590 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14592 echo "$ac_t""no" 1>&6
14598 # Check for libraries that X11R6 Xt/Xaw programs need.
14599 ac_save_LDFLAGS
="$LDFLAGS"
14600 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14601 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14602 # check for ICE first), but we must link in the order -lSM -lICE or
14603 # we get undefined symbols. So assume we have SM if we have ICE.
14604 # These have to be linked with before -lX11, unlike the other
14605 # libraries we check for below, so use a different variable.
14606 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14607 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14608 echo "configure:14609: checking for IceConnectionNumber in -lICE" >&5
14609 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14610 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14611 echo $ac_n "(cached) $ac_c" 1>&6
14613 ac_save_LIBS
="$LIBS"
14614 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14615 cat > conftest.
$ac_ext <<EOF
14616 #line 14617 "configure"
14617 #include "confdefs.h"
14618 /* Override any gcc2 internal prototype to avoid an error. */
14619 /* We use char because int might match the return type of a gcc2
14620 builtin and then its argument prototype would still apply. */
14621 char IceConnectionNumber();
14624 IceConnectionNumber()
14627 if { (eval echo configure
:14628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14629 eval "ac_cv_lib_$ac_lib_var=yes"
14631 echo "configure: failed program was:" >&5
14632 cat conftest.
$ac_ext >&5
14634 eval "ac_cv_lib_$ac_lib_var=no"
14637 LIBS
="$ac_save_LIBS"
14640 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14641 echo "$ac_t""yes" 1>&6
14642 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14644 echo "$ac_t""no" 1>&6
14647 LDFLAGS
="$ac_save_LDFLAGS"
14652 if test "$no_x" = "yes"; then
14653 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14656 GUI_TK_LIBRARY
="$X_LIBS"
14657 TOOLKIT_INCLUDE
="$X_CFLAGS"
14658 AFMINSTALL
=afminstall
14659 COMPILED_X_PROGRAM
=0
14661 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14662 echo "configure:14663: checking for Motif/Lesstif headers" >&5
14665 for ac_dir
in $SEARCH_INCLUDE;
14667 if test -f "$ac_dir/Xm/Xm.h"; then
14668 ac_find_includes
=$ac_dir
14673 if test "$ac_find_includes" != "" ; then
14674 echo "$ac_t""found in $ac_find_includes" 1>&6
14676 ac_path_to_include
=$ac_find_includes
14677 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
14679 if test $result = 0; then
14680 ac_path_to_include
=""
14682 ac_path_to_include
=" -I$ac_find_includes"
14685 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
14687 cat > conftest.
$ac_ext <<EOF
14688 #line 14689 "configure"
14689 #include "confdefs.h"
14696 version = xmUseVersion;
14700 if { (eval echo configure
:14701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14703 echo "$ac_t""found in default search path" 1>&6
14704 COMPILED_X_PROGRAM
=1
14707 echo "configure: failed program was:" >&5
14708 cat conftest.
$ac_ext >&5
14711 echo "$ac_t""no" 1>&6
14712 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14719 if test "$COMPILED_X_PROGRAM" = 0; then
14720 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14721 echo "configure:14722: checking for Motif/Lesstif library" >&5
14724 for ac_dir
in $SEARCH_LIB;
14726 for ac_extension
in a so sl dylib
; do
14727 if test -f "$ac_dir/libXm.$ac_extension"; then
14728 ac_find_libraries
=$ac_dir
14734 if test "$ac_find_libraries" != "" ; then
14735 echo "$ac_t""found at $ac_find_libraries" 1>&6
14738 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14740 if test $result = 0; then
14743 ac_path_to_link
=" -L$ac_find_libraries"
14746 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14748 save_CFLAGS
=$CFLAGS
14749 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
14751 cat > conftest.
$ac_ext <<EOF
14752 #line 14753 "configure"
14753 #include "confdefs.h"
14760 version = xmUseVersion;
14764 if { (eval echo configure
:14765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14767 echo "$ac_t""found in default search path" 1>&6
14768 COMPILED_X_PROGRAM
=1
14771 echo "configure: failed program was:" >&5
14772 cat conftest.
$ac_ext >&5
14775 echo "$ac_t""no" 1>&6
14776 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14782 CFLAGS
=$save_CFLAGS
14787 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14788 echo "configure:14789: checking for Xpm library" >&5
14791 for ac_dir
in $SEARCH_LIB;
14793 for ac_extension
in a so sl dylib
; do
14794 if test -f "$ac_dir/libXpm.$ac_extension"; then
14795 ac_find_libraries
=$ac_dir
14801 if test "$ac_find_libraries" != "" ; then
14803 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14805 if test $result = 0; then
14808 ac_path_to_link
=" -L$ac_find_libraries"
14811 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14814 cat >> confdefs.h
<<\EOF
14815 #define wxHAVE_LIB_XPM 1
14818 echo "$ac_t""found at $ac_find_libraries" 1>&6
14820 save_CFLAGS
=$CFLAGS
14821 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
14823 cat > conftest.
$ac_ext <<EOF
14824 #line 14825 "configure"
14825 #include "confdefs.h"
14827 #include <X11/xpm.h>
14832 version = XpmLibraryVersion();
14836 if { (eval echo configure
:14837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14840 cat >> confdefs.h
<<\EOF
14841 #define wxHAVE_LIB_XPM 1
14844 echo "$ac_t""found in default search path" 1>&6
14845 COMPILED_X_PROGRAM
=0
14848 echo "configure: failed program was:" >&5
14849 cat conftest.
$ac_ext >&5
14852 echo "$ac_t""no" 1>&6
14853 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14859 CFLAGS
=$save_CFLAGS
14862 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
14863 echo "configure:14864: checking if we need -lXp and/or -lSM -lICE" >&5
14867 for libp
in "" " -lXp"; do
14868 if test "$libs_found" = "0"; then
14869 for libsm_ice
in " -lSM -lICE"; do
14870 if test "$libs_found" = "0"; then
14872 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
14873 save_CFLAGS
=$CFLAGS
14874 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
14876 cat > conftest.
$ac_ext <<EOF
14877 #line 14878 "configure"
14878 #include "confdefs.h"
14881 #include <Xm/List.h>
14885 XmString string = NULL;
14888 XmListAddItem(w, string, position);
14892 if { (eval echo configure
:14893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14896 libsm_ice_link
="$libsm_ice"
14897 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
14901 echo "configure: failed program was:" >&5
14902 cat conftest.
$ac_ext >&5
14910 CFLAGS
=$save_CFLAGS
14916 if test "$libs_found" = "0"; then
14917 echo "$ac_t""can't find the right libraries" 1>&6
14918 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
14921 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
14922 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14927 if test "$wxUSE_MAC" = 1; then
14928 if test "$wxUSE_PRECOMP" = "yes"; then
14929 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
14931 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
14933 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
14934 CFLAGS
="$CFLAGS -fpascal-strings"
14935 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
14937 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14942 if test "$wxUSE_PM" = 1; then
14947 if test "$TOOLKIT" = "PM" ; then
14950 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14953 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14955 if test "$wxUSE_UNIVERSAL" = "yes"; then
14956 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14958 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14959 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14961 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14962 if test "$wxUSE_X11" = 1; then
14963 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14965 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14967 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14970 ALL_OBJECTS
="\$(GUIOBJS)"
14971 ALL_SOURCES
="\$(ALL_SOURCES)"
14972 ALL_HEADERS
="\$(ALL_HEADERS)"
14975 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14977 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14978 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
14981 if test "$wxUSE_HTML" = "yes"; then
14982 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
14985 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14986 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
14988 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14989 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
14991 if test "$wxUSE_LIBPNG" = "builtin" ; then
14992 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
14995 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14996 DISTDIR
="wx\$(TOOLKIT)"
15002 if test "$USE_WIN32" = 1 ; then
15003 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15004 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15008 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15009 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15012 ALL_SOURCES
="\$(ALL_SOURCES)"
15013 ALL_HEADERS
="\$(ALL_HEADERS)"
15015 PORT_FILES
="\${top_srcdir}/src/files.lst"
15017 GUIDIST
="BASE_DIST"
15022 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15023 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15026 if test "$wxUSE_REGEX" = "builtin" ; then
15027 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15029 if test "$wxUSE_ZLIB" = "builtin" ; then
15030 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15034 if test "$wxUSE_OPENGL" = "yes"; then
15035 if test "$wxUSE_MAC" = 1; then
15036 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15037 elif test "$wxUSE_MSW" = 1; then
15038 OPENGL_LIBS
="-lopengl32 -lglu32"
15040 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15041 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15042 echo "configure:15043: checking for GL/gl.h" >&5
15043 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15044 echo $ac_n "(cached) $ac_c" 1>&6
15046 cat > conftest.
$ac_ext <<EOF
15047 #line 15048 "configure"
15048 #include "confdefs.h"
15051 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15052 { (eval echo configure
:15053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15053 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15054 if test -z "$ac_err"; then
15056 eval "ac_cv_header_$ac_safe=yes"
15059 echo "configure: failed program was:" >&5
15060 cat conftest.
$ac_ext >&5
15062 eval "ac_cv_header_$ac_safe=no"
15066 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15067 echo "$ac_t""yes" 1>&6
15069 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15070 echo "configure:15071: checking for -lGL" >&5
15073 for ac_dir
in $SEARCH_LIB;
15075 for ac_extension
in a so sl dylib
; do
15076 if test -f "$ac_dir/libGL.$ac_extension"; then
15077 ac_find_libraries
=$ac_dir
15083 if test "$ac_find_libraries" != "" ; then
15085 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15087 if test $result = 0; then
15090 ac_path_to_link
=" -L$ac_find_libraries"
15093 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15094 LDFLAGS_GL
="$LDFLAGS"
15096 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15098 OPENGL_LIBS
="-lGL -lGLU"
15099 echo "$ac_t""yes" 1>&6
15101 echo "$ac_t""no" 1>&6
15102 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15103 echo "configure:15104: checking for -lMesaGL" >&5
15106 for ac_dir
in $SEARCH_LIB;
15108 for ac_extension
in a so sl dylib
; do
15109 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15110 ac_find_libraries
=$ac_dir
15116 if test "$ac_find_libraries" != "" ; then
15118 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15120 if test $result = 0; then
15123 ac_path_to_link
=" -L$ac_find_libraries"
15126 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15127 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15128 echo "$ac_t""yes" 1>&6
15130 echo "$ac_t""no" 1>&6
15135 echo "$ac_t""no" 1>&6
15139 if test "x$OPENGL_LIBS" = "x"; then
15140 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15144 if test "$wxUSE_OPENGL" = "yes"; then
15145 cat >> confdefs.h
<<\EOF
15146 #define wxUSE_OPENGL 1
15149 cat >> confdefs.h
<<\EOF
15150 #define wxUSE_GLCANVAS 1
15153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15157 if test -z "$TOOLKIT_VPATH" ; then
15158 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15161 if test -n "$TOOLKIT" ; then
15162 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15165 lib_unicode_suffix
=
15166 if test "$wxUSE_UNICODE" = "yes"; then
15167 lib_unicode_suffix
=u
15171 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15175 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15176 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15178 if test "$cross_compiling" = "yes"; then
15179 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
15180 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15183 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15184 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15186 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15187 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15189 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15190 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15191 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15192 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15195 *-*-cygwin* | *-*-mingw32* )
15199 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15200 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15201 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15202 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15203 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15205 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15206 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15211 if test "$wxUSE_MAC" = 1; then
15212 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
15213 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
15218 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
15219 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
15221 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
15222 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
15224 if test "$wxUSE_OPENGL" = "yes"; then
15225 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
15226 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
15231 if test "$wxUSE_SHARED" = "yes"; then
15233 *-pc-os2_emx | *-pc-os2-emx | \
15236 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
15241 if test "$wxUSE_SHARED" = "yes"; then
15243 if test "$wxUSE_OPENGL" = "yes"; then
15244 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
15245 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
15247 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
15248 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
15251 if test "$GCC" = "yes"; then
15255 SHARED_LD
="${CXX} -shared -o"
15259 if test "$GCC" == "yes"; then
15260 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
15262 LDFLAGS
="$LDFLAGS -L/usr/lib"
15264 SHARED_LD
="${CXX} -b -o"
15268 if test "$wxUSE_OPENGL" = "yes"; then
15269 WX_ALL_INSTALLED
="preinstall_gl"
15270 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15272 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15277 if test "$GCC" != "yes"; then
15278 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
15279 echo "configure:15280: checking for Intel compiler" >&5
15280 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
15281 echo $ac_n "(cached) $ac_c" 1>&6
15284 cat > conftest.
$ac_ext <<EOF
15285 #line 15286 "configure"
15286 #include "confdefs.h"
15290 #ifndef __INTEL_COMPILER
15296 if { (eval echo configure
:15297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15300 echo "configure: failed program was:" >&5
15301 cat conftest.
$ac_ext >&5
15310 echo "$ac_t""$wx_cv_prog_icc" 1>&6
15311 if test "$wx_cv_prog_icc" = "yes"; then
15316 if test "$wxUSE_SONAME" = "yes" ; then
15317 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
15318 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
15319 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
15324 if test "$GCC" = yes ; then
15325 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
15327 SHARED_LD
="${CXX} -G -o"
15329 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
15330 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
15335 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
15336 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
15337 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
15338 PIC_FLAG
="-dynamic -fPIC"
15339 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
15340 SONAME_FLAGS_GL
=${SONAME_FLAGS}
15344 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
15345 set dummy makeC
++SharedLib
; ac_word
=$2
15346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15347 echo "configure:15348: checking for $ac_word" >&5
15348 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
15349 echo $ac_n "(cached) $ac_c" 1>&6
15351 if test -n "$AIX_CXX_LD"; then
15352 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
15354 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15356 for ac_dir
in $ac_dummy; do
15357 test -z "$ac_dir" && ac_dir
=.
15358 if test -f $ac_dir/$ac_word; then
15359 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
15364 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
15367 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
15368 if test -n "$AIX_CXX_LD"; then
15369 echo "$ac_t""$AIX_CXX_LD" 1>&6
15371 echo "$ac_t""no" 1>&6
15375 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
15378 *-*-cygwin* | *-*-mingw32* )
15380 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
15382 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
15383 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
15385 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
15387 if test "$wxUSE_OPENGL" = "yes"; then
15388 WX_ALL_INSTALLED
="preinstall_gl"
15389 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15391 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15396 SHARED_LD
="${LD} -shared -o"
15399 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
15401 *-*-irix5* | *-*-irix6* | \
15408 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
15411 if test "x$WX_TARGET_LIBRARY" = "x"; then
15412 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
15413 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
15416 WX_TARGET_LIBRARY_TYPE
="so"
15417 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
15420 if test "$wxUSE_SHARED" = "no"; then
15422 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
15423 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15426 if test "$wxUSE_MAC" = 1; then
15427 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15430 if test "$wxUSE_OPENGL" = "yes"; then
15431 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
15432 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
15434 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
15437 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
15438 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
15440 WX_TARGET_LIBRARY_TYPE
="a"
15441 INSTALL_LIBRARY
='$(INSTALL_DATA)'
15444 if test "$wxUSE_MAC" = 1; then
15445 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
15446 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
15447 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
15448 # Extract the first word of "Rez", so it can be a program name with args.
15449 set dummy Rez
; ac_word
=$2
15450 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15451 echo "configure:15452: checking for $ac_word" >&5
15452 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
15453 echo $ac_n "(cached) $ac_c" 1>&6
15455 if test -n "$RESCOMP"; then
15456 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
15458 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15460 for ac_dir
in $ac_dummy; do
15461 test -z "$ac_dir" && ac_dir
=.
15462 if test -f $ac_dir/$ac_word; then
15463 ac_cv_prog_RESCOMP
="Rez"
15468 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
15471 RESCOMP
="$ac_cv_prog_RESCOMP"
15472 if test -n "$RESCOMP"; then
15473 echo "$ac_t""$RESCOMP" 1>&6
15475 echo "$ac_t""no" 1>&6
15478 # Extract the first word of "DeRez", so it can be a program name with args.
15479 set dummy DeRez
; ac_word
=$2
15480 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15481 echo "configure:15482: checking for $ac_word" >&5
15482 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
15483 echo $ac_n "(cached) $ac_c" 1>&6
15485 if test -n "$DEREZ"; then
15486 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
15488 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15490 for ac_dir
in $ac_dummy; do
15491 test -z "$ac_dir" && ac_dir
=.
15492 if test -f $ac_dir/$ac_word; then
15493 ac_cv_prog_DEREZ
="DeRez"
15498 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
15501 DEREZ
="$ac_cv_prog_DEREZ"
15502 if test -n "$DEREZ"; then
15503 echo "$ac_t""$DEREZ" 1>&6
15505 echo "$ac_t""no" 1>&6
15508 MACOSX_BUNDLE
="bundle"
15509 if test "$wxUSE_SHARED" = "yes"; then
15510 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
15511 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
15513 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
15514 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
15517 if test "$wxUSE_PM" = 1; then
15518 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
15523 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
15524 echo "configure:15525: checking for ANSI C header files" >&5
15525 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
15526 echo $ac_n "(cached) $ac_c" 1>&6
15528 cat > conftest.
$ac_ext <<EOF
15529 #line 15530 "configure"
15530 #include "confdefs.h"
15531 #include <stdlib.h>
15532 #include <stdarg.h>
15533 #include <string.h>
15536 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15537 { (eval echo configure
:15538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15538 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15539 if test -z "$ac_err"; then
15541 ac_cv_header_stdc
=yes
15544 echo "configure: failed program was:" >&5
15545 cat conftest.
$ac_ext >&5
15547 ac_cv_header_stdc
=no
15551 if test $ac_cv_header_stdc = yes; then
15552 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15553 cat > conftest.
$ac_ext <<EOF
15554 #line 15555 "configure"
15555 #include "confdefs.h"
15556 #include <string.h>
15558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15559 egrep "memchr" >/dev
/null
2>&1; then
15563 ac_cv_header_stdc
=no
15569 if test $ac_cv_header_stdc = yes; then
15570 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15571 cat > conftest.
$ac_ext <<EOF
15572 #line 15573 "configure"
15573 #include "confdefs.h"
15574 #include <stdlib.h>
15576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15577 egrep "free" >/dev
/null
2>&1; then
15581 ac_cv_header_stdc
=no
15587 if test $ac_cv_header_stdc = yes; then
15588 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15589 if test "$cross_compiling" = yes; then
15592 cat > conftest.
$ac_ext <<EOF
15593 #line 15594 "configure"
15594 #include "confdefs.h"
15596 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15597 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15598 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15599 int main () { int i; for (i = 0; i < 256; i++)
15600 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15604 if { (eval echo configure
:15605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15608 echo "configure: failed program was:" >&5
15609 cat conftest.
$ac_ext >&5
15611 ac_cv_header_stdc
=no
15619 echo "$ac_t""$ac_cv_header_stdc" 1>&6
15620 if test $ac_cv_header_stdc = yes; then
15621 cat >> confdefs.h
<<\EOF
15622 #define STDC_HEADERS 1
15627 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15628 echo "configure:15629: checking for mode_t" >&5
15629 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
15630 echo $ac_n "(cached) $ac_c" 1>&6
15632 cat > conftest.
$ac_ext <<EOF
15633 #line 15634 "configure"
15634 #include "confdefs.h"
15635 #include <sys/types.h>
15637 #include <stdlib.h>
15638 #include <stddef.h>
15641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15642 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15644 ac_cv_type_mode_t
=yes
15647 ac_cv_type_mode_t
=no
15652 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15653 if test $ac_cv_type_mode_t = no
; then
15654 cat >> confdefs.h
<<\EOF
15660 echo $ac_n "checking for off_t""... $ac_c" 1>&6
15661 echo "configure:15662: checking for off_t" >&5
15662 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
15663 echo $ac_n "(cached) $ac_c" 1>&6
15665 cat > conftest.
$ac_ext <<EOF
15666 #line 15667 "configure"
15667 #include "confdefs.h"
15668 #include <sys/types.h>
15670 #include <stdlib.h>
15671 #include <stddef.h>
15674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15675 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15677 ac_cv_type_off_t
=yes
15680 ac_cv_type_off_t
=no
15685 echo "$ac_t""$ac_cv_type_off_t" 1>&6
15686 if test $ac_cv_type_off_t = no
; then
15687 cat >> confdefs.h
<<\EOF
15693 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15694 echo "configure:15695: checking for pid_t" >&5
15695 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
15696 echo $ac_n "(cached) $ac_c" 1>&6
15698 cat > conftest.
$ac_ext <<EOF
15699 #line 15700 "configure"
15700 #include "confdefs.h"
15701 #include <sys/types.h>
15703 #include <stdlib.h>
15704 #include <stddef.h>
15707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15708 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15710 ac_cv_type_pid_t
=yes
15713 ac_cv_type_pid_t
=no
15718 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15719 if test $ac_cv_type_pid_t = no
; then
15720 cat >> confdefs.h
<<\EOF
15726 echo $ac_n "checking for size_t""... $ac_c" 1>&6
15727 echo "configure:15728: checking for size_t" >&5
15728 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
15729 echo $ac_n "(cached) $ac_c" 1>&6
15731 cat > conftest.
$ac_ext <<EOF
15732 #line 15733 "configure"
15733 #include "confdefs.h"
15734 #include <sys/types.h>
15736 #include <stdlib.h>
15737 #include <stddef.h>
15740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15741 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15743 ac_cv_type_size_t
=yes
15746 ac_cv_type_size_t
=no
15751 echo "$ac_t""$ac_cv_type_size_t" 1>&6
15752 if test $ac_cv_type_size_t = no
; then
15753 cat >> confdefs.h
<<\EOF
15754 #define size_t unsigned
15759 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15760 echo "configure:15761: checking for uid_t in sys/types.h" >&5
15761 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15762 echo $ac_n "(cached) $ac_c" 1>&6
15764 cat > conftest.
$ac_ext <<EOF
15765 #line 15766 "configure"
15766 #include "confdefs.h"
15767 #include <sys/types.h>
15769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15770 egrep "uid_t" >/dev
/null
2>&1; then
15772 ac_cv_type_uid_t
=yes
15775 ac_cv_type_uid_t
=no
15781 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15782 if test $ac_cv_type_uid_t = no
; then
15783 cat >> confdefs.h
<<\EOF
15787 cat >> confdefs.h
<<\EOF
15796 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15797 ac_cpp
='$CXXCPP $CPPFLAGS'
15798 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15799 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15800 cross_compiling
=$ac_cv_prog_cxx_cross
15802 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15803 echo "configure:15804: checking if size_t is unsigned int" >&5
15804 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15805 echo $ac_n "(cached) $ac_c" 1>&6
15807 cat > conftest.
$ac_ext <<EOF
15808 #line 15809 "configure"
15809 #include "confdefs.h"
15810 #include <stddef.h>
15815 struct Foo { void foo(size_t); void foo(unsigned int); };
15821 if { (eval echo configure
:15822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15823 wx_cv_size_t_is_uint
=no
15825 echo "configure: failed program was:" >&5
15826 cat conftest.
$ac_ext >&5
15828 wx_cv_size_t_is_uint
=yes
15835 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15837 if test "$wx_cv_size_t_is_uint" = "yes"; then
15838 cat >> confdefs.h
<<\EOF
15839 #define wxSIZE_T_IS_UINT 1
15843 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15844 echo "configure:15845: checking if size_t is unsigned long" >&5
15845 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15846 echo $ac_n "(cached) $ac_c" 1>&6
15848 cat > conftest.
$ac_ext <<EOF
15849 #line 15850 "configure"
15850 #include "confdefs.h"
15851 #include <stddef.h>
15856 struct Foo { void foo(size_t); void foo(unsigned long); };
15862 if { (eval echo configure
:15863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15864 wx_cv_size_t_is_ulong
=no
15866 echo "configure: failed program was:" >&5
15867 cat conftest.
$ac_ext >&5
15869 wx_cv_size_t_is_ulong
=yes
15876 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15878 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15879 cat >> confdefs.h
<<\EOF
15880 #define wxSIZE_T_IS_ULONG 1
15887 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15888 ac_cpp
='$CPP $CPPFLAGS'
15889 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15890 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15891 cross_compiling
=$ac_cv_prog_cc_cross
15895 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15896 echo "configure:15897: checking for pw_gecos in struct passwd" >&5
15897 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15898 echo $ac_n "(cached) $ac_c" 1>&6
15901 cat > conftest.
$ac_ext <<EOF
15902 #line 15903 "configure"
15903 #include "confdefs.h"
15913 if { (eval echo configure
:15914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15916 wx_cv_struct_pw_gecos
=yes
15919 echo "configure: failed program was:" >&5
15920 cat conftest.
$ac_ext >&5
15923 wx_cv_struct_pw_gecos
=no
15932 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15934 if test "$wx_cv_struct_pw_gecos" = "yes"; then
15935 cat >> confdefs.h
<<\EOF
15936 #define HAVE_PW_GECOS 1
15942 if test "$wx_cv_sizeof_wchar_t" != "0"; then
15943 cat >> confdefs.h
<<\EOF
15944 #define wxUSE_WCHAR_T 1
15950 for ac_func
in wcslen
15952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15953 echo "configure:15954: checking for $ac_func" >&5
15954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15955 echo $ac_n "(cached) $ac_c" 1>&6
15957 cat > conftest.
$ac_ext <<EOF
15958 #line 15959 "configure"
15959 #include "confdefs.h"
15960 /* System header to define __stub macros and hopefully few prototypes,
15961 which can conflict with char $ac_func(); below. */
15962 #include <assert.h>
15963 /* Override any gcc2 internal prototype to avoid an error. */
15964 /* We use char because int might match the return type of a gcc2
15965 builtin and then its argument prototype would still apply. */
15970 /* The GNU C library defines this for functions which it implements
15971 to always fail with ENOSYS. Some functions are actually named
15972 something starting with __ and the normal name is an alias. */
15973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15981 if { (eval echo configure
:15982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15983 eval "ac_cv_func_$ac_func=yes"
15985 echo "configure: failed program was:" >&5
15986 cat conftest.
$ac_ext >&5
15988 eval "ac_cv_func_$ac_func=no"
15993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15994 echo "$ac_t""yes" 1>&6
15995 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15996 cat >> confdefs.h
<<EOF
15997 #define $ac_tr_func 1
16001 echo "$ac_t""no" 1>&6
16006 if test "$WCSLEN_FOUND" = 0; then
16007 if test "$TOOLKIT" = "MSW"; then
16008 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16009 echo "configure:16010: checking for wcslen in -lmsvcrt" >&5
16010 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16011 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16012 echo $ac_n "(cached) $ac_c" 1>&6
16014 ac_save_LIBS
="$LIBS"
16015 LIBS
="-lmsvcrt $LIBS"
16016 cat > conftest.
$ac_ext <<EOF
16017 #line 16018 "configure"
16018 #include "confdefs.h"
16019 /* Override any gcc2 internal prototype to avoid an error. */
16020 /* We use char because int might match the return type of a gcc2
16021 builtin and then its argument prototype would still apply. */
16028 if { (eval echo configure
:16029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16030 eval "ac_cv_lib_$ac_lib_var=yes"
16032 echo "configure: failed program was:" >&5
16033 cat conftest.
$ac_ext >&5
16035 eval "ac_cv_lib_$ac_lib_var=no"
16038 LIBS
="$ac_save_LIBS"
16041 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16042 echo "$ac_t""yes" 1>&6
16045 echo "$ac_t""no" 1>&6
16049 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
16050 echo "configure:16051: checking for wcslen in -lw" >&5
16051 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
16052 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16053 echo $ac_n "(cached) $ac_c" 1>&6
16055 ac_save_LIBS
="$LIBS"
16057 cat > conftest.
$ac_ext <<EOF
16058 #line 16059 "configure"
16059 #include "confdefs.h"
16060 /* Override any gcc2 internal prototype to avoid an error. */
16061 /* We use char because int might match the return type of a gcc2
16062 builtin and then its argument prototype would still apply. */
16069 if { (eval echo configure
:16070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16071 eval "ac_cv_lib_$ac_lib_var=yes"
16073 echo "configure: failed program was:" >&5
16074 cat conftest.
$ac_ext >&5
16076 eval "ac_cv_lib_$ac_lib_var=no"
16079 LIBS
="$ac_save_LIBS"
16082 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16083 echo "$ac_t""yes" 1>&6
16089 echo "$ac_t""no" 1>&6
16095 if test "$WCSLEN_FOUND" = 1; then
16096 cat >> confdefs.h
<<\EOF
16097 #define HAVE_WCSLEN 1
16102 for ac_func
in wcsrtombs
16104 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16105 echo "configure:16106: checking for $ac_func" >&5
16106 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16107 echo $ac_n "(cached) $ac_c" 1>&6
16109 cat > conftest.
$ac_ext <<EOF
16110 #line 16111 "configure"
16111 #include "confdefs.h"
16112 /* System header to define __stub macros and hopefully few prototypes,
16113 which can conflict with char $ac_func(); below. */
16114 #include <assert.h>
16115 /* Override any gcc2 internal prototype to avoid an error. */
16116 /* We use char because int might match the return type of a gcc2
16117 builtin and then its argument prototype would still apply. */
16122 /* The GNU C library defines this for functions which it implements
16123 to always fail with ENOSYS. Some functions are actually named
16124 something starting with __ and the normal name is an alias. */
16125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16133 if { (eval echo configure
:16134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16135 eval "ac_cv_func_$ac_func=yes"
16137 echo "configure: failed program was:" >&5
16138 cat conftest.
$ac_ext >&5
16140 eval "ac_cv_func_$ac_func=no"
16145 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16146 echo "$ac_t""yes" 1>&6
16147 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16148 cat >> confdefs.h
<<EOF
16149 #define $ac_tr_func 1
16153 echo "$ac_t""no" 1>&6
16158 echo "configure: warning: Wide character support is unavailable" 1>&2
16163 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16164 ac_cpp
='$CXXCPP $CPPFLAGS'
16165 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16166 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16167 cross_compiling
=$ac_cv_prog_cxx_cross
16170 for ac_func
in vsnprintf
16172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16173 echo "configure:16174: checking for $ac_func" >&5
16174 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16175 echo $ac_n "(cached) $ac_c" 1>&6
16177 cat > conftest.
$ac_ext <<EOF
16178 #line 16179 "configure"
16179 #include "confdefs.h"
16180 /* System header to define __stub macros and hopefully few prototypes,
16181 which can conflict with char $ac_func(); below. */
16182 #include <assert.h>
16183 /* Override any gcc2 internal prototype to avoid an error. */
16187 /* We use char because int might match the return type of a gcc2
16188 builtin and then its argument prototype would still apply. */
16193 /* The GNU C library defines this for functions which it implements
16194 to always fail with ENOSYS. Some functions are actually named
16195 something starting with __ and the normal name is an alias. */
16196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16204 if { (eval echo configure
:16205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16206 eval "ac_cv_func_$ac_func=yes"
16208 echo "configure: failed program was:" >&5
16209 cat conftest.
$ac_ext >&5
16211 eval "ac_cv_func_$ac_func=no"
16216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16217 echo "$ac_t""yes" 1>&6
16218 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16219 cat >> confdefs.h
<<EOF
16220 #define $ac_tr_func 1
16224 echo "$ac_t""no" 1>&6
16229 if test "$wxUSE_UNICODE" = yes; then
16230 for ac_func
in fputwc wprintf vswprintf
16232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16233 echo "configure:16234: checking for $ac_func" >&5
16234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16235 echo $ac_n "(cached) $ac_c" 1>&6
16237 cat > conftest.
$ac_ext <<EOF
16238 #line 16239 "configure"
16239 #include "confdefs.h"
16240 /* System header to define __stub macros and hopefully few prototypes,
16241 which can conflict with char $ac_func(); below. */
16242 #include <assert.h>
16243 /* Override any gcc2 internal prototype to avoid an error. */
16247 /* We use char because int might match the return type of a gcc2
16248 builtin and then its argument prototype would still apply. */
16253 /* The GNU C library defines this for functions which it implements
16254 to always fail with ENOSYS. Some functions are actually named
16255 something starting with __ and the normal name is an alias. */
16256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16264 if { (eval echo configure
:16265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16266 eval "ac_cv_func_$ac_func=yes"
16268 echo "configure: failed program was:" >&5
16269 cat conftest.
$ac_ext >&5
16271 eval "ac_cv_func_$ac_func=no"
16276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16277 echo "$ac_t""yes" 1>&6
16278 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16279 cat >> confdefs.h
<<EOF
16280 #define $ac_tr_func 1
16284 echo "$ac_t""no" 1>&6
16291 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16292 ac_cpp
='$CPP $CPPFLAGS'
16293 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16294 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16295 cross_compiling
=$ac_cv_prog_cc_cross
16300 if test "$TOOLKIT" != "MSW"; then
16305 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16306 ac_cpp
='$CXXCPP $CPPFLAGS'
16307 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16308 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16309 cross_compiling
=$ac_cv_prog_cxx_cross
16313 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16314 if test "${with_libiconv_prefix+set}" = set; then
16315 withval
="$with_libiconv_prefix"
16317 for dir
in `echo "$withval" | tr : ' '`; do
16318 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
16319 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
16325 echo $ac_n "checking for iconv""... $ac_c" 1>&6
16326 echo "configure:16327: checking for iconv" >&5
16327 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
16328 echo $ac_n "(cached) $ac_c" 1>&6
16331 am_cv_func_iconv
="no, consider installing GNU libiconv"
16333 cat > conftest.
$ac_ext <<EOF
16334 #line 16335 "configure"
16335 #include "confdefs.h"
16336 #include <stdlib.h>
16339 iconv_t cd = iconv_open("","");
16340 iconv(cd,NULL,NULL,NULL,NULL);
16344 if { (eval echo configure
:16345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16346 am_cv_func_iconv
=yes
16348 echo "configure: failed program was:" >&5
16349 cat conftest.
$ac_ext >&5
16352 if test "$am_cv_func_iconv" != yes; then
16353 am_save_LIBS
="$LIBS"
16354 LIBS
="$LIBS -liconv"
16355 cat > conftest.
$ac_ext <<EOF
16356 #line 16357 "configure"
16357 #include "confdefs.h"
16358 #include <stdlib.h>
16361 iconv_t cd = iconv_open("","");
16362 iconv(cd,NULL,NULL,NULL,NULL);
16366 if { (eval echo configure
:16367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16368 am_cv_lib_iconv
=yes
16369 am_cv_func_iconv
=yes
16371 echo "configure: failed program was:" >&5
16372 cat conftest.
$ac_ext >&5
16375 LIBS
="$am_save_LIBS"
16380 echo "$ac_t""$am_cv_func_iconv" 1>&6
16381 if test "$am_cv_func_iconv" = yes; then
16382 cat >> confdefs.h
<<\EOF
16383 #define HAVE_ICONV 1
16386 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
16387 echo "configure:16388: checking if iconv needs const" >&5
16388 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16389 echo $ac_n "(cached) $ac_c" 1>&6
16391 cat > conftest.
$ac_ext <<EOF
16392 #line 16393 "configure"
16393 #include "confdefs.h"
16395 #include <stdlib.h>
16401 #if defined(__STDC__) || defined(__cplusplus)
16402 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16411 if { (eval echo configure
:16412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16413 wx_cv_func_iconv_const
="no"
16415 echo "configure: failed program was:" >&5
16416 cat conftest.
$ac_ext >&5
16418 wx_cv_func_iconv_const
="yes"
16425 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16428 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16429 iconv_const
="const"
16432 cat >> confdefs.h
<<EOF
16433 #define ICONV_CONST $iconv_const
16438 if test "$am_cv_lib_iconv" = yes; then
16443 LIBS
="$LIBICONV $LIBS"
16445 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16446 ac_cpp
='$CPP $CPPFLAGS'
16447 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16448 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16449 cross_compiling
=$ac_cv_prog_cc_cross
16452 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16453 for ac_func
in sigaction
16455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16456 echo "configure:16457: checking for $ac_func" >&5
16457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16458 echo $ac_n "(cached) $ac_c" 1>&6
16460 cat > conftest.
$ac_ext <<EOF
16461 #line 16462 "configure"
16462 #include "confdefs.h"
16463 /* System header to define __stub macros and hopefully few prototypes,
16464 which can conflict with char $ac_func(); below. */
16465 #include <assert.h>
16466 /* Override any gcc2 internal prototype to avoid an error. */
16467 /* We use char because int might match the return type of a gcc2
16468 builtin and then its argument prototype would still apply. */
16473 /* The GNU C library defines this for functions which it implements
16474 to always fail with ENOSYS. Some functions are actually named
16475 something starting with __ and the normal name is an alias. */
16476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16484 if { (eval echo configure
:16485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16486 eval "ac_cv_func_$ac_func=yes"
16488 echo "configure: failed program was:" >&5
16489 cat conftest.
$ac_ext >&5
16491 eval "ac_cv_func_$ac_func=no"
16496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16497 echo "$ac_t""yes" 1>&6
16498 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16499 cat >> confdefs.h
<<EOF
16500 #define $ac_tr_func 1
16504 echo "$ac_t""no" 1>&6
16509 if test "$ac_cv_func_sigaction" = "no"; then
16510 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16511 wxUSE_ON_FATAL_EXCEPTION
=no
16514 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16518 ac_cpp
='$CXXCPP $CPPFLAGS'
16519 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16520 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16521 cross_compiling
=$ac_cv_prog_cxx_cross
16524 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16525 echo "configure:16526: checking for sa_handler type" >&5
16526 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16527 echo $ac_n "(cached) $ac_c" 1>&6
16530 cat > conftest.
$ac_ext <<EOF
16531 #line 16532 "configure"
16532 #include "confdefs.h"
16533 #include <signal.h>
16536 extern void testSigHandler(int);
16538 struct sigaction sa;
16539 sa.sa_handler = testSigHandler;
16543 if { (eval echo configure
:16544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16546 wx_cv_type_sa_handler
=int
16549 echo "configure: failed program was:" >&5
16550 cat conftest.
$ac_ext >&5
16553 wx_cv_type_sa_handler
=void
16560 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16564 ac_cpp
='$CPP $CPPFLAGS'
16565 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16566 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16567 cross_compiling
=$ac_cv_prog_cc_cross
16570 cat >> confdefs.h
<<EOF
16571 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16577 for ac_func
in mkstemp mktemp
16579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16580 echo "configure:16581: checking for $ac_func" >&5
16581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16582 echo $ac_n "(cached) $ac_c" 1>&6
16584 cat > conftest.
$ac_ext <<EOF
16585 #line 16586 "configure"
16586 #include "confdefs.h"
16587 /* System header to define __stub macros and hopefully few prototypes,
16588 which can conflict with char $ac_func(); below. */
16589 #include <assert.h>
16590 /* Override any gcc2 internal prototype to avoid an error. */
16591 /* We use char because int might match the return type of a gcc2
16592 builtin and then its argument prototype would still apply. */
16597 /* The GNU C library defines this for functions which it implements
16598 to always fail with ENOSYS. Some functions are actually named
16599 something starting with __ and the normal name is an alias. */
16600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16608 if { (eval echo configure
:16609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16610 eval "ac_cv_func_$ac_func=yes"
16612 echo "configure: failed program was:" >&5
16613 cat conftest.
$ac_ext >&5
16615 eval "ac_cv_func_$ac_func=no"
16620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16621 echo "$ac_t""yes" 1>&6
16622 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16623 cat >> confdefs.h
<<EOF
16624 #define $ac_tr_func 1
16628 echo "$ac_t""no" 1>&6
16633 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16634 echo "configure:16635: checking for statfs" >&5
16635 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16636 echo $ac_n "(cached) $ac_c" 1>&6
16638 cat > conftest.
$ac_ext <<EOF
16639 #line 16640 "configure"
16640 #include "confdefs.h"
16642 #if defined(__BSD__)
16643 #include <sys/param.h>
16644 #include <sys/mount.h>
16646 #include <sys/vfs.h>
16660 if { (eval echo configure
:16661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16663 wx_cv_func_statfs
=yes
16666 echo "configure: failed program was:" >&5
16667 cat conftest.
$ac_ext >&5
16670 wx_cv_func_statfs
=no
16678 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16680 if test "$wx_cv_func_statfs" = "yes"; then
16681 cat >> confdefs.h
<<\EOF
16682 #define HAVE_STATFS 1
16686 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16687 echo "configure:16688: checking for statvfs" >&5
16688 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16689 echo $ac_n "(cached) $ac_c" 1>&6
16691 cat > conftest.
$ac_ext <<EOF
16692 #line 16693 "configure"
16693 #include "confdefs.h"
16695 #include <sys/statvfs.h>
16708 if { (eval echo configure
:16709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16711 wx_cv_func_statvfs
=yes
16714 echo "configure: failed program was:" >&5
16715 cat conftest.
$ac_ext >&5
16718 wx_cv_func_statvfs
=no
16726 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16728 if test "$wx_cv_func_statvfs" = "yes"; then
16729 cat >> confdefs.h
<<\EOF
16730 #define HAVE_STATVFS 1
16734 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16738 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16739 for ac_func
in fcntl flock
16741 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16742 echo "configure:16743: checking for $ac_func" >&5
16743 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16744 echo $ac_n "(cached) $ac_c" 1>&6
16746 cat > conftest.
$ac_ext <<EOF
16747 #line 16748 "configure"
16748 #include "confdefs.h"
16749 /* System header to define __stub macros and hopefully few prototypes,
16750 which can conflict with char $ac_func(); below. */
16751 #include <assert.h>
16752 /* Override any gcc2 internal prototype to avoid an error. */
16753 /* We use char because int might match the return type of a gcc2
16754 builtin and then its argument prototype would still apply. */
16759 /* The GNU C library defines this for functions which it implements
16760 to always fail with ENOSYS. Some functions are actually named
16761 something starting with __ and the normal name is an alias. */
16762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16770 if { (eval echo configure
:16771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16772 eval "ac_cv_func_$ac_func=yes"
16774 echo "configure: failed program was:" >&5
16775 cat conftest.
$ac_ext >&5
16777 eval "ac_cv_func_$ac_func=no"
16782 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16783 echo "$ac_t""yes" 1>&6
16784 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16785 cat >> confdefs.h
<<EOF
16786 #define $ac_tr_func 1
16790 echo "$ac_t""no" 1>&6
16795 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16796 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16797 wxUSE_SNGLINST_CHECKER
=no
16801 for ac_func
in timegm
16803 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16804 echo "configure:16805: checking for $ac_func" >&5
16805 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16806 echo $ac_n "(cached) $ac_c" 1>&6
16808 cat > conftest.
$ac_ext <<EOF
16809 #line 16810 "configure"
16810 #include "confdefs.h"
16811 /* System header to define __stub macros and hopefully few prototypes,
16812 which can conflict with char $ac_func(); below. */
16813 #include <assert.h>
16814 /* Override any gcc2 internal prototype to avoid an error. */
16815 /* We use char because int might match the return type of a gcc2
16816 builtin and then its argument prototype would still apply. */
16821 /* The GNU C library defines this for functions which it implements
16822 to always fail with ENOSYS. Some functions are actually named
16823 something starting with __ and the normal name is an alias. */
16824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16832 if { (eval echo configure
:16833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16834 eval "ac_cv_func_$ac_func=yes"
16836 echo "configure: failed program was:" >&5
16837 cat conftest.
$ac_ext >&5
16839 eval "ac_cv_func_$ac_func=no"
16844 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16845 echo "$ac_t""yes" 1>&6
16846 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16847 cat >> confdefs.h
<<EOF
16848 #define $ac_tr_func 1
16852 echo "$ac_t""no" 1>&6
16857 for ac_func
in putenv setenv
16859 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16860 echo "configure:16861: checking for $ac_func" >&5
16861 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16862 echo $ac_n "(cached) $ac_c" 1>&6
16864 cat > conftest.
$ac_ext <<EOF
16865 #line 16866 "configure"
16866 #include "confdefs.h"
16867 /* System header to define __stub macros and hopefully few prototypes,
16868 which can conflict with char $ac_func(); below. */
16869 #include <assert.h>
16870 /* Override any gcc2 internal prototype to avoid an error. */
16871 /* We use char because int might match the return type of a gcc2
16872 builtin and then its argument prototype would still apply. */
16877 /* The GNU C library defines this for functions which it implements
16878 to always fail with ENOSYS. Some functions are actually named
16879 something starting with __ and the normal name is an alias. */
16880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16888 if { (eval echo configure
:16889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16890 eval "ac_cv_func_$ac_func=yes"
16892 echo "configure: failed program was:" >&5
16893 cat conftest.
$ac_ext >&5
16895 eval "ac_cv_func_$ac_func=no"
16900 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16901 echo "$ac_t""yes" 1>&6
16902 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16903 cat >> confdefs.h
<<EOF
16904 #define $ac_tr_func 1
16908 echo "$ac_t""no" 1>&6
16913 HAVE_SOME_SLEEP_FUNC
=0
16914 if test "$USE_BEOS" = 1; then
16915 cat >> confdefs.h
<<\EOF
16916 #define HAVE_SLEEP 1
16919 HAVE_SOME_SLEEP_FUNC
=1
16922 if test "$USE_DARWIN" = 1; then
16923 cat >> confdefs.h
<<\EOF
16924 #define HAVE_USLEEP 1
16927 HAVE_SOME_SLEEP_FUNC
=1
16930 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16932 for ac_func
in nanosleep
16934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16935 echo "configure:16936: checking for $ac_func" >&5
16936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16937 echo $ac_n "(cached) $ac_c" 1>&6
16939 cat > conftest.
$ac_ext <<EOF
16940 #line 16941 "configure"
16941 #include "confdefs.h"
16942 /* System header to define __stub macros and hopefully few prototypes,
16943 which can conflict with char $ac_func(); below. */
16944 #include <assert.h>
16945 /* Override any gcc2 internal prototype to avoid an error. */
16946 /* We use char because int might match the return type of a gcc2
16947 builtin and then its argument prototype would still apply. */
16952 /* The GNU C library defines this for functions which it implements
16953 to always fail with ENOSYS. Some functions are actually named
16954 something starting with __ and the normal name is an alias. */
16955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16963 if { (eval echo configure
:16964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16965 eval "ac_cv_func_$ac_func=yes"
16967 echo "configure: failed program was:" >&5
16968 cat conftest.
$ac_ext >&5
16970 eval "ac_cv_func_$ac_func=no"
16975 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16976 echo "$ac_t""yes" 1>&6
16977 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16978 cat >> confdefs.h
<<EOF
16979 #define $ac_tr_func 1
16981 cat >> confdefs.h
<<\EOF
16982 #define HAVE_NANOSLEEP 1
16986 echo "$ac_t""no" 1>&6
16987 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16988 echo "configure:16989: checking for nanosleep in -lposix4" >&5
16989 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16990 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16991 echo $ac_n "(cached) $ac_c" 1>&6
16993 ac_save_LIBS
="$LIBS"
16994 LIBS
="-lposix4 $LIBS"
16995 cat > conftest.
$ac_ext <<EOF
16996 #line 16997 "configure"
16997 #include "confdefs.h"
16998 /* Override any gcc2 internal prototype to avoid an error. */
16999 /* We use char because int might match the return type of a gcc2
17000 builtin and then its argument prototype would still apply. */
17007 if { (eval echo configure
:17008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17009 eval "ac_cv_lib_$ac_lib_var=yes"
17011 echo "configure: failed program was:" >&5
17012 cat conftest.
$ac_ext >&5
17014 eval "ac_cv_lib_$ac_lib_var=no"
17017 LIBS
="$ac_save_LIBS"
17020 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17021 echo "$ac_t""yes" 1>&6
17023 cat >> confdefs.h
<<\EOF
17024 #define HAVE_NANOSLEEP 1
17027 POSIX4_LINK
=" -lposix4"
17030 echo "$ac_t""no" 1>&6
17032 for ac_func
in usleep
17034 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17035 echo "configure:17036: checking for $ac_func" >&5
17036 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17037 echo $ac_n "(cached) $ac_c" 1>&6
17039 cat > conftest.
$ac_ext <<EOF
17040 #line 17041 "configure"
17041 #include "confdefs.h"
17042 /* System header to define __stub macros and hopefully few prototypes,
17043 which can conflict with char $ac_func(); below. */
17044 #include <assert.h>
17045 /* Override any gcc2 internal prototype to avoid an error. */
17046 /* We use char because int might match the return type of a gcc2
17047 builtin and then its argument prototype would still apply. */
17052 /* The GNU C library defines this for functions which it implements
17053 to always fail with ENOSYS. Some functions are actually named
17054 something starting with __ and the normal name is an alias. */
17055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17063 if { (eval echo configure
:17064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17065 eval "ac_cv_func_$ac_func=yes"
17067 echo "configure: failed program was:" >&5
17068 cat conftest.
$ac_ext >&5
17070 eval "ac_cv_func_$ac_func=no"
17075 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17076 echo "$ac_t""yes" 1>&6
17077 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17078 cat >> confdefs.h
<<EOF
17079 #define $ac_tr_func 1
17081 cat >> confdefs.h
<<\EOF
17082 #define HAVE_USLEEP 1
17086 echo "$ac_t""no" 1>&6
17087 echo "configure: warning: wxSleep() function will not work" 1>&2
17103 for ac_func
in uname gethostname
17105 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17106 echo "configure:17107: checking for $ac_func" >&5
17107 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17108 echo $ac_n "(cached) $ac_c" 1>&6
17110 cat > conftest.
$ac_ext <<EOF
17111 #line 17112 "configure"
17112 #include "confdefs.h"
17113 /* System header to define __stub macros and hopefully few prototypes,
17114 which can conflict with char $ac_func(); below. */
17115 #include <assert.h>
17116 /* Override any gcc2 internal prototype to avoid an error. */
17117 /* We use char because int might match the return type of a gcc2
17118 builtin and then its argument prototype would still apply. */
17123 /* The GNU C library defines this for functions which it implements
17124 to always fail with ENOSYS. Some functions are actually named
17125 something starting with __ and the normal name is an alias. */
17126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17134 if { (eval echo configure
:17135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17136 eval "ac_cv_func_$ac_func=yes"
17138 echo "configure: failed program was:" >&5
17139 cat conftest.
$ac_ext >&5
17141 eval "ac_cv_func_$ac_func=no"
17146 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17147 echo "$ac_t""yes" 1>&6
17148 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17149 cat >> confdefs.h
<<EOF
17150 #define $ac_tr_func 1
17154 echo "$ac_t""no" 1>&6
17161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17162 ac_cpp
='$CXXCPP $CPPFLAGS'
17163 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17164 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17165 cross_compiling
=$ac_cv_prog_cxx_cross
17168 for ac_func
in strtok_r
17170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17171 echo "configure:17172: checking for $ac_func" >&5
17172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17173 echo $ac_n "(cached) $ac_c" 1>&6
17175 cat > conftest.
$ac_ext <<EOF
17176 #line 17177 "configure"
17177 #include "confdefs.h"
17178 /* System header to define __stub macros and hopefully few prototypes,
17179 which can conflict with char $ac_func(); below. */
17180 #include <assert.h>
17181 /* Override any gcc2 internal prototype to avoid an error. */
17185 /* We use char because int might match the return type of a gcc2
17186 builtin and then its argument prototype would still apply. */
17191 /* The GNU C library defines this for functions which it implements
17192 to always fail with ENOSYS. Some functions are actually named
17193 something starting with __ and the normal name is an alias. */
17194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17202 if { (eval echo configure
:17203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17204 eval "ac_cv_func_$ac_func=yes"
17206 echo "configure: failed program was:" >&5
17207 cat conftest.
$ac_ext >&5
17209 eval "ac_cv_func_$ac_func=no"
17214 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17215 echo "$ac_t""yes" 1>&6
17216 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17217 cat >> confdefs.h
<<EOF
17218 #define $ac_tr_func 1
17222 echo "$ac_t""no" 1>&6
17228 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17229 ac_cpp
='$CPP $CPPFLAGS'
17230 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17231 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17232 cross_compiling
=$ac_cv_prog_cc_cross
17236 for ac_func
in inet_addr
17238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17239 echo "configure:17240: checking for $ac_func" >&5
17240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17241 echo $ac_n "(cached) $ac_c" 1>&6
17243 cat > conftest.
$ac_ext <<EOF
17244 #line 17245 "configure"
17245 #include "confdefs.h"
17246 /* System header to define __stub macros and hopefully few prototypes,
17247 which can conflict with char $ac_func(); below. */
17248 #include <assert.h>
17249 /* Override any gcc2 internal prototype to avoid an error. */
17250 /* We use char because int might match the return type of a gcc2
17251 builtin and then its argument prototype would still apply. */
17256 /* The GNU C library defines this for functions which it implements
17257 to always fail with ENOSYS. Some functions are actually named
17258 something starting with __ and the normal name is an alias. */
17259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17267 if { (eval echo configure
:17268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17269 eval "ac_cv_func_$ac_func=yes"
17271 echo "configure: failed program was:" >&5
17272 cat conftest.
$ac_ext >&5
17274 eval "ac_cv_func_$ac_func=no"
17279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17280 echo "$ac_t""yes" 1>&6
17281 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17282 cat >> confdefs.h
<<EOF
17283 #define $ac_tr_func 1
17285 cat >> confdefs.h
<<\EOF
17286 #define HAVE_INET_ADDR 1
17290 echo "$ac_t""no" 1>&6
17291 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
17292 echo "configure:17293: checking for inet_addr in -lnsl" >&5
17293 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
17294 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17295 echo $ac_n "(cached) $ac_c" 1>&6
17297 ac_save_LIBS
="$LIBS"
17299 cat > conftest.
$ac_ext <<EOF
17300 #line 17301 "configure"
17301 #include "confdefs.h"
17302 /* Override any gcc2 internal prototype to avoid an error. */
17303 /* We use char because int might match the return type of a gcc2
17304 builtin and then its argument prototype would still apply. */
17311 if { (eval echo configure
:17312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17313 eval "ac_cv_lib_$ac_lib_var=yes"
17315 echo "configure: failed program was:" >&5
17316 cat conftest.
$ac_ext >&5
17318 eval "ac_cv_lib_$ac_lib_var=no"
17321 LIBS
="$ac_save_LIBS"
17324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17325 echo "$ac_t""yes" 1>&6
17328 echo "$ac_t""no" 1>&6
17329 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
17330 echo "configure:17331: checking for inet_addr in -lresolv" >&5
17331 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17332 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17333 echo $ac_n "(cached) $ac_c" 1>&6
17335 ac_save_LIBS
="$LIBS"
17336 LIBS
="-lresolv $LIBS"
17337 cat > conftest.
$ac_ext <<EOF
17338 #line 17339 "configure"
17339 #include "confdefs.h"
17340 /* Override any gcc2 internal prototype to avoid an error. */
17341 /* We use char because int might match the return type of a gcc2
17342 builtin and then its argument prototype would still apply. */
17349 if { (eval echo configure
:17350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17351 eval "ac_cv_lib_$ac_lib_var=yes"
17353 echo "configure: failed program was:" >&5
17354 cat conftest.
$ac_ext >&5
17356 eval "ac_cv_lib_$ac_lib_var=no"
17359 LIBS
="$ac_save_LIBS"
17362 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17363 echo "$ac_t""yes" 1>&6
17366 echo "$ac_t""no" 1>&6
17367 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17368 echo "configure:17369: checking for inet_addr in -lsocket" >&5
17369 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17370 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17371 echo $ac_n "(cached) $ac_c" 1>&6
17373 ac_save_LIBS
="$LIBS"
17374 LIBS
="-lsocket $LIBS"
17375 cat > conftest.
$ac_ext <<EOF
17376 #line 17377 "configure"
17377 #include "confdefs.h"
17378 /* Override any gcc2 internal prototype to avoid an error. */
17379 /* We use char because int might match the return type of a gcc2
17380 builtin and then its argument prototype would still apply. */
17387 if { (eval echo configure
:17388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17389 eval "ac_cv_lib_$ac_lib_var=yes"
17391 echo "configure: failed program was:" >&5
17392 cat conftest.
$ac_ext >&5
17394 eval "ac_cv_lib_$ac_lib_var=no"
17397 LIBS
="$ac_save_LIBS"
17400 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17401 echo "$ac_t""yes" 1>&6
17405 echo "$ac_t""no" 1>&6
17420 for ac_func
in inet_aton
17422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17423 echo "configure:17424: checking for $ac_func" >&5
17424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17425 echo $ac_n "(cached) $ac_c" 1>&6
17427 cat > conftest.
$ac_ext <<EOF
17428 #line 17429 "configure"
17429 #include "confdefs.h"
17430 /* System header to define __stub macros and hopefully few prototypes,
17431 which can conflict with char $ac_func(); below. */
17432 #include <assert.h>
17433 /* Override any gcc2 internal prototype to avoid an error. */
17434 /* We use char because int might match the return type of a gcc2
17435 builtin and then its argument prototype would still apply. */
17440 /* The GNU C library defines this for functions which it implements
17441 to always fail with ENOSYS. Some functions are actually named
17442 something starting with __ and the normal name is an alias. */
17443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17451 if { (eval echo configure
:17452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17453 eval "ac_cv_func_$ac_func=yes"
17455 echo "configure: failed program was:" >&5
17456 cat conftest.
$ac_ext >&5
17458 eval "ac_cv_func_$ac_func=no"
17463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17464 echo "$ac_t""yes" 1>&6
17465 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17466 cat >> confdefs.h
<<EOF
17467 #define $ac_tr_func 1
17469 cat >> confdefs.h
<<\EOF
17470 #define HAVE_INET_ATON 1
17474 echo "$ac_t""no" 1>&6
17475 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17476 echo "configure:17477: checking for inet_aton in -l$INET_LINK" >&5
17477 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17478 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17479 echo $ac_n "(cached) $ac_c" 1>&6
17481 ac_save_LIBS
="$LIBS"
17482 LIBS
="-l$INET_LINK $LIBS"
17483 cat > conftest.
$ac_ext <<EOF
17484 #line 17485 "configure"
17485 #include "confdefs.h"
17486 /* Override any gcc2 internal prototype to avoid an error. */
17487 /* We use char because int might match the return type of a gcc2
17488 builtin and then its argument prototype would still apply. */
17495 if { (eval echo configure
:17496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17497 eval "ac_cv_lib_$ac_lib_var=yes"
17499 echo "configure: failed program was:" >&5
17500 cat conftest.
$ac_ext >&5
17502 eval "ac_cv_lib_$ac_lib_var=no"
17505 LIBS
="$ac_save_LIBS"
17508 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17509 echo "$ac_t""yes" 1>&6
17510 cat >> confdefs.h
<<\EOF
17511 #define HAVE_INET_ATON 1
17515 echo "$ac_t""no" 1>&6
17523 if test "x$INET_LINK" != "x"; then
17524 cat >> confdefs.h
<<\EOF
17525 #define HAVE_INET_ADDR 1
17528 INET_LINK
=" -l$INET_LINK"
17534 cat > confcache
<<\EOF
17535 # This file is a shell script that caches the results of configure
17536 # tests run on this system so they can be shared between configure
17537 # scripts and configure runs. It is not useful on other systems.
17538 # If it contains results you don't want to keep, you may remove or edit it.
17540 # By default, configure uses ./config.cache as the cache file,
17541 # creating it if it does not exist already. You can give configure
17542 # the --cache-file=FILE option to use a different cache file; that is
17543 # what configure does when it calls configure scripts in
17544 # subdirectories, so they share the cache.
17545 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17546 # config.status only pays attention to the cache file if you give it the
17547 # --recheck option to rerun configure.
17550 # The following way of writing the cache mishandles newlines in values,
17551 # but we know of no workaround that is simple, portable, and efficient.
17552 # So, don't put newlines in cache variables' values.
17553 # Ultrix sh set writes to stderr and can't be redirected directly,
17554 # and sets the high bit in the cache file unless we assign to the vars.
17556 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17558 # `set' does not quote correctly, so add quotes (double-quote substitution
17559 # turns \\\\ into \\, and sed turns \\ into \).
17561 -e "s/'/'\\\\''/g" \
17562 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17565 # `set' quotes correctly as required by POSIX, so do not add quotes.
17566 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17569 if cmp -s $cache_file confcache
; then
17572 if test -w $cache_file; then
17573 echo "updating cache $cache_file"
17574 cat confcache
> $cache_file
17576 echo "not updating unwritable cache $cache_file"
17584 if test "$TOOLKIT" != "MSW"; then
17590 if test "$wxUSE_THREADS" = "yes" ; then
17591 if test "$wxUSE_WINE" = 1 ; then
17592 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17594 elif test "$USE_BEOS" = 1; then
17595 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17600 if test "$wxUSE_THREADS" = "yes" ; then
17603 THREAD_OPTS
="-pthread"
17605 *-*-solaris2* | *-*-sunos4* )
17606 if test "x$GCC" = "xyes"; then
17607 THREAD_OPTS
="-pthreads $THREAD_OPTS"
17609 THREAD_OPTS
="-mt $THREAD_OPTS"
17613 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
17615 *-*-darwin* | *-*-cygwin* )
17619 THREAD_OPTS
="pthreads"
17623 THREAD_OPTS
="$THREAD_OPTS pthread none"
17626 for flag
in $THREAD_OPTS; do
17629 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17630 echo "configure:17631: checking whether pthreads work without any flags" >&5
17634 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17635 echo "configure:17636: checking whether pthreads work with $flag" >&5
17636 THREADS_CFLAGS
="$flag"
17640 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17641 echo "configure:17642: checking for the pthreads library -l$flag" >&5
17642 THREADS_LINK
="-l$flag"
17647 save_CFLAGS
="$CFLAGS"
17648 LIBS
="$THREADS_LINK $LIBS"
17649 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
17651 cat > conftest.
$ac_ext <<EOF
17652 #line 17653 "configure"
17653 #include "confdefs.h"
17654 #include <pthread.h>
17656 pthread_create(0,0,0,0);
17659 if { (eval echo configure
:17660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17663 echo "configure: failed program was:" >&5
17664 cat conftest.
$ac_ext >&5
17669 CFLAGS
="$save_CFLAGS"
17671 echo "$ac_t""$THREADS_OK" 1>&6
17672 if test "x$THREADS_OK" = "xyes"; then
17680 if test "x$THREADS_OK" != "xyes"; then
17682 echo "configure: warning: No thread support on this system... disabled" 1>&2
17684 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17686 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17687 echo "configure:17688: checking if more special flags are required for pthreads" >&5
17690 *-aix* | *-freebsd*)
17691 flag
="-D_THREAD_SAFE"
17693 *solaris
* | alpha
*-osf*)
17694 flag
="-D_REENTRANT"
17697 echo "$ac_t""${flag}" 1>&6
17698 if test "x$flag" != xno
; then
17699 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
17702 if test "x$THREADS_CFLAGS" != "x"; then
17703 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
17704 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
17709 if test "$wxUSE_THREADS" = "yes" ; then
17710 for ac_func
in thr_setconcurrency
17712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17713 echo "configure:17714: checking for $ac_func" >&5
17714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17715 echo $ac_n "(cached) $ac_c" 1>&6
17717 cat > conftest.
$ac_ext <<EOF
17718 #line 17719 "configure"
17719 #include "confdefs.h"
17720 /* System header to define __stub macros and hopefully few prototypes,
17721 which can conflict with char $ac_func(); below. */
17722 #include <assert.h>
17723 /* Override any gcc2 internal prototype to avoid an error. */
17724 /* We use char because int might match the return type of a gcc2
17725 builtin and then its argument prototype would still apply. */
17730 /* The GNU C library defines this for functions which it implements
17731 to always fail with ENOSYS. Some functions are actually named
17732 something starting with __ and the normal name is an alias. */
17733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17741 if { (eval echo configure
:17742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17743 eval "ac_cv_func_$ac_func=yes"
17745 echo "configure: failed program was:" >&5
17746 cat conftest.
$ac_ext >&5
17748 eval "ac_cv_func_$ac_func=no"
17753 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17754 echo "$ac_t""yes" 1>&6
17755 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17756 cat >> confdefs.h
<<EOF
17757 #define $ac_tr_func 1
17761 echo "$ac_t""no" 1>&6
17766 for ac_hdr
in sched.h
17768 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17769 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17770 echo "configure:17771: checking for $ac_hdr" >&5
17771 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17772 echo $ac_n "(cached) $ac_c" 1>&6
17774 cat > conftest.
$ac_ext <<EOF
17775 #line 17776 "configure"
17776 #include "confdefs.h"
17779 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17780 { (eval echo configure
:17781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17781 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17782 if test -z "$ac_err"; then
17784 eval "ac_cv_header_$ac_safe=yes"
17787 echo "configure: failed program was:" >&5
17788 cat conftest.
$ac_ext >&5
17790 eval "ac_cv_header_$ac_safe=no"
17794 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17795 echo "$ac_t""yes" 1>&6
17796 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17797 cat >> confdefs.h
<<EOF
17798 #define $ac_tr_hdr 1
17802 echo "$ac_t""no" 1>&6
17806 if test "$ac_cv_header_sched_h" = "yes"; then
17807 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17808 echo "configure:17809: checking for sched_yield" >&5
17809 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17810 echo $ac_n "(cached) $ac_c" 1>&6
17812 cat > conftest.
$ac_ext <<EOF
17813 #line 17814 "configure"
17814 #include "confdefs.h"
17815 /* System header to define __stub macros and hopefully few prototypes,
17816 which can conflict with char sched_yield(); below. */
17817 #include <assert.h>
17818 /* Override any gcc2 internal prototype to avoid an error. */
17819 /* We use char because int might match the return type of a gcc2
17820 builtin and then its argument prototype would still apply. */
17821 char sched_yield();
17825 /* The GNU C library defines this for functions which it implements
17826 to always fail with ENOSYS. Some functions are actually named
17827 something starting with __ and the normal name is an alias. */
17828 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17836 if { (eval echo configure
:17837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17838 eval "ac_cv_func_sched_yield=yes"
17840 echo "configure: failed program was:" >&5
17841 cat conftest.
$ac_ext >&5
17843 eval "ac_cv_func_sched_yield=no"
17848 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17849 echo "$ac_t""yes" 1>&6
17850 cat >> confdefs.h
<<\EOF
17851 #define HAVE_SCHED_YIELD 1
17855 echo "$ac_t""no" 1>&6
17857 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17858 echo "configure:17859: checking for sched_yield in -lposix4" >&5
17859 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17860 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17861 echo $ac_n "(cached) $ac_c" 1>&6
17863 ac_save_LIBS
="$LIBS"
17864 LIBS
="-lposix4 $LIBS"
17865 cat > conftest.
$ac_ext <<EOF
17866 #line 17867 "configure"
17867 #include "confdefs.h"
17868 /* Override any gcc2 internal prototype to avoid an error. */
17869 /* We use char because int might match the return type of a gcc2
17870 builtin and then its argument prototype would still apply. */
17871 char sched_yield();
17877 if { (eval echo configure
:17878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17879 eval "ac_cv_lib_$ac_lib_var=yes"
17881 echo "configure: failed program was:" >&5
17882 cat conftest.
$ac_ext >&5
17884 eval "ac_cv_lib_$ac_lib_var=no"
17887 LIBS
="$ac_save_LIBS"
17890 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17891 echo "$ac_t""yes" 1>&6
17892 cat >> confdefs.h
<<\EOF
17893 #define HAVE_SCHED_YIELD 1
17895 POSIX4_LINK
=" -lposix4"
17897 echo "$ac_t""no" 1>&6
17898 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17909 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17910 echo "configure:17911: checking for pthread_attr_getschedpolicy" >&5
17911 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17912 echo $ac_n "(cached) $ac_c" 1>&6
17914 cat > conftest.
$ac_ext <<EOF
17915 #line 17916 "configure"
17916 #include "confdefs.h"
17917 /* System header to define __stub macros and hopefully few prototypes,
17918 which can conflict with char pthread_attr_getschedpolicy(); below. */
17919 #include <assert.h>
17920 /* Override any gcc2 internal prototype to avoid an error. */
17921 /* We use char because int might match the return type of a gcc2
17922 builtin and then its argument prototype would still apply. */
17923 char pthread_attr_getschedpolicy();
17927 /* The GNU C library defines this for functions which it implements
17928 to always fail with ENOSYS. Some functions are actually named
17929 something starting with __ and the normal name is an alias. */
17930 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17933 pthread_attr_getschedpolicy();
17938 if { (eval echo configure
:17939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17940 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17942 echo "configure: failed program was:" >&5
17943 cat conftest.
$ac_ext >&5
17945 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17950 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17951 echo "$ac_t""yes" 1>&6
17952 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17953 echo "configure:17954: checking for pthread_attr_setschedparam" >&5
17954 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17955 echo $ac_n "(cached) $ac_c" 1>&6
17957 cat > conftest.
$ac_ext <<EOF
17958 #line 17959 "configure"
17959 #include "confdefs.h"
17960 /* System header to define __stub macros and hopefully few prototypes,
17961 which can conflict with char pthread_attr_setschedparam(); below. */
17962 #include <assert.h>
17963 /* Override any gcc2 internal prototype to avoid an error. */
17964 /* We use char because int might match the return type of a gcc2
17965 builtin and then its argument prototype would still apply. */
17966 char pthread_attr_setschedparam();
17970 /* The GNU C library defines this for functions which it implements
17971 to always fail with ENOSYS. Some functions are actually named
17972 something starting with __ and the normal name is an alias. */
17973 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17976 pthread_attr_setschedparam();
17981 if { (eval echo configure
:17982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17983 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17985 echo "configure: failed program was:" >&5
17986 cat conftest.
$ac_ext >&5
17988 eval "ac_cv_func_pthread_attr_setschedparam=no"
17993 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17994 echo "$ac_t""yes" 1>&6
17995 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17996 echo "configure:17997: checking for sched_get_priority_max" >&5
17997 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17998 echo $ac_n "(cached) $ac_c" 1>&6
18000 cat > conftest.
$ac_ext <<EOF
18001 #line 18002 "configure"
18002 #include "confdefs.h"
18003 /* System header to define __stub macros and hopefully few prototypes
18005 echo "$ac_t""no" 1>&6
18006 which can conflict with char sched_get_priority_max(); below. */
18007 #include <assert.h>
18008 /* Override any gcc2 internal prototype to avoid an error. */
18009 /* We use char because int might match the return type of a gcc2
18010 builtin and then its argument prototype would still apply. */
18011 char sched_get_priority_max();
18015 /* The GNU C library defines this for functions which it implements
18016 to always fail with ENOSYS. Some functions are actually named
18017 something starting with __ and the normal name is an alias. */
18018 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
18021 sched_get_priority_max();
18026 if { (eval echo configure
:18027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18028 eval "ac_cv_func_sched_get_priority_max=yes"
18030 echo "configure: failed program was:" >&5
18031 cat conftest.
$ac_ext >&5
18033 eval "ac_cv_func_sched_get_priority_max=no"
18038 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
18039 echo "$ac_t""yes" 1>&6
18042 echo "$ac_t""no" 1>&6
18043 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
18044 echo "configure:18045: checking for sched_get_priority_max in -lposix4" >&5
18045 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
18046 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18047 echo $ac_n "(cached) $ac_c" 1>&6
18049 ac_save_LIBS
="$LIBS"
18050 LIBS
="-lposix4 $LIBS"
18051 cat > conftest.
$ac_ext <<EOF
18052 #line 18053 "configure"
18053 #include "confdefs.h"
18054 /* Override any gcc2 internal prototype to avoid an error. */
18055 /* We use char because int might match the return type of a gcc2
18056 builtin and then its argument prototype would still apply. */
18057 char sched_get_priority_max();
18060 sched_get_priority_max()
18063 if { (eval echo configure
:18064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18065 eval "ac_cv_lib_$ac_lib_var=yes"
18067 echo "configure: failed program was:" >&5
18068 cat conftest.
$ac_ext >&5
18070 eval "ac_cv_lib_$ac_lib_var=no"
18073 LIBS
="$ac_save_LIBS"
18076 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18077 echo "$ac_t""yes" 1>&6
18080 POSIX4_LINK
=" -lposix4"
18083 echo "$ac_t""no" 1>&6
18091 echo "$ac_t""no" 1>&6
18098 if test "$HAVE_PRIOR_FUNCS" = 1; then
18099 cat >> confdefs.h
<<\EOF
18100 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
18104 echo "configure: warning: Setting thread priority will not work" 1>&2
18107 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
18108 echo "configure:18109: checking for pthread_cancel" >&5
18109 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
18110 echo $ac_n "(cached) $ac_c" 1>&6
18112 cat > conftest.
$ac_ext <<EOF
18113 #line 18114 "configure"
18114 #include "confdefs.h"
18115 /* System header to define __stub macros and hopefully few prototypes,
18116 which can conflict with char pthread_cancel(); below. */
18117 #include <assert.h>
18118 /* Override any gcc2 internal prototype to avoid an error. */
18119 /* We use char because int might match the return type of a gcc2
18120 builtin and then its argument prototype would still apply. */
18121 char pthread_cancel();
18125 /* The GNU C library defines this for functions which it implements
18126 to always fail with ENOSYS. Some functions are actually named
18127 something starting with __ and the normal name is an alias. */
18128 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
18136 if { (eval echo configure
:18137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18138 eval "ac_cv_func_pthread_cancel=yes"
18140 echo "configure: failed program was:" >&5
18141 cat conftest.
$ac_ext >&5
18143 eval "ac_cv_func_pthread_cancel=no"
18148 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
18149 echo "$ac_t""yes" 1>&6
18150 cat >> confdefs.h
<<\EOF
18151 #define HAVE_PTHREAD_CANCEL 1
18155 echo "$ac_t""no" 1>&6
18156 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
18160 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
18161 echo "configure:18162: checking for pthread_cleanup_push/pop" >&5
18162 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
18163 echo $ac_n "(cached) $ac_c" 1>&6
18166 cat > conftest.
$ac_ext <<EOF
18167 #line 18168 "configure"
18168 #include "confdefs.h"
18169 #include <pthread.h>
18172 pthread_cleanup_push(NULL, NULL);
18173 pthread_cleanup_pop(0);
18177 if { (eval echo configure
:18178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18180 wx_cv_func_pthread_cleanup_push
=yes
18183 echo "configure: failed program was:" >&5
18184 cat conftest.
$ac_ext >&5
18187 wx_cv_func_pthread_cleanup_push
=no
18194 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
18196 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
18197 cat >> confdefs.h
<<\EOF
18198 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
18204 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
18205 echo "configure:18206: checking for pthread_mutexattr_t" >&5
18206 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
18207 echo $ac_n "(cached) $ac_c" 1>&6
18210 cat > conftest.
$ac_ext <<EOF
18211 #line 18212 "configure"
18212 #include "confdefs.h"
18213 #include <pthread.h>
18216 pthread_mutexattr_t attr;
18217 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
18221 if { (eval echo configure
:18222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18224 wx_cv_type_pthread_mutexattr_t
=yes
18227 echo "configure: failed program was:" >&5
18228 cat conftest.
$ac_ext >&5
18231 wx_cv_type_pthread_mutexattr_t
=no
18239 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
18241 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
18242 cat >> confdefs.h
<<\EOF
18243 #define HAVE_PTHREAD_MUTEXATTR_T 1
18247 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
18248 echo "configure:18249: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
18249 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
18250 echo $ac_n "(cached) $ac_c" 1>&6
18253 cat > conftest.
$ac_ext <<EOF
18254 #line 18255 "configure"
18255 #include "confdefs.h"
18256 #include <pthread.h>
18259 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
18263 if { (eval echo configure
:18264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18266 wx_cv_type_pthread_rec_mutex_init
=yes
18269 echo "configure: failed program was:" >&5
18270 cat conftest.
$ac_ext >&5
18273 wx_cv_type_pthread_rec_mutex_init
=no
18281 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
18282 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
18283 cat >> confdefs.h
<<\EOF
18284 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
18288 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
18294 if test "$wxUSE_THREADS" = "yes" ; then
18297 CFLAGS
="$CFLAGS -mthreads"
18298 CXXFLAGS
="$CXXFLAGS -mthreads"
18299 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
18300 LDFLAGS
="$LDFLAGS -mthreads"
18306 if test "$wxUSE_THREADS" = "yes"; then
18307 cat >> confdefs.h
<<\EOF
18308 #define wxUSE_THREADS 1
18312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
18314 if test "$ac_cv_func_strtok_r" = "yes"; then
18315 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
18316 echo "configure:18317: checking if -D_REENTRANT is needed" >&5
18317 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
18318 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
18319 echo "$ac_t""yes" 1>&6
18321 echo "$ac_t""no" 1>&6
18326 if test "$WXGTK20" = 1 ; then
18327 cat >> confdefs.h
<<EOF
18328 #define __WXGTK20__ $WXGTK20
18334 if test "$WXGTK12" = 1 ; then
18335 cat >> confdefs.h
<<EOF
18336 #define __WXGTK12__ $WXGTK12
18341 if test "$WXGTK127" = 1 ; then
18342 cat >> confdefs.h
<<EOF
18343 #define __WXGTK127__ $WXGTK127
18350 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18355 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18356 wxUSE_DEBUG_INFO
=yes
18360 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18361 cat >> confdefs.h
<<\EOF
18365 WXDEBUG_DEFINE
="-D__WXDEBUG__"
18367 if test "$wxUSE_GTK" = 1 ; then
18368 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
18372 if test "$wxUSE_MEM_TRACING" = "yes" ; then
18373 cat >> confdefs.h
<<\EOF
18374 #define wxUSE_MEMORY_TRACING 1
18377 cat >> confdefs.h
<<\EOF
18378 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18381 cat >> confdefs.h
<<\EOF
18382 #define wxUSE_DEBUG_NEW_ALWAYS 1
18385 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
18388 if test "$wxUSE_DMALLOC" = "yes" ; then
18389 DMALLOC_LIBS
="-ldmalloc"
18393 if test "$wxUSE_PROFILE" = "yes" ; then
18398 CODE_GEN_FLAGS_CXX
=
18399 if test "$GCC" = "yes" ; then
18400 if test "$wxUSE_NO_RTTI" = "yes" ; then
18401 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
18403 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18404 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18406 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18407 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
18409 if test "$USE_WIN32" = 1 ; then
18410 # I'm not even really sure what this was ever added to solve,
18411 # but someone added it for mingw native builds, so I guess
18412 # they had a reason, right??
18413 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18418 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
18423 if test "$wxUSE_OPTIMISE" = "no" ; then
18426 if test "$GCC" = yes ; then
18429 i586
-*-*|i686
-*-* )
18430 OPTIMISE
="${OPTIMISE} "
18438 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18439 cat >> confdefs.h
<<\EOF
18440 #define WXWIN_COMPATIBILITY_2 1
18444 WXWIN_COMPATIBILITY_2_2
="yes"
18447 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18448 cat >> confdefs.h
<<\EOF
18449 #define WXWIN_COMPATIBILITY_2_2 1
18455 if test "$wxUSE_GUI" = "yes"; then
18456 cat >> confdefs.h
<<\EOF
18457 #define wxUSE_GUI 1
18462 cat >> confdefs.h
<<\EOF
18463 #define wxUSE_NOGUI 1
18469 if test "$wxUSE_UNIX" = "yes"; then
18470 cat >> confdefs.h
<<\EOF
18471 #define wxUSE_UNIX 1
18477 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18478 cat >> confdefs.h
<<\EOF
18479 #define wxUSE_APPLE_IEEE 1
18484 if test "$wxUSE_TIMER" = "yes"; then
18485 cat >> confdefs.h
<<\EOF
18486 #define wxUSE_TIMER 1
18491 if test "$wxUSE_WAVE" = "yes"; then
18492 cat >> confdefs.h
<<\EOF
18493 #define wxUSE_WAVE 1
18498 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18499 cat >> confdefs.h
<<\EOF
18500 #define wxUSE_CMDLINE_PARSER 1
18505 if test "$wxUSE_STOPWATCH" = "yes"; then
18506 cat >> confdefs.h
<<\EOF
18507 #define wxUSE_STOPWATCH 1
18512 if test "$wxUSE_DATETIME" = "yes"; then
18513 cat >> confdefs.h
<<\EOF
18514 #define wxUSE_DATETIME 1
18519 if test "$wxUSE_TIMEDATE" = "yes"; then
18520 cat >> confdefs.h
<<\EOF
18521 #define wxUSE_TIMEDATE 1
18526 if test "$wxUSE_FILE" = "yes"; then
18527 cat >> confdefs.h
<<\EOF
18528 #define wxUSE_FILE 1
18533 if test "$wxUSE_FFILE" = "yes"; then
18534 cat >> confdefs.h
<<\EOF
18535 #define wxUSE_FFILE 1
18540 if test "$wxUSE_FILESYSTEM" = "yes"; then
18541 cat >> confdefs.h
<<\EOF
18542 #define wxUSE_FILESYSTEM 1
18547 if test "$wxUSE_FS_INET" = "yes"; then
18548 cat >> confdefs.h
<<\EOF
18549 #define wxUSE_FS_INET 1
18554 if test "$wxUSE_FS_ZIP" = "yes"; then
18555 cat >> confdefs.h
<<\EOF
18556 #define wxUSE_FS_ZIP 1
18561 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18562 cat >> confdefs.h
<<\EOF
18563 #define wxUSE_ZIPSTREAM 1
18568 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18569 cat >> confdefs.h
<<\EOF
18570 #define wxUSE_ON_FATAL_EXCEPTION 1
18575 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18576 cat >> confdefs.h
<<\EOF
18577 #define wxUSE_SNGLINST_CHECKER 1
18582 if test "$wxUSE_BUSYINFO" = "yes"; then
18583 cat >> confdefs.h
<<\EOF
18584 #define wxUSE_BUSYINFO 1
18589 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18590 cat >> confdefs.h
<<\EOF
18591 #define wxUSE_STD_IOSTREAM 1
18596 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18597 cat >> confdefs.h
<<\EOF
18598 #define wxUSE_TEXTBUFFER 1
18603 if test "$wxUSE_TEXTFILE" = "yes"; then
18604 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18605 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18607 cat >> confdefs.h
<<\EOF
18608 #define wxUSE_TEXTFILE 1
18614 if test "$wxUSE_CONFIG" = "yes" ; then
18615 if test "$wxUSE_TEXTFILE" != "yes"; then
18616 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18618 cat >> confdefs.h
<<\EOF
18619 #define wxUSE_CONFIG 1
18622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18626 if test "$wxUSE_INTL" = "yes" ; then
18627 if test "$wxUSE_FILE" != "yes"; then
18628 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18630 cat >> confdefs.h
<<\EOF
18631 #define wxUSE_INTL 1
18634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18635 GUIDIST
="$GUIDIST INTL_DIST"
18639 if test "$wxUSE_LOG" = "yes"; then
18640 cat >> confdefs.h
<<\EOF
18641 #define wxUSE_LOG 1
18645 if test "$wxUSE_LOGGUI" = "yes"; then
18646 cat >> confdefs.h
<<\EOF
18647 #define wxUSE_LOGGUI 1
18652 if test "$wxUSE_LOGWINDOW" = "yes"; then
18653 cat >> confdefs.h
<<\EOF
18654 #define wxUSE_LOGWINDOW 1
18659 if test "$wxUSE_LOGDIALOG" = "yes"; then
18660 cat >> confdefs.h
<<\EOF
18661 #define wxUSE_LOG_DIALOG 1
18667 if test "$wxUSE_LONGLONG" = "yes"; then
18668 cat >> confdefs.h
<<\EOF
18669 #define wxUSE_LONGLONG 1
18674 if test "$wxUSE_GEOMETRY" = "yes"; then
18675 cat >> confdefs.h
<<\EOF
18676 #define wxUSE_GEOMETRY 1
18681 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18682 cat >> confdefs.h
<<\EOF
18683 #define wxUSE_DIALUP_MANAGER 1
18686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18689 if test "$wxUSE_STREAMS" = "yes" ; then
18690 cat >> confdefs.h
<<\EOF
18691 #define wxUSE_STREAMS 1
18697 if test "$wxUSE_DATETIME" = "yes"; then
18698 for ac_func
in strptime
18700 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18701 echo "configure:18702: checking for $ac_func" >&5
18702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18703 echo $ac_n "(cached) $ac_c" 1>&6
18705 cat > conftest.
$ac_ext <<EOF
18706 #line 18707 "configure"
18707 #include "confdefs.h"
18708 /* System header to define __stub macros and hopefully few prototypes,
18709 which can conflict with char $ac_func(); below. */
18710 #include <assert.h>
18711 /* Override any gcc2 internal prototype to avoid an error. */
18712 /* We use char because int might match the return type of a gcc2
18713 builtin and then its argument prototype would still apply. */
18718 /* The GNU C library defines this for functions which it implements
18719 to always fail with ENOSYS. Some functions are actually named
18720 something starting with __ and the normal name is an alias. */
18721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18729 if { (eval echo configure
:18730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18731 eval "ac_cv_func_$ac_func=yes"
18733 echo "configure: failed program was:" >&5
18734 cat conftest.
$ac_ext >&5
18736 eval "ac_cv_func_$ac_func=no"
18741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18742 echo "$ac_t""yes" 1>&6
18743 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18744 cat >> confdefs.h
<<EOF
18745 #define $ac_tr_func 1
18749 echo "$ac_t""no" 1>&6
18754 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18755 echo "configure:18756: checking for timezone variable in <time.h>" >&5
18756 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18757 echo $ac_n "(cached) $ac_c" 1>&6
18760 cat > conftest.
$ac_ext <<EOF
18761 #line 18762 "configure"
18762 #include "confdefs.h"
18773 if { (eval echo configure
:18774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18776 wx_cv_var_timezone
=timezone
18779 echo "configure: failed program was:" >&5
18780 cat conftest.
$ac_ext >&5
18783 cat > conftest.
$ac_ext <<EOF
18784 #line 18785 "configure"
18785 #include "confdefs.h"
18796 if { (eval echo configure
:18797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18799 wx_cv_var_timezone
=_timezone
18802 echo "configure: failed program was:" >&5
18803 cat conftest.
$ac_ext >&5
18806 cat > conftest.
$ac_ext <<EOF
18807 #line 18808 "configure"
18808 #include "confdefs.h"
18819 if { (eval echo configure
:18820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18822 wx_cv_var_timezone
=__timezone
18825 echo "configure: failed program was:" >&5
18826 cat conftest.
$ac_ext >&5
18829 if test "$USE_DOS" = 0 ; then
18830 echo "configure: warning: no timezone variable" 1>&2
18848 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18850 if test "x$wx_cv_var_timezone" != x
; then
18851 cat >> confdefs.h
<<EOF
18852 #define WX_TIMEZONE $wx_cv_var_timezone
18857 for ac_func
in localtime
18859 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18860 echo "configure:18861: checking for $ac_func" >&5
18861 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18862 echo $ac_n "(cached) $ac_c" 1>&6
18864 cat > conftest.
$ac_ext <<EOF
18865 #line 18866 "configure"
18866 #include "confdefs.h"
18867 /* System header to define __stub macros and hopefully few prototypes,
18868 which can conflict with char $ac_func(); below. */
18869 #include <assert.h>
18870 /* Override any gcc2 internal prototype to avoid an error. */
18871 /* We use char because int might match the return type of a gcc2
18872 builtin and then its argument prototype would still apply. */
18877 /* The GNU C library defines this for functions which it implements
18878 to always fail with ENOSYS. Some functions are actually named
18879 something starting with __ and the normal name is an alias. */
18880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18888 if { (eval echo configure
:18889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18890 eval "ac_cv_func_$ac_func=yes"
18892 echo "configure: failed program was:" >&5
18893 cat conftest.
$ac_ext >&5
18895 eval "ac_cv_func_$ac_func=no"
18900 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18901 echo "$ac_t""yes" 1>&6
18902 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18903 cat >> confdefs.h
<<EOF
18904 #define $ac_tr_func 1
18908 echo "$ac_t""no" 1>&6
18913 if test "$ac_cv_func_localtime" = "yes"; then
18914 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18915 echo "configure:18916: checking for tm_gmtoff in struct tm" >&5
18916 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18917 echo $ac_n "(cached) $ac_c" 1>&6
18920 cat > conftest.
$ac_ext <<EOF
18921 #line 18922 "configure"
18922 #include "confdefs.h"
18933 if { (eval echo configure
:18934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18936 wx_cv_struct_tm_has_gmtoff
=yes
18939 echo "configure: failed program was:" >&5
18940 cat conftest.
$ac_ext >&5
18942 wx_cv_struct_tm_has_gmtoff
=no
18949 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18952 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18953 cat >> confdefs.h
<<\EOF
18954 #define WX_GMTOFF_IN_TM 1
18959 for ac_func
in gettimeofday ftime
18961 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18962 echo "configure:18963: checking for $ac_func" >&5
18963 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18964 echo $ac_n "(cached) $ac_c" 1>&6
18966 cat > conftest.
$ac_ext <<EOF
18967 #line 18968 "configure"
18968 #include "confdefs.h"
18969 /* System header to define __stub macros and hopefully few prototypes,
18970 which can conflict with char $ac_func(); below. */
18971 #include <assert.h>
18972 /* Override any gcc2 internal prototype to avoid an error. */
18973 /* We use char because int might match the return type of a gcc2
18974 builtin and then its argument prototype would still apply. */
18979 /* The GNU C library defines this for functions which it implements
18980 to always fail with ENOSYS. Some functions are actually named
18981 something starting with __ and the normal name is an alias. */
18982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18990 if { (eval echo configure
:18991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18992 eval "ac_cv_func_$ac_func=yes"
18994 echo "configure: failed program was:" >&5
18995 cat conftest.
$ac_ext >&5
18997 eval "ac_cv_func_$ac_func=no"
19002 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19003 echo "$ac_t""yes" 1>&6
19004 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19005 cat >> confdefs.h
<<EOF
19006 #define $ac_tr_func 1
19010 echo "$ac_t""no" 1>&6
19015 if test "$ac_cv_func_gettimeofday" = "yes"; then
19016 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
19017 echo "configure:19018: checking whether gettimeofday takes two arguments" >&5
19018 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
19019 echo $ac_n "(cached) $ac_c" 1>&6
19024 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19025 ac_cpp
='$CXXCPP $CPPFLAGS'
19026 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19027 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19028 cross_compiling
=$ac_cv_prog_cxx_cross
19031 cat > conftest.
$ac_ext <<EOF
19032 #line 19033 "configure"
19033 #include "confdefs.h"
19035 #include <sys/time.h>
19036 #include <unistd.h>
19041 gettimeofday(&tv, NULL);
19045 if { (eval echo configure
:19046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19047 wx_cv_func_gettimeofday_has_2_args
=yes
19049 echo "configure: failed program was:" >&5
19050 cat conftest.
$ac_ext >&5
19052 cat > conftest.
$ac_ext <<EOF
19053 #line 19054 "configure"
19054 #include "confdefs.h"
19056 #include <sys/time.h>
19057 #include <unistd.h>
19066 if { (eval echo configure
:19067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19068 wx_cv_func_gettimeofday_has_2_args
=no
19070 echo "configure: failed program was:" >&5
19071 cat conftest.
$ac_ext >&5
19074 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
19075 wx_cv_func_gettimeofday_has_2_args
=unknown
19084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19085 ac_cpp
='$CPP $CPPFLAGS'
19086 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19087 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19088 cross_compiling
=$ac_cv_prog_cc_cross
19093 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
19095 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
19096 cat >> confdefs.h
<<\EOF
19097 #define WX_GETTIMEOFDAY_NO_TZ 1
19103 cat >> confdefs.h
<<\EOF
19104 #define wxUSE_TIMEDATE 1
19107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
19111 if test "$wxUSE_SOCKETS" = "yes"; then
19112 if test "$wxUSE_MGL" = "1"; then
19113 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
19118 if test "$wxUSE_SOCKETS" = "yes"; then
19119 if test "$TOOLKIT" != "MSW"; then
19120 echo $ac_n "checking for socket""... $ac_c" 1>&6
19121 echo "configure:19122: checking for socket" >&5
19122 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
19123 echo $ac_n "(cached) $ac_c" 1>&6
19125 cat > conftest.
$ac_ext <<EOF
19126 #line 19127 "configure"
19127 #include "confdefs.h"
19128 /* System header to define __stub macros and hopefully few prototypes,
19129 which can conflict with char socket(); below. */
19130 #include <assert.h>
19131 /* Override any gcc2 internal prototype to avoid an error. */
19132 /* We use char because int might match the return type of a gcc2
19133 builtin and then its argument prototype would still apply. */
19138 /* The GNU C library defines this for functions which it implements
19139 to always fail with ENOSYS. Some functions are actually named
19140 something starting with __ and the normal name is an alias. */
19141 #if defined (__stub_socket) || defined (__stub___socket)
19149 if { (eval echo configure
:19150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19151 eval "ac_cv_func_socket=yes"
19153 echo "configure: failed program was:" >&5
19154 cat conftest.
$ac_ext >&5
19156 eval "ac_cv_func_socket=no"
19161 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
19162 echo "$ac_t""yes" 1>&6
19165 echo "$ac_t""no" 1>&6
19166 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
19167 echo "configure:19168: checking for socket in -lsocket" >&5
19168 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
19169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19170 echo $ac_n "(cached) $ac_c" 1>&6
19172 ac_save_LIBS
="$LIBS"
19173 LIBS
="-lsocket $LIBS"
19174 cat > conftest.
$ac_ext <<EOF
19175 #line 19176 "configure"
19176 #include "confdefs.h"
19177 /* Override any gcc2 internal prototype to avoid an error. */
19178 /* We use char because int might match the return type of a gcc2
19179 builtin and then its argument prototype would still apply. */
19186 if { (eval echo configure
:19187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19188 eval "ac_cv_lib_$ac_lib_var=yes"
19190 echo "configure: failed program was:" >&5
19191 cat conftest.
$ac_ext >&5
19193 eval "ac_cv_lib_$ac_lib_var=no"
19196 LIBS
="$ac_save_LIBS"
19199 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19200 echo "$ac_t""yes" 1>&6
19201 if test "$INET_LINK" != " -lsocket"; then
19202 INET_LINK
="$INET_LINK -lsocket"
19205 echo "$ac_t""no" 1>&6
19207 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
19219 if test "$wxUSE_SOCKETS" = "yes" ; then
19220 if test "$TOOLKIT" != "MSW"; then
19221 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
19222 echo "configure:19223: checking what is the type of the third argument of getsockname" >&5
19223 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
19224 echo $ac_n "(cached) $ac_c" 1>&6
19229 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19230 ac_cpp
='$CXXCPP $CPPFLAGS'
19231 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19232 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19233 cross_compiling
=$ac_cv_prog_cxx_cross
19236 cat > conftest.
$ac_ext <<EOF
19237 #line 19238 "configure"
19238 #include "confdefs.h"
19240 #include <sys/types.h>
19241 #include <sys/socket.h>
19246 getsockname(0, 0, &len);
19250 if { (eval echo configure
:19251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19252 wx_cv_type_getsockname3
=socklen_t
19254 echo "configure: failed program was:" >&5
19255 cat conftest.
$ac_ext >&5
19257 cat > conftest.
$ac_ext <<EOF
19258 #line 19259 "configure"
19259 #include "confdefs.h"
19261 #include <sys/types.h>
19262 #include <sys/socket.h>
19267 getsockname(0, 0, &len);
19271 if { (eval echo configure
:19272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19273 wx_cv_type_getsockname3
=size_t
19275 echo "configure: failed program was:" >&5
19276 cat conftest.
$ac_ext >&5
19278 cat > conftest.
$ac_ext <<EOF
19279 #line 19280 "configure"
19280 #include "confdefs.h"
19282 #include <sys/types.h>
19283 #include <sys/socket.h>
19288 getsockname(0, 0, &len);
19292 if { (eval echo configure
:19293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19294 wx_cv_type_getsockname3
=int
19296 echo "configure: failed program was:" >&5
19297 cat conftest.
$ac_ext >&5
19299 wx_cv_type_getsockname3
=unknown
19311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19312 ac_cpp
='$CPP $CPPFLAGS'
19313 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19314 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19315 cross_compiling
=$ac_cv_prog_cc_cross
19320 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
19322 if test "$wx_cv_type_getsockname3" = "unknown"; then
19324 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
19326 cat >> confdefs.h
<<EOF
19327 #define SOCKLEN_T $wx_cv_type_getsockname3
19334 if test "$wxUSE_SOCKETS" = "yes" ; then
19335 cat >> confdefs.h
<<\EOF
19336 #define wxUSE_SOCKETS 1
19339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
19343 if test "$wxUSE_GUI" = "yes"; then
19345 if test "$TOOLKIT" = "MAC"; then
19346 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19349 if test "$TOOLKIT" = "MOTIF"; then
19350 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19353 if test "$TOOLKIT" = "X11"; then
19354 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19358 if test "$TOOLKIT" != "MSW"; then
19359 if test "$wxUSE_JOYSTICK" = "yes"; then
19360 for ac_hdr
in linux
/joystick.h
19362 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19363 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19364 echo "configure:19365: checking for $ac_hdr" >&5
19365 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19366 echo $ac_n "(cached) $ac_c" 1>&6
19368 cat > conftest.
$ac_ext <<EOF
19369 #line 19370 "configure"
19370 #include "confdefs.h"
19373 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19374 { (eval echo configure
:19375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19375 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19376 if test -z "$ac_err"; then
19378 eval "ac_cv_header_$ac_safe=yes"
19381 echo "configure: failed program was:" >&5
19382 cat conftest.
$ac_ext >&5
19384 eval "ac_cv_header_$ac_safe=no"
19388 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19389 echo "$ac_t""yes" 1>&6
19390 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19391 cat >> confdefs.h
<<EOF
19392 #define $ac_tr_hdr 1
19396 echo "$ac_t""no" 1>&6
19400 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19402 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19407 if test "$wxUSE_JOYSTICK" = "yes"; then
19408 cat >> confdefs.h
<<\EOF
19409 #define wxUSE_JOYSTICK 1
19412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
19417 if test "$TOOLKIT" != "MSW"; then
19421 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19422 if test "$USE_DARWIN" = 1; then
19425 for ac_func
in dlopen
19427 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19428 echo "configure:19429: checking for $ac_func" >&5
19429 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19430 echo $ac_n "(cached) $ac_c" 1>&6
19432 cat > conftest.
$ac_ext <<EOF
19433 #line 19434 "configure"
19434 #include "confdefs.h"
19435 /* System header to define __stub macros and hopefully few prototypes,
19436 which can conflict with char $ac_func(); below. */
19437 #include <assert.h>
19438 /* Override any gcc2 internal prototype to avoid an error. */
19439 /* We use char because int might match the return type of a gcc2
19440 builtin and then its argument prototype would still apply. */
19445 /* The GNU C library defines this for functions which it implements
19446 to always fail with ENOSYS. Some functions are actually named
19447 something starting with __ and the normal name is an alias. */
19448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19456 if { (eval echo configure
:19457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19458 eval "ac_cv_func_$ac_func=yes"
19460 echo "configure: failed program was:" >&5
19461 cat conftest.
$ac_ext >&5
19463 eval "ac_cv_func_$ac_func=no"
19468 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19469 echo "$ac_t""yes" 1>&6
19470 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19471 cat >> confdefs.h
<<EOF
19472 #define $ac_tr_func 1
19475 cat >> confdefs.h
<<\EOF
19476 #define HAVE_DLOPEN 1
19482 echo "$ac_t""no" 1>&6
19483 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19484 echo "configure:19485: checking for dlopen in -ldl" >&5
19485 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19486 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19487 echo $ac_n "(cached) $ac_c" 1>&6
19489 ac_save_LIBS
="$LIBS"
19491 cat > conftest.
$ac_ext <<EOF
19492 #line 19493 "configure"
19493 #include "confdefs.h"
19494 /* Override any gcc2 internal prototype to avoid an error. */
19495 /* We use char because int might match the return type of a gcc2
19496 builtin and then its argument prototype would still apply. */
19503 if { (eval echo configure
:19504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19505 eval "ac_cv_lib_$ac_lib_var=yes"
19507 echo "configure: failed program was:" >&5
19508 cat conftest.
$ac_ext >&5
19510 eval "ac_cv_lib_$ac_lib_var=no"
19513 LIBS
="$ac_save_LIBS"
19516 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19517 echo "$ac_t""yes" 1>&6
19519 cat >> confdefs.h
<<\EOF
19520 #define HAVE_DLOPEN 1
19524 DL_LINK
=" -ldl$DL_LINK"
19527 echo "$ac_t""no" 1>&6
19529 for ac_func
in shl_load
19531 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19532 echo "configure:19533: checking for $ac_func" >&5
19533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19534 echo $ac_n "(cached) $ac_c" 1>&6
19536 cat > conftest.
$ac_ext <<EOF
19537 #line 19538 "configure"
19538 #include "confdefs.h"
19539 /* System header to define __stub macros and hopefully few prototypes,
19540 which can conflict with char $ac_func(); below. */
19541 #include <assert.h>
19542 /* Override any gcc2 internal prototype to avoid an error. */
19543 /* We use char because int might match the return type of a gcc2
19544 builtin and then its argument prototype would still apply. */
19549 /* The GNU C library defines this for functions which it implements
19550 to always fail with ENOSYS. Some functions are actually named
19551 something starting with __ and the normal name is an alias. */
19552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19560 if { (eval echo configure
:19561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19562 eval "ac_cv_func_$ac_func=yes"
19564 echo "configure: failed program was:" >&5
19565 cat conftest.
$ac_ext >&5
19567 eval "ac_cv_func_$ac_func=no"
19572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19573 echo "$ac_t""yes" 1>&6
19574 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19575 cat >> confdefs.h
<<EOF
19576 #define $ac_tr_func 1
19579 cat >> confdefs.h
<<\EOF
19580 #define HAVE_SHL_LOAD 1
19586 echo "$ac_t""no" 1>&6
19587 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19588 echo "configure:19589: checking for dld in -lshl_load" >&5
19589 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19590 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19591 echo $ac_n "(cached) $ac_c" 1>&6
19593 ac_save_LIBS
="$LIBS"
19594 LIBS
="-lshl_load $LIBS"
19595 cat > conftest.
$ac_ext <<EOF
19596 #line 19597 "configure"
19597 #include "confdefs.h"
19598 /* Override any gcc2 internal prototype to avoid an error. */
19599 /* We use char because int might match the return type of a gcc2
19600 builtin and then its argument prototype would still apply. */
19607 if { (eval echo configure
:19608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19609 eval "ac_cv_lib_$ac_lib_var=yes"
19611 echo "configure: failed program was:" >&5
19612 cat conftest.
$ac_ext >&5
19614 eval "ac_cv_lib_$ac_lib_var=no"
19617 LIBS
="$ac_save_LIBS"
19620 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19621 echo "$ac_t""yes" 1>&6
19624 DL_LINK
=" -ldld$DL_LINK"
19627 echo "$ac_t""no" 1>&6
19642 if test "$HAVE_DL_FUNCS" = 1; then
19643 for ac_func
in dlerror
19645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19646 echo "configure:19647: checking for $ac_func" >&5
19647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19648 echo $ac_n "(cached) $ac_c" 1>&6
19650 cat > conftest.
$ac_ext <<EOF
19651 #line 19652 "configure"
19652 #include "confdefs.h"
19653 /* System header to define __stub macros and hopefully few prototypes,
19654 which can conflict with char $ac_func(); below. */
19655 #include <assert.h>
19656 /* Override any gcc2 internal prototype to avoid an error. */
19657 /* We use char because int might match the return type of a gcc2
19658 builtin and then its argument prototype would still apply. */
19663 /* The GNU C library defines this for functions which it implements
19664 to always fail with ENOSYS. Some functions are actually named
19665 something starting with __ and the normal name is an alias. */
19666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19674 if { (eval echo configure
:19675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19676 eval "ac_cv_func_$ac_func=yes"
19678 echo "configure: failed program was:" >&5
19679 cat conftest.
$ac_ext >&5
19681 eval "ac_cv_func_$ac_func=no"
19686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19687 echo "$ac_t""yes" 1>&6
19688 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19689 cat >> confdefs.h
<<EOF
19690 #define $ac_tr_func 1
19692 cat >> confdefs.h
<<\EOF
19693 #define HAVE_DLERROR 1
19697 echo "$ac_t""no" 1>&6
19698 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19699 echo "configure:19700: checking for dlerror in -ldl" >&5
19700 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19701 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19702 echo $ac_n "(cached) $ac_c" 1>&6
19704 ac_save_LIBS
="$LIBS"
19706 cat > conftest.
$ac_ext <<EOF
19707 #line 19708 "configure"
19708 #include "confdefs.h"
19709 /* Override any gcc2 internal prototype to avoid an error. */
19710 /* We use char because int might match the return type of a gcc2
19711 builtin and then its argument prototype would still apply. */
19718 if { (eval echo configure
:19719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19720 eval "ac_cv_lib_$ac_lib_var=yes"
19722 echo "configure: failed program was:" >&5
19723 cat conftest.
$ac_ext >&5
19725 eval "ac_cv_lib_$ac_lib_var=no"
19728 LIBS
="$ac_save_LIBS"
19731 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19732 echo "$ac_t""yes" 1>&6
19733 cat >> confdefs.h
<<\EOF
19734 #define HAVE_DLERROR 1
19738 echo "$ac_t""no" 1>&6
19747 if test "$HAVE_DL_FUNCS" = 0; then
19748 if test "$HAVE_SHL_FUNCS" = 0; then
19749 if test "$USE_UNIX" = 1; then
19750 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19751 wxUSE_DYNAMIC_LOADER
=no
19752 wxUSE_DYNLIB_CLASS
=no
19754 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19761 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19762 cat >> confdefs.h
<<\EOF
19763 #define wxUSE_DYNAMIC_LOADER 1
19766 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19767 cat >> confdefs.h
<<\EOF
19768 #define wxUSE_DYNLIB_CLASS 1
19774 if test "$wxUSE_FONTMAP" = "yes" ; then
19775 cat >> confdefs.h
<<\EOF
19776 #define wxUSE_FONTMAP 1
19781 if test "$wxUSE_UNICODE" = "yes" ; then
19782 cat >> confdefs.h
<<\EOF
19783 #define wxUSE_UNICODE 1
19787 if test "$wxUSE_MSW" != 1; then
19788 wxUSE_UNICODE_MSLU
=no
19791 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19792 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19793 echo "configure:19794: checking for main in -lunicows" >&5
19794 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19795 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19796 echo $ac_n "(cached) $ac_c" 1>&6
19798 ac_save_LIBS
="$LIBS"
19799 LIBS
="-lunicows $LIBS"
19800 cat > conftest.
$ac_ext <<EOF
19801 #line 19802 "configure"
19802 #include "confdefs.h"
19808 if { (eval echo configure
:19809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19810 eval "ac_cv_lib_$ac_lib_var=yes"
19812 echo "configure: failed program was:" >&5
19813 cat conftest.
$ac_ext >&5
19815 eval "ac_cv_lib_$ac_lib_var=no"
19818 LIBS
="$ac_save_LIBS"
19821 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19822 echo "$ac_t""yes" 1>&6
19824 cat >> confdefs.h
<<\EOF
19825 #define wxUSE_UNICODE_MSLU 1
19830 echo "$ac_t""no" 1>&6
19832 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19833 Applications will only run on Windows NT/2000/XP!" 1>&2
19834 wxUSE_UNICODE_MSLU
=no
19841 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19842 cat >> confdefs.h
<<\EOF
19843 #define wxUSE_EXPERIMENTAL_PRINTF 1
19851 if test "$wxUSE_ODBC" = "yes" ; then
19852 cat >> confdefs.h
<<\EOF
19853 #define wxUSE_ODBC 1
19856 WXODBCFLAG
="-D_IODBC_"
19857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19861 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19862 cat >> confdefs.h
<<\EOF
19863 #define wxUSE_POSTSCRIPT 1
19868 cat >> confdefs.h
<<\EOF
19869 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19873 cat >> confdefs.h
<<\EOF
19874 #define wxUSE_NORMALIZED_PS_FONTS 1
19879 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19880 cat >> confdefs.h
<<\EOF
19881 #define wxUSE_CONSTRAINTS 1
19884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19887 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19890 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19891 cat >> confdefs.h
<<\EOF
19892 #define wxUSE_MDI_ARCHITECTURE 1
19895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19899 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19900 cat >> confdefs.h
<<\EOF
19901 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19905 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19910 if test "$wxUSE_HELP" = "yes"; then
19911 cat >> confdefs.h
<<\EOF
19912 #define wxUSE_HELP 1
19915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19917 if test "$wxUSE_MSW" = 1; then
19918 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19919 cat >> confdefs.h
<<\EOF
19920 #define wxUSE_MS_HTML_HELP 1
19926 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19927 if test "$wxUSE_HTML" = "yes"; then
19928 cat >> confdefs.h
<<\EOF
19929 #define wxUSE_WXHTML_HELP 1
19933 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19934 wxUSE_WXHTML_HELP
=no
19939 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19940 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19941 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19943 cat >> confdefs.h
<<\EOF
19944 #define wxUSE_PRINTING_ARCHITECTURE 1
19948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19951 if test "$wxUSE_PROLOGIO" = "yes" ; then
19952 cat >> confdefs.h
<<\EOF
19953 #define wxUSE_PROLOGIO 1
19958 if test "$wxUSE_RESOURCES" = "yes" ; then
19959 if test "$wxUSE_NANOX" = "yes"; then
19960 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19962 cat >> confdefs.h
<<\EOF
19963 #define wxUSE_RESOURCES 1
19966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19970 if test "$wxUSE_X_RESOURCES" = "yes"; then
19971 cat >> confdefs.h
<<\EOF
19972 #define wxUSE_X_RESOURCES 1
19978 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19979 -o "$wxUSE_CLIPBOARD" = "yes" \
19980 -o "$wxUSE_OLE" = "yes" \
19981 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19982 for ac_hdr
in ole2.h
19984 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19985 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19986 echo "configure:19987: checking for $ac_hdr" >&5
19987 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19988 echo $ac_n "(cached) $ac_c" 1>&6
19990 cat > conftest.
$ac_ext <<EOF
19991 #line 19992 "configure"
19992 #include "confdefs.h"
19995 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19996 { (eval echo configure
:19997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19997 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19998 if test -z "$ac_err"; then
20000 eval "ac_cv_header_$ac_safe=yes"
20003 echo "configure: failed program was:" >&5
20004 cat conftest.
$ac_ext >&5
20006 eval "ac_cv_header_$ac_safe=no"
20010 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20011 echo "$ac_t""yes" 1>&6
20012 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20013 cat >> confdefs.h
<<EOF
20014 #define $ac_tr_hdr 1
20018 echo "$ac_t""no" 1>&6
20023 if test "$ac_cv_header_ole2_h" = "yes" ; then
20024 if test "$GCC" = yes ; then
20027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20028 ac_cpp
='$CXXCPP $CPPFLAGS'
20029 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20030 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20031 cross_compiling
=$ac_cv_prog_cxx_cross
20034 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
20035 echo "configure:20036: checking if g++ requires -fvtable-thunks" >&5
20036 cat > conftest.
$ac_ext <<EOF
20037 #line 20038 "configure"
20038 #include "confdefs.h"
20039 #include <windows.h>
20045 if { (eval echo configure
:20046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20047 echo "$ac_t""no" 1>&6
20049 echo "configure: failed program was:" >&5
20050 cat conftest.
$ac_ext >&5
20052 echo "$ac_t""yes" 1>&6
20053 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
20057 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20058 ac_cpp
='$CPP $CPPFLAGS'
20059 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20060 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20061 cross_compiling
=$ac_cv_prog_cc_cross
20063 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
20064 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
20065 cat >> confdefs.h
<<\EOF
20066 #define wxUSE_OLE 1
20072 cat >> confdefs.h
<<\EOF
20073 #define wxUSE_DATAOBJ 1
20077 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
20080 wxUSE_DRAG_AND_DROP
=no
20085 if test "$wxUSE_METAFILE" = "yes"; then
20086 cat >> confdefs.h
<<\EOF
20087 #define wxUSE_METAFILE 1
20091 cat >> confdefs.h
<<\EOF
20092 #define wxUSE_ENH_METAFILE 1
20098 if test "$wxUSE_WINE" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
20099 -o "$wxUSE_CLIPBOARD" = "yes" \
20100 -o "$wxUSE_OLE" = "yes" \
20101 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
20102 for ac_hdr
in ole2.h
20104 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20105 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20106 echo "configure:20107: checking for $ac_hdr" >&5
20107 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20108 echo $ac_n "(cached) $ac_c" 1>&6
20110 cat > conftest.
$ac_ext <<EOF
20111 #line 20112 "configure"
20112 #include "confdefs.h"
20115 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20116 { (eval echo configure
:20117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20117 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20118 if test -z "$ac_err"; then
20120 eval "ac_cv_header_$ac_safe=yes"
20123 echo "configure: failed program was:" >&5
20124 cat conftest.
$ac_ext >&5
20126 eval "ac_cv_header_$ac_safe=no"
20130 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20131 echo "$ac_t""yes" 1>&6
20132 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20133 cat >> confdefs.h
<<EOF
20134 #define $ac_tr_hdr 1
20138 echo "$ac_t""no" 1>&6
20143 if test "$ac_cv_header_ole2_h" = "yes" ; then
20144 if test "$GCC" = yes ; then
20147 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20148 ac_cpp
='$CXXCPP $CPPFLAGS'
20149 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20150 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20151 cross_compiling
=$ac_cv_prog_cxx_cross
20154 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
20155 echo "configure:20156: checking if g++ requires -fvtable-thunks" >&5
20156 cat > conftest.
$ac_ext <<EOF
20157 #line 20158 "configure"
20158 #include "confdefs.h"
20159 #include <windows.h>
20165 if { (eval echo configure
:20166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20167 echo "$ac_t""no" 1>&6
20169 echo "configure: failed program was:" >&5
20170 cat conftest.
$ac_ext >&5
20172 echo "$ac_t""yes" 1>&6
20173 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
20177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20178 ac_cpp
='$CPP $CPPFLAGS'
20179 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20180 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20181 cross_compiling
=$ac_cv_prog_cc_cross
20183 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
20184 LIBS
=" -lwine_uuid$LIBS"
20185 cat >> confdefs.h
<<\EOF
20186 #define wxUSE_OLE 1
20192 cat >> confdefs.h
<<\EOF
20193 #define wxUSE_DATAOBJ 1
20197 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
20200 wxUSE_DRAG_AND_DROP
=no
20205 if test "$wxUSE_METAFILE" = "yes"; then
20206 cat >> confdefs.h
<<\EOF
20207 #define wxUSE_METAFILE 1
20211 cat >> confdefs.h
<<\EOF
20212 #define wxUSE_ENH_METAFILE 1
20218 if test "$wxUSE_IPC" = "yes"; then
20219 if test "$wxUSE_SOCKETS" != "yes"; then
20220 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
20223 cat >> confdefs.h
<<\EOF
20224 #define wxUSE_IPC 1
20229 if test "$wxUSE_CLIPBOARD" = "yes"; then
20230 if test "$wxUSE_MGL" = 1; then
20231 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
20235 if test "$wxUSE_CLIPBOARD" = "yes"; then
20236 cat >> confdefs.h
<<\EOF
20237 #define wxUSE_CLIPBOARD 1
20241 cat >> confdefs.h
<<\EOF
20242 #define wxUSE_DATAOBJ 1
20248 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
20249 if test "$wxUSE_GTK" = 1; then
20250 if test "$WXGTK12" != 1; then
20251 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
20252 wxUSE_DRAG_AND_DROP
=no
20256 if test "$wxUSE_MOTIF" = 1; then
20257 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
20258 wxUSE_DRAG_AND_DROP
=no
20261 if test "$wxUSE_X11" = 1; then
20262 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
20263 wxUSE_DRAG_AND_DROP
=no
20266 if test "$wxUSE_MGL" = 1; then
20267 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
20268 wxUSE_DRAG_AND_DROP
=no
20271 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
20272 cat >> confdefs.h
<<\EOF
20273 #define wxUSE_DRAG_AND_DROP 1
20276 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
20281 if test "$wxUSE_SPLINES" = "yes" ; then
20282 cat >> confdefs.h
<<\EOF
20283 #define wxUSE_SPLINES 1
20290 if test "$wxUSE_CONTROLS" = "yes"; then
20294 if test "$wxUSE_ACCEL" = "yes"; then
20295 cat >> confdefs.h
<<\EOF
20296 #define wxUSE_ACCEL 1
20302 if test "$wxUSE_BUTTON" = "yes"; then
20303 cat >> confdefs.h
<<\EOF
20304 #define wxUSE_BUTTON 1
20310 if test "$wxUSE_BMPBUTTON" = "yes"; then
20311 cat >> confdefs.h
<<\EOF
20312 #define wxUSE_BMPBUTTON 1
20318 if test "$wxUSE_CALCTRL" = "yes"; then
20319 cat >> confdefs.h
<<\EOF
20320 #define wxUSE_CALENDARCTRL 1
20324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
20327 if test "$wxUSE_CARET" = "yes"; then
20328 cat >> confdefs.h
<<\EOF
20329 #define wxUSE_CARET 1
20333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
20336 if test "$wxUSE_COMBOBOX" = "yes"; then
20337 cat >> confdefs.h
<<\EOF
20338 #define wxUSE_COMBOBOX 1
20344 if test "$wxUSE_CHOICE" = "yes"; then
20345 cat >> confdefs.h
<<\EOF
20346 #define wxUSE_CHOICE 1
20352 if test "$wxUSE_CHECKBOX" = "yes"; then
20353 cat >> confdefs.h
<<\EOF
20354 #define wxUSE_CHECKBOX 1
20360 if test "$wxUSE_CHECKLST" = "yes"; then
20361 cat >> confdefs.h
<<\EOF
20362 #define wxUSE_CHECKLISTBOX 1
20366 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
20369 if test "$wxUSE_GAUGE" = "yes"; then
20370 cat >> confdefs.h
<<\EOF
20371 #define wxUSE_GAUGE 1
20377 if test "$wxUSE_NEW_GRID" = "yes"; then
20379 cat >> confdefs.h
<<\EOF
20380 #define wxUSE_NEW_GRID 1
20384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
20387 if test "$wxUSE_GRID" = "yes"; then
20388 cat >> confdefs.h
<<\EOF
20389 #define wxUSE_GRID 1
20393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
20396 if test "$wxUSE_IMAGLIST" = "yes"; then
20397 cat >> confdefs.h
<<\EOF
20398 #define wxUSE_IMAGLIST 1
20403 if test "$wxUSE_LISTBOX" = "yes"; then
20404 cat >> confdefs.h
<<\EOF
20405 #define wxUSE_LISTBOX 1
20411 if test "$wxUSE_LISTCTRL" = "yes"; then
20412 if test "$wxUSE_IMAGLIST" = "yes"; then
20413 cat >> confdefs.h
<<\EOF
20414 #define wxUSE_LISTCTRL 1
20418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
20420 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
20424 if test "$wxUSE_NOTEBOOK" = "yes"; then
20425 cat >> confdefs.h
<<\EOF
20426 #define wxUSE_NOTEBOOK 1
20430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
20433 if test "$wxUSE_PROPSHEET" = "yes"; then
20434 cat >> confdefs.h
<<\EOF
20435 #define wxUSE_PROPSHEET 1
20439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
20442 if test "$wxUSE_RADIOBOX" = "yes"; then
20443 cat >> confdefs.h
<<\EOF
20444 #define wxUSE_RADIOBOX 1
20450 if test "$wxUSE_RADIOBTN" = "yes"; then
20451 cat >> confdefs.h
<<\EOF
20452 #define wxUSE_RADIOBTN 1
20458 if test "$wxUSE_SASH" = "yes"; then
20459 cat >> confdefs.h
<<\EOF
20460 #define wxUSE_SASH 1
20463 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
20466 if test "$wxUSE_SCROLLBAR" = "yes"; then
20467 cat >> confdefs.h
<<\EOF
20468 #define wxUSE_SCROLLBAR 1
20472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
20475 if test "$wxUSE_SLIDER" = "yes"; then
20476 cat >> confdefs.h
<<\EOF
20477 #define wxUSE_SLIDER 1
20483 if test "$wxUSE_SPINBTN" = "yes"; then
20484 cat >> confdefs.h
<<\EOF
20485 #define wxUSE_SPINBTN 1
20491 if test "$wxUSE_SPINCTRL" = "yes"; then
20492 cat >> confdefs.h
<<\EOF
20493 #define wxUSE_SPINCTRL 1
20499 if test "$wxUSE_SPLITTER" = "yes"; then
20500 cat >> confdefs.h
<<\EOF
20501 #define wxUSE_SPLITTER 1
20504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
20507 if test "$wxUSE_STATBMP" = "yes"; then
20508 cat >> confdefs.h
<<\EOF
20509 #define wxUSE_STATBMP 1
20515 if test "$wxUSE_STATBOX" = "yes"; then
20516 cat >> confdefs.h
<<\EOF
20517 #define wxUSE_STATBOX 1
20523 if test "$wxUSE_STATTEXT" = "yes"; then
20524 cat >> confdefs.h
<<\EOF
20525 #define wxUSE_STATTEXT 1
20531 if test "$wxUSE_STATLINE" = "yes"; then
20532 if test "$wxUSE_WINE" = 1 ; then
20533 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20535 cat >> confdefs.h
<<\EOF
20536 #define wxUSE_STATLINE 1
20543 if test "$wxUSE_STATUSBAR" = "yes"; then
20544 cat >> confdefs.h
<<\EOF
20545 #define wxUSE_STATUSBAR 1
20550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
20553 if test "$wxUSE_TABDIALOG" = "yes"; then
20554 cat >> confdefs.h
<<\EOF
20555 #define wxUSE_TAB_DIALOG 1
20558 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
20561 if test "$wxUSE_TEXTCTRL" = "yes"; then
20562 cat >> confdefs.h
<<\EOF
20563 #define wxUSE_TEXTCTRL 1
20567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
20570 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20571 if test "$wxUSE_MAC" = 1; then
20572 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20575 if test "$wxUSE_UNIVERSAL" = "yes"; then
20576 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20580 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20581 cat >> confdefs.h
<<\EOF
20582 #define wxUSE_TOGGLEBTN 1
20589 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20590 cat >> confdefs.h
<<\EOF
20591 #define wxUSE_TOOLBAR_SIMPLE 1
20594 wxUSE_TOOLBAR
="yes"
20598 if test "$wxUSE_TOOLBAR" = "yes"; then
20599 cat >> confdefs.h
<<\EOF
20600 #define wxUSE_TOOLBAR 1
20605 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20606 wxUSE_TOOLBAR_NATIVE
="yes"
20609 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20610 cat >> confdefs.h
<<\EOF
20611 #define wxUSE_TOOLBAR_NATIVE 1
20617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
20620 if test "$wxUSE_TOOLTIPS" = "yes"; then
20621 if test "$wxUSE_MOTIF" = 1; then
20622 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20624 if test "$wxUSE_WINE" = 1; then
20625 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20627 if test "$wxUSE_UNIVERSAL" = "yes"; then
20628 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20630 cat >> confdefs.h
<<\EOF
20631 #define wxUSE_TOOLTIPS 1
20639 if test "$wxUSE_TREECTRL" = "yes"; then
20640 if test "$wxUSE_IMAGLIST" = "yes"; then
20641 cat >> confdefs.h
<<\EOF
20642 #define wxUSE_TREECTRL 1
20646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20648 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20652 if test "$wxUSE_POPUPWIN" = "yes"; then
20653 if test "$wxUSE_MAC" = 1; then
20654 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20656 if test "$wxUSE_MOTIF" = 1; then
20657 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20659 if test "$wxUSE_PM" = 1; then
20660 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20662 cat >> confdefs.h
<<\EOF
20663 #define wxUSE_POPUPWIN 1
20673 if test "$wxUSE_TIPWINDOW" = "yes"; then
20674 if test "$wxUSE_PM" = 1; then
20675 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20677 cat >> confdefs.h
<<\EOF
20678 #define wxUSE_TIPWINDOW 1
20684 if test "$USES_CONTROLS" = 1; then
20685 cat >> confdefs.h
<<\EOF
20686 #define wxUSE_CONTROLS 1
20692 if test "$wxUSE_TREELAYOUT" = "yes"; then
20693 cat >> confdefs.h
<<\EOF
20694 #define wxUSE_TREELAYOUT 1
20697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20700 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20701 cat >> confdefs.h
<<\EOF
20702 #define wxUSE_DRAGIMAGE 1
20705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20708 if test "$wxUSE_MENUS" = "yes"; then
20709 cat >> confdefs.h
<<\EOF
20710 #define wxUSE_MENUS 1
20713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20716 if test "$wxUSE_METAFILE" = "yes"; then
20717 cat >> confdefs.h
<<\EOF
20718 #define wxUSE_METAFILE 1
20723 if test "$wxUSE_MIMETYPE" = "yes"; then
20724 cat >> confdefs.h
<<\EOF
20725 #define wxUSE_MIMETYPE 1
20730 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20731 cat >> confdefs.h
<<\EOF
20732 #define wxUSE_SYSTEM_OPTIONS 1
20735 if test "$TOOLKIT" = "MSW"; then
20736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
20741 if test "$wxUSE_PROTOCOL" = "yes"; then
20742 if test "$wxUSE_SOCKETS" != "yes"; then
20743 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20747 if test "$wxUSE_PROTOCOL" = "yes"; then
20748 cat >> confdefs.h
<<\EOF
20749 #define wxUSE_PROTOCOL 1
20753 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20754 cat >> confdefs.h
<<\EOF
20755 #define wxUSE_PROTOCOL_HTTP 1
20759 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20760 cat >> confdefs.h
<<\EOF
20761 #define wxUSE_PROTOCOL_FTP 1
20765 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20766 cat >> confdefs.h
<<\EOF
20767 #define wxUSE_PROTOCOL_FILE 1
20774 if test "$wxUSE_URL" = "yes"; then
20775 if test "$wxUSE_PROTOCOL" != "yes"; then
20776 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20779 if test "$wxUSE_URL" = "yes"; then
20780 cat >> confdefs.h
<<\EOF
20781 #define wxUSE_URL 1
20787 if test "$wxUSE_MINIFRAME" = "yes"; then
20788 cat >> confdefs.h
<<\EOF
20789 #define wxUSE_MINIFRAME 1
20792 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20795 if test "$wxUSE_HTML" = "yes"; then
20796 cat >> confdefs.h
<<\EOF
20797 #define wxUSE_HTML 1
20800 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20803 if test "$wxUSE_VALIDATORS" = "yes"; then
20804 cat >> confdefs.h
<<\EOF
20805 #define wxUSE_VALIDATORS 1
20808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20811 if test "$wxUSE_PALETTE" = "yes" ; then
20812 cat >> confdefs.h
<<\EOF
20813 #define wxUSE_PALETTE 1
20818 if test "$wxUSE_IMAGE" = "yes" ; then
20819 cat >> confdefs.h
<<\EOF
20820 #define wxUSE_IMAGE 1
20825 if test "$wxUSE_GIF" = "yes" ; then
20826 cat >> confdefs.h
<<\EOF
20827 #define wxUSE_GIF 1
20832 if test "$wxUSE_PCX" = "yes" ; then
20833 cat >> confdefs.h
<<\EOF
20834 #define wxUSE_PCX 1
20839 if test "$wxUSE_IFF" = "yes" ; then
20840 cat >> confdefs.h
<<\EOF
20841 #define wxUSE_IFF 1
20846 if test "$wxUSE_PNM" = "yes" ; then
20847 cat >> confdefs.h
<<\EOF
20848 #define wxUSE_PNM 1
20853 if test "$wxUSE_XPM" = "yes" ; then
20854 cat >> confdefs.h
<<\EOF
20855 #define wxUSE_XPM 1
20860 if test "$wxUSE_ICO_CUR" = "yes" ; then
20861 cat >> confdefs.h
<<\EOF
20862 #define wxUSE_ICO_CUR 1
20867 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20868 LIBS
=" -lunicows $LIBS"
20872 if test "$wxUSE_CHOICEDLG" = "yes"; then
20873 cat >> confdefs.h
<<\EOF
20874 #define wxUSE_CHOICEDLG 1
20879 if test "$wxUSE_COLOURDLG" = "yes"; then
20880 cat >> confdefs.h
<<\EOF
20881 #define wxUSE_COLOURDLG 1
20886 if test "$wxUSE_FILEDLG" = "yes"; then
20887 cat >> confdefs.h
<<\EOF
20888 #define wxUSE_FILEDLG 1
20893 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20894 cat >> confdefs.h
<<\EOF
20895 #define wxUSE_FINDREPLDLG 1
20900 if test "$wxUSE_FONTDLG" = "yes"; then
20901 cat >> confdefs.h
<<\EOF
20902 #define wxUSE_FONTDLG 1
20907 if test "$wxUSE_DIRDLG" = "yes"; then
20908 if test "$wxUSE_TREECTRL" != "yes"; then
20909 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20911 cat >> confdefs.h
<<\EOF
20912 #define wxUSE_DIRDLG 1
20918 if test "$wxUSE_MSGDLG" = "yes"; then
20919 cat >> confdefs.h
<<\EOF
20920 #define wxUSE_MSGDLG 1
20925 if test "$wxUSE_NUMBERDLG" = "yes"; then
20926 cat >> confdefs.h
<<\EOF
20927 #define wxUSE_NUMBERDLG 1
20932 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20933 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20934 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20936 cat >> confdefs.h
<<\EOF
20937 #define wxUSE_PROGRESSDLG 1
20943 if test "$wxUSE_SPLASH" = "yes"; then
20944 cat >> confdefs.h
<<\EOF
20945 #define wxUSE_SPLASH 1
20950 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20951 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20952 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20954 cat >> confdefs.h
<<\EOF
20955 #define wxUSE_STARTUP_TIPS 1
20961 if test "$wxUSE_TEXTDLG" = "yes"; then
20962 cat >> confdefs.h
<<\EOF
20963 #define wxUSE_TEXTDLG 1
20968 if test "$wxUSE_WIZARDDLG" = "yes"; then
20969 cat >> confdefs.h
<<\EOF
20970 #define wxUSE_WIZARDDLG 1
20973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20977 if test "$cross_compiling" = "yes"; then
20980 OSINFO
=`uname -s -r -m`
20981 OSINFO
="\"$OSINFO\""
20984 cat >> confdefs.h
<<EOF
20985 #define WXWIN_OS_DESCRIPTION $OSINFO
20990 if test "x$prefix" != "xNONE"; then
20993 wxPREFIX
=$ac_default_prefix
20996 cat >> confdefs.h
<<EOF
20997 #define wxINSTALL_PREFIX "$wxPREFIX"
21004 if test "$wxUSE_MAC" = 1 ; then
21005 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
21009 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
21011 if test "$wxUSE_GUI" = "yes"; then
21013 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
21016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
21017 drawing dynamic erase event exec font image \
21018 minimal propsize rotate widgets"
21020 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
21022 SAMPLES_SUBDIRS
="console"
21026 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
21027 -I\${top_srcdir}/include \
21028 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
21031 if test "$wxUSE_GTK" = 1; then
21034 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
21037 if test "$GXX" = yes ; then
21038 CXXWARNINGS
="-Wall"
21040 if test "$wxUSE_NO_DEPS" = "no" ; then
21041 CFLAGS
="-MMD $CFLAGS"
21042 CXXFLAGS
="-MMD $CXXFLAGS"
21046 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
21048 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
21049 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
21050 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
21052 LDFLAGS
="$LDFLAGS $PROFILE"
21054 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
21145 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
21146 echo "configure:21147: checking whether ${MAKE-make} sets \${MAKE}" >&5
21147 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
21148 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
21149 echo $ac_n "(cached) $ac_c" 1>&6
21151 cat > conftestmake
<<\EOF
21153 @
echo 'ac_maketemp="${MAKE}"'
21155 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21156 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
21157 if test -n "$ac_maketemp"; then
21158 eval ac_cv_prog_make_
${ac_make}_set
=yes
21160 eval ac_cv_prog_make_
${ac_make}_set
=no
21164 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
21165 echo "$ac_t""yes" 1>&6
21168 echo "$ac_t""no" 1>&6
21169 SET_MAKE
="MAKE=${MAKE-make}"
21173 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
21174 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
21179 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
21180 wx_cv_if_gnu_make
=$IF_GNU_MAKE
21181 wx_cv_path_ifs
=$PATH_IFS
21182 wx_cv_program_ext
=$PROGRAM_EXT
21183 wx_cv_target_library
=$WX_TARGET_LIBRARY
21184 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
21185 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
21186 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
21187 wx_cv_path_ifs wx_cv_program_ext \
21188 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
21190 subdirs
="demos samples utils contrib"
21194 cat > confcache
<<\EOF
21195 # This file is a shell script that caches the results of configure
21196 # tests run on this system so they can be shared between configure
21197 # scripts and configure runs. It is not useful on other systems.
21198 # If it contains results you don't want to keep, you may remove or edit it.
21200 # By default, configure uses ./config.cache as the cache file,
21201 # creating it if it does not exist already. You can give configure
21202 # the --cache-file=FILE option to use a different cache file; that is
21203 # what configure does when it calls configure scripts in
21204 # subdirectories, so they share the cache.
21205 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21206 # config.status only pays attention to the cache file if you give it the
21207 # --recheck option to rerun configure.
21210 # The following way of writing the cache mishandles newlines in values,
21211 # but we know of no workaround that is simple, portable, and efficient.
21212 # So, don't put newlines in cache variables' values.
21213 # Ultrix sh set writes to stderr and can't be redirected directly,
21214 # and sets the high bit in the cache file unless we assign to the vars.
21216 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21218 # `set' does not quote correctly, so add quotes (double-quote substitution
21219 # turns \\\\ into \\, and sed turns \\ into \).
21221 -e "s/'/'\\\\''/g" \
21222 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21225 # `set' quotes correctly as required by POSIX, so do not add quotes.
21226 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21229 if cmp -s $cache_file confcache
; then
21232 if test -w $cache_file; then
21233 echo "updating cache $cache_file"
21234 cat confcache
> $cache_file
21236 echo "not updating unwritable cache $cache_file"
21241 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
21243 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21244 # Let make expand exec_prefix.
21245 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21247 # Any assignment to VPATH causes Sun make to only execute
21248 # the first set of double-colon rules, so remove it if not needed.
21249 # If there is a colon in the path, we need to keep it.
21250 if test "x$srcdir" = x.
; then
21251 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
21254 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
21256 DEFS
=-DHAVE_CONFIG_H
21258 # Without the "./", some shells look in PATH for config.status.
21259 : ${CONFIG_STATUS=./config.status}
21261 echo creating
$CONFIG_STATUS
21262 rm -f $CONFIG_STATUS
21263 cat > $CONFIG_STATUS <<EOF
21265 # Generated automatically by configure.
21266 # Run this file to recreate the current configuration.
21267 # This directory was configured as follows,
21268 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21270 # $0 $ac_configure_args
21272 # Compiler output produced by configure, useful for debugging
21273 # configure, is in ./config.log if it exists.
21275 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
21278 case "\$ac_option" in
21279 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21280 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
21281 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
21282 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
21283 echo "$CONFIG_STATUS generated by autoconf version 2.13"
21285 -help | --help | --hel | --he | --h)
21286 echo "\$ac_cs_usage"; exit 0 ;;
21287 *) echo "\$ac_cs_usage"; exit 1 ;;
21291 ac_given_srcdir=$srcdir
21292 ac_given_INSTALL="$INSTALL"
21294 trap 'rm -fr `echo "
21300 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
21302 cat >> $CONFIG_STATUS <<EOF
21304 # Protect against being on the right side of a sed subst in config.status.
21305 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
21306 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
21310 s%@CFLAGS@%$CFLAGS%g
21311 s%@CPPFLAGS@%$CPPFLAGS%g
21312 s%@CXXFLAGS@%$CXXFLAGS%g
21313 s%@FFLAGS@%$FFLAGS%g
21315 s%@LDFLAGS@%$LDFLAGS%g
21317 s%@exec_prefix@%$exec_prefix%g
21318 s%@prefix@%$prefix%g
21319 s%@program_transform_name@%$program_transform_name%g
21320 s%@bindir@%$bindir%g
21321 s%@sbindir@%$sbindir%g
21322 s%@libexecdir@%$libexecdir%g
21323 s%@datadir@%$datadir%g
21324 s%@sysconfdir@%$sysconfdir%g
21325 s%@sharedstatedir@%$sharedstatedir%g
21326 s%@localstatedir@%$localstatedir%g
21327 s%@libdir@%$libdir%g
21328 s%@includedir@%$includedir%g
21329 s%@oldincludedir@%$oldincludedir%g
21330 s%@infodir@%$infodir%g
21331 s%@mandir@%$mandir%g
21333 s%@host_alias@%$host_alias%g
21334 s%@host_cpu@%$host_cpu%g
21335 s%@host_vendor@%$host_vendor%g
21336 s%@host_os@%$host_os%g
21337 s%@target@%$target%g
21338 s%@target_alias@%$target_alias%g
21339 s%@target_cpu@%$target_cpu%g
21340 s%@target_vendor@%$target_vendor%g
21341 s%@target_os@%$target_os%g
21343 s%@build_alias@%$build_alias%g
21344 s%@build_cpu@%$build_cpu%g
21345 s%@build_vendor@%$build_vendor%g
21346 s%@build_os@%$build_os%g
21350 s%@RANLIB@%$RANLIB%g
21352 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21353 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21354 s%@INSTALL_DATA@%$INSTALL_DATA%g
21356 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
21359 s%@LEXLIB@%$LEXLIB%g
21361 s%@CXXCPP@%$CXXCPP%g
21362 s%@PKG_CONFIG@%$PKG_CONFIG%g
21363 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
21364 s%@GTK_LIBS@%$GTK_LIBS%g
21365 s%@GTK_CONFIG@%$GTK_CONFIG%g
21366 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
21367 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
21368 s%@X_CFLAGS@%$X_CFLAGS%g
21369 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
21370 s%@X_LIBS@%$X_LIBS%g
21371 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
21372 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
21373 s%@RESCOMP@%$RESCOMP%g
21375 s%@LIBICONV@%$LIBICONV%g
21376 s%@LEX_STEM@%$LEX_STEM%g
21377 s%@PATH_IFS@%$PATH_IFS%g
21378 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
21379 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
21380 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
21381 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
21382 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
21383 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
21384 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
21385 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
21386 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
21387 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
21388 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
21389 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
21390 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
21391 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
21392 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
21393 s%@WX_ALL@%$WX_ALL%g
21394 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
21395 s%@SHARED_LD@%$SHARED_LD%g
21396 s%@PIC_FLAG@%$PIC_FLAG%g
21397 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
21398 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
21399 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
21400 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
21401 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
21402 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
21403 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
21404 s%@USE_GUI@%$USE_GUI%g
21405 s%@AFMINSTALL@%$AFMINSTALL%g
21406 s%@TOOLKIT@%$TOOLKIT%g
21407 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
21408 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
21409 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
21410 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
21411 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
21412 s%@cross_compiling@%$cross_compiling%g
21413 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
21414 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
21415 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
21416 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
21417 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
21418 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
21419 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
21420 s%@ALL_HEADERS@%$ALL_HEADERS%g
21421 s%@ALL_SOURCES@%$ALL_SOURCES%g
21422 s%@GUIDIST@%$GUIDIST%g
21423 s%@PORT_FILES@%$PORT_FILES%g
21424 s%@DISTDIR@%$DISTDIR%g
21425 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
21426 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
21427 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
21428 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
21429 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
21430 s%@EXTRADEFS@%$EXTRADEFS%g
21431 s%@RESFLAGS@%$RESFLAGS%g
21432 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
21433 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
21434 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
21435 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
21436 s%@LIBWXMACRES@%$LIBWXMACRES%g
21437 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
21438 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
21439 s%@DLLTOOL@%$DLLTOOL%g
21443 s%@MAKEINFO@%$MAKEINFO%g
21444 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
21445 s%@SET_MAKE@%$SET_MAKE%g
21446 s%@subdirs@%$subdirs%g
21451 cat >> $CONFIG_STATUS <<\EOF
21453 # Split the substitutions into bite-sized pieces for seds with
21454 # small command number limits, like on Digital OSF/1 and HP-UX.
21455 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
21456 ac_file
=1 # Number of current file.
21457 ac_beg
=1 # First line for current file.
21458 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
21461 while $ac_more_lines; do
21462 if test $ac_beg -gt 1; then
21463 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
21465 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
21467 if test ! -s conftest.s
$ac_file; then
21468 ac_more_lines
=false
21469 rm -f conftest.s
$ac_file
21471 if test -z "$ac_sed_cmds"; then
21472 ac_sed_cmds
="sed -f conftest.s$ac_file"
21474 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
21476 ac_file
=`expr $ac_file + 1`
21478 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
21481 if test -z "$ac_sed_cmds"; then
21486 cat >> $CONFIG_STATUS <<EOF
21488 CONFIG_FILES=\${CONFIG_FILES-"wx-config
21495 cat >> $CONFIG_STATUS <<\EOF
21496 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
21497 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21499 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21500 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21501 *) ac_file_in
="${ac_file}.in" ;;
21504 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21506 # Remove last slash and all that follows it. Not all systems have dirname.
21507 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21508 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
21509 # The file is in a subdirectory.
21510 test ! -d "$ac_dir" && mkdir "$ac_dir"
21511 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
21512 # A "../" for each directory in $ac_dir_suffix.
21513 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21515 ac_dir_suffix
= ac_dots
=
21518 case "$ac_given_srcdir" in
21520 if test -z "$ac_dots"; then top_srcdir
=.
21521 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21522 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
21523 *) # Relative path.
21524 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21525 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21528 case "$ac_given_INSTALL" in
21529 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
21530 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
21533 echo creating
"$ac_file"
21535 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21537 *Makefile
*) ac_comsub
="1i\\
21538 # $configure_input" ;;
21542 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21544 s%@configure_input@%$configure_input%g
21545 s%@srcdir@%$srcdir%g
21546 s%@top_srcdir@%$top_srcdir%g
21547 s%@INSTALL@%$INSTALL%g
21548 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21552 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21553 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21555 # ac_d sets the value in "#define NAME VALUE" lines.
21556 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21557 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
21560 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21561 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21562 ac_uB
='\([ ]\)%\1#\2define\3'
21565 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21566 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21567 ac_eB
='$%\1#\2define\3'
21571 if test "${CONFIG_HEADERS+set}" != set; then
21573 cat >> $CONFIG_STATUS <<EOF
21574 CONFIG_HEADERS="setup.h:setup.h.in"
21576 cat >> $CONFIG_STATUS <<\EOF
21578 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21579 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21581 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21582 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21583 *) ac_file_in
="${ac_file}.in" ;;
21586 echo creating
$ac_file
21588 rm -f conftest.frag conftest.
in conftest.out
21589 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21590 cat $ac_file_inputs > conftest.
in
21594 # Transform confdefs.h into a sed script conftest.vals that substitutes
21595 # the proper values into config.h.in to produce config.h. And first:
21596 # Protect against being on the right side of a sed subst in config.status.
21597 # Protect against being in an unquoted here document in config.status.
21598 rm -f conftest.vals
21599 cat > conftest.hdr
<<\EOF
21602 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21606 sed -n -f conftest.hdr confdefs.h > conftest.vals
21609 # This sed command replaces #undef with comments. This is necessary, for
21610 # example, in the case of _POSIX_SOURCE, which is predefined and required
21611 # on some systems where configure will not decide to define it.
21612 cat >> conftest.vals <<\EOF
21613 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21616 # Break up conftest.vals because some shells have a limit on
21617 # the size of here documents, and old seds have small limits too.
21619 rm -f conftest.tail
21622 ac_lines=`grep -c . conftest.vals
`
21623 # grep -c gives empty output for an empty file on some AIX systems.
21624 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21625 # Write a limited-size here document to conftest.frag.
21626 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21627 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21629 sed -f conftest.frag conftest.in > conftest.out
21631 mv conftest.out conftest.in
21632 ' >> $CONFIG_STATUS
21633 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21634 rm -f conftest.vals
21635 mv conftest.tail conftest.vals
21637 rm -f conftest.vals
21639 cat >> $CONFIG_STATUS <<\EOF
21640 rm -f conftest.frag conftest.h
21641 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21642 cat conftest.in >> conftest.h
21644 if cmp -s $ac_file conftest.h 2>/dev/null; then
21645 echo "$ac_file is unchanged"
21648 # Remove last slash and all that follows it. Not all systems have dirname.
21649 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21650 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21651 # The file is in a subdirectory.
21652 test ! -d "$ac_dir" && mkdir "$ac_dir"
21655 mv conftest.h $ac_file
21660 cat >> $CONFIG_STATUS <<EOF
21662 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21667 cat >> $CONFIG_STATUS <<\EOF
21669 if test ! -h wx-config; then
21671 mv wx-config wx${TOOLCHAIN_NAME}-config
21672 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21675 if test ! -d lib; then
21678 if test ! -d lib/wx; then
21681 if test ! -d lib/wx/include; then
21682 mkdir lib/wx/include
21684 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21685 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21687 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21688 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21690 if test -f setup.h; then
21691 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21696 chmod +x $CONFIG_STATUS
21697 rm -fr confdefs* $ac_clean_files
21698 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21700 if test "$no_recursion" != yes; then
21702 # Remove --cache-file and --srcdir arguments so they do not pile up.
21703 ac_sub_configure_args=
21705 for ac_arg in $ac_configure_args; do
21706 if test -n "$ac_prev"; then
21711 -cache-file | --cache-file | --cache-fil | --cache-fi \
21712 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21713 ac_prev=cache_file ;;
21714 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21715 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21717 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21719 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21721 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21725 for ac_config_dir in demos samples utils contrib; do
21727 # Do not complain, so a configure script can configure whichever
21728 # parts of a large source tree are present.
21729 if test ! -d $srcdir/$ac_config_dir; then
21733 echo configuring in $ac_config_dir
21738 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21740 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21748 # A "../" for each directory in /$ac_config_dir.
21749 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21752 .) # No --srcdir option. We are building in place.
21753 ac_sub_srcdir=$srcdir ;;
21754 /*) # Absolute path.
21755 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21756 *) # Relative path.
21757 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21760 # Check for guested configure; otherwise get Cygnus style configure.
21761 if test -f $ac_sub_srcdir/configure; then
21762 ac_sub_configure=$ac_sub_srcdir/configure
21763 elif test -f $ac_sub_srcdir/configure.in; then
21764 ac_sub_configure=$ac_configure
21766 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21770 # The recursion is here.
21771 if test -n "$ac_sub_configure"; then
21773 # Make the cache file name correct relative to the subdirectory.
21774 case "$cache_file" in
21775 /*) ac_sub_cache_file=$cache_file ;;
21776 *) # Relative path.
21777 ac_sub_cache_file="$ac_dots$cache_file" ;;
21779 case "$ac_given_INSTALL" in
21780 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21781 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21784 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21785 # The eval makes quoting arguments work.
21786 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21789 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }