3 # From configure.in Id: configure.in
56 # Configure paths for GTK+
57 # Owen Taylor 1997-2001
61 # Configure paths for GTK+
66 # Guess values for system-dependent variables and create Makefiles.
67 # Generated automatically using autoconf version 2.13
68 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
70 # This configure script is free software; the Free Software Foundation
71 # gives unlimited permission to copy, distribute and modify it.
75 ac_default_prefix
=/usr
/local
76 # Any additions from configure.in:
78 --enable-gui use GUI classes"
80 --enable-universal use wxWindows GUI controls instead of native ones"
84 --with-motif use Motif/Lesstif"
86 --with-mac use Mac OS X"
90 --with-msw use MS-Windows"
92 --with-pm use OS/2 Presentation Manager"
94 --with-mgl use SciTech MGL"
96 --with-microwin use MicroWindows"
100 --enable-nanox use NanoX"
102 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
104 --with-libpng use libpng (PNG image format)"
106 --with-libjpeg use libjpeg (JPEG file format)"
108 --with-libtiff use libtiff (TIFF file format)"
110 --with-opengl use OpenGL (or Mesa)"
112 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
114 --with-regex enable support for wxRegEx class"
116 --with-zlib use zlib for LZW compression"
118 --with-odbc use the IODBC and wxODBC classes"
120 --enable-shared create shared library code"
122 --enable-soname set the DT_SONAME field in ELF shared libraries"
124 --enable-optimise create optimised code"
126 --enable-debug same as debug_flag and debug_info"
128 --enable-precomp enable use of precompiled headers (Mac OS X)"
130 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
132 --enable-debug_info create code with debugging information"
134 --enable-debug_gdb create code with extra GDB debugging information"
136 --enable-debug_cntxt use wxDebugContext"
138 --enable-mem_tracing create code with memory tracing"
140 --enable-profile create code with profiling information"
142 --enable-no_rtti create code without RTTI information"
144 --enable-no_exceptions create code without C++ exceptions handling"
146 --enable-permissive compile code disregarding strict ANSI"
148 --enable-no_deps create code without dependency information"
150 --enable-compat20 enable wxWindows 2.0 compatibility"
152 --disable-compat22 disable wxWindows 2.2 compatibility"
154 --enable-intl use internationalization system"
156 --enable-config use wxConfig (and derived) classes"
158 --enable-protocols use wxProtocol and derived classes"
160 --enable-ftp use wxFTP (requires wxProtocol"
162 --enable-http use wxHTTP (requires wxProtocol"
164 --enable-fileproto use wxFileProto class (requires wxProtocol"
166 --enable-sockets use socket/network classes"
168 --enable-ipc use interprocess communication (wxSocket etc.)"
170 --enable-cmdline use wxCmdLineParser class"
172 --enable-datetime use wxDateTime class"
174 --enable-timedate use obsolete wxDate/wxTime classes"
176 --enable-stopwatch use wxStopWatch class"
178 --enable-dialupman use dialup network classes"
180 --enable-apple_ieee use the Apple IEEE codec"
182 --enable-timer use wxTimer class"
184 --enable-wave use wxWave class"
186 --enable-fraction use wxFraction class"
188 --enable-dynlib use wxLibrary class for DLL loading"
190 --enable-dynamicloader use (new) wxDynamicLibrary class"
192 --enable-longlong use wxLongLong class"
194 --enable-geometry use geometry class"
196 --enable-log use logging system"
198 --enable-streams use wxStream etc classes"
200 --enable-file use wxFile classes"
202 --enable-ffile use wxFFile classes"
204 --enable-textbuf use wxTextBuffer class"
206 --enable-textfile use wxTextFile class"
208 --enable-fontmap use font encodings conversion classes"
210 --enable-unicode compile wxString with Unicode support"
212 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
214 --enable-wxprintfv use wxWindows implementation of vprintf()"
216 --enable-std_iostreams use standard C++ stream classes"
218 --enable-filesystem use virtual file systems classes"
220 --enable-fs_inet use virtual HTTP/FTP filesystems"
222 --enable-fs_zip use virtual ZIP filesystems"
224 --enable-zipstream use wxZipInputStream"
226 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
228 --enable-snglinst use wxSingleInstanceChecker class"
230 --enable-mimetype use wxMimeTypesManager"
232 --enable-sysoptions use wxSystemOptions"
234 --enable-url use wxURL class"
236 --enable-protocol use wxProtocol class"
238 --enable-protocol-http HTTP support in wxProtocol"
240 --enable-protocol-ftp FTP support in wxProtocol"
242 --enable-protocol-file FILE support in wxProtocol"
244 --enable-threads use threads"
246 --enable-docview use document view architecture"
248 --enable-help use help subsystem"
250 --enable-mshtmlhelp use MS HTML Help (win32)"
252 --enable-html use wxHTML sub-library"
254 --enable-htmlhelp use wxHTML-based help"
256 --enable-constraints use layout-constraints system"
258 --enable-printarch use printing architecture"
260 --enable-mdi use multiple document interface architecture"
262 --enable-loggui use standard GUI logger"
264 --enable-logwin use wxLogWindow"
266 --enable-logdialog use wxLogDialog"
268 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
270 --enable-prologio use Prolog IO library"
272 --enable-resources use wxWindows resources"
274 --enable-xresources use X resources for save (default for gtk+)"
276 --enable-clipboard use wxClipboard classes"
278 --enable-dnd use Drag'n'Drop classes"
280 --enable-metafile use win32 metafiles"
282 --enable-treelayout use wxTreeLayout classes"
284 --enable-controls use all usual controls"
286 --enable-accel use accelerators"
288 --enable-button use wxButton class"
290 --enable-bmpbutton use wxBitmapButton class"
292 --enable-calendar use wxCalendarCtrl class"
294 --enable-caret use wxCaret class"
296 --enable-checkbox use wxCheckBox class"
298 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
300 --enable-choice use wxChoice class"
302 --enable-combobox use wxComboBox classes"
304 --enable-gauge use wxGauge class"
306 --enable-grid use wxGrid class"
308 --enable-newgrid use new wxGrid class"
310 --enable-imaglist use wxImageList class"
312 --enable-listbox use wxListBox class"
314 --enable-listctrl use wxListCtrl class"
316 --enable-notebook use wxNotebook class"
318 --enable-propsheet use wxPropertySheet class"
320 --enable-radiobox use wxRadioBox class"
322 --enable-radiobtn use wxRadioButton class"
324 --enable-sash use wxSashWindow class"
326 --enable-scrollbar use wxScrollBar class and scrollable windows"
328 --enable-slider use wxSlider class"
330 --enable-spinbtn use wxSpinButton class"
332 --enable-spinctrl use wxSpinCtrl class"
334 --enable-splitter use wxSplitterWindow class"
336 --enable-statbmp use wxStaticBitmap class"
338 --enable-statbox use wxStaticBox class"
340 --enable-statline use wxStaticLine class"
342 --enable-stattext use wxStaticText class"
344 --enable-statusbar use wxStatusBar class"
346 --enable-tabdialog use wxTabControl class"
348 --enable-textctrl use wxTextCtrl class"
350 --enable-togglebtn use wxToggleButton class"
352 --enable-toolbar use wxToolBar class"
354 --enable-tbarnative use native wxToolBar class"
356 --enable-tbarsmpl use wxToolBarSimple class"
358 --enable-treectrl use wxTreeCtrl class"
360 --enable-tipwindow use wxTipWindow class"
362 --enable-popupwin use wxPopUpWindow class"
364 --enable-commondlg use all common dialogs"
366 --enable-choicedlg use wxChoiceDialog"
368 --enable-coldlg use wxColourDialog"
370 --enable-filedlg use wxFileDialog"
372 --enable-finddlg use wxFindReplaceDialog"
374 --enable-fontdlg use wxFontDialog"
376 --enable-dirdlg use wxDirDialog"
378 --enable-msgdlg use wxMessageDialog"
380 --enable-numberdlg use wxNumberEntryDialog"
382 --enable-splash use wxSplashScreen"
384 --enable-textdlg use wxTextDialog"
386 --enable-tipdlg use startup tips"
388 --enable-progressdlg use wxProgressDialog"
390 --enable-wizarddlg use wxWizard"
392 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
394 --enable-miniframe use wxMiniFrame class"
396 --enable-tooltips use wxToolTip class"
398 --enable-splines use spline drawing code"
400 --enable-validators use wxValidator and derived classes"
402 --enable-busyinfo use wxBusyInfo"
404 --enable-joystick use wxJoystick (Linux only)"
406 --enable-metafiles use wxMetaFile (Windows only)"
408 --enable-dragimage use wxDragImage"
410 --enable-palette use wxPalette class"
412 --enable-image use wxImage class"
414 --enable-gif use gif images (GIF file format)"
416 --enable-pcx use pcx images (PCX file format)"
418 --enable-iff use iff images (IFF file format)"
420 --enable-pnm use pnm images (PNM file format)"
422 --enable-xpm use xpm images (XPM file format)"
424 --enable-icocur use Windows ICO and CUR formats"
426 --disable-largefile omit support for large files"
428 --disable-gtktest do not try to compile and run a test GTK+ program"
430 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
432 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
434 --disable-gtktest Do not try to compile and run a test GTK program"
436 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
438 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
440 --disable-gtktest Do not try to compile and run a test GTK program"
442 --with-x use the X Window System"
444 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
446 # Initialize some variables set by options.
447 # The variables have the same names as the options, with
448 # dashes changed to underlines.
450 cache_file
=.
/config.cache
459 program_transform_name
=s
,x
,x
,
467 bindir
='${exec_prefix}/bin'
468 sbindir
='${exec_prefix}/sbin'
469 libexecdir
='${exec_prefix}/libexec'
470 datadir
='${prefix}/share'
471 sysconfdir
='${prefix}/etc'
472 sharedstatedir
='${prefix}/com'
473 localstatedir
='${prefix}/var'
474 libdir
='${exec_prefix}/lib'
475 includedir
='${prefix}/include'
476 oldincludedir
='/usr/include'
477 infodir
='${prefix}/info'
478 mandir
='${prefix}/man'
480 # Initialize some other variables.
483 SHELL
=${CONFIG_SHELL-/bin/sh}
484 # Maximum number of lines to put in a shell here document.
491 # If the previous option needs an argument, assign it.
492 if test -n "$ac_prev"; then
493 eval "$ac_prev=\$ac_option"
499 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
503 # Accept the important Cygnus configure options, so we can diagnose typos.
507 -bindir | --bindir | --bindi | --bind | --bin | --bi)
509 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
510 bindir
="$ac_optarg" ;;
512 -build | --build | --buil | --bui | --bu)
514 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
515 build
="$ac_optarg" ;;
517 -cache-file | --cache-file | --cache-fil | --cache-fi \
518 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
519 ac_prev
=cache_file
;;
520 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
521 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
522 cache_file
="$ac_optarg" ;;
524 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
526 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
528 datadir
="$ac_optarg" ;;
530 -disable-* | --disable-*)
531 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
532 # Reject names that are not valid shell variable names.
533 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
534 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
536 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
537 eval "enable_${ac_feature}=no" ;;
539 -enable-* | --enable-*)
540 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
541 # Reject names that are not valid shell variable names.
542 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
543 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
545 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
550 eval "enable_${ac_feature}='$ac_optarg'" ;;
552 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
553 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
554 | --exec | --exe | --ex)
555 ac_prev
=exec_prefix
;;
556 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
557 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
558 | --exec=* | --exe=* | --ex=*)
559 exec_prefix
="$ac_optarg" ;;
561 -gas | --gas | --ga | --g)
562 # Obsolete; use --with-gas.
565 -help | --help | --hel | --he)
566 # Omit some internal or obsolete options to make the list less imposing.
567 # This message is too long to be a string in the A/UX 3.1 sh.
569 Usage: configure [options] [host]
570 Options: [defaults in brackets after descriptions]
572 --cache-file=FILE cache test results in FILE
573 --help print this message
574 --no-create do not create output files
575 --quiet, --silent do not print \`checking...' messages
576 --version print the version of autoconf that created configure
577 Directory and file names:
578 --prefix=PREFIX install architecture-independent files in PREFIX
580 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
582 --bindir=DIR user executables in DIR [EPREFIX/bin]
583 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
584 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
585 --datadir=DIR read-only architecture-independent data in DIR
587 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
588 --sharedstatedir=DIR modifiable architecture-independent data in DIR
590 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
591 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
592 --includedir=DIR C header files in DIR [PREFIX/include]
593 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
594 --infodir=DIR info documentation in DIR [PREFIX/info]
595 --mandir=DIR man documentation in DIR [PREFIX/man]
596 --srcdir=DIR find the sources in DIR [configure dir or ..]
597 --program-prefix=PREFIX prepend PREFIX to installed program names
598 --program-suffix=SUFFIX append SUFFIX to installed program names
599 --program-transform-name=PROGRAM
600 run sed PROGRAM on installed program names
604 --build=BUILD configure for building on BUILD [BUILD=HOST]
605 --host=HOST configure for HOST [guessed]
606 --target=TARGET configure for TARGET [TARGET=HOST]
607 Features and packages:
608 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
609 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
610 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
611 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
612 --x-includes=DIR X include files are in DIR
613 --x-libraries=DIR X library files are in DIR
615 if test -n "$ac_help"; then
616 echo "--enable and --with options recognized:$ac_help"
620 -host | --host | --hos | --ho)
622 -host=* | --host=* | --hos=* | --ho=*)
625 -includedir | --includedir | --includedi | --included | --include \
626 | --includ | --inclu | --incl | --inc)
627 ac_prev
=includedir
;;
628 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
629 | --includ=* | --inclu=* | --incl=* | --inc=*)
630 includedir
="$ac_optarg" ;;
632 -infodir | --infodir | --infodi | --infod | --info | --inf)
634 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
635 infodir
="$ac_optarg" ;;
637 -libdir | --libdir | --libdi | --libd)
639 -libdir=* | --libdir=* | --libdi=* | --libd=*)
640 libdir
="$ac_optarg" ;;
642 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
643 | --libexe | --libex | --libe)
644 ac_prev
=libexecdir
;;
645 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
646 | --libexe=* | --libex=* | --libe=*)
647 libexecdir
="$ac_optarg" ;;
649 -localstatedir | --localstatedir | --localstatedi | --localstated \
650 | --localstate | --localstat | --localsta | --localst \
651 | --locals | --local | --loca | --loc | --lo)
652 ac_prev
=localstatedir
;;
653 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
654 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
655 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
656 localstatedir
="$ac_optarg" ;;
658 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
660 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
661 mandir
="$ac_optarg" ;;
664 # Obsolete; use --without-fp.
667 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
671 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
672 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
675 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
676 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
677 | --oldin | --oldi | --old | --ol | --o)
678 ac_prev
=oldincludedir
;;
679 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
680 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
681 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
682 oldincludedir
="$ac_optarg" ;;
684 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
686 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
687 prefix
="$ac_optarg" ;;
689 -program-prefix | --program-prefix | --program-prefi | --program-pref \
690 | --program-pre | --program-pr | --program-p)
691 ac_prev
=program_prefix
;;
692 -program-prefix=* | --program-prefix=* | --program-prefi=* \
693 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
694 program_prefix
="$ac_optarg" ;;
696 -program-suffix | --program-suffix | --program-suffi | --program-suff \
697 | --program-suf | --program-su | --program-s)
698 ac_prev
=program_suffix
;;
699 -program-suffix=* | --program-suffix=* | --program-suffi=* \
700 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
701 program_suffix
="$ac_optarg" ;;
703 -program-transform-name | --program-transform-name \
704 | --program-transform-nam | --program-transform-na \
705 | --program-transform-n | --program-transform- \
706 | --program-transform | --program-transfor \
707 | --program-transfo | --program-transf \
708 | --program-trans | --program-tran \
709 | --progr-tra | --program-tr | --program-t)
710 ac_prev
=program_transform_name
;;
711 -program-transform-name=* | --program-transform-name=* \
712 | --program-transform-nam=* | --program-transform-na=* \
713 | --program-transform-n=* | --program-transform-=* \
714 | --program-transform=* | --program-transfor=* \
715 | --program-transfo=* | --program-transf=* \
716 | --program-trans=* | --program-tran=* \
717 | --progr-tra=* | --program-tr=* | --program-t=*)
718 program_transform_name
="$ac_optarg" ;;
720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
721 | -silent | --silent | --silen | --sile | --sil)
724 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
726 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
728 sbindir
="$ac_optarg" ;;
730 -sharedstatedir | --sharedstatedir | --sharedstatedi \
731 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
732 | --sharedst | --shareds | --shared | --share | --shar \
734 ac_prev
=sharedstatedir
;;
735 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
736 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
737 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
739 sharedstatedir
="$ac_optarg" ;;
741 -site | --site | --sit)
743 -site=* | --site=* | --sit=*)
746 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
748 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
749 srcdir
="$ac_optarg" ;;
751 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
752 | --syscon | --sysco | --sysc | --sys | --sy)
753 ac_prev
=sysconfdir
;;
754 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
755 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
756 sysconfdir
="$ac_optarg" ;;
758 -target | --target | --targe | --targ | --tar | --ta | --t)
760 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
761 target
="$ac_optarg" ;;
763 -v | -verbose | --verbose | --verbos | --verbo | --verb)
766 -version | --version | --versio | --versi | --vers)
767 echo "configure generated by autoconf version 2.13"
771 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
772 # Reject names that are not valid shell variable names.
773 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
774 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
776 ac_package
=`echo $ac_package| sed 's/-/_/g'`
781 eval "with_${ac_package}='$ac_optarg'" ;;
783 -without-* | --without-*)
784 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
785 # Reject names that are not valid shell variable names.
786 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
787 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
789 ac_package
=`echo $ac_package| sed 's/-/_/g'`
790 eval "with_${ac_package}=no" ;;
793 # Obsolete; use --with-x.
796 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
797 | --x-incl | --x-inc | --x-in | --x-i)
798 ac_prev
=x_includes
;;
799 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
800 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
801 x_includes
="$ac_optarg" ;;
803 -x-libraries | --x-libraries | --x-librarie | --x-librari \
804 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
805 ac_prev
=x_libraries
;;
806 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
807 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
808 x_libraries
="$ac_optarg" ;;
810 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
814 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
815 echo "configure: warning: $ac_option: invalid host type" 1>&2
817 if test "x$nonopt" != xNONE
; then
818 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
826 if test -n "$ac_prev"; then
827 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
830 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
832 # File descriptor usage:
835 # 2 errors and warnings
836 # 3 some systems may open it to /dev/tty
837 # 4 used on the Kubota Titan
838 # 6 checking for... messages and results
839 # 5 compiler messages saved in config.log
840 if test "$silent" = yes; then
848 This file contains any messages produced by compilers while
849 running configure, to aid debugging if configure makes a mistake.
852 # Strip out --no-create and --no-recursion so they do not pile up.
853 # Also quote any args containing shell metacharacters.
858 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
859 | --no-cr | --no-c) ;;
860 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
861 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
862 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
863 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
864 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
869 # Only set these to C if already set. These must not be set unconditionally
870 # because not all systems understand e.g. LANG=C (notably SCO).
871 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
872 # Non-C LC_CTYPE values break the ctype check.
873 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
874 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
875 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
876 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
878 # confdefs.h avoids OS command line length limits that DEFS can exceed.
879 rm -rf conftest
* confdefs.h
880 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
883 # A filename unique to this package, relative to the directory that
884 # configure is in, which we can look for to find out if srcdir is correct.
885 ac_unique_file
=wx
-config.
in
887 # Find the source files, if location was not specified.
888 if test -z "$srcdir"; then
889 ac_srcdir_defaulted
=yes
890 # Try the directory containing this script, then its parent.
892 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
893 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
895 if test ! -r $srcdir/$ac_unique_file; then
899 ac_srcdir_defaulted
=no
901 if test ! -r $srcdir/$ac_unique_file; then
902 if test "$ac_srcdir_defaulted" = yes; then
903 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
905 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
908 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
910 # Prefer explicitly selected file to automatically selected ones.
911 if test -z "$CONFIG_SITE"; then
912 if test "x$prefix" != xNONE
; then
913 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
915 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
918 for ac_site_file
in $CONFIG_SITE; do
919 if test -r "$ac_site_file"; then
920 echo "loading site script $ac_site_file"
925 if test -r "$cache_file"; then
926 echo "loading cache $cache_file"
929 echo "creating cache $cache_file"
934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
935 ac_cpp
='$CPP $CPPFLAGS'
936 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
937 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
938 cross_compiling
=$ac_cv_prog_cc_cross
942 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
943 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
944 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
951 ac_n
= ac_c
='\c' ac_t
=
957 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
958 if test -f $ac_dir/install-sh; then
960 ac_install_sh
="$ac_aux_dir/install-sh -c"
962 elif test -f $ac_dir/install.sh
; then
964 ac_install_sh
="$ac_aux_dir/install.sh -c"
968 if test -z "$ac_aux_dir"; then
969 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
971 ac_config_guess
=$ac_aux_dir/config.guess
972 ac_config_sub
=$ac_aux_dir/config.sub
973 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
976 # Do some error checking and defaulting for the host and target type.
978 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
981 # 1. You are not allowed to specify --host, --target, and nonopt at the
983 # 2. Host defaults to nonopt.
984 # 3. If nonopt is not specified, then host defaults to the current host,
985 # as determined by config.guess.
986 # 4. Target and build default to nonopt.
987 # 5. If nonopt is not specified, then target and build default to host.
989 # The aliases save the names the user supplied, while $host etc.
990 # will get canonicalized.
991 case $host---$target---$nonopt in
992 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
993 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
997 # Make sure we can run config.sub.
998 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
999 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1002 echo $ac_n "checking host system type""... $ac_c" 1>&6
1003 echo "configure:1004: checking host system type" >&5
1006 case "$host_alias" in
1010 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1011 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1013 *) host_alias
=$nonopt ;;
1017 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1018 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1019 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1020 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1021 echo "$ac_t""$host" 1>&6
1023 echo $ac_n "checking target system type""... $ac_c" 1>&6
1024 echo "configure:1025: checking target system type" >&5
1026 target_alias
=$target
1027 case "$target_alias" in
1030 NONE
) target_alias
=$host_alias ;;
1031 *) target_alias
=$nonopt ;;
1035 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1036 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1037 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1038 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1039 echo "$ac_t""$target" 1>&6
1041 echo $ac_n "checking build system type""... $ac_c" 1>&6
1042 echo "configure:1043: checking build system type" >&5
1045 case "$build_alias" in
1048 NONE
) build_alias
=$host_alias ;;
1049 *) build_alias
=$nonopt ;;
1053 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1054 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1055 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1056 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1057 echo "$ac_t""$build" 1>&6
1059 test "$host_alias" != "$target_alias" &&
1060 test "$program_prefix$program_suffix$program_transform_name" = \
1062 program_prefix
=${target_alias}-
1066 WX_MAJOR_VERSION_NUMBER
=2
1067 WX_MINOR_VERSION_NUMBER
=3
1070 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1071 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1073 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1107 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1109 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1114 DEFAULT_wxUSE_MICROWIN
=0
1115 DEFAULT_wxUSE_MOTIF
=0
1118 DEFAULT_wxUSE_WINE
=0
1121 DEFAULT_DEFAULT_wxUSE_GTK
=0
1122 DEFAULT_DEFAULT_wxUSE_MAC
=0
1123 DEFAULT_DEFAULT_wxUSE_MGL
=0
1124 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1125 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1126 DEFAULT_DEFAULT_wxUSE_MSW
=0
1127 DEFAULT_DEFAULT_wxUSE_PM
=0
1128 DEFAULT_DEFAULT_wxUSE_WINE
=0
1129 DEFAULT_DEFAULT_wxUSE_X11
=0
1137 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1138 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1140 cat >> confdefs.h
<<\EOF
1147 cat >> confdefs.h
<<\EOF
1152 if test "x$TMP" = "xalpha"; then
1154 cat >> confdefs.h
<<\EOF
1159 DEFAULT_DEFAULT_wxUSE_GTK
=1
1161 *-*-irix5* | *-*-irix6* )
1164 cat >> confdefs.h
<<\EOF
1168 cat >> confdefs.h
<<\EOF
1172 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1178 cat >> confdefs.h
<<\EOF
1182 cat >> confdefs.h
<<\EOF
1183 #define __SOLARIS__ 1
1186 cat >> confdefs.h
<<\EOF
1190 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1191 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1197 cat >> confdefs.h
<<\EOF
1201 cat >> confdefs.h
<<\EOF
1205 cat >> confdefs.h
<<\EOF
1209 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1214 cat >> confdefs.h
<<\EOF
1215 #define __FREEBSD__ 1
1218 cat >> confdefs.h
<<\EOF
1222 DEFAULT_DEFAULT_wxUSE_GTK
=1
1227 cat >> confdefs.h
<<\EOF
1228 #define __FREEBSD__ 1
1231 cat >> confdefs.h
<<\EOF
1232 #define __OPENBSD__ 1
1235 DEFAULT_DEFAULT_wxUSE_GTK
=1
1240 cat >> confdefs.h
<<\EOF
1241 #define __FREEBSD__ 1
1244 cat >> confdefs.h
<<\EOF
1245 #define __NETBSD__ 1
1248 DEFAULT_DEFAULT_wxUSE_GTK
=1
1253 cat >> confdefs.h
<<\EOF
1257 cat >> confdefs.h
<<\EOF
1261 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1262 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1267 cat >> confdefs.h
<<\EOF
1271 cat >> confdefs.h
<<\EOF
1275 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1280 cat >> confdefs.h
<<\EOF
1284 cat >> confdefs.h
<<\EOF
1288 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1294 cat >> confdefs.h
<<\EOF
1298 cat >> confdefs.h
<<\EOF
1302 cat >> confdefs.h
<<\EOF
1306 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1309 *-*-cygwin* | *-*-mingw32* )
1313 cat >> confdefs.h
<<\EOF
1317 cat >> confdefs.h
<<\EOF
1321 cat >> confdefs.h
<<\EOF
1322 #define __WINDOWS__ 1
1325 cat >> confdefs.h
<<\EOF
1326 #define __GNUWIN32__ 1
1329 cat >> confdefs.h
<<\EOF
1333 cat >> confdefs.h
<<\EOF
1334 #define WINVER 0x0400
1339 DEFAULT_DEFAULT_wxUSE_MSW
=1
1345 cat >> confdefs.h
<<\EOF
1350 DEFAULT_DEFAULT_wxUSE_MGL
=1
1353 *-pc-os2_emx | *-pc-os2-emx )
1354 cat >> confdefs.h
<<\EOF
1359 DEFAULT_DEFAULT_wxUSE_PM
=1
1360 LIBS
="$LIBS -lstdcpp"
1367 cat >> confdefs.h
<<\EOF
1371 cat >> confdefs.h
<<\EOF
1372 #define __DARWIN__ 1
1375 cat >> confdefs.h
<<\EOF
1376 #define __POWERPC__ 1
1379 DEFAULT_DEFAULT_wxUSE_MAC
=1
1384 cat >> confdefs.h
<<\EOF
1391 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1394 if test "$USE_UNIX" = 1 ; then
1396 cat >> confdefs.h
<<\EOF
1405 wx_arg_cache_file
="configarg.cache"
1406 echo "loading argument cache $wx_arg_cache_file"
1407 rm -f ${wx_arg_cache_file}.tmp
1408 touch ${wx_arg_cache_file}.tmp
1409 touch ${wx_arg_cache_file}
1413 if test $DEBUG_CONFIGURE = 1; then
1414 DEFAULT_wxUSE_UNIVERSAL
=no
1416 DEFAULT_wxUSE_NANOX
=no
1418 DEFAULT_wxUSE_THREADS
=yes
1420 DEFAULT_wxUSE_SHARED
=yes
1421 DEFAULT_wxUSE_SONAME
=no
1422 DEFAULT_wxUSE_OPTIMISE
=no
1423 DEFAULT_wxUSE_PROFILE
=no
1424 DEFAULT_wxUSE_NO_DEPS
=no
1425 DEFAULT_wxUSE_NO_RTTI
=no
1426 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1427 DEFAULT_wxUSE_PERMISSIVE
=no
1428 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1429 DEFAULT_wxUSE_DEBUG_INFO
=yes
1430 DEFAULT_wxUSE_DEBUG_GDB
=yes
1431 DEFAULT_wxUSE_MEM_TRACING
=no
1432 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1433 DEFAULT_wxUSE_DMALLOC
=no
1434 DEFAULT_wxUSE_PRECOMP
=no
1435 DEFAULT_wxUSE_APPLE_IEEE
=no
1437 DEFAULT_wxUSE_LOG
=yes
1438 DEFAULT_wxUSE_LOGWINDOW
=no
1439 DEFAULT_wxUSE_LOGGUI
=no
1440 DEFAULT_wxUSE_LOGDIALOG
=no
1442 DEFAULT_wxUSE_GUI
=yes
1443 DEFAULT_wxUSE_CONTROLS
=no
1445 DEFAULT_wxUSE_REGEX
=no
1446 DEFAULT_wxUSE_ZLIB
=no
1447 DEFAULT_wxUSE_LIBPNG
=no
1448 DEFAULT_wxUSE_LIBJPEG
=no
1449 DEFAULT_wxUSE_LIBTIFF
=no
1450 DEFAULT_wxUSE_ODBC
=no
1451 DEFAULT_wxUSE_OPENGL
=no
1453 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1454 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1455 DEFAULT_wxUSE_STD_IOSTREAM
=no
1456 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1457 DEFAULT_wxUSE_DATETIME
=no
1458 DEFAULT_wxUSE_TIMEDATE
=no
1459 DEFAULT_wxUSE_TIMER
=no
1460 DEFAULT_wxUSE_STOPWATCH
=no
1461 DEFAULT_wxUSE_FILE
=no
1462 DEFAULT_wxUSE_FFILE
=no
1463 DEFAULT_wxUSE_TEXTBUFFER
=no
1464 DEFAULT_wxUSE_TEXTFILE
=no
1465 DEFAULT_wxUSE_WAVE
=no
1466 DEFAULT_wxUSE_INTL
=no
1467 DEFAULT_wxUSE_CONFIG
=no
1468 DEFAULT_wxUSE_FONTMAP
=no
1469 DEFAULT_wxUSE_STREAMS
=no
1470 DEFAULT_wxUSE_SOCKETS
=no
1471 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1472 DEFAULT_wxUSE_JOYSTICK
=no
1473 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1474 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1475 DEFAULT_wxUSE_LONGLONG
=no
1476 DEFAULT_wxUSE_GEOMETRY
=no
1478 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1479 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1480 DEFAULT_wxUSE_POSTSCRIPT
=no
1482 DEFAULT_wxUSE_X_RESOURCES
=no
1483 DEFAULT_wxUSE_CLIPBOARD
=no
1484 DEFAULT_wxUSE_TOOLTIPS
=no
1485 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1486 DEFAULT_wxUSE_DRAGIMAGE
=no
1487 DEFAULT_wxUSE_SPLINES
=no
1489 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1490 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1491 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1493 DEFAULT_wxUSE_PROLOGIO
=no
1494 DEFAULT_wxUSE_RESOURCES
=no
1495 DEFAULT_wxUSE_CONSTRAINTS
=no
1496 DEFAULT_wxUSE_IPC
=no
1497 DEFAULT_wxUSE_HELP
=no
1498 DEFAULT_wxUSE_MS_HTML_HELP
=no
1499 DEFAULT_wxUSE_WXHTML_HELP
=no
1500 DEFAULT_wxUSE_TREELAYOUT
=no
1501 DEFAULT_wxUSE_METAFILE
=no
1502 DEFAULT_wxUSE_MIMETYPE
=no
1503 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1504 DEFAULT_wxUSE_PROTOCOL
=no
1505 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1506 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1507 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1508 DEFAULT_wxUSE_URL
=no
1510 DEFAULT_wxUSE_COMMONDLGS
=no
1511 DEFAULT_wxUSE_CHOICEDLG
=no
1512 DEFAULT_wxUSE_COLOURDLG
=no
1513 DEFAULT_wxUSE_DIRDLG
=no
1514 DEFAULT_wxUSE_FILEDLG
=no
1515 DEFAULT_wxUSE_FINDREPLDLG
=no
1516 DEFAULT_wxUSE_FONTDLG
=no
1517 DEFAULT_wxUSE_MSGDLG
=no
1518 DEFAULT_wxUSE_NUMBERDLG
=no
1519 DEFAULT_wxUSE_TEXTDLG
=no
1520 DEFAULT_wxUSE_SPLASH
=no
1521 DEFAULT_wxUSE_STARTUP_TIPS
=no
1522 DEFAULT_wxUSE_PROGRESSDLG
=no
1523 DEFAULT_wxUSE_WIZARDDLG
=no
1525 DEFAULT_wxUSE_MENUS
=no
1526 DEFAULT_wxUSE_MINIFRAME
=no
1527 DEFAULT_wxUSE_HTML
=no
1528 DEFAULT_wxUSE_FILESYSTEM
=no
1529 DEFAULT_wxUSE_FS_INET
=no
1530 DEFAULT_wxUSE_FS_ZIP
=no
1531 DEFAULT_wxUSE_BUSYINFO
=no
1532 DEFAULT_wxUSE_ZIPSTREAM
=no
1533 DEFAULT_wxUSE_VALIDATORS
=no
1535 DEFAULT_wxUSE_ACCEL
=no
1536 DEFAULT_wxUSE_BUTTON
=no
1537 DEFAULT_wxUSE_BMPBUTTON
=no
1538 DEFAULT_wxUSE_CALCTRL
=no
1539 DEFAULT_wxUSE_CARET
=no
1540 DEFAULT_wxUSE_CHECKBOX
=no
1541 DEFAULT_wxUSE_CHECKLST
=no
1542 DEFAULT_wxUSE_CHOICE
=no
1543 DEFAULT_wxUSE_COMBOBOX
=no
1544 DEFAULT_wxUSE_GAUGE
=no
1545 DEFAULT_wxUSE_GRID
=no
1546 DEFAULT_wxUSE_NEW_GRID
=no
1547 DEFAULT_wxUSE_IMAGLIST
=no
1548 DEFAULT_wxUSE_LISTBOX
=no
1549 DEFAULT_wxUSE_LISTCTRL
=no
1550 DEFAULT_wxUSE_NOTEBOOK
=no
1551 DEFAULT_wxUSE_PROPSHEET
=no
1552 DEFAULT_wxUSE_RADIOBOX
=no
1553 DEFAULT_wxUSE_RADIOBTN
=no
1554 DEFAULT_wxUSE_SASH
=no
1555 DEFAULT_wxUSE_SCROLLBAR
=no
1556 DEFAULT_wxUSE_SLIDER
=no
1557 DEFAULT_wxUSE_SPINBTN
=no
1558 DEFAULT_wxUSE_SPINCTRL
=no
1559 DEFAULT_wxUSE_SPLITTER
=no
1560 DEFAULT_wxUSE_STATBMP
=no
1561 DEFAULT_wxUSE_STATBOX
=no
1562 DEFAULT_wxUSE_STATLINE
=no
1563 DEFAULT_wxUSE_STATTEXT
=no
1564 DEFAULT_wxUSE_STATUSBAR
=yes
1565 DEFAULT_wxUSE_TABDIALOG
=no
1566 DEFAULT_wxUSE_TEXTCTRL
=no
1567 DEFAULT_wxUSE_TOGGLEBTN
=no
1568 DEFAULT_wxUSE_TOOLBAR
=no
1569 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1570 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1571 DEFAULT_wxUSE_TREECTRL
=no
1572 DEFAULT_wxUSE_POPUPWIN
=no
1573 DEFAULT_wxUSE_TIPWINDOW
=no
1575 DEFAULT_wxUSE_UNICODE
=no
1576 DEFAULT_wxUSE_UNICODE_MSLU
=no
1577 DEFAULT_wxUSE_WCSRTOMBS
=no
1579 DEFAULT_wxUSE_PALETTE
=no
1580 DEFAULT_wxUSE_IMAGE
=no
1581 DEFAULT_wxUSE_GIF
=no
1582 DEFAULT_wxUSE_PCX
=no
1583 DEFAULT_wxUSE_PNM
=no
1584 DEFAULT_wxUSE_IFF
=no
1585 DEFAULT_wxUSE_XPM
=no
1586 DEFAULT_wxUSE_ICO_CUR
=no
1588 DEFAULT_wxUSE_UNIVERSAL
=no
1590 DEFAULT_wxUSE_NANOX
=no
1592 DEFAULT_wxUSE_THREADS
=yes
1594 DEFAULT_wxUSE_SHARED
=yes
1595 DEFAULT_wxUSE_SONAME
=no
1596 DEFAULT_wxUSE_OPTIMISE
=yes
1597 DEFAULT_wxUSE_PROFILE
=no
1598 DEFAULT_wxUSE_NO_DEPS
=no
1599 DEFAULT_wxUSE_NO_RTTI
=no
1600 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1601 DEFAULT_wxUSE_PERMISSIVE
=no
1602 DEFAULT_wxUSE_DEBUG_FLAG
=no
1603 DEFAULT_wxUSE_DEBUG_INFO
=no
1604 DEFAULT_wxUSE_DEBUG_GDB
=no
1605 DEFAULT_wxUSE_MEM_TRACING
=no
1606 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1607 DEFAULT_wxUSE_DMALLOC
=no
1608 DEFAULT_wxUSE_PRECOMP
=no
1609 DEFAULT_wxUSE_APPLE_IEEE
=yes
1611 DEFAULT_wxUSE_LOG
=yes
1612 DEFAULT_wxUSE_LOGWINDOW
=yes
1613 DEFAULT_wxUSE_LOGGUI
=yes
1614 DEFAULT_wxUSE_LOGDIALOG
=yes
1616 DEFAULT_wxUSE_GUI
=yes
1618 DEFAULT_wxUSE_REGEX
=yes
1619 DEFAULT_wxUSE_ZLIB
=yes
1620 DEFAULT_wxUSE_LIBPNG
=yes
1621 DEFAULT_wxUSE_LIBJPEG
=yes
1622 DEFAULT_wxUSE_LIBTIFF
=yes
1623 DEFAULT_wxUSE_ODBC
=no
1624 DEFAULT_wxUSE_OPENGL
=no
1626 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1627 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1628 DEFAULT_wxUSE_STD_IOSTREAM
=no
1629 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1630 DEFAULT_wxUSE_DATETIME
=yes
1631 DEFAULT_wxUSE_TIMEDATE
=no
1632 DEFAULT_wxUSE_TIMER
=yes
1633 DEFAULT_wxUSE_STOPWATCH
=yes
1634 DEFAULT_wxUSE_FILE
=yes
1635 DEFAULT_wxUSE_FFILE
=yes
1636 DEFAULT_wxUSE_TEXTBUFFER
=yes
1637 DEFAULT_wxUSE_TEXTFILE
=yes
1638 DEFAULT_wxUSE_WAVE
=no
1639 DEFAULT_wxUSE_INTL
=yes
1640 DEFAULT_wxUSE_CONFIG
=yes
1641 DEFAULT_wxUSE_FONTMAP
=yes
1642 DEFAULT_wxUSE_STREAMS
=yes
1643 DEFAULT_wxUSE_SOCKETS
=yes
1644 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1645 DEFAULT_wxUSE_JOYSTICK
=yes
1646 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1647 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1648 DEFAULT_wxUSE_LONGLONG
=yes
1649 DEFAULT_wxUSE_GEOMETRY
=yes
1651 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1652 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1653 DEFAULT_wxUSE_POSTSCRIPT
=yes
1655 DEFAULT_wxUSE_X_RESOURCES
=no
1656 DEFAULT_wxUSE_CLIPBOARD
=yes
1657 DEFAULT_wxUSE_TOOLTIPS
=yes
1658 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1659 DEFAULT_wxUSE_DRAGIMAGE
=yes
1660 DEFAULT_wxUSE_SPLINES
=yes
1662 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1663 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1664 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1666 DEFAULT_wxUSE_PROLOGIO
=yes
1667 DEFAULT_wxUSE_RESOURCES
=yes
1668 DEFAULT_wxUSE_CONSTRAINTS
=yes
1669 DEFAULT_wxUSE_IPC
=yes
1670 DEFAULT_wxUSE_HELP
=yes
1671 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1672 DEFAULT_wxUSE_WXHTML_HELP
=yes
1673 DEFAULT_wxUSE_TREELAYOUT
=yes
1674 DEFAULT_wxUSE_METAFILE
=yes
1675 DEFAULT_wxUSE_MIMETYPE
=yes
1676 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1677 DEFAULT_wxUSE_PROTOCOL
=yes
1678 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1679 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1680 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1681 DEFAULT_wxUSE_URL
=yes
1683 DEFAULT_wxUSE_COMMONDLGS
=yes
1684 DEFAULT_wxUSE_CHOICEDLG
=yes
1685 DEFAULT_wxUSE_COLOURDLG
=yes
1686 DEFAULT_wxUSE_DIRDLG
=yes
1687 DEFAULT_wxUSE_FILEDLG
=yes
1688 DEFAULT_wxUSE_FINDREPLDLG
=yes
1689 DEFAULT_wxUSE_FONTDLG
=yes
1690 DEFAULT_wxUSE_MSGDLG
=yes
1691 DEFAULT_wxUSE_NUMBERDLG
=yes
1692 DEFAULT_wxUSE_TEXTDLG
=yes
1693 DEFAULT_wxUSE_SPLASH
=yes
1694 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1695 DEFAULT_wxUSE_PROGRESSDLG
=yes
1696 DEFAULT_wxUSE_WIZARDDLG
=yes
1698 DEFAULT_wxUSE_MENUS
=yes
1699 DEFAULT_wxUSE_MINIFRAME
=yes
1700 DEFAULT_wxUSE_HTML
=yes
1701 DEFAULT_wxUSE_FILESYSTEM
=yes
1702 DEFAULT_wxUSE_FS_INET
=yes
1703 DEFAULT_wxUSE_FS_ZIP
=yes
1704 DEFAULT_wxUSE_BUSYINFO
=yes
1705 DEFAULT_wxUSE_ZIPSTREAM
=yes
1706 DEFAULT_wxUSE_VALIDATORS
=yes
1708 DEFAULT_wxUSE_ACCEL
=yes
1709 DEFAULT_wxUSE_BUTTON
=yes
1710 DEFAULT_wxUSE_BMPBUTTON
=yes
1711 DEFAULT_wxUSE_CALCTRL
=yes
1712 DEFAULT_wxUSE_CARET
=yes
1713 DEFAULT_wxUSE_CHECKBOX
=yes
1714 DEFAULT_wxUSE_CHECKLST
=yes
1715 DEFAULT_wxUSE_CHOICE
=yes
1716 DEFAULT_wxUSE_COMBOBOX
=yes
1717 DEFAULT_wxUSE_GAUGE
=yes
1718 DEFAULT_wxUSE_GRID
=yes
1719 DEFAULT_wxUSE_NEW_GRID
=yes
1720 DEFAULT_wxUSE_IMAGLIST
=yes
1721 DEFAULT_wxUSE_LISTBOX
=yes
1722 DEFAULT_wxUSE_LISTCTRL
=yes
1723 DEFAULT_wxUSE_NOTEBOOK
=yes
1724 DEFAULT_wxUSE_PROPSHEET
=yes
1725 DEFAULT_wxUSE_RADIOBOX
=yes
1726 DEFAULT_wxUSE_RADIOBTN
=yes
1727 DEFAULT_wxUSE_SASH
=yes
1728 DEFAULT_wxUSE_SCROLLBAR
=yes
1729 DEFAULT_wxUSE_SLIDER
=yes
1730 DEFAULT_wxUSE_SPINBTN
=yes
1731 DEFAULT_wxUSE_SPINCTRL
=yes
1732 DEFAULT_wxUSE_SPLITTER
=yes
1733 DEFAULT_wxUSE_STATBMP
=yes
1734 DEFAULT_wxUSE_STATBOX
=yes
1735 DEFAULT_wxUSE_STATLINE
=yes
1736 DEFAULT_wxUSE_STATTEXT
=yes
1737 DEFAULT_wxUSE_STATUSBAR
=yes
1738 DEFAULT_wxUSE_TABDIALOG
=no
1739 DEFAULT_wxUSE_TEXTCTRL
=yes
1740 DEFAULT_wxUSE_TOGGLEBTN
=yes
1741 DEFAULT_wxUSE_TOOLBAR
=yes
1742 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1743 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1744 DEFAULT_wxUSE_TREECTRL
=yes
1745 DEFAULT_wxUSE_POPUPWIN
=yes
1746 DEFAULT_wxUSE_TIPWINDOW
=yes
1748 DEFAULT_wxUSE_UNICODE
=no
1749 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1750 DEFAULT_wxUSE_WCSRTOMBS
=no
1752 DEFAULT_wxUSE_PALETTE
=yes
1753 DEFAULT_wxUSE_IMAGE
=yes
1754 DEFAULT_wxUSE_GIF
=yes
1755 DEFAULT_wxUSE_PCX
=yes
1756 DEFAULT_wxUSE_IFF
=no
1757 DEFAULT_wxUSE_PNM
=yes
1758 DEFAULT_wxUSE_XPM
=yes
1759 DEFAULT_wxUSE_ICO_CUR
=yes
1764 for toolkit
in `echo $ALL_TOOLKITS`; do
1765 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1766 if test "x$LINE" != x
; then
1767 has_toolkit_in_cache
=1
1768 eval "DEFAULT_$LINE"
1769 eval "CACHE_$toolkit=1"
1775 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1776 echo "configure:1777: checking for --enable-gui" >&5
1778 # Check whether --enable-gui or --disable-gui was given.
1779 if test "${enable_gui+set}" = set; then
1780 enableval
="$enable_gui"
1782 if test "$enableval" = yes; then
1783 ac_cv_use_gui
='wxUSE_GUI=yes'
1785 ac_cv_use_gui
='wxUSE_GUI=no'
1790 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1791 if test "x$LINE" != x
; then
1792 eval "DEFAULT_$LINE"
1797 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1802 eval "$ac_cv_use_gui"
1803 if test "$no_cache" != 1; then
1804 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1807 if test "$wxUSE_GUI" = yes; then
1808 echo "$ac_t""yes" 1>&6
1810 echo "$ac_t""no" 1>&6
1814 if test "$wxUSE_GUI" = "yes"; then
1817 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1818 echo "configure:1819: checking for --enable-universal" >&5
1820 # Check whether --enable-universal or --disable-universal was given.
1821 if test "${enable_universal+set}" = set; then
1822 enableval
="$enable_universal"
1824 if test "$enableval" = yes; then
1825 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1827 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1832 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1833 if test "x$LINE" != x
; then
1834 eval "DEFAULT_$LINE"
1839 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1844 eval "$ac_cv_use_universal"
1845 if test "$no_cache" != 1; then
1846 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1849 if test "$wxUSE_UNIVERSAL" = yes; then
1850 echo "$ac_t""yes" 1>&6
1852 echo "$ac_t""no" 1>&6
1855 # Check whether --with-gtk or --without-gtk was given.
1856 if test "${with_gtk+set}" = set; then
1858 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1861 # Check whether --with-motif or --without-motif was given.
1862 if test "${with_motif+set}" = set; then
1863 withval
="$with_motif"
1864 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1867 # Check whether --with-mac or --without-mac was given.
1868 if test "${with_mac+set}" = set; then
1870 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1873 # Check whether --with-wine or --without-wine was given.
1874 if test "${with_wine+set}" = set; then
1875 withval
="$with_wine"
1876 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1879 # Check whether --with-msw or --without-msw was given.
1880 if test "${with_msw+set}" = set; then
1882 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1885 # Check whether --with-pm or --without-pm was given.
1886 if test "${with_pm+set}" = set; then
1888 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1891 # Check whether --with-mgl or --without-mgl was given.
1892 if test "${with_mgl+set}" = set; then
1894 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1897 # Check whether --with-microwin or --without-microwin was given.
1898 if test "${with_microwin+set}" = set; then
1899 withval
="$with_microwin"
1900 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1903 # Check whether --with-x11 or --without-x11 was given.
1904 if test "${with_x11+set}" = set; then
1906 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1910 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1911 echo "configure:1912: checking for --enable-nanox" >&5
1913 # Check whether --enable-nanox or --disable-nanox was given.
1914 if test "${enable_nanox+set}" = set; then
1915 enableval
="$enable_nanox"
1917 if test "$enableval" = yes; then
1918 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1920 ac_cv_use_nanox
='wxUSE_NANOX=no'
1925 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1926 if test "x$LINE" != x
; then
1927 eval "DEFAULT_$LINE"
1932 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1937 eval "$ac_cv_use_nanox"
1938 if test "$no_cache" != 1; then
1939 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1942 if test "$wxUSE_NANOX" = yes; then
1943 echo "$ac_t""yes" 1>&6
1945 echo "$ac_t""no" 1>&6
1949 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1950 if test "${enable_gtk2+set}" = set; then
1951 enableval
="$enable_gtk2"
1959 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1960 echo "configure:1961: checking for --with-libpng" >&5
1962 # Check whether --with-libpng or --without-libpng was given.
1963 if test "${with_libpng+set}" = set; then
1964 withval
="$with_libpng"
1966 if test "$withval" = yes; then
1967 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1968 elif test "$withval" = no
; then
1969 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1970 elif test "$withval" = sys
; then
1971 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1972 elif test "$withval" = builtin; then
1973 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1975 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1980 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1981 if test "x$LINE" != x
; then
1982 eval "DEFAULT_$LINE"
1987 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1992 eval "$ac_cv_use_libpng"
1993 if test "$no_cache" != 1; then
1994 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1997 if test "$wxUSE_LIBPNG" = yes; then
1998 echo "$ac_t""yes" 1>&6
1999 elif test "$wxUSE_LIBPNG" = no
; then
2000 echo "$ac_t""no" 1>&6
2001 elif test "$wxUSE_LIBPNG" = sys
; then
2002 echo "$ac_t""system version" 1>&6
2003 elif test "$wxUSE_LIBPNG" = builtin; then
2004 echo "$ac_t""builtin version" 1>&6
2006 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2010 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2011 echo "configure:2012: checking for --with-libjpeg" >&5
2013 # Check whether --with-libjpeg or --without-libjpeg was given.
2014 if test "${with_libjpeg+set}" = set; then
2015 withval
="$with_libjpeg"
2017 if test "$withval" = yes; then
2018 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2019 elif test "$withval" = no
; then
2020 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2021 elif test "$withval" = sys
; then
2022 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2023 elif test "$withval" = builtin; then
2024 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2026 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2031 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2032 if test "x$LINE" != x
; then
2033 eval "DEFAULT_$LINE"
2038 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2043 eval "$ac_cv_use_libjpeg"
2044 if test "$no_cache" != 1; then
2045 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2048 if test "$wxUSE_LIBJPEG" = yes; then
2049 echo "$ac_t""yes" 1>&6
2050 elif test "$wxUSE_LIBJPEG" = no
; then
2051 echo "$ac_t""no" 1>&6
2052 elif test "$wxUSE_LIBJPEG" = sys
; then
2053 echo "$ac_t""system version" 1>&6
2054 elif test "$wxUSE_LIBJPEG" = builtin; then
2055 echo "$ac_t""builtin version" 1>&6
2057 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2061 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2062 echo "configure:2063: checking for --with-libtiff" >&5
2064 # Check whether --with-libtiff or --without-libtiff was given.
2065 if test "${with_libtiff+set}" = set; then
2066 withval
="$with_libtiff"
2068 if test "$withval" = yes; then
2069 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2070 elif test "$withval" = no
; then
2071 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2072 elif test "$withval" = sys
; then
2073 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2074 elif test "$withval" = builtin; then
2075 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2077 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2082 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2083 if test "x$LINE" != x
; then
2084 eval "DEFAULT_$LINE"
2089 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2094 eval "$ac_cv_use_libtiff"
2095 if test "$no_cache" != 1; then
2096 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2099 if test "$wxUSE_LIBTIFF" = yes; then
2100 echo "$ac_t""yes" 1>&6
2101 elif test "$wxUSE_LIBTIFF" = no
; then
2102 echo "$ac_t""no" 1>&6
2103 elif test "$wxUSE_LIBTIFF" = sys
; then
2104 echo "$ac_t""system version" 1>&6
2105 elif test "$wxUSE_LIBTIFF" = builtin; then
2106 echo "$ac_t""builtin version" 1>&6
2108 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2112 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2113 echo "configure:2114: checking for --with-opengl" >&5
2115 # Check whether --with-opengl or --without-opengl was given.
2116 if test "${with_opengl+set}" = set; then
2117 withval
="$with_opengl"
2119 if test "$withval" = yes; then
2120 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2122 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2127 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2128 if test "x$LINE" != x
; then
2129 eval "DEFAULT_$LINE"
2134 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2139 eval "$ac_cv_use_opengl"
2140 if test "$no_cache" != 1; then
2141 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2144 if test "$wxUSE_OPENGL" = yes; then
2145 echo "$ac_t""yes" 1>&6
2147 echo "$ac_t""no" 1>&6
2154 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2155 echo "configure:2156: checking for --with-dmalloc" >&5
2157 # Check whether --with-dmalloc or --without-dmalloc was given.
2158 if test "${with_dmalloc+set}" = set; then
2159 withval
="$with_dmalloc"
2161 if test "$withval" = yes; then
2162 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2164 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2169 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2170 if test "x$LINE" != x
; then
2171 eval "DEFAULT_$LINE"
2176 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2181 eval "$ac_cv_use_dmalloc"
2182 if test "$no_cache" != 1; then
2183 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2186 if test "$wxUSE_DMALLOC" = yes; then
2187 echo "$ac_t""yes" 1>&6
2189 echo "$ac_t""no" 1>&6
2193 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2194 echo "configure:2195: checking for --with-regex" >&5
2196 # Check whether --with-regex or --without-regex was given.
2197 if test "${with_regex+set}" = set; then
2198 withval
="$with_regex"
2200 if test "$withval" = yes; then
2201 ac_cv_use_regex
='wxUSE_REGEX=yes'
2202 elif test "$withval" = no
; then
2203 ac_cv_use_regex
='wxUSE_REGEX=no'
2204 elif test "$withval" = sys
; then
2205 ac_cv_use_regex
='wxUSE_REGEX=sys'
2206 elif test "$withval" = builtin; then
2207 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2209 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2214 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2215 if test "x$LINE" != x
; then
2216 eval "DEFAULT_$LINE"
2221 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2226 eval "$ac_cv_use_regex"
2227 if test "$no_cache" != 1; then
2228 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2231 if test "$wxUSE_REGEX" = yes; then
2232 echo "$ac_t""yes" 1>&6
2233 elif test "$wxUSE_REGEX" = no
; then
2234 echo "$ac_t""no" 1>&6
2235 elif test "$wxUSE_REGEX" = sys
; then
2236 echo "$ac_t""system version" 1>&6
2237 elif test "$wxUSE_REGEX" = builtin; then
2238 echo "$ac_t""builtin version" 1>&6
2240 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2244 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2245 echo "configure:2246: checking for --with-zlib" >&5
2247 # Check whether --with-zlib or --without-zlib was given.
2248 if test "${with_zlib+set}" = set; then
2249 withval
="$with_zlib"
2251 if test "$withval" = yes; then
2252 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2253 elif test "$withval" = no
; then
2254 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2255 elif test "$withval" = sys
; then
2256 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2257 elif test "$withval" = builtin; then
2258 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2260 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2265 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2266 if test "x$LINE" != x
; then
2267 eval "DEFAULT_$LINE"
2272 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2277 eval "$ac_cv_use_zlib"
2278 if test "$no_cache" != 1; then
2279 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2282 if test "$wxUSE_ZLIB" = yes; then
2283 echo "$ac_t""yes" 1>&6
2284 elif test "$wxUSE_ZLIB" = no
; then
2285 echo "$ac_t""no" 1>&6
2286 elif test "$wxUSE_ZLIB" = sys
; then
2287 echo "$ac_t""system version" 1>&6
2288 elif test "$wxUSE_ZLIB" = builtin; then
2289 echo "$ac_t""builtin version" 1>&6
2291 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2295 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2296 echo "configure:2297: checking for --with-odbc" >&5
2298 # Check whether --with-odbc or --without-odbc was given.
2299 if test "${with_odbc+set}" = set; then
2300 withval
="$with_odbc"
2302 if test "$withval" = yes; then
2303 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2305 ac_cv_use_odbc
='wxUSE_ODBC=no'
2310 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2311 if test "x$LINE" != x
; then
2312 eval "DEFAULT_$LINE"
2317 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2322 eval "$ac_cv_use_odbc"
2323 if test "$no_cache" != 1; then
2324 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2327 if test "$wxUSE_ODBC" = yes; then
2328 echo "$ac_t""yes" 1>&6
2330 echo "$ac_t""no" 1>&6
2336 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2337 echo "configure:2338: checking for --enable-shared" >&5
2339 # Check whether --enable-shared or --disable-shared was given.
2340 if test "${enable_shared+set}" = set; then
2341 enableval
="$enable_shared"
2343 if test "$enableval" = yes; then
2344 ac_cv_use_shared
='wxUSE_SHARED=yes'
2346 ac_cv_use_shared
='wxUSE_SHARED=no'
2351 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2352 if test "x$LINE" != x
; then
2353 eval "DEFAULT_$LINE"
2358 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2363 eval "$ac_cv_use_shared"
2364 if test "$no_cache" != 1; then
2365 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2368 if test "$wxUSE_SHARED" = yes; then
2369 echo "$ac_t""yes" 1>&6
2371 echo "$ac_t""no" 1>&6
2375 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2376 echo "configure:2377: checking for --enable-soname" >&5
2378 # Check whether --enable-soname or --disable-soname was given.
2379 if test "${enable_soname+set}" = set; then
2380 enableval
="$enable_soname"
2382 if test "$enableval" = yes; then
2383 ac_cv_use_soname
='wxUSE_SONAME=yes'
2385 ac_cv_use_soname
='wxUSE_SONAME=no'
2390 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2391 if test "x$LINE" != x
; then
2392 eval "DEFAULT_$LINE"
2397 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2402 eval "$ac_cv_use_soname"
2403 if test "$no_cache" != 1; then
2404 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2407 if test "$wxUSE_SONAME" = yes; then
2408 echo "$ac_t""yes" 1>&6
2410 echo "$ac_t""no" 1>&6
2414 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2415 echo "configure:2416: checking for --enable-optimise" >&5
2417 # Check whether --enable-optimise or --disable-optimise was given.
2418 if test "${enable_optimise+set}" = set; then
2419 enableval
="$enable_optimise"
2421 if test "$enableval" = yes; then
2422 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2424 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2429 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2430 if test "x$LINE" != x
; then
2431 eval "DEFAULT_$LINE"
2436 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2441 eval "$ac_cv_use_optimise"
2442 if test "$no_cache" != 1; then
2443 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2446 if test "$wxUSE_OPTIMISE" = yes; then
2447 echo "$ac_t""yes" 1>&6
2449 echo "$ac_t""no" 1>&6
2453 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2454 echo "configure:2455: checking for --enable-debug" >&5
2456 # Check whether --enable-debug or --disable-debug was given.
2457 if test "${enable_debug+set}" = set; then
2458 enableval
="$enable_debug"
2460 if test "$enableval" = yes; then
2461 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2463 ac_cv_use_debug
='wxUSE_DEBUG=no'
2468 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2469 if test "x$LINE" != x
; then
2470 eval "DEFAULT_$LINE"
2475 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2480 eval "$ac_cv_use_debug"
2481 if test "$no_cache" != 1; then
2482 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2485 if test "$wxUSE_DEBUG" = yes; then
2486 echo "$ac_t""yes" 1>&6
2488 echo "$ac_t""no" 1>&6
2493 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2494 echo "configure:2495: checking for --enable-precomp" >&5
2496 # Check whether --enable-precomp or --disable-precomp was given.
2497 if test "${enable_precomp+set}" = set; then
2498 enableval
="$enable_precomp"
2500 if test "$enableval" = yes; then
2501 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2503 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2508 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2509 if test "x$LINE" != x
; then
2510 eval "DEFAULT_$LINE"
2515 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2520 eval "$ac_cv_use_precomp"
2521 if test "$no_cache" != 1; then
2522 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2525 if test "$wxUSE_PRECOMP" = yes; then
2526 echo "$ac_t""yes" 1>&6
2528 echo "$ac_t""no" 1>&6
2532 if test "$wxUSE_DEBUG" = "yes"; then
2533 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2534 DEFAULT_wxUSE_DEBUG_INFO
=yes
2535 elif test "$wxUSE_DEBUG" = "no"; then
2536 DEFAULT_wxUSE_DEBUG_FLAG
=no
2537 DEFAULT_wxUSE_DEBUG_INFO
=no
2541 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2542 echo "configure:2543: checking for --enable-debug_flag" >&5
2544 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2545 if test "${enable_debug_flag+set}" = set; then
2546 enableval
="$enable_debug_flag"
2548 if test "$enableval" = yes; then
2549 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2551 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2556 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2557 if test "x$LINE" != x
; then
2558 eval "DEFAULT_$LINE"
2563 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2568 eval "$ac_cv_use_debug_flag"
2569 if test "$no_cache" != 1; then
2570 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2573 if test "$wxUSE_DEBUG_FLAG" = yes; then
2574 echo "$ac_t""yes" 1>&6
2576 echo "$ac_t""no" 1>&6
2580 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2581 echo "configure:2582: checking for --enable-debug_info" >&5
2583 # Check whether --enable-debug_info or --disable-debug_info was given.
2584 if test "${enable_debug_info+set}" = set; then
2585 enableval
="$enable_debug_info"
2587 if test "$enableval" = yes; then
2588 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2590 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2595 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2596 if test "x$LINE" != x
; then
2597 eval "DEFAULT_$LINE"
2602 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2607 eval "$ac_cv_use_debug_info"
2608 if test "$no_cache" != 1; then
2609 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2612 if test "$wxUSE_DEBUG_INFO" = yes; then
2613 echo "$ac_t""yes" 1>&6
2615 echo "$ac_t""no" 1>&6
2619 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2620 echo "configure:2621: checking for --enable-debug_gdb" >&5
2622 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2623 if test "${enable_debug_gdb+set}" = set; then
2624 enableval
="$enable_debug_gdb"
2626 if test "$enableval" = yes; then
2627 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2629 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2634 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x
; then
2636 eval "DEFAULT_$LINE"
2641 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2646 eval "$ac_cv_use_debug_gdb"
2647 if test "$no_cache" != 1; then
2648 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2651 if test "$wxUSE_DEBUG_GDB" = yes; then
2652 echo "$ac_t""yes" 1>&6
2654 echo "$ac_t""no" 1>&6
2658 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2659 echo "configure:2660: checking for --enable-debug_cntxt" >&5
2661 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2662 if test "${enable_debug_cntxt+set}" = set; then
2663 enableval
="$enable_debug_cntxt"
2665 if test "$enableval" = yes; then
2666 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2668 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2673 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2674 if test "x$LINE" != x
; then
2675 eval "DEFAULT_$LINE"
2680 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2685 eval "$ac_cv_use_debug_cntxt"
2686 if test "$no_cache" != 1; then
2687 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2690 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2691 echo "$ac_t""yes" 1>&6
2693 echo "$ac_t""no" 1>&6
2697 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2698 echo "configure:2699: checking for --enable-mem_tracing" >&5
2700 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2701 if test "${enable_mem_tracing+set}" = set; then
2702 enableval
="$enable_mem_tracing"
2704 if test "$enableval" = yes; then
2705 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2707 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2712 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x
; then
2714 eval "DEFAULT_$LINE"
2719 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2724 eval "$ac_cv_use_mem_tracing"
2725 if test "$no_cache" != 1; then
2726 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2729 if test "$wxUSE_MEM_TRACING" = yes; then
2730 echo "$ac_t""yes" 1>&6
2732 echo "$ac_t""no" 1>&6
2736 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2737 echo "configure:2738: checking for --enable-profile" >&5
2739 # Check whether --enable-profile or --disable-profile was given.
2740 if test "${enable_profile+set}" = set; then
2741 enableval
="$enable_profile"
2743 if test "$enableval" = yes; then
2744 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2746 ac_cv_use_profile
='wxUSE_PROFILE=no'
2751 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x
; then
2753 eval "DEFAULT_$LINE"
2758 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2763 eval "$ac_cv_use_profile"
2764 if test "$no_cache" != 1; then
2765 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2768 if test "$wxUSE_PROFILE" = yes; then
2769 echo "$ac_t""yes" 1>&6
2771 echo "$ac_t""no" 1>&6
2775 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2776 echo "configure:2777: checking for --enable-no_rtti" >&5
2778 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2779 if test "${enable_no_rtti+set}" = set; then
2780 enableval
="$enable_no_rtti"
2782 if test "$enableval" = yes; then
2783 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2785 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2790 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2791 if test "x$LINE" != x
; then
2792 eval "DEFAULT_$LINE"
2797 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2802 eval "$ac_cv_use_no_rtti"
2803 if test "$no_cache" != 1; then
2804 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2807 if test "$wxUSE_NO_RTTI" = yes; then
2808 echo "$ac_t""yes" 1>&6
2810 echo "$ac_t""no" 1>&6
2814 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2815 echo "configure:2816: checking for --enable-no_exceptions" >&5
2817 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2818 if test "${enable_no_exceptions+set}" = set; then
2819 enableval
="$enable_no_exceptions"
2821 if test "$enableval" = yes; then
2822 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2824 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2829 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x
; then
2831 eval "DEFAULT_$LINE"
2836 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2841 eval "$ac_cv_use_no_exceptions"
2842 if test "$no_cache" != 1; then
2843 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2846 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2847 echo "$ac_t""yes" 1>&6
2849 echo "$ac_t""no" 1>&6
2853 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2854 echo "configure:2855: checking for --enable-permissive" >&5
2856 # Check whether --enable-permissive or --disable-permissive was given.
2857 if test "${enable_permissive+set}" = set; then
2858 enableval
="$enable_permissive"
2860 if test "$enableval" = yes; then
2861 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2863 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2868 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x
; then
2870 eval "DEFAULT_$LINE"
2875 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2880 eval "$ac_cv_use_permissive"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2885 if test "$wxUSE_PERMISSIVE" = yes; then
2886 echo "$ac_t""yes" 1>&6
2888 echo "$ac_t""no" 1>&6
2892 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2893 echo "configure:2894: checking for --enable-no_deps" >&5
2895 # Check whether --enable-no_deps or --disable-no_deps was given.
2896 if test "${enable_no_deps+set}" = set; then
2897 enableval
="$enable_no_deps"
2899 if test "$enableval" = yes; then
2900 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2902 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2907 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2908 if test "x$LINE" != x
; then
2909 eval "DEFAULT_$LINE"
2914 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2919 eval "$ac_cv_use_no_deps"
2920 if test "$no_cache" != 1; then
2921 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2924 if test "$wxUSE_NO_DEPS" = yes; then
2925 echo "$ac_t""yes" 1>&6
2927 echo "$ac_t""no" 1>&6
2932 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2933 echo "configure:2934: checking for --enable-compat20" >&5
2935 # Check whether --enable-compat20 or --disable-compat20 was given.
2936 if test "${enable_compat20+set}" = set; then
2937 enableval
="$enable_compat20"
2939 if test "$enableval" = yes; then
2940 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2942 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2947 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2948 if test "x$LINE" != x
; then
2949 eval "DEFAULT_$LINE"
2954 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2959 eval "$ac_cv_use_compat20"
2960 if test "$no_cache" != 1; then
2961 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2964 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2965 echo "$ac_t""yes" 1>&6
2967 echo "$ac_t""no" 1>&6
2971 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2972 echo "configure:2973: checking for --enable-compat22" >&5
2974 # Check whether --enable-compat22 or --disable-compat22 was given.
2975 if test "${enable_compat22+set}" = set; then
2976 enableval
="$enable_compat22"
2978 if test "$enableval" = yes; then
2979 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2981 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2986 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2998 eval "$ac_cv_use_compat22"
2999 if test "$no_cache" != 1; then
3000 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3003 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3004 echo "$ac_t""yes" 1>&6
3006 echo "$ac_t""no" 1>&6
3012 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3013 echo "configure:3014: checking for --enable-intl" >&5
3015 # Check whether --enable-intl or --disable-intl was given.
3016 if test "${enable_intl+set}" = set; then
3017 enableval
="$enable_intl"
3019 if test "$enableval" = yes; then
3020 ac_cv_use_intl
='wxUSE_INTL=yes'
3022 ac_cv_use_intl
='wxUSE_INTL=no'
3027 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3028 if test "x$LINE" != x
; then
3029 eval "DEFAULT_$LINE"
3034 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3039 eval "$ac_cv_use_intl"
3040 if test "$no_cache" != 1; then
3041 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3044 if test "$wxUSE_INTL" = yes; then
3045 echo "$ac_t""yes" 1>&6
3047 echo "$ac_t""no" 1>&6
3051 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3052 echo "configure:3053: checking for --enable-config" >&5
3054 # Check whether --enable-config or --disable-config was given.
3055 if test "${enable_config+set}" = set; then
3056 enableval
="$enable_config"
3058 if test "$enableval" = yes; then
3059 ac_cv_use_config
='wxUSE_CONFIG=yes'
3061 ac_cv_use_config
='wxUSE_CONFIG=no'
3066 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x
; then
3068 eval "DEFAULT_$LINE"
3073 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3078 eval "$ac_cv_use_config"
3079 if test "$no_cache" != 1; then
3080 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3083 if test "$wxUSE_CONFIG" = yes; then
3084 echo "$ac_t""yes" 1>&6
3086 echo "$ac_t""no" 1>&6
3091 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3092 echo "configure:3093: checking for --enable-protocols" >&5
3094 # Check whether --enable-protocols or --disable-protocols was given.
3095 if test "${enable_protocols+set}" = set; then
3096 enableval
="$enable_protocols"
3098 if test "$enableval" = yes; then
3099 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3101 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3106 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3107 if test "x$LINE" != x
; then
3108 eval "DEFAULT_$LINE"
3113 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3118 eval "$ac_cv_use_protocols"
3119 if test "$no_cache" != 1; then
3120 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3123 if test "$wxUSE_PROTOCOL" = yes; then
3124 echo "$ac_t""yes" 1>&6
3126 echo "$ac_t""no" 1>&6
3130 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3131 echo "configure:3132: checking for --enable-ftp" >&5
3133 # Check whether --enable-ftp or --disable-ftp was given.
3134 if test "${enable_ftp+set}" = set; then
3135 enableval
="$enable_ftp"
3137 if test "$enableval" = yes; then
3138 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3140 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3145 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3146 if test "x$LINE" != x
; then
3147 eval "DEFAULT_$LINE"
3152 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3157 eval "$ac_cv_use_ftp"
3158 if test "$no_cache" != 1; then
3159 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3162 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3163 echo "$ac_t""yes" 1>&6
3165 echo "$ac_t""no" 1>&6
3169 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3170 echo "configure:3171: checking for --enable-http" >&5
3172 # Check whether --enable-http or --disable-http was given.
3173 if test "${enable_http+set}" = set; then
3174 enableval
="$enable_http"
3176 if test "$enableval" = yes; then
3177 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3179 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3184 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3185 if test "x$LINE" != x
; then
3186 eval "DEFAULT_$LINE"
3191 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3196 eval "$ac_cv_use_http"
3197 if test "$no_cache" != 1; then
3198 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3201 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3202 echo "$ac_t""yes" 1>&6
3204 echo "$ac_t""no" 1>&6
3208 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3209 echo "configure:3210: checking for --enable-fileproto" >&5
3211 # Check whether --enable-fileproto or --disable-fileproto was given.
3212 if test "${enable_fileproto+set}" = set; then
3213 enableval
="$enable_fileproto"
3215 if test "$enableval" = yes; then
3216 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3218 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3223 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3224 if test "x$LINE" != x
; then
3225 eval "DEFAULT_$LINE"
3230 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3235 eval "$ac_cv_use_fileproto"
3236 if test "$no_cache" != 1; then
3237 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3240 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3241 echo "$ac_t""yes" 1>&6
3243 echo "$ac_t""no" 1>&6
3247 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3248 echo "configure:3249: checking for --enable-sockets" >&5
3250 # Check whether --enable-sockets or --disable-sockets was given.
3251 if test "${enable_sockets+set}" = set; then
3252 enableval
="$enable_sockets"
3254 if test "$enableval" = yes; then
3255 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3257 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3262 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3263 if test "x$LINE" != x
; then
3264 eval "DEFAULT_$LINE"
3269 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3274 eval "$ac_cv_use_sockets"
3275 if test "$no_cache" != 1; then
3276 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3279 if test "$wxUSE_SOCKETS" = yes; then
3280 echo "$ac_t""yes" 1>&6
3282 echo "$ac_t""no" 1>&6
3287 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3288 echo "configure:3289: checking for --enable-ipc" >&5
3290 # Check whether --enable-ipc or --disable-ipc was given.
3291 if test "${enable_ipc+set}" = set; then
3292 enableval
="$enable_ipc"
3294 if test "$enableval" = yes; then
3295 ac_cv_use_ipc
='wxUSE_IPC=yes'
3297 ac_cv_use_ipc
='wxUSE_IPC=no'
3302 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3303 if test "x$LINE" != x
; then
3304 eval "DEFAULT_$LINE"
3309 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3314 eval "$ac_cv_use_ipc"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3319 if test "$wxUSE_IPC" = yes; then
3320 echo "$ac_t""yes" 1>&6
3322 echo "$ac_t""no" 1>&6
3327 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3328 echo "configure:3329: checking for --enable-cmdline" >&5
3330 # Check whether --enable-cmdline or --disable-cmdline was given.
3331 if test "${enable_cmdline+set}" = set; then
3332 enableval
="$enable_cmdline"
3334 if test "$enableval" = yes; then
3335 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3337 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3342 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3343 if test "x$LINE" != x
; then
3344 eval "DEFAULT_$LINE"
3349 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3354 eval "$ac_cv_use_cmdline"
3355 if test "$no_cache" != 1; then
3356 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3359 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3360 echo "$ac_t""yes" 1>&6
3362 echo "$ac_t""no" 1>&6
3366 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3367 echo "configure:3368: checking for --enable-datetime" >&5
3369 # Check whether --enable-datetime or --disable-datetime was given.
3370 if test "${enable_datetime+set}" = set; then
3371 enableval
="$enable_datetime"
3373 if test "$enableval" = yes; then
3374 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3376 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3381 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3382 if test "x$LINE" != x
; then
3383 eval "DEFAULT_$LINE"
3388 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3393 eval "$ac_cv_use_datetime"
3394 if test "$no_cache" != 1; then
3395 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3398 if test "$wxUSE_DATETIME" = yes; then
3399 echo "$ac_t""yes" 1>&6
3401 echo "$ac_t""no" 1>&6
3405 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3406 echo "configure:3407: checking for --enable-timedate" >&5
3408 # Check whether --enable-timedate or --disable-timedate was given.
3409 if test "${enable_timedate+set}" = set; then
3410 enableval
="$enable_timedate"
3412 if test "$enableval" = yes; then
3413 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3415 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3420 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3421 if test "x$LINE" != x
; then
3422 eval "DEFAULT_$LINE"
3427 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3432 eval "$ac_cv_use_timedate"
3433 if test "$no_cache" != 1; then
3434 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3437 if test "$wxUSE_TIMEDATE" = yes; then
3438 echo "$ac_t""yes" 1>&6
3440 echo "$ac_t""no" 1>&6
3444 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3445 echo "configure:3446: checking for --enable-stopwatch" >&5
3447 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3448 if test "${enable_stopwatch+set}" = set; then
3449 enableval
="$enable_stopwatch"
3451 if test "$enableval" = yes; then
3452 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3454 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3459 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x
; then
3461 eval "DEFAULT_$LINE"
3466 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3471 eval "$ac_cv_use_stopwatch"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3476 if test "$wxUSE_STOPWATCH" = yes; then
3477 echo "$ac_t""yes" 1>&6
3479 echo "$ac_t""no" 1>&6
3483 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3484 echo "configure:3485: checking for --enable-dialupman" >&5
3486 # Check whether --enable-dialupman or --disable-dialupman was given.
3487 if test "${enable_dialupman+set}" = set; then
3488 enableval
="$enable_dialupman"
3490 if test "$enableval" = yes; then
3491 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3493 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3498 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3499 if test "x$LINE" != x
; then
3500 eval "DEFAULT_$LINE"
3505 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3510 eval "$ac_cv_use_dialupman"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3515 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3516 echo "$ac_t""yes" 1>&6
3518 echo "$ac_t""no" 1>&6
3522 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3523 echo "configure:3524: checking for --enable-apple_ieee" >&5
3525 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3526 if test "${enable_apple_ieee+set}" = set; then
3527 enableval
="$enable_apple_ieee"
3529 if test "$enableval" = yes; then
3530 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3532 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3537 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3538 if test "x$LINE" != x
; then
3539 eval "DEFAULT_$LINE"
3544 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3549 eval "$ac_cv_use_apple_ieee"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3554 if test "$wxUSE_APPLE_IEEE" = yes; then
3555 echo "$ac_t""yes" 1>&6
3557 echo "$ac_t""no" 1>&6
3561 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3562 echo "configure:3563: checking for --enable-timer" >&5
3564 # Check whether --enable-timer or --disable-timer was given.
3565 if test "${enable_timer+set}" = set; then
3566 enableval
="$enable_timer"
3568 if test "$enableval" = yes; then
3569 ac_cv_use_timer
='wxUSE_TIMER=yes'
3571 ac_cv_use_timer
='wxUSE_TIMER=no'
3576 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3577 if test "x$LINE" != x
; then
3578 eval "DEFAULT_$LINE"
3583 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3588 eval "$ac_cv_use_timer"
3589 if test "$no_cache" != 1; then
3590 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3593 if test "$wxUSE_TIMER" = yes; then
3594 echo "$ac_t""yes" 1>&6
3596 echo "$ac_t""no" 1>&6
3600 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3601 echo "configure:3602: checking for --enable-wave" >&5
3603 # Check whether --enable-wave or --disable-wave was given.
3604 if test "${enable_wave+set}" = set; then
3605 enableval
="$enable_wave"
3607 if test "$enableval" = yes; then
3608 ac_cv_use_wave
='wxUSE_WAVE=yes'
3610 ac_cv_use_wave
='wxUSE_WAVE=no'
3615 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3616 if test "x$LINE" != x
; then
3617 eval "DEFAULT_$LINE"
3622 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3627 eval "$ac_cv_use_wave"
3628 if test "$no_cache" != 1; then
3629 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3632 if test "$wxUSE_WAVE" = yes; then
3633 echo "$ac_t""yes" 1>&6
3635 echo "$ac_t""no" 1>&6
3639 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3640 echo "configure:3641: checking for --enable-fraction" >&5
3642 # Check whether --enable-fraction or --disable-fraction was given.
3643 if test "${enable_fraction+set}" = set; then
3644 enableval
="$enable_fraction"
3646 if test "$enableval" = yes; then
3647 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3649 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3654 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x
; then
3656 eval "DEFAULT_$LINE"
3661 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3666 eval "$ac_cv_use_fraction"
3667 if test "$no_cache" != 1; then
3668 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3671 if test "$wxUSE_FRACTION" = yes; then
3672 echo "$ac_t""yes" 1>&6
3674 echo "$ac_t""no" 1>&6
3678 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3679 echo "configure:3680: checking for --enable-dynlib" >&5
3681 # Check whether --enable-dynlib or --disable-dynlib was given.
3682 if test "${enable_dynlib+set}" = set; then
3683 enableval
="$enable_dynlib"
3685 if test "$enableval" = yes; then
3686 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3688 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3693 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x
; then
3695 eval "DEFAULT_$LINE"
3700 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3705 eval "$ac_cv_use_dynlib"
3706 if test "$no_cache" != 1; then
3707 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3710 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3711 echo "$ac_t""yes" 1>&6
3713 echo "$ac_t""no" 1>&6
3717 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3718 echo "configure:3719: checking for --enable-dynamicloader" >&5
3720 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3721 if test "${enable_dynamicloader+set}" = set; then
3722 enableval
="$enable_dynamicloader"
3724 if test "$enableval" = yes; then
3725 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3727 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3732 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3733 if test "x$LINE" != x
; then
3734 eval "DEFAULT_$LINE"
3739 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3744 eval "$ac_cv_use_dynamicloader"
3745 if test "$no_cache" != 1; then
3746 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3749 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3750 echo "$ac_t""yes" 1>&6
3752 echo "$ac_t""no" 1>&6
3756 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3757 echo "configure:3758: checking for --enable-longlong" >&5
3759 # Check whether --enable-longlong or --disable-longlong was given.
3760 if test "${enable_longlong+set}" = set; then
3761 enableval
="$enable_longlong"
3763 if test "$enableval" = yes; then
3764 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3766 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3771 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3772 if test "x$LINE" != x
; then
3773 eval "DEFAULT_$LINE"
3778 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3783 eval "$ac_cv_use_longlong"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3788 if test "$wxUSE_LONGLONG" = yes; then
3789 echo "$ac_t""yes" 1>&6
3791 echo "$ac_t""no" 1>&6
3795 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3796 echo "configure:3797: checking for --enable-geometry" >&5
3798 # Check whether --enable-geometry or --disable-geometry was given.
3799 if test "${enable_geometry+set}" = set; then
3800 enableval
="$enable_geometry"
3802 if test "$enableval" = yes; then
3803 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3805 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3810 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3811 if test "x$LINE" != x
; then
3812 eval "DEFAULT_$LINE"
3817 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3822 eval "$ac_cv_use_geometry"
3823 if test "$no_cache" != 1; then
3824 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3827 if test "$wxUSE_GEOMETRY" = yes; then
3828 echo "$ac_t""yes" 1>&6
3830 echo "$ac_t""no" 1>&6
3834 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3835 echo "configure:3836: checking for --enable-log" >&5
3837 # Check whether --enable-log or --disable-log was given.
3838 if test "${enable_log+set}" = set; then
3839 enableval
="$enable_log"
3841 if test "$enableval" = yes; then
3842 ac_cv_use_log
='wxUSE_LOG=yes'
3844 ac_cv_use_log
='wxUSE_LOG=no'
3849 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x
; then
3851 eval "DEFAULT_$LINE"
3856 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3861 eval "$ac_cv_use_log"
3862 if test "$no_cache" != 1; then
3863 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3866 if test "$wxUSE_LOG" = yes; then
3867 echo "$ac_t""yes" 1>&6
3869 echo "$ac_t""no" 1>&6
3873 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3874 echo "configure:3875: checking for --enable-streams" >&5
3876 # Check whether --enable-streams or --disable-streams was given.
3877 if test "${enable_streams+set}" = set; then
3878 enableval
="$enable_streams"
3880 if test "$enableval" = yes; then
3881 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3883 ac_cv_use_streams
='wxUSE_STREAMS=no'
3888 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3889 if test "x$LINE" != x
; then
3890 eval "DEFAULT_$LINE"
3895 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3900 eval "$ac_cv_use_streams"
3901 if test "$no_cache" != 1; then
3902 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3905 if test "$wxUSE_STREAMS" = yes; then
3906 echo "$ac_t""yes" 1>&6
3908 echo "$ac_t""no" 1>&6
3912 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3913 echo "configure:3914: checking for --enable-file" >&5
3915 # Check whether --enable-file or --disable-file was given.
3916 if test "${enable_file+set}" = set; then
3917 enableval
="$enable_file"
3919 if test "$enableval" = yes; then
3920 ac_cv_use_file
='wxUSE_FILE=yes'
3922 ac_cv_use_file
='wxUSE_FILE=no'
3927 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x
; then
3929 eval "DEFAULT_$LINE"
3934 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3939 eval "$ac_cv_use_file"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3944 if test "$wxUSE_FILE" = yes; then
3945 echo "$ac_t""yes" 1>&6
3947 echo "$ac_t""no" 1>&6
3951 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3952 echo "configure:3953: checking for --enable-ffile" >&5
3954 # Check whether --enable-ffile or --disable-ffile was given.
3955 if test "${enable_ffile+set}" = set; then
3956 enableval
="$enable_ffile"
3958 if test "$enableval" = yes; then
3959 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3961 ac_cv_use_ffile
='wxUSE_FFILE=no'
3966 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x
; then
3968 eval "DEFAULT_$LINE"
3973 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3978 eval "$ac_cv_use_ffile"
3979 if test "$no_cache" != 1; then
3980 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3983 if test "$wxUSE_FFILE" = yes; then
3984 echo "$ac_t""yes" 1>&6
3986 echo "$ac_t""no" 1>&6
3990 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3991 echo "configure:3992: checking for --enable-textbuf" >&5
3993 # Check whether --enable-textbuf or --disable-textbuf was given.
3994 if test "${enable_textbuf+set}" = set; then
3995 enableval
="$enable_textbuf"
3997 if test "$enableval" = yes; then
3998 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4000 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4005 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4006 if test "x$LINE" != x
; then
4007 eval "DEFAULT_$LINE"
4012 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4017 eval "$ac_cv_use_textbuf"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4022 if test "$wxUSE_TEXTBUFFER" = yes; then
4023 echo "$ac_t""yes" 1>&6
4025 echo "$ac_t""no" 1>&6
4029 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4030 echo "configure:4031: checking for --enable-textfile" >&5
4032 # Check whether --enable-textfile or --disable-textfile was given.
4033 if test "${enable_textfile+set}" = set; then
4034 enableval
="$enable_textfile"
4036 if test "$enableval" = yes; then
4037 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4039 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4044 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4045 if test "x$LINE" != x
; then
4046 eval "DEFAULT_$LINE"
4051 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4056 eval "$ac_cv_use_textfile"
4057 if test "$no_cache" != 1; then
4058 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4061 if test "$wxUSE_TEXTFILE" = yes; then
4062 echo "$ac_t""yes" 1>&6
4064 echo "$ac_t""no" 1>&6
4068 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4069 echo "configure:4070: checking for --enable-fontmap" >&5
4071 # Check whether --enable-fontmap or --disable-fontmap was given.
4072 if test "${enable_fontmap+set}" = set; then
4073 enableval
="$enable_fontmap"
4075 if test "$enableval" = yes; then
4076 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4078 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4083 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4084 if test "x$LINE" != x
; then
4085 eval "DEFAULT_$LINE"
4090 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4095 eval "$ac_cv_use_fontmap"
4096 if test "$no_cache" != 1; then
4097 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4100 if test "$wxUSE_FONTMAP" = yes; then
4101 echo "$ac_t""yes" 1>&6
4103 echo "$ac_t""no" 1>&6
4107 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4108 echo "configure:4109: checking for --enable-unicode" >&5
4110 # Check whether --enable-unicode or --disable-unicode was given.
4111 if test "${enable_unicode+set}" = set; then
4112 enableval
="$enable_unicode"
4114 if test "$enableval" = yes; then
4115 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4117 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4122 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4123 if test "x$LINE" != x
; then
4124 eval "DEFAULT_$LINE"
4129 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4134 eval "$ac_cv_use_unicode"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4139 if test "$wxUSE_UNICODE" = yes; then
4140 echo "$ac_t""yes" 1>&6
4142 echo "$ac_t""no" 1>&6
4146 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4147 echo "configure:4148: checking for --enable-mslu" >&5
4149 # Check whether --enable-mslu or --disable-mslu was given.
4150 if test "${enable_mslu+set}" = set; then
4151 enableval
="$enable_mslu"
4153 if test "$enableval" = yes; then
4154 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4156 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4161 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x
; then
4163 eval "DEFAULT_$LINE"
4168 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4173 eval "$ac_cv_use_mslu"
4174 if test "$no_cache" != 1; then
4175 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4178 if test "$wxUSE_UNICODE_MSLU" = yes; then
4179 echo "$ac_t""yes" 1>&6
4181 echo "$ac_t""no" 1>&6
4185 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4186 echo "configure:4187: checking for --enable-wxprintfv" >&5
4188 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4189 if test "${enable_wxprintfv+set}" = set; then
4190 enableval
="$enable_wxprintfv"
4192 if test "$enableval" = yes; then
4193 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4195 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4200 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4201 if test "x$LINE" != x
; then
4202 eval "DEFAULT_$LINE"
4207 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4212 eval "$ac_cv_use_wxprintfv"
4213 if test "$no_cache" != 1; then
4214 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4217 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4218 echo "$ac_t""yes" 1>&6
4220 echo "$ac_t""no" 1>&6
4224 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4225 echo "configure:4226: checking for --enable-std_iostreams" >&5
4227 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4228 if test "${enable_std_iostreams+set}" = set; then
4229 enableval
="$enable_std_iostreams"
4231 if test "$enableval" = yes; then
4232 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4234 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4239 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x
; then
4241 eval "DEFAULT_$LINE"
4246 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4251 eval "$ac_cv_use_std_iostreams"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4256 if test "$wxUSE_STD_IOSTREAM" = yes; then
4257 echo "$ac_t""yes" 1>&6
4259 echo "$ac_t""no" 1>&6
4263 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4264 echo "configure:4265: checking for --enable-filesystem" >&5
4266 # Check whether --enable-filesystem or --disable-filesystem was given.
4267 if test "${enable_filesystem+set}" = set; then
4268 enableval
="$enable_filesystem"
4270 if test "$enableval" = yes; then
4271 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4273 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4278 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4279 if test "x$LINE" != x
; then
4280 eval "DEFAULT_$LINE"
4285 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4290 eval "$ac_cv_use_filesystem"
4291 if test "$no_cache" != 1; then
4292 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4295 if test "$wxUSE_FILESYSTEM" = yes; then
4296 echo "$ac_t""yes" 1>&6
4298 echo "$ac_t""no" 1>&6
4302 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4303 echo "configure:4304: checking for --enable-fs_inet" >&5
4305 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4306 if test "${enable_fs_inet+set}" = set; then
4307 enableval
="$enable_fs_inet"
4309 if test "$enableval" = yes; then
4310 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4312 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4317 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x
; then
4319 eval "DEFAULT_$LINE"
4324 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4329 eval "$ac_cv_use_fs_inet"
4330 if test "$no_cache" != 1; then
4331 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4334 if test "$wxUSE_FS_INET" = yes; then
4335 echo "$ac_t""yes" 1>&6
4337 echo "$ac_t""no" 1>&6
4341 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4342 echo "configure:4343: checking for --enable-fs_zip" >&5
4344 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4345 if test "${enable_fs_zip+set}" = set; then
4346 enableval
="$enable_fs_zip"
4348 if test "$enableval" = yes; then
4349 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4351 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4356 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4357 if test "x$LINE" != x
; then
4358 eval "DEFAULT_$LINE"
4363 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4368 eval "$ac_cv_use_fs_zip"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4373 if test "$wxUSE_FS_ZIP" = yes; then
4374 echo "$ac_t""yes" 1>&6
4376 echo "$ac_t""no" 1>&6
4380 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4381 echo "configure:4382: checking for --enable-zipstream" >&5
4383 # Check whether --enable-zipstream or --disable-zipstream was given.
4384 if test "${enable_zipstream+set}" = set; then
4385 enableval
="$enable_zipstream"
4387 if test "$enableval" = yes; then
4388 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4390 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4395 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4396 if test "x$LINE" != x
; then
4397 eval "DEFAULT_$LINE"
4402 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4407 eval "$ac_cv_use_zipstream"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4412 if test "$wxUSE_ZIPSTREAM" = yes; then
4413 echo "$ac_t""yes" 1>&6
4415 echo "$ac_t""no" 1>&6
4420 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4421 echo "configure:4422: checking for --enable-catch_segvs" >&5
4423 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4424 if test "${enable_catch_segvs+set}" = set; then
4425 enableval
="$enable_catch_segvs"
4427 if test "$enableval" = yes; then
4428 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4430 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4435 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4436 if test "x$LINE" != x
; then
4437 eval "DEFAULT_$LINE"
4442 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4447 eval "$ac_cv_use_catch_segvs"
4448 if test "$no_cache" != 1; then
4449 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4452 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4453 echo "$ac_t""yes" 1>&6
4455 echo "$ac_t""no" 1>&6
4459 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4460 echo "configure:4461: checking for --enable-snglinst" >&5
4462 # Check whether --enable-snglinst or --disable-snglinst was given.
4463 if test "${enable_snglinst+set}" = set; then
4464 enableval
="$enable_snglinst"
4466 if test "$enableval" = yes; then
4467 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4469 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4474 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4475 if test "x$LINE" != x
; then
4476 eval "DEFAULT_$LINE"
4481 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4486 eval "$ac_cv_use_snglinst"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4491 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4492 echo "$ac_t""yes" 1>&6
4494 echo "$ac_t""no" 1>&6
4499 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4500 echo "configure:4501: checking for --enable-mimetype" >&5
4502 # Check whether --enable-mimetype or --disable-mimetype was given.
4503 if test "${enable_mimetype+set}" = set; then
4504 enableval
="$enable_mimetype"
4506 if test "$enableval" = yes; then
4507 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4509 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4514 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4515 if test "x$LINE" != x
; then
4516 eval "DEFAULT_$LINE"
4521 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4526 eval "$ac_cv_use_mimetype"
4527 if test "$no_cache" != 1; then
4528 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4531 if test "$wxUSE_MIMETYPE" = yes; then
4532 echo "$ac_t""yes" 1>&6
4534 echo "$ac_t""no" 1>&6
4538 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4539 echo "configure:4540: checking for --enable-system_options" >&5
4541 # Check whether --enable-system_options or --disable-system_options was given.
4542 if test "${enable_system_options+set}" = set; then
4543 enableval
="$enable_system_options"
4545 if test "$enableval" = yes; then
4546 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4548 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4553 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x
; then
4555 eval "DEFAULT_$LINE"
4560 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4565 eval "$ac_cv_use_system_options"
4566 if test "$no_cache" != 1; then
4567 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4570 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4571 echo "$ac_t""yes" 1>&6
4573 echo "$ac_t""no" 1>&6
4578 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4579 echo "configure:4580: checking for --enable-url" >&5
4581 # Check whether --enable-url or --disable-url was given.
4582 if test "${enable_url+set}" = set; then
4583 enableval
="$enable_url"
4585 if test "$enableval" = yes; then
4586 ac_cv_use_url
='wxUSE_URL=yes'
4588 ac_cv_use_url
='wxUSE_URL=no'
4593 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x
; then
4595 eval "DEFAULT_$LINE"
4600 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4605 eval "$ac_cv_use_url"
4606 if test "$no_cache" != 1; then
4607 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4610 if test "$wxUSE_URL" = yes; then
4611 echo "$ac_t""yes" 1>&6
4613 echo "$ac_t""no" 1>&6
4617 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4618 echo "configure:4619: checking for --enable-protocol" >&5
4620 # Check whether --enable-protocol or --disable-protocol was given.
4621 if test "${enable_protocol+set}" = set; then
4622 enableval
="$enable_protocol"
4624 if test "$enableval" = yes; then
4625 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4627 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4632 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x
; then
4634 eval "DEFAULT_$LINE"
4639 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4644 eval "$ac_cv_use_protocol"
4645 if test "$no_cache" != 1; then
4646 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4649 if test "$wxUSE_PROTOCOL" = yes; then
4650 echo "$ac_t""yes" 1>&6
4652 echo "$ac_t""no" 1>&6
4656 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4657 echo "configure:4658: checking for --enable-protocol_http" >&5
4659 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4660 if test "${enable_protocol_http+set}" = set; then
4661 enableval
="$enable_protocol_http"
4663 if test "$enableval" = yes; then
4664 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4666 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4671 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x
; then
4673 eval "DEFAULT_$LINE"
4678 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4683 eval "$ac_cv_use_protocol_http"
4684 if test "$no_cache" != 1; then
4685 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4688 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4689 echo "$ac_t""yes" 1>&6
4691 echo "$ac_t""no" 1>&6
4695 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4696 echo "configure:4697: checking for --enable-protocol_ftp" >&5
4698 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4699 if test "${enable_protocol_ftp+set}" = set; then
4700 enableval
="$enable_protocol_ftp"
4702 if test "$enableval" = yes; then
4703 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4705 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4710 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4711 if test "x$LINE" != x
; then
4712 eval "DEFAULT_$LINE"
4717 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4722 eval "$ac_cv_use_protocol_ftp"
4723 if test "$no_cache" != 1; then
4724 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4727 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4728 echo "$ac_t""yes" 1>&6
4730 echo "$ac_t""no" 1>&6
4734 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4735 echo "configure:4736: checking for --enable-protocol_file" >&5
4737 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4738 if test "${enable_protocol_file+set}" = set; then
4739 enableval
="$enable_protocol_file"
4741 if test "$enableval" = yes; then
4742 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4744 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4749 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4750 if test "x$LINE" != x
; then
4751 eval "DEFAULT_$LINE"
4756 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4761 eval "$ac_cv_use_protocol_file"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4766 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4767 echo "$ac_t""yes" 1>&6
4769 echo "$ac_t""no" 1>&6
4776 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4777 echo "configure:4778: checking for --enable-threads" >&5
4779 # Check whether --enable-threads or --disable-threads was given.
4780 if test "${enable_threads+set}" = set; then
4781 enableval
="$enable_threads"
4783 if test "$enableval" = yes; then
4784 ac_cv_use_threads
='wxUSE_THREADS=yes'
4786 ac_cv_use_threads
='wxUSE_THREADS=no'
4791 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4792 if test "x$LINE" != x
; then
4793 eval "DEFAULT_$LINE"
4798 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4803 eval "$ac_cv_use_threads"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4808 if test "$wxUSE_THREADS" = yes; then
4809 echo "$ac_t""yes" 1>&6
4811 echo "$ac_t""no" 1>&6
4815 if test "$wxUSE_GUI" = "yes"; then
4819 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4820 echo "configure:4821: checking for --enable-docview" >&5
4822 # Check whether --enable-docview or --disable-docview was given.
4823 if test "${enable_docview+set}" = set; then
4824 enableval
="$enable_docview"
4826 if test "$enableval" = yes; then
4827 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4829 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4834 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x
; then
4836 eval "DEFAULT_$LINE"
4841 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4846 eval "$ac_cv_use_docview"
4847 if test "$no_cache" != 1; then
4848 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4851 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4852 echo "$ac_t""yes" 1>&6
4854 echo "$ac_t""no" 1>&6
4858 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4859 echo "configure:4860: checking for --enable-help" >&5
4861 # Check whether --enable-help or --disable-help was given.
4862 if test "${enable_help+set}" = set; then
4863 enableval
="$enable_help"
4865 if test "$enableval" = yes; then
4866 ac_cv_use_help
='wxUSE_HELP=yes'
4868 ac_cv_use_help
='wxUSE_HELP=no'
4873 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4874 if test "x$LINE" != x
; then
4875 eval "DEFAULT_$LINE"
4880 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4885 eval "$ac_cv_use_help"
4886 if test "$no_cache" != 1; then
4887 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4890 if test "$wxUSE_HELP" = yes; then
4891 echo "$ac_t""yes" 1>&6
4893 echo "$ac_t""no" 1>&6
4897 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4898 echo "configure:4899: checking for --enable-mshtmlhelp" >&5
4900 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4901 if test "${enable_mshtmlhelp+set}" = set; then
4902 enableval
="$enable_mshtmlhelp"
4904 if test "$enableval" = yes; then
4905 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4907 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4912 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x
; then
4914 eval "DEFAULT_$LINE"
4919 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4924 eval "$ac_cv_use_mshtmlhelp"
4925 if test "$no_cache" != 1; then
4926 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4929 if test "$wxUSE_MS_HTML_HELP" = yes; then
4930 echo "$ac_t""yes" 1>&6
4932 echo "$ac_t""no" 1>&6
4936 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4937 echo "configure:4938: checking for --enable-html" >&5
4939 # Check whether --enable-html or --disable-html was given.
4940 if test "${enable_html+set}" = set; then
4941 enableval
="$enable_html"
4943 if test "$enableval" = yes; then
4944 ac_cv_use_html
='wxUSE_HTML=yes'
4946 ac_cv_use_html
='wxUSE_HTML=no'
4951 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4952 if test "x$LINE" != x
; then
4953 eval "DEFAULT_$LINE"
4958 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4963 eval "$ac_cv_use_html"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4968 if test "$wxUSE_HTML" = yes; then
4969 echo "$ac_t""yes" 1>&6
4971 echo "$ac_t""no" 1>&6
4975 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4976 echo "configure:4977: checking for --enable-htmlhelp" >&5
4978 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4979 if test "${enable_htmlhelp+set}" = set; then
4980 enableval
="$enable_htmlhelp"
4982 if test "$enableval" = yes; then
4983 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4985 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4990 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4991 if test "x$LINE" != x
; then
4992 eval "DEFAULT_$LINE"
4997 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5002 eval "$ac_cv_use_htmlhelp"
5003 if test "$no_cache" != 1; then
5004 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5007 if test "$wxUSE_WXHTML_HELP" = yes; then
5008 echo "$ac_t""yes" 1>&6
5010 echo "$ac_t""no" 1>&6
5014 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5015 echo "configure:5016: checking for --enable-constraints" >&5
5017 # Check whether --enable-constraints or --disable-constraints was given.
5018 if test "${enable_constraints+set}" = set; then
5019 enableval
="$enable_constraints"
5021 if test "$enableval" = yes; then
5022 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5024 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5029 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5030 if test "x$LINE" != x
; then
5031 eval "DEFAULT_$LINE"
5036 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5041 eval "$ac_cv_use_constraints"
5042 if test "$no_cache" != 1; then
5043 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5046 if test "$wxUSE_CONSTRAINTS" = yes; then
5047 echo "$ac_t""yes" 1>&6
5049 echo "$ac_t""no" 1>&6
5053 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5054 echo "configure:5055: checking for --enable-printarch" >&5
5056 # Check whether --enable-printarch or --disable-printarch was given.
5057 if test "${enable_printarch+set}" = set; then
5058 enableval
="$enable_printarch"
5060 if test "$enableval" = yes; then
5061 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5063 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5068 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5069 if test "x$LINE" != x
; then
5070 eval "DEFAULT_$LINE"
5075 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5080 eval "$ac_cv_use_printarch"
5081 if test "$no_cache" != 1; then
5082 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5085 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5086 echo "$ac_t""yes" 1>&6
5088 echo "$ac_t""no" 1>&6
5092 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5093 echo "configure:5094: checking for --enable-mdi" >&5
5095 # Check whether --enable-mdi or --disable-mdi was given.
5096 if test "${enable_mdi+set}" = set; then
5097 enableval
="$enable_mdi"
5099 if test "$enableval" = yes; then
5100 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5102 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5107 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x
; then
5109 eval "DEFAULT_$LINE"
5114 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5119 eval "$ac_cv_use_mdi"
5120 if test "$no_cache" != 1; then
5121 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5124 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5125 echo "$ac_t""yes" 1>&6
5127 echo "$ac_t""no" 1>&6
5131 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5132 echo "configure:5133: checking for --enable-loggui" >&5
5134 # Check whether --enable-loggui or --disable-loggui was given.
5135 if test "${enable_loggui+set}" = set; then
5136 enableval
="$enable_loggui"
5138 if test "$enableval" = yes; then
5139 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5141 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5146 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5147 if test "x$LINE" != x
; then
5148 eval "DEFAULT_$LINE"
5153 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5158 eval "$ac_cv_use_loggui"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5163 if test "$wxUSE_LOGGUI" = yes; then
5164 echo "$ac_t""yes" 1>&6
5166 echo "$ac_t""no" 1>&6
5170 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5171 echo "configure:5172: checking for --enable-logwin" >&5
5173 # Check whether --enable-logwin or --disable-logwin was given.
5174 if test "${enable_logwin+set}" = set; then
5175 enableval
="$enable_logwin"
5177 if test "$enableval" = yes; then
5178 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5180 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5185 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x
; then
5187 eval "DEFAULT_$LINE"
5192 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5197 eval "$ac_cv_use_logwin"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5202 if test "$wxUSE_LOGWINDOW" = yes; then
5203 echo "$ac_t""yes" 1>&6
5205 echo "$ac_t""no" 1>&6
5209 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5210 echo "configure:5211: checking for --enable-logdialog" >&5
5212 # Check whether --enable-logdialog or --disable-logdialog was given.
5213 if test "${enable_logdialog+set}" = set; then
5214 enableval
="$enable_logdialog"
5216 if test "$enableval" = yes; then
5217 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5219 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5224 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x
; then
5226 eval "DEFAULT_$LINE"
5231 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5236 eval "$ac_cv_use_logdialog"
5237 if test "$no_cache" != 1; then
5238 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5241 if test "$wxUSE_LOGDIALOG" = yes; then
5242 echo "$ac_t""yes" 1>&6
5244 echo "$ac_t""no" 1>&6
5249 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5250 echo "configure:5251: checking for --enable-postscript" >&5
5252 # Check whether --enable-postscript or --disable-postscript was given.
5253 if test "${enable_postscript+set}" = set; then
5254 enableval
="$enable_postscript"
5256 if test "$enableval" = yes; then
5257 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5259 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5264 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5265 if test "x$LINE" != x
; then
5266 eval "DEFAULT_$LINE"
5271 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5276 eval "$ac_cv_use_postscript"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5281 if test "$wxUSE_POSTSCRIPT" = yes; then
5282 echo "$ac_t""yes" 1>&6
5284 echo "$ac_t""no" 1>&6
5291 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5292 echo "configure:5293: checking for --enable-prologio" >&5
5294 # Check whether --enable-prologio or --disable-prologio was given.
5295 if test "${enable_prologio+set}" = set; then
5296 enableval
="$enable_prologio"
5298 if test "$enableval" = yes; then
5299 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5301 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5306 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x
; then
5308 eval "DEFAULT_$LINE"
5313 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5318 eval "$ac_cv_use_prologio"
5319 if test "$no_cache" != 1; then
5320 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5323 if test "$wxUSE_PROLOGIO" = yes; then
5324 echo "$ac_t""yes" 1>&6
5326 echo "$ac_t""no" 1>&6
5330 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5331 echo "configure:5332: checking for --enable-resources" >&5
5333 # Check whether --enable-resources or --disable-resources was given.
5334 if test "${enable_resources+set}" = set; then
5335 enableval
="$enable_resources"
5337 if test "$enableval" = yes; then
5338 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5340 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5345 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5346 if test "x$LINE" != x
; then
5347 eval "DEFAULT_$LINE"
5352 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5357 eval "$ac_cv_use_resources"
5358 if test "$no_cache" != 1; then
5359 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5362 if test "$wxUSE_RESOURCES" = yes; then
5363 echo "$ac_t""yes" 1>&6
5365 echo "$ac_t""no" 1>&6
5370 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5371 echo "configure:5372: checking for --enable-xresources" >&5
5373 # Check whether --enable-xresources or --disable-xresources was given.
5374 if test "${enable_xresources+set}" = set; then
5375 enableval
="$enable_xresources"
5377 if test "$enableval" = yes; then
5378 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5380 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5385 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5386 if test "x$LINE" != x
; then
5387 eval "DEFAULT_$LINE"
5392 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5397 eval "$ac_cv_use_xresources"
5398 if test "$no_cache" != 1; then
5399 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5402 if test "$wxUSE_X_RESOURCES" = yes; then
5403 echo "$ac_t""yes" 1>&6
5405 echo "$ac_t""no" 1>&6
5411 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5412 echo "configure:5413: checking for --enable-clipboard" >&5
5414 # Check whether --enable-clipboard or --disable-clipboard was given.
5415 if test "${enable_clipboard+set}" = set; then
5416 enableval
="$enable_clipboard"
5418 if test "$enableval" = yes; then
5419 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5421 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5426 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5427 if test "x$LINE" != x
; then
5428 eval "DEFAULT_$LINE"
5433 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5438 eval "$ac_cv_use_clipboard"
5439 if test "$no_cache" != 1; then
5440 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5443 if test "$wxUSE_CLIPBOARD" = yes; then
5444 echo "$ac_t""yes" 1>&6
5446 echo "$ac_t""no" 1>&6
5450 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5451 echo "configure:5452: checking for --enable-dnd" >&5
5453 # Check whether --enable-dnd or --disable-dnd was given.
5454 if test "${enable_dnd+set}" = set; then
5455 enableval
="$enable_dnd"
5457 if test "$enableval" = yes; then
5458 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5460 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5465 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5466 if test "x$LINE" != x
; then
5467 eval "DEFAULT_$LINE"
5472 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5477 eval "$ac_cv_use_dnd"
5478 if test "$no_cache" != 1; then
5479 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5482 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5483 echo "$ac_t""yes" 1>&6
5485 echo "$ac_t""no" 1>&6
5489 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5490 echo "configure:5491: checking for --enable-metafile" >&5
5492 # Check whether --enable-metafile or --disable-metafile was given.
5493 if test "${enable_metafile+set}" = set; then
5494 enableval
="$enable_metafile"
5496 if test "$enableval" = yes; then
5497 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5499 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5504 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5505 if test "x$LINE" != x
; then
5506 eval "DEFAULT_$LINE"
5511 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5516 eval "$ac_cv_use_metafile"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5521 if test "$wxUSE_METAFILE" = yes; then
5522 echo "$ac_t""yes" 1>&6
5524 echo "$ac_t""no" 1>&6
5529 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5530 echo "configure:5531: checking for --enable-treelayout" >&5
5532 # Check whether --enable-treelayout or --disable-treelayout was given.
5533 if test "${enable_treelayout+set}" = set; then
5534 enableval
="$enable_treelayout"
5536 if test "$enableval" = yes; then
5537 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5539 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5544 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5545 if test "x$LINE" != x
; then
5546 eval "DEFAULT_$LINE"
5551 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5556 eval "$ac_cv_use_treelayout"
5557 if test "$no_cache" != 1; then
5558 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5561 if test "$wxUSE_TREELAYOUT" = yes; then
5562 echo "$ac_t""yes" 1>&6
5564 echo "$ac_t""no" 1>&6
5570 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5571 echo "configure:5572: checking for --enable-controls" >&5
5573 # Check whether --enable-controls or --disable-controls was given.
5574 if test "${enable_controls+set}" = set; then
5575 enableval
="$enable_controls"
5577 if test "$enableval" = yes; then
5578 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5580 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5585 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5586 if test "x$LINE" != x
; then
5587 eval "DEFAULT_$LINE"
5592 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5597 eval "$ac_cv_use_controls"
5598 if test "$no_cache" != 1; then
5599 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5602 if test "$wxUSE_CONTROLS" = yes; then
5603 echo "$ac_t""yes" 1>&6
5605 echo "$ac_t""no" 1>&6
5609 if test "$wxUSE_CONTROLS" = "yes"; then
5610 DEFAULT_wxUSE_ACCEL
=yes
5611 DEFAULT_wxUSE_BMPBUTTON
=yes
5612 DEFAULT_wxUSE_BUTTON
=yes
5613 DEFAULT_wxUSE_CALCTRL
=no
5614 DEFAULT_wxUSE_CARET
=yes
5615 DEFAULT_wxUSE_COMBOBOX
=yes
5616 DEFAULT_wxUSE_CHECKBOX
=yes
5617 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5618 DEFAULT_wxUSE_CHOICE
=yes
5619 DEFAULT_wxUSE_GAUGE
=yes
5620 DEFAULT_wxUSE_GRID
=yes
5621 DEFAULT_wxUSE_NEW_GRID
=yes
5622 DEFAULT_wxUSE_IMAGLIST
=yes
5623 DEFAULT_wxUSE_LISTBOX
=yes
5624 DEFAULT_wxUSE_LISTCTRL
=yes
5625 DEFAULT_wxUSE_NOTEBOOK
=yes
5626 DEFAULT_wxUSE_PROPSHEET
=yes
5627 DEFAULT_wxUSE_RADIOBOX
=yes
5628 DEFAULT_wxUSE_RADIOBTN
=yes
5629 DEFAULT_wxUSE_SASH
=yes
5630 DEFAULT_wxUSE_SCROLLBAR
=yes
5631 DEFAULT_wxUSE_SLIDER
=yes
5632 DEFAULT_wxUSE_SPINBTN
=yes
5633 DEFAULT_wxUSE_SPINCTRL
=yes
5634 DEFAULT_wxUSE_SPLITTER
=yes
5635 DEFAULT_wxUSE_STATBMP
=yes
5636 DEFAULT_wxUSE_STATBOX
=yes
5637 DEFAULT_wxUSE_STATLINE
=yes
5638 DEFAULT_wxUSE_STATUSBAR
=yes
5639 DEFAULT_wxUSE_TAB_DIALOG
=yes
5640 DEFAULT_wxUSE_TOGGLEBTN
=yes
5641 DEFAULT_wxUSE_TOOLBAR
=yes
5642 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5643 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5644 DEFAULT_wxUSE_TOOLTIPS
=yes
5645 DEFAULT_wxUSE_TREECTRL
=yes
5646 DEFAULT_wxUSE_POPUPWIN
=yes
5647 DEFAULT_wxUSE_TIPWINDOW
=yes
5648 elif test "$wxUSE_CONTROLS" = "no"; then
5649 DEFAULT_wxUSE_ACCEL
=no
5650 DEFAULT_wxUSE_BMPBUTTON
=no
5651 DEFAULT_wxUSE_BUTTON
=no
5652 DEFAULT_wxUSE_CALCTRL
=no
5653 DEFAULT_wxUSE_CARET
=no
5654 DEFAULT_wxUSE_COMBOBOX
=no
5655 DEFAULT_wxUSE_CHECKBOX
=no
5656 DEFAULT_wxUSE_CHECKLISTBOX
=no
5657 DEFAULT_wxUSE_CHOICE
=no
5658 DEFAULT_wxUSE_GAUGE
=no
5659 DEFAULT_wxUSE_GRID
=no
5660 DEFAULT_wxUSE_NEW_GRID
=no
5661 DEFAULT_wxUSE_IMAGLIST
=no
5662 DEFAULT_wxUSE_LISTBOX
=no
5663 DEFAULT_wxUSE_LISTCTRL
=no
5664 DEFAULT_wxUSE_NOTEBOOK
=no
5665 DEFAULT_wxUSE_PROPSHEET
=no
5666 DEFAULT_wxUSE_RADIOBOX
=no
5667 DEFAULT_wxUSE_RADIOBTN
=no
5668 DEFAULT_wxUSE_SASH
=no
5669 DEFAULT_wxUSE_SCROLLBAR
=no
5670 DEFAULT_wxUSE_SLIDER
=no
5671 DEFAULT_wxUSE_SPINBTN
=no
5672 DEFAULT_wxUSE_SPINCTRL
=no
5673 DEFAULT_wxUSE_SPLITTER
=no
5674 DEFAULT_wxUSE_STATBMP
=no
5675 DEFAULT_wxUSE_STATBOX
=no
5676 DEFAULT_wxUSE_STATLINE
=no
5677 DEFAULT_wxUSE_STATUSBAR
=no
5678 DEFAULT_wxUSE_TAB_DIALOG
=no
5679 DEFAULT_wxUSE_TOGGLEBTN
=no
5680 DEFAULT_wxUSE_TOOLBAR
=no
5681 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5682 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5683 DEFAULT_wxUSE_TOOLTIPS
=no
5684 DEFAULT_wxUSE_TREECTRL
=no
5685 DEFAULT_wxUSE_POPUPWIN
=no
5686 DEFAULT_wxUSE_TIPWINDOW
=no
5690 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5691 echo "configure:5692: checking for --enable-accel" >&5
5693 # Check whether --enable-accel or --disable-accel was given.
5694 if test "${enable_accel+set}" = set; then
5695 enableval
="$enable_accel"
5697 if test "$enableval" = yes; then
5698 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5700 ac_cv_use_accel
='wxUSE_ACCEL=no'
5705 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5706 if test "x$LINE" != x
; then
5707 eval "DEFAULT_$LINE"
5712 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5717 eval "$ac_cv_use_accel"
5718 if test "$no_cache" != 1; then
5719 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5722 if test "$wxUSE_ACCEL" = yes; then
5723 echo "$ac_t""yes" 1>&6
5725 echo "$ac_t""no" 1>&6
5729 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5730 echo "configure:5731: checking for --enable-button" >&5
5732 # Check whether --enable-button or --disable-button was given.
5733 if test "${enable_button+set}" = set; then
5734 enableval
="$enable_button"
5736 if test "$enableval" = yes; then
5737 ac_cv_use_button
='wxUSE_BUTTON=yes'
5739 ac_cv_use_button
='wxUSE_BUTTON=no'
5744 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5745 if test "x$LINE" != x
; then
5746 eval "DEFAULT_$LINE"
5751 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5756 eval "$ac_cv_use_button"
5757 if test "$no_cache" != 1; then
5758 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5761 if test "$wxUSE_BUTTON" = yes; then
5762 echo "$ac_t""yes" 1>&6
5764 echo "$ac_t""no" 1>&6
5768 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5769 echo "configure:5770: checking for --enable-bmpbutton" >&5
5771 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5772 if test "${enable_bmpbutton+set}" = set; then
5773 enableval
="$enable_bmpbutton"
5775 if test "$enableval" = yes; then
5776 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5778 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5783 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5784 if test "x$LINE" != x
; then
5785 eval "DEFAULT_$LINE"
5790 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5795 eval "$ac_cv_use_bmpbutton"
5796 if test "$no_cache" != 1; then
5797 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5800 if test "$wxUSE_BMPBUTTON" = yes; then
5801 echo "$ac_t""yes" 1>&6
5803 echo "$ac_t""no" 1>&6
5807 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5808 echo "configure:5809: checking for --enable-calendar" >&5
5810 # Check whether --enable-calendar or --disable-calendar was given.
5811 if test "${enable_calendar+set}" = set; then
5812 enableval
="$enable_calendar"
5814 if test "$enableval" = yes; then
5815 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5817 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5822 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5823 if test "x$LINE" != x
; then
5824 eval "DEFAULT_$LINE"
5829 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5834 eval "$ac_cv_use_calendar"
5835 if test "$no_cache" != 1; then
5836 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5839 if test "$wxUSE_CALCTRL" = yes; then
5840 echo "$ac_t""yes" 1>&6
5842 echo "$ac_t""no" 1>&6
5846 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5847 echo "configure:5848: checking for --enable-caret" >&5
5849 # Check whether --enable-caret or --disable-caret was given.
5850 if test "${enable_caret+set}" = set; then
5851 enableval
="$enable_caret"
5853 if test "$enableval" = yes; then
5854 ac_cv_use_caret
='wxUSE_CARET=yes'
5856 ac_cv_use_caret
='wxUSE_CARET=no'
5861 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5862 if test "x$LINE" != x
; then
5863 eval "DEFAULT_$LINE"
5868 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5873 eval "$ac_cv_use_caret"
5874 if test "$no_cache" != 1; then
5875 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5878 if test "$wxUSE_CARET" = yes; then
5879 echo "$ac_t""yes" 1>&6
5881 echo "$ac_t""no" 1>&6
5885 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5886 echo "configure:5887: checking for --enable-checkbox" >&5
5888 # Check whether --enable-checkbox or --disable-checkbox was given.
5889 if test "${enable_checkbox+set}" = set; then
5890 enableval
="$enable_checkbox"
5892 if test "$enableval" = yes; then
5893 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5895 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5900 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5901 if test "x$LINE" != x
; then
5902 eval "DEFAULT_$LINE"
5907 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5912 eval "$ac_cv_use_checkbox"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5917 if test "$wxUSE_CHECKBOX" = yes; then
5918 echo "$ac_t""yes" 1>&6
5920 echo "$ac_t""no" 1>&6
5924 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5925 echo "configure:5926: checking for --enable-checklst" >&5
5927 # Check whether --enable-checklst or --disable-checklst was given.
5928 if test "${enable_checklst+set}" = set; then
5929 enableval
="$enable_checklst"
5931 if test "$enableval" = yes; then
5932 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5934 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5939 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5940 if test "x$LINE" != x
; then
5941 eval "DEFAULT_$LINE"
5946 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5951 eval "$ac_cv_use_checklst"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5956 if test "$wxUSE_CHECKLST" = yes; then
5957 echo "$ac_t""yes" 1>&6
5959 echo "$ac_t""no" 1>&6
5963 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5964 echo "configure:5965: checking for --enable-choice" >&5
5966 # Check whether --enable-choice or --disable-choice was given.
5967 if test "${enable_choice+set}" = set; then
5968 enableval
="$enable_choice"
5970 if test "$enableval" = yes; then
5971 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5973 ac_cv_use_choice
='wxUSE_CHOICE=no'
5978 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x
; then
5980 eval "DEFAULT_$LINE"
5985 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5990 eval "$ac_cv_use_choice"
5991 if test "$no_cache" != 1; then
5992 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5995 if test "$wxUSE_CHOICE" = yes; then
5996 echo "$ac_t""yes" 1>&6
5998 echo "$ac_t""no" 1>&6
6002 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6003 echo "configure:6004: checking for --enable-combobox" >&5
6005 # Check whether --enable-combobox or --disable-combobox was given.
6006 if test "${enable_combobox+set}" = set; then
6007 enableval
="$enable_combobox"
6009 if test "$enableval" = yes; then
6010 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6012 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6017 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6018 if test "x$LINE" != x
; then
6019 eval "DEFAULT_$LINE"
6024 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6029 eval "$ac_cv_use_combobox"
6030 if test "$no_cache" != 1; then
6031 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6034 if test "$wxUSE_COMBOBOX" = yes; then
6035 echo "$ac_t""yes" 1>&6
6037 echo "$ac_t""no" 1>&6
6041 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6042 echo "configure:6043: checking for --enable-gauge" >&5
6044 # Check whether --enable-gauge or --disable-gauge was given.
6045 if test "${enable_gauge+set}" = set; then
6046 enableval
="$enable_gauge"
6048 if test "$enableval" = yes; then
6049 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6051 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6056 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6057 if test "x$LINE" != x
; then
6058 eval "DEFAULT_$LINE"
6063 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6068 eval "$ac_cv_use_gauge"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6073 if test "$wxUSE_GAUGE" = yes; then
6074 echo "$ac_t""yes" 1>&6
6076 echo "$ac_t""no" 1>&6
6080 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6081 echo "configure:6082: checking for --enable-grid" >&5
6083 # Check whether --enable-grid or --disable-grid was given.
6084 if test "${enable_grid+set}" = set; then
6085 enableval
="$enable_grid"
6087 if test "$enableval" = yes; then
6088 ac_cv_use_grid
='wxUSE_GRID=yes'
6090 ac_cv_use_grid
='wxUSE_GRID=no'
6095 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6096 if test "x$LINE" != x
; then
6097 eval "DEFAULT_$LINE"
6102 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6107 eval "$ac_cv_use_grid"
6108 if test "$no_cache" != 1; then
6109 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6112 if test "$wxUSE_GRID" = yes; then
6113 echo "$ac_t""yes" 1>&6
6115 echo "$ac_t""no" 1>&6
6119 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6120 echo "configure:6121: checking for --enable-newgrid" >&5
6122 # Check whether --enable-newgrid or --disable-newgrid was given.
6123 if test "${enable_newgrid+set}" = set; then
6124 enableval
="$enable_newgrid"
6126 if test "$enableval" = yes; then
6127 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6129 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6134 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6135 if test "x$LINE" != x
; then
6136 eval "DEFAULT_$LINE"
6141 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6146 eval "$ac_cv_use_newgrid"
6147 if test "$no_cache" != 1; then
6148 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6151 if test "$wxUSE_NEW_GRID" = yes; then
6152 echo "$ac_t""yes" 1>&6
6154 echo "$ac_t""no" 1>&6
6158 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6159 echo "configure:6160: checking for --enable-imaglist" >&5
6161 # Check whether --enable-imaglist or --disable-imaglist was given.
6162 if test "${enable_imaglist+set}" = set; then
6163 enableval
="$enable_imaglist"
6165 if test "$enableval" = yes; then
6166 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6168 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6173 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6174 if test "x$LINE" != x
; then
6175 eval "DEFAULT_$LINE"
6180 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6185 eval "$ac_cv_use_imaglist"
6186 if test "$no_cache" != 1; then
6187 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6190 if test "$wxUSE_IMAGLIST" = yes; then
6191 echo "$ac_t""yes" 1>&6
6193 echo "$ac_t""no" 1>&6
6197 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6198 echo "configure:6199: checking for --enable-listbox" >&5
6200 # Check whether --enable-listbox or --disable-listbox was given.
6201 if test "${enable_listbox+set}" = set; then
6202 enableval
="$enable_listbox"
6204 if test "$enableval" = yes; then
6205 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6207 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6212 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x
; then
6214 eval "DEFAULT_$LINE"
6219 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6224 eval "$ac_cv_use_listbox"
6225 if test "$no_cache" != 1; then
6226 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6229 if test "$wxUSE_LISTBOX" = yes; then
6230 echo "$ac_t""yes" 1>&6
6232 echo "$ac_t""no" 1>&6
6236 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6237 echo "configure:6238: checking for --enable-listctrl" >&5
6239 # Check whether --enable-listctrl or --disable-listctrl was given.
6240 if test "${enable_listctrl+set}" = set; then
6241 enableval
="$enable_listctrl"
6243 if test "$enableval" = yes; then
6244 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6246 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6251 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6252 if test "x$LINE" != x
; then
6253 eval "DEFAULT_$LINE"
6258 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6263 eval "$ac_cv_use_listctrl"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6268 if test "$wxUSE_LISTCTRL" = yes; then
6269 echo "$ac_t""yes" 1>&6
6271 echo "$ac_t""no" 1>&6
6275 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6276 echo "configure:6277: checking for --enable-notebook" >&5
6278 # Check whether --enable-notebook or --disable-notebook was given.
6279 if test "${enable_notebook+set}" = set; then
6280 enableval
="$enable_notebook"
6282 if test "$enableval" = yes; then
6283 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6285 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6290 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6291 if test "x$LINE" != x
; then
6292 eval "DEFAULT_$LINE"
6297 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6302 eval "$ac_cv_use_notebook"
6303 if test "$no_cache" != 1; then
6304 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6307 if test "$wxUSE_NOTEBOOK" = yes; then
6308 echo "$ac_t""yes" 1>&6
6310 echo "$ac_t""no" 1>&6
6314 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6315 echo "configure:6316: checking for --enable-propsheet" >&5
6317 # Check whether --enable-propsheet or --disable-propsheet was given.
6318 if test "${enable_propsheet+set}" = set; then
6319 enableval
="$enable_propsheet"
6321 if test "$enableval" = yes; then
6322 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6324 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6329 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6330 if test "x$LINE" != x
; then
6331 eval "DEFAULT_$LINE"
6336 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6341 eval "$ac_cv_use_propsheet"
6342 if test "$no_cache" != 1; then
6343 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6346 if test "$wxUSE_PROPSHEET" = yes; then
6347 echo "$ac_t""yes" 1>&6
6349 echo "$ac_t""no" 1>&6
6353 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6354 echo "configure:6355: checking for --enable-radiobox" >&5
6356 # Check whether --enable-radiobox or --disable-radiobox was given.
6357 if test "${enable_radiobox+set}" = set; then
6358 enableval
="$enable_radiobox"
6360 if test "$enableval" = yes; then
6361 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6363 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6368 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x
; then
6370 eval "DEFAULT_$LINE"
6375 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6380 eval "$ac_cv_use_radiobox"
6381 if test "$no_cache" != 1; then
6382 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6385 if test "$wxUSE_RADIOBOX" = yes; then
6386 echo "$ac_t""yes" 1>&6
6388 echo "$ac_t""no" 1>&6
6392 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6393 echo "configure:6394: checking for --enable-radiobtn" >&5
6395 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6396 if test "${enable_radiobtn+set}" = set; then
6397 enableval
="$enable_radiobtn"
6399 if test "$enableval" = yes; then
6400 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6402 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6407 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6408 if test "x$LINE" != x
; then
6409 eval "DEFAULT_$LINE"
6414 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6419 eval "$ac_cv_use_radiobtn"
6420 if test "$no_cache" != 1; then
6421 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6424 if test "$wxUSE_RADIOBTN" = yes; then
6425 echo "$ac_t""yes" 1>&6
6427 echo "$ac_t""no" 1>&6
6431 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6432 echo "configure:6433: checking for --enable-sash" >&5
6434 # Check whether --enable-sash or --disable-sash was given.
6435 if test "${enable_sash+set}" = set; then
6436 enableval
="$enable_sash"
6438 if test "$enableval" = yes; then
6439 ac_cv_use_sash
='wxUSE_SASH=yes'
6441 ac_cv_use_sash
='wxUSE_SASH=no'
6446 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6447 if test "x$LINE" != x
; then
6448 eval "DEFAULT_$LINE"
6453 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6458 eval "$ac_cv_use_sash"
6459 if test "$no_cache" != 1; then
6460 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6463 if test "$wxUSE_SASH" = yes; then
6464 echo "$ac_t""yes" 1>&6
6466 echo "$ac_t""no" 1>&6
6470 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6471 echo "configure:6472: checking for --enable-scrollbar" >&5
6473 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6474 if test "${enable_scrollbar+set}" = set; then
6475 enableval
="$enable_scrollbar"
6477 if test "$enableval" = yes; then
6478 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6480 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6485 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6486 if test "x$LINE" != x
; then
6487 eval "DEFAULT_$LINE"
6492 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6497 eval "$ac_cv_use_scrollbar"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6502 if test "$wxUSE_SCROLLBAR" = yes; then
6503 echo "$ac_t""yes" 1>&6
6505 echo "$ac_t""no" 1>&6
6509 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6510 echo "configure:6511: checking for --enable-slider" >&5
6512 # Check whether --enable-slider or --disable-slider was given.
6513 if test "${enable_slider+set}" = set; then
6514 enableval
="$enable_slider"
6516 if test "$enableval" = yes; then
6517 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6519 ac_cv_use_slider
='wxUSE_SLIDER=no'
6524 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x
; then
6526 eval "DEFAULT_$LINE"
6531 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6536 eval "$ac_cv_use_slider"
6537 if test "$no_cache" != 1; then
6538 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6541 if test "$wxUSE_SLIDER" = yes; then
6542 echo "$ac_t""yes" 1>&6
6544 echo "$ac_t""no" 1>&6
6548 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6549 echo "configure:6550: checking for --enable-spinbtn" >&5
6551 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6552 if test "${enable_spinbtn+set}" = set; then
6553 enableval
="$enable_spinbtn"
6555 if test "$enableval" = yes; then
6556 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6558 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6563 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6564 if test "x$LINE" != x
; then
6565 eval "DEFAULT_$LINE"
6570 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6575 eval "$ac_cv_use_spinbtn"
6576 if test "$no_cache" != 1; then
6577 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6580 if test "$wxUSE_SPINBTN" = yes; then
6581 echo "$ac_t""yes" 1>&6
6583 echo "$ac_t""no" 1>&6
6587 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6588 echo "configure:6589: checking for --enable-spinctrl" >&5
6590 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6591 if test "${enable_spinctrl+set}" = set; then
6592 enableval
="$enable_spinctrl"
6594 if test "$enableval" = yes; then
6595 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6597 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6602 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6603 if test "x$LINE" != x
; then
6604 eval "DEFAULT_$LINE"
6609 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6614 eval "$ac_cv_use_spinctrl"
6615 if test "$no_cache" != 1; then
6616 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6619 if test "$wxUSE_SPINCTRL" = yes; then
6620 echo "$ac_t""yes" 1>&6
6622 echo "$ac_t""no" 1>&6
6626 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6627 echo "configure:6628: checking for --enable-splitter" >&5
6629 # Check whether --enable-splitter or --disable-splitter was given.
6630 if test "${enable_splitter+set}" = set; then
6631 enableval
="$enable_splitter"
6633 if test "$enableval" = yes; then
6634 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6636 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6641 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6642 if test "x$LINE" != x
; then
6643 eval "DEFAULT_$LINE"
6648 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6653 eval "$ac_cv_use_splitter"
6654 if test "$no_cache" != 1; then
6655 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6658 if test "$wxUSE_SPLITTER" = yes; then
6659 echo "$ac_t""yes" 1>&6
6661 echo "$ac_t""no" 1>&6
6665 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6666 echo "configure:6667: checking for --enable-statbmp" >&5
6668 # Check whether --enable-statbmp or --disable-statbmp was given.
6669 if test "${enable_statbmp+set}" = set; then
6670 enableval
="$enable_statbmp"
6672 if test "$enableval" = yes; then
6673 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6675 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6680 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6681 if test "x$LINE" != x
; then
6682 eval "DEFAULT_$LINE"
6687 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6692 eval "$ac_cv_use_statbmp"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6697 if test "$wxUSE_STATBMP" = yes; then
6698 echo "$ac_t""yes" 1>&6
6700 echo "$ac_t""no" 1>&6
6704 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6705 echo "configure:6706: checking for --enable-statbox" >&5
6707 # Check whether --enable-statbox or --disable-statbox was given.
6708 if test "${enable_statbox+set}" = set; then
6709 enableval
="$enable_statbox"
6711 if test "$enableval" = yes; then
6712 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6714 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6719 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6720 if test "x$LINE" != x
; then
6721 eval "DEFAULT_$LINE"
6726 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6731 eval "$ac_cv_use_statbox"
6732 if test "$no_cache" != 1; then
6733 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6736 if test "$wxUSE_STATBOX" = yes; then
6737 echo "$ac_t""yes" 1>&6
6739 echo "$ac_t""no" 1>&6
6743 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6744 echo "configure:6745: checking for --enable-statline" >&5
6746 # Check whether --enable-statline or --disable-statline was given.
6747 if test "${enable_statline+set}" = set; then
6748 enableval
="$enable_statline"
6750 if test "$enableval" = yes; then
6751 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6753 ac_cv_use_statline
='wxUSE_STATLINE=no'
6758 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6759 if test "x$LINE" != x
; then
6760 eval "DEFAULT_$LINE"
6765 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6770 eval "$ac_cv_use_statline"
6771 if test "$no_cache" != 1; then
6772 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6775 if test "$wxUSE_STATLINE" = yes; then
6776 echo "$ac_t""yes" 1>&6
6778 echo "$ac_t""no" 1>&6
6782 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6783 echo "configure:6784: checking for --enable-stattext" >&5
6785 # Check whether --enable-stattext or --disable-stattext was given.
6786 if test "${enable_stattext+set}" = set; then
6787 enableval
="$enable_stattext"
6789 if test "$enableval" = yes; then
6790 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6792 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6797 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6798 if test "x$LINE" != x
; then
6799 eval "DEFAULT_$LINE"
6804 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6809 eval "$ac_cv_use_stattext"
6810 if test "$no_cache" != 1; then
6811 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6814 if test "$wxUSE_STATTEXT" = yes; then
6815 echo "$ac_t""yes" 1>&6
6817 echo "$ac_t""no" 1>&6
6821 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6822 echo "configure:6823: checking for --enable-statusbar" >&5
6824 # Check whether --enable-statusbar or --disable-statusbar was given.
6825 if test "${enable_statusbar+set}" = set; then
6826 enableval
="$enable_statusbar"
6828 if test "$enableval" = yes; then
6829 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6831 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6836 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6837 if test "x$LINE" != x
; then
6838 eval "DEFAULT_$LINE"
6843 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6848 eval "$ac_cv_use_statusbar"
6849 if test "$no_cache" != 1; then
6850 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6853 if test "$wxUSE_STATUSBAR" = yes; then
6854 echo "$ac_t""yes" 1>&6
6856 echo "$ac_t""no" 1>&6
6860 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6861 echo "configure:6862: checking for --enable-tabdialog" >&5
6863 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6864 if test "${enable_tabdialog+set}" = set; then
6865 enableval
="$enable_tabdialog"
6867 if test "$enableval" = yes; then
6868 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6870 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6875 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6876 if test "x$LINE" != x
; then
6877 eval "DEFAULT_$LINE"
6882 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6887 eval "$ac_cv_use_tabdialog"
6888 if test "$no_cache" != 1; then
6889 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6892 if test "$wxUSE_TABDIALOG" = yes; then
6893 echo "$ac_t""yes" 1>&6
6895 echo "$ac_t""no" 1>&6
6899 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6900 echo "configure:6901: checking for --enable-textctrl" >&5
6902 # Check whether --enable-textctrl or --disable-textctrl was given.
6903 if test "${enable_textctrl+set}" = set; then
6904 enableval
="$enable_textctrl"
6906 if test "$enableval" = yes; then
6907 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6909 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6914 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6915 if test "x$LINE" != x
; then
6916 eval "DEFAULT_$LINE"
6921 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6926 eval "$ac_cv_use_textctrl"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6931 if test "$wxUSE_TEXTCTRL" = yes; then
6932 echo "$ac_t""yes" 1>&6
6934 echo "$ac_t""no" 1>&6
6938 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6939 echo "configure:6940: checking for --enable-togglebtn" >&5
6941 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6942 if test "${enable_togglebtn+set}" = set; then
6943 enableval
="$enable_togglebtn"
6945 if test "$enableval" = yes; then
6946 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6948 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6953 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6954 if test "x$LINE" != x
; then
6955 eval "DEFAULT_$LINE"
6960 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6965 eval "$ac_cv_use_togglebtn"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_TOGGLEBTN" = yes; then
6971 echo "$ac_t""yes" 1>&6
6973 echo "$ac_t""no" 1>&6
6977 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6978 echo "configure:6979: checking for --enable-toolbar" >&5
6980 # Check whether --enable-toolbar or --disable-toolbar was given.
6981 if test "${enable_toolbar+set}" = set; then
6982 enableval
="$enable_toolbar"
6984 if test "$enableval" = yes; then
6985 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6987 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6992 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6993 if test "x$LINE" != x
; then
6994 eval "DEFAULT_$LINE"
6999 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7004 eval "$ac_cv_use_toolbar"
7005 if test "$no_cache" != 1; then
7006 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7009 if test "$wxUSE_TOOLBAR" = yes; then
7010 echo "$ac_t""yes" 1>&6
7012 echo "$ac_t""no" 1>&6
7016 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7017 echo "configure:7018: checking for --enable-tbarnative" >&5
7019 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7020 if test "${enable_tbarnative+set}" = set; then
7021 enableval
="$enable_tbarnative"
7023 if test "$enableval" = yes; then
7024 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7026 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7031 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7032 if test "x$LINE" != x
; then
7033 eval "DEFAULT_$LINE"
7038 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7043 eval "$ac_cv_use_tbarnative"
7044 if test "$no_cache" != 1; then
7045 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7048 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7049 echo "$ac_t""yes" 1>&6
7051 echo "$ac_t""no" 1>&6
7055 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7056 echo "configure:7057: checking for --enable-tbarsmpl" >&5
7058 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7059 if test "${enable_tbarsmpl+set}" = set; then
7060 enableval
="$enable_tbarsmpl"
7062 if test "$enableval" = yes; then
7063 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7065 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7070 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7071 if test "x$LINE" != x
; then
7072 eval "DEFAULT_$LINE"
7077 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7082 eval "$ac_cv_use_tbarsmpl"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7087 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7088 echo "$ac_t""yes" 1>&6
7090 echo "$ac_t""no" 1>&6
7094 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7095 echo "configure:7096: checking for --enable-treectrl" >&5
7097 # Check whether --enable-treectrl or --disable-treectrl was given.
7098 if test "${enable_treectrl+set}" = set; then
7099 enableval
="$enable_treectrl"
7101 if test "$enableval" = yes; then
7102 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7104 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7109 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x
; then
7111 eval "DEFAULT_$LINE"
7116 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7121 eval "$ac_cv_use_treectrl"
7122 if test "$no_cache" != 1; then
7123 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7126 if test "$wxUSE_TREECTRL" = yes; then
7127 echo "$ac_t""yes" 1>&6
7129 echo "$ac_t""no" 1>&6
7133 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7134 echo "configure:7135: checking for --enable-tipwindow" >&5
7136 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7137 if test "${enable_tipwindow+set}" = set; then
7138 enableval
="$enable_tipwindow"
7140 if test "$enableval" = yes; then
7141 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7143 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7148 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7149 if test "x$LINE" != x
; then
7150 eval "DEFAULT_$LINE"
7155 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7160 eval "$ac_cv_use_tipwindow"
7161 if test "$no_cache" != 1; then
7162 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7165 if test "$wxUSE_TIPWINDOW" = yes; then
7166 echo "$ac_t""yes" 1>&6
7168 echo "$ac_t""no" 1>&6
7172 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7173 echo "configure:7174: checking for --enable-popupwin" >&5
7175 # Check whether --enable-popupwin or --disable-popupwin was given.
7176 if test "${enable_popupwin+set}" = set; then
7177 enableval
="$enable_popupwin"
7179 if test "$enableval" = yes; then
7180 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7182 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7187 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7188 if test "x$LINE" != x
; then
7189 eval "DEFAULT_$LINE"
7194 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7199 eval "$ac_cv_use_popupwin"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_POPUPWIN" = yes; then
7205 echo "$ac_t""yes" 1>&6
7207 echo "$ac_t""no" 1>&6
7213 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7214 echo "configure:7215: checking for --enable-commondlg" >&5
7216 # Check whether --enable-commondlg or --disable-commondlg was given.
7217 if test "${enable_commondlg+set}" = set; then
7218 enableval
="$enable_commondlg"
7220 if test "$enableval" = yes; then
7221 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7223 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7228 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7229 if test "x$LINE" != x
; then
7230 eval "DEFAULT_$LINE"
7235 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7240 eval "$ac_cv_use_commondlg"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_COMMONDLGS" = yes; then
7246 echo "$ac_t""yes" 1>&6
7248 echo "$ac_t""no" 1>&6
7252 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7253 echo "configure:7254: checking for --enable-choicedlg" >&5
7255 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7256 if test "${enable_choicedlg+set}" = set; then
7257 enableval
="$enable_choicedlg"
7259 if test "$enableval" = yes; then
7260 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7262 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7267 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7268 if test "x$LINE" != x
; then
7269 eval "DEFAULT_$LINE"
7274 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7279 eval "$ac_cv_use_choicedlg"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7284 if test "$wxUSE_CHOICEDLG" = yes; then
7285 echo "$ac_t""yes" 1>&6
7287 echo "$ac_t""no" 1>&6
7291 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7292 echo "configure:7293: checking for --enable-coldlg" >&5
7294 # Check whether --enable-coldlg or --disable-coldlg was given.
7295 if test "${enable_coldlg+set}" = set; then
7296 enableval
="$enable_coldlg"
7298 if test "$enableval" = yes; then
7299 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7301 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7306 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x
; then
7308 eval "DEFAULT_$LINE"
7313 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7318 eval "$ac_cv_use_coldlg"
7319 if test "$no_cache" != 1; then
7320 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7323 if test "$wxUSE_COLOURDLG" = yes; then
7324 echo "$ac_t""yes" 1>&6
7326 echo "$ac_t""no" 1>&6
7330 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7331 echo "configure:7332: checking for --enable-filedlg" >&5
7333 # Check whether --enable-filedlg or --disable-filedlg was given.
7334 if test "${enable_filedlg+set}" = set; then
7335 enableval
="$enable_filedlg"
7337 if test "$enableval" = yes; then
7338 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7340 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7345 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7346 if test "x$LINE" != x
; then
7347 eval "DEFAULT_$LINE"
7352 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7357 eval "$ac_cv_use_filedlg"
7358 if test "$no_cache" != 1; then
7359 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7362 if test "$wxUSE_FILEDLG" = yes; then
7363 echo "$ac_t""yes" 1>&6
7365 echo "$ac_t""no" 1>&6
7369 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7370 echo "configure:7371: checking for --enable-finddlg" >&5
7372 # Check whether --enable-finddlg or --disable-finddlg was given.
7373 if test "${enable_finddlg+set}" = set; then
7374 enableval
="$enable_finddlg"
7376 if test "$enableval" = yes; then
7377 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7379 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7384 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7385 if test "x$LINE" != x
; then
7386 eval "DEFAULT_$LINE"
7391 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7396 eval "$ac_cv_use_finddlg"
7397 if test "$no_cache" != 1; then
7398 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7401 if test "$wxUSE_FINDREPLDLG" = yes; then
7402 echo "$ac_t""yes" 1>&6
7404 echo "$ac_t""no" 1>&6
7408 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7409 echo "configure:7410: checking for --enable-fontdlg" >&5
7411 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7412 if test "${enable_fontdlg+set}" = set; then
7413 enableval
="$enable_fontdlg"
7415 if test "$enableval" = yes; then
7416 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7418 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7423 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7424 if test "x$LINE" != x
; then
7425 eval "DEFAULT_$LINE"
7430 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7435 eval "$ac_cv_use_fontdlg"
7436 if test "$no_cache" != 1; then
7437 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7440 if test "$wxUSE_FONTDLG" = yes; then
7441 echo "$ac_t""yes" 1>&6
7443 echo "$ac_t""no" 1>&6
7447 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7448 echo "configure:7449: checking for --enable-dirdlg" >&5
7450 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7451 if test "${enable_dirdlg+set}" = set; then
7452 enableval
="$enable_dirdlg"
7454 if test "$enableval" = yes; then
7455 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7457 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7462 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7463 if test "x$LINE" != x
; then
7464 eval "DEFAULT_$LINE"
7469 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7474 eval "$ac_cv_use_dirdlg"
7475 if test "$no_cache" != 1; then
7476 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7479 if test "$wxUSE_DIRDLG" = yes; then
7480 echo "$ac_t""yes" 1>&6
7482 echo "$ac_t""no" 1>&6
7486 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7487 echo "configure:7488: checking for --enable-msgdlg" >&5
7489 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7490 if test "${enable_msgdlg+set}" = set; then
7491 enableval
="$enable_msgdlg"
7493 if test "$enableval" = yes; then
7494 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7496 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7501 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7502 if test "x$LINE" != x
; then
7503 eval "DEFAULT_$LINE"
7508 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7513 eval "$ac_cv_use_msgdlg"
7514 if test "$no_cache" != 1; then
7515 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7518 if test "$wxUSE_MSGDLG" = yes; then
7519 echo "$ac_t""yes" 1>&6
7521 echo "$ac_t""no" 1>&6
7525 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7526 echo "configure:7527: checking for --enable-numberdlg" >&5
7528 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7529 if test "${enable_numberdlg+set}" = set; then
7530 enableval
="$enable_numberdlg"
7532 if test "$enableval" = yes; then
7533 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7535 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7540 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x
; then
7542 eval "DEFAULT_$LINE"
7547 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7552 eval "$ac_cv_use_numberdlg"
7553 if test "$no_cache" != 1; then
7554 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7557 if test "$wxUSE_NUMBERDLG" = yes; then
7558 echo "$ac_t""yes" 1>&6
7560 echo "$ac_t""no" 1>&6
7564 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7565 echo "configure:7566: checking for --enable-splash" >&5
7567 # Check whether --enable-splash or --disable-splash was given.
7568 if test "${enable_splash+set}" = set; then
7569 enableval
="$enable_splash"
7571 if test "$enableval" = yes; then
7572 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7574 ac_cv_use_splash
='wxUSE_SPLASH=no'
7579 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7580 if test "x$LINE" != x
; then
7581 eval "DEFAULT_$LINE"
7586 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7591 eval "$ac_cv_use_splash"
7592 if test "$no_cache" != 1; then
7593 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7596 if test "$wxUSE_SPLASH" = yes; then
7597 echo "$ac_t""yes" 1>&6
7599 echo "$ac_t""no" 1>&6
7603 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7604 echo "configure:7605: checking for --enable-textdlg" >&5
7606 # Check whether --enable-textdlg or --disable-textdlg was given.
7607 if test "${enable_textdlg+set}" = set; then
7608 enableval
="$enable_textdlg"
7610 if test "$enableval" = yes; then
7611 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7613 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7618 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7619 if test "x$LINE" != x
; then
7620 eval "DEFAULT_$LINE"
7625 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7630 eval "$ac_cv_use_textdlg"
7631 if test "$no_cache" != 1; then
7632 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7635 if test "$wxUSE_TEXTDLG" = yes; then
7636 echo "$ac_t""yes" 1>&6
7638 echo "$ac_t""no" 1>&6
7642 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7643 echo "configure:7644: checking for --enable-tipdlg" >&5
7645 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7646 if test "${enable_tipdlg+set}" = set; then
7647 enableval
="$enable_tipdlg"
7649 if test "$enableval" = yes; then
7650 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7652 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7657 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7658 if test "x$LINE" != x
; then
7659 eval "DEFAULT_$LINE"
7664 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7669 eval "$ac_cv_use_tipdlg"
7670 if test "$no_cache" != 1; then
7671 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7674 if test "$wxUSE_STARTUP_TIPS" = yes; then
7675 echo "$ac_t""yes" 1>&6
7677 echo "$ac_t""no" 1>&6
7681 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7682 echo "configure:7683: checking for --enable-progressdlg" >&5
7684 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7685 if test "${enable_progressdlg+set}" = set; then
7686 enableval
="$enable_progressdlg"
7688 if test "$enableval" = yes; then
7689 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7691 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7696 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7697 if test "x$LINE" != x
; then
7698 eval "DEFAULT_$LINE"
7703 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7708 eval "$ac_cv_use_progressdlg"
7709 if test "$no_cache" != 1; then
7710 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7713 if test "$wxUSE_PROGRESSDLG" = yes; then
7714 echo "$ac_t""yes" 1>&6
7716 echo "$ac_t""no" 1>&6
7720 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7721 echo "configure:7722: checking for --enable-wizarddlg" >&5
7723 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7724 if test "${enable_wizarddlg+set}" = set; then
7725 enableval
="$enable_wizarddlg"
7727 if test "$enableval" = yes; then
7728 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7730 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7735 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7736 if test "x$LINE" != x
; then
7737 eval "DEFAULT_$LINE"
7742 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7747 eval "$ac_cv_use_wizarddlg"
7748 if test "$no_cache" != 1; then
7749 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7752 if test "$wxUSE_WIZARDDLG" = yes; then
7753 echo "$ac_t""yes" 1>&6
7755 echo "$ac_t""no" 1>&6
7761 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7762 echo "configure:7763: checking for --enable-menus" >&5
7764 # Check whether --enable-menus or --disable-menus was given.
7765 if test "${enable_menus+set}" = set; then
7766 enableval
="$enable_menus"
7768 if test "$enableval" = yes; then
7769 ac_cv_use_menus
='wxUSE_MENUS=yes'
7771 ac_cv_use_menus
='wxUSE_MENUS=no'
7776 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7777 if test "x$LINE" != x
; then
7778 eval "DEFAULT_$LINE"
7783 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7788 eval "$ac_cv_use_menus"
7789 if test "$no_cache" != 1; then
7790 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7793 if test "$wxUSE_MENUS" = yes; then
7794 echo "$ac_t""yes" 1>&6
7796 echo "$ac_t""no" 1>&6
7800 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7801 echo "configure:7802: checking for --enable-miniframe" >&5
7803 # Check whether --enable-miniframe or --disable-miniframe was given.
7804 if test "${enable_miniframe+set}" = set; then
7805 enableval
="$enable_miniframe"
7807 if test "$enableval" = yes; then
7808 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7810 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7815 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x
; then
7817 eval "DEFAULT_$LINE"
7822 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7827 eval "$ac_cv_use_miniframe"
7828 if test "$no_cache" != 1; then
7829 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7832 if test "$wxUSE_MINIFRAME" = yes; then
7833 echo "$ac_t""yes" 1>&6
7835 echo "$ac_t""no" 1>&6
7839 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7840 echo "configure:7841: checking for --enable-tooltips" >&5
7842 # Check whether --enable-tooltips or --disable-tooltips was given.
7843 if test "${enable_tooltips+set}" = set; then
7844 enableval
="$enable_tooltips"
7846 if test "$enableval" = yes; then
7847 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7849 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7854 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7855 if test "x$LINE" != x
; then
7856 eval "DEFAULT_$LINE"
7861 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7866 eval "$ac_cv_use_tooltips"
7867 if test "$no_cache" != 1; then
7868 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7871 if test "$wxUSE_TOOLTIPS" = yes; then
7872 echo "$ac_t""yes" 1>&6
7874 echo "$ac_t""no" 1>&6
7878 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7879 echo "configure:7880: checking for --enable-splines" >&5
7881 # Check whether --enable-splines or --disable-splines was given.
7882 if test "${enable_splines+set}" = set; then
7883 enableval
="$enable_splines"
7885 if test "$enableval" = yes; then
7886 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7888 ac_cv_use_splines
='wxUSE_SPLINES=no'
7893 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7894 if test "x$LINE" != x
; then
7895 eval "DEFAULT_$LINE"
7900 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7905 eval "$ac_cv_use_splines"
7906 if test "$no_cache" != 1; then
7907 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7910 if test "$wxUSE_SPLINES" = yes; then
7911 echo "$ac_t""yes" 1>&6
7913 echo "$ac_t""no" 1>&6
7917 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7918 echo "configure:7919: checking for --enable-validators" >&5
7920 # Check whether --enable-validators or --disable-validators was given.
7921 if test "${enable_validators+set}" = set; then
7922 enableval
="$enable_validators"
7924 if test "$enableval" = yes; then
7925 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7927 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7932 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x
; then
7934 eval "DEFAULT_$LINE"
7939 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7944 eval "$ac_cv_use_validators"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7949 if test "$wxUSE_VALIDATORS" = yes; then
7950 echo "$ac_t""yes" 1>&6
7952 echo "$ac_t""no" 1>&6
7956 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7957 echo "configure:7958: checking for --enable-busyinfo" >&5
7959 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7960 if test "${enable_busyinfo+set}" = set; then
7961 enableval
="$enable_busyinfo"
7963 if test "$enableval" = yes; then
7964 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7966 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7971 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x
; then
7973 eval "DEFAULT_$LINE"
7978 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7983 eval "$ac_cv_use_busyinfo"
7984 if test "$no_cache" != 1; then
7985 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7988 if test "$wxUSE_BUSYINFO" = yes; then
7989 echo "$ac_t""yes" 1>&6
7991 echo "$ac_t""no" 1>&6
7995 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7996 echo "configure:7997: checking for --enable-joystick" >&5
7998 # Check whether --enable-joystick or --disable-joystick was given.
7999 if test "${enable_joystick+set}" = set; then
8000 enableval
="$enable_joystick"
8002 if test "$enableval" = yes; then
8003 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8005 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8010 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8011 if test "x$LINE" != x
; then
8012 eval "DEFAULT_$LINE"
8017 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8022 eval "$ac_cv_use_joystick"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8027 if test "$wxUSE_JOYSTICK" = yes; then
8028 echo "$ac_t""yes" 1>&6
8030 echo "$ac_t""no" 1>&6
8034 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8035 echo "configure:8036: checking for --enable-metafile" >&5
8037 # Check whether --enable-metafile or --disable-metafile was given.
8038 if test "${enable_metafile+set}" = set; then
8039 enableval
="$enable_metafile"
8041 if test "$enableval" = yes; then
8042 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8044 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8049 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8050 if test "x$LINE" != x
; then
8051 eval "DEFAULT_$LINE"
8056 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8061 eval "$ac_cv_use_metafile"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8066 if test "$wxUSE_METAFILE" = yes; then
8067 echo "$ac_t""yes" 1>&6
8069 echo "$ac_t""no" 1>&6
8073 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8074 echo "configure:8075: checking for --enable-dragimage" >&5
8076 # Check whether --enable-dragimage or --disable-dragimage was given.
8077 if test "${enable_dragimage+set}" = set; then
8078 enableval
="$enable_dragimage"
8080 if test "$enableval" = yes; then
8081 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8083 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8088 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8089 if test "x$LINE" != x
; then
8090 eval "DEFAULT_$LINE"
8095 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8100 eval "$ac_cv_use_dragimage"
8101 if test "$no_cache" != 1; then
8102 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8105 if test "$wxUSE_DRAGIMAGE" = yes; then
8106 echo "$ac_t""yes" 1>&6
8108 echo "$ac_t""no" 1>&6
8114 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8115 echo "configure:8116: checking for --enable-palette" >&5
8117 # Check whether --enable-palette or --disable-palette was given.
8118 if test "${enable_palette+set}" = set; then
8119 enableval
="$enable_palette"
8121 if test "$enableval" = yes; then
8122 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8124 ac_cv_use_palette
='wxUSE_PALETTE=no'
8129 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8130 if test "x$LINE" != x
; then
8131 eval "DEFAULT_$LINE"
8136 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8141 eval "$ac_cv_use_palette"
8142 if test "$no_cache" != 1; then
8143 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8146 if test "$wxUSE_PALETTE" = yes; then
8147 echo "$ac_t""yes" 1>&6
8149 echo "$ac_t""no" 1>&6
8153 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8154 echo "configure:8155: checking for --enable-image" >&5
8156 # Check whether --enable-image or --disable-image was given.
8157 if test "${enable_image+set}" = set; then
8158 enableval
="$enable_image"
8160 if test "$enableval" = yes; then
8161 ac_cv_use_image
='wxUSE_IMAGE=yes'
8163 ac_cv_use_image
='wxUSE_IMAGE=no'
8168 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8169 if test "x$LINE" != x
; then
8170 eval "DEFAULT_$LINE"
8175 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8180 eval "$ac_cv_use_image"
8181 if test "$no_cache" != 1; then
8182 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8185 if test "$wxUSE_IMAGE" = yes; then
8186 echo "$ac_t""yes" 1>&6
8188 echo "$ac_t""no" 1>&6
8192 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8193 echo "configure:8194: checking for --enable-gif" >&5
8195 # Check whether --enable-gif or --disable-gif was given.
8196 if test "${enable_gif+set}" = set; then
8197 enableval
="$enable_gif"
8199 if test "$enableval" = yes; then
8200 ac_cv_use_gif
='wxUSE_GIF=yes'
8202 ac_cv_use_gif
='wxUSE_GIF=no'
8207 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x
; then
8209 eval "DEFAULT_$LINE"
8214 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8219 eval "$ac_cv_use_gif"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8224 if test "$wxUSE_GIF" = yes; then
8225 echo "$ac_t""yes" 1>&6
8227 echo "$ac_t""no" 1>&6
8231 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8232 echo "configure:8233: checking for --enable-pcx" >&5
8234 # Check whether --enable-pcx or --disable-pcx was given.
8235 if test "${enable_pcx+set}" = set; then
8236 enableval
="$enable_pcx"
8238 if test "$enableval" = yes; then
8239 ac_cv_use_pcx
='wxUSE_PCX=yes'
8241 ac_cv_use_pcx
='wxUSE_PCX=no'
8246 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8247 if test "x$LINE" != x
; then
8248 eval "DEFAULT_$LINE"
8253 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8258 eval "$ac_cv_use_pcx"
8259 if test "$no_cache" != 1; then
8260 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8263 if test "$wxUSE_PCX" = yes; then
8264 echo "$ac_t""yes" 1>&6
8266 echo "$ac_t""no" 1>&6
8270 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8271 echo "configure:8272: checking for --enable-iff" >&5
8273 # Check whether --enable-iff or --disable-iff was given.
8274 if test "${enable_iff+set}" = set; then
8275 enableval
="$enable_iff"
8277 if test "$enableval" = yes; then
8278 ac_cv_use_iff
='wxUSE_IFF=yes'
8280 ac_cv_use_iff
='wxUSE_IFF=no'
8285 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8286 if test "x$LINE" != x
; then
8287 eval "DEFAULT_$LINE"
8292 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8297 eval "$ac_cv_use_iff"
8298 if test "$no_cache" != 1; then
8299 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8302 if test "$wxUSE_IFF" = yes; then
8303 echo "$ac_t""yes" 1>&6
8305 echo "$ac_t""no" 1>&6
8309 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8310 echo "configure:8311: checking for --enable-pnm" >&5
8312 # Check whether --enable-pnm or --disable-pnm was given.
8313 if test "${enable_pnm+set}" = set; then
8314 enableval
="$enable_pnm"
8316 if test "$enableval" = yes; then
8317 ac_cv_use_pnm
='wxUSE_PNM=yes'
8319 ac_cv_use_pnm
='wxUSE_PNM=no'
8324 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8325 if test "x$LINE" != x
; then
8326 eval "DEFAULT_$LINE"
8331 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8336 eval "$ac_cv_use_pnm"
8337 if test "$no_cache" != 1; then
8338 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8341 if test "$wxUSE_PNM" = yes; then
8342 echo "$ac_t""yes" 1>&6
8344 echo "$ac_t""no" 1>&6
8348 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8349 echo "configure:8350: checking for --enable-xpm" >&5
8351 # Check whether --enable-xpm or --disable-xpm was given.
8352 if test "${enable_xpm+set}" = set; then
8353 enableval
="$enable_xpm"
8355 if test "$enableval" = yes; then
8356 ac_cv_use_xpm
='wxUSE_XPM=yes'
8358 ac_cv_use_xpm
='wxUSE_XPM=no'
8363 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8364 if test "x$LINE" != x
; then
8365 eval "DEFAULT_$LINE"
8370 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8375 eval "$ac_cv_use_xpm"
8376 if test "$no_cache" != 1; then
8377 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8380 if test "$wxUSE_XPM" = yes; then
8381 echo "$ac_t""yes" 1>&6
8383 echo "$ac_t""no" 1>&6
8387 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8388 echo "configure:8389: checking for --enable-ico_cur" >&5
8390 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8391 if test "${enable_ico_cur+set}" = set; then
8392 enableval
="$enable_ico_cur"
8394 if test "$enableval" = yes; then
8395 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8397 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8402 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8403 if test "x$LINE" != x
; then
8404 eval "DEFAULT_$LINE"
8409 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8414 eval "$ac_cv_use_ico_cur"
8415 if test "$no_cache" != 1; then
8416 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8419 if test "$wxUSE_ICO_CUR" = yes; then
8420 echo "$ac_t""yes" 1>&6
8422 echo "$ac_t""no" 1>&6
8429 *-pc-os2_emx | *-pc-os2-emx )
8440 echo "saving argument cache $wx_arg_cache_file"
8441 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8445 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8446 echo "configure:8447: checking for toolkit" >&5
8448 if test "$wxUSE_GUI" = "yes"; then
8450 if test "$USE_BEOS" = 1; then
8451 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8454 if test "$TOOLKIT_GIVEN" = 1; then
8455 for toolkit
in `echo $ALL_TOOLKITS`; do
8457 eval "value=\$${var}"
8458 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8461 for toolkit
in `echo $ALL_TOOLKITS`; do
8462 if test "$has_toolkit_in_cache" != 1; then
8463 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8465 var
=DEFAULT_wxUSE_
$toolkit
8467 eval "wxUSE_$toolkit=\$${var}"
8471 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8472 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8475 *-pc-os2_emx | *-pc-os2-emx )
8476 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8479 case "$NUM_TOOLKITS" in
8483 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8486 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8489 for toolkit
in `echo $ALL_TOOLKITS`; do
8491 eval "value=\$${var}"
8492 if test "x$value" != x
; then
8493 cache_var
=CACHE_
$toolkit
8494 eval "cache=\$${cache_var}"
8495 if test "$cache" = 1; then
8496 echo "$var=$value" >> ${wx_arg_cache_file}
8498 if test "$value" = 1; then
8499 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8500 echo "$ac_t""$toolkit_echo" 1>&6
8505 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8509 cat > confcache
<<\EOF
8510 # This file is a shell script that caches the results of configure
8511 # tests run on this system so they can be shared between configure
8512 # scripts and configure runs. It is not useful on other systems.
8513 # If it contains results you don't want to keep, you may remove or edit it.
8515 # By default, configure uses ./config.cache as the cache file,
8516 # creating it if it does not exist already. You can give configure
8517 # the --cache-file=FILE option to use a different cache file; that is
8518 # what configure does when it calls configure scripts in
8519 # subdirectories, so they share the cache.
8520 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8521 # config.status only pays attention to the cache file if you give it the
8522 # --recheck option to rerun configure.
8525 # The following way of writing the cache mishandles newlines in values,
8526 # but we know of no workaround that is simple, portable, and efficient.
8527 # So, don't put newlines in cache variables' values.
8528 # Ultrix sh set writes to stderr and can't be redirected directly,
8529 # and sets the high bit in the cache file unless we assign to the vars.
8531 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8533 # `set' does not quote correctly, so add quotes (double-quote substitution
8534 # turns \\\\ into \\, and sed turns \\ into \).
8536 -e "s/'/'\\\\''/g" \
8537 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8540 # `set' quotes correctly as required by POSIX, so do not add quotes.
8541 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8544 if cmp -s $cache_file confcache
; then
8547 if test -w $cache_file; then
8548 echo "updating cache $cache_file"
8549 cat confcache
> $cache_file
8551 echo "not updating unwritable cache $cache_file"
8557 if test "$build" != "$host" ; then
8558 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8562 RANLIB
=$host_alias-ranlib
8563 DLLTOOL
=$host_alias-dlltool
8564 RESCOMP
=$host_alias-windres
8567 STRIP
=$host_alias-strip
8569 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8574 # Extract the first word of "gcc", so it can be a program name with args.
8575 set dummy gcc
; ac_word
=$2
8576 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8577 echo "configure:8578: checking for $ac_word" >&5
8578 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8579 echo $ac_n "(cached) $ac_c" 1>&6
8581 if test -n "$CC"; then
8582 ac_cv_prog_CC
="$CC" # Let the user override the test.
8584 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8586 for ac_dir
in $ac_dummy; do
8587 test -z "$ac_dir" && ac_dir
=.
8588 if test -f $ac_dir/$ac_word; then
8597 if test -n "$CC"; then
8598 echo "$ac_t""$CC" 1>&6
8600 echo "$ac_t""no" 1>&6
8603 if test -z "$CC"; then
8604 # Extract the first word of "cc", so it can be a program name with args.
8605 set dummy cc
; ac_word
=$2
8606 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8607 echo "configure:8608: checking for $ac_word" >&5
8608 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8609 echo $ac_n "(cached) $ac_c" 1>&6
8611 if test -n "$CC"; then
8612 ac_cv_prog_CC
="$CC" # Let the user override the test.
8614 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8617 for ac_dir
in $ac_dummy; do
8618 test -z "$ac_dir" && ac_dir
=.
8619 if test -f $ac_dir/$ac_word; then
8620 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8621 ac_prog_rejected
=yes
8629 if test $ac_prog_rejected = yes; then
8630 # We found a bogon in the path, so make sure we never use it.
8631 set dummy
$ac_cv_prog_CC
8633 if test $# -gt 0; then
8634 # We chose a different compiler from the bogus one.
8635 # However, it has the same basename, so the bogon will be chosen
8636 # first if we set CC to just the basename; use the full file name.
8638 set dummy
"$ac_dir/$ac_word" "$@"
8646 if test -n "$CC"; then
8647 echo "$ac_t""$CC" 1>&6
8649 echo "$ac_t""no" 1>&6
8652 if test -z "$CC"; then
8653 case "`uname -s`" in
8655 # Extract the first word of "cl", so it can be a program name with args.
8656 set dummy cl
; ac_word
=$2
8657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8658 echo "configure:8659: checking for $ac_word" >&5
8659 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8660 echo $ac_n "(cached) $ac_c" 1>&6
8662 if test -n "$CC"; then
8663 ac_cv_prog_CC
="$CC" # Let the user override the test.
8665 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8667 for ac_dir
in $ac_dummy; do
8668 test -z "$ac_dir" && ac_dir
=.
8669 if test -f $ac_dir/$ac_word; then
8678 if test -n "$CC"; then
8679 echo "$ac_t""$CC" 1>&6
8681 echo "$ac_t""no" 1>&6
8686 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8689 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8690 echo "configure:8691: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8694 ac_cpp
='$CPP $CPPFLAGS'
8695 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8696 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8697 cross_compiling
=$ac_cv_prog_cc_cross
8699 cat > conftest.
$ac_ext << EOF
8701 #line 8702 "configure"
8702 #include "confdefs.h"
8706 if { (eval echo configure
:8707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8707 ac_cv_prog_cc_works
=yes
8708 # If we can't run a trivial program, we are probably using a cross compiler.
8709 if (.
/conftest
; exit) 2>/dev
/null
; then
8710 ac_cv_prog_cc_cross
=no
8712 ac_cv_prog_cc_cross
=yes
8715 echo "configure: failed program was:" >&5
8716 cat conftest.
$ac_ext >&5
8717 ac_cv_prog_cc_works
=no
8721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8722 ac_cpp
='$CPP $CPPFLAGS'
8723 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8724 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8725 cross_compiling
=$ac_cv_prog_cc_cross
8727 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8728 if test $ac_cv_prog_cc_works = no
; then
8729 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8731 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8732 echo "configure:8733: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8733 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8734 cross_compiling
=$ac_cv_prog_cc_cross
8736 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8737 echo "configure:8738: checking whether we are using GNU C" >&5
8738 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8739 echo $ac_n "(cached) $ac_c" 1>&6
8741 cat > conftest.c
<<EOF
8746 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8753 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8755 if test $ac_cv_prog_gcc = yes; then
8761 ac_test_CFLAGS
="${CFLAGS+set}"
8762 ac_save_CFLAGS
="$CFLAGS"
8764 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8765 echo "configure:8766: checking whether ${CC-cc} accepts -g" >&5
8766 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8767 echo $ac_n "(cached) $ac_c" 1>&6
8769 echo 'void f(){}' > conftest.c
8770 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8779 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8780 if test "$ac_test_CFLAGS" = set; then
8781 CFLAGS
="$ac_save_CFLAGS"
8782 elif test $ac_cv_prog_cc_g = yes; then
8783 if test "$GCC" = yes; then
8789 if test "$GCC" = yes; then
8797 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8798 echo "configure:8799: checking how to run the C preprocessor" >&5
8799 # On Suns, sometimes $CPP names a directory.
8800 if test -n "$CPP" && test -d "$CPP"; then
8803 if test -z "$CPP"; then
8804 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8805 echo $ac_n "(cached) $ac_c" 1>&6
8807 # This must be in double quotes, not single quotes, because CPP may get
8808 # substituted into the Makefile and "${CC-cc}" will confuse make.
8810 # On the NeXT, cc -E runs the code through the compiler's parser,
8811 # not just through cpp.
8812 cat > conftest.
$ac_ext <<EOF
8813 #line 8814 "configure"
8814 #include "confdefs.h"
8818 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8819 { (eval echo configure
:8820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8820 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8821 if test -z "$ac_err"; then
8825 echo "configure: failed program was:" >&5
8826 cat conftest.
$ac_ext >&5
8828 CPP
="${CC-cc} -E -traditional-cpp"
8829 cat > conftest.
$ac_ext <<EOF
8830 #line 8831 "configure"
8831 #include "confdefs.h"
8835 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8836 { (eval echo configure
:8837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8837 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8838 if test -z "$ac_err"; then
8842 echo "configure: failed program was:" >&5
8843 cat conftest.
$ac_ext >&5
8845 CPP
="${CC-cc} -nologo -E"
8846 cat > conftest.
$ac_ext <<EOF
8847 #line 8848 "configure"
8848 #include "confdefs.h"
8852 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8853 { (eval echo configure
:8854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8854 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8855 if test -z "$ac_err"; then
8859 echo "configure: failed program was:" >&5
8860 cat conftest.
$ac_ext >&5
8869 ac_cv_prog_CPP
="$CPP"
8871 CPP
="$ac_cv_prog_CPP"
8873 ac_cv_prog_CPP
="$CPP"
8875 echo "$ac_t""$CPP" 1>&6
8877 if test $ac_cv_prog_gcc = yes; then
8878 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8879 echo "configure:8880: checking whether ${CC-cc} needs -traditional" >&5
8880 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8881 echo $ac_n "(cached) $ac_c" 1>&6
8883 ac_pattern
="Autoconf.*'x'"
8884 cat > conftest.
$ac_ext <<EOF
8885 #line 8886 "configure"
8886 #include "confdefs.h"
8890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8891 egrep "$ac_pattern" >/dev
/null
2>&1; then
8893 ac_cv_prog_gcc_traditional
=yes
8896 ac_cv_prog_gcc_traditional
=no
8901 if test $ac_cv_prog_gcc_traditional = no
; then
8902 cat > conftest.
$ac_ext <<EOF
8903 #line 8904 "configure"
8904 #include "confdefs.h"
8908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8909 egrep "$ac_pattern" >/dev
/null
2>&1; then
8911 ac_cv_prog_gcc_traditional
=yes
8918 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8919 if test $ac_cv_prog_gcc_traditional = yes; then
8920 CC
="$CC -traditional"
8927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8928 ac_cpp
='$CXXCPP $CPPFLAGS'
8929 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8930 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8931 cross_compiling
=$ac_cv_prog_cxx_cross
8934 CXXFLAGS
=${CXXFLAGS:=}
8935 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8937 # Extract the first word of "$ac_prog", so it can be a program name with args.
8938 set dummy
$ac_prog; ac_word
=$2
8939 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8940 echo "configure:8941: checking for $ac_word" >&5
8941 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8942 echo $ac_n "(cached) $ac_c" 1>&6
8944 if test -n "$CXX"; then
8945 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8947 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8949 for ac_dir
in $ac_dummy; do
8950 test -z "$ac_dir" && ac_dir
=.
8951 if test -f $ac_dir/$ac_word; then
8952 ac_cv_prog_CXX
="$ac_prog"
8959 CXX
="$ac_cv_prog_CXX"
8960 if test -n "$CXX"; then
8961 echo "$ac_t""$CXX" 1>&6
8963 echo "$ac_t""no" 1>&6
8966 test -n "$CXX" && break
8968 test -n "$CXX" || CXX
="gcc"
8971 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8972 echo "configure:8973: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8976 ac_cpp
='$CXXCPP $CPPFLAGS'
8977 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8978 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8979 cross_compiling
=$ac_cv_prog_cxx_cross
8981 cat > conftest.
$ac_ext << EOF
8983 #line 8984 "configure"
8984 #include "confdefs.h"
8986 int main(){return(0);}
8988 if { (eval echo configure
:8989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8989 ac_cv_prog_cxx_works
=yes
8990 # If we can't run a trivial program, we are probably using a cross compiler.
8991 if (.
/conftest
; exit) 2>/dev
/null
; then
8992 ac_cv_prog_cxx_cross
=no
8994 ac_cv_prog_cxx_cross
=yes
8997 echo "configure: failed program was:" >&5
8998 cat conftest.
$ac_ext >&5
8999 ac_cv_prog_cxx_works
=no
9003 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9004 ac_cpp
='$CXXCPP $CPPFLAGS'
9005 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9006 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9007 cross_compiling
=$ac_cv_prog_cxx_cross
9009 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9010 if test $ac_cv_prog_cxx_works = no
; then
9011 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9013 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9014 echo "configure:9015: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9015 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9016 cross_compiling
=$ac_cv_prog_cxx_cross
9018 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9019 echo "configure:9020: checking whether we are using GNU C++" >&5
9020 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9021 echo $ac_n "(cached) $ac_c" 1>&6
9023 cat > conftest.C
<<EOF
9028 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9035 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9037 if test $ac_cv_prog_gxx = yes; then
9043 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9044 ac_save_CXXFLAGS
="$CXXFLAGS"
9046 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9047 echo "configure:9048: checking whether ${CXX-g++} accepts -g" >&5
9048 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9049 echo $ac_n "(cached) $ac_c" 1>&6
9051 echo 'void f(){}' > conftest.cc
9052 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9053 ac_cv_prog_cxx_g
=yes
9061 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9062 if test "$ac_test_CXXFLAGS" = set; then
9063 CXXFLAGS
="$ac_save_CXXFLAGS"
9064 elif test $ac_cv_prog_cxx_g = yes; then
9065 if test "$GXX" = yes; then
9071 if test "$GXX" = yes; then
9080 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9081 ac_cpp
='$CPP $CPPFLAGS'
9082 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9083 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9084 cross_compiling
=$ac_cv_prog_cc_cross
9087 # Extract the first word of "ranlib", so it can be a program name with args.
9088 set dummy ranlib
; ac_word
=$2
9089 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9090 echo "configure:9091: checking for $ac_word" >&5
9091 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9092 echo $ac_n "(cached) $ac_c" 1>&6
9094 if test -n "$RANLIB"; then
9095 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9097 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9099 for ac_dir
in $ac_dummy; do
9100 test -z "$ac_dir" && ac_dir
=.
9101 if test -f $ac_dir/$ac_word; then
9102 ac_cv_prog_RANLIB
="ranlib"
9107 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9110 RANLIB
="$ac_cv_prog_RANLIB"
9111 if test -n "$RANLIB"; then
9112 echo "$ac_t""$RANLIB" 1>&6
9114 echo "$ac_t""no" 1>&6
9118 # Extract the first word of "ar", so it can be a program name with args.
9119 set dummy
ar; ac_word
=$2
9120 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9121 echo "configure:9122: checking for $ac_word" >&5
9122 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9123 echo $ac_n "(cached) $ac_c" 1>&6
9125 if test -n "$AR"; then
9126 ac_cv_prog_AR
="$AR" # Let the user override the test.
9128 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9130 for ac_dir
in $ac_dummy; do
9131 test -z "$ac_dir" && ac_dir
=.
9132 if test -f $ac_dir/$ac_word; then
9138 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9142 if test -n "$AR"; then
9143 echo "$ac_t""$AR" 1>&6
9145 echo "$ac_t""no" 1>&6
9149 # Find a good install program. We prefer a C program (faster),
9150 # so one script is as good as another. But avoid the broken or
9151 # incompatible versions:
9152 # SysV /etc/install, /usr/sbin/install
9153 # SunOS /usr/etc/install
9154 # IRIX /sbin/install
9156 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9157 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9158 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9159 # ./install, which can be erroneously created by make from ./install.sh.
9160 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9161 echo "configure:9162: checking for a BSD compatible install" >&5
9162 if test -z "$INSTALL"; then
9163 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9164 echo $ac_n "(cached) $ac_c" 1>&6
9166 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9167 for ac_dir
in $PATH; do
9168 # Account for people who put trailing slashes in PATH elements.
9170 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9172 # OSF1 and SCO ODT 3.0 have their own names for install.
9173 # Don't use installbsd from OSF since it installs stuff as root
9175 for ac_prog
in ginstall scoinst
install; do
9176 if test -f $ac_dir/$ac_prog; then
9177 if test $ac_prog = install &&
9178 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9179 # AIX install. It has an incompatible calling convention.
9182 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9193 if test "${ac_cv_path_install+set}" = set; then
9194 INSTALL
="$ac_cv_path_install"
9196 # As a last resort, use the slow shell script. We don't cache a
9197 # path for INSTALL within a source directory, because that will
9198 # break other packages using the cache if that directory is
9199 # removed, or if the path is relative.
9200 INSTALL
="$ac_install_sh"
9203 echo "$ac_t""$INSTALL" 1>&6
9205 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9206 # It thinks the first close brace ends the variable substitution.
9207 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9209 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9211 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9216 INSTALL_PROGRAM
="cp -fp"
9217 INSTALL_DATA
="cp -fp"
9223 # Extract the first word of "strip", so it can be a program name with args.
9224 set dummy strip
; ac_word
=$2
9225 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9226 echo "configure:9227: checking for $ac_word" >&5
9227 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9228 echo $ac_n "(cached) $ac_c" 1>&6
9230 if test -n "$STRIP"; then
9231 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9233 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9235 for ac_dir
in $ac_dummy; do
9236 test -z "$ac_dir" && ac_dir
=.
9237 if test -f $ac_dir/$ac_word; then
9238 ac_cv_prog_STRIP
="strip"
9243 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9246 STRIP
="$ac_cv_prog_STRIP"
9247 if test -n "$STRIP"; then
9248 echo "$ac_t""$STRIP" 1>&6
9250 echo "$ac_t""no" 1>&6
9254 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9255 echo "configure:9256: checking if make is GNU make" >&5
9256 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9257 echo $ac_n "(cached) $ac_c" 1>&6
9260 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9261 egrep -s GNU
> /dev
/null
); then
9262 wx_cv_prog_makeisgnu
="yes"
9264 wx_cv_prog_makeisgnu
="no"
9269 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9271 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9279 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9280 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9281 echo "configure:9282: checking if make supports VPATH" >&5
9282 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9283 echo $ac_n "(cached) $ac_c" 1>&6
9286 cat - << EOF > confMake
9292 if test ! -d sub
; then
9295 echo dummy
> sub
/file
9296 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9298 rm -f sub
/file check final_file confMake
9300 if test "$RESULT" = 0; then
9301 wx_cv_prog_makevpath
="yes"
9303 wx_cv_prog_makevpath
="no"
9308 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9310 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9311 { echo "configure: error:
9312 You need a make-utility that is able to use the variable
9314 If your version of make does not support VPATH correctly,
9315 please install GNU-make (possibly as gmake), and start
9316 configure with the following command:
9317 export MAKE=gmake; ./configure for sh-type shells
9318 setenv MAKE gmake; ./configure for csh-type shells
9319 Also please do remember to use gmake in this case every time
9320 you are trying to compile.
9323 for ac_prog
in 'bison -y' byacc
9325 # Extract the first word of "$ac_prog", so it can be a program name with args.
9326 set dummy
$ac_prog; ac_word
=$2
9327 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9328 echo "configure:9329: checking for $ac_word" >&5
9329 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9330 echo $ac_n "(cached) $ac_c" 1>&6
9332 if test -n "$YACC"; then
9333 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9335 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9337 for ac_dir
in $ac_dummy; do
9338 test -z "$ac_dir" && ac_dir
=.
9339 if test -f $ac_dir/$ac_word; then
9340 ac_cv_prog_YACC
="$ac_prog"
9347 YACC
="$ac_cv_prog_YACC"
9348 if test -n "$YACC"; then
9349 echo "$ac_t""$YACC" 1>&6
9351 echo "$ac_t""no" 1>&6
9354 test -n "$YACC" && break
9356 test -n "$YACC" || YACC
="yacc"
9359 # Extract the first word of "flex", so it can be a program name with args.
9360 set dummy flex
; ac_word
=$2
9361 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9362 echo "configure:9363: checking for $ac_word" >&5
9363 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9364 echo $ac_n "(cached) $ac_c" 1>&6
9366 if test -n "$LEX"; then
9367 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9369 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9371 for ac_dir
in $ac_dummy; do
9372 test -z "$ac_dir" && ac_dir
=.
9373 if test -f $ac_dir/$ac_word; then
9374 ac_cv_prog_LEX
="flex"
9379 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9382 LEX
="$ac_cv_prog_LEX"
9383 if test -n "$LEX"; then
9384 echo "$ac_t""$LEX" 1>&6
9386 echo "$ac_t""no" 1>&6
9389 if test -z "$LEXLIB"
9395 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9396 echo "configure:9397: checking for yywrap in -l$ac_lib" >&5
9397 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9398 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9399 echo $ac_n "(cached) $ac_c" 1>&6
9401 ac_save_LIBS
="$LIBS"
9402 LIBS
="-l$ac_lib $LIBS"
9403 cat > conftest.
$ac_ext <<EOF
9404 #line 9405 "configure"
9405 #include "confdefs.h"
9406 /* Override any gcc2 internal prototype to avoid an error. */
9407 /* We use char because int might match the return type of a gcc2
9408 builtin and then its argument prototype would still apply. */
9415 if { (eval echo configure
:9416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9417 eval "ac_cv_lib_$ac_lib_var=yes"
9419 echo "configure: failed program was:" >&5
9420 cat conftest.
$ac_ext >&5
9422 eval "ac_cv_lib_$ac_lib_var=no"
9425 LIBS
="$ac_save_LIBS"
9428 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9429 echo "$ac_t""yes" 1>&6
9432 echo "$ac_t""no" 1>&6
9438 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9439 echo "configure:9440: checking whether ln -s works" >&5
9440 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9441 echo $ac_n "(cached) $ac_c" 1>&6
9444 if ln -s X conftestdata
2>/dev
/null
9447 ac_cv_prog_LN_S
="ln -s"
9452 LN_S
="$ac_cv_prog_LN_S"
9453 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9454 echo "$ac_t""yes" 1>&6
9456 echo "$ac_t""no" 1>&6
9461 if test "$wxUSE_MAC" != 1; then
9462 for ac_hdr
in strings.h
9464 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9465 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9466 echo "configure:9467: checking for $ac_hdr" >&5
9467 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9468 echo $ac_n "(cached) $ac_c" 1>&6
9470 cat > conftest.
$ac_ext <<EOF
9471 #line 9472 "configure"
9472 #include "confdefs.h"
9475 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9476 { (eval echo configure
:9477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9477 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9478 if test -z "$ac_err"; then
9480 eval "ac_cv_header_$ac_safe=yes"
9483 echo "configure: failed program was:" >&5
9484 cat conftest.
$ac_ext >&5
9486 eval "ac_cv_header_$ac_safe=no"
9490 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9491 echo "$ac_t""yes" 1>&6
9492 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9493 cat >> confdefs.h
<<EOF
9494 #define $ac_tr_hdr 1
9498 echo "$ac_t""no" 1>&6
9504 for ac_hdr
in stdlib.h
9506 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9507 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9508 echo "configure:9509: checking for $ac_hdr" >&5
9509 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9510 echo $ac_n "(cached) $ac_c" 1>&6
9512 cat > conftest.
$ac_ext <<EOF
9513 #line 9514 "configure"
9514 #include "confdefs.h"
9517 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9518 { (eval echo configure
:9519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9519 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9520 if test -z "$ac_err"; then
9522 eval "ac_cv_header_$ac_safe=yes"
9525 echo "configure: failed program was:" >&5
9526 cat conftest.
$ac_ext >&5
9528 eval "ac_cv_header_$ac_safe=no"
9532 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9533 echo "$ac_t""yes" 1>&6
9534 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9535 cat >> confdefs.h
<<EOF
9536 #define $ac_tr_hdr 1
9540 echo "$ac_t""no" 1>&6
9544 for ac_hdr
in malloc.h
9546 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9547 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9548 echo "configure:9549: checking for $ac_hdr" >&5
9549 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9550 echo $ac_n "(cached) $ac_c" 1>&6
9552 cat > conftest.
$ac_ext <<EOF
9553 #line 9554 "configure"
9554 #include "confdefs.h"
9557 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9558 { (eval echo configure
:9559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9559 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9560 if test -z "$ac_err"; then
9562 eval "ac_cv_header_$ac_safe=yes"
9565 echo "configure: failed program was:" >&5
9566 cat conftest.
$ac_ext >&5
9568 eval "ac_cv_header_$ac_safe=no"
9572 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9573 echo "$ac_t""yes" 1>&6
9574 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9575 cat >> confdefs.h
<<EOF
9576 #define $ac_tr_hdr 1
9580 echo "$ac_t""no" 1>&6
9584 for ac_hdr
in unistd.h
9586 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9587 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9588 echo "configure:9589: checking for $ac_hdr" >&5
9589 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9590 echo $ac_n "(cached) $ac_c" 1>&6
9592 cat > conftest.
$ac_ext <<EOF
9593 #line 9594 "configure"
9594 #include "confdefs.h"
9597 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9598 { (eval echo configure
:9599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9599 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9600 if test -z "$ac_err"; then
9602 eval "ac_cv_header_$ac_safe=yes"
9605 echo "configure: failed program was:" >&5
9606 cat conftest.
$ac_ext >&5
9608 eval "ac_cv_header_$ac_safe=no"
9612 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9613 echo "$ac_t""yes" 1>&6
9614 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9615 cat >> confdefs.h
<<EOF
9616 #define $ac_tr_hdr 1
9620 echo "$ac_t""no" 1>&6
9624 for ac_hdr
in wchar.h
9626 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9628 echo "configure:9629: checking for $ac_hdr" >&5
9629 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9630 echo $ac_n "(cached) $ac_c" 1>&6
9632 cat > conftest.
$ac_ext <<EOF
9633 #line 9634 "configure"
9634 #include "confdefs.h"
9637 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9638 { (eval echo configure
:9639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9639 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9640 if test -z "$ac_err"; then
9642 eval "ac_cv_header_$ac_safe=yes"
9645 echo "configure: failed program was:" >&5
9646 cat conftest.
$ac_ext >&5
9648 eval "ac_cv_header_$ac_safe=no"
9652 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9653 echo "$ac_t""yes" 1>&6
9654 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9655 cat >> confdefs.h
<<EOF
9656 #define $ac_tr_hdr 1
9660 echo "$ac_t""no" 1>&6
9665 if test "$ac_cv_header_wchar_h" != "yes"; then
9666 for ac_hdr
in wcstr.h
9668 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9669 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9670 echo "configure:9671: checking for $ac_hdr" >&5
9671 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9672 echo $ac_n "(cached) $ac_c" 1>&6
9674 cat > conftest.
$ac_ext <<EOF
9675 #line 9676 "configure"
9676 #include "confdefs.h"
9679 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9680 { (eval echo configure
:9681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9681 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9682 if test -z "$ac_err"; then
9684 eval "ac_cv_header_$ac_safe=yes"
9687 echo "configure: failed program was:" >&5
9688 cat conftest.
$ac_ext >&5
9690 eval "ac_cv_header_$ac_safe=no"
9694 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9695 echo "$ac_t""yes" 1>&6
9696 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9697 cat >> confdefs.h
<<EOF
9698 #define $ac_tr_hdr 1
9702 echo "$ac_t""no" 1>&6
9709 for ac_hdr
in fnmatch.h
9711 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9712 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9713 echo "configure:9714: checking for $ac_hdr" >&5
9714 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9715 echo $ac_n "(cached) $ac_c" 1>&6
9717 cat > conftest.
$ac_ext <<EOF
9718 #line 9719 "configure"
9719 #include "confdefs.h"
9722 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9723 { (eval echo configure
:9724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9724 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9725 if test -z "$ac_err"; then
9727 eval "ac_cv_header_$ac_safe=yes"
9730 echo "configure: failed program was:" >&5
9731 cat conftest.
$ac_ext >&5
9733 eval "ac_cv_header_$ac_safe=no"
9737 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9738 echo "$ac_t""yes" 1>&6
9739 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9740 cat >> confdefs.h
<<EOF
9741 #define $ac_tr_hdr 1
9745 echo "$ac_t""no" 1>&6
9750 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9751 for ac_func
in fnmatch
9753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9754 echo "configure:9755: checking for $ac_func" >&5
9755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9756 echo $ac_n "(cached) $ac_c" 1>&6
9758 cat > conftest.
$ac_ext <<EOF
9759 #line 9760 "configure"
9760 #include "confdefs.h"
9761 /* System header to define __stub macros and hopefully few prototypes,
9762 which can conflict with char $ac_func(); below. */
9764 /* Override any gcc2 internal prototype to avoid an error. */
9765 /* We use char because int might match the return type of a gcc2
9766 builtin and then its argument prototype would still apply. */
9771 /* The GNU C library defines this for functions which it implements
9772 to always fail with ENOSYS. Some functions are actually named
9773 something starting with __ and the normal name is an alias. */
9774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9782 if { (eval echo configure
:9783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9784 eval "ac_cv_func_$ac_func=yes"
9786 echo "configure: failed program was:" >&5
9787 cat conftest.
$ac_ext >&5
9789 eval "ac_cv_func_$ac_func=no"
9794 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9795 echo "$ac_t""yes" 1>&6
9796 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9797 cat >> confdefs.h
<<EOF
9798 #define $ac_tr_func 1
9802 echo "$ac_t""no" 1>&6
9808 for ac_hdr
in langinfo.h
9810 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9811 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9812 echo "configure:9813: checking for $ac_hdr" >&5
9813 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9814 echo $ac_n "(cached) $ac_c" 1>&6
9816 cat > conftest.
$ac_ext <<EOF
9817 #line 9818 "configure"
9818 #include "confdefs.h"
9821 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9822 { (eval echo configure
:9823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9823 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9824 if test -z "$ac_err"; then
9826 eval "ac_cv_header_$ac_safe=yes"
9829 echo "configure: failed program was:" >&5
9830 cat conftest.
$ac_ext >&5
9832 eval "ac_cv_header_$ac_safe=no"
9836 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9837 echo "$ac_t""yes" 1>&6
9838 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9839 cat >> confdefs.h
<<EOF
9840 #define $ac_tr_hdr 1
9844 echo "$ac_t""no" 1>&6
9849 if test "$wxUSE_GUI" = "yes"; then
9850 if test "$wxUSE_UNIX" = "yes"; then
9851 for ac_hdr
in X
11/XKBlib.h
9853 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9854 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9855 echo "configure:9856: checking for $ac_hdr" >&5
9856 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9857 echo $ac_n "(cached) $ac_c" 1>&6
9859 cat > conftest.
$ac_ext <<EOF
9860 #line 9861 "configure"
9861 #include "confdefs.h"
9864 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9865 { (eval echo configure
:9866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9866 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9867 if test -z "$ac_err"; then
9869 eval "ac_cv_header_$ac_safe=yes"
9872 echo "configure: failed program was:" >&5
9873 cat conftest.
$ac_ext >&5
9875 eval "ac_cv_header_$ac_safe=no"
9879 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9880 echo "$ac_t""yes" 1>&6
9881 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9882 cat >> confdefs.h
<<EOF
9883 #define $ac_tr_hdr 1
9887 echo "$ac_t""no" 1>&6
9895 echo $ac_n "checking for working const""... $ac_c" 1>&6
9896 echo "configure:9897: checking for working const" >&5
9897 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9898 echo $ac_n "(cached) $ac_c" 1>&6
9900 cat > conftest.
$ac_ext <<EOF
9901 #line 9902 "configure"
9902 #include "confdefs.h"
9906 /* Ultrix mips cc rejects this. */
9907 typedef int charset[2]; const charset x;
9908 /* SunOS 4.1.1 cc rejects this. */
9909 char const *const *ccp;
9911 /* NEC SVR4.0.2 mips cc rejects this. */
9912 struct point {int x, y;};
9913 static struct point const zero = {0,0};
9914 /* AIX XL C 1.02.0.0 rejects this.
9915 It does not let you subtract one const X* pointer from another in an arm
9916 of an if-expression whose if-part is not a constant expression */
9917 const char *g = "string";
9918 ccp = &g + (g ? g-g : 0);
9919 /* HPUX 7.0 cc rejects these. */
9922 ccp = (char const *const *) p;
9923 { /* SCO 3.2v4 cc rejects this. */
9925 char const *s = 0 ? (char *) 0 : (char const *) 0;
9929 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9931 const int *foo = &x[0];
9934 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9935 typedef const int *iptr;
9939 { /* AIX XL C 1.02.0.0 rejects this saying
9940 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9941 struct s { int j; const int *ap[3]; };
9942 struct s *b; b->j = 5;
9944 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9950 if { (eval echo configure
:9951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9954 echo "configure: failed program was:" >&5
9955 cat conftest.
$ac_ext >&5
9962 echo "$ac_t""$ac_cv_c_const" 1>&6
9963 if test $ac_cv_c_const = no
; then
9964 cat >> confdefs.h
<<\EOF
9970 echo $ac_n "checking for inline""... $ac_c" 1>&6
9971 echo "configure:9972: checking for inline" >&5
9972 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9973 echo $ac_n "(cached) $ac_c" 1>&6
9976 for ac_kw
in inline __inline__ __inline
; do
9977 cat > conftest.
$ac_ext <<EOF
9978 #line 9979 "configure"
9979 #include "confdefs.h"
9985 if { (eval echo configure
:9986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9987 ac_cv_c_inline
=$ac_kw; break
9989 echo "configure: failed program was:" >&5
9990 cat conftest.
$ac_ext >&5
9997 echo "$ac_t""$ac_cv_c_inline" 1>&6
9998 case "$ac_cv_c_inline" in
10000 no
) cat >> confdefs.h
<<\EOF
10004 *) cat >> confdefs.h
<<EOF
10005 #define inline $ac_cv_c_inline
10011 echo $ac_n "checking size of char""... $ac_c" 1>&6
10012 echo "configure:10013: checking size of char" >&5
10013 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10014 echo $ac_n "(cached) $ac_c" 1>&6
10016 if test "$cross_compiling" = yes; then
10017 ac_cv_sizeof_char
=1
10019 cat > conftest.
$ac_ext <<EOF
10020 #line 10021 "configure"
10021 #include "confdefs.h"
10025 FILE *f=fopen("conftestval", "w");
10027 fprintf(f, "%d\n", sizeof(char));
10031 if { (eval echo configure
:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10033 ac_cv_sizeof_char
=`cat conftestval`
10035 echo "configure: failed program was:" >&5
10036 cat conftest.
$ac_ext >&5
10038 ac_cv_sizeof_char
=0
10044 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10045 cat >> confdefs.h
<<EOF
10046 #define SIZEOF_CHAR $ac_cv_sizeof_char
10050 echo $ac_n "checking size of short""... $ac_c" 1>&6
10051 echo "configure:10052: checking size of short" >&5
10052 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10053 echo $ac_n "(cached) $ac_c" 1>&6
10055 if test "$cross_compiling" = yes; then
10056 ac_cv_sizeof_short
=2
10058 cat > conftest.
$ac_ext <<EOF
10059 #line 10060 "configure"
10060 #include "confdefs.h"
10064 FILE *f=fopen("conftestval", "w");
10066 fprintf(f, "%d\n", sizeof(short));
10070 if { (eval echo configure
:10071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10072 ac_cv_sizeof_short
=`cat conftestval`
10074 echo "configure: failed program was:" >&5
10075 cat conftest.
$ac_ext >&5
10077 ac_cv_sizeof_short
=0
10083 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10084 cat >> confdefs.h
<<EOF
10085 #define SIZEOF_SHORT $ac_cv_sizeof_short
10089 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10090 echo "configure:10091: checking size of void *" >&5
10091 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10092 echo $ac_n "(cached) $ac_c" 1>&6
10094 if test "$cross_compiling" = yes; then
10095 ac_cv_sizeof_void_p
=4
10097 cat > conftest.
$ac_ext <<EOF
10098 #line 10099 "configure"
10099 #include "confdefs.h"
10103 FILE *f=fopen("conftestval", "w");
10105 fprintf(f, "%d\n", sizeof(void *));
10109 if { (eval echo configure
:10110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10111 ac_cv_sizeof_void_p
=`cat conftestval`
10113 echo "configure: failed program was:" >&5
10114 cat conftest.
$ac_ext >&5
10116 ac_cv_sizeof_void_p
=0
10122 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10123 cat >> confdefs.h
<<EOF
10124 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10128 echo $ac_n "checking size of int""... $ac_c" 1>&6
10129 echo "configure:10130: checking size of int" >&5
10130 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10131 echo $ac_n "(cached) $ac_c" 1>&6
10133 if test "$cross_compiling" = yes; then
10136 cat > conftest.
$ac_ext <<EOF
10137 #line 10138 "configure"
10138 #include "confdefs.h"
10142 FILE *f=fopen("conftestval", "w");
10144 fprintf(f, "%d\n", sizeof(int));
10148 if { (eval echo configure
:10149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10150 ac_cv_sizeof_int
=`cat conftestval`
10152 echo "configure: failed program was:" >&5
10153 cat conftest.
$ac_ext >&5
10161 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10162 cat >> confdefs.h
<<EOF
10163 #define SIZEOF_INT $ac_cv_sizeof_int
10167 echo $ac_n "checking size of long""... $ac_c" 1>&6
10168 echo "configure:10169: checking size of long" >&5
10169 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10170 echo $ac_n "(cached) $ac_c" 1>&6
10172 if test "$cross_compiling" = yes; then
10173 ac_cv_sizeof_long
=4
10175 cat > conftest.
$ac_ext <<EOF
10176 #line 10177 "configure"
10177 #include "confdefs.h"
10181 FILE *f=fopen("conftestval", "w");
10183 fprintf(f, "%d\n", sizeof(long));
10187 if { (eval echo configure
:10188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10189 ac_cv_sizeof_long
=`cat conftestval`
10191 echo "configure: failed program was:" >&5
10192 cat conftest.
$ac_ext >&5
10194 ac_cv_sizeof_long
=0
10200 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10201 cat >> confdefs.h
<<EOF
10202 #define SIZEOF_LONG $ac_cv_sizeof_long
10209 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10210 echo "configure:10211: checking size of long long" >&5
10211 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10212 echo $ac_n "(cached) $ac_c" 1>&6
10214 if test "$cross_compiling" = yes; then
10215 ac_cv_sizeof_long_long
=8
10217 cat > conftest.
$ac_ext <<EOF
10218 #line 10219 "configure"
10219 #include "confdefs.h"
10223 FILE *f=fopen("conftestval", "w");
10225 fprintf(f, "%d\n", sizeof(long long));
10229 if { (eval echo configure
:10230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10231 ac_cv_sizeof_long_long
=`cat conftestval`
10233 echo "configure: failed program was:" >&5
10234 cat conftest.
$ac_ext >&5
10236 ac_cv_sizeof_long_long
=0
10242 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10243 cat >> confdefs.h
<<EOF
10244 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10250 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10251 echo "configure:10252: checking size of long long" >&5
10252 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10253 echo $ac_n "(cached) $ac_c" 1>&6
10255 if test "$cross_compiling" = yes; then
10256 ac_cv_sizeof_long_long
=0
10258 cat > conftest.
$ac_ext <<EOF
10259 #line 10260 "configure"
10260 #include "confdefs.h"
10264 FILE *f=fopen("conftestval", "w");
10266 fprintf(f, "%d\n", sizeof(long long));
10270 if { (eval echo configure
:10271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10272 ac_cv_sizeof_long_long
=`cat conftestval`
10274 echo "configure: failed program was:" >&5
10275 cat conftest.
$ac_ext >&5
10277 ac_cv_sizeof_long_long
=0
10283 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10284 cat >> confdefs.h
<<EOF
10285 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10291 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10292 echo "configure:10293: checking size of wchar_t" >&5
10293 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10294 echo $ac_n "(cached) $ac_c" 1>&6
10297 if test "$cross_compiling" = yes; then
10298 wx_cv_sizeof_wchar_t
=4
10301 cat > conftest.
$ac_ext <<EOF
10302 #line 10303 "configure"
10303 #include "confdefs.h"
10305 #ifdef HAVE_WCHAR_H
10307 # include <stddef.h>
10309 # include <wchar.h>
10311 #ifdef HAVE_STDLIB_H
10312 # include <stdlib.h>
10317 FILE *f=fopen("conftestval", "w");
10319 fprintf(f, "%i", sizeof(wchar_t));
10324 if { (eval echo configure
:10325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10326 wx_cv_sizeof_wchar_t
=`cat conftestval`
10328 echo "configure: failed program was:" >&5
10329 cat conftest.
$ac_ext >&5
10331 wx_cv_sizeof_wchar_t
=0
10339 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10341 cat >> confdefs.h
<<EOF
10342 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10346 # Check whether --enable-largefile or --disable-largefile was given.
10347 if test "${enable_largefile+set}" = set; then
10348 enableval
="$enable_largefile"
10352 if test "$enable_largefile" != no
; then
10355 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10356 echo "configure:10357: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10357 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10358 echo $ac_n "(cached) $ac_c" 1>&6
10361 cat > conftest.
$ac_ext <<EOF
10362 #line 10363 "configure"
10363 #include "confdefs.h"
10364 #define _FILE_OFFSET_BITS 64
10365 #include <sys/types.h>
10368 unsigned int field: sizeof(off_t) == 8;
10373 if { (eval echo configure
:10374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10375 ac_cv_sys_file_offset_bits
=64
10377 echo "configure: failed program was:" >&5
10378 cat conftest.
$ac_ext >&5
10380 ac_cv_sys_file_offset_bits
=no
10387 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10389 if test "$ac_cv_sys_file_offset_bits" != no
; then
10391 cat >> confdefs.h
<<EOF
10392 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10397 if test "x$wx_largefile" != "xyes"; then
10399 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10400 echo "configure:10401: checking for _LARGE_FILES value needed for large files" >&5
10401 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10402 echo $ac_n "(cached) $ac_c" 1>&6
10405 cat > conftest.
$ac_ext <<EOF
10406 #line 10407 "configure"
10407 #include "confdefs.h"
10408 #define _LARGE_FILES 1
10409 #include <sys/types.h>
10412 unsigned int field: sizeof(off_t) == 8;
10417 if { (eval echo configure
:10418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10419 ac_cv_sys_large_files
=1
10421 echo "configure: failed program was:" >&5
10422 cat conftest.
$ac_ext >&5
10424 ac_cv_sys_large_files
=no
10431 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10433 if test "$ac_cv_sys_large_files" != no
; then
10435 cat >> confdefs.h
<<EOF
10436 #define _LARGE_FILES $ac_cv_sys_large_files
10443 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10444 echo "configure:10445: checking if large file support is available" >&5
10445 if test "x$wx_largefile" = "xyes"; then
10446 cat >> confdefs.h
<<\EOF
10447 #define HAVE_LARGEFILE_SUPPORT 1
10451 echo "$ac_t""$wx_largefile" 1>&6
10455 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10456 echo "configure:10457: checking whether byte ordering is bigendian" >&5
10457 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10458 echo $ac_n "(cached) $ac_c" 1>&6
10460 ac_cv_c_bigendian
=unknown
10461 # See if sys/param.h defines the BYTE_ORDER macro.
10462 cat > conftest.
$ac_ext <<EOF
10463 #line 10464 "configure"
10464 #include "confdefs.h"
10465 #include <sys/types.h>
10466 #include <sys/param.h>
10469 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10470 bogus endian macros
10474 if { (eval echo configure
:10475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10476 # It does; now see whether it defined to BIG_ENDIAN or not.
10477 cat > conftest.
$ac_ext <<EOF
10478 #line 10479 "configure"
10479 #include "confdefs.h"
10480 #include <sys/types.h>
10481 #include <sys/param.h>
10484 #if BYTE_ORDER != BIG_ENDIAN
10489 if { (eval echo configure
:10490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10491 ac_cv_c_bigendian
=yes
10493 echo "configure: failed program was:" >&5
10494 cat conftest.
$ac_ext >&5
10496 ac_cv_c_bigendian
=no
10500 echo "configure: failed program was:" >&5
10501 cat conftest.
$ac_ext >&5
10504 if test $ac_cv_c_bigendian = unknown
; then
10505 if test "$cross_compiling" = yes; then
10506 ac_cv_c_bigendian
=unknown
10508 cat > conftest.
$ac_ext <<EOF
10509 #line 10510 "configure"
10510 #include "confdefs.h"
10512 /* Are we little or big endian? From Harbison&Steele. */
10516 char c[sizeof (long)];
10519 exit (u.c[sizeof (long) - 1] == 1);
10522 if { (eval echo configure
:10523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10524 ac_cv_c_bigendian
=no
10526 echo "configure: failed program was:" >&5
10527 cat conftest.
$ac_ext >&5
10529 ac_cv_c_bigendian
=yes
10537 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10538 if test $ac_cv_c_bigendian = unknown
; then
10539 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
10541 if test $ac_cv_c_bigendian = yes; then
10542 cat >> confdefs.h
<<\EOF
10543 #define WORDS_BIGENDIAN 1
10549 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10550 echo "configure:10551: checking how to run the C++ preprocessor" >&5
10551 if test -z "$CXXCPP"; then
10552 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10553 echo $ac_n "(cached) $ac_c" 1>&6
10556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10557 ac_cpp
='$CXXCPP $CPPFLAGS'
10558 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10559 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10560 cross_compiling
=$ac_cv_prog_cxx_cross
10561 CXXCPP
="${CXX-g++} -E"
10562 cat > conftest.
$ac_ext <<EOF
10563 #line 10564 "configure"
10564 #include "confdefs.h"
10565 #include <stdlib.h>
10567 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10568 { (eval echo configure
:10569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10569 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10570 if test -z "$ac_err"; then
10574 echo "configure: failed program was:" >&5
10575 cat conftest.
$ac_ext >&5
10580 ac_cv_prog_CXXCPP
="$CXXCPP"
10582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10583 ac_cpp
='$CXXCPP $CPPFLAGS'
10584 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10585 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10586 cross_compiling
=$ac_cv_prog_cxx_cross
10589 CXXCPP
="$ac_cv_prog_CXXCPP"
10590 echo "$ac_t""$CXXCPP" 1>&6
10593 if test "$cross_compiling" = "yes"; then
10594 cat >> confdefs.h
<<\EOF
10595 #define wxUSE_IOSTREAMH 1
10601 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10602 ac_cpp
='$CXXCPP $CPPFLAGS'
10603 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10604 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10605 cross_compiling
=$ac_cv_prog_cxx_cross
10608 for ac_hdr
in iostream
10610 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10611 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10612 echo "configure:10613: checking for $ac_hdr" >&5
10613 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10614 echo $ac_n "(cached) $ac_c" 1>&6
10616 cat > conftest.
$ac_ext <<EOF
10617 #line 10618 "configure"
10618 #include "confdefs.h"
10621 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10622 { (eval echo configure
:10623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10623 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10624 if test -z "$ac_err"; then
10626 eval "ac_cv_header_$ac_safe=yes"
10629 echo "configure: failed program was:" >&5
10630 cat conftest.
$ac_ext >&5
10632 eval "ac_cv_header_$ac_safe=no"
10636 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10637 echo "$ac_t""yes" 1>&6
10638 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10639 cat >> confdefs.h
<<EOF
10640 #define $ac_tr_hdr 1
10644 echo "$ac_t""no" 1>&6
10649 if test "$ac_cv_header_iostream" = "yes" ; then
10652 cat >> confdefs.h
<<\EOF
10653 #define wxUSE_IOSTREAMH 1
10659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10660 ac_cpp
='$CPP $CPPFLAGS'
10661 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10662 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10663 cross_compiling
=$ac_cv_prog_cc_cross
10669 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10670 echo "configure:10671: checking if C++ compiler supports bool" >&5
10671 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10672 echo $ac_n "(cached) $ac_c" 1>&6
10677 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10678 ac_cpp
='$CXXCPP $CPPFLAGS'
10679 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10680 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10681 cross_compiling
=$ac_cv_prog_cxx_cross
10684 cat > conftest.
$ac_ext <<EOF
10685 #line 10686 "configure"
10686 #include "confdefs.h"
10697 if { (eval echo configure
:10698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10703 echo "configure: failed program was:" >&5
10704 cat conftest.
$ac_ext >&5
10714 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10715 ac_cpp
='$CPP $CPPFLAGS'
10716 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10717 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10718 cross_compiling
=$ac_cv_prog_cc_cross
10723 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10725 if test "$wx_cv_cpp_bool" = "yes"; then
10726 cat >> confdefs.h
<<\EOF
10727 #define HAVE_BOOL 1
10735 /usr/local/include \
10737 /usr/Motif-1.2/include \
10738 /usr/Motif-2.1/include \
10740 /usr/include/Motif1.2 \
10741 /opt/xpm/include/X11 \
10742 /opt/GBxpm/include/ \
10743 /opt/GBxpm/X11/include/ \
10745 /usr/Motif1.2/include \
10747 /usr/openwin/include \
10751 /usr/X11R6/include \
10752 /usr/X11R6.4/include \
10753 /usr/X11R5/include \
10754 /usr/X11R4/include \
10756 /usr/include/X11R6 \
10757 /usr/include/X11R5 \
10758 /usr/include/X11R4 \
10760 /usr/local/X11R6/include \
10761 /usr/local/X11R5/include \
10762 /usr/local/X11R4/include \
10764 /usr/local/include/X11R6 \
10765 /usr/local/include/X11R5 \
10766 /usr/local/include/X11R4 \
10770 /usr/local/X11/include \
10771 /usr/local/include/X11 \
10773 /usr/X386/include \
10774 /usr/x386/include \
10775 /usr/XFree86/include/X11 \
10777 X:/XFree86/include \
10778 X:/XFree86/include/X11 \
10781 /usr/local/include/gtk \
10782 /usr/include/glib \
10783 /usr/local/include/glib \
10786 /usr/local/include/qt \
10788 /usr/include/windows \
10789 /usr/include/wine \
10790 /usr/local/include/wine \
10792 /usr/unsupported/include \
10793 /usr/athena/include \
10794 /usr/local/x11r5/include \
10795 /usr/lpp/Xamples/include \
10797 /usr/openwin/share/include \
10801 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
10804 cat > confcache
<<\EOF
10805 # This file is a shell script that caches the results of configure
10806 # tests run on this system so they can be shared between configure
10807 # scripts and configure runs. It is not useful on other systems.
10808 # If it contains results you don't want to keep, you may remove or edit it.
10810 # By default, configure uses ./config.cache as the cache file,
10811 # creating it if it does not exist already. You can give configure
10812 # the --cache-file=FILE option to use a different cache file; that is
10813 # what configure does when it calls configure scripts in
10814 # subdirectories, so they share the cache.
10815 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10816 # config.status only pays attention to the cache file if you give it the
10817 # --recheck option to rerun configure.
10820 # The following way of writing the cache mishandles newlines in values,
10821 # but we know of no workaround that is simple, portable, and efficient.
10822 # So, don't put newlines in cache variables' values.
10823 # Ultrix sh set writes to stderr and can't be redirected directly,
10824 # and sets the high bit in the cache file unless we assign to the vars.
10826 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10828 # `set' does not quote correctly, so add quotes (double-quote substitution
10829 # turns \\\\ into \\, and sed turns \\ into \).
10831 -e "s/'/'\\\\''/g" \
10832 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10835 # `set' quotes correctly as required by POSIX, so do not add quotes.
10836 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10839 if cmp -s $cache_file confcache
; then
10842 if test -w $cache_file; then
10843 echo "updating cache $cache_file"
10844 cat confcache
> $cache_file
10846 echo "not updating unwritable cache $cache_file"
10852 if test "$USE_LINUX" = 1; then
10853 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
10854 echo "configure:10855: checking for glibc 2.1 or later" >&5
10855 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
10856 echo $ac_n "(cached) $ac_c" 1>&6
10859 cat > conftest.
$ac_ext <<EOF
10860 #line 10861 "configure"
10861 #include "confdefs.h"
10862 #include <features.h>
10865 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
10866 #error not glibc2.1
10871 if { (eval echo configure
:10872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10874 wx_cv_lib_glibc21
=yes
10877 echo "configure: failed program was:" >&5
10878 cat conftest.
$ac_ext >&5
10881 wx_cv_lib_glibc21
=no
10889 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
10890 if test "$wx_cv_lib_glibc21" = "yes"; then
10891 cat >> confdefs.h
<<\EOF
10892 #define wxHAVE_GLIBC2 1
10901 if test "$wxUSE_REGEX" != "no"; then
10902 cat >> confdefs.h
<<\EOF
10903 #define wxUSE_REGEX 1
10907 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
10908 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
10909 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
10910 echo "configure:10911: checking for regex.h" >&5
10911 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10912 echo $ac_n "(cached) $ac_c" 1>&6
10914 cat > conftest.
$ac_ext <<EOF
10915 #line 10916 "configure"
10916 #include "confdefs.h"
10919 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10920 { (eval echo configure
:10921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10921 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10922 if test -z "$ac_err"; then
10924 eval "ac_cv_header_$ac_safe=yes"
10927 echo "configure: failed program was:" >&5
10928 cat conftest.
$ac_ext >&5
10930 eval "ac_cv_header_$ac_safe=no"
10934 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10935 echo "$ac_t""yes" 1>&6
10936 for ac_func
in regcomp
10938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10939 echo "configure:10940: checking for $ac_func" >&5
10940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10941 echo $ac_n "(cached) $ac_c" 1>&6
10943 cat > conftest.
$ac_ext <<EOF
10944 #line 10945 "configure"
10945 #include "confdefs.h"
10946 /* System header to define __stub macros and hopefully few prototypes,
10947 which can conflict with char $ac_func(); below. */
10948 #include <assert.h>
10949 /* Override any gcc2 internal prototype to avoid an error. */
10950 /* We use char because int might match the return type of a gcc2
10951 builtin and then its argument prototype would still apply. */
10956 /* The GNU C library defines this for functions which it implements
10957 to always fail with ENOSYS. Some functions are actually named
10958 something starting with __ and the normal name is an alias. */
10959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10967 if { (eval echo configure
:10968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10969 eval "ac_cv_func_$ac_func=yes"
10971 echo "configure: failed program was:" >&5
10972 cat conftest.
$ac_ext >&5
10974 eval "ac_cv_func_$ac_func=no"
10979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10980 echo "$ac_t""yes" 1>&6
10981 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10982 cat >> confdefs.h
<<EOF
10983 #define $ac_tr_func 1
10987 echo "$ac_t""no" 1>&6
10992 echo "$ac_t""no" 1>&6
10996 if test "x$ac_cv_func_regcomp" != "xyes"; then
10997 if test "$wxUSE_REGEX" = "sys" ; then
10998 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11000 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11001 wxUSE_REGEX
=builtin
11008 if test "$wxUSE_REGEX" = "builtin" ; then
11009 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11016 if test "$wxUSE_ZLIB" != "no" ; then
11017 cat >> confdefs.h
<<\EOF
11018 #define wxUSE_ZLIB 1
11022 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11023 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11024 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11025 echo "configure:11026: checking for zlib.h" >&5
11026 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11027 echo $ac_n "(cached) $ac_c" 1>&6
11029 cat > conftest.
$ac_ext <<EOF
11030 #line 11031 "configure"
11031 #include "confdefs.h"
11034 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11035 { (eval echo configure
:11036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11036 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11037 if test -z "$ac_err"; then
11039 eval "ac_cv_header_$ac_safe=yes"
11042 echo "configure: failed program was:" >&5
11043 cat conftest.
$ac_ext >&5
11045 eval "ac_cv_header_$ac_safe=no"
11049 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11050 echo "$ac_t""yes" 1>&6
11051 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11052 echo "configure:11053: checking for deflate in -lz" >&5
11053 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11054 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11055 echo $ac_n "(cached) $ac_c" 1>&6
11057 ac_save_LIBS
="$LIBS"
11059 cat > conftest.
$ac_ext <<EOF
11060 #line 11061 "configure"
11061 #include "confdefs.h"
11062 /* Override any gcc2 internal prototype to avoid an error. */
11063 /* We use char because int might match the return type of a gcc2
11064 builtin and then its argument prototype would still apply. */
11071 if { (eval echo configure
:11072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11073 eval "ac_cv_lib_$ac_lib_var=yes"
11075 echo "configure: failed program was:" >&5
11076 cat conftest.
$ac_ext >&5
11078 eval "ac_cv_lib_$ac_lib_var=no"
11081 LIBS
="$ac_save_LIBS"
11084 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11085 echo "$ac_t""yes" 1>&6
11088 echo "$ac_t""no" 1>&6
11092 echo "$ac_t""no" 1>&6
11096 if test "x$ZLIB_LINK" = "x" ; then
11097 if test "$wxUSE_ZLIB" = "sys" ; then
11098 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11100 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11108 if test "$wxUSE_ZLIB" = "builtin" ; then
11109 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11116 if test "$wxUSE_LIBPNG" != "no" ; then
11117 cat >> confdefs.h
<<\EOF
11118 #define wxUSE_LIBPNG 1
11122 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11123 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11127 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11128 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11129 wxUSE_LIBPNG
=builtin
11132 if test "$wxUSE_MGL" != 1 ; then
11133 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11134 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11135 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11136 echo "configure:11137: checking for png.h" >&5
11137 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11138 echo $ac_n "(cached) $ac_c" 1>&6
11140 cat > conftest.
$ac_ext <<EOF
11141 #line 11142 "configure"
11142 #include "confdefs.h"
11145 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11146 { (eval echo configure
:11147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11147 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11148 if test -z "$ac_err"; then
11150 eval "ac_cv_header_$ac_safe=yes"
11153 echo "configure: failed program was:" >&5
11154 cat conftest.
$ac_ext >&5
11156 eval "ac_cv_header_$ac_safe=no"
11160 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11161 echo "$ac_t""yes" 1>&6
11162 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11163 echo "configure:11164: checking for png_check_sig in -lpng" >&5
11164 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11165 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11166 echo $ac_n "(cached) $ac_c" 1>&6
11168 ac_save_LIBS
="$LIBS"
11169 LIBS
="-lpng -lz -lm $LIBS"
11170 cat > conftest.
$ac_ext <<EOF
11171 #line 11172 "configure"
11172 #include "confdefs.h"
11173 /* Override any gcc2 internal prototype to avoid an error. */
11174 /* We use char because int might match the return type of a gcc2
11175 builtin and then its argument prototype would still apply. */
11176 char png_check_sig();
11182 if { (eval echo configure
:11183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11184 eval "ac_cv_lib_$ac_lib_var=yes"
11186 echo "configure: failed program was:" >&5
11187 cat conftest.
$ac_ext >&5
11189 eval "ac_cv_lib_$ac_lib_var=no"
11192 LIBS
="$ac_save_LIBS"
11195 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11196 echo "$ac_t""yes" 1>&6
11199 echo "$ac_t""no" 1>&6
11204 echo "$ac_t""no" 1>&6
11208 if test "x$PNG_LINK" = "x" ; then
11209 if test "$wxUSE_LIBPNG" = "sys" ; then
11210 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11212 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11213 wxUSE_LIBPNG
=builtin
11221 if test "$wxUSE_LIBPNG" = "builtin" ; then
11222 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11225 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11231 if test "$wxUSE_LIBJPEG" != "no" ; then
11232 cat >> confdefs.h
<<\EOF
11233 #define wxUSE_LIBJPEG 1
11237 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11238 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11242 if test "$wxUSE_MGL" != 1 ; then
11243 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11244 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11245 echo "configure:11246: checking for jpeglib.h" >&5
11246 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11247 echo $ac_n "(cached) $ac_c" 1>&6
11249 cat > conftest.
$ac_ext <<EOF
11250 #line 11251 "configure"
11251 #include "confdefs.h"
11253 #undef HAVE_STDLIB_H
11255 #include <jpeglib.h>
11262 if { (eval echo configure
:11263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11264 ac_cv_header_jpeglib_h
=yes
11266 echo "configure: failed program was:" >&5
11267 cat conftest.
$ac_ext >&5
11269 ac_cv_header_jpeglib_h
=no
11276 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11278 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11279 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11280 echo "configure:11281: checking for jpeg_read_header in -ljpeg" >&5
11281 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11282 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11283 echo $ac_n "(cached) $ac_c" 1>&6
11285 ac_save_LIBS
="$LIBS"
11286 LIBS
="-ljpeg $LIBS"
11287 cat > conftest.
$ac_ext <<EOF
11288 #line 11289 "configure"
11289 #include "confdefs.h"
11290 /* Override any gcc2 internal prototype to avoid an error. */
11291 /* We use char because int might match the return type of a gcc2
11292 builtin and then its argument prototype would still apply. */
11293 char jpeg_read_header();
11299 if { (eval echo configure
:11300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11301 eval "ac_cv_lib_$ac_lib_var=yes"
11303 echo "configure: failed program was:" >&5
11304 cat conftest.
$ac_ext >&5
11306 eval "ac_cv_lib_$ac_lib_var=no"
11309 LIBS
="$ac_save_LIBS"
11312 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11313 echo "$ac_t""yes" 1>&6
11314 JPEG_LINK
=" -ljpeg"
11316 echo "$ac_t""no" 1>&6
11321 if test "x$JPEG_LINK" = "x" ; then
11322 if test "$wxUSE_LIBJPEG" = "sys" ; then
11323 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11325 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11326 wxUSE_LIBJPEG
=builtin
11334 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11335 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11342 if test "$wxUSE_LIBTIFF" != "no" ; then
11343 cat >> confdefs.h
<<\EOF
11344 #define wxUSE_LIBTIFF 1
11348 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11349 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11350 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11351 echo "configure:11352: checking for tiffio.h" >&5
11352 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11353 echo $ac_n "(cached) $ac_c" 1>&6
11355 cat > conftest.
$ac_ext <<EOF
11356 #line 11357 "configure"
11357 #include "confdefs.h"
11358 #include <tiffio.h>
11360 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11361 { (eval echo configure
:11362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11362 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11363 if test -z "$ac_err"; then
11365 eval "ac_cv_header_$ac_safe=yes"
11368 echo "configure: failed program was:" >&5
11369 cat conftest.
$ac_ext >&5
11371 eval "ac_cv_header_$ac_safe=no"
11375 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11376 echo "$ac_t""yes" 1>&6
11377 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11378 echo "configure:11379: checking for TIFFError in -ltiff" >&5
11379 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11380 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11381 echo $ac_n "(cached) $ac_c" 1>&6
11383 ac_save_LIBS
="$LIBS"
11384 LIBS
="-ltiff -lm $LIBS"
11385 cat > conftest.
$ac_ext <<EOF
11386 #line 11387 "configure"
11387 #include "confdefs.h"
11388 /* Override any gcc2 internal prototype to avoid an error. */
11389 /* We use char because int might match the return type of a gcc2
11390 builtin and then its argument prototype would still apply. */
11397 if { (eval echo configure
:11398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11399 eval "ac_cv_lib_$ac_lib_var=yes"
11401 echo "configure: failed program was:" >&5
11402 cat conftest.
$ac_ext >&5
11404 eval "ac_cv_lib_$ac_lib_var=no"
11407 LIBS
="$ac_save_LIBS"
11410 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11411 echo "$ac_t""yes" 1>&6
11412 TIFF_LINK
=" -ltiff"
11414 echo "$ac_t""no" 1>&6
11419 echo "$ac_t""no" 1>&6
11423 if test "x$TIFF_LINK" = "x" ; then
11424 if test "$wxUSE_LIBTIFF" = "sys" ; then
11425 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11427 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11428 wxUSE_LIBTIFF
=builtin
11435 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11436 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11447 if test "$USE_WIN32" = 1 ; then
11448 for ac_hdr
in w32api.h
11450 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11451 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11452 echo "configure:11453: checking for $ac_hdr" >&5
11453 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11454 echo $ac_n "(cached) $ac_c" 1>&6
11456 cat > conftest.
$ac_ext <<EOF
11457 #line 11458 "configure"
11458 #include "confdefs.h"
11461 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11462 { (eval echo configure
:11463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11463 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11464 if test -z "$ac_err"; then
11466 eval "ac_cv_header_$ac_safe=yes"
11469 echo "configure: failed program was:" >&5
11470 cat conftest.
$ac_ext >&5
11472 eval "ac_cv_header_$ac_safe=no"
11476 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11477 echo "$ac_t""yes" 1>&6
11478 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11479 cat >> confdefs.h
<<EOF
11480 #define $ac_tr_hdr 1
11484 echo "$ac_t""no" 1>&6
11488 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11489 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11490 echo "configure:11491: checking for windows.h" >&5
11491 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11492 echo $ac_n "(cached) $ac_c" 1>&6
11494 cat > conftest.
$ac_ext <<EOF
11495 #line 11496 "configure"
11496 #include "confdefs.h"
11497 #include <windows.h>
11499 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11500 { (eval echo configure
:11501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11501 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11502 if test -z "$ac_err"; then
11504 eval "ac_cv_header_$ac_safe=yes"
11507 echo "configure: failed program was:" >&5
11508 cat conftest.
$ac_ext >&5
11510 eval "ac_cv_header_$ac_safe=no"
11514 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11515 echo "$ac_t""yes" 1>&6
11518 echo "$ac_t""no" 1>&6
11520 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11525 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11526 echo "configure:11527: checking if w32api has good enough MSIE support" >&5
11527 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11528 echo $ac_n "(cached) $ac_c" 1>&6
11531 cat > conftest.
$ac_ext <<EOF
11532 #line 11533 "configure"
11533 #include "confdefs.h"
11534 #include <w32api.h>
11537 #define wxCHECK_W32API_VERSION( major, minor ) \
11538 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11539 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11540 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11542 #if !wxCHECK_W32API_VERSION(1,1)
11543 #error You need w32api 1.1 or newer
11548 if { (eval echo configure
:11549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11551 wx_cv_w32api_win32_ie
=yes
11554 echo "configure: failed program was:" >&5
11555 cat conftest.
$ac_ext >&5
11558 wx_cv_w32api_win32_ie
=no
11565 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11566 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11567 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
11570 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11574 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11575 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11578 if test "$wxUSE_ODBC" = "yes" ; then
11579 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
11582 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11583 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
11586 if test "$wxUSE_GUI" = "yes"; then
11595 if test "$wxUSE_MSW" = 1 ; then
11601 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11605 if test "$wxUSE_GTK" = 1; then
11606 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11607 echo "configure:11608: checking for GTK+ version" >&5
11609 gtk_version_cached
=1
11610 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11611 echo $ac_n "(cached) $ac_c" 1>&6
11614 gtk_version_cached
=0
11615 echo "$ac_t""" 1>&6
11618 if test "$wxUSE_THREADS" = "yes"; then
11619 GTK_MODULES
=gthread
11623 if test "x$wxUSE_GTK2" = "xyes"; then
11624 # Check whether --enable-gtktest or --disable-gtktest was given.
11625 if test "${enable_gtktest+set}" = set; then
11626 enableval
="$enable_gtktest"
11633 pkg_config_args
=gtk
+-2.0
11634 for module
in .
$GTK_MODULES
11638 pkg_config_args
="$pkg_config_args gthread-2.0"
11645 # Extract the first word of "pkg-config", so it can be a program name with args.
11646 set dummy pkg
-config; ac_word
=$2
11647 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11648 echo "configure:11649: checking for $ac_word" >&5
11649 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11650 echo $ac_n "(cached) $ac_c" 1>&6
11652 case "$PKG_CONFIG" in
11654 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11657 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
11660 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11662 for ac_dir
in $ac_dummy; do
11663 test -z "$ac_dir" && ac_dir
=.
11664 if test -f $ac_dir/$ac_word; then
11665 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
11670 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11674 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11675 if test -n "$PKG_CONFIG"; then
11676 echo "$ac_t""$PKG_CONFIG" 1>&6
11678 echo "$ac_t""no" 1>&6
11682 if test x
$PKG_CONFIG != xno
; then
11683 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
11686 echo *** pkg
-config too old
; version
0.7 or better required.
11694 min_gtk_version
=2.0.0
11695 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
11696 echo "configure:11697: checking for GTK+ - version >= $min_gtk_version" >&5
11698 if test x
$PKG_CONFIG != xno
; then
11699 ## don't try to run the test against uninstalled libtool libs
11700 if $PKG_CONFIG --uninstalled $pkg_config_args; then
11701 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11705 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11712 if test x
"$no_gtk" = x
; then
11713 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
11714 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
11715 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11716 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11717 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11719 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11721 if test "x$enable_gtktest" = "xyes" ; then
11722 ac_save_CFLAGS
="$CFLAGS"
11723 ac_save_LIBS
="$LIBS"
11724 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11725 LIBS
="$GTK_LIBS $LIBS"
11727 if test "$cross_compiling" = yes; then
11728 echo $ac_n "cross compiling; assumed OK... $ac_c"
11730 cat > conftest.
$ac_ext <<EOF
11731 #line 11732 "configure"
11732 #include "confdefs.h"
11734 #include <gtk/gtk.h>
11736 #include <stdlib.h>
11741 int major, minor, micro;
11744 system ("touch conf.gtktest");
11746 /* HP/UX 9 (%@#!) writes to sscanf strings */
11747 tmp_version = g_strdup("$min_gtk_version");
11748 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11749 printf("%s, bad version string\n", "$min_gtk_version");
11753 if ((gtk_major_version != $gtk_config_major_version) ||
11754 (gtk_minor_version != $gtk_config_minor_version) ||
11755 (gtk_micro_version != $gtk_config_micro_version))
11757 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11758 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11759 gtk_major_version, gtk_minor_version, gtk_micro_version);
11760 printf ("*** was found! If pkg-config was correct, then it is best\n");
11761 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11762 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11763 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11764 printf("*** required on your system.\n");
11765 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
11766 printf("*** to point to the correct configuration files\n");
11768 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11769 (gtk_minor_version != GTK_MINOR_VERSION) ||
11770 (gtk_micro_version != GTK_MICRO_VERSION))
11772 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11773 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11774 printf("*** library (version %d.%d.%d)\n",
11775 gtk_major_version, gtk_minor_version, gtk_micro_version);
11779 if ((gtk_major_version > major) ||
11780 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11781 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11787 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11788 gtk_major_version, gtk_minor_version, gtk_micro_version);
11789 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11790 major, minor, micro);
11791 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11793 printf("*** If you have already installed a sufficiently new version, this error\n");
11794 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
11795 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11796 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
11797 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
11798 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11799 printf("*** so that the correct libraries are found at run-time))\n");
11806 if { (eval echo configure
:11807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11810 echo "configure: failed program was:" >&5
11811 cat conftest.
$ac_ext >&5
11818 CFLAGS
="$ac_save_CFLAGS"
11819 LIBS
="$ac_save_LIBS"
11822 if test "x$no_gtk" = x
; then
11823 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
11826 echo "$ac_t""no" 1>&6
11827 if test "$PKG_CONFIG" = "no" ; then
11828 echo "*** A new enough version of pkg-config was not found."
11829 echo "*** See http://pkgconfig.sourceforge.net"
11831 if test -f conf.gtktest
; then
11834 echo "*** Could not run GTK+ test program, checking why..."
11835 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11836 LIBS
="$LIBS $GTK_LIBS"
11837 cat > conftest.
$ac_ext <<EOF
11838 #line 11839 "configure"
11839 #include "confdefs.h"
11841 #include <gtk/gtk.h>
11845 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11848 if { (eval echo configure
:11849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11850 echo "*** The test program compiled, but did not run. This usually means"
11851 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
11852 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
11853 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11854 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11855 echo "*** is required on your system"
11857 echo "*** If you have an old version installed, it is best to remove it, although"
11858 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11860 echo "configure: failed program was:" >&5
11861 cat conftest.
$ac_ext >&5
11863 echo "*** The test program failed to compile or link. See the file config.log for the"
11864 echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
11865 echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
11866 echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
11869 CFLAGS
="$ac_save_CFLAGS"
11870 LIBS
="$ac_save_LIBS"
11883 if test -z "$wx_cv_lib_gtk"; then
11884 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
11885 if test "${with_gtk_prefix+set}" = set; then
11886 withval
="$with_gtk_prefix"
11887 gtk_config_prefix
="$withval"
11889 gtk_config_prefix
=""
11892 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
11893 if test "${with_gtk_exec_prefix+set}" = set; then
11894 withval
="$with_gtk_exec_prefix"
11895 gtk_config_exec_prefix
="$withval"
11897 gtk_config_exec_prefix
=""
11900 # Check whether --enable-gtktest or --disable-gtktest was given.
11901 if test "${enable_gtktest+set}" = set; then
11902 enableval
="$enable_gtktest"
11909 for module
in .
$GTK_MODULES
11913 gtk_config_args
="$gtk_config_args gthread"
11918 if test x
$gtk_config_exec_prefix != x
; then
11919 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
11920 if test x
${GTK_CONFIG+set} != xset
; then
11921 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
11924 if test x
$gtk_config_prefix != x
; then
11925 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
11926 if test x
${GTK_CONFIG+set} != xset
; then
11927 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
11931 # Extract the first word of "gtk-config", so it can be a program name with args.
11932 set dummy gtk
-config; ac_word
=$2
11933 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11934 echo "configure:11935: checking for $ac_word" >&5
11935 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
11936 echo $ac_n "(cached) $ac_c" 1>&6
11938 case "$GTK_CONFIG" in
11940 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
11943 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
11946 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11948 for ac_dir
in $ac_dummy; do
11949 test -z "$ac_dir" && ac_dir
=.
11950 if test -f $ac_dir/$ac_word; then
11951 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
11956 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
11960 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
11961 if test -n "$GTK_CONFIG"; then
11962 echo "$ac_t""$GTK_CONFIG" 1>&6
11964 echo "$ac_t""no" 1>&6
11967 min_gtk_version
=1.2.7
11968 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
11969 echo "configure:11970: checking for GTK - version >= $min_gtk_version" >&5
11971 if test "$GTK_CONFIG" = "no" ; then
11974 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
11975 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
11976 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
11977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11978 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
11979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11980 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
11981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11982 if test "x$enable_gtktest" = "xyes" ; then
11983 ac_save_CFLAGS
="$CFLAGS"
11984 ac_save_LIBS
="$LIBS"
11985 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11986 LIBS
="$GTK_LIBS $LIBS"
11988 if test "$cross_compiling" = yes; then
11989 echo $ac_n "cross compiling; assumed OK... $ac_c"
11991 cat > conftest.
$ac_ext <<EOF
11992 #line 11993 "configure"
11993 #include "confdefs.h"
11995 #include <gtk/gtk.h>
11997 #include <stdlib.h>
12002 int major, minor, micro;
12005 system ("touch conf.gtktest");
12007 /* HP/UX 9 (%@#!) writes to sscanf strings */
12008 tmp_version = g_strdup("$min_gtk_version");
12009 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12010 printf("%s, bad version string\n", "$min_gtk_version");
12014 if ((gtk_major_version != $gtk_config_major_version) ||
12015 (gtk_minor_version != $gtk_config_minor_version) ||
12016 (gtk_micro_version != $gtk_config_micro_version))
12018 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12019 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12020 gtk_major_version, gtk_minor_version, gtk_micro_version);
12021 printf ("*** was found! If gtk-config was correct, then it is best\n");
12022 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12023 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12024 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12025 printf("*** required on your system.\n");
12026 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12027 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12028 printf("*** before re-running configure\n");
12030 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12031 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12032 (gtk_minor_version != GTK_MINOR_VERSION) ||
12033 (gtk_micro_version != GTK_MICRO_VERSION))
12035 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12036 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12037 printf("*** library (version %d.%d.%d)\n",
12038 gtk_major_version, gtk_minor_version, gtk_micro_version);
12040 #endif /* defined (GTK_MAJOR_VERSION) ... */
12043 if ((gtk_major_version > major) ||
12044 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12045 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12051 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12052 gtk_major_version, gtk_minor_version, gtk_micro_version);
12053 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12054 major, minor, micro);
12055 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12057 printf("*** If you have already installed a sufficiently new version, this error\n");
12058 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12059 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12060 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12061 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12062 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12063 printf("*** so that the correct libraries are found at run-time))\n");
12070 if { (eval echo configure
:12071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12074 echo "configure: failed program was:" >&5
12075 cat conftest.
$ac_ext >&5
12082 CFLAGS
="$ac_save_CFLAGS"
12083 LIBS
="$ac_save_LIBS"
12086 if test "x$no_gtk" = x
; then
12087 echo "$ac_t""yes" 1>&6
12088 wx_cv_lib_gtk
=1.2.7
12090 echo "$ac_t""no" 1>&6
12091 if test "$GTK_CONFIG" = "no" ; then
12092 echo "*** The gtk-config script installed by GTK could not be found"
12093 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12094 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12095 echo "*** full path to gtk-config."
12097 if test -f conf.gtktest
; then
12100 echo "*** Could not run GTK test program, checking why..."
12101 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12102 LIBS
="$LIBS $GTK_LIBS"
12103 cat > conftest.
$ac_ext <<EOF
12104 #line 12105 "configure"
12105 #include "confdefs.h"
12107 #include <gtk/gtk.h>
12111 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12114 if { (eval echo configure
:12115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12116 echo "*** The test program compiled, but did not run. This usually means"
12117 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12118 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12119 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12120 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12121 echo "*** is required on your system"
12123 echo "*** If you have an old version installed, it is best to remove it, although"
12124 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12126 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12127 echo "*** came with the system with the command"
12129 echo "*** rpm --erase --nodeps gtk gtk-devel"
12131 echo "configure: failed program was:" >&5
12132 cat conftest.
$ac_ext >&5
12134 echo "*** The test program failed to compile or link. See the file config.log for the"
12135 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12136 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12137 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12140 CFLAGS
="$ac_save_CFLAGS"
12141 LIBS
="$ac_save_LIBS"
12154 if test -z "$wx_cv_lib_gtk"; then
12155 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12156 if test "${with_gtk_prefix+set}" = set; then
12157 withval
="$with_gtk_prefix"
12158 gtk_config_prefix
="$withval"
12160 gtk_config_prefix
=""
12163 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12164 if test "${with_gtk_exec_prefix+set}" = set; then
12165 withval
="$with_gtk_exec_prefix"
12166 gtk_config_exec_prefix
="$withval"
12168 gtk_config_exec_prefix
=""
12171 # Check whether --enable-gtktest or --disable-gtktest was given.
12172 if test "${enable_gtktest+set}" = set; then
12173 enableval
="$enable_gtktest"
12180 for module
in .
$GTK_MODULES
12184 gtk_config_args
="$gtk_config_args gthread"
12189 if test x
$gtk_config_exec_prefix != x
; then
12190 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12191 if test x
${GTK_CONFIG+set} != xset
; then
12192 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12195 if test x
$gtk_config_prefix != x
; then
12196 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12197 if test x
${GTK_CONFIG+set} != xset
; then
12198 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12202 # Extract the first word of "gtk-config", so it can be a program name with args.
12203 set dummy gtk
-config; ac_word
=$2
12204 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12205 echo "configure:12206: checking for $ac_word" >&5
12206 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12207 echo $ac_n "(cached) $ac_c" 1>&6
12209 case "$GTK_CONFIG" in
12211 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12214 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12217 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12219 for ac_dir
in $ac_dummy; do
12220 test -z "$ac_dir" && ac_dir
=.
12221 if test -f $ac_dir/$ac_word; then
12222 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12227 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12231 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12232 if test -n "$GTK_CONFIG"; then
12233 echo "$ac_t""$GTK_CONFIG" 1>&6
12235 echo "$ac_t""no" 1>&6
12238 min_gtk_version
=1.2.3
12239 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12240 echo "configure:12241: checking for GTK - version >= $min_gtk_version" >&5
12242 if test "$GTK_CONFIG" = "no" ; then
12245 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12246 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12247 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12249 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12251 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12252 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12253 if test "x$enable_gtktest" = "xyes" ; then
12254 ac_save_CFLAGS
="$CFLAGS"
12255 ac_save_LIBS
="$LIBS"
12256 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12257 LIBS
="$GTK_LIBS $LIBS"
12259 if test "$cross_compiling" = yes; then
12260 echo $ac_n "cross compiling; assumed OK... $ac_c"
12262 cat > conftest.
$ac_ext <<EOF
12263 #line 12264 "configure"
12264 #include "confdefs.h"
12266 #include <gtk/gtk.h>
12268 #include <stdlib.h>
12273 int major, minor, micro;
12276 system ("touch conf.gtktest");
12278 /* HP/UX 9 (%@#!) writes to sscanf strings */
12279 tmp_version = g_strdup("$min_gtk_version");
12280 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12281 printf("%s, bad version string\n", "$min_gtk_version");
12285 if ((gtk_major_version != $gtk_config_major_version) ||
12286 (gtk_minor_version != $gtk_config_minor_version) ||
12287 (gtk_micro_version != $gtk_config_micro_version))
12289 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12290 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12291 gtk_major_version, gtk_minor_version, gtk_micro_version);
12292 printf ("*** was found! If gtk-config was correct, then it is best\n");
12293 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12294 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12295 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12296 printf("*** required on your system.\n");
12297 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12298 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12299 printf("*** before re-running configure\n");
12301 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12302 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12303 (gtk_minor_version != GTK_MINOR_VERSION) ||
12304 (gtk_micro_version != GTK_MICRO_VERSION))
12306 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12307 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12308 printf("*** library (version %d.%d.%d)\n",
12309 gtk_major_version, gtk_minor_version, gtk_micro_version);
12311 #endif /* defined (GTK_MAJOR_VERSION) ... */
12314 if ((gtk_major_version > major) ||
12315 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12316 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12322 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12323 gtk_major_version, gtk_minor_version, gtk_micro_version);
12324 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12325 major, minor, micro);
12326 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12328 printf("*** If you have already installed a sufficiently new version, this error\n");
12329 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12330 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12331 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12332 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12333 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12334 printf("*** so that the correct libraries are found at run-time))\n");
12341 if { (eval echo configure
:12342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12345 echo "configure: failed program was:" >&5
12346 cat conftest.
$ac_ext >&5
12353 CFLAGS
="$ac_save_CFLAGS"
12354 LIBS
="$ac_save_LIBS"
12357 if test "x$no_gtk" = x
; then
12358 echo "$ac_t""yes" 1>&6
12359 wx_cv_lib_gtk
=1.2.3
12361 echo "$ac_t""no" 1>&6
12362 if test "$GTK_CONFIG" = "no" ; then
12363 echo "*** The gtk-config script installed by GTK could not be found"
12364 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12365 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12366 echo "*** full path to gtk-config."
12368 if test -f conf.gtktest
; then
12371 echo "*** Could not run GTK test program, checking why..."
12372 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12373 LIBS
="$LIBS $GTK_LIBS"
12374 cat > conftest.
$ac_ext <<EOF
12375 #line 12376 "configure"
12376 #include "confdefs.h"
12378 #include <gtk/gtk.h>
12382 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12385 if { (eval echo configure
:12386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12387 echo "*** The test program compiled, but did not run. This usually means"
12388 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12389 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12390 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12391 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12392 echo "*** is required on your system"
12394 echo "*** If you have an old version installed, it is best to remove it, although"
12395 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12397 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12398 echo "*** came with the system with the command"
12400 echo "*** rpm --erase --nodeps gtk gtk-devel"
12402 echo "configure: failed program was:" >&5
12403 cat conftest.
$ac_ext >&5
12405 echo "*** The test program failed to compile or link. See the file config.log for the"
12406 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12407 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12408 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12411 CFLAGS
="$ac_save_CFLAGS"
12412 LIBS
="$ac_save_LIBS"
12425 if test -z "$wx_cv_lib_gtk"; then
12428 wx_cv_cflags_gtk
=$GTK_CFLAGS
12429 wx_cv_libs_gtk
=$GTK_LIBS
12436 if test "$gtk_version_cached" = 1; then
12437 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12440 case "$wx_cv_lib_gtk" in
12448 *) { echo "configure: error:
12449 Please check that gtk-config is in path, the directory
12450 where GTK+ libraries are installed (returned by
12451 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12452 equivalent variable and GTK+ is version 1.2.3 or above.
12457 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
12458 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
12460 AFMINSTALL
=afminstall
12464 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12465 echo "configure:12466: checking for gdk_im_open in -lgdk" >&5
12466 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12467 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12468 echo $ac_n "(cached) $ac_c" 1>&6
12470 ac_save_LIBS
="$LIBS"
12472 cat > conftest.
$ac_ext <<EOF
12473 #line 12474 "configure"
12474 #include "confdefs.h"
12475 /* Override any gcc2 internal prototype to avoid an error. */
12476 /* We use char because int might match the return type of a gcc2
12477 builtin and then its argument prototype would still apply. */
12478 char gdk_im_open();
12484 if { (eval echo configure
:12485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12486 eval "ac_cv_lib_$ac_lib_var=yes"
12488 echo "configure: failed program was:" >&5
12489 cat conftest.
$ac_ext >&5
12491 eval "ac_cv_lib_$ac_lib_var=no"
12494 LIBS
="$ac_save_LIBS"
12497 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12498 echo "$ac_t""yes" 1>&6
12499 cat >> confdefs.h
<<\EOF
12504 echo "$ac_t""no" 1>&6
12509 if test "$wxUSE_MGL" = 1; then
12510 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12511 echo "configure:12512: checking for SciTech MGL library" >&5
12512 if test "x$MGL_ROOT" = x
; then
12513 echo "$ac_t""not found" 1>&6
12514 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12516 echo "$ac_t""$MGL_ROOT" 1>&6
12521 mgl_os
=linux
/gcc
/glibc
12527 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12532 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12533 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
12534 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
12538 if test "x$mgl_lib_type" = x
; then
12539 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
12540 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
12541 mgl_lib_type
=release
12543 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12547 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
12548 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12550 AFMINSTALL
=afminstall
12555 if test "$wxUSE_MICROWIN" = 1; then
12556 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12557 echo "configure:12558: checking for MicroWindows" >&5
12558 if test "x$MICROWINDOWS" = x
; then
12559 echo "$ac_t""not found" 1>&6
12560 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12562 echo "$ac_t""$MICROWINDOWS" 1>&6
12565 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
12566 echo "$ac_t""MicroWindows' libraries found." 1>&6
12568 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
12571 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
12572 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
12574 AFMINSTALL
=afminstall
12576 GUIDIST
=MICROWIN_DIST
12578 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
12581 if test "$wxUSE_X11" = 1; then
12582 # If we find X, set shell vars x_includes and x_libraries to the
12583 # paths, otherwise set no_x=yes.
12584 # Uses ac_ vars as temps to allow command line to override cache and checks.
12585 # --without-x overrides everything else, but does not touch the cache.
12586 echo $ac_n "checking for X""... $ac_c" 1>&6
12587 echo "configure:12588: checking for X" >&5
12589 # Check whether --with-x or --without-x was given.
12590 if test "${with_x+set}" = set; then
12595 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12596 if test "x$with_x" = xno
; then
12597 # The user explicitly disabled X.
12600 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
12601 # Both variables are already set.
12604 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
12605 echo $ac_n "(cached) $ac_c" 1>&6
12607 # One or both of the vars are not set, and there is no cached value.
12608 ac_x_includes
=NO ac_x_libraries
=NO
12610 if mkdir conftestdir
; then
12612 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
12613 cat > Imakefile
<<'EOF'
12615 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
12617 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
12618 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12619 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
12620 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12621 for ac_extension
in a so sl
; do
12622 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
12623 test -f $ac_im_libdir/libX11.
$ac_extension; then
12624 ac_im_usrlibdir
=$ac_im_libdir; break
12627 # Screen out bogus values from the imake configuration. They are
12628 # bogus both because they are the default anyway, and because
12629 # using them would break gcc on systems where it needs fixed includes.
12630 case "$ac_im_incroot" in
12632 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
12634 case "$ac_im_usrlibdir" in
12635 /usr
/lib
| /lib
) ;;
12636 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
12643 if test "$ac_x_includes" = NO
; then
12644 # Guess where to find include files, by looking for this one X11 .h file.
12645 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
12647 # First, try using that file with no special directory specified.
12648 cat > conftest.
$ac_ext <<EOF
12649 #line 12650 "configure"
12650 #include "confdefs.h"
12651 #include <$x_direct_test_include>
12653 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12654 { (eval echo configure
:12655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12655 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12656 if test -z "$ac_err"; then
12658 # We can compile using X headers with no special include directory.
12662 echo "configure: failed program was:" >&5
12663 cat conftest.
$ac_ext >&5
12665 # Look for the header file in a standard set of common directories.
12666 # Check X11 before X11Rn because it is often a symlink to the current release.
12669 /usr
/X
11R
6/include \
12670 /usr
/X
11R
5/include \
12671 /usr
/X
11R
4/include \
12674 /usr
/include
/X11R6 \
12675 /usr
/include
/X11R5 \
12676 /usr
/include
/X11R4 \
12678 /usr
/local
/X
11/include \
12679 /usr
/local
/X
11R
6/include \
12680 /usr
/local
/X
11R
5/include \
12681 /usr
/local
/X
11R
4/include \
12683 /usr
/local
/include
/X11 \
12684 /usr
/local
/include
/X11R6 \
12685 /usr
/local
/include
/X11R5 \
12686 /usr
/local
/include
/X11R4 \
12688 /usr
/X
386/include \
12689 /usr
/x
386/include \
12690 /usr
/XFree
86/include
/X11 \
12693 /usr
/local
/include \
12694 /usr
/unsupported
/include \
12695 /usr
/athena
/include \
12696 /usr
/local
/x
11r
5/include \
12697 /usr
/lpp
/Xamples
/include \
12699 /usr
/openwin
/include \
12700 /usr
/openwin
/share
/include \
12703 if test -r "$ac_dir/$x_direct_test_include"; then
12704 ac_x_includes
=$ac_dir
12710 fi # $ac_x_includes = NO
12712 if test "$ac_x_libraries" = NO
; then
12713 # Check for the libraries.
12715 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
12716 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
12718 # See if we find them without any special options.
12719 # Don't add to $LIBS permanently.
12720 ac_save_LIBS
="$LIBS"
12721 LIBS
="-l$x_direct_test_library $LIBS"
12722 cat > conftest.
$ac_ext <<EOF
12723 #line 12724 "configure"
12724 #include "confdefs.h"
12727 ${x_direct_test_function}()
12730 if { (eval echo configure
:12731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12732 LIBS
="$ac_save_LIBS"
12733 # We can link X programs with no special library path.
12736 echo "configure: failed program was:" >&5
12737 cat conftest.
$ac_ext >&5
12739 LIBS
="$ac_save_LIBS"
12740 # First see if replacing the include by lib works.
12741 # Check X11 before X11Rn because it is often a symlink to the current release.
12742 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
12753 /usr
/local
/X
11/lib \
12754 /usr
/local
/X
11R
6/lib \
12755 /usr
/local
/X
11R
5/lib \
12756 /usr
/local
/X
11R
4/lib \
12758 /usr
/local
/lib
/X11 \
12759 /usr
/local
/lib
/X11R6 \
12760 /usr
/local
/lib
/X11R5 \
12761 /usr
/local
/lib
/X11R4 \
12765 /usr
/XFree
86/lib
/X11 \
12769 /usr
/unsupported
/lib \
12771 /usr
/local
/x
11r
5/lib \
12772 /usr
/lpp
/Xamples
/lib \
12776 /usr
/openwin
/share
/lib \
12779 for ac_extension
in a so sl
; do
12780 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
12781 ac_x_libraries
=$ac_dir
12788 fi # $ac_x_libraries = NO
12790 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
12791 # Didn't find X anywhere. Cache the known absence of X.
12792 ac_cv_have_x
="have_x=no"
12794 # Record where we found X for the cache.
12795 ac_cv_have_x
="have_x=yes \
12796 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
12800 eval "$ac_cv_have_x"
12803 if test "$have_x" != yes; then
12804 echo "$ac_t""$have_x" 1>&6
12807 # If each of the values was on the command line, it overrides each guess.
12808 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
12809 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
12810 # Update the cache value to reflect the command line values.
12811 ac_cv_have_x
="have_x=yes \
12812 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
12813 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
12816 if test "$no_x" = yes; then
12817 # Not all programs may use this symbol, but it does not hurt to define it.
12818 cat >> confdefs.h
<<\EOF
12819 #define X_DISPLAY_MISSING 1
12822 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12824 if test -n "$x_includes"; then
12825 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12828 # It would also be nice to do this for all -L options, not just this one.
12829 if test -n "$x_libraries"; then
12830 X_LIBS
="$X_LIBS -L$x_libraries"
12831 # For Solaris; some versions of Sun CC require a space after -R and
12832 # others require no space. Words are not sufficient . . . .
12833 case "`(uname -sr) 2>/dev/null`" in
12835 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12836 echo "configure:12837: checking whether -R must be followed by a space" >&5
12837 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12838 cat > conftest.
$ac_ext <<EOF
12839 #line 12840 "configure"
12840 #include "confdefs.h"
12846 if { (eval echo configure
:12847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12850 echo "configure: failed program was:" >&5
12851 cat conftest.
$ac_ext >&5
12856 if test $ac_R_nospace = yes; then
12857 echo "$ac_t""no" 1>&6
12858 X_LIBS
="$X_LIBS -R$x_libraries"
12860 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12861 cat > conftest.
$ac_ext <<EOF
12862 #line 12863 "configure"
12863 #include "confdefs.h"
12869 if { (eval echo configure
:12870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12873 echo "configure: failed program was:" >&5
12874 cat conftest.
$ac_ext >&5
12879 if test $ac_R_space = yes; then
12880 echo "$ac_t""yes" 1>&6
12881 X_LIBS
="$X_LIBS -R $x_libraries"
12883 echo "$ac_t""neither works" 1>&6
12886 LIBS
="$ac_xsave_LIBS"
12890 # Check for system-dependent libraries X programs must link with.
12891 # Do this before checking for the system-independent R6 libraries
12892 # (-lICE), since we may need -lsocket or whatever for X linking.
12894 if test "$ISC" = yes; then
12895 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
12897 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
12898 # libraries were built with DECnet support. And karl@cs.umb.edu says
12899 # the Alpha needs dnet_stub (dnet does not exist).
12900 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
12901 echo "configure:12902: checking for dnet_ntoa in -ldnet" >&5
12902 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12903 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12904 echo $ac_n "(cached) $ac_c" 1>&6
12906 ac_save_LIBS
="$LIBS"
12907 LIBS
="-ldnet $LIBS"
12908 cat > conftest.
$ac_ext <<EOF
12909 #line 12910 "configure"
12910 #include "confdefs.h"
12911 /* Override any gcc2 internal prototype to avoid an error. */
12912 /* We use char because int might match the return type of a gcc2
12913 builtin and then its argument prototype would still apply. */
12920 if { (eval echo configure
:12921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12922 eval "ac_cv_lib_$ac_lib_var=yes"
12924 echo "configure: failed program was:" >&5
12925 cat conftest.
$ac_ext >&5
12927 eval "ac_cv_lib_$ac_lib_var=no"
12930 LIBS
="$ac_save_LIBS"
12933 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12934 echo "$ac_t""yes" 1>&6
12935 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
12937 echo "$ac_t""no" 1>&6
12940 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
12941 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
12942 echo "configure:12943: checking for dnet_ntoa in -ldnet_stub" >&5
12943 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12944 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12945 echo $ac_n "(cached) $ac_c" 1>&6
12947 ac_save_LIBS
="$LIBS"
12948 LIBS
="-ldnet_stub $LIBS"
12949 cat > conftest.
$ac_ext <<EOF
12950 #line 12951 "configure"
12951 #include "confdefs.h"
12952 /* Override any gcc2 internal prototype to avoid an error. */
12953 /* We use char because int might match the return type of a gcc2
12954 builtin and then its argument prototype would still apply. */
12961 if { (eval echo configure
:12962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12963 eval "ac_cv_lib_$ac_lib_var=yes"
12965 echo "configure: failed program was:" >&5
12966 cat conftest.
$ac_ext >&5
12968 eval "ac_cv_lib_$ac_lib_var=no"
12971 LIBS
="$ac_save_LIBS"
12974 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12975 echo "$ac_t""yes" 1>&6
12976 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
12978 echo "$ac_t""no" 1>&6
12983 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12984 # to get the SysV transport functions.
12985 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
12987 # The nsl library prevents programs from opening the X display
12988 # on Irix 5.2, according to dickey@clark.net.
12989 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
12990 echo "configure:12991: checking for gethostbyname" >&5
12991 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
12992 echo $ac_n "(cached) $ac_c" 1>&6
12994 cat > conftest.
$ac_ext <<EOF
12995 #line 12996 "configure"
12996 #include "confdefs.h"
12997 /* System header to define __stub macros and hopefully few prototypes,
12998 which can conflict with char gethostbyname(); below. */
12999 #include <assert.h>
13000 /* Override any gcc2 internal prototype to avoid an error. */
13001 /* We use char because int might match the return type of a gcc2
13002 builtin and then its argument prototype would still apply. */
13003 char gethostbyname();
13007 /* The GNU C library defines this for functions which it implements
13008 to always fail with ENOSYS. Some functions are actually named
13009 something starting with __ and the normal name is an alias. */
13010 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13018 if { (eval echo configure
:13019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13020 eval "ac_cv_func_gethostbyname=yes"
13022 echo "configure: failed program was:" >&5
13023 cat conftest.
$ac_ext >&5
13025 eval "ac_cv_func_gethostbyname=no"
13030 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13031 echo "$ac_t""yes" 1>&6
13034 echo "$ac_t""no" 1>&6
13037 if test $ac_cv_func_gethostbyname = no
; then
13038 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13039 echo "configure:13040: checking for gethostbyname in -lnsl" >&5
13040 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13041 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13042 echo $ac_n "(cached) $ac_c" 1>&6
13044 ac_save_LIBS
="$LIBS"
13046 cat > conftest.
$ac_ext <<EOF
13047 #line 13048 "configure"
13048 #include "confdefs.h"
13049 /* Override any gcc2 internal prototype to avoid an error. */
13050 /* We use char because int might match the return type of a gcc2
13051 builtin and then its argument prototype would still apply. */
13052 char gethostbyname();
13058 if { (eval echo configure
:13059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13060 eval "ac_cv_lib_$ac_lib_var=yes"
13062 echo "configure: failed program was:" >&5
13063 cat conftest.
$ac_ext >&5
13065 eval "ac_cv_lib_$ac_lib_var=no"
13068 LIBS
="$ac_save_LIBS"
13071 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13072 echo "$ac_t""yes" 1>&6
13073 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13075 echo "$ac_t""no" 1>&6
13080 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13081 # socket/setsockopt and other routines are undefined under SCO ODT
13082 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13083 # on later versions), says simon@lia.di.epfl.ch: it contains
13084 # gethostby* variants that don't use the nameserver (or something).
13085 # -lsocket must be given before -lnsl if both are needed.
13086 # We assume that if connect needs -lnsl, so does gethostbyname.
13087 echo $ac_n "checking for connect""... $ac_c" 1>&6
13088 echo "configure:13089: checking for connect" >&5
13089 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13090 echo $ac_n "(cached) $ac_c" 1>&6
13092 cat > conftest.
$ac_ext <<EOF
13093 #line 13094 "configure"
13094 #include "confdefs.h"
13095 /* System header to define __stub macros and hopefully few prototypes,
13096 which can conflict with char connect(); below. */
13097 #include <assert.h>
13098 /* Override any gcc2 internal prototype to avoid an error. */
13099 /* We use char because int might match the return type of a gcc2
13100 builtin and then its argument prototype would still apply. */
13105 /* The GNU C library defines this for functions which it implements
13106 to always fail with ENOSYS. Some functions are actually named
13107 something starting with __ and the normal name is an alias. */
13108 #if defined (__stub_connect) || defined (__stub___connect)
13116 if { (eval echo configure
:13117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13118 eval "ac_cv_func_connect=yes"
13120 echo "configure: failed program was:" >&5
13121 cat conftest.
$ac_ext >&5
13123 eval "ac_cv_func_connect=no"
13128 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13129 echo "$ac_t""yes" 1>&6
13132 echo "$ac_t""no" 1>&6
13135 if test $ac_cv_func_connect = no
; then
13136 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13137 echo "configure:13138: checking for connect in -lsocket" >&5
13138 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13139 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13140 echo $ac_n "(cached) $ac_c" 1>&6
13142 ac_save_LIBS
="$LIBS"
13143 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13144 cat > conftest.
$ac_ext <<EOF
13145 #line 13146 "configure"
13146 #include "confdefs.h"
13147 /* Override any gcc2 internal prototype to avoid an error. */
13148 /* We use char because int might match the return type of a gcc2
13149 builtin and then its argument prototype would still apply. */
13156 if { (eval echo configure
:13157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13158 eval "ac_cv_lib_$ac_lib_var=yes"
13160 echo "configure: failed program was:" >&5
13161 cat conftest.
$ac_ext >&5
13163 eval "ac_cv_lib_$ac_lib_var=no"
13166 LIBS
="$ac_save_LIBS"
13169 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13170 echo "$ac_t""yes" 1>&6
13171 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13173 echo "$ac_t""no" 1>&6
13178 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13179 echo $ac_n "checking for remove""... $ac_c" 1>&6
13180 echo "configure:13181: checking for remove" >&5
13181 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13182 echo $ac_n "(cached) $ac_c" 1>&6
13184 cat > conftest.
$ac_ext <<EOF
13185 #line 13186 "configure"
13186 #include "confdefs.h"
13187 /* System header to define __stub macros and hopefully few prototypes,
13188 which can conflict with char remove(); below. */
13189 #include <assert.h>
13190 /* Override any gcc2 internal prototype to avoid an error. */
13191 /* We use char because int might match the return type of a gcc2
13192 builtin and then its argument prototype would still apply. */
13197 /* The GNU C library defines this for functions which it implements
13198 to always fail with ENOSYS. Some functions are actually named
13199 something starting with __ and the normal name is an alias. */
13200 #if defined (__stub_remove) || defined (__stub___remove)
13208 if { (eval echo configure
:13209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13210 eval "ac_cv_func_remove=yes"
13212 echo "configure: failed program was:" >&5
13213 cat conftest.
$ac_ext >&5
13215 eval "ac_cv_func_remove=no"
13220 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13221 echo "$ac_t""yes" 1>&6
13224 echo "$ac_t""no" 1>&6
13227 if test $ac_cv_func_remove = no
; then
13228 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13229 echo "configure:13230: checking for remove in -lposix" >&5
13230 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13231 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13232 echo $ac_n "(cached) $ac_c" 1>&6
13234 ac_save_LIBS
="$LIBS"
13235 LIBS
="-lposix $LIBS"
13236 cat > conftest.
$ac_ext <<EOF
13237 #line 13238 "configure"
13238 #include "confdefs.h"
13239 /* Override any gcc2 internal prototype to avoid an error. */
13240 /* We use char because int might match the return type of a gcc2
13241 builtin and then its argument prototype would still apply. */
13248 if { (eval echo configure
:13249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13250 eval "ac_cv_lib_$ac_lib_var=yes"
13252 echo "configure: failed program was:" >&5
13253 cat conftest.
$ac_ext >&5
13255 eval "ac_cv_lib_$ac_lib_var=no"
13258 LIBS
="$ac_save_LIBS"
13261 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13262 echo "$ac_t""yes" 1>&6
13263 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
13265 echo "$ac_t""no" 1>&6
13270 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13271 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13272 echo "configure:13273: checking for shmat" >&5
13273 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13274 echo $ac_n "(cached) $ac_c" 1>&6
13276 cat > conftest.
$ac_ext <<EOF
13277 #line 13278 "configure"
13278 #include "confdefs.h"
13279 /* System header to define __stub macros and hopefully few prototypes,
13280 which can conflict with char shmat(); below. */
13281 #include <assert.h>
13282 /* Override any gcc2 internal prototype to avoid an error. */
13283 /* We use char because int might match the return type of a gcc2
13284 builtin and then its argument prototype would still apply. */
13289 /* The GNU C library defines this for functions which it implements
13290 to always fail with ENOSYS. Some functions are actually named
13291 something starting with __ and the normal name is an alias. */
13292 #if defined (__stub_shmat) || defined (__stub___shmat)
13300 if { (eval echo configure
:13301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13302 eval "ac_cv_func_shmat=yes"
13304 echo "configure: failed program was:" >&5
13305 cat conftest.
$ac_ext >&5
13307 eval "ac_cv_func_shmat=no"
13312 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13313 echo "$ac_t""yes" 1>&6
13316 echo "$ac_t""no" 1>&6
13319 if test $ac_cv_func_shmat = no
; then
13320 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13321 echo "configure:13322: checking for shmat in -lipc" >&5
13322 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13323 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13324 echo $ac_n "(cached) $ac_c" 1>&6
13326 ac_save_LIBS
="$LIBS"
13328 cat > conftest.
$ac_ext <<EOF
13329 #line 13330 "configure"
13330 #include "confdefs.h"
13331 /* Override any gcc2 internal prototype to avoid an error. */
13332 /* We use char because int might match the return type of a gcc2
13333 builtin and then its argument prototype would still apply. */
13340 if { (eval echo configure
:13341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13342 eval "ac_cv_lib_$ac_lib_var=yes"
13344 echo "configure: failed program was:" >&5
13345 cat conftest.
$ac_ext >&5
13347 eval "ac_cv_lib_$ac_lib_var=no"
13350 LIBS
="$ac_save_LIBS"
13353 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13354 echo "$ac_t""yes" 1>&6
13355 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
13357 echo "$ac_t""no" 1>&6
13363 # Check for libraries that X11R6 Xt/Xaw programs need.
13364 ac_save_LDFLAGS
="$LDFLAGS"
13365 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
13366 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13367 # check for ICE first), but we must link in the order -lSM -lICE or
13368 # we get undefined symbols. So assume we have SM if we have ICE.
13369 # These have to be linked with before -lX11, unlike the other
13370 # libraries we check for below, so use a different variable.
13371 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13372 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13373 echo "configure:13374: checking for IceConnectionNumber in -lICE" >&5
13374 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13375 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13376 echo $ac_n "(cached) $ac_c" 1>&6
13378 ac_save_LIBS
="$LIBS"
13379 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
13380 cat > conftest.
$ac_ext <<EOF
13381 #line 13382 "configure"
13382 #include "confdefs.h"
13383 /* Override any gcc2 internal prototype to avoid an error. */
13384 /* We use char because int might match the return type of a gcc2
13385 builtin and then its argument prototype would still apply. */
13386 char IceConnectionNumber();
13389 IceConnectionNumber()
13392 if { (eval echo configure
:13393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13394 eval "ac_cv_lib_$ac_lib_var=yes"
13396 echo "configure: failed program was:" >&5
13397 cat conftest.
$ac_ext >&5
13399 eval "ac_cv_lib_$ac_lib_var=no"
13402 LIBS
="$ac_save_LIBS"
13405 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13406 echo "$ac_t""yes" 1>&6
13407 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
13409 echo "$ac_t""no" 1>&6
13412 LDFLAGS
="$ac_save_LDFLAGS"
13417 if test "$no_x" = "yes"; then
13418 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13421 GUI_TK_LIBRARY
="$X_LIBS"
13422 TOOLKIT_INCLUDE
="$X_CFLAGS"
13423 AFMINSTALL
=afminstall
13424 COMPILED_X_PROGRAM
=0
13426 if test "$wxUSE_NANOX" = "yes"; then
13427 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13428 echo "configure:13429: checking for MicroWindows/NanoX distribution" >&5
13429 if test "x$MICROWIN" = x
; then
13430 echo "$ac_t""not found" 1>&6
13431 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13433 echo "$ac_t""$MICROWIN" 1>&6
13434 cat >> confdefs.h
<<\EOF
13435 #define wxUSE_NANOX 1
13442 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13443 echo "configure:13444: checking for Xpm library" >&5
13446 for ac_dir
in $SEARCH_LIB;
13448 for ac_extension
in a so sl dylib
; do
13449 if test -f "$ac_dir/libXpm.$ac_extension"; then
13450 ac_find_libraries
=$ac_dir
13456 if test "$ac_find_libraries" != "" ; then
13458 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13460 if test $result = 0; then
13463 ac_path_to_link
=" -L$ac_find_libraries"
13466 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13468 cat >> confdefs.h
<<\EOF
13469 #define wxHAVE_LIB_XPM 1
13472 echo "$ac_t""found at $ac_find_libraries" 1>&6
13474 cat > conftest.
$ac_ext <<EOF
13475 #line 13476 "configure"
13476 #include "confdefs.h"
13478 #include <X11/xpm.h>
13483 version = XpmLibraryVersion();
13487 if { (eval echo configure
:13488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13491 cat >> confdefs.h
<<\EOF
13492 #define wxHAVE_LIB_XPM 1
13495 echo "$ac_t""found in default search path" 1>&6
13496 COMPILED_X_PROGRAM
=0
13499 echo "configure: failed program was:" >&5
13500 cat conftest.
$ac_ext >&5
13503 echo "$ac_t""no" 1>&6
13504 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13511 if test "$wxUSE_NANOX" = "yes"; then
13512 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13513 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"
13514 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13516 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
13519 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
13524 if test "$wxUSE_WINE" = 1; then
13525 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
13526 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13527 echo "configure:13528: checking for windows.h" >&5
13528 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13529 echo $ac_n "(cached) $ac_c" 1>&6
13531 cat > conftest.
$ac_ext <<EOF
13532 #line 13533 "configure"
13533 #include "confdefs.h"
13534 #include <windows.h>
13536 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13537 { (eval echo configure
:13538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13538 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13539 if test -z "$ac_err"; then
13541 eval "ac_cv_header_$ac_safe=yes"
13544 echo "configure: failed program was:" >&5
13545 cat conftest.
$ac_ext >&5
13547 eval "ac_cv_header_$ac_safe=no"
13551 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13552 echo "$ac_t""yes" 1>&6
13555 echo "$ac_t""no" 1>&6
13557 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13563 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13564 echo "configure:13565: checking for Xpm library" >&5
13567 for ac_dir
in $SEARCH_LIB;
13569 for ac_extension
in a so sl dylib
; do
13570 if test -f "$ac_dir/libXpm.$ac_extension"; then
13571 ac_find_libraries
=$ac_dir
13577 if test "$ac_find_libraries" != "" ; then
13578 GUI_TK_LIBRARY
="-L$ac_find_libraries"
13580 cat >> confdefs.h
<<\EOF
13581 #define wxHAVE_LIB_XPM 1
13584 echo "$ac_t""found at $ac_find_libraries" 1>&6
13586 echo "$ac_t""no" 1>&6
13587 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13591 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
13592 echo "configure:13593: checking for Mesa library" >&5
13595 for ac_dir
in $SEARCH_LIB;
13597 for ac_extension
in a so sl dylib
; do
13598 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13599 ac_find_libraries
=$ac_dir
13605 if test "$ac_find_libraries" != "" ; then
13606 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
13607 mesa_link
=" -lMesaGL"
13608 echo "$ac_t""found at $ac_find_libraries" 1>&6
13610 { echo "configure: error: no" 1>&2; exit 1; }
13613 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
13616 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
13619 if test "$wxUSE_MOTIF" = 1; then
13620 if test "$no_x" = yes; then
13621 # Not all programs may use this symbol, but it does not hurt to define it.
13622 cat >> confdefs.h
<<\EOF
13623 #define X_DISPLAY_MISSING 1
13626 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13628 if test -n "$x_includes"; then
13629 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13632 # It would also be nice to do this for all -L options, not just this one.
13633 if test -n "$x_libraries"; then
13634 X_LIBS
="$X_LIBS -L$x_libraries"
13635 # For Solaris; some versions of Sun CC require a space after -R and
13636 # others require no space. Words are not sufficient . . . .
13637 case "`(uname -sr) 2>/dev/null`" in
13639 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13640 echo "configure:13641: checking whether -R must be followed by a space" >&5
13641 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13642 cat > conftest.
$ac_ext <<EOF
13643 #line 13644 "configure"
13644 #include "confdefs.h"
13650 if { (eval echo configure
:13651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13654 echo "configure: failed program was:" >&5
13655 cat conftest.
$ac_ext >&5
13660 if test $ac_R_nospace = yes; then
13661 echo "$ac_t""no" 1>&6
13662 X_LIBS
="$X_LIBS -R$x_libraries"
13664 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13665 cat > conftest.
$ac_ext <<EOF
13666 #line 13667 "configure"
13667 #include "confdefs.h"
13673 if { (eval echo configure
:13674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13677 echo "configure: failed program was:" >&5
13678 cat conftest.
$ac_ext >&5
13683 if test $ac_R_space = yes; then
13684 echo "$ac_t""yes" 1>&6
13685 X_LIBS
="$X_LIBS -R $x_libraries"
13687 echo "$ac_t""neither works" 1>&6
13690 LIBS
="$ac_xsave_LIBS"
13694 # Check for system-dependent libraries X programs must link with.
13695 # Do this before checking for the system-independent R6 libraries
13696 # (-lICE), since we may need -lsocket or whatever for X linking.
13698 if test "$ISC" = yes; then
13699 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13701 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13702 # libraries were built with DECnet support. And karl@cs.umb.edu says
13703 # the Alpha needs dnet_stub (dnet does not exist).
13704 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13705 echo "configure:13706: checking for dnet_ntoa in -ldnet" >&5
13706 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13707 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13708 echo $ac_n "(cached) $ac_c" 1>&6
13710 ac_save_LIBS
="$LIBS"
13711 LIBS
="-ldnet $LIBS"
13712 cat > conftest.
$ac_ext <<EOF
13713 #line 13714 "configure"
13714 #include "confdefs.h"
13715 /* Override any gcc2 internal prototype to avoid an error. */
13716 /* We use char because int might match the return type of a gcc2
13717 builtin and then its argument prototype would still apply. */
13724 if { (eval echo configure
:13725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13726 eval "ac_cv_lib_$ac_lib_var=yes"
13728 echo "configure: failed program was:" >&5
13729 cat conftest.
$ac_ext >&5
13731 eval "ac_cv_lib_$ac_lib_var=no"
13734 LIBS
="$ac_save_LIBS"
13737 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13738 echo "$ac_t""yes" 1>&6
13739 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13741 echo "$ac_t""no" 1>&6
13744 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13745 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13746 echo "configure:13747: checking for dnet_ntoa in -ldnet_stub" >&5
13747 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13748 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13749 echo $ac_n "(cached) $ac_c" 1>&6
13751 ac_save_LIBS
="$LIBS"
13752 LIBS
="-ldnet_stub $LIBS"
13753 cat > conftest.
$ac_ext <<EOF
13754 #line 13755 "configure"
13755 #include "confdefs.h"
13756 /* Override any gcc2 internal prototype to avoid an error. */
13757 /* We use char because int might match the return type of a gcc2
13758 builtin and then its argument prototype would still apply. */
13765 if { (eval echo configure
:13766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13767 eval "ac_cv_lib_$ac_lib_var=yes"
13769 echo "configure: failed program was:" >&5
13770 cat conftest.
$ac_ext >&5
13772 eval "ac_cv_lib_$ac_lib_var=no"
13775 LIBS
="$ac_save_LIBS"
13778 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13779 echo "$ac_t""yes" 1>&6
13780 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13782 echo "$ac_t""no" 1>&6
13787 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13788 # to get the SysV transport functions.
13789 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13791 # The nsl library prevents programs from opening the X display
13792 # on Irix 5.2, according to dickey@clark.net.
13793 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13794 echo "configure:13795: checking for gethostbyname" >&5
13795 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13796 echo $ac_n "(cached) $ac_c" 1>&6
13798 cat > conftest.
$ac_ext <<EOF
13799 #line 13800 "configure"
13800 #include "confdefs.h"
13801 /* System header to define __stub macros and hopefully few prototypes,
13802 which can conflict with char gethostbyname(); below. */
13803 #include <assert.h>
13804 /* Override any gcc2 internal prototype to avoid an error. */
13805 /* We use char because int might match the return type of a gcc2
13806 builtin and then its argument prototype would still apply. */
13807 char gethostbyname();
13811 /* The GNU C library defines this for functions which it implements
13812 to always fail with ENOSYS. Some functions are actually named
13813 something starting with __ and the normal name is an alias. */
13814 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13822 if { (eval echo configure
:13823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13824 eval "ac_cv_func_gethostbyname=yes"
13826 echo "configure: failed program was:" >&5
13827 cat conftest.
$ac_ext >&5
13829 eval "ac_cv_func_gethostbyname=no"
13834 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13835 echo "$ac_t""yes" 1>&6
13838 echo "$ac_t""no" 1>&6
13841 if test $ac_cv_func_gethostbyname = no
; then
13842 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13843 echo "configure:13844: checking for gethostbyname in -lnsl" >&5
13844 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13846 echo $ac_n "(cached) $ac_c" 1>&6
13848 ac_save_LIBS
="$LIBS"
13850 cat > conftest.
$ac_ext <<EOF
13851 #line 13852 "configure"
13852 #include "confdefs.h"
13853 /* Override any gcc2 internal prototype to avoid an error. */
13854 /* We use char because int might match the return type of a gcc2
13855 builtin and then its argument prototype would still apply. */
13856 char gethostbyname();
13862 if { (eval echo configure
:13863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13864 eval "ac_cv_lib_$ac_lib_var=yes"
13866 echo "configure: failed program was:" >&5
13867 cat conftest.
$ac_ext >&5
13869 eval "ac_cv_lib_$ac_lib_var=no"
13872 LIBS
="$ac_save_LIBS"
13875 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13876 echo "$ac_t""yes" 1>&6
13877 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13879 echo "$ac_t""no" 1>&6
13884 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13885 # socket/setsockopt and other routines are undefined under SCO ODT
13886 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13887 # on later versions), says simon@lia.di.epfl.ch: it contains
13888 # gethostby* variants that don't use the nameserver (or something).
13889 # -lsocket must be given before -lnsl if both are needed.
13890 # We assume that if connect needs -lnsl, so does gethostbyname.
13891 echo $ac_n "checking for connect""... $ac_c" 1>&6
13892 echo "configure:13893: checking for connect" >&5
13893 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13894 echo $ac_n "(cached) $ac_c" 1>&6
13896 cat > conftest.
$ac_ext <<EOF
13897 #line 13898 "configure"
13898 #include "confdefs.h"
13899 /* System header to define __stub macros and hopefully few prototypes,
13900 which can conflict with char connect(); below. */
13901 #include <assert.h>
13902 /* Override any gcc2 internal prototype to avoid an error. */
13903 /* We use char because int might match the return type of a gcc2
13904 builtin and then its argument prototype would still apply. */
13909 /* The GNU C library defines this for functions which it implements
13910 to always fail with ENOSYS. Some functions are actually named
13911 something starting with __ and the normal name is an alias. */
13912 #if defined (__stub_connect) || defined (__stub___connect)
13920 if { (eval echo configure
:13921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13922 eval "ac_cv_func_connect=yes"
13924 echo "configure: failed program was:" >&5
13925 cat conftest.
$ac_ext >&5
13927 eval "ac_cv_func_connect=no"
13932 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13933 echo "$ac_t""yes" 1>&6
13936 echo "$ac_t""no" 1>&6
13939 if test $ac_cv_func_connect = no
; then
13940 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13941 echo "configure:13942: checking for connect in -lsocket" >&5
13942 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13943 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13944 echo $ac_n "(cached) $ac_c" 1>&6
13946 ac_save_LIBS
="$LIBS"
13947 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13948 cat > conftest.
$ac_ext <<EOF
13949 #line 13950 "configure"
13950 #include "confdefs.h"
13951 /* Override any gcc2 internal prototype to avoid an error. */
13952 /* We use char because int might match the return type of a gcc2
13953 builtin and then its argument prototype would still apply. */
13960 if { (eval echo configure
:13961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13962 eval "ac_cv_lib_$ac_lib_var=yes"
13964 echo "configure: failed program was:" >&5
13965 cat conftest.
$ac_ext >&5
13967 eval "ac_cv_lib_$ac_lib_var=no"
13970 LIBS
="$ac_save_LIBS"
13973 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13974 echo "$ac_t""yes" 1>&6
13975 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13977 echo "$ac_t""no" 1>&6
13982 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13983 echo $ac_n "checking for remove""... $ac_c" 1>&6
13984 echo "configure:13985: checking for remove" >&5
13985 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13986 echo $ac_n "(cached) $ac_c" 1>&6
13988 cat > conftest.
$ac_ext <<EOF
13989 #line 13990 "configure"
13990 #include "confdefs.h"
13991 /* System header to define __stub macros and hopefully few prototypes,
13992 which can conflict with char remove(); below. */
13993 #include <assert.h>
13994 /* Override any gcc2 internal prototype to avoid an error. */
13995 /* We use char because int might match the return type of a gcc2
13996 builtin and then its argument prototype would still apply. */
14001 /* The GNU C library defines this for functions which it implements
14002 to always fail with ENOSYS. Some functions are actually named
14003 something starting with __ and the normal name is an alias. */
14004 #if defined (__stub_remove) || defined (__stub___remove)
14012 if { (eval echo configure
:14013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14014 eval "ac_cv_func_remove=yes"
14016 echo "configure: failed program was:" >&5
14017 cat conftest.
$ac_ext >&5
14019 eval "ac_cv_func_remove=no"
14024 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14025 echo "$ac_t""yes" 1>&6
14028 echo "$ac_t""no" 1>&6
14031 if test $ac_cv_func_remove = no
; then
14032 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14033 echo "configure:14034: checking for remove in -lposix" >&5
14034 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14035 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14036 echo $ac_n "(cached) $ac_c" 1>&6
14038 ac_save_LIBS
="$LIBS"
14039 LIBS
="-lposix $LIBS"
14040 cat > conftest.
$ac_ext <<EOF
14041 #line 14042 "configure"
14042 #include "confdefs.h"
14043 /* Override any gcc2 internal prototype to avoid an error. */
14044 /* We use char because int might match the return type of a gcc2
14045 builtin and then its argument prototype would still apply. */
14052 if { (eval echo configure
:14053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14054 eval "ac_cv_lib_$ac_lib_var=yes"
14056 echo "configure: failed program was:" >&5
14057 cat conftest.
$ac_ext >&5
14059 eval "ac_cv_lib_$ac_lib_var=no"
14062 LIBS
="$ac_save_LIBS"
14065 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14066 echo "$ac_t""yes" 1>&6
14067 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14069 echo "$ac_t""no" 1>&6
14074 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14075 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14076 echo "configure:14077: checking for shmat" >&5
14077 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14078 echo $ac_n "(cached) $ac_c" 1>&6
14080 cat > conftest.
$ac_ext <<EOF
14081 #line 14082 "configure"
14082 #include "confdefs.h"
14083 /* System header to define __stub macros and hopefully few prototypes,
14084 which can conflict with char shmat(); below. */
14085 #include <assert.h>
14086 /* Override any gcc2 internal prototype to avoid an error. */
14087 /* We use char because int might match the return type of a gcc2
14088 builtin and then its argument prototype would still apply. */
14093 /* The GNU C library defines this for functions which it implements
14094 to always fail with ENOSYS. Some functions are actually named
14095 something starting with __ and the normal name is an alias. */
14096 #if defined (__stub_shmat) || defined (__stub___shmat)
14104 if { (eval echo configure
:14105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14106 eval "ac_cv_func_shmat=yes"
14108 echo "configure: failed program was:" >&5
14109 cat conftest.
$ac_ext >&5
14111 eval "ac_cv_func_shmat=no"
14116 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14117 echo "$ac_t""yes" 1>&6
14120 echo "$ac_t""no" 1>&6
14123 if test $ac_cv_func_shmat = no
; then
14124 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14125 echo "configure:14126: checking for shmat in -lipc" >&5
14126 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14127 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14128 echo $ac_n "(cached) $ac_c" 1>&6
14130 ac_save_LIBS
="$LIBS"
14132 cat > conftest.
$ac_ext <<EOF
14133 #line 14134 "configure"
14134 #include "confdefs.h"
14135 /* Override any gcc2 internal prototype to avoid an error. */
14136 /* We use char because int might match the return type of a gcc2
14137 builtin and then its argument prototype would still apply. */
14144 if { (eval echo configure
:14145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14146 eval "ac_cv_lib_$ac_lib_var=yes"
14148 echo "configure: failed program was:" >&5
14149 cat conftest.
$ac_ext >&5
14151 eval "ac_cv_lib_$ac_lib_var=no"
14154 LIBS
="$ac_save_LIBS"
14157 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14158 echo "$ac_t""yes" 1>&6
14159 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14161 echo "$ac_t""no" 1>&6
14167 # Check for libraries that X11R6 Xt/Xaw programs need.
14168 ac_save_LDFLAGS
="$LDFLAGS"
14169 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14170 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14171 # check for ICE first), but we must link in the order -lSM -lICE or
14172 # we get undefined symbols. So assume we have SM if we have ICE.
14173 # These have to be linked with before -lX11, unlike the other
14174 # libraries we check for below, so use a different variable.
14175 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14176 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14177 echo "configure:14178: checking for IceConnectionNumber in -lICE" >&5
14178 ac_lib_var
=`echo ICE'_'IceConnectionNumber | 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
="-lICE $X_EXTRA_LIBS $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. */
14190 char IceConnectionNumber();
14193 IceConnectionNumber()
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_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14213 echo "$ac_t""no" 1>&6
14216 LDFLAGS
="$ac_save_LDFLAGS"
14221 if test "$no_x" = "yes"; then
14222 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14225 GUI_TK_LIBRARY
="$X_LIBS"
14226 TOOLKIT_INCLUDE
="$X_CFLAGS"
14227 AFMINSTALL
=afminstall
14228 COMPILED_X_PROGRAM
=0
14230 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14231 echo "configure:14232: checking for Motif/Lesstif headers" >&5
14234 for ac_dir
in $SEARCH_INCLUDE;
14236 if test -f "$ac_dir/Xm/Xm.h"; then
14237 ac_find_includes
=$ac_dir
14242 if test "$ac_find_includes" != "" ; then
14243 echo "$ac_t""found $ac_find_includes" 1>&6
14245 cat > conftest.
$ac_ext <<EOF
14246 #line 14247 "configure"
14247 #include "confdefs.h"
14254 version = xmUseVersion;
14258 if { (eval echo configure
:14259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14261 echo "$ac_t""found in default search path" 1>&6
14262 COMPILED_X_PROGRAM
=1
14265 echo "configure: failed program was:" >&5
14266 cat conftest.
$ac_ext >&5
14269 echo "$ac_t""no" 1>&6
14270 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14277 if test "$COMPILED_X_PROGRAM" = 0; then
14278 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14279 echo "configure:14280: checking for Motif/Lesstif library" >&5
14282 for ac_dir
in $SEARCH_LIB;
14284 for ac_extension
in a so sl dylib
; do
14285 if test -f "$ac_dir/libXm.$ac_extension"; then
14286 ac_find_libraries
=$ac_dir
14292 if test "$ac_find_libraries" != "" ; then
14294 ac_path_to_include
=$ac_find_includes
14295 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
14297 if test $result = 0; then
14298 ac_path_to_include
=""
14300 ac_path_to_include
=" -I$ac_find_includes"
14304 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14306 if test $result = 0; then
14309 ac_path_to_link
=" -L$ac_find_libraries"
14313 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14314 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
14315 echo "$ac_t""found at $ac_find_libraries" 1>&6
14317 cat > conftest.
$ac_ext <<EOF
14318 #line 14319 "configure"
14319 #include "confdefs.h"
14326 version = xmUseVersion;
14330 if { (eval echo configure
:14331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14333 echo "$ac_t""found in default search path" 1>&6
14334 COMPILED_X_PROGRAM
=1
14337 echo "configure: failed program was:" >&5
14338 cat conftest.
$ac_ext >&5
14341 echo "$ac_t""no" 1>&6
14342 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14351 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14352 echo "configure:14353: checking for Xpm library" >&5
14355 for ac_dir
in $SEARCH_LIB;
14357 for ac_extension
in a so sl dylib
; do
14358 if test -f "$ac_dir/libXpm.$ac_extension"; then
14359 ac_find_libraries
=$ac_dir
14365 if test "$ac_find_libraries" != "" ; then
14367 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14369 if test $result = 0; then
14372 ac_path_to_link
=" -L$ac_find_libraries"
14375 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14377 cat >> confdefs.h
<<\EOF
14378 #define wxHAVE_LIB_XPM 1
14381 echo "$ac_t""found at $ac_find_libraries" 1>&6
14383 cat > conftest.
$ac_ext <<EOF
14384 #line 14385 "configure"
14385 #include "confdefs.h"
14387 #include <X11/xpm.h>
14392 version = XpmLibraryVersion();
14396 if { (eval echo configure
:14397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14400 cat >> confdefs.h
<<\EOF
14401 #define wxHAVE_LIB_XPM 1
14404 echo "$ac_t""found in default search path" 1>&6
14405 COMPILED_X_PROGRAM
=0
14408 echo "configure: failed program was:" >&5
14409 cat conftest.
$ac_ext >&5
14412 echo "$ac_t""no" 1>&6
14413 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14420 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
14421 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14426 if test "$wxUSE_MAC" = 1; then
14427 if test "$wxUSE_PRECOMP" = "yes"; then
14428 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
14430 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
14432 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
14433 CFLAGS
="$CFLAGS -fpascal-strings"
14434 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
14436 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14441 if test "$wxUSE_PM" = 1; then
14446 if test "$TOOLKIT" = "PM" ; then
14449 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14452 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14454 if test "$wxUSE_UNIVERSAL" = "yes"; then
14455 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14457 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14458 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14460 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14461 if test "$wxUSE_X11" = 1; then
14462 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14464 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14466 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14469 ALL_OBJECTS
="\$(GUIOBJS)"
14470 ALL_SOURCES
="\$(ALL_SOURCES)"
14471 ALL_HEADERS
="\$(ALL_HEADERS)"
14474 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14476 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14477 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
14480 if test "$wxUSE_HTML" = "yes"; then
14481 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
14484 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14485 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
14487 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14488 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
14490 if test "$wxUSE_LIBPNG" = "builtin" ; then
14491 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
14494 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14495 DISTDIR
="wx\$(TOOLKIT)"
14501 if test "$USE_WIN32" = 1 ; then
14502 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
14503 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
14507 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
14508 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
14511 ALL_SOURCES
="\$(ALL_SOURCES)"
14512 ALL_HEADERS
="\$(ALL_HEADERS)"
14514 PORT_FILES
="\${top_srcdir}/src/files.lst"
14516 GUIDIST
="BASE_DIST"
14521 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
14522 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
14525 if test "$wxUSE_REGEX" = "builtin" ; then
14526 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
14528 if test "$wxUSE_ZLIB" = "builtin" ; then
14529 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
14533 if test "$wxUSE_OPENGL" = "yes"; then
14534 if test "$wxUSE_MAC" = 1; then
14535 OPENGL_LIBS
="-framework OpenGL -framework AGL"
14536 elif test "$wxUSE_MSW" = 1; then
14537 OPENGL_LIBS
="-lopengl32 -lglu32"
14539 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14540 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14541 echo "configure:14542: checking for GL/gl.h" >&5
14542 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14543 echo $ac_n "(cached) $ac_c" 1>&6
14545 cat > conftest.
$ac_ext <<EOF
14546 #line 14547 "configure"
14547 #include "confdefs.h"
14550 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14551 { (eval echo configure
:14552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14552 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14553 if test -z "$ac_err"; then
14555 eval "ac_cv_header_$ac_safe=yes"
14558 echo "configure: failed program was:" >&5
14559 cat conftest.
$ac_ext >&5
14561 eval "ac_cv_header_$ac_safe=no"
14565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14566 echo "$ac_t""yes" 1>&6
14568 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
14569 echo "configure:14570: checking for -lGL" >&5
14572 for ac_dir
in $SEARCH_LIB;
14574 for ac_extension
in a so sl dylib
; do
14575 if test -f "$ac_dir/libGL.$ac_extension"; then
14576 ac_find_libraries
=$ac_dir
14582 if test "$ac_find_libraries" != "" ; then
14584 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14586 if test $result = 0; then
14589 ac_path_to_link
=" -L$ac_find_libraries"
14592 if test "$ac_path_to_link" = " -L/usr/lib" ; then
14593 LDFLAGS_GL
="$LDFLAGS"
14595 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14597 OPENGL_LIBS
="-lGL -lGLU"
14598 echo "$ac_t""yes" 1>&6
14600 echo "$ac_t""no" 1>&6
14601 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
14602 echo "configure:14603: checking for -lMesaGL" >&5
14605 for ac_dir
in $SEARCH_LIB;
14607 for ac_extension
in a so sl dylib
; do
14608 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14609 ac_find_libraries
=$ac_dir
14615 if test "$ac_find_libraries" != "" ; then
14617 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14619 if test $result = 0; then
14622 ac_path_to_link
=" -L$ac_find_libraries"
14625 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14626 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
14627 echo "$ac_t""yes" 1>&6
14629 echo "$ac_t""no" 1>&6
14634 echo "$ac_t""no" 1>&6
14638 if test "x$OPENGL_LIBS" = "x"; then
14639 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
14643 if test "$wxUSE_OPENGL" = "yes"; then
14644 cat >> confdefs.h
<<\EOF
14645 #define wxUSE_OPENGL 1
14648 cat >> confdefs.h
<<\EOF
14649 #define wxUSE_GLCANVAS 1
14652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
14656 if test -z "$TOOLKIT_VPATH" ; then
14657 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
14660 if test -n "$TOOLKIT" ; then
14661 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
14664 lib_unicode_suffix
=
14665 if test "$wxUSE_UNICODE" = "yes"; then
14666 lib_unicode_suffix
=u
14670 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
14674 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
14675 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
14677 if test "$cross_compiling" = "yes"; then
14678 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
14679 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
14682 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
14683 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
14685 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14686 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14688 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
14689 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14690 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
14691 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14694 *-*-cygwin* | *-*-mingw32* )
14698 if test "$cross_compiling" != "yes"; then
14699 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14700 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14701 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
14702 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
14704 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14705 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14710 if test "$wxUSE_MAC" = 1; then
14711 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
14712 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
14717 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
14718 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
14720 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
14721 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
14723 if test "$wxUSE_OPENGL" = "yes"; then
14724 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
14725 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
14730 if test "$wxUSE_SHARED" = "yes"; then
14732 *-pc-os2_emx | *-pc-os2-emx | \
14735 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
14740 if test "$wxUSE_SHARED" = "yes"; then
14742 if test "$wxUSE_OPENGL" = "yes"; then
14743 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
14744 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
14746 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
14747 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
14750 if test "$GCC" = "yes"; then
14754 SHARED_LD
="${CXX} -shared -o"
14758 if test "$GCC" == "yes"; then
14759 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
14761 LDFLAGS
="$LDFLAGS -L/usr/lib"
14763 SHARED_LD
="${CXX} -b -o"
14767 if test "$wxUSE_OPENGL" = "yes"; then
14768 WX_ALL_INSTALLED
="preinstall_gl"
14769 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
14771 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
14776 if test "$GCC" != "yes"; then
14777 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
14778 echo "configure:14779: checking for Intel compiler" >&5
14779 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
14780 echo $ac_n "(cached) $ac_c" 1>&6
14783 cat > conftest.
$ac_ext <<EOF
14784 #line 14785 "configure"
14785 #include "confdefs.h"
14789 #ifndef __INTEL_COMPILER
14795 if { (eval echo configure
:14796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14799 echo "configure: failed program was:" >&5
14800 cat conftest.
$ac_ext >&5
14809 echo "$ac_t""$wx_cv_prog_icc" 1>&6
14810 if test "$wx_cv_prog_icc" = "yes"; then
14815 if test "$wxUSE_SONAME" = "yes" ; then
14816 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
14817 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
14818 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
14823 if test "$GCC" = yes ; then
14824 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
14826 SHARED_LD
="${CXX} -G -o"
14828 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
14829 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
14834 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
14835 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
14836 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
14837 PIC_FLAG
="-dynamic -fPIC"
14838 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
14839 SONAME_FLAGS_GL
=${SONAME_FLAGS}
14843 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
14846 *-*-cygwin* | *-*-mingw32* )
14848 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
14850 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
14851 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
14853 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
14855 if test "$wxUSE_OPENGL" = "yes"; then
14856 WX_ALL_INSTALLED
="preinstall_gl"
14857 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
14859 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
14864 SHARED_LD
="${LD} -shared -o"
14867 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
14869 *-*-irix5* | *-*-irix6* | \
14876 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
14879 if test "x$WX_TARGET_LIBRARY" = "x"; then
14880 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
14881 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
14884 WX_TARGET_LIBRARY_TYPE
="so"
14885 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
14888 if test "$wxUSE_SHARED" = "no"; then
14890 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
14891 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
14894 if test "$wxUSE_MAC" = 1; then
14895 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
14898 if test "$wxUSE_OPENGL" = "yes"; then
14899 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
14900 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
14902 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
14905 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
14906 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
14908 WX_TARGET_LIBRARY_TYPE
="a"
14909 INSTALL_LIBRARY
='$(INSTALL_DATA)'
14912 if test "$wxUSE_MAC" = 1; then
14913 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
14914 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
14915 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
14916 # Extract the first word of "Rez", so it can be a program name with args.
14917 set dummy Rez
; ac_word
=$2
14918 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14919 echo "configure:14920: checking for $ac_word" >&5
14920 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
14921 echo $ac_n "(cached) $ac_c" 1>&6
14923 if test -n "$RESCOMP"; then
14924 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
14926 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14928 for ac_dir
in $ac_dummy; do
14929 test -z "$ac_dir" && ac_dir
=.
14930 if test -f $ac_dir/$ac_word; then
14931 ac_cv_prog_RESCOMP
="Rez"
14936 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
14939 RESCOMP
="$ac_cv_prog_RESCOMP"
14940 if test -n "$RESCOMP"; then
14941 echo "$ac_t""$RESCOMP" 1>&6
14943 echo "$ac_t""no" 1>&6
14946 # Extract the first word of "DeRez", so it can be a program name with args.
14947 set dummy DeRez
; ac_word
=$2
14948 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14949 echo "configure:14950: checking for $ac_word" >&5
14950 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14951 echo $ac_n "(cached) $ac_c" 1>&6
14953 if test -n "$DEREZ"; then
14954 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14956 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14958 for ac_dir
in $ac_dummy; do
14959 test -z "$ac_dir" && ac_dir
=.
14960 if test -f $ac_dir/$ac_word; then
14961 ac_cv_prog_DEREZ
="DeRez"
14966 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
14969 DEREZ
="$ac_cv_prog_DEREZ"
14970 if test -n "$DEREZ"; then
14971 echo "$ac_t""$DEREZ" 1>&6
14973 echo "$ac_t""no" 1>&6
14976 MACOSX_BUNDLE
="bundle"
14977 if test "$wxUSE_SHARED" = "yes"; then
14978 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
14979 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
14981 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
14982 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
14985 if test "$wxUSE_PM" = 1; then
14986 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
14991 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
14992 echo "configure:14993: checking for ANSI C header files" >&5
14993 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
14994 echo $ac_n "(cached) $ac_c" 1>&6
14996 cat > conftest.
$ac_ext <<EOF
14997 #line 14998 "configure"
14998 #include "confdefs.h"
14999 #include <stdlib.h>
15000 #include <stdarg.h>
15001 #include <string.h>
15004 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15005 { (eval echo configure
:15006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15006 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15007 if test -z "$ac_err"; then
15009 ac_cv_header_stdc
=yes
15012 echo "configure: failed program was:" >&5
15013 cat conftest.
$ac_ext >&5
15015 ac_cv_header_stdc
=no
15019 if test $ac_cv_header_stdc = yes; then
15020 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15021 cat > conftest.
$ac_ext <<EOF
15022 #line 15023 "configure"
15023 #include "confdefs.h"
15024 #include <string.h>
15026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15027 egrep "memchr" >/dev
/null
2>&1; then
15031 ac_cv_header_stdc
=no
15037 if test $ac_cv_header_stdc = yes; then
15038 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15039 cat > conftest.
$ac_ext <<EOF
15040 #line 15041 "configure"
15041 #include "confdefs.h"
15042 #include <stdlib.h>
15044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15045 egrep "free" >/dev
/null
2>&1; then
15049 ac_cv_header_stdc
=no
15055 if test $ac_cv_header_stdc = yes; then
15056 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15057 if test "$cross_compiling" = yes; then
15060 cat > conftest.
$ac_ext <<EOF
15061 #line 15062 "configure"
15062 #include "confdefs.h"
15064 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15065 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15066 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15067 int main () { int i; for (i = 0; i < 256; i++)
15068 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15072 if { (eval echo configure
:15073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15076 echo "configure: failed program was:" >&5
15077 cat conftest.
$ac_ext >&5
15079 ac_cv_header_stdc
=no
15087 echo "$ac_t""$ac_cv_header_stdc" 1>&6
15088 if test $ac_cv_header_stdc = yes; then
15089 cat >> confdefs.h
<<\EOF
15090 #define STDC_HEADERS 1
15095 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15096 echo "configure:15097: checking for mode_t" >&5
15097 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
15098 echo $ac_n "(cached) $ac_c" 1>&6
15100 cat > conftest.
$ac_ext <<EOF
15101 #line 15102 "configure"
15102 #include "confdefs.h"
15103 #include <sys/types.h>
15105 #include <stdlib.h>
15106 #include <stddef.h>
15109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15110 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15112 ac_cv_type_mode_t
=yes
15115 ac_cv_type_mode_t
=no
15120 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15121 if test $ac_cv_type_mode_t = no
; then
15122 cat >> confdefs.h
<<\EOF
15128 echo $ac_n "checking for off_t""... $ac_c" 1>&6
15129 echo "configure:15130: checking for off_t" >&5
15130 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
15131 echo $ac_n "(cached) $ac_c" 1>&6
15133 cat > conftest.
$ac_ext <<EOF
15134 #line 15135 "configure"
15135 #include "confdefs.h"
15136 #include <sys/types.h>
15138 #include <stdlib.h>
15139 #include <stddef.h>
15142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15143 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15145 ac_cv_type_off_t
=yes
15148 ac_cv_type_off_t
=no
15153 echo "$ac_t""$ac_cv_type_off_t" 1>&6
15154 if test $ac_cv_type_off_t = no
; then
15155 cat >> confdefs.h
<<\EOF
15161 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15162 echo "configure:15163: checking for pid_t" >&5
15163 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
15164 echo $ac_n "(cached) $ac_c" 1>&6
15166 cat > conftest.
$ac_ext <<EOF
15167 #line 15168 "configure"
15168 #include "confdefs.h"
15169 #include <sys/types.h>
15171 #include <stdlib.h>
15172 #include <stddef.h>
15175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15176 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15178 ac_cv_type_pid_t
=yes
15181 ac_cv_type_pid_t
=no
15186 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15187 if test $ac_cv_type_pid_t = no
; then
15188 cat >> confdefs.h
<<\EOF
15194 echo $ac_n "checking for size_t""... $ac_c" 1>&6
15195 echo "configure:15196: checking for size_t" >&5
15196 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
15197 echo $ac_n "(cached) $ac_c" 1>&6
15199 cat > conftest.
$ac_ext <<EOF
15200 #line 15201 "configure"
15201 #include "confdefs.h"
15202 #include <sys/types.h>
15204 #include <stdlib.h>
15205 #include <stddef.h>
15208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15209 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15211 ac_cv_type_size_t
=yes
15214 ac_cv_type_size_t
=no
15219 echo "$ac_t""$ac_cv_type_size_t" 1>&6
15220 if test $ac_cv_type_size_t = no
; then
15221 cat >> confdefs.h
<<\EOF
15222 #define size_t unsigned
15227 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15228 echo "configure:15229: checking for uid_t in sys/types.h" >&5
15229 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15230 echo $ac_n "(cached) $ac_c" 1>&6
15232 cat > conftest.
$ac_ext <<EOF
15233 #line 15234 "configure"
15234 #include "confdefs.h"
15235 #include <sys/types.h>
15237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15238 egrep "uid_t" >/dev
/null
2>&1; then
15240 ac_cv_type_uid_t
=yes
15243 ac_cv_type_uid_t
=no
15249 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15250 if test $ac_cv_type_uid_t = no
; then
15251 cat >> confdefs.h
<<\EOF
15255 cat >> confdefs.h
<<\EOF
15264 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15265 ac_cpp
='$CXXCPP $CPPFLAGS'
15266 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15267 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15268 cross_compiling
=$ac_cv_prog_cxx_cross
15270 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15271 echo "configure:15272: checking if size_t is unsigned int" >&5
15272 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15273 echo $ac_n "(cached) $ac_c" 1>&6
15275 cat > conftest.
$ac_ext <<EOF
15276 #line 15277 "configure"
15277 #include "confdefs.h"
15278 #include <stddef.h>
15283 struct Foo { void foo(size_t); void foo(unsigned int); };
15289 if { (eval echo configure
:15290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15291 wx_cv_size_t_is_uint
=no
15293 echo "configure: failed program was:" >&5
15294 cat conftest.
$ac_ext >&5
15296 wx_cv_size_t_is_uint
=yes
15303 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15305 if test "$wx_cv_size_t_is_uint" = "yes"; then
15306 cat >> confdefs.h
<<\EOF
15307 #define wxSIZE_T_IS_UINT 1
15311 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15312 echo "configure:15313: checking if size_t is unsigned long" >&5
15313 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15314 echo $ac_n "(cached) $ac_c" 1>&6
15316 cat > conftest.
$ac_ext <<EOF
15317 #line 15318 "configure"
15318 #include "confdefs.h"
15319 #include <stddef.h>
15324 struct Foo { void foo(size_t); void foo(unsigned long); };
15330 if { (eval echo configure
:15331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15332 wx_cv_size_t_is_ulong
=no
15334 echo "configure: failed program was:" >&5
15335 cat conftest.
$ac_ext >&5
15337 wx_cv_size_t_is_ulong
=yes
15344 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15346 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15347 cat >> confdefs.h
<<\EOF
15348 #define wxSIZE_T_IS_ULONG 1
15355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15356 ac_cpp
='$CPP $CPPFLAGS'
15357 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15358 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15359 cross_compiling
=$ac_cv_prog_cc_cross
15363 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15364 echo "configure:15365: checking for pw_gecos in struct passwd" >&5
15365 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15366 echo $ac_n "(cached) $ac_c" 1>&6
15369 cat > conftest.
$ac_ext <<EOF
15370 #line 15371 "configure"
15371 #include "confdefs.h"
15381 if { (eval echo configure
:15382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15384 wx_cv_struct_pw_gecos
=yes
15387 echo "configure: failed program was:" >&5
15388 cat conftest.
$ac_ext >&5
15391 wx_cv_struct_pw_gecos
=no
15400 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15402 if test "$wx_cv_struct_pw_gecos" = "yes"; then
15403 cat >> confdefs.h
<<\EOF
15404 #define HAVE_PW_GECOS 1
15411 if test "$wx_cv_sizeof_wchar_t" != "0"; then
15413 for ac_func
in wcslen
15415 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15416 echo "configure:15417: checking for $ac_func" >&5
15417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15418 echo $ac_n "(cached) $ac_c" 1>&6
15420 cat > conftest.
$ac_ext <<EOF
15421 #line 15422 "configure"
15422 #include "confdefs.h"
15423 /* System header to define __stub macros and hopefully few prototypes,
15424 which can conflict with char $ac_func(); below. */
15425 #include <assert.h>
15426 /* Override any gcc2 internal prototype to avoid an error. */
15427 /* We use char because int might match the return type of a gcc2
15428 builtin and then its argument prototype would still apply. */
15433 /* The GNU C library defines this for functions which it implements
15434 to always fail with ENOSYS. Some functions are actually named
15435 something starting with __ and the normal name is an alias. */
15436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15444 if { (eval echo configure
:15445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15446 eval "ac_cv_func_$ac_func=yes"
15448 echo "configure: failed program was:" >&5
15449 cat conftest.
$ac_ext >&5
15451 eval "ac_cv_func_$ac_func=no"
15456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15457 echo "$ac_t""yes" 1>&6
15458 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15459 cat >> confdefs.h
<<EOF
15460 #define $ac_tr_func 1
15463 cat >> confdefs.h
<<\EOF
15464 #define HAVE_WCSLEN 1
15470 echo "$ac_t""no" 1>&6
15475 if test "$WCHAR_OK" = 0; then
15476 if test "$TOOLKIT" = "MSW"; then
15477 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15478 echo "configure:15479: checking for wcslen in -lmsvcrt" >&5
15479 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15480 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15481 echo $ac_n "(cached) $ac_c" 1>&6
15483 ac_save_LIBS
="$LIBS"
15484 LIBS
="-lmsvcrt $LIBS"
15485 cat > conftest.
$ac_ext <<EOF
15486 #line 15487 "configure"
15487 #include "confdefs.h"
15488 /* Override any gcc2 internal prototype to avoid an error. */
15489 /* We use char because int might match the return type of a gcc2
15490 builtin and then its argument prototype would still apply. */
15497 if { (eval echo configure
:15498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15499 eval "ac_cv_lib_$ac_lib_var=yes"
15501 echo "configure: failed program was:" >&5
15502 cat conftest.
$ac_ext >&5
15504 eval "ac_cv_lib_$ac_lib_var=no"
15507 LIBS
="$ac_save_LIBS"
15510 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15511 echo "$ac_t""yes" 1>&6
15513 cat >> confdefs.h
<<\EOF
15514 #define HAVE_WCSLEN 1
15520 echo "$ac_t""no" 1>&6
15524 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15525 echo "configure:15526: checking for wcslen in -lw" >&5
15526 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15527 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15528 echo $ac_n "(cached) $ac_c" 1>&6
15530 ac_save_LIBS
="$LIBS"
15532 cat > conftest.
$ac_ext <<EOF
15533 #line 15534 "configure"
15534 #include "confdefs.h"
15535 /* Override any gcc2 internal prototype to avoid an error. */
15536 /* We use char because int might match the return type of a gcc2
15537 builtin and then its argument prototype would still apply. */
15544 if { (eval echo configure
:15545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15546 eval "ac_cv_lib_$ac_lib_var=yes"
15548 echo "configure: failed program was:" >&5
15549 cat conftest.
$ac_ext >&5
15551 eval "ac_cv_lib_$ac_lib_var=no"
15554 LIBS
="$ac_save_LIBS"
15557 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15558 echo "$ac_t""yes" 1>&6
15560 cat >> confdefs.h
<<\EOF
15561 #define HAVE_WCSLEN 1
15568 echo "$ac_t""no" 1>&6
15575 if test "$WCHAR_OK" = 1; then
15576 cat >> confdefs.h
<<\EOF
15577 #define wxUSE_WCHAR_T 1
15581 for ac_func
in wcsrtombs
15583 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15584 echo "configure:15585: checking for $ac_func" >&5
15585 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15586 echo $ac_n "(cached) $ac_c" 1>&6
15588 cat > conftest.
$ac_ext <<EOF
15589 #line 15590 "configure"
15590 #include "confdefs.h"
15591 /* System header to define __stub macros and hopefully few prototypes,
15592 which can conflict with char $ac_func(); below. */
15593 #include <assert.h>
15594 /* Override any gcc2 internal prototype to avoid an error. */
15595 /* We use char because int might match the return type of a gcc2
15596 builtin and then its argument prototype would still apply. */
15601 /* The GNU C library defines this for functions which it implements
15602 to always fail with ENOSYS. Some functions are actually named
15603 something starting with __ and the normal name is an alias. */
15604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15612 if { (eval echo configure
:15613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15614 eval "ac_cv_func_$ac_func=yes"
15616 echo "configure: failed program was:" >&5
15617 cat conftest.
$ac_ext >&5
15619 eval "ac_cv_func_$ac_func=no"
15624 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15625 echo "$ac_t""yes" 1>&6
15626 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15627 cat >> confdefs.h
<<EOF
15628 #define $ac_tr_func 1
15632 echo "$ac_t""no" 1>&6
15637 if test "$USE_DARWIN" = 1; then
15638 cat >> confdefs.h
<<\EOF
15639 #define wxUSE_WCHAR_T 1
15643 echo "configure: warning: Wide character support is unavailable" 1>&2
15647 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15648 echo "configure:15649: checking for vprintf" >&5
15649 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15650 echo $ac_n "(cached) $ac_c" 1>&6
15652 cat > conftest.
$ac_ext <<EOF
15653 #line 15654 "configure"
15654 #include "confdefs.h"
15655 /* System header to define __stub macros and hopefully few prototypes,
15656 which can conflict with char vprintf(); below. */
15657 #include <assert.h>
15658 /* Override any gcc2 internal prototype to avoid an error. */
15659 /* We use char because int might match the return type of a gcc2
15660 builtin and then its argument prototype would still apply. */
15665 /* The GNU C library defines this for functions which it implements
15666 to always fail with ENOSYS. Some functions are actually named
15667 something starting with __ and the normal name is an alias. */
15668 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15676 if { (eval echo configure
:15677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15678 eval "ac_cv_func_vprintf=yes"
15680 echo "configure: failed program was:" >&5
15681 cat conftest.
$ac_ext >&5
15683 eval "ac_cv_func_vprintf=no"
15688 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15689 echo "$ac_t""yes" 1>&6
15690 cat >> confdefs.h
<<\EOF
15691 #define HAVE_VPRINTF 1
15695 echo "$ac_t""no" 1>&6
15698 if test "$ac_cv_func_vprintf" != yes; then
15699 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15700 echo "configure:15701: checking for _doprnt" >&5
15701 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15702 echo $ac_n "(cached) $ac_c" 1>&6
15704 cat > conftest.
$ac_ext <<EOF
15705 #line 15706 "configure"
15706 #include "confdefs.h"
15707 /* System header to define __stub macros and hopefully few prototypes,
15708 which can conflict with char _doprnt(); below. */
15709 #include <assert.h>
15710 /* Override any gcc2 internal prototype to avoid an error. */
15711 /* We use char because int might match the return type of a gcc2
15712 builtin and then its argument prototype would still apply. */
15717 /* The GNU C library defines this for functions which it implements
15718 to always fail with ENOSYS. Some functions are actually named
15719 something starting with __ and the normal name is an alias. */
15720 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15728 if { (eval echo configure
:15729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15730 eval "ac_cv_func__doprnt=yes"
15732 echo "configure: failed program was:" >&5
15733 cat conftest.
$ac_ext >&5
15735 eval "ac_cv_func__doprnt=no"
15740 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15741 echo "$ac_t""yes" 1>&6
15742 cat >> confdefs.h
<<\EOF
15743 #define HAVE_DOPRNT 1
15747 echo "$ac_t""no" 1>&6
15757 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15758 echo "configure:15759: checking for vsnprintf" >&5
15759 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15760 echo $ac_n "(cached) $ac_c" 1>&6
15763 cat > conftest.
$ac_ext <<EOF
15764 #line 15765 "configure"
15765 #include "confdefs.h"
15768 #include <stdarg.h>
15772 int wx_test_vsnprintf(const char *, ...);
15774 wx_test_vsnprintf("%s");
15778 int wx_test_vsnprintf(const char *fmt, ...)
15783 va_start(argp, fmt);
15784 vsnprintf(s, 42, fmt, argp);
15789 if { (eval echo configure
:15790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15792 wx_cv_func_vsnprintf
=yes
15795 echo "configure: failed program was:" >&5
15796 cat conftest.
$ac_ext >&5
15799 cat > conftest.
$ac_ext <<EOF
15800 #line 15801 "configure"
15801 #include "confdefs.h"
15804 #include <stdarg.h>
15808 int wx_test_vsnprintf(const char *, ...);
15810 wx_test_vsnprintf("%s");
15814 int wx_test_vsnprintf(const char *fmt, ...)
15819 va_start(argp, fmt);
15820 _vsnprintf(s, 42, fmt, argp);
15825 if { (eval echo configure
:15826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15828 wx_cv_func_vsnprintf
=yes
15831 echo "configure: failed program was:" >&5
15832 cat conftest.
$ac_ext >&5
15835 wx_cv_func_vsnprintf
=no
15845 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15847 if test "$wx_cv_func_vsnprintf" = yes; then
15848 cat >> confdefs.h
<<\EOF
15849 #define HAVE_VSNPRINTF 1
15853 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15856 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15857 echo "configure:15858: checking for vsscanf" >&5
15858 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15859 echo $ac_n "(cached) $ac_c" 1>&6
15862 cat > conftest.
$ac_ext <<EOF
15863 #line 15864 "configure"
15864 #include "confdefs.h"
15867 #include <stdarg.h>
15871 int wx_test_vsscanf(const char *, ...);
15873 wx_test_vsscanf("%d");
15877 int wx_test_vsscanf(const char *fmt, ...)
15880 va_start(argp, fmt);
15881 vsscanf("42", fmt, argp);
15886 if { (eval echo configure
:15887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15889 wx_cv_func_vsscanf
=yes
15892 echo "configure: failed program was:" >&5
15893 cat conftest.
$ac_ext >&5
15896 wx_cv_func_vsscanf
=no
15903 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15905 if test "$wx_cv_func_vsscanf" = yes; then
15906 cat >> confdefs.h
<<\EOF
15907 #define HAVE_VSSCANF 1
15912 if test "$TOOLKIT" != "MSW"; then
15917 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15918 ac_cpp
='$CXXCPP $CPPFLAGS'
15919 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15920 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15921 cross_compiling
=$ac_cv_prog_cxx_cross
15925 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15926 if test "${with_libiconv_prefix+set}" = set; then
15927 withval
="$with_libiconv_prefix"
15929 for dir
in `echo "$withval" | tr : ' '`; do
15930 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
15931 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
15937 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15938 echo "configure:15939: checking for iconv" >&5
15939 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15940 echo $ac_n "(cached) $ac_c" 1>&6
15943 am_cv_func_iconv
="no, consider installing GNU libiconv"
15945 cat > conftest.
$ac_ext <<EOF
15946 #line 15947 "configure"
15947 #include "confdefs.h"
15948 #include <stdlib.h>
15951 iconv_t cd = iconv_open("","");
15952 iconv(cd,NULL,NULL,NULL,NULL);
15956 if { (eval echo configure
:15957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15958 am_cv_func_iconv
=yes
15960 echo "configure: failed program was:" >&5
15961 cat conftest.
$ac_ext >&5
15964 if test "$am_cv_func_iconv" != yes; then
15965 am_save_LIBS
="$LIBS"
15966 LIBS
="$LIBS -liconv"
15967 cat > conftest.
$ac_ext <<EOF
15968 #line 15969 "configure"
15969 #include "confdefs.h"
15970 #include <stdlib.h>
15973 iconv_t cd = iconv_open("","");
15974 iconv(cd,NULL,NULL,NULL,NULL);
15978 if { (eval echo configure
:15979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15980 am_cv_lib_iconv
=yes
15981 am_cv_func_iconv
=yes
15983 echo "configure: failed program was:" >&5
15984 cat conftest.
$ac_ext >&5
15987 LIBS
="$am_save_LIBS"
15992 echo "$ac_t""$am_cv_func_iconv" 1>&6
15993 if test "$am_cv_func_iconv" = yes; then
15994 cat >> confdefs.h
<<\EOF
15995 #define HAVE_ICONV 1
15998 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
15999 echo "configure:16000: checking if iconv needs const" >&5
16000 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16001 echo $ac_n "(cached) $ac_c" 1>&6
16003 cat > conftest.
$ac_ext <<EOF
16004 #line 16005 "configure"
16005 #include "confdefs.h"
16007 #include <stdlib.h>
16013 #if defined(__STDC__) || defined(__cplusplus)
16014 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16023 if { (eval echo configure
:16024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16025 wx_cv_func_iconv_const
="no"
16027 echo "configure: failed program was:" >&5
16028 cat conftest.
$ac_ext >&5
16030 wx_cv_func_iconv_const
="yes"
16037 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16040 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16041 iconv_const
="const"
16044 cat >> confdefs.h
<<EOF
16045 #define ICONV_CONST $iconv_const
16050 if test "$am_cv_lib_iconv" = yes; then
16055 LIBS
="$LIBICONV $LIBS"
16057 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16058 ac_cpp
='$CPP $CPPFLAGS'
16059 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16060 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16061 cross_compiling
=$ac_cv_prog_cc_cross
16064 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16065 for ac_func
in sigaction
16067 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16068 echo "configure:16069: checking for $ac_func" >&5
16069 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16070 echo $ac_n "(cached) $ac_c" 1>&6
16072 cat > conftest.
$ac_ext <<EOF
16073 #line 16074 "configure"
16074 #include "confdefs.h"
16075 /* System header to define __stub macros and hopefully few prototypes,
16076 which can conflict with char $ac_func(); below. */
16077 #include <assert.h>
16078 /* Override any gcc2 internal prototype to avoid an error. */
16079 /* We use char because int might match the return type of a gcc2
16080 builtin and then its argument prototype would still apply. */
16085 /* The GNU C library defines this for functions which it implements
16086 to always fail with ENOSYS. Some functions are actually named
16087 something starting with __ and the normal name is an alias. */
16088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16096 if { (eval echo configure
:16097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16098 eval "ac_cv_func_$ac_func=yes"
16100 echo "configure: failed program was:" >&5
16101 cat conftest.
$ac_ext >&5
16103 eval "ac_cv_func_$ac_func=no"
16108 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16109 echo "$ac_t""yes" 1>&6
16110 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16111 cat >> confdefs.h
<<EOF
16112 #define $ac_tr_func 1
16116 echo "$ac_t""no" 1>&6
16121 if test "$ac_cv_func_sigaction" = "no"; then
16122 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16123 wxUSE_ON_FATAL_EXCEPTION
=no
16126 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16130 ac_cpp
='$CXXCPP $CPPFLAGS'
16131 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16132 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16133 cross_compiling
=$ac_cv_prog_cxx_cross
16136 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16137 echo "configure:16138: checking for sa_handler type" >&5
16138 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16139 echo $ac_n "(cached) $ac_c" 1>&6
16142 cat > conftest.
$ac_ext <<EOF
16143 #line 16144 "configure"
16144 #include "confdefs.h"
16145 #include <signal.h>
16148 extern void testSigHandler(int);
16150 struct sigaction sa;
16151 sa.sa_handler = testSigHandler;
16155 if { (eval echo configure
:16156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16158 wx_cv_type_sa_handler
=int
16161 echo "configure: failed program was:" >&5
16162 cat conftest.
$ac_ext >&5
16165 wx_cv_type_sa_handler
=void
16172 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16175 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16176 ac_cpp
='$CPP $CPPFLAGS'
16177 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16178 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16179 cross_compiling
=$ac_cv_prog_cc_cross
16182 cat >> confdefs.h
<<EOF
16183 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16189 for ac_func
in vfork
16191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16192 echo "configure:16193: checking for $ac_func" >&5
16193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16194 echo $ac_n "(cached) $ac_c" 1>&6
16196 cat > conftest.
$ac_ext <<EOF
16197 #line 16198 "configure"
16198 #include "confdefs.h"
16199 /* System header to define __stub macros and hopefully few prototypes,
16200 which can conflict with char $ac_func(); below. */
16201 #include <assert.h>
16202 /* Override any gcc2 internal prototype to avoid an error. */
16203 /* We use char because int might match the return type of a gcc2
16204 builtin and then its argument prototype would still apply. */
16209 /* The GNU C library defines this for functions which it implements
16210 to always fail with ENOSYS. Some functions are actually named
16211 something starting with __ and the normal name is an alias. */
16212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16220 if { (eval echo configure
:16221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16222 eval "ac_cv_func_$ac_func=yes"
16224 echo "configure: failed program was:" >&5
16225 cat conftest.
$ac_ext >&5
16227 eval "ac_cv_func_$ac_func=no"
16232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16233 echo "$ac_t""yes" 1>&6
16234 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16235 cat >> confdefs.h
<<EOF
16236 #define $ac_tr_func 1
16240 echo "$ac_t""no" 1>&6
16245 for ac_func
in mkstemp mktemp
16247 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16248 echo "configure:16249: checking for $ac_func" >&5
16249 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16250 echo $ac_n "(cached) $ac_c" 1>&6
16252 cat > conftest.
$ac_ext <<EOF
16253 #line 16254 "configure"
16254 #include "confdefs.h"
16255 /* System header to define __stub macros and hopefully few prototypes,
16256 which can conflict with char $ac_func(); below. */
16257 #include <assert.h>
16258 /* Override any gcc2 internal prototype to avoid an error. */
16259 /* We use char because int might match the return type of a gcc2
16260 builtin and then its argument prototype would still apply. */
16265 /* The GNU C library defines this for functions which it implements
16266 to always fail with ENOSYS. Some functions are actually named
16267 something starting with __ and the normal name is an alias. */
16268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16276 if { (eval echo configure
:16277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16278 eval "ac_cv_func_$ac_func=yes"
16280 echo "configure: failed program was:" >&5
16281 cat conftest.
$ac_ext >&5
16283 eval "ac_cv_func_$ac_func=no"
16288 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16289 echo "$ac_t""yes" 1>&6
16290 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16291 cat >> confdefs.h
<<EOF
16292 #define $ac_tr_func 1
16296 echo "$ac_t""no" 1>&6
16301 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16302 echo "configure:16303: checking for statfs" >&5
16303 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16304 echo $ac_n "(cached) $ac_c" 1>&6
16306 cat > conftest.
$ac_ext <<EOF
16307 #line 16308 "configure"
16308 #include "confdefs.h"
16310 #if defined(__BSD__)
16311 #include <sys/param.h>
16312 #include <sys/mount.h>
16314 #include <sys/vfs.h>
16328 if { (eval echo configure
:16329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16331 wx_cv_func_statfs
=yes
16334 echo "configure: failed program was:" >&5
16335 cat conftest.
$ac_ext >&5
16338 wx_cv_func_statfs
=no
16346 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16348 if test "$wx_cv_func_statfs" = "yes"; then
16349 cat >> confdefs.h
<<\EOF
16350 #define HAVE_STATFS 1
16354 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16355 echo "configure:16356: checking for statvfs" >&5
16356 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16357 echo $ac_n "(cached) $ac_c" 1>&6
16359 cat > conftest.
$ac_ext <<EOF
16360 #line 16361 "configure"
16361 #include "confdefs.h"
16363 #include <sys/statvfs.h>
16376 if { (eval echo configure
:16377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16379 wx_cv_func_statvfs
=yes
16382 echo "configure: failed program was:" >&5
16383 cat conftest.
$ac_ext >&5
16386 wx_cv_func_statvfs
=no
16394 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16396 if test "$wx_cv_func_statvfs" = "yes"; then
16397 cat >> confdefs.h
<<\EOF
16398 #define HAVE_STATVFS 1
16402 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16406 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16407 for ac_func
in fcntl flock
16409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16410 echo "configure:16411: checking for $ac_func" >&5
16411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16412 echo $ac_n "(cached) $ac_c" 1>&6
16414 cat > conftest.
$ac_ext <<EOF
16415 #line 16416 "configure"
16416 #include "confdefs.h"
16417 /* System header to define __stub macros and hopefully few prototypes,
16418 which can conflict with char $ac_func(); below. */
16419 #include <assert.h>
16420 /* Override any gcc2 internal prototype to avoid an error. */
16421 /* We use char because int might match the return type of a gcc2
16422 builtin and then its argument prototype would still apply. */
16427 /* The GNU C library defines this for functions which it implements
16428 to always fail with ENOSYS. Some functions are actually named
16429 something starting with __ and the normal name is an alias. */
16430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16438 if { (eval echo configure
:16439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16440 eval "ac_cv_func_$ac_func=yes"
16442 echo "configure: failed program was:" >&5
16443 cat conftest.
$ac_ext >&5
16445 eval "ac_cv_func_$ac_func=no"
16450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16451 echo "$ac_t""yes" 1>&6
16452 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16453 cat >> confdefs.h
<<EOF
16454 #define $ac_tr_func 1
16458 echo "$ac_t""no" 1>&6
16463 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16464 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16465 wxUSE_SNGLINST_CHECKER
=no
16469 for ac_func
in timegm
16471 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16472 echo "configure:16473: checking for $ac_func" >&5
16473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16474 echo $ac_n "(cached) $ac_c" 1>&6
16476 cat > conftest.
$ac_ext <<EOF
16477 #line 16478 "configure"
16478 #include "confdefs.h"
16479 /* System header to define __stub macros and hopefully few prototypes,
16480 which can conflict with char $ac_func(); below. */
16481 #include <assert.h>
16482 /* Override any gcc2 internal prototype to avoid an error. */
16483 /* We use char because int might match the return type of a gcc2
16484 builtin and then its argument prototype would still apply. */
16489 /* The GNU C library defines this for functions which it implements
16490 to always fail with ENOSYS. Some functions are actually named
16491 something starting with __ and the normal name is an alias. */
16492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16500 if { (eval echo configure
:16501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16502 eval "ac_cv_func_$ac_func=yes"
16504 echo "configure: failed program was:" >&5
16505 cat conftest.
$ac_ext >&5
16507 eval "ac_cv_func_$ac_func=no"
16512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16513 echo "$ac_t""yes" 1>&6
16514 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16515 cat >> confdefs.h
<<EOF
16516 #define $ac_tr_func 1
16520 echo "$ac_t""no" 1>&6
16525 for ac_func
in putenv setenv
16527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16528 echo "configure:16529: checking for $ac_func" >&5
16529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16530 echo $ac_n "(cached) $ac_c" 1>&6
16532 cat > conftest.
$ac_ext <<EOF
16533 #line 16534 "configure"
16534 #include "confdefs.h"
16535 /* System header to define __stub macros and hopefully few prototypes,
16536 which can conflict with char $ac_func(); below. */
16537 #include <assert.h>
16538 /* Override any gcc2 internal prototype to avoid an error. */
16539 /* We use char because int might match the return type of a gcc2
16540 builtin and then its argument prototype would still apply. */
16545 /* The GNU C library defines this for functions which it implements
16546 to always fail with ENOSYS. Some functions are actually named
16547 something starting with __ and the normal name is an alias. */
16548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16556 if { (eval echo configure
:16557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16558 eval "ac_cv_func_$ac_func=yes"
16560 echo "configure: failed program was:" >&5
16561 cat conftest.
$ac_ext >&5
16563 eval "ac_cv_func_$ac_func=no"
16568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16569 echo "$ac_t""yes" 1>&6
16570 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16571 cat >> confdefs.h
<<EOF
16572 #define $ac_tr_func 1
16576 echo "$ac_t""no" 1>&6
16581 HAVE_SOME_SLEEP_FUNC
=0
16582 if test "$USE_BEOS" = 1; then
16583 cat >> confdefs.h
<<\EOF
16584 #define HAVE_SLEEP 1
16587 HAVE_SOME_SLEEP_FUNC
=1
16590 if test "$USE_DARWIN" = 1; then
16591 cat >> confdefs.h
<<\EOF
16592 #define HAVE_USLEEP 1
16595 HAVE_SOME_SLEEP_FUNC
=1
16598 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16600 for ac_func
in nanosleep
16602 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16603 echo "configure:16604: checking for $ac_func" >&5
16604 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16605 echo $ac_n "(cached) $ac_c" 1>&6
16607 cat > conftest.
$ac_ext <<EOF
16608 #line 16609 "configure"
16609 #include "confdefs.h"
16610 /* System header to define __stub macros and hopefully few prototypes,
16611 which can conflict with char $ac_func(); below. */
16612 #include <assert.h>
16613 /* Override any gcc2 internal prototype to avoid an error. */
16614 /* We use char because int might match the return type of a gcc2
16615 builtin and then its argument prototype would still apply. */
16620 /* The GNU C library defines this for functions which it implements
16621 to always fail with ENOSYS. Some functions are actually named
16622 something starting with __ and the normal name is an alias. */
16623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16631 if { (eval echo configure
:16632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16633 eval "ac_cv_func_$ac_func=yes"
16635 echo "configure: failed program was:" >&5
16636 cat conftest.
$ac_ext >&5
16638 eval "ac_cv_func_$ac_func=no"
16643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16644 echo "$ac_t""yes" 1>&6
16645 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16646 cat >> confdefs.h
<<EOF
16647 #define $ac_tr_func 1
16649 cat >> confdefs.h
<<\EOF
16650 #define HAVE_NANOSLEEP 1
16654 echo "$ac_t""no" 1>&6
16655 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16656 echo "configure:16657: checking for nanosleep in -lposix4" >&5
16657 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16658 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16659 echo $ac_n "(cached) $ac_c" 1>&6
16661 ac_save_LIBS
="$LIBS"
16662 LIBS
="-lposix4 $LIBS"
16663 cat > conftest.
$ac_ext <<EOF
16664 #line 16665 "configure"
16665 #include "confdefs.h"
16666 /* Override any gcc2 internal prototype to avoid an error. */
16667 /* We use char because int might match the return type of a gcc2
16668 builtin and then its argument prototype would still apply. */
16675 if { (eval echo configure
:16676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16677 eval "ac_cv_lib_$ac_lib_var=yes"
16679 echo "configure: failed program was:" >&5
16680 cat conftest.
$ac_ext >&5
16682 eval "ac_cv_lib_$ac_lib_var=no"
16685 LIBS
="$ac_save_LIBS"
16688 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16689 echo "$ac_t""yes" 1>&6
16691 cat >> confdefs.h
<<\EOF
16692 #define HAVE_NANOSLEEP 1
16695 POSIX4_LINK
=" -lposix4"
16698 echo "$ac_t""no" 1>&6
16700 for ac_func
in usleep
16702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16703 echo "configure:16704: checking for $ac_func" >&5
16704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16705 echo $ac_n "(cached) $ac_c" 1>&6
16707 cat > conftest.
$ac_ext <<EOF
16708 #line 16709 "configure"
16709 #include "confdefs.h"
16710 /* System header to define __stub macros and hopefully few prototypes,
16711 which can conflict with char $ac_func(); below. */
16712 #include <assert.h>
16713 /* Override any gcc2 internal prototype to avoid an error. */
16714 /* We use char because int might match the return type of a gcc2
16715 builtin and then its argument prototype would still apply. */
16720 /* The GNU C library defines this for functions which it implements
16721 to always fail with ENOSYS. Some functions are actually named
16722 something starting with __ and the normal name is an alias. */
16723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16731 if { (eval echo configure
:16732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16733 eval "ac_cv_func_$ac_func=yes"
16735 echo "configure: failed program was:" >&5
16736 cat conftest.
$ac_ext >&5
16738 eval "ac_cv_func_$ac_func=no"
16743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16744 echo "$ac_t""yes" 1>&6
16745 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16746 cat >> confdefs.h
<<EOF
16747 #define $ac_tr_func 1
16749 cat >> confdefs.h
<<\EOF
16750 #define HAVE_USLEEP 1
16754 echo "$ac_t""no" 1>&6
16755 echo "configure: warning: wxSleep() function will not work" 1>&2
16771 for ac_func
in uname gethostname
16773 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16774 echo "configure:16775: checking for $ac_func" >&5
16775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16776 echo $ac_n "(cached) $ac_c" 1>&6
16778 cat > conftest.
$ac_ext <<EOF
16779 #line 16780 "configure"
16780 #include "confdefs.h"
16781 /* System header to define __stub macros and hopefully few prototypes,
16782 which can conflict with char $ac_func(); below. */
16783 #include <assert.h>
16784 /* Override any gcc2 internal prototype to avoid an error. */
16785 /* We use char because int might match the return type of a gcc2
16786 builtin and then its argument prototype would still apply. */
16791 /* The GNU C library defines this for functions which it implements
16792 to always fail with ENOSYS. Some functions are actually named
16793 something starting with __ and the normal name is an alias. */
16794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16802 if { (eval echo configure
:16803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16804 eval "ac_cv_func_$ac_func=yes"
16806 echo "configure: failed program was:" >&5
16807 cat conftest.
$ac_ext >&5
16809 eval "ac_cv_func_$ac_func=no"
16814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16815 echo "$ac_t""yes" 1>&6
16816 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16817 cat >> confdefs.h
<<EOF
16818 #define $ac_tr_func 1
16822 echo "$ac_t""no" 1>&6
16829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16830 ac_cpp
='$CXXCPP $CPPFLAGS'
16831 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16832 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16833 cross_compiling
=$ac_cv_prog_cxx_cross
16836 for ac_func
in strtok_r
16838 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16839 echo "configure:16840: checking for $ac_func" >&5
16840 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16841 echo $ac_n "(cached) $ac_c" 1>&6
16843 cat > conftest.
$ac_ext <<EOF
16844 #line 16845 "configure"
16845 #include "confdefs.h"
16846 /* System header to define __stub macros and hopefully few prototypes,
16847 which can conflict with char $ac_func(); below. */
16848 #include <assert.h>
16849 /* Override any gcc2 internal prototype to avoid an error. */
16853 /* We use char because int might match the return type of a gcc2
16854 builtin and then its argument prototype would still apply. */
16859 /* The GNU C library defines this for functions which it implements
16860 to always fail with ENOSYS. Some functions are actually named
16861 something starting with __ and the normal name is an alias. */
16862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16870 if { (eval echo configure
:16871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16872 eval "ac_cv_func_$ac_func=yes"
16874 echo "configure: failed program was:" >&5
16875 cat conftest.
$ac_ext >&5
16877 eval "ac_cv_func_$ac_func=no"
16882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16883 echo "$ac_t""yes" 1>&6
16884 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16885 cat >> confdefs.h
<<EOF
16886 #define $ac_tr_func 1
16890 echo "$ac_t""no" 1>&6
16896 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16897 ac_cpp
='$CPP $CPPFLAGS'
16898 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16899 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16900 cross_compiling
=$ac_cv_prog_cc_cross
16904 for ac_func
in inet_addr
16906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16907 echo "configure:16908: checking for $ac_func" >&5
16908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16909 echo $ac_n "(cached) $ac_c" 1>&6
16911 cat > conftest.
$ac_ext <<EOF
16912 #line 16913 "configure"
16913 #include "confdefs.h"
16914 /* System header to define __stub macros and hopefully few prototypes,
16915 which can conflict with char $ac_func(); below. */
16916 #include <assert.h>
16917 /* Override any gcc2 internal prototype to avoid an error. */
16918 /* We use char because int might match the return type of a gcc2
16919 builtin and then its argument prototype would still apply. */
16924 /* The GNU C library defines this for functions which it implements
16925 to always fail with ENOSYS. Some functions are actually named
16926 something starting with __ and the normal name is an alias. */
16927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16935 if { (eval echo configure
:16936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16937 eval "ac_cv_func_$ac_func=yes"
16939 echo "configure: failed program was:" >&5
16940 cat conftest.
$ac_ext >&5
16942 eval "ac_cv_func_$ac_func=no"
16947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16948 echo "$ac_t""yes" 1>&6
16949 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16950 cat >> confdefs.h
<<EOF
16951 #define $ac_tr_func 1
16953 cat >> confdefs.h
<<\EOF
16954 #define HAVE_INET_ADDR 1
16958 echo "$ac_t""no" 1>&6
16959 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16960 echo "configure:16961: checking for inet_addr in -lnsl" >&5
16961 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16962 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16963 echo $ac_n "(cached) $ac_c" 1>&6
16965 ac_save_LIBS
="$LIBS"
16967 cat > conftest.
$ac_ext <<EOF
16968 #line 16969 "configure"
16969 #include "confdefs.h"
16970 /* Override any gcc2 internal prototype to avoid an error. */
16971 /* We use char because int might match the return type of a gcc2
16972 builtin and then its argument prototype would still apply. */
16979 if { (eval echo configure
:16980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16981 eval "ac_cv_lib_$ac_lib_var=yes"
16983 echo "configure: failed program was:" >&5
16984 cat conftest.
$ac_ext >&5
16986 eval "ac_cv_lib_$ac_lib_var=no"
16989 LIBS
="$ac_save_LIBS"
16992 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16993 echo "$ac_t""yes" 1>&6
16996 echo "$ac_t""no" 1>&6
16997 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16998 echo "configure:16999: checking for inet_addr in -lresolv" >&5
16999 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17000 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17001 echo $ac_n "(cached) $ac_c" 1>&6
17003 ac_save_LIBS
="$LIBS"
17004 LIBS
="-lresolv $LIBS"
17005 cat > conftest.
$ac_ext <<EOF
17006 #line 17007 "configure"
17007 #include "confdefs.h"
17008 /* Override any gcc2 internal prototype to avoid an error. */
17009 /* We use char because int might match the return type of a gcc2
17010 builtin and then its argument prototype would still apply. */
17017 if { (eval echo configure
:17018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17019 eval "ac_cv_lib_$ac_lib_var=yes"
17021 echo "configure: failed program was:" >&5
17022 cat conftest.
$ac_ext >&5
17024 eval "ac_cv_lib_$ac_lib_var=no"
17027 LIBS
="$ac_save_LIBS"
17030 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17031 echo "$ac_t""yes" 1>&6
17034 echo "$ac_t""no" 1>&6
17035 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17036 echo "configure:17037: checking for inet_addr in -lsocket" >&5
17037 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17038 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17039 echo $ac_n "(cached) $ac_c" 1>&6
17041 ac_save_LIBS
="$LIBS"
17042 LIBS
="-lsocket $LIBS"
17043 cat > conftest.
$ac_ext <<EOF
17044 #line 17045 "configure"
17045 #include "confdefs.h"
17046 /* Override any gcc2 internal prototype to avoid an error. */
17047 /* We use char because int might match the return type of a gcc2
17048 builtin and then its argument prototype would still apply. */
17055 if { (eval echo configure
:17056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17057 eval "ac_cv_lib_$ac_lib_var=yes"
17059 echo "configure: failed program was:" >&5
17060 cat conftest.
$ac_ext >&5
17062 eval "ac_cv_lib_$ac_lib_var=no"
17065 LIBS
="$ac_save_LIBS"
17068 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17069 echo "$ac_t""yes" 1>&6
17073 echo "$ac_t""no" 1>&6
17088 for ac_func
in inet_aton
17090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17091 echo "configure:17092: checking for $ac_func" >&5
17092 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17093 echo $ac_n "(cached) $ac_c" 1>&6
17095 cat > conftest.
$ac_ext <<EOF
17096 #line 17097 "configure"
17097 #include "confdefs.h"
17098 /* System header to define __stub macros and hopefully few prototypes,
17099 which can conflict with char $ac_func(); below. */
17100 #include <assert.h>
17101 /* Override any gcc2 internal prototype to avoid an error. */
17102 /* We use char because int might match the return type of a gcc2
17103 builtin and then its argument prototype would still apply. */
17108 /* The GNU C library defines this for functions which it implements
17109 to always fail with ENOSYS. Some functions are actually named
17110 something starting with __ and the normal name is an alias. */
17111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17119 if { (eval echo configure
:17120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17121 eval "ac_cv_func_$ac_func=yes"
17123 echo "configure: failed program was:" >&5
17124 cat conftest.
$ac_ext >&5
17126 eval "ac_cv_func_$ac_func=no"
17131 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17132 echo "$ac_t""yes" 1>&6
17133 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17134 cat >> confdefs.h
<<EOF
17135 #define $ac_tr_func 1
17137 cat >> confdefs.h
<<\EOF
17138 #define HAVE_INET_ATON 1
17142 echo "$ac_t""no" 1>&6
17143 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17144 echo "configure:17145: checking for inet_aton in -l$INET_LINK" >&5
17145 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17146 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17147 echo $ac_n "(cached) $ac_c" 1>&6
17149 ac_save_LIBS
="$LIBS"
17150 LIBS
="-l$INET_LINK $LIBS"
17151 cat > conftest.
$ac_ext <<EOF
17152 #line 17153 "configure"
17153 #include "confdefs.h"
17154 /* Override any gcc2 internal prototype to avoid an error. */
17155 /* We use char because int might match the return type of a gcc2
17156 builtin and then its argument prototype would still apply. */
17163 if { (eval echo configure
:17164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17165 eval "ac_cv_lib_$ac_lib_var=yes"
17167 echo "configure: failed program was:" >&5
17168 cat conftest.
$ac_ext >&5
17170 eval "ac_cv_lib_$ac_lib_var=no"
17173 LIBS
="$ac_save_LIBS"
17176 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17177 echo "$ac_t""yes" 1>&6
17178 cat >> confdefs.h
<<\EOF
17179 #define HAVE_INET_ATON 1
17183 echo "$ac_t""no" 1>&6
17191 if test "x$INET_LINK" != "x"; then
17192 cat >> confdefs.h
<<\EOF
17193 #define HAVE_INET_ADDR 1
17196 INET_LINK
=" -l$INET_LINK"
17202 cat > confcache
<<\EOF
17203 # This file is a shell script that caches the results of configure
17204 # tests run on this system so they can be shared between configure
17205 # scripts and configure runs. It is not useful on other systems.
17206 # If it contains results you don't want to keep, you may remove or edit it.
17208 # By default, configure uses ./config.cache as the cache file,
17209 # creating it if it does not exist already. You can give configure
17210 # the --cache-file=FILE option to use a different cache file; that is
17211 # what configure does when it calls configure scripts in
17212 # subdirectories, so they share the cache.
17213 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17214 # config.status only pays attention to the cache file if you give it the
17215 # --recheck option to rerun configure.
17218 # The following way of writing the cache mishandles newlines in values,
17219 # but we know of no workaround that is simple, portable, and efficient.
17220 # So, don't put newlines in cache variables' values.
17221 # Ultrix sh set writes to stderr and can't be redirected directly,
17222 # and sets the high bit in the cache file unless we assign to the vars.
17224 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17226 # `set' does not quote correctly, so add quotes (double-quote substitution
17227 # turns \\\\ into \\, and sed turns \\ into \).
17229 -e "s/'/'\\\\''/g" \
17230 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17233 # `set' quotes correctly as required by POSIX, so do not add quotes.
17234 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17237 if cmp -s $cache_file confcache
; then
17240 if test -w $cache_file; then
17241 echo "updating cache $cache_file"
17242 cat confcache
> $cache_file
17244 echo "not updating unwritable cache $cache_file"
17252 if test "$TOOLKIT" != "MSW"; then
17258 if test "$wxUSE_THREADS" = "yes" ; then
17259 if test "$wxUSE_WINE" = 1 ; then
17260 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17262 elif test "$USE_BEOS" = 1; then
17263 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17268 if test "$wxUSE_THREADS" = "yes" ; then
17271 THREAD_OPTS
="-pthread"
17273 *-*-solaris2* | *-*-sunos4* )
17274 if test "x$GCC" = "xyes"; then
17275 THREAD_OPTS
="-pthreads $THREAD_OPTS"
17277 THREAD_OPTS
="-mt $THREAD_OPTS"
17281 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
17287 THREAD_OPTS
="pthreads"
17291 THREAD_OPTS
="$THREAD_OPTS pthread none"
17294 for flag
in $THREAD_OPTS; do
17297 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17298 echo "configure:17299: checking whether pthreads work without any flags" >&5
17302 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17303 echo "configure:17304: checking whether pthreads work with $flag" >&5
17304 THREADS_CFLAGS
="$flag"
17308 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17309 echo "configure:17310: checking for the pthreads library -l$flag" >&5
17310 THREADS_LINK
="-l$flag"
17315 save_CFLAGS
="$CFLAGS"
17316 LIBS
="$THREADS_LINK $LIBS"
17317 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
17319 cat > conftest.
$ac_ext <<EOF
17320 #line 17321 "configure"
17321 #include "confdefs.h"
17322 #include <pthread.h>
17324 pthread_create(0,0,0,0);
17327 if { (eval echo configure
:17328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17331 echo "configure: failed program was:" >&5
17332 cat conftest.
$ac_ext >&5
17337 CFLAGS
="$save_CFLAGS"
17339 echo "$ac_t""$THREADS_OK" 1>&6
17340 if test "x$THREADS_OK" = "xyes"; then
17348 if test "x$THREADS_OK" != "xyes"; then
17350 echo "configure: warning: No thread support on this system... disabled" 1>&2
17352 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17354 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17355 echo "configure:17356: checking if more special flags are required for pthreads" >&5
17358 *-aix* | *-freebsd*)
17359 flag
="-D_THREAD_SAFE"
17361 *solaris
* | alpha
*-osf*)
17362 flag
="-D_REENTRANT"
17365 echo "$ac_t""${flag}" 1>&6
17366 if test "x$flag" != xno
; then
17367 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
17370 if test "x$THREADS_CFLAGS" != "x"; then
17371 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
17372 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
17377 if test "$wxUSE_THREADS" = "yes" ; then
17378 for ac_func
in thr_setconcurrency
17380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17381 echo "configure:17382: checking for $ac_func" >&5
17382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17383 echo $ac_n "(cached) $ac_c" 1>&6
17385 cat > conftest.
$ac_ext <<EOF
17386 #line 17387 "configure"
17387 #include "confdefs.h"
17388 /* System header to define __stub macros and hopefully few prototypes,
17389 which can conflict with char $ac_func(); below. */
17390 #include <assert.h>
17391 /* Override any gcc2 internal prototype to avoid an error. */
17392 /* We use char because int might match the return type of a gcc2
17393 builtin and then its argument prototype would still apply. */
17398 /* The GNU C library defines this for functions which it implements
17399 to always fail with ENOSYS. Some functions are actually named
17400 something starting with __ and the normal name is an alias. */
17401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17409 if { (eval echo configure
:17410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17411 eval "ac_cv_func_$ac_func=yes"
17413 echo "configure: failed program was:" >&5
17414 cat conftest.
$ac_ext >&5
17416 eval "ac_cv_func_$ac_func=no"
17421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17422 echo "$ac_t""yes" 1>&6
17423 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17424 cat >> confdefs.h
<<EOF
17425 #define $ac_tr_func 1
17429 echo "$ac_t""no" 1>&6
17434 for ac_hdr
in sched.h
17436 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17437 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17438 echo "configure:17439: checking for $ac_hdr" >&5
17439 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17440 echo $ac_n "(cached) $ac_c" 1>&6
17442 cat > conftest.
$ac_ext <<EOF
17443 #line 17444 "configure"
17444 #include "confdefs.h"
17447 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17448 { (eval echo configure
:17449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17449 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17450 if test -z "$ac_err"; then
17452 eval "ac_cv_header_$ac_safe=yes"
17455 echo "configure: failed program was:" >&5
17456 cat conftest.
$ac_ext >&5
17458 eval "ac_cv_header_$ac_safe=no"
17462 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17463 echo "$ac_t""yes" 1>&6
17464 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17465 cat >> confdefs.h
<<EOF
17466 #define $ac_tr_hdr 1
17470 echo "$ac_t""no" 1>&6
17474 if test "$ac_cv_header_sched_h" = "yes"; then
17475 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17476 echo "configure:17477: checking for sched_yield" >&5
17477 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17478 echo $ac_n "(cached) $ac_c" 1>&6
17480 cat > conftest.
$ac_ext <<EOF
17481 #line 17482 "configure"
17482 #include "confdefs.h"
17483 /* System header to define __stub macros and hopefully few prototypes,
17484 which can conflict with char sched_yield(); below. */
17485 #include <assert.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. */
17489 char sched_yield();
17493 /* The GNU C library defines this for functions which it implements
17494 to always fail with ENOSYS. Some functions are actually named
17495 something starting with __ and the normal name is an alias. */
17496 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17504 if { (eval echo configure
:17505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17506 eval "ac_cv_func_sched_yield=yes"
17508 echo "configure: failed program was:" >&5
17509 cat conftest.
$ac_ext >&5
17511 eval "ac_cv_func_sched_yield=no"
17516 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17517 echo "$ac_t""yes" 1>&6
17518 cat >> confdefs.h
<<\EOF
17519 #define HAVE_SCHED_YIELD 1
17523 echo "$ac_t""no" 1>&6
17525 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17526 echo "configure:17527: checking for sched_yield in -lposix4" >&5
17527 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17528 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17529 echo $ac_n "(cached) $ac_c" 1>&6
17531 ac_save_LIBS
="$LIBS"
17532 LIBS
="-lposix4 $LIBS"
17533 cat > conftest.
$ac_ext <<EOF
17534 #line 17535 "configure"
17535 #include "confdefs.h"
17536 /* Override any gcc2 internal prototype to avoid an error. */
17537 /* We use char because int might match the return type of a gcc2
17538 builtin and then its argument prototype would still apply. */
17539 char sched_yield();
17545 if { (eval echo configure
:17546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17547 eval "ac_cv_lib_$ac_lib_var=yes"
17549 echo "configure: failed program was:" >&5
17550 cat conftest.
$ac_ext >&5
17552 eval "ac_cv_lib_$ac_lib_var=no"
17555 LIBS
="$ac_save_LIBS"
17558 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17559 echo "$ac_t""yes" 1>&6
17560 cat >> confdefs.h
<<\EOF
17561 #define HAVE_SCHED_YIELD 1
17563 POSIX4_LINK
=" -lposix4"
17565 echo "$ac_t""no" 1>&6
17566 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17577 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17578 echo "configure:17579: checking for pthread_attr_getschedpolicy" >&5
17579 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17580 echo $ac_n "(cached) $ac_c" 1>&6
17582 cat > conftest.
$ac_ext <<EOF
17583 #line 17584 "configure"
17584 #include "confdefs.h"
17585 /* System header to define __stub macros and hopefully few prototypes,
17586 which can conflict with char pthread_attr_getschedpolicy(); below. */
17587 #include <assert.h>
17588 /* Override any gcc2 internal prototype to avoid an error. */
17589 /* We use char because int might match the return type of a gcc2
17590 builtin and then its argument prototype would still apply. */
17591 char pthread_attr_getschedpolicy();
17595 /* The GNU C library defines this for functions which it implements
17596 to always fail with ENOSYS. Some functions are actually named
17597 something starting with __ and the normal name is an alias. */
17598 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17601 pthread_attr_getschedpolicy();
17606 if { (eval echo configure
:17607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17608 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17610 echo "configure: failed program was:" >&5
17611 cat conftest.
$ac_ext >&5
17613 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17618 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17619 echo "$ac_t""yes" 1>&6
17620 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17621 echo "configure:17622: checking for pthread_attr_setschedparam" >&5
17622 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17623 echo $ac_n "(cached) $ac_c" 1>&6
17625 cat > conftest.
$ac_ext <<EOF
17626 #line 17627 "configure"
17627 #include "confdefs.h"
17628 /* System header to define __stub macros and hopefully few prototypes,
17629 which can conflict with char pthread_attr_setschedparam(); below. */
17630 #include <assert.h>
17631 /* Override any gcc2 internal prototype to avoid an error. */
17632 /* We use char because int might match the return type of a gcc2
17633 builtin and then its argument prototype would still apply. */
17634 char pthread_attr_setschedparam();
17638 /* The GNU C library defines this for functions which it implements
17639 to always fail with ENOSYS. Some functions are actually named
17640 something starting with __ and the normal name is an alias. */
17641 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17644 pthread_attr_setschedparam();
17649 if { (eval echo configure
:17650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17651 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17653 echo "configure: failed program was:" >&5
17654 cat conftest.
$ac_ext >&5
17656 eval "ac_cv_func_pthread_attr_setschedparam=no"
17661 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17662 echo "$ac_t""yes" 1>&6
17663 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17664 echo "configure:17665: checking for sched_get_priority_max" >&5
17665 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17666 echo $ac_n "(cached) $ac_c" 1>&6
17668 cat > conftest.
$ac_ext <<EOF
17669 #line 17670 "configure"
17670 #include "confdefs.h"
17671 /* System header to define __stub macros and hopefully few prototypes
17673 echo "$ac_t""no" 1>&6
17674 which can conflict with char sched_get_priority_max(); below. */
17675 #include <assert.h>
17676 /* Override any gcc2 internal prototype to avoid an error. */
17677 /* We use char because int might match the return type of a gcc2
17678 builtin and then its argument prototype would still apply. */
17679 char sched_get_priority_max();
17683 /* The GNU C library defines this for functions which it implements
17684 to always fail with ENOSYS. Some functions are actually named
17685 something starting with __ and the normal name is an alias. */
17686 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
17689 sched_get_priority_max();
17694 if { (eval echo configure
:17695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17696 eval "ac_cv_func_sched_get_priority_max=yes"
17698 echo "configure: failed program was:" >&5
17699 cat conftest.
$ac_ext >&5
17701 eval "ac_cv_func_sched_get_priority_max=no"
17706 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
17707 echo "$ac_t""yes" 1>&6
17710 echo "$ac_t""no" 1>&6
17711 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17712 echo "configure:17713: checking for sched_get_priority_max in -lposix4" >&5
17713 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17714 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17715 echo $ac_n "(cached) $ac_c" 1>&6
17717 ac_save_LIBS
="$LIBS"
17718 LIBS
="-lposix4 $LIBS"
17719 cat > conftest.
$ac_ext <<EOF
17720 #line 17721 "configure"
17721 #include "confdefs.h"
17722 /* Override any gcc2 internal prototype to avoid an error. */
17723 /* We use char because int might match the return type of a gcc2
17724 builtin and then its argument prototype would still apply. */
17725 char sched_get_priority_max();
17728 sched_get_priority_max()
17731 if { (eval echo configure
:17732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17733 eval "ac_cv_lib_$ac_lib_var=yes"
17735 echo "configure: failed program was:" >&5
17736 cat conftest.
$ac_ext >&5
17738 eval "ac_cv_lib_$ac_lib_var=no"
17741 LIBS
="$ac_save_LIBS"
17744 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17745 echo "$ac_t""yes" 1>&6
17748 POSIX4_LINK
=" -lposix4"
17751 echo "$ac_t""no" 1>&6
17759 echo "$ac_t""no" 1>&6
17766 if test "$HAVE_PRIOR_FUNCS" = 1; then
17767 cat >> confdefs.h
<<\EOF
17768 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17772 echo "configure: warning: Setting thread priority will not work" 1>&2
17775 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
17776 echo "configure:17777: checking for pthread_cancel" >&5
17777 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
17778 echo $ac_n "(cached) $ac_c" 1>&6
17780 cat > conftest.
$ac_ext <<EOF
17781 #line 17782 "configure"
17782 #include "confdefs.h"
17783 /* System header to define __stub macros and hopefully few prototypes,
17784 which can conflict with char pthread_cancel(); below. */
17785 #include <assert.h>
17786 /* Override any gcc2 internal prototype to avoid an error. */
17787 /* We use char because int might match the return type of a gcc2
17788 builtin and then its argument prototype would still apply. */
17789 char pthread_cancel();
17793 /* The GNU C library defines this for functions which it implements
17794 to always fail with ENOSYS. Some functions are actually named
17795 something starting with __ and the normal name is an alias. */
17796 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
17804 if { (eval echo configure
:17805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17806 eval "ac_cv_func_pthread_cancel=yes"
17808 echo "configure: failed program was:" >&5
17809 cat conftest.
$ac_ext >&5
17811 eval "ac_cv_func_pthread_cancel=no"
17816 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
17817 echo "$ac_t""yes" 1>&6
17818 cat >> confdefs.h
<<\EOF
17819 #define HAVE_PTHREAD_CANCEL 1
17823 echo "$ac_t""no" 1>&6
17824 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17828 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17829 echo "configure:17830: checking for pthread_cleanup_push/pop" >&5
17830 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17831 echo $ac_n "(cached) $ac_c" 1>&6
17834 cat > conftest.
$ac_ext <<EOF
17835 #line 17836 "configure"
17836 #include "confdefs.h"
17837 #include <pthread.h>
17840 pthread_cleanup_push(NULL, NULL);
17841 pthread_cleanup_pop(0);
17845 if { (eval echo configure
:17846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17848 wx_cv_func_pthread_cleanup_push
=yes
17851 echo "configure: failed program was:" >&5
17852 cat conftest.
$ac_ext >&5
17855 wx_cv_func_pthread_cleanup_push
=no
17862 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17864 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17865 cat >> confdefs.h
<<\EOF
17866 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17872 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17873 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
17876 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17877 echo "configure:17878: checking for pthread_mutexattr_t" >&5
17878 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17879 echo $ac_n "(cached) $ac_c" 1>&6
17882 cat > conftest.
$ac_ext <<EOF
17883 #line 17884 "configure"
17884 #include "confdefs.h"
17885 #include <pthread.h>
17888 pthread_mutexattr_t attr;
17889 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17893 if { (eval echo configure
:17894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17896 wx_cv_type_pthread_mutexattr_t
=yes
17899 echo "configure: failed program was:" >&5
17900 cat conftest.
$ac_ext >&5
17903 wx_cv_type_pthread_mutexattr_t
=no
17911 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17913 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17914 cat >> confdefs.h
<<\EOF
17915 #define HAVE_PTHREAD_MUTEXATTR_T 1
17919 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17920 echo "configure:17921: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17921 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17922 echo $ac_n "(cached) $ac_c" 1>&6
17925 cat > conftest.
$ac_ext <<EOF
17926 #line 17927 "configure"
17927 #include "confdefs.h"
17928 #include <pthread.h>
17931 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17935 if { (eval echo configure
:17936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17938 wx_cv_type_pthread_rec_mutex_init
=yes
17941 echo "configure: failed program was:" >&5
17942 cat conftest.
$ac_ext >&5
17945 wx_cv_type_pthread_rec_mutex_init
=no
17953 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17954 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17955 cat >> confdefs.h
<<\EOF
17956 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17960 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17967 if test "$wxUSE_THREADS" = "yes"; then
17968 cat >> confdefs.h
<<\EOF
17969 #define wxUSE_THREADS 1
17973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
17975 if test "$ac_cv_func_strtok_r" = "yes"; then
17976 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17977 echo "configure:17978: checking if -D_REENTRANT is needed" >&5
17978 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17979 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
17980 echo "$ac_t""yes" 1>&6
17982 echo "$ac_t""no" 1>&6
17987 if test "$WXGTK20" = 1 ; then
17988 cat >> confdefs.h
<<EOF
17989 #define __WXGTK20__ $WXGTK20
17995 if test "$WXGTK12" = 1 ; then
17996 cat >> confdefs.h
<<EOF
17997 #define __WXGTK12__ $WXGTK12
18002 if test "$WXGTK127" = 1 ; then
18003 cat >> confdefs.h
<<EOF
18004 #define __WXGTK127__ $WXGTK127
18011 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18016 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18017 wxUSE_DEBUG_INFO
=yes
18021 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18022 cat >> confdefs.h
<<\EOF
18026 WXDEBUG_DEFINE
="-D__WXDEBUG__"
18028 if test "$wxUSE_GTK" = 1 ; then
18029 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
18033 if test "$wxUSE_MEM_TRACING" = "yes" ; then
18034 cat >> confdefs.h
<<\EOF
18035 #define wxUSE_MEMORY_TRACING 1
18038 cat >> confdefs.h
<<\EOF
18039 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18042 cat >> confdefs.h
<<\EOF
18043 #define wxUSE_DEBUG_NEW_ALWAYS 1
18046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
18049 if test "$wxUSE_DMALLOC" = "yes" ; then
18050 DMALLOC_LIBS
="-ldmalloc"
18054 if test "$wxUSE_PROFILE" = "yes" ; then
18059 CODE_GEN_FLAGS_CXX
=
18060 if test "$GCC" = "yes" ; then
18061 if test "$wxUSE_NO_RTTI" = "yes" ; then
18062 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
18064 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18065 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18067 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18068 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
18070 if test "$USE_WIN32" = 1 ; then
18071 # I'm not even really sure what this was ever added to solve,
18072 # but someone added it for mingw native builds, so I guess
18073 # they had a reason, right??
18074 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18078 if test "$wxUSE_OPTIMISE" = "no" ; then
18081 if test "$GCC" = yes ; then
18084 i586
-*-*|i686
-*-* )
18085 OPTIMISE
="${OPTIMISE} "
18093 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18094 cat >> confdefs.h
<<\EOF
18095 #define WXWIN_COMPATIBILITY_2 1
18099 WXWIN_COMPATIBILITY_2_2
="yes"
18102 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18103 cat >> confdefs.h
<<\EOF
18104 #define WXWIN_COMPATIBILITY_2_2 1
18110 if test "$wxUSE_GUI" = "yes"; then
18111 cat >> confdefs.h
<<\EOF
18112 #define wxUSE_GUI 1
18117 cat >> confdefs.h
<<\EOF
18118 #define wxUSE_NOGUI 1
18124 if test "$wxUSE_UNIX" = "yes"; then
18125 cat >> confdefs.h
<<\EOF
18126 #define wxUSE_UNIX 1
18132 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18133 cat >> confdefs.h
<<\EOF
18134 #define wxUSE_APPLE_IEEE 1
18139 if test "$wxUSE_TIMER" = "yes"; then
18140 cat >> confdefs.h
<<\EOF
18141 #define wxUSE_TIMER 1
18146 if test "$wxUSE_WAVE" = "yes"; then
18147 cat >> confdefs.h
<<\EOF
18148 #define wxUSE_WAVE 1
18153 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18154 cat >> confdefs.h
<<\EOF
18155 #define wxUSE_CMDLINE_PARSER 1
18160 if test "$wxUSE_STOPWATCH" = "yes"; then
18161 cat >> confdefs.h
<<\EOF
18162 #define wxUSE_STOPWATCH 1
18167 if test "$wxUSE_DATETIME" = "yes"; then
18168 cat >> confdefs.h
<<\EOF
18169 #define wxUSE_DATETIME 1
18174 if test "$wxUSE_TIMEDATE" = "yes"; then
18175 cat >> confdefs.h
<<\EOF
18176 #define wxUSE_TIMEDATE 1
18181 if test "$wxUSE_FILE" = "yes"; then
18182 cat >> confdefs.h
<<\EOF
18183 #define wxUSE_FILE 1
18188 if test "$wxUSE_FFILE" = "yes"; then
18189 cat >> confdefs.h
<<\EOF
18190 #define wxUSE_FFILE 1
18195 if test "$wxUSE_FILESYSTEM" = "yes"; then
18196 cat >> confdefs.h
<<\EOF
18197 #define wxUSE_FILESYSTEM 1
18202 if test "$wxUSE_FS_INET" = "yes"; then
18203 cat >> confdefs.h
<<\EOF
18204 #define wxUSE_FS_INET 1
18209 if test "$wxUSE_FS_ZIP" = "yes"; then
18210 cat >> confdefs.h
<<\EOF
18211 #define wxUSE_FS_ZIP 1
18216 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18217 cat >> confdefs.h
<<\EOF
18218 #define wxUSE_ZIPSTREAM 1
18223 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18224 cat >> confdefs.h
<<\EOF
18225 #define wxUSE_ON_FATAL_EXCEPTION 1
18230 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18231 cat >> confdefs.h
<<\EOF
18232 #define wxUSE_SNGLINST_CHECKER 1
18237 if test "$wxUSE_BUSYINFO" = "yes"; then
18238 cat >> confdefs.h
<<\EOF
18239 #define wxUSE_BUSYINFO 1
18244 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18245 cat >> confdefs.h
<<\EOF
18246 #define wxUSE_STD_IOSTREAM 1
18251 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18252 cat >> confdefs.h
<<\EOF
18253 #define wxUSE_TEXTBUFFER 1
18258 if test "$wxUSE_TEXTFILE" = "yes"; then
18259 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18260 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18262 cat >> confdefs.h
<<\EOF
18263 #define wxUSE_TEXTFILE 1
18269 if test "$wxUSE_CONFIG" = "yes" ; then
18270 if test "$wxUSE_TEXTFILE" != "yes"; then
18271 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18273 cat >> confdefs.h
<<\EOF
18274 #define wxUSE_CONFIG 1
18277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18281 if test "$wxUSE_INTL" = "yes" ; then
18282 if test "$wxUSE_FILE" != "yes"; then
18283 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18285 cat >> confdefs.h
<<\EOF
18286 #define wxUSE_INTL 1
18289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18290 GUIDIST
="$GUIDIST INTL_DIST"
18294 if test "$wxUSE_LOG" = "yes"; then
18295 cat >> confdefs.h
<<\EOF
18296 #define wxUSE_LOG 1
18300 if test "$wxUSE_LOGGUI" = "yes"; then
18301 cat >> confdefs.h
<<\EOF
18302 #define wxUSE_LOGGUI 1
18307 if test "$wxUSE_LOGWINDOW" = "yes"; then
18308 cat >> confdefs.h
<<\EOF
18309 #define wxUSE_LOGWINDOW 1
18314 if test "$wxUSE_LOGDIALOG" = "yes"; then
18315 cat >> confdefs.h
<<\EOF
18316 #define wxUSE_LOG_DIALOG 1
18322 if test "$wxUSE_LONGLONG" = "yes"; then
18323 cat >> confdefs.h
<<\EOF
18324 #define wxUSE_LONGLONG 1
18329 if test "$wxUSE_GEOMETRY" = "yes"; then
18330 cat >> confdefs.h
<<\EOF
18331 #define wxUSE_GEOMETRY 1
18336 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18337 cat >> confdefs.h
<<\EOF
18338 #define wxUSE_DIALUP_MANAGER 1
18341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18344 if test "$wxUSE_STREAMS" = "yes" ; then
18345 cat >> confdefs.h
<<\EOF
18346 #define wxUSE_STREAMS 1
18352 if test "$wxUSE_DATETIME" = "yes"; then
18353 for ac_func
in strptime
18355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18356 echo "configure:18357: checking for $ac_func" >&5
18357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18358 echo $ac_n "(cached) $ac_c" 1>&6
18360 cat > conftest.
$ac_ext <<EOF
18361 #line 18362 "configure"
18362 #include "confdefs.h"
18363 /* System header to define __stub macros and hopefully few prototypes,
18364 which can conflict with char $ac_func(); below. */
18365 #include <assert.h>
18366 /* Override any gcc2 internal prototype to avoid an error. */
18367 /* We use char because int might match the return type of a gcc2
18368 builtin and then its argument prototype would still apply. */
18373 /* The GNU C library defines this for functions which it implements
18374 to always fail with ENOSYS. Some functions are actually named
18375 something starting with __ and the normal name is an alias. */
18376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18384 if { (eval echo configure
:18385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18386 eval "ac_cv_func_$ac_func=yes"
18388 echo "configure: failed program was:" >&5
18389 cat conftest.
$ac_ext >&5
18391 eval "ac_cv_func_$ac_func=no"
18396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18397 echo "$ac_t""yes" 1>&6
18398 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18399 cat >> confdefs.h
<<EOF
18400 #define $ac_tr_func 1
18404 echo "$ac_t""no" 1>&6
18409 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18410 echo "configure:18411: checking for timezone variable in <time.h>" >&5
18411 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18412 echo $ac_n "(cached) $ac_c" 1>&6
18415 cat > conftest.
$ac_ext <<EOF
18416 #line 18417 "configure"
18417 #include "confdefs.h"
18428 if { (eval echo configure
:18429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18431 wx_cv_var_timezone
=timezone
18434 echo "configure: failed program was:" >&5
18435 cat conftest.
$ac_ext >&5
18438 cat > conftest.
$ac_ext <<EOF
18439 #line 18440 "configure"
18440 #include "confdefs.h"
18451 if { (eval echo configure
:18452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18454 wx_cv_var_timezone
=_timezone
18457 echo "configure: failed program was:" >&5
18458 cat conftest.
$ac_ext >&5
18461 cat > conftest.
$ac_ext <<EOF
18462 #line 18463 "configure"
18463 #include "confdefs.h"
18474 if { (eval echo configure
:18475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18477 wx_cv_var_timezone
=__timezone
18480 echo "configure: failed program was:" >&5
18481 cat conftest.
$ac_ext >&5
18484 if test "$USE_DOS" = 0 ; then
18485 echo "configure: warning: no timezone variable" 1>&2
18503 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18505 if test "x$wx_cv_var_timezone" != x
; then
18506 cat >> confdefs.h
<<EOF
18507 #define WX_TIMEZONE $wx_cv_var_timezone
18512 for ac_func
in localtime
18514 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18515 echo "configure:18516: checking for $ac_func" >&5
18516 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18517 echo $ac_n "(cached) $ac_c" 1>&6
18519 cat > conftest.
$ac_ext <<EOF
18520 #line 18521 "configure"
18521 #include "confdefs.h"
18522 /* System header to define __stub macros and hopefully few prototypes,
18523 which can conflict with char $ac_func(); below. */
18524 #include <assert.h>
18525 /* Override any gcc2 internal prototype to avoid an error. */
18526 /* We use char because int might match the return type of a gcc2
18527 builtin and then its argument prototype would still apply. */
18532 /* The GNU C library defines this for functions which it implements
18533 to always fail with ENOSYS. Some functions are actually named
18534 something starting with __ and the normal name is an alias. */
18535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18543 if { (eval echo configure
:18544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18545 eval "ac_cv_func_$ac_func=yes"
18547 echo "configure: failed program was:" >&5
18548 cat conftest.
$ac_ext >&5
18550 eval "ac_cv_func_$ac_func=no"
18555 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18556 echo "$ac_t""yes" 1>&6
18557 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18558 cat >> confdefs.h
<<EOF
18559 #define $ac_tr_func 1
18563 echo "$ac_t""no" 1>&6
18568 if test "$ac_cv_func_localtime" = "yes"; then
18569 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18570 echo "configure:18571: checking for tm_gmtoff in struct tm" >&5
18571 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18572 echo $ac_n "(cached) $ac_c" 1>&6
18575 cat > conftest.
$ac_ext <<EOF
18576 #line 18577 "configure"
18577 #include "confdefs.h"
18588 if { (eval echo configure
:18589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18591 wx_cv_struct_tm_has_gmtoff
=yes
18594 echo "configure: failed program was:" >&5
18595 cat conftest.
$ac_ext >&5
18597 wx_cv_struct_tm_has_gmtoff
=no
18604 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18607 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18608 cat >> confdefs.h
<<\EOF
18609 #define WX_GMTOFF_IN_TM 1
18614 for ac_func
in gettimeofday ftime
18616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18617 echo "configure:18618: checking for $ac_func" >&5
18618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18619 echo $ac_n "(cached) $ac_c" 1>&6
18621 cat > conftest.
$ac_ext <<EOF
18622 #line 18623 "configure"
18623 #include "confdefs.h"
18624 /* System header to define __stub macros and hopefully few prototypes,
18625 which can conflict with char $ac_func(); below. */
18626 #include <assert.h>
18627 /* Override any gcc2 internal prototype to avoid an error. */
18628 /* We use char because int might match the return type of a gcc2
18629 builtin and then its argument prototype would still apply. */
18634 /* The GNU C library defines this for functions which it implements
18635 to always fail with ENOSYS. Some functions are actually named
18636 something starting with __ and the normal name is an alias. */
18637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18645 if { (eval echo configure
:18646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18647 eval "ac_cv_func_$ac_func=yes"
18649 echo "configure: failed program was:" >&5
18650 cat conftest.
$ac_ext >&5
18652 eval "ac_cv_func_$ac_func=no"
18657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18658 echo "$ac_t""yes" 1>&6
18659 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18660 cat >> confdefs.h
<<EOF
18661 #define $ac_tr_func 1
18665 echo "$ac_t""no" 1>&6
18670 if test "$ac_cv_func_gettimeofday" = "yes"; then
18671 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18672 echo "configure:18673: checking whether gettimeofday takes two arguments" >&5
18673 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18674 echo $ac_n "(cached) $ac_c" 1>&6
18679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18680 ac_cpp
='$CXXCPP $CPPFLAGS'
18681 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18682 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18683 cross_compiling
=$ac_cv_prog_cxx_cross
18686 cat > conftest.
$ac_ext <<EOF
18687 #line 18688 "configure"
18688 #include "confdefs.h"
18690 #include <sys/time.h>
18691 #include <unistd.h>
18696 gettimeofday(&tv, NULL);
18700 if { (eval echo configure
:18701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18702 wx_cv_func_gettimeofday_has_2_args
=yes
18704 echo "configure: failed program was:" >&5
18705 cat conftest.
$ac_ext >&5
18707 cat > conftest.
$ac_ext <<EOF
18708 #line 18709 "configure"
18709 #include "confdefs.h"
18711 #include <sys/time.h>
18712 #include <unistd.h>
18721 if { (eval echo configure
:18722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18723 wx_cv_func_gettimeofday_has_2_args
=no
18725 echo "configure: failed program was:" >&5
18726 cat conftest.
$ac_ext >&5
18729 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18730 wx_cv_func_gettimeofday_has_2_args
=unknown
18739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18740 ac_cpp
='$CPP $CPPFLAGS'
18741 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18742 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18743 cross_compiling
=$ac_cv_prog_cc_cross
18748 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18750 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18751 cat >> confdefs.h
<<\EOF
18752 #define WX_GETTIMEOFDAY_NO_TZ 1
18758 cat >> confdefs.h
<<\EOF
18759 #define wxUSE_TIMEDATE 1
18762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18766 if test "$wxUSE_SOCKETS" = "yes"; then
18767 if test "$TOOLKIT" = "X11"; then
18768 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18773 if test "$wxUSE_SOCKETS" = "yes"; then
18774 if test "$TOOLKIT" != "MSW"; then
18775 echo $ac_n "checking for socket""... $ac_c" 1>&6
18776 echo "configure:18777: checking for socket" >&5
18777 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18778 echo $ac_n "(cached) $ac_c" 1>&6
18780 cat > conftest.
$ac_ext <<EOF
18781 #line 18782 "configure"
18782 #include "confdefs.h"
18783 /* System header to define __stub macros and hopefully few prototypes,
18784 which can conflict with char socket(); below. */
18785 #include <assert.h>
18786 /* Override any gcc2 internal prototype to avoid an error. */
18787 /* We use char because int might match the return type of a gcc2
18788 builtin and then its argument prototype would still apply. */
18793 /* The GNU C library defines this for functions which it implements
18794 to always fail with ENOSYS. Some functions are actually named
18795 something starting with __ and the normal name is an alias. */
18796 #if defined (__stub_socket) || defined (__stub___socket)
18804 if { (eval echo configure
:18805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18806 eval "ac_cv_func_socket=yes"
18808 echo "configure: failed program was:" >&5
18809 cat conftest.
$ac_ext >&5
18811 eval "ac_cv_func_socket=no"
18816 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18817 echo "$ac_t""yes" 1>&6
18820 echo "$ac_t""no" 1>&6
18821 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18822 echo "configure:18823: checking for socket in -lsocket" >&5
18823 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18824 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18825 echo $ac_n "(cached) $ac_c" 1>&6
18827 ac_save_LIBS
="$LIBS"
18828 LIBS
="-lsocket $LIBS"
18829 cat > conftest.
$ac_ext <<EOF
18830 #line 18831 "configure"
18831 #include "confdefs.h"
18832 /* Override any gcc2 internal prototype to avoid an error. */
18833 /* We use char because int might match the return type of a gcc2
18834 builtin and then its argument prototype would still apply. */
18841 if { (eval echo configure
:18842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18843 eval "ac_cv_lib_$ac_lib_var=yes"
18845 echo "configure: failed program was:" >&5
18846 cat conftest.
$ac_ext >&5
18848 eval "ac_cv_lib_$ac_lib_var=no"
18851 LIBS
="$ac_save_LIBS"
18854 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18855 echo "$ac_t""yes" 1>&6
18856 if test "$INET_LINK" != " -lsocket"; then
18857 INET_LINK
="$INET_LINK -lsocket"
18860 echo "$ac_t""no" 1>&6
18862 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18874 if test "$wxUSE_SOCKETS" = "yes" ; then
18875 if test "$TOOLKIT" != "MSW"; then
18876 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18877 echo "configure:18878: checking what is the type of the third argument of getsockname" >&5
18878 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18879 echo $ac_n "(cached) $ac_c" 1>&6
18884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18885 ac_cpp
='$CXXCPP $CPPFLAGS'
18886 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18887 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18888 cross_compiling
=$ac_cv_prog_cxx_cross
18891 cat > conftest.
$ac_ext <<EOF
18892 #line 18893 "configure"
18893 #include "confdefs.h"
18895 #include <sys/types.h>
18896 #include <sys/socket.h>
18901 getsockname(0, 0, &len);
18905 if { (eval echo configure
:18906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18907 wx_cv_type_getsockname3
=socklen_t
18909 echo "configure: failed program was:" >&5
18910 cat conftest.
$ac_ext >&5
18912 cat > conftest.
$ac_ext <<EOF
18913 #line 18914 "configure"
18914 #include "confdefs.h"
18916 #include <sys/types.h>
18917 #include <sys/socket.h>
18922 getsockname(0, 0, &len);
18926 if { (eval echo configure
:18927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18928 wx_cv_type_getsockname3
=size_t
18930 echo "configure: failed program was:" >&5
18931 cat conftest.
$ac_ext >&5
18933 cat > conftest.
$ac_ext <<EOF
18934 #line 18935 "configure"
18935 #include "confdefs.h"
18937 #include <sys/types.h>
18938 #include <sys/socket.h>
18943 getsockname(0, 0, &len);
18947 if { (eval echo configure
:18948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18949 wx_cv_type_getsockname3
=int
18951 echo "configure: failed program was:" >&5
18952 cat conftest.
$ac_ext >&5
18954 wx_cv_type_getsockname3
=unknown
18966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18967 ac_cpp
='$CPP $CPPFLAGS'
18968 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18969 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18970 cross_compiling
=$ac_cv_prog_cc_cross
18975 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18977 if test "$wx_cv_type_getsockname3" = "unknown"; then
18979 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18981 cat >> confdefs.h
<<EOF
18982 #define SOCKLEN_T $wx_cv_type_getsockname3
18989 if test "$wxUSE_SOCKETS" = "yes" ; then
18990 cat >> confdefs.h
<<\EOF
18991 #define wxUSE_SOCKETS 1
18994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
18998 if test "$wxUSE_GUI" = "yes"; then
19000 if test "$TOOLKIT" = "MAC"; then
19001 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19004 if test "$TOOLKIT" = "MOTIF"; then
19005 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19008 if test "$TOOLKIT" = "X11"; then
19009 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19013 if test "$TOOLKIT" != "MSW"; then
19014 if test "$wxUSE_JOYSTICK" = "yes"; then
19015 for ac_hdr
in linux
/joystick.h
19017 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19018 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19019 echo "configure:19020: checking for $ac_hdr" >&5
19020 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19021 echo $ac_n "(cached) $ac_c" 1>&6
19023 cat > conftest.
$ac_ext <<EOF
19024 #line 19025 "configure"
19025 #include "confdefs.h"
19028 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19029 { (eval echo configure
:19030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19030 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19031 if test -z "$ac_err"; then
19033 eval "ac_cv_header_$ac_safe=yes"
19036 echo "configure: failed program was:" >&5
19037 cat conftest.
$ac_ext >&5
19039 eval "ac_cv_header_$ac_safe=no"
19043 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19044 echo "$ac_t""yes" 1>&6
19045 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19046 cat >> confdefs.h
<<EOF
19047 #define $ac_tr_hdr 1
19051 echo "$ac_t""no" 1>&6
19055 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19057 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19062 if test "$wxUSE_JOYSTICK" = "yes"; then
19063 cat >> confdefs.h
<<\EOF
19064 #define wxUSE_JOYSTICK 1
19067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
19072 if test "$TOOLKIT" != "MSW"; then
19076 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19077 if test "$USE_DARWIN" = 1; then
19080 for ac_func
in dlopen
19082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19083 echo "configure:19084: checking for $ac_func" >&5
19084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19085 echo $ac_n "(cached) $ac_c" 1>&6
19087 cat > conftest.
$ac_ext <<EOF
19088 #line 19089 "configure"
19089 #include "confdefs.h"
19090 /* System header to define __stub macros and hopefully few prototypes,
19091 which can conflict with char $ac_func(); below. */
19092 #include <assert.h>
19093 /* Override any gcc2 internal prototype to avoid an error. */
19094 /* We use char because int might match the return type of a gcc2
19095 builtin and then its argument prototype would still apply. */
19100 /* The GNU C library defines this for functions which it implements
19101 to always fail with ENOSYS. Some functions are actually named
19102 something starting with __ and the normal name is an alias. */
19103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19111 if { (eval echo configure
:19112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19113 eval "ac_cv_func_$ac_func=yes"
19115 echo "configure: failed program was:" >&5
19116 cat conftest.
$ac_ext >&5
19118 eval "ac_cv_func_$ac_func=no"
19123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19124 echo "$ac_t""yes" 1>&6
19125 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19126 cat >> confdefs.h
<<EOF
19127 #define $ac_tr_func 1
19130 cat >> confdefs.h
<<\EOF
19131 #define HAVE_DLOPEN 1
19137 echo "$ac_t""no" 1>&6
19138 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19139 echo "configure:19140: checking for dlopen in -ldl" >&5
19140 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19141 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19142 echo $ac_n "(cached) $ac_c" 1>&6
19144 ac_save_LIBS
="$LIBS"
19146 cat > conftest.
$ac_ext <<EOF
19147 #line 19148 "configure"
19148 #include "confdefs.h"
19149 /* Override any gcc2 internal prototype to avoid an error. */
19150 /* We use char because int might match the return type of a gcc2
19151 builtin and then its argument prototype would still apply. */
19158 if { (eval echo configure
:19159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19160 eval "ac_cv_lib_$ac_lib_var=yes"
19162 echo "configure: failed program was:" >&5
19163 cat conftest.
$ac_ext >&5
19165 eval "ac_cv_lib_$ac_lib_var=no"
19168 LIBS
="$ac_save_LIBS"
19171 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19172 echo "$ac_t""yes" 1>&6
19174 cat >> confdefs.h
<<\EOF
19175 #define HAVE_DLOPEN 1
19179 DL_LINK
=" -ldl$DL_LINK"
19182 echo "$ac_t""no" 1>&6
19184 for ac_func
in shl_load
19186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19187 echo "configure:19188: checking for $ac_func" >&5
19188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19189 echo $ac_n "(cached) $ac_c" 1>&6
19191 cat > conftest.
$ac_ext <<EOF
19192 #line 19193 "configure"
19193 #include "confdefs.h"
19194 /* System header to define __stub macros and hopefully few prototypes,
19195 which can conflict with char $ac_func(); below. */
19196 #include <assert.h>
19197 /* Override any gcc2 internal prototype to avoid an error. */
19198 /* We use char because int might match the return type of a gcc2
19199 builtin and then its argument prototype would still apply. */
19204 /* The GNU C library defines this for functions which it implements
19205 to always fail with ENOSYS. Some functions are actually named
19206 something starting with __ and the normal name is an alias. */
19207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19215 if { (eval echo configure
:19216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19217 eval "ac_cv_func_$ac_func=yes"
19219 echo "configure: failed program was:" >&5
19220 cat conftest.
$ac_ext >&5
19222 eval "ac_cv_func_$ac_func=no"
19227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19228 echo "$ac_t""yes" 1>&6
19229 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19230 cat >> confdefs.h
<<EOF
19231 #define $ac_tr_func 1
19234 cat >> confdefs.h
<<\EOF
19235 #define HAVE_SHL_LOAD 1
19241 echo "$ac_t""no" 1>&6
19242 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19243 echo "configure:19244: checking for dld in -lshl_load" >&5
19244 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19245 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19246 echo $ac_n "(cached) $ac_c" 1>&6
19248 ac_save_LIBS
="$LIBS"
19249 LIBS
="-lshl_load $LIBS"
19250 cat > conftest.
$ac_ext <<EOF
19251 #line 19252 "configure"
19252 #include "confdefs.h"
19253 /* Override any gcc2 internal prototype to avoid an error. */
19254 /* We use char because int might match the return type of a gcc2
19255 builtin and then its argument prototype would still apply. */
19262 if { (eval echo configure
:19263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19264 eval "ac_cv_lib_$ac_lib_var=yes"
19266 echo "configure: failed program was:" >&5
19267 cat conftest.
$ac_ext >&5
19269 eval "ac_cv_lib_$ac_lib_var=no"
19272 LIBS
="$ac_save_LIBS"
19275 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19276 echo "$ac_t""yes" 1>&6
19279 DL_LINK
=" -ldld$DL_LINK"
19282 echo "$ac_t""no" 1>&6
19297 if test "$HAVE_DL_FUNCS" = 1; then
19298 for ac_func
in dlerror
19300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19301 echo "configure:19302: checking for $ac_func" >&5
19302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19303 echo $ac_n "(cached) $ac_c" 1>&6
19305 cat > conftest.
$ac_ext <<EOF
19306 #line 19307 "configure"
19307 #include "confdefs.h"
19308 /* System header to define __stub macros and hopefully few prototypes,
19309 which can conflict with char $ac_func(); below. */
19310 #include <assert.h>
19311 /* Override any gcc2 internal prototype to avoid an error. */
19312 /* We use char because int might match the return type of a gcc2
19313 builtin and then its argument prototype would still apply. */
19318 /* The GNU C library defines this for functions which it implements
19319 to always fail with ENOSYS. Some functions are actually named
19320 something starting with __ and the normal name is an alias. */
19321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19329 if { (eval echo configure
:19330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19331 eval "ac_cv_func_$ac_func=yes"
19333 echo "configure: failed program was:" >&5
19334 cat conftest.
$ac_ext >&5
19336 eval "ac_cv_func_$ac_func=no"
19341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19342 echo "$ac_t""yes" 1>&6
19343 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19344 cat >> confdefs.h
<<EOF
19345 #define $ac_tr_func 1
19347 cat >> confdefs.h
<<\EOF
19348 #define HAVE_DLERROR 1
19352 echo "$ac_t""no" 1>&6
19353 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19354 echo "configure:19355: checking for dlerror in -ldl" >&5
19355 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19356 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19357 echo $ac_n "(cached) $ac_c" 1>&6
19359 ac_save_LIBS
="$LIBS"
19361 cat > conftest.
$ac_ext <<EOF
19362 #line 19363 "configure"
19363 #include "confdefs.h"
19364 /* Override any gcc2 internal prototype to avoid an error. */
19365 /* We use char because int might match the return type of a gcc2
19366 builtin and then its argument prototype would still apply. */
19373 if { (eval echo configure
:19374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19375 eval "ac_cv_lib_$ac_lib_var=yes"
19377 echo "configure: failed program was:" >&5
19378 cat conftest.
$ac_ext >&5
19380 eval "ac_cv_lib_$ac_lib_var=no"
19383 LIBS
="$ac_save_LIBS"
19386 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19387 echo "$ac_t""yes" 1>&6
19388 cat >> confdefs.h
<<\EOF
19389 #define HAVE_DLERROR 1
19393 echo "$ac_t""no" 1>&6
19402 if test "$HAVE_DL_FUNCS" = 0; then
19403 if test "$HAVE_SHL_FUNCS" = 0; then
19404 if test "$USE_UNIX" = 1; then
19405 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19406 wxUSE_DYNAMIC_LOADER
=no
19407 wxUSE_DYNLIB_CLASS
=no
19409 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19416 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19417 cat >> confdefs.h
<<\EOF
19418 #define wxUSE_DYNAMIC_LOADER 1
19421 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19422 cat >> confdefs.h
<<\EOF
19423 #define wxUSE_DYNLIB_CLASS 1
19429 if test "$wxUSE_FONTMAP" = "yes" ; then
19430 cat >> confdefs.h
<<\EOF
19431 #define wxUSE_FONTMAP 1
19436 if test "$wxUSE_UNICODE" = "yes" ; then
19437 cat >> confdefs.h
<<\EOF
19438 #define wxUSE_UNICODE 1
19442 if test "$wxUSE_MSW" != 1; then
19443 wxUSE_UNICODE_MSLU
=no
19446 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19447 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19448 echo "configure:19449: checking for main in -lunicows" >&5
19449 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19450 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19451 echo $ac_n "(cached) $ac_c" 1>&6
19453 ac_save_LIBS
="$LIBS"
19454 LIBS
="-lunicows $LIBS"
19455 cat > conftest.
$ac_ext <<EOF
19456 #line 19457 "configure"
19457 #include "confdefs.h"
19463 if { (eval echo configure
:19464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19465 eval "ac_cv_lib_$ac_lib_var=yes"
19467 echo "configure: failed program was:" >&5
19468 cat conftest.
$ac_ext >&5
19470 eval "ac_cv_lib_$ac_lib_var=no"
19473 LIBS
="$ac_save_LIBS"
19476 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19477 echo "$ac_t""yes" 1>&6
19479 cat >> confdefs.h
<<\EOF
19480 #define wxUSE_UNICODE_MSLU 1
19485 echo "$ac_t""no" 1>&6
19487 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19488 Applications will only run on Windows NT/2000/XP!" 1>&2
19489 wxUSE_UNICODE_MSLU
=no
19496 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19497 cat >> confdefs.h
<<\EOF
19498 #define wxUSE_EXPERIMENTAL_PRINTF 1
19506 if test "$wxUSE_ODBC" = "yes" ; then
19507 cat >> confdefs.h
<<\EOF
19508 #define wxUSE_ODBC 1
19511 WXODBCFLAG
="-D_IODBC_"
19512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19516 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19517 cat >> confdefs.h
<<\EOF
19518 #define wxUSE_POSTSCRIPT 1
19523 cat >> confdefs.h
<<\EOF
19524 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19528 cat >> confdefs.h
<<\EOF
19529 #define wxUSE_NORMALIZED_PS_FONTS 1
19534 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19535 cat >> confdefs.h
<<\EOF
19536 #define wxUSE_CONSTRAINTS 1
19539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19542 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19543 if test "$wxUSE_UNIVERSAL" = "yes"; then
19544 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19545 wxUSE_MDI_ARCHITECTURE
=no
19548 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19549 cat >> confdefs.h
<<\EOF
19550 #define wxUSE_MDI_ARCHITECTURE 1
19553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19557 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19558 cat >> confdefs.h
<<\EOF
19559 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19563 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19568 if test "$wxUSE_HELP" = "yes"; then
19569 cat >> confdefs.h
<<\EOF
19570 #define wxUSE_HELP 1
19573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19575 if test "$wxUSE_MSW" = 1; then
19576 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19577 cat >> confdefs.h
<<\EOF
19578 #define wxUSE_MS_HTML_HELP 1
19584 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19585 if test "$wxUSE_HTML" = "yes"; then
19586 cat >> confdefs.h
<<\EOF
19587 #define wxUSE_WXHTML_HELP 1
19591 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19592 wxUSE_WXHTML_HELP
=no
19597 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19598 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19599 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19601 cat >> confdefs.h
<<\EOF
19602 #define wxUSE_PRINTING_ARCHITECTURE 1
19606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19609 if test "$wxUSE_PROLOGIO" = "yes" ; then
19610 cat >> confdefs.h
<<\EOF
19611 #define wxUSE_PROLOGIO 1
19616 if test "$wxUSE_RESOURCES" = "yes" ; then
19617 if test "$wxUSE_NANOX" = "yes"; then
19618 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19620 cat >> confdefs.h
<<\EOF
19621 #define wxUSE_RESOURCES 1
19624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19628 if test "$wxUSE_X_RESOURCES" = "yes"; then
19629 cat >> confdefs.h
<<\EOF
19630 #define wxUSE_X_RESOURCES 1
19636 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19637 -o "$wxUSE_CLIPBOARD" = "yes" \
19638 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19639 for ac_hdr
in ole2.h
19641 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19642 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19643 echo "configure:19644: checking for $ac_hdr" >&5
19644 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19645 echo $ac_n "(cached) $ac_c" 1>&6
19647 cat > conftest.
$ac_ext <<EOF
19648 #line 19649 "configure"
19649 #include "confdefs.h"
19652 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19653 { (eval echo configure
:19654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19654 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19655 if test -z "$ac_err"; then
19657 eval "ac_cv_header_$ac_safe=yes"
19660 echo "configure: failed program was:" >&5
19661 cat conftest.
$ac_ext >&5
19663 eval "ac_cv_header_$ac_safe=no"
19667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19668 echo "$ac_t""yes" 1>&6
19669 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19670 cat >> confdefs.h
<<EOF
19671 #define $ac_tr_hdr 1
19675 echo "$ac_t""no" 1>&6
19680 if test "$ac_cv_header_ole2_h" = "yes" ; then
19681 if test "$GCC" = yes ; then
19682 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19683 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19684 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19685 cat >> confdefs.h
<<\EOF
19686 #define wxUSE_OLE 1
19692 cat >> confdefs.h
<<\EOF
19693 #define wxUSE_DATAOBJ 1
19697 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19700 wxUSE_DRAG_AND_DROP
=no
19704 if test "$wxUSE_METAFILE" = "yes"; then
19705 cat >> confdefs.h
<<\EOF
19706 #define wxUSE_METAFILE 1
19710 cat >> confdefs.h
<<\EOF
19711 #define wxUSE_ENH_METAFILE 1
19717 if test "$wxUSE_IPC" = "yes"; then
19718 if test "$wxUSE_SOCKETS" != "yes"; then
19719 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19722 cat >> confdefs.h
<<\EOF
19723 #define wxUSE_IPC 1
19728 if test "$wxUSE_CLIPBOARD" = "yes"; then
19729 cat >> confdefs.h
<<\EOF
19730 #define wxUSE_CLIPBOARD 1
19734 cat >> confdefs.h
<<\EOF
19735 #define wxUSE_DATAOBJ 1
19740 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19741 if test "$wxUSE_GTK" = 1; then
19742 if test "$WXGTK12" != 1; then
19743 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19744 wxUSE_DRAG_AND_DROP
=no
19748 if test "$wxUSE_MOTIF" = 1; then
19749 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19750 wxUSE_DRAG_AND_DROP
=no
19753 if test "$wxUSE_X11" = 1; then
19754 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19755 wxUSE_DRAG_AND_DROP
=no
19758 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19759 cat >> confdefs.h
<<\EOF
19760 #define wxUSE_DRAG_AND_DROP 1
19763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19768 if test "$wxUSE_SPLINES" = "yes" ; then
19769 cat >> confdefs.h
<<\EOF
19770 #define wxUSE_SPLINES 1
19777 if test "$wxUSE_CONTROLS" = "yes"; then
19781 if test "$wxUSE_ACCEL" = "yes"; then
19782 cat >> confdefs.h
<<\EOF
19783 #define wxUSE_ACCEL 1
19789 if test "$wxUSE_BUTTON" = "yes"; then
19790 cat >> confdefs.h
<<\EOF
19791 #define wxUSE_BUTTON 1
19797 if test "$wxUSE_BMPBUTTON" = "yes"; then
19798 cat >> confdefs.h
<<\EOF
19799 #define wxUSE_BMPBUTTON 1
19805 if test "$wxUSE_CALCTRL" = "yes"; then
19806 cat >> confdefs.h
<<\EOF
19807 #define wxUSE_CALENDARCTRL 1
19811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
19814 if test "$wxUSE_CARET" = "yes"; then
19815 cat >> confdefs.h
<<\EOF
19816 #define wxUSE_CARET 1
19820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
19823 if test "$wxUSE_COMBOBOX" = "yes"; then
19824 cat >> confdefs.h
<<\EOF
19825 #define wxUSE_COMBOBOX 1
19831 if test "$wxUSE_CHOICE" = "yes"; then
19832 cat >> confdefs.h
<<\EOF
19833 #define wxUSE_CHOICE 1
19839 if test "$wxUSE_CHECKBOX" = "yes"; then
19840 cat >> confdefs.h
<<\EOF
19841 #define wxUSE_CHECKBOX 1
19847 if test "$wxUSE_CHECKLST" = "yes"; then
19848 cat >> confdefs.h
<<\EOF
19849 #define wxUSE_CHECKLISTBOX 1
19853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
19856 if test "$wxUSE_GAUGE" = "yes"; then
19857 cat >> confdefs.h
<<\EOF
19858 #define wxUSE_GAUGE 1
19864 if test "$wxUSE_NEW_GRID" = "yes"; then
19866 cat >> confdefs.h
<<\EOF
19867 #define wxUSE_NEW_GRID 1
19871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
19874 if test "$wxUSE_GRID" = "yes"; then
19875 cat >> confdefs.h
<<\EOF
19876 #define wxUSE_GRID 1
19880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
19883 if test "$wxUSE_IMAGLIST" = "yes"; then
19884 cat >> confdefs.h
<<\EOF
19885 #define wxUSE_IMAGLIST 1
19890 if test "$wxUSE_LISTBOX" = "yes"; then
19891 cat >> confdefs.h
<<\EOF
19892 #define wxUSE_LISTBOX 1
19898 if test "$wxUSE_LISTCTRL" = "yes"; then
19899 if test "$wxUSE_IMAGLIST" = "yes"; then
19900 cat >> confdefs.h
<<\EOF
19901 #define wxUSE_LISTCTRL 1
19905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
19907 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19911 if test "$wxUSE_NOTEBOOK" = "yes"; then
19912 cat >> confdefs.h
<<\EOF
19913 #define wxUSE_NOTEBOOK 1
19917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
19920 if test "$wxUSE_PROPSHEET" = "yes"; then
19921 cat >> confdefs.h
<<\EOF
19922 #define wxUSE_PROPSHEET 1
19926 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
19929 if test "$wxUSE_RADIOBOX" = "yes"; then
19930 cat >> confdefs.h
<<\EOF
19931 #define wxUSE_RADIOBOX 1
19937 if test "$wxUSE_RADIOBTN" = "yes"; then
19938 cat >> confdefs.h
<<\EOF
19939 #define wxUSE_RADIOBTN 1
19945 if test "$wxUSE_SASH" = "yes"; then
19946 cat >> confdefs.h
<<\EOF
19947 #define wxUSE_SASH 1
19950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
19953 if test "$wxUSE_SCROLLBAR" = "yes"; then
19954 cat >> confdefs.h
<<\EOF
19955 #define wxUSE_SCROLLBAR 1
19959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
19962 if test "$wxUSE_SLIDER" = "yes"; then
19963 cat >> confdefs.h
<<\EOF
19964 #define wxUSE_SLIDER 1
19970 if test "$wxUSE_SPINBTN" = "yes"; then
19971 cat >> confdefs.h
<<\EOF
19972 #define wxUSE_SPINBTN 1
19978 if test "$wxUSE_SPINCTRL" = "yes"; then
19979 cat >> confdefs.h
<<\EOF
19980 #define wxUSE_SPINCTRL 1
19986 if test "$wxUSE_SPLITTER" = "yes"; then
19987 cat >> confdefs.h
<<\EOF
19988 #define wxUSE_SPLITTER 1
19991 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
19994 if test "$wxUSE_STATBMP" = "yes"; then
19995 cat >> confdefs.h
<<\EOF
19996 #define wxUSE_STATBMP 1
20002 if test "$wxUSE_STATBOX" = "yes"; then
20003 cat >> confdefs.h
<<\EOF
20004 #define wxUSE_STATBOX 1
20010 if test "$wxUSE_STATTEXT" = "yes"; then
20011 cat >> confdefs.h
<<\EOF
20012 #define wxUSE_STATTEXT 1
20018 if test "$wxUSE_STATLINE" = "yes"; then
20019 if test "$wxUSE_WINE" = 1 ; then
20020 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20022 cat >> confdefs.h
<<\EOF
20023 #define wxUSE_STATLINE 1
20030 if test "$wxUSE_STATUSBAR" = "yes"; then
20031 cat >> confdefs.h
<<\EOF
20032 #define wxUSE_STATUSBAR 1
20037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
20040 if test "$wxUSE_TABDIALOG" = "yes"; then
20041 cat >> confdefs.h
<<\EOF
20042 #define wxUSE_TAB_DIALOG 1
20045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
20048 if test "$wxUSE_TEXTCTRL" = "yes"; then
20049 cat >> confdefs.h
<<\EOF
20050 #define wxUSE_TEXTCTRL 1
20054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
20057 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20058 if test "$wxUSE_MAC" = 1; then
20059 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20062 if test "$wxUSE_UNIVERSAL" = "yes"; then
20063 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20067 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20068 cat >> confdefs.h
<<\EOF
20069 #define wxUSE_TOGGLEBTN 1
20076 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20077 cat >> confdefs.h
<<\EOF
20078 #define wxUSE_TOOLBAR_SIMPLE 1
20081 wxUSE_TOOLBAR
="yes"
20085 if test "$wxUSE_TOOLBAR" = "yes"; then
20086 cat >> confdefs.h
<<\EOF
20087 #define wxUSE_TOOLBAR 1
20092 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20093 wxUSE_TOOLBAR_NATIVE
="yes"
20096 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20097 cat >> confdefs.h
<<\EOF
20098 #define wxUSE_TOOLBAR_NATIVE 1
20104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
20107 if test "$wxUSE_TOOLTIPS" = "yes"; then
20108 if test "$wxUSE_MOTIF" = 1; then
20109 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20111 if test "$wxUSE_WINE" = 1; then
20112 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20114 if test "$wxUSE_UNIVERSAL" = "yes"; then
20115 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20117 cat >> confdefs.h
<<\EOF
20118 #define wxUSE_TOOLTIPS 1
20126 if test "$wxUSE_TREECTRL" = "yes"; then
20127 if test "$wxUSE_IMAGLIST" = "yes"; then
20128 cat >> confdefs.h
<<\EOF
20129 #define wxUSE_TREECTRL 1
20133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20135 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20139 if test "$wxUSE_POPUPWIN" = "yes"; then
20140 if test "$wxUSE_MAC" = 1; then
20141 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20143 if test "$wxUSE_MOTIF" = 1; then
20144 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20146 if test "$wxUSE_PM" = 1; then
20147 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20149 cat >> confdefs.h
<<\EOF
20150 #define wxUSE_POPUPWIN 1
20160 if test "$wxUSE_TIPWINDOW" = "yes"; then
20161 if test "$wxUSE_PM" = 1; then
20162 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20164 cat >> confdefs.h
<<\EOF
20165 #define wxUSE_TIPWINDOW 1
20171 if test "$USES_CONTROLS" = 1; then
20172 cat >> confdefs.h
<<\EOF
20173 #define wxUSE_CONTROLS 1
20179 if test "$wxUSE_TREELAYOUT" = "yes"; then
20180 cat >> confdefs.h
<<\EOF
20181 #define wxUSE_TREELAYOUT 1
20184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20187 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20188 cat >> confdefs.h
<<\EOF
20189 #define wxUSE_DRAGIMAGE 1
20192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20195 if test "$wxUSE_MENUS" = "yes"; then
20196 cat >> confdefs.h
<<\EOF
20197 #define wxUSE_MENUS 1
20200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20203 if test "$wxUSE_METAFILE" = "yes"; then
20204 cat >> confdefs.h
<<\EOF
20205 #define wxUSE_METAFILE 1
20210 if test "$wxUSE_MIMETYPE" = "yes"; then
20211 cat >> confdefs.h
<<\EOF
20212 #define wxUSE_MIMETYPE 1
20217 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20218 cat >> confdefs.h
<<\EOF
20219 #define wxUSE_SYSTEM_OPTIONS 1
20224 if test "$wxUSE_PROTOCOL" = "yes"; then
20225 if test "$wxUSE_SOCKETS" != "yes"; then
20226 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20230 if test "$wxUSE_PROTOCOL" = "yes"; then
20231 cat >> confdefs.h
<<\EOF
20232 #define wxUSE_PROTOCOL 1
20236 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20237 cat >> confdefs.h
<<\EOF
20238 #define wxUSE_PROTOCOL_HTTP 1
20242 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20243 cat >> confdefs.h
<<\EOF
20244 #define wxUSE_PROTOCOL_FTP 1
20248 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20249 cat >> confdefs.h
<<\EOF
20250 #define wxUSE_PROTOCOL_FILE 1
20257 if test "$wxUSE_URL" = "yes"; then
20258 if test "$wxUSE_PROTOCOL" != "yes"; then
20259 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20262 if test "$wxUSE_URL" = "yes"; then
20263 cat >> confdefs.h
<<\EOF
20264 #define wxUSE_URL 1
20270 if test "$wxUSE_MINIFRAME" = "yes"; then
20271 cat >> confdefs.h
<<\EOF
20272 #define wxUSE_MINIFRAME 1
20275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20278 if test "$wxUSE_HTML" = "yes"; then
20279 cat >> confdefs.h
<<\EOF
20280 #define wxUSE_HTML 1
20283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20286 if test "$wxUSE_VALIDATORS" = "yes"; then
20287 cat >> confdefs.h
<<\EOF
20288 #define wxUSE_VALIDATORS 1
20291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20294 if test "$wxUSE_PALETTE" = "yes" ; then
20295 cat >> confdefs.h
<<\EOF
20296 #define wxUSE_PALETTE 1
20301 if test "$wxUSE_IMAGE" = "yes" ; then
20302 cat >> confdefs.h
<<\EOF
20303 #define wxUSE_IMAGE 1
20308 if test "$wxUSE_GIF" = "yes" ; then
20309 cat >> confdefs.h
<<\EOF
20310 #define wxUSE_GIF 1
20315 if test "$wxUSE_PCX" = "yes" ; then
20316 cat >> confdefs.h
<<\EOF
20317 #define wxUSE_PCX 1
20322 if test "$wxUSE_IFF" = "yes" ; then
20323 cat >> confdefs.h
<<\EOF
20324 #define wxUSE_IFF 1
20329 if test "$wxUSE_PNM" = "yes" ; then
20330 cat >> confdefs.h
<<\EOF
20331 #define wxUSE_PNM 1
20336 if test "$wxUSE_XPM" = "yes" ; then
20337 cat >> confdefs.h
<<\EOF
20338 #define wxUSE_XPM 1
20343 if test "$wxUSE_ICO_CUR" = "yes" ; then
20344 cat >> confdefs.h
<<\EOF
20345 #define wxUSE_ICO_CUR 1
20350 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20351 LIBS
=" -lunicows $LIBS"
20355 if test "$wxUSE_CHOICEDLG" = "yes"; then
20356 cat >> confdefs.h
<<\EOF
20357 #define wxUSE_CHOICEDLG 1
20362 if test "$wxUSE_COLOURDLG" = "yes"; then
20363 cat >> confdefs.h
<<\EOF
20364 #define wxUSE_COLOURDLG 1
20369 if test "$wxUSE_FILEDLG" = "yes"; then
20370 cat >> confdefs.h
<<\EOF
20371 #define wxUSE_FILEDLG 1
20376 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20377 cat >> confdefs.h
<<\EOF
20378 #define wxUSE_FINDREPLDLG 1
20383 if test "$wxUSE_FONTDLG" = "yes"; then
20384 cat >> confdefs.h
<<\EOF
20385 #define wxUSE_FONTDLG 1
20390 if test "$wxUSE_DIRDLG" = "yes"; then
20391 if test "$wxUSE_TREECTRL" != "yes"; then
20392 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20394 cat >> confdefs.h
<<\EOF
20395 #define wxUSE_DIRDLG 1
20401 if test "$wxUSE_MSGDLG" = "yes"; then
20402 cat >> confdefs.h
<<\EOF
20403 #define wxUSE_MSGDLG 1
20408 if test "$wxUSE_NUMBERDLG" = "yes"; then
20409 cat >> confdefs.h
<<\EOF
20410 #define wxUSE_NUMBERDLG 1
20415 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20416 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20417 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20419 cat >> confdefs.h
<<\EOF
20420 #define wxUSE_PROGRESSDLG 1
20426 if test "$wxUSE_SPLASH" = "yes"; then
20427 cat >> confdefs.h
<<\EOF
20428 #define wxUSE_SPLASH 1
20433 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20434 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20435 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20437 cat >> confdefs.h
<<\EOF
20438 #define wxUSE_STARTUP_TIPS 1
20444 if test "$wxUSE_TEXTDLG" = "yes"; then
20445 cat >> confdefs.h
<<\EOF
20446 #define wxUSE_TEXTDLG 1
20451 if test "$wxUSE_WIZARDDLG" = "yes"; then
20452 cat >> confdefs.h
<<\EOF
20453 #define wxUSE_WIZARDDLG 1
20456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20460 if test "$cross_compiling" = "yes"; then
20463 OSINFO
=`uname -s -r -m`
20464 OSINFO
="\"$OSINFO\""
20467 cat >> confdefs.h
<<EOF
20468 #define WXWIN_OS_DESCRIPTION $OSINFO
20473 if test "x$prefix" != "xNONE"; then
20476 wxPREFIX
=$ac_default_prefix
20479 cat >> confdefs.h
<<EOF
20480 #define wxINSTALL_PREFIX "$wxPREFIX"
20487 if test "$wxUSE_MAC" = 1 ; then
20488 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20492 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20494 if test "$wxUSE_GUI" = "yes"; then
20496 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
20500 drawing dynamic erase event exec font image \
20501 minimal richedit rotate widgets"
20503 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20505 SAMPLES_SUBDIRS
="console"
20509 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
20510 -I\${top_srcdir}/include \
20511 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
20514 if test "$wxUSE_GTK" = 1; then
20517 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20520 if test "$GXX" = yes ; then
20521 CXXWARNINGS
="-Wall"
20523 if test "$wxUSE_NO_DEPS" = "no" ; then
20524 CFLAGS
="-MMD $CFLAGS"
20525 CXXFLAGS
="-MMD $CXXFLAGS"
20529 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20531 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20532 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20533 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
20535 LDFLAGS
="$LDFLAGS $PROFILE"
20537 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20627 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20628 echo "configure:20629: checking whether ${MAKE-make} sets \${MAKE}" >&5
20629 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20630 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20631 echo $ac_n "(cached) $ac_c" 1>&6
20633 cat > conftestmake
<<\EOF
20635 @
echo 'ac_maketemp="${MAKE}"'
20637 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20638 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20639 if test -n "$ac_maketemp"; then
20640 eval ac_cv_prog_make_
${ac_make}_set
=yes
20642 eval ac_cv_prog_make_
${ac_make}_set
=no
20646 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20647 echo "$ac_t""yes" 1>&6
20650 echo "$ac_t""no" 1>&6
20651 SET_MAKE
="MAKE=${MAKE-make}"
20655 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20656 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20661 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20662 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20663 wx_cv_path_ifs
=$PATH_IFS
20664 wx_cv_program_ext
=$PROGRAM_EXT
20665 wx_cv_target_library
=$WX_TARGET_LIBRARY
20666 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20667 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20668 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20669 wx_cv_path_ifs wx_cv_program_ext \
20670 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20672 subdirs
="demos samples utils contrib"
20676 cat > confcache
<<\EOF
20677 # This file is a shell script that caches the results of configure
20678 # tests run on this system so they can be shared between configure
20679 # scripts and configure runs. It is not useful on other systems.
20680 # If it contains results you don't want to keep, you may remove or edit it.
20682 # By default, configure uses ./config.cache as the cache file,
20683 # creating it if it does not exist already. You can give configure
20684 # the --cache-file=FILE option to use a different cache file; that is
20685 # what configure does when it calls configure scripts in
20686 # subdirectories, so they share the cache.
20687 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20688 # config.status only pays attention to the cache file if you give it the
20689 # --recheck option to rerun configure.
20692 # The following way of writing the cache mishandles newlines in values,
20693 # but we know of no workaround that is simple, portable, and efficient.
20694 # So, don't put newlines in cache variables' values.
20695 # Ultrix sh set writes to stderr and can't be redirected directly,
20696 # and sets the high bit in the cache file unless we assign to the vars.
20698 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20700 # `set' does not quote correctly, so add quotes (double-quote substitution
20701 # turns \\\\ into \\, and sed turns \\ into \).
20703 -e "s/'/'\\\\''/g" \
20704 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20707 # `set' quotes correctly as required by POSIX, so do not add quotes.
20708 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20711 if cmp -s $cache_file confcache
; then
20714 if test -w $cache_file; then
20715 echo "updating cache $cache_file"
20716 cat confcache
> $cache_file
20718 echo "not updating unwritable cache $cache_file"
20723 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20725 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20726 # Let make expand exec_prefix.
20727 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20729 # Any assignment to VPATH causes Sun make to only execute
20730 # the first set of double-colon rules, so remove it if not needed.
20731 # If there is a colon in the path, we need to keep it.
20732 if test "x$srcdir" = x.
; then
20733 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20736 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20738 DEFS
=-DHAVE_CONFIG_H
20740 # Without the "./", some shells look in PATH for config.status.
20741 : ${CONFIG_STATUS=./config.status}
20743 echo creating
$CONFIG_STATUS
20744 rm -f $CONFIG_STATUS
20745 cat > $CONFIG_STATUS <<EOF
20747 # Generated automatically by configure.
20748 # Run this file to recreate the current configuration.
20749 # This directory was configured as follows,
20750 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20752 # $0 $ac_configure_args
20754 # Compiler output produced by configure, useful for debugging
20755 # configure, is in ./config.log if it exists.
20757 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20760 case "\$ac_option" in
20761 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20762 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20763 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20764 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20765 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20767 -help | --help | --hel | --he | --h)
20768 echo "\$ac_cs_usage"; exit 0 ;;
20769 *) echo "\$ac_cs_usage"; exit 1 ;;
20773 ac_given_srcdir=$srcdir
20774 ac_given_INSTALL="$INSTALL"
20776 trap 'rm -fr `echo "
20782 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20784 cat >> $CONFIG_STATUS <<EOF
20786 # Protect against being on the right side of a sed subst in config.status.
20787 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20788 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20792 s%@CFLAGS@%$CFLAGS%g
20793 s%@CPPFLAGS@%$CPPFLAGS%g
20794 s%@CXXFLAGS@%$CXXFLAGS%g
20795 s%@FFLAGS@%$FFLAGS%g
20797 s%@LDFLAGS@%$LDFLAGS%g
20799 s%@exec_prefix@%$exec_prefix%g
20800 s%@prefix@%$prefix%g
20801 s%@program_transform_name@%$program_transform_name%g
20802 s%@bindir@%$bindir%g
20803 s%@sbindir@%$sbindir%g
20804 s%@libexecdir@%$libexecdir%g
20805 s%@datadir@%$datadir%g
20806 s%@sysconfdir@%$sysconfdir%g
20807 s%@sharedstatedir@%$sharedstatedir%g
20808 s%@localstatedir@%$localstatedir%g
20809 s%@libdir@%$libdir%g
20810 s%@includedir@%$includedir%g
20811 s%@oldincludedir@%$oldincludedir%g
20812 s%@infodir@%$infodir%g
20813 s%@mandir@%$mandir%g
20815 s%@host_alias@%$host_alias%g
20816 s%@host_cpu@%$host_cpu%g
20817 s%@host_vendor@%$host_vendor%g
20818 s%@host_os@%$host_os%g
20819 s%@target@%$target%g
20820 s%@target_alias@%$target_alias%g
20821 s%@target_cpu@%$target_cpu%g
20822 s%@target_vendor@%$target_vendor%g
20823 s%@target_os@%$target_os%g
20825 s%@build_alias@%$build_alias%g
20826 s%@build_cpu@%$build_cpu%g
20827 s%@build_vendor@%$build_vendor%g
20828 s%@build_os@%$build_os%g
20832 s%@RANLIB@%$RANLIB%g
20834 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20835 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20836 s%@INSTALL_DATA@%$INSTALL_DATA%g
20838 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20841 s%@LEXLIB@%$LEXLIB%g
20843 s%@CXXCPP@%$CXXCPP%g
20844 s%@PKG_CONFIG@%$PKG_CONFIG%g
20845 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20846 s%@GTK_LIBS@%$GTK_LIBS%g
20847 s%@GTK_CONFIG@%$GTK_CONFIG%g
20848 s%@X_CFLAGS@%$X_CFLAGS%g
20849 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20850 s%@X_LIBS@%$X_LIBS%g
20851 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20852 s%@RESCOMP@%$RESCOMP%g
20854 s%@LIBICONV@%$LIBICONV%g
20855 s%@LEX_STEM@%$LEX_STEM%g
20856 s%@PATH_IFS@%$PATH_IFS%g
20857 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20858 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20859 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20860 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20861 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20862 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20863 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20864 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20865 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20866 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20867 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20868 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20869 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20870 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20871 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20872 s%@WX_ALL@%$WX_ALL%g
20873 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20874 s%@SHARED_LD@%$SHARED_LD%g
20875 s%@PIC_FLAG@%$PIC_FLAG%g
20876 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20877 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20878 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20879 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20880 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20881 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20882 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20883 s%@USE_GUI@%$USE_GUI%g
20884 s%@AFMINSTALL@%$AFMINSTALL%g
20885 s%@TOOLKIT@%$TOOLKIT%g
20886 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20887 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20888 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20889 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20890 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20891 s%@cross_compiling@%$cross_compiling%g
20892 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20893 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20894 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20895 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20896 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20897 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20898 s%@ALL_HEADERS@%$ALL_HEADERS%g
20899 s%@ALL_SOURCES@%$ALL_SOURCES%g
20900 s%@GUIDIST@%$GUIDIST%g
20901 s%@PORT_FILES@%$PORT_FILES%g
20902 s%@DISTDIR@%$DISTDIR%g
20903 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20904 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20905 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
20906 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20907 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20908 s%@EXTRADEFS@%$EXTRADEFS%g
20909 s%@RESFLAGS@%$RESFLAGS%g
20910 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20911 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
20912 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
20913 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
20914 s%@LIBWXMACRES@%$LIBWXMACRES%g
20915 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20916 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20917 s%@DLLTOOL@%$DLLTOOL%g
20921 s%@MAKEINFO@%$MAKEINFO%g
20922 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20923 s%@SET_MAKE@%$SET_MAKE%g
20924 s%@subdirs@%$subdirs%g
20929 cat >> $CONFIG_STATUS <<\EOF
20931 # Split the substitutions into bite-sized pieces for seds with
20932 # small command number limits, like on Digital OSF/1 and HP-UX.
20933 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
20934 ac_file
=1 # Number of current file.
20935 ac_beg
=1 # First line for current file.
20936 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
20939 while $ac_more_lines; do
20940 if test $ac_beg -gt 1; then
20941 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
20943 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
20945 if test ! -s conftest.s
$ac_file; then
20946 ac_more_lines
=false
20947 rm -f conftest.s
$ac_file
20949 if test -z "$ac_sed_cmds"; then
20950 ac_sed_cmds
="sed -f conftest.s$ac_file"
20952 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
20954 ac_file
=`expr $ac_file + 1`
20956 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
20959 if test -z "$ac_sed_cmds"; then
20964 cat >> $CONFIG_STATUS <<EOF
20966 CONFIG_FILES=\${CONFIG_FILES-"wx-config
20973 cat >> $CONFIG_STATUS <<\EOF
20974 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
20975 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20977 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20978 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20979 *) ac_file_in
="${ac_file}.in" ;;
20982 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20984 # Remove last slash and all that follows it. Not all systems have dirname.
20985 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20986 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
20987 # The file is in a subdirectory.
20988 test ! -d "$ac_dir" && mkdir "$ac_dir"
20989 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
20990 # A "../" for each directory in $ac_dir_suffix.
20991 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20993 ac_dir_suffix
= ac_dots
=
20996 case "$ac_given_srcdir" in
20998 if test -z "$ac_dots"; then top_srcdir
=.
20999 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21000 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
21001 *) # Relative path.
21002 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21003 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21006 case "$ac_given_INSTALL" in
21007 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
21008 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
21011 echo creating
"$ac_file"
21013 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21015 *Makefile
*) ac_comsub
="1i\\
21016 # $configure_input" ;;
21020 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21022 s%@configure_input@%$configure_input%g
21023 s%@srcdir@%$srcdir%g
21024 s%@top_srcdir@%$top_srcdir%g
21025 s%@INSTALL@%$INSTALL%g
21026 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21030 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21031 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21033 # ac_d sets the value in "#define NAME VALUE" lines.
21034 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21035 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
21038 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21039 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21040 ac_uB
='\([ ]\)%\1#\2define\3'
21043 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21044 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21045 ac_eB
='$%\1#\2define\3'
21049 if test "${CONFIG_HEADERS+set}" != set; then
21051 cat >> $CONFIG_STATUS <<EOF
21052 CONFIG_HEADERS="setup.h:setup.h.in"
21054 cat >> $CONFIG_STATUS <<\EOF
21056 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21057 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21059 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21060 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21061 *) ac_file_in
="${ac_file}.in" ;;
21064 echo creating
$ac_file
21066 rm -f conftest.frag conftest.
in conftest.out
21067 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21068 cat $ac_file_inputs > conftest.
in
21072 # Transform confdefs.h into a sed script conftest.vals that substitutes
21073 # the proper values into config.h.in to produce config.h. And first:
21074 # Protect against being on the right side of a sed subst in config.status.
21075 # Protect against being in an unquoted here document in config.status.
21076 rm -f conftest.vals
21077 cat > conftest.hdr
<<\EOF
21080 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21084 sed -n -f conftest.hdr confdefs.h > conftest.vals
21087 # This sed command replaces #undef with comments. This is necessary, for
21088 # example, in the case of _POSIX_SOURCE, which is predefined and required
21089 # on some systems where configure will not decide to define it.
21090 cat >> conftest.vals <<\EOF
21091 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21094 # Break up conftest.vals because some shells have a limit on
21095 # the size of here documents, and old seds have small limits too.
21097 rm -f conftest.tail
21100 ac_lines=`grep -c . conftest.vals
`
21101 # grep -c gives empty output for an empty file on some AIX systems.
21102 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21103 # Write a limited-size here document to conftest.frag.
21104 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21105 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21107 sed -f conftest.frag conftest.in > conftest.out
21109 mv conftest.out conftest.in
21110 ' >> $CONFIG_STATUS
21111 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21112 rm -f conftest.vals
21113 mv conftest.tail conftest.vals
21115 rm -f conftest.vals
21117 cat >> $CONFIG_STATUS <<\EOF
21118 rm -f conftest.frag conftest.h
21119 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21120 cat conftest.in >> conftest.h
21122 if cmp -s $ac_file conftest.h 2>/dev/null; then
21123 echo "$ac_file is unchanged"
21126 # Remove last slash and all that follows it. Not all systems have dirname.
21127 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21128 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21129 # The file is in a subdirectory.
21130 test ! -d "$ac_dir" && mkdir "$ac_dir"
21133 mv conftest.h $ac_file
21138 cat >> $CONFIG_STATUS <<EOF
21140 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21145 cat >> $CONFIG_STATUS <<\EOF
21147 if test ! -h wx-config; then
21149 mv wx-config wx${TOOLCHAIN_NAME}-config
21150 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21153 if test ! -d lib; then
21156 if test ! -d lib/wx; then
21159 if test ! -d lib/wx/include; then
21160 mkdir lib/wx/include
21162 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21163 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21165 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21166 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21168 if test -f setup.h; then
21169 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21174 chmod +x $CONFIG_STATUS
21175 rm -fr confdefs* $ac_clean_files
21176 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21178 if test "$no_recursion" != yes; then
21180 # Remove --cache-file and --srcdir arguments so they do not pile up.
21181 ac_sub_configure_args=
21183 for ac_arg in $ac_configure_args; do
21184 if test -n "$ac_prev"; then
21189 -cache-file | --cache-file | --cache-fil | --cache-fi \
21190 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21191 ac_prev=cache_file ;;
21192 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21193 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21195 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21197 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21199 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21203 for ac_config_dir in demos samples utils contrib; do
21205 # Do not complain, so a configure script can configure whichever
21206 # parts of a large source tree are present.
21207 if test ! -d $srcdir/$ac_config_dir; then
21211 echo configuring in $ac_config_dir
21216 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21218 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21226 # A "../" for each directory in /$ac_config_dir.
21227 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21230 .) # No --srcdir option. We are building in place.
21231 ac_sub_srcdir=$srcdir ;;
21232 /*) # Absolute path.
21233 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21234 *) # Relative path.
21235 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21238 # Check for guested configure; otherwise get Cygnus style configure.
21239 if test -f $ac_sub_srcdir/configure; then
21240 ac_sub_configure=$ac_sub_srcdir/configure
21241 elif test -f $ac_sub_srcdir/configure.in; then
21242 ac_sub_configure=$ac_configure
21244 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21248 # The recursion is here.
21249 if test -n "$ac_sub_configure"; then
21251 # Make the cache file name correct relative to the subdirectory.
21252 case "$cache_file" in
21253 /*) ac_sub_cache_file=$cache_file ;;
21254 *) # Relative path.
21255 ac_sub_cache_file="$ac_dots$cache_file" ;;
21257 case "$ac_given_INSTALL" in
21258 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21259 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21262 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21263 # The eval makes quoting arguments work.
21264 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21267 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }