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
1295 cat >> confdefs.h
<<\EOF
1299 cat >> confdefs.h
<<\EOF
1303 cat >> confdefs.h
<<\EOF
1307 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1310 *-*-cygwin* | *-*-mingw32* )
1314 cat >> confdefs.h
<<\EOF
1318 cat >> confdefs.h
<<\EOF
1322 cat >> confdefs.h
<<\EOF
1323 #define __WINDOWS__ 1
1326 cat >> confdefs.h
<<\EOF
1327 #define __GNUWIN32__ 1
1330 cat >> confdefs.h
<<\EOF
1334 cat >> confdefs.h
<<\EOF
1335 #define WINVER 0x0400
1340 DEFAULT_DEFAULT_wxUSE_MSW
=1
1346 cat >> confdefs.h
<<\EOF
1351 DEFAULT_DEFAULT_wxUSE_MGL
=1
1354 *-pc-os2_emx | *-pc-os2-emx )
1355 cat >> confdefs.h
<<\EOF
1360 DEFAULT_DEFAULT_wxUSE_PM
=1
1361 LIBS
="$LIBS -lstdcpp"
1368 cat >> confdefs.h
<<\EOF
1372 cat >> confdefs.h
<<\EOF
1373 #define __DARWIN__ 1
1376 cat >> confdefs.h
<<\EOF
1377 #define __POWERPC__ 1
1380 DEFAULT_DEFAULT_wxUSE_MAC
=1
1385 cat >> confdefs.h
<<\EOF
1392 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1395 if test "$USE_UNIX" = 1 ; then
1397 cat >> confdefs.h
<<\EOF
1406 wx_arg_cache_file
="configarg.cache"
1407 echo "loading argument cache $wx_arg_cache_file"
1408 rm -f ${wx_arg_cache_file}.tmp
1409 touch ${wx_arg_cache_file}.tmp
1410 touch ${wx_arg_cache_file}
1414 if test $DEBUG_CONFIGURE = 1; then
1415 DEFAULT_wxUSE_UNIVERSAL
=no
1417 DEFAULT_wxUSE_NANOX
=no
1419 DEFAULT_wxUSE_THREADS
=yes
1421 DEFAULT_wxUSE_SHARED
=yes
1422 DEFAULT_wxUSE_SONAME
=no
1423 DEFAULT_wxUSE_OPTIMISE
=no
1424 DEFAULT_wxUSE_PROFILE
=no
1425 DEFAULT_wxUSE_NO_DEPS
=no
1426 DEFAULT_wxUSE_NO_RTTI
=no
1427 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1428 DEFAULT_wxUSE_PERMISSIVE
=no
1429 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1430 DEFAULT_wxUSE_DEBUG_INFO
=yes
1431 DEFAULT_wxUSE_DEBUG_GDB
=yes
1432 DEFAULT_wxUSE_MEM_TRACING
=no
1433 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1434 DEFAULT_wxUSE_DMALLOC
=no
1435 DEFAULT_wxUSE_PRECOMP
=no
1436 DEFAULT_wxUSE_APPLE_IEEE
=no
1438 DEFAULT_wxUSE_LOG
=yes
1439 DEFAULT_wxUSE_LOGWINDOW
=no
1440 DEFAULT_wxUSE_LOGGUI
=no
1441 DEFAULT_wxUSE_LOGDIALOG
=no
1443 DEFAULT_wxUSE_GUI
=yes
1444 DEFAULT_wxUSE_CONTROLS
=no
1446 DEFAULT_wxUSE_REGEX
=no
1447 DEFAULT_wxUSE_ZLIB
=no
1448 DEFAULT_wxUSE_LIBPNG
=no
1449 DEFAULT_wxUSE_LIBJPEG
=no
1450 DEFAULT_wxUSE_LIBTIFF
=no
1451 DEFAULT_wxUSE_ODBC
=no
1452 DEFAULT_wxUSE_OPENGL
=no
1454 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1455 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1456 DEFAULT_wxUSE_STD_IOSTREAM
=no
1457 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1458 DEFAULT_wxUSE_DATETIME
=no
1459 DEFAULT_wxUSE_TIMEDATE
=no
1460 DEFAULT_wxUSE_TIMER
=no
1461 DEFAULT_wxUSE_STOPWATCH
=no
1462 DEFAULT_wxUSE_FILE
=no
1463 DEFAULT_wxUSE_FFILE
=no
1464 DEFAULT_wxUSE_TEXTBUFFER
=no
1465 DEFAULT_wxUSE_TEXTFILE
=no
1466 DEFAULT_wxUSE_WAVE
=no
1467 DEFAULT_wxUSE_INTL
=no
1468 DEFAULT_wxUSE_CONFIG
=no
1469 DEFAULT_wxUSE_FONTMAP
=no
1470 DEFAULT_wxUSE_STREAMS
=no
1471 DEFAULT_wxUSE_SOCKETS
=no
1472 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1473 DEFAULT_wxUSE_JOYSTICK
=no
1474 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1475 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1476 DEFAULT_wxUSE_LONGLONG
=no
1477 DEFAULT_wxUSE_GEOMETRY
=no
1479 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1480 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1481 DEFAULT_wxUSE_POSTSCRIPT
=no
1483 DEFAULT_wxUSE_X_RESOURCES
=no
1484 DEFAULT_wxUSE_CLIPBOARD
=no
1485 DEFAULT_wxUSE_TOOLTIPS
=no
1486 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1487 DEFAULT_wxUSE_DRAGIMAGE
=no
1488 DEFAULT_wxUSE_SPLINES
=no
1490 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1491 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1492 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1494 DEFAULT_wxUSE_PROLOGIO
=no
1495 DEFAULT_wxUSE_RESOURCES
=no
1496 DEFAULT_wxUSE_CONSTRAINTS
=no
1497 DEFAULT_wxUSE_IPC
=no
1498 DEFAULT_wxUSE_HELP
=no
1499 DEFAULT_wxUSE_MS_HTML_HELP
=no
1500 DEFAULT_wxUSE_WXHTML_HELP
=no
1501 DEFAULT_wxUSE_TREELAYOUT
=no
1502 DEFAULT_wxUSE_METAFILE
=no
1503 DEFAULT_wxUSE_MIMETYPE
=no
1504 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1505 DEFAULT_wxUSE_PROTOCOL
=no
1506 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1507 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1508 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1509 DEFAULT_wxUSE_URL
=no
1511 DEFAULT_wxUSE_COMMONDLGS
=no
1512 DEFAULT_wxUSE_CHOICEDLG
=no
1513 DEFAULT_wxUSE_COLOURDLG
=no
1514 DEFAULT_wxUSE_DIRDLG
=no
1515 DEFAULT_wxUSE_FILEDLG
=no
1516 DEFAULT_wxUSE_FINDREPLDLG
=no
1517 DEFAULT_wxUSE_FONTDLG
=no
1518 DEFAULT_wxUSE_MSGDLG
=no
1519 DEFAULT_wxUSE_NUMBERDLG
=no
1520 DEFAULT_wxUSE_TEXTDLG
=no
1521 DEFAULT_wxUSE_SPLASH
=no
1522 DEFAULT_wxUSE_STARTUP_TIPS
=no
1523 DEFAULT_wxUSE_PROGRESSDLG
=no
1524 DEFAULT_wxUSE_WIZARDDLG
=no
1526 DEFAULT_wxUSE_MENUS
=no
1527 DEFAULT_wxUSE_MINIFRAME
=no
1528 DEFAULT_wxUSE_HTML
=no
1529 DEFAULT_wxUSE_FILESYSTEM
=no
1530 DEFAULT_wxUSE_FS_INET
=no
1531 DEFAULT_wxUSE_FS_ZIP
=no
1532 DEFAULT_wxUSE_BUSYINFO
=no
1533 DEFAULT_wxUSE_ZIPSTREAM
=no
1534 DEFAULT_wxUSE_VALIDATORS
=no
1536 DEFAULT_wxUSE_ACCEL
=no
1537 DEFAULT_wxUSE_BUTTON
=no
1538 DEFAULT_wxUSE_BMPBUTTON
=no
1539 DEFAULT_wxUSE_CALCTRL
=no
1540 DEFAULT_wxUSE_CARET
=no
1541 DEFAULT_wxUSE_CHECKBOX
=no
1542 DEFAULT_wxUSE_CHECKLST
=no
1543 DEFAULT_wxUSE_CHOICE
=no
1544 DEFAULT_wxUSE_COMBOBOX
=no
1545 DEFAULT_wxUSE_GAUGE
=no
1546 DEFAULT_wxUSE_GRID
=no
1547 DEFAULT_wxUSE_NEW_GRID
=no
1548 DEFAULT_wxUSE_IMAGLIST
=no
1549 DEFAULT_wxUSE_LISTBOX
=no
1550 DEFAULT_wxUSE_LISTCTRL
=no
1551 DEFAULT_wxUSE_NOTEBOOK
=no
1552 DEFAULT_wxUSE_PROPSHEET
=no
1553 DEFAULT_wxUSE_RADIOBOX
=no
1554 DEFAULT_wxUSE_RADIOBTN
=no
1555 DEFAULT_wxUSE_SASH
=no
1556 DEFAULT_wxUSE_SCROLLBAR
=no
1557 DEFAULT_wxUSE_SLIDER
=no
1558 DEFAULT_wxUSE_SPINBTN
=no
1559 DEFAULT_wxUSE_SPINCTRL
=no
1560 DEFAULT_wxUSE_SPLITTER
=no
1561 DEFAULT_wxUSE_STATBMP
=no
1562 DEFAULT_wxUSE_STATBOX
=no
1563 DEFAULT_wxUSE_STATLINE
=no
1564 DEFAULT_wxUSE_STATTEXT
=no
1565 DEFAULT_wxUSE_STATUSBAR
=yes
1566 DEFAULT_wxUSE_TABDIALOG
=no
1567 DEFAULT_wxUSE_TEXTCTRL
=no
1568 DEFAULT_wxUSE_TOGGLEBTN
=no
1569 DEFAULT_wxUSE_TOOLBAR
=no
1570 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1571 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1572 DEFAULT_wxUSE_TREECTRL
=no
1573 DEFAULT_wxUSE_POPUPWIN
=no
1574 DEFAULT_wxUSE_TIPWINDOW
=no
1576 DEFAULT_wxUSE_UNICODE
=no
1577 DEFAULT_wxUSE_UNICODE_MSLU
=no
1578 DEFAULT_wxUSE_WCSRTOMBS
=no
1580 DEFAULT_wxUSE_PALETTE
=no
1581 DEFAULT_wxUSE_IMAGE
=no
1582 DEFAULT_wxUSE_GIF
=no
1583 DEFAULT_wxUSE_PCX
=no
1584 DEFAULT_wxUSE_PNM
=no
1585 DEFAULT_wxUSE_IFF
=no
1586 DEFAULT_wxUSE_XPM
=no
1587 DEFAULT_wxUSE_ICO_CUR
=no
1589 DEFAULT_wxUSE_UNIVERSAL
=no
1591 DEFAULT_wxUSE_NANOX
=no
1593 DEFAULT_wxUSE_THREADS
=yes
1595 DEFAULT_wxUSE_SHARED
=yes
1596 DEFAULT_wxUSE_SONAME
=no
1597 DEFAULT_wxUSE_OPTIMISE
=yes
1598 DEFAULT_wxUSE_PROFILE
=no
1599 DEFAULT_wxUSE_NO_DEPS
=no
1600 DEFAULT_wxUSE_NO_RTTI
=no
1601 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1602 DEFAULT_wxUSE_PERMISSIVE
=no
1603 DEFAULT_wxUSE_DEBUG_FLAG
=no
1604 DEFAULT_wxUSE_DEBUG_INFO
=no
1605 DEFAULT_wxUSE_DEBUG_GDB
=no
1606 DEFAULT_wxUSE_MEM_TRACING
=no
1607 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1608 DEFAULT_wxUSE_DMALLOC
=no
1609 DEFAULT_wxUSE_PRECOMP
=no
1610 DEFAULT_wxUSE_APPLE_IEEE
=yes
1612 DEFAULT_wxUSE_LOG
=yes
1613 DEFAULT_wxUSE_LOGWINDOW
=yes
1614 DEFAULT_wxUSE_LOGGUI
=yes
1615 DEFAULT_wxUSE_LOGDIALOG
=yes
1617 DEFAULT_wxUSE_GUI
=yes
1619 DEFAULT_wxUSE_REGEX
=yes
1620 DEFAULT_wxUSE_ZLIB
=yes
1621 DEFAULT_wxUSE_LIBPNG
=yes
1622 DEFAULT_wxUSE_LIBJPEG
=yes
1623 DEFAULT_wxUSE_LIBTIFF
=yes
1624 DEFAULT_wxUSE_ODBC
=no
1625 DEFAULT_wxUSE_OPENGL
=no
1627 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1628 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1629 DEFAULT_wxUSE_STD_IOSTREAM
=no
1630 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1631 DEFAULT_wxUSE_DATETIME
=yes
1632 DEFAULT_wxUSE_TIMEDATE
=no
1633 DEFAULT_wxUSE_TIMER
=yes
1634 DEFAULT_wxUSE_STOPWATCH
=yes
1635 DEFAULT_wxUSE_FILE
=yes
1636 DEFAULT_wxUSE_FFILE
=yes
1637 DEFAULT_wxUSE_TEXTBUFFER
=yes
1638 DEFAULT_wxUSE_TEXTFILE
=yes
1639 DEFAULT_wxUSE_WAVE
=no
1640 DEFAULT_wxUSE_INTL
=yes
1641 DEFAULT_wxUSE_CONFIG
=yes
1642 DEFAULT_wxUSE_FONTMAP
=yes
1643 DEFAULT_wxUSE_STREAMS
=yes
1644 DEFAULT_wxUSE_SOCKETS
=yes
1645 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1646 DEFAULT_wxUSE_JOYSTICK
=yes
1647 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1648 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1649 DEFAULT_wxUSE_LONGLONG
=yes
1650 DEFAULT_wxUSE_GEOMETRY
=yes
1652 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1653 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1654 DEFAULT_wxUSE_POSTSCRIPT
=yes
1656 DEFAULT_wxUSE_X_RESOURCES
=no
1657 DEFAULT_wxUSE_CLIPBOARD
=yes
1658 DEFAULT_wxUSE_TOOLTIPS
=yes
1659 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1660 DEFAULT_wxUSE_DRAGIMAGE
=yes
1661 DEFAULT_wxUSE_SPLINES
=yes
1663 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1664 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1665 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1667 DEFAULT_wxUSE_PROLOGIO
=yes
1668 DEFAULT_wxUSE_RESOURCES
=yes
1669 DEFAULT_wxUSE_CONSTRAINTS
=yes
1670 DEFAULT_wxUSE_IPC
=yes
1671 DEFAULT_wxUSE_HELP
=yes
1672 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1673 DEFAULT_wxUSE_WXHTML_HELP
=yes
1674 DEFAULT_wxUSE_TREELAYOUT
=yes
1675 DEFAULT_wxUSE_METAFILE
=yes
1676 DEFAULT_wxUSE_MIMETYPE
=yes
1677 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1678 DEFAULT_wxUSE_PROTOCOL
=yes
1679 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1680 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1681 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1682 DEFAULT_wxUSE_URL
=yes
1684 DEFAULT_wxUSE_COMMONDLGS
=yes
1685 DEFAULT_wxUSE_CHOICEDLG
=yes
1686 DEFAULT_wxUSE_COLOURDLG
=yes
1687 DEFAULT_wxUSE_DIRDLG
=yes
1688 DEFAULT_wxUSE_FILEDLG
=yes
1689 DEFAULT_wxUSE_FINDREPLDLG
=yes
1690 DEFAULT_wxUSE_FONTDLG
=yes
1691 DEFAULT_wxUSE_MSGDLG
=yes
1692 DEFAULT_wxUSE_NUMBERDLG
=yes
1693 DEFAULT_wxUSE_TEXTDLG
=yes
1694 DEFAULT_wxUSE_SPLASH
=yes
1695 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1696 DEFAULT_wxUSE_PROGRESSDLG
=yes
1697 DEFAULT_wxUSE_WIZARDDLG
=yes
1699 DEFAULT_wxUSE_MENUS
=yes
1700 DEFAULT_wxUSE_MINIFRAME
=yes
1701 DEFAULT_wxUSE_HTML
=yes
1702 DEFAULT_wxUSE_FILESYSTEM
=yes
1703 DEFAULT_wxUSE_FS_INET
=yes
1704 DEFAULT_wxUSE_FS_ZIP
=yes
1705 DEFAULT_wxUSE_BUSYINFO
=yes
1706 DEFAULT_wxUSE_ZIPSTREAM
=yes
1707 DEFAULT_wxUSE_VALIDATORS
=yes
1709 DEFAULT_wxUSE_ACCEL
=yes
1710 DEFAULT_wxUSE_BUTTON
=yes
1711 DEFAULT_wxUSE_BMPBUTTON
=yes
1712 DEFAULT_wxUSE_CALCTRL
=yes
1713 DEFAULT_wxUSE_CARET
=yes
1714 DEFAULT_wxUSE_CHECKBOX
=yes
1715 DEFAULT_wxUSE_CHECKLST
=yes
1716 DEFAULT_wxUSE_CHOICE
=yes
1717 DEFAULT_wxUSE_COMBOBOX
=yes
1718 DEFAULT_wxUSE_GAUGE
=yes
1719 DEFAULT_wxUSE_GRID
=yes
1720 DEFAULT_wxUSE_NEW_GRID
=yes
1721 DEFAULT_wxUSE_IMAGLIST
=yes
1722 DEFAULT_wxUSE_LISTBOX
=yes
1723 DEFAULT_wxUSE_LISTCTRL
=yes
1724 DEFAULT_wxUSE_NOTEBOOK
=yes
1725 DEFAULT_wxUSE_PROPSHEET
=yes
1726 DEFAULT_wxUSE_RADIOBOX
=yes
1727 DEFAULT_wxUSE_RADIOBTN
=yes
1728 DEFAULT_wxUSE_SASH
=yes
1729 DEFAULT_wxUSE_SCROLLBAR
=yes
1730 DEFAULT_wxUSE_SLIDER
=yes
1731 DEFAULT_wxUSE_SPINBTN
=yes
1732 DEFAULT_wxUSE_SPINCTRL
=yes
1733 DEFAULT_wxUSE_SPLITTER
=yes
1734 DEFAULT_wxUSE_STATBMP
=yes
1735 DEFAULT_wxUSE_STATBOX
=yes
1736 DEFAULT_wxUSE_STATLINE
=yes
1737 DEFAULT_wxUSE_STATTEXT
=yes
1738 DEFAULT_wxUSE_STATUSBAR
=yes
1739 DEFAULT_wxUSE_TABDIALOG
=no
1740 DEFAULT_wxUSE_TEXTCTRL
=yes
1741 DEFAULT_wxUSE_TOGGLEBTN
=yes
1742 DEFAULT_wxUSE_TOOLBAR
=yes
1743 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1744 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1745 DEFAULT_wxUSE_TREECTRL
=yes
1746 DEFAULT_wxUSE_POPUPWIN
=yes
1747 DEFAULT_wxUSE_TIPWINDOW
=yes
1749 DEFAULT_wxUSE_UNICODE
=no
1750 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1751 DEFAULT_wxUSE_WCSRTOMBS
=no
1753 DEFAULT_wxUSE_PALETTE
=yes
1754 DEFAULT_wxUSE_IMAGE
=yes
1755 DEFAULT_wxUSE_GIF
=yes
1756 DEFAULT_wxUSE_PCX
=yes
1757 DEFAULT_wxUSE_IFF
=no
1758 DEFAULT_wxUSE_PNM
=yes
1759 DEFAULT_wxUSE_XPM
=yes
1760 DEFAULT_wxUSE_ICO_CUR
=yes
1765 for toolkit
in `echo $ALL_TOOLKITS`; do
1766 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1767 if test "x$LINE" != x
; then
1768 has_toolkit_in_cache
=1
1769 eval "DEFAULT_$LINE"
1770 eval "CACHE_$toolkit=1"
1776 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1777 echo "configure:1778: checking for --enable-gui" >&5
1779 # Check whether --enable-gui or --disable-gui was given.
1780 if test "${enable_gui+set}" = set; then
1781 enableval
="$enable_gui"
1783 if test "$enableval" = yes; then
1784 ac_cv_use_gui
='wxUSE_GUI=yes'
1786 ac_cv_use_gui
='wxUSE_GUI=no'
1791 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1792 if test "x$LINE" != x
; then
1793 eval "DEFAULT_$LINE"
1798 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1803 eval "$ac_cv_use_gui"
1804 if test "$no_cache" != 1; then
1805 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1808 if test "$wxUSE_GUI" = yes; then
1809 echo "$ac_t""yes" 1>&6
1811 echo "$ac_t""no" 1>&6
1815 if test "$wxUSE_GUI" = "yes"; then
1818 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1819 echo "configure:1820: checking for --enable-universal" >&5
1821 # Check whether --enable-universal or --disable-universal was given.
1822 if test "${enable_universal+set}" = set; then
1823 enableval
="$enable_universal"
1825 if test "$enableval" = yes; then
1826 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1828 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1833 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1834 if test "x$LINE" != x
; then
1835 eval "DEFAULT_$LINE"
1840 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1845 eval "$ac_cv_use_universal"
1846 if test "$no_cache" != 1; then
1847 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1850 if test "$wxUSE_UNIVERSAL" = yes; then
1851 echo "$ac_t""yes" 1>&6
1853 echo "$ac_t""no" 1>&6
1856 # Check whether --with-gtk or --without-gtk was given.
1857 if test "${with_gtk+set}" = set; then
1859 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1862 # Check whether --with-motif or --without-motif was given.
1863 if test "${with_motif+set}" = set; then
1864 withval
="$with_motif"
1865 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1868 # Check whether --with-mac or --without-mac was given.
1869 if test "${with_mac+set}" = set; then
1871 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1874 # Check whether --with-wine or --without-wine was given.
1875 if test "${with_wine+set}" = set; then
1876 withval
="$with_wine"
1877 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1880 # Check whether --with-msw or --without-msw was given.
1881 if test "${with_msw+set}" = set; then
1883 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1886 # Check whether --with-pm or --without-pm was given.
1887 if test "${with_pm+set}" = set; then
1889 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1892 # Check whether --with-mgl or --without-mgl was given.
1893 if test "${with_mgl+set}" = set; then
1895 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1898 # Check whether --with-microwin or --without-microwin was given.
1899 if test "${with_microwin+set}" = set; then
1900 withval
="$with_microwin"
1901 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1904 # Check whether --with-x11 or --without-x11 was given.
1905 if test "${with_x11+set}" = set; then
1907 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1911 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1912 echo "configure:1913: checking for --enable-nanox" >&5
1914 # Check whether --enable-nanox or --disable-nanox was given.
1915 if test "${enable_nanox+set}" = set; then
1916 enableval
="$enable_nanox"
1918 if test "$enableval" = yes; then
1919 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1921 ac_cv_use_nanox
='wxUSE_NANOX=no'
1926 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1927 if test "x$LINE" != x
; then
1928 eval "DEFAULT_$LINE"
1933 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1938 eval "$ac_cv_use_nanox"
1939 if test "$no_cache" != 1; then
1940 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1943 if test "$wxUSE_NANOX" = yes; then
1944 echo "$ac_t""yes" 1>&6
1946 echo "$ac_t""no" 1>&6
1950 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1951 if test "${enable_gtk2+set}" = set; then
1952 enableval
="$enable_gtk2"
1960 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1961 echo "configure:1962: checking for --with-libpng" >&5
1963 # Check whether --with-libpng or --without-libpng was given.
1964 if test "${with_libpng+set}" = set; then
1965 withval
="$with_libpng"
1967 if test "$withval" = yes; then
1968 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1969 elif test "$withval" = no
; then
1970 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1971 elif test "$withval" = sys
; then
1972 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1973 elif test "$withval" = builtin; then
1974 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1976 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1981 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1982 if test "x$LINE" != x
; then
1983 eval "DEFAULT_$LINE"
1988 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1993 eval "$ac_cv_use_libpng"
1994 if test "$no_cache" != 1; then
1995 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1998 if test "$wxUSE_LIBPNG" = yes; then
1999 echo "$ac_t""yes" 1>&6
2000 elif test "$wxUSE_LIBPNG" = no
; then
2001 echo "$ac_t""no" 1>&6
2002 elif test "$wxUSE_LIBPNG" = sys
; then
2003 echo "$ac_t""system version" 1>&6
2004 elif test "$wxUSE_LIBPNG" = builtin; then
2005 echo "$ac_t""builtin version" 1>&6
2007 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2011 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2012 echo "configure:2013: checking for --with-libjpeg" >&5
2014 # Check whether --with-libjpeg or --without-libjpeg was given.
2015 if test "${with_libjpeg+set}" = set; then
2016 withval
="$with_libjpeg"
2018 if test "$withval" = yes; then
2019 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2020 elif test "$withval" = no
; then
2021 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2022 elif test "$withval" = sys
; then
2023 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2024 elif test "$withval" = builtin; then
2025 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2027 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2032 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2033 if test "x$LINE" != x
; then
2034 eval "DEFAULT_$LINE"
2039 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2044 eval "$ac_cv_use_libjpeg"
2045 if test "$no_cache" != 1; then
2046 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2049 if test "$wxUSE_LIBJPEG" = yes; then
2050 echo "$ac_t""yes" 1>&6
2051 elif test "$wxUSE_LIBJPEG" = no
; then
2052 echo "$ac_t""no" 1>&6
2053 elif test "$wxUSE_LIBJPEG" = sys
; then
2054 echo "$ac_t""system version" 1>&6
2055 elif test "$wxUSE_LIBJPEG" = builtin; then
2056 echo "$ac_t""builtin version" 1>&6
2058 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2062 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2063 echo "configure:2064: checking for --with-libtiff" >&5
2065 # Check whether --with-libtiff or --without-libtiff was given.
2066 if test "${with_libtiff+set}" = set; then
2067 withval
="$with_libtiff"
2069 if test "$withval" = yes; then
2070 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2071 elif test "$withval" = no
; then
2072 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2073 elif test "$withval" = sys
; then
2074 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2075 elif test "$withval" = builtin; then
2076 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2078 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2083 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2084 if test "x$LINE" != x
; then
2085 eval "DEFAULT_$LINE"
2090 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2095 eval "$ac_cv_use_libtiff"
2096 if test "$no_cache" != 1; then
2097 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2100 if test "$wxUSE_LIBTIFF" = yes; then
2101 echo "$ac_t""yes" 1>&6
2102 elif test "$wxUSE_LIBTIFF" = no
; then
2103 echo "$ac_t""no" 1>&6
2104 elif test "$wxUSE_LIBTIFF" = sys
; then
2105 echo "$ac_t""system version" 1>&6
2106 elif test "$wxUSE_LIBTIFF" = builtin; then
2107 echo "$ac_t""builtin version" 1>&6
2109 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2113 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2114 echo "configure:2115: checking for --with-opengl" >&5
2116 # Check whether --with-opengl or --without-opengl was given.
2117 if test "${with_opengl+set}" = set; then
2118 withval
="$with_opengl"
2120 if test "$withval" = yes; then
2121 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2123 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2128 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2129 if test "x$LINE" != x
; then
2130 eval "DEFAULT_$LINE"
2135 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2140 eval "$ac_cv_use_opengl"
2141 if test "$no_cache" != 1; then
2142 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2145 if test "$wxUSE_OPENGL" = yes; then
2146 echo "$ac_t""yes" 1>&6
2148 echo "$ac_t""no" 1>&6
2155 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2156 echo "configure:2157: checking for --with-dmalloc" >&5
2158 # Check whether --with-dmalloc or --without-dmalloc was given.
2159 if test "${with_dmalloc+set}" = set; then
2160 withval
="$with_dmalloc"
2162 if test "$withval" = yes; then
2163 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2165 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2170 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2171 if test "x$LINE" != x
; then
2172 eval "DEFAULT_$LINE"
2177 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2182 eval "$ac_cv_use_dmalloc"
2183 if test "$no_cache" != 1; then
2184 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2187 if test "$wxUSE_DMALLOC" = yes; then
2188 echo "$ac_t""yes" 1>&6
2190 echo "$ac_t""no" 1>&6
2194 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2195 echo "configure:2196: checking for --with-regex" >&5
2197 # Check whether --with-regex or --without-regex was given.
2198 if test "${with_regex+set}" = set; then
2199 withval
="$with_regex"
2201 if test "$withval" = yes; then
2202 ac_cv_use_regex
='wxUSE_REGEX=yes'
2203 elif test "$withval" = no
; then
2204 ac_cv_use_regex
='wxUSE_REGEX=no'
2205 elif test "$withval" = sys
; then
2206 ac_cv_use_regex
='wxUSE_REGEX=sys'
2207 elif test "$withval" = builtin; then
2208 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2210 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2215 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2216 if test "x$LINE" != x
; then
2217 eval "DEFAULT_$LINE"
2222 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2227 eval "$ac_cv_use_regex"
2228 if test "$no_cache" != 1; then
2229 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2232 if test "$wxUSE_REGEX" = yes; then
2233 echo "$ac_t""yes" 1>&6
2234 elif test "$wxUSE_REGEX" = no
; then
2235 echo "$ac_t""no" 1>&6
2236 elif test "$wxUSE_REGEX" = sys
; then
2237 echo "$ac_t""system version" 1>&6
2238 elif test "$wxUSE_REGEX" = builtin; then
2239 echo "$ac_t""builtin version" 1>&6
2241 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2245 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2246 echo "configure:2247: checking for --with-zlib" >&5
2248 # Check whether --with-zlib or --without-zlib was given.
2249 if test "${with_zlib+set}" = set; then
2250 withval
="$with_zlib"
2252 if test "$withval" = yes; then
2253 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2254 elif test "$withval" = no
; then
2255 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2256 elif test "$withval" = sys
; then
2257 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2258 elif test "$withval" = builtin; then
2259 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2261 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2266 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2267 if test "x$LINE" != x
; then
2268 eval "DEFAULT_$LINE"
2273 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2278 eval "$ac_cv_use_zlib"
2279 if test "$no_cache" != 1; then
2280 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2283 if test "$wxUSE_ZLIB" = yes; then
2284 echo "$ac_t""yes" 1>&6
2285 elif test "$wxUSE_ZLIB" = no
; then
2286 echo "$ac_t""no" 1>&6
2287 elif test "$wxUSE_ZLIB" = sys
; then
2288 echo "$ac_t""system version" 1>&6
2289 elif test "$wxUSE_ZLIB" = builtin; then
2290 echo "$ac_t""builtin version" 1>&6
2292 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2296 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2297 echo "configure:2298: checking for --with-odbc" >&5
2299 # Check whether --with-odbc or --without-odbc was given.
2300 if test "${with_odbc+set}" = set; then
2301 withval
="$with_odbc"
2303 if test "$withval" = yes; then
2304 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2306 ac_cv_use_odbc
='wxUSE_ODBC=no'
2311 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2312 if test "x$LINE" != x
; then
2313 eval "DEFAULT_$LINE"
2318 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2323 eval "$ac_cv_use_odbc"
2324 if test "$no_cache" != 1; then
2325 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2328 if test "$wxUSE_ODBC" = yes; then
2329 echo "$ac_t""yes" 1>&6
2331 echo "$ac_t""no" 1>&6
2337 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2338 echo "configure:2339: checking for --enable-shared" >&5
2340 # Check whether --enable-shared or --disable-shared was given.
2341 if test "${enable_shared+set}" = set; then
2342 enableval
="$enable_shared"
2344 if test "$enableval" = yes; then
2345 ac_cv_use_shared
='wxUSE_SHARED=yes'
2347 ac_cv_use_shared
='wxUSE_SHARED=no'
2352 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2353 if test "x$LINE" != x
; then
2354 eval "DEFAULT_$LINE"
2359 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2364 eval "$ac_cv_use_shared"
2365 if test "$no_cache" != 1; then
2366 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2369 if test "$wxUSE_SHARED" = yes; then
2370 echo "$ac_t""yes" 1>&6
2372 echo "$ac_t""no" 1>&6
2376 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2377 echo "configure:2378: checking for --enable-soname" >&5
2379 # Check whether --enable-soname or --disable-soname was given.
2380 if test "${enable_soname+set}" = set; then
2381 enableval
="$enable_soname"
2383 if test "$enableval" = yes; then
2384 ac_cv_use_soname
='wxUSE_SONAME=yes'
2386 ac_cv_use_soname
='wxUSE_SONAME=no'
2391 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2392 if test "x$LINE" != x
; then
2393 eval "DEFAULT_$LINE"
2398 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2403 eval "$ac_cv_use_soname"
2404 if test "$no_cache" != 1; then
2405 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2408 if test "$wxUSE_SONAME" = yes; then
2409 echo "$ac_t""yes" 1>&6
2411 echo "$ac_t""no" 1>&6
2415 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2416 echo "configure:2417: checking for --enable-optimise" >&5
2418 # Check whether --enable-optimise or --disable-optimise was given.
2419 if test "${enable_optimise+set}" = set; then
2420 enableval
="$enable_optimise"
2422 if test "$enableval" = yes; then
2423 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2425 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2430 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2431 if test "x$LINE" != x
; then
2432 eval "DEFAULT_$LINE"
2437 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2442 eval "$ac_cv_use_optimise"
2443 if test "$no_cache" != 1; then
2444 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2447 if test "$wxUSE_OPTIMISE" = yes; then
2448 echo "$ac_t""yes" 1>&6
2450 echo "$ac_t""no" 1>&6
2454 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2455 echo "configure:2456: checking for --enable-debug" >&5
2457 # Check whether --enable-debug or --disable-debug was given.
2458 if test "${enable_debug+set}" = set; then
2459 enableval
="$enable_debug"
2461 if test "$enableval" = yes; then
2462 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2464 ac_cv_use_debug
='wxUSE_DEBUG=no'
2469 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2470 if test "x$LINE" != x
; then
2471 eval "DEFAULT_$LINE"
2476 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2481 eval "$ac_cv_use_debug"
2482 if test "$no_cache" != 1; then
2483 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2486 if test "$wxUSE_DEBUG" = yes; then
2487 echo "$ac_t""yes" 1>&6
2489 echo "$ac_t""no" 1>&6
2494 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2495 echo "configure:2496: checking for --enable-precomp" >&5
2497 # Check whether --enable-precomp or --disable-precomp was given.
2498 if test "${enable_precomp+set}" = set; then
2499 enableval
="$enable_precomp"
2501 if test "$enableval" = yes; then
2502 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2504 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2509 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2510 if test "x$LINE" != x
; then
2511 eval "DEFAULT_$LINE"
2516 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2521 eval "$ac_cv_use_precomp"
2522 if test "$no_cache" != 1; then
2523 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2526 if test "$wxUSE_PRECOMP" = yes; then
2527 echo "$ac_t""yes" 1>&6
2529 echo "$ac_t""no" 1>&6
2533 if test "$wxUSE_DEBUG" = "yes"; then
2534 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2535 DEFAULT_wxUSE_DEBUG_INFO
=yes
2536 elif test "$wxUSE_DEBUG" = "no"; then
2537 DEFAULT_wxUSE_DEBUG_FLAG
=no
2538 DEFAULT_wxUSE_DEBUG_INFO
=no
2542 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2543 echo "configure:2544: checking for --enable-debug_flag" >&5
2545 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2546 if test "${enable_debug_flag+set}" = set; then
2547 enableval
="$enable_debug_flag"
2549 if test "$enableval" = yes; then
2550 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2552 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2557 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2558 if test "x$LINE" != x
; then
2559 eval "DEFAULT_$LINE"
2564 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2569 eval "$ac_cv_use_debug_flag"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2574 if test "$wxUSE_DEBUG_FLAG" = yes; then
2575 echo "$ac_t""yes" 1>&6
2577 echo "$ac_t""no" 1>&6
2581 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2582 echo "configure:2583: checking for --enable-debug_info" >&5
2584 # Check whether --enable-debug_info or --disable-debug_info was given.
2585 if test "${enable_debug_info+set}" = set; then
2586 enableval
="$enable_debug_info"
2588 if test "$enableval" = yes; then
2589 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2591 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2596 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2597 if test "x$LINE" != x
; then
2598 eval "DEFAULT_$LINE"
2603 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2608 eval "$ac_cv_use_debug_info"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2613 if test "$wxUSE_DEBUG_INFO" = yes; then
2614 echo "$ac_t""yes" 1>&6
2616 echo "$ac_t""no" 1>&6
2620 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2621 echo "configure:2622: checking for --enable-debug_gdb" >&5
2623 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2624 if test "${enable_debug_gdb+set}" = set; then
2625 enableval
="$enable_debug_gdb"
2627 if test "$enableval" = yes; then
2628 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2630 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2635 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2636 if test "x$LINE" != x
; then
2637 eval "DEFAULT_$LINE"
2642 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2647 eval "$ac_cv_use_debug_gdb"
2648 if test "$no_cache" != 1; then
2649 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2652 if test "$wxUSE_DEBUG_GDB" = yes; then
2653 echo "$ac_t""yes" 1>&6
2655 echo "$ac_t""no" 1>&6
2659 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2660 echo "configure:2661: checking for --enable-debug_cntxt" >&5
2662 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2663 if test "${enable_debug_cntxt+set}" = set; then
2664 enableval
="$enable_debug_cntxt"
2666 if test "$enableval" = yes; then
2667 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2669 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2674 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2675 if test "x$LINE" != x
; then
2676 eval "DEFAULT_$LINE"
2681 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2686 eval "$ac_cv_use_debug_cntxt"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2691 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2692 echo "$ac_t""yes" 1>&6
2694 echo "$ac_t""no" 1>&6
2698 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2699 echo "configure:2700: checking for --enable-mem_tracing" >&5
2701 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2702 if test "${enable_mem_tracing+set}" = set; then
2703 enableval
="$enable_mem_tracing"
2705 if test "$enableval" = yes; then
2706 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2708 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2713 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2714 if test "x$LINE" != x
; then
2715 eval "DEFAULT_$LINE"
2720 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2725 eval "$ac_cv_use_mem_tracing"
2726 if test "$no_cache" != 1; then
2727 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2730 if test "$wxUSE_MEM_TRACING" = yes; then
2731 echo "$ac_t""yes" 1>&6
2733 echo "$ac_t""no" 1>&6
2737 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2738 echo "configure:2739: checking for --enable-profile" >&5
2740 # Check whether --enable-profile or --disable-profile was given.
2741 if test "${enable_profile+set}" = set; then
2742 enableval
="$enable_profile"
2744 if test "$enableval" = yes; then
2745 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2747 ac_cv_use_profile
='wxUSE_PROFILE=no'
2752 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2753 if test "x$LINE" != x
; then
2754 eval "DEFAULT_$LINE"
2759 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2764 eval "$ac_cv_use_profile"
2765 if test "$no_cache" != 1; then
2766 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2769 if test "$wxUSE_PROFILE" = yes; then
2770 echo "$ac_t""yes" 1>&6
2772 echo "$ac_t""no" 1>&6
2776 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2777 echo "configure:2778: checking for --enable-no_rtti" >&5
2779 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2780 if test "${enable_no_rtti+set}" = set; then
2781 enableval
="$enable_no_rtti"
2783 if test "$enableval" = yes; then
2784 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2786 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2791 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2792 if test "x$LINE" != x
; then
2793 eval "DEFAULT_$LINE"
2798 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2803 eval "$ac_cv_use_no_rtti"
2804 if test "$no_cache" != 1; then
2805 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2808 if test "$wxUSE_NO_RTTI" = yes; then
2809 echo "$ac_t""yes" 1>&6
2811 echo "$ac_t""no" 1>&6
2815 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2816 echo "configure:2817: checking for --enable-no_exceptions" >&5
2818 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2819 if test "${enable_no_exceptions+set}" = set; then
2820 enableval
="$enable_no_exceptions"
2822 if test "$enableval" = yes; then
2823 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2825 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2830 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2831 if test "x$LINE" != x
; then
2832 eval "DEFAULT_$LINE"
2837 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2842 eval "$ac_cv_use_no_exceptions"
2843 if test "$no_cache" != 1; then
2844 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2847 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2848 echo "$ac_t""yes" 1>&6
2850 echo "$ac_t""no" 1>&6
2854 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2855 echo "configure:2856: checking for --enable-permissive" >&5
2857 # Check whether --enable-permissive or --disable-permissive was given.
2858 if test "${enable_permissive+set}" = set; then
2859 enableval
="$enable_permissive"
2861 if test "$enableval" = yes; then
2862 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2864 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2869 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x
; then
2871 eval "DEFAULT_$LINE"
2876 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2881 eval "$ac_cv_use_permissive"
2882 if test "$no_cache" != 1; then
2883 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2886 if test "$wxUSE_PERMISSIVE" = yes; then
2887 echo "$ac_t""yes" 1>&6
2889 echo "$ac_t""no" 1>&6
2893 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2894 echo "configure:2895: checking for --enable-no_deps" >&5
2896 # Check whether --enable-no_deps or --disable-no_deps was given.
2897 if test "${enable_no_deps+set}" = set; then
2898 enableval
="$enable_no_deps"
2900 if test "$enableval" = yes; then
2901 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2903 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2908 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2909 if test "x$LINE" != x
; then
2910 eval "DEFAULT_$LINE"
2915 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2920 eval "$ac_cv_use_no_deps"
2921 if test "$no_cache" != 1; then
2922 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2925 if test "$wxUSE_NO_DEPS" = yes; then
2926 echo "$ac_t""yes" 1>&6
2928 echo "$ac_t""no" 1>&6
2933 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2934 echo "configure:2935: checking for --enable-compat20" >&5
2936 # Check whether --enable-compat20 or --disable-compat20 was given.
2937 if test "${enable_compat20+set}" = set; then
2938 enableval
="$enable_compat20"
2940 if test "$enableval" = yes; then
2941 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2943 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2948 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2949 if test "x$LINE" != x
; then
2950 eval "DEFAULT_$LINE"
2955 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2960 eval "$ac_cv_use_compat20"
2961 if test "$no_cache" != 1; then
2962 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2965 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2966 echo "$ac_t""yes" 1>&6
2968 echo "$ac_t""no" 1>&6
2972 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2973 echo "configure:2974: checking for --enable-compat22" >&5
2975 # Check whether --enable-compat22 or --disable-compat22 was given.
2976 if test "${enable_compat22+set}" = set; then
2977 enableval
="$enable_compat22"
2979 if test "$enableval" = yes; then
2980 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2982 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2987 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2988 if test "x$LINE" != x
; then
2989 eval "DEFAULT_$LINE"
2994 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2999 eval "$ac_cv_use_compat22"
3000 if test "$no_cache" != 1; then
3001 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3004 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3005 echo "$ac_t""yes" 1>&6
3007 echo "$ac_t""no" 1>&6
3013 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3014 echo "configure:3015: checking for --enable-intl" >&5
3016 # Check whether --enable-intl or --disable-intl was given.
3017 if test "${enable_intl+set}" = set; then
3018 enableval
="$enable_intl"
3020 if test "$enableval" = yes; then
3021 ac_cv_use_intl
='wxUSE_INTL=yes'
3023 ac_cv_use_intl
='wxUSE_INTL=no'
3028 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3029 if test "x$LINE" != x
; then
3030 eval "DEFAULT_$LINE"
3035 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3040 eval "$ac_cv_use_intl"
3041 if test "$no_cache" != 1; then
3042 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3045 if test "$wxUSE_INTL" = yes; then
3046 echo "$ac_t""yes" 1>&6
3048 echo "$ac_t""no" 1>&6
3052 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3053 echo "configure:3054: checking for --enable-config" >&5
3055 # Check whether --enable-config or --disable-config was given.
3056 if test "${enable_config+set}" = set; then
3057 enableval
="$enable_config"
3059 if test "$enableval" = yes; then
3060 ac_cv_use_config
='wxUSE_CONFIG=yes'
3062 ac_cv_use_config
='wxUSE_CONFIG=no'
3067 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3068 if test "x$LINE" != x
; then
3069 eval "DEFAULT_$LINE"
3074 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3079 eval "$ac_cv_use_config"
3080 if test "$no_cache" != 1; then
3081 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3084 if test "$wxUSE_CONFIG" = yes; then
3085 echo "$ac_t""yes" 1>&6
3087 echo "$ac_t""no" 1>&6
3092 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3093 echo "configure:3094: checking for --enable-protocols" >&5
3095 # Check whether --enable-protocols or --disable-protocols was given.
3096 if test "${enable_protocols+set}" = set; then
3097 enableval
="$enable_protocols"
3099 if test "$enableval" = yes; then
3100 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3102 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3107 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x
; then
3109 eval "DEFAULT_$LINE"
3114 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3119 eval "$ac_cv_use_protocols"
3120 if test "$no_cache" != 1; then
3121 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3124 if test "$wxUSE_PROTOCOL" = yes; then
3125 echo "$ac_t""yes" 1>&6
3127 echo "$ac_t""no" 1>&6
3131 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3132 echo "configure:3133: checking for --enable-ftp" >&5
3134 # Check whether --enable-ftp or --disable-ftp was given.
3135 if test "${enable_ftp+set}" = set; then
3136 enableval
="$enable_ftp"
3138 if test "$enableval" = yes; then
3139 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3141 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3146 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3147 if test "x$LINE" != x
; then
3148 eval "DEFAULT_$LINE"
3153 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3158 eval "$ac_cv_use_ftp"
3159 if test "$no_cache" != 1; then
3160 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3163 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3164 echo "$ac_t""yes" 1>&6
3166 echo "$ac_t""no" 1>&6
3170 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3171 echo "configure:3172: checking for --enable-http" >&5
3173 # Check whether --enable-http or --disable-http was given.
3174 if test "${enable_http+set}" = set; then
3175 enableval
="$enable_http"
3177 if test "$enableval" = yes; then
3178 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3180 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3185 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x
; then
3187 eval "DEFAULT_$LINE"
3192 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3197 eval "$ac_cv_use_http"
3198 if test "$no_cache" != 1; then
3199 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3202 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3203 echo "$ac_t""yes" 1>&6
3205 echo "$ac_t""no" 1>&6
3209 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3210 echo "configure:3211: checking for --enable-fileproto" >&5
3212 # Check whether --enable-fileproto or --disable-fileproto was given.
3213 if test "${enable_fileproto+set}" = set; then
3214 enableval
="$enable_fileproto"
3216 if test "$enableval" = yes; then
3217 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3219 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3224 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3225 if test "x$LINE" != x
; then
3226 eval "DEFAULT_$LINE"
3231 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3236 eval "$ac_cv_use_fileproto"
3237 if test "$no_cache" != 1; then
3238 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3241 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3242 echo "$ac_t""yes" 1>&6
3244 echo "$ac_t""no" 1>&6
3248 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3249 echo "configure:3250: checking for --enable-sockets" >&5
3251 # Check whether --enable-sockets or --disable-sockets was given.
3252 if test "${enable_sockets+set}" = set; then
3253 enableval
="$enable_sockets"
3255 if test "$enableval" = yes; then
3256 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3258 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3263 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3264 if test "x$LINE" != x
; then
3265 eval "DEFAULT_$LINE"
3270 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3275 eval "$ac_cv_use_sockets"
3276 if test "$no_cache" != 1; then
3277 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3280 if test "$wxUSE_SOCKETS" = yes; then
3281 echo "$ac_t""yes" 1>&6
3283 echo "$ac_t""no" 1>&6
3288 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3289 echo "configure:3290: checking for --enable-ipc" >&5
3291 # Check whether --enable-ipc or --disable-ipc was given.
3292 if test "${enable_ipc+set}" = set; then
3293 enableval
="$enable_ipc"
3295 if test "$enableval" = yes; then
3296 ac_cv_use_ipc
='wxUSE_IPC=yes'
3298 ac_cv_use_ipc
='wxUSE_IPC=no'
3303 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3304 if test "x$LINE" != x
; then
3305 eval "DEFAULT_$LINE"
3310 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3315 eval "$ac_cv_use_ipc"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3320 if test "$wxUSE_IPC" = yes; then
3321 echo "$ac_t""yes" 1>&6
3323 echo "$ac_t""no" 1>&6
3328 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3329 echo "configure:3330: checking for --enable-cmdline" >&5
3331 # Check whether --enable-cmdline or --disable-cmdline was given.
3332 if test "${enable_cmdline+set}" = set; then
3333 enableval
="$enable_cmdline"
3335 if test "$enableval" = yes; then
3336 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3338 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3343 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3344 if test "x$LINE" != x
; then
3345 eval "DEFAULT_$LINE"
3350 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3355 eval "$ac_cv_use_cmdline"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3360 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3361 echo "$ac_t""yes" 1>&6
3363 echo "$ac_t""no" 1>&6
3367 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3368 echo "configure:3369: checking for --enable-datetime" >&5
3370 # Check whether --enable-datetime or --disable-datetime was given.
3371 if test "${enable_datetime+set}" = set; then
3372 enableval
="$enable_datetime"
3374 if test "$enableval" = yes; then
3375 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3377 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3382 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3383 if test "x$LINE" != x
; then
3384 eval "DEFAULT_$LINE"
3389 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3394 eval "$ac_cv_use_datetime"
3395 if test "$no_cache" != 1; then
3396 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3399 if test "$wxUSE_DATETIME" = yes; then
3400 echo "$ac_t""yes" 1>&6
3402 echo "$ac_t""no" 1>&6
3406 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3407 echo "configure:3408: checking for --enable-timedate" >&5
3409 # Check whether --enable-timedate or --disable-timedate was given.
3410 if test "${enable_timedate+set}" = set; then
3411 enableval
="$enable_timedate"
3413 if test "$enableval" = yes; then
3414 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3416 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3421 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3422 if test "x$LINE" != x
; then
3423 eval "DEFAULT_$LINE"
3428 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3433 eval "$ac_cv_use_timedate"
3434 if test "$no_cache" != 1; then
3435 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3438 if test "$wxUSE_TIMEDATE" = yes; then
3439 echo "$ac_t""yes" 1>&6
3441 echo "$ac_t""no" 1>&6
3445 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3446 echo "configure:3447: checking for --enable-stopwatch" >&5
3448 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3449 if test "${enable_stopwatch+set}" = set; then
3450 enableval
="$enable_stopwatch"
3452 if test "$enableval" = yes; then
3453 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3455 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3460 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x
; then
3462 eval "DEFAULT_$LINE"
3467 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3472 eval "$ac_cv_use_stopwatch"
3473 if test "$no_cache" != 1; then
3474 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3477 if test "$wxUSE_STOPWATCH" = yes; then
3478 echo "$ac_t""yes" 1>&6
3480 echo "$ac_t""no" 1>&6
3484 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3485 echo "configure:3486: checking for --enable-dialupman" >&5
3487 # Check whether --enable-dialupman or --disable-dialupman was given.
3488 if test "${enable_dialupman+set}" = set; then
3489 enableval
="$enable_dialupman"
3491 if test "$enableval" = yes; then
3492 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3494 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3499 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x
; then
3501 eval "DEFAULT_$LINE"
3506 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3511 eval "$ac_cv_use_dialupman"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3516 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3517 echo "$ac_t""yes" 1>&6
3519 echo "$ac_t""no" 1>&6
3523 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3524 echo "configure:3525: checking for --enable-apple_ieee" >&5
3526 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3527 if test "${enable_apple_ieee+set}" = set; then
3528 enableval
="$enable_apple_ieee"
3530 if test "$enableval" = yes; then
3531 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3533 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3538 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x
; then
3540 eval "DEFAULT_$LINE"
3545 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3550 eval "$ac_cv_use_apple_ieee"
3551 if test "$no_cache" != 1; then
3552 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3555 if test "$wxUSE_APPLE_IEEE" = yes; then
3556 echo "$ac_t""yes" 1>&6
3558 echo "$ac_t""no" 1>&6
3562 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3563 echo "configure:3564: checking for --enable-timer" >&5
3565 # Check whether --enable-timer or --disable-timer was given.
3566 if test "${enable_timer+set}" = set; then
3567 enableval
="$enable_timer"
3569 if test "$enableval" = yes; then
3570 ac_cv_use_timer
='wxUSE_TIMER=yes'
3572 ac_cv_use_timer
='wxUSE_TIMER=no'
3577 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3578 if test "x$LINE" != x
; then
3579 eval "DEFAULT_$LINE"
3584 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3589 eval "$ac_cv_use_timer"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3594 if test "$wxUSE_TIMER" = yes; then
3595 echo "$ac_t""yes" 1>&6
3597 echo "$ac_t""no" 1>&6
3601 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3602 echo "configure:3603: checking for --enable-wave" >&5
3604 # Check whether --enable-wave or --disable-wave was given.
3605 if test "${enable_wave+set}" = set; then
3606 enableval
="$enable_wave"
3608 if test "$enableval" = yes; then
3609 ac_cv_use_wave
='wxUSE_WAVE=yes'
3611 ac_cv_use_wave
='wxUSE_WAVE=no'
3616 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3617 if test "x$LINE" != x
; then
3618 eval "DEFAULT_$LINE"
3623 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3628 eval "$ac_cv_use_wave"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3633 if test "$wxUSE_WAVE" = yes; then
3634 echo "$ac_t""yes" 1>&6
3636 echo "$ac_t""no" 1>&6
3640 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3641 echo "configure:3642: checking for --enable-fraction" >&5
3643 # Check whether --enable-fraction or --disable-fraction was given.
3644 if test "${enable_fraction+set}" = set; then
3645 enableval
="$enable_fraction"
3647 if test "$enableval" = yes; then
3648 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3650 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3655 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3656 if test "x$LINE" != x
; then
3657 eval "DEFAULT_$LINE"
3662 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3667 eval "$ac_cv_use_fraction"
3668 if test "$no_cache" != 1; then
3669 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3672 if test "$wxUSE_FRACTION" = yes; then
3673 echo "$ac_t""yes" 1>&6
3675 echo "$ac_t""no" 1>&6
3679 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3680 echo "configure:3681: checking for --enable-dynlib" >&5
3682 # Check whether --enable-dynlib or --disable-dynlib was given.
3683 if test "${enable_dynlib+set}" = set; then
3684 enableval
="$enable_dynlib"
3686 if test "$enableval" = yes; then
3687 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3689 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3694 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3695 if test "x$LINE" != x
; then
3696 eval "DEFAULT_$LINE"
3701 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3706 eval "$ac_cv_use_dynlib"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3711 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3712 echo "$ac_t""yes" 1>&6
3714 echo "$ac_t""no" 1>&6
3718 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3719 echo "configure:3720: checking for --enable-dynamicloader" >&5
3721 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3722 if test "${enable_dynamicloader+set}" = set; then
3723 enableval
="$enable_dynamicloader"
3725 if test "$enableval" = yes; then
3726 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3728 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3733 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3734 if test "x$LINE" != x
; then
3735 eval "DEFAULT_$LINE"
3740 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3745 eval "$ac_cv_use_dynamicloader"
3746 if test "$no_cache" != 1; then
3747 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3750 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3751 echo "$ac_t""yes" 1>&6
3753 echo "$ac_t""no" 1>&6
3757 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3758 echo "configure:3759: checking for --enable-longlong" >&5
3760 # Check whether --enable-longlong or --disable-longlong was given.
3761 if test "${enable_longlong+set}" = set; then
3762 enableval
="$enable_longlong"
3764 if test "$enableval" = yes; then
3765 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3767 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3772 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x
; then
3774 eval "DEFAULT_$LINE"
3779 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3784 eval "$ac_cv_use_longlong"
3785 if test "$no_cache" != 1; then
3786 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3789 if test "$wxUSE_LONGLONG" = yes; then
3790 echo "$ac_t""yes" 1>&6
3792 echo "$ac_t""no" 1>&6
3796 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3797 echo "configure:3798: checking for --enable-geometry" >&5
3799 # Check whether --enable-geometry or --disable-geometry was given.
3800 if test "${enable_geometry+set}" = set; then
3801 enableval
="$enable_geometry"
3803 if test "$enableval" = yes; then
3804 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3806 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3811 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3812 if test "x$LINE" != x
; then
3813 eval "DEFAULT_$LINE"
3818 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3823 eval "$ac_cv_use_geometry"
3824 if test "$no_cache" != 1; then
3825 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3828 if test "$wxUSE_GEOMETRY" = yes; then
3829 echo "$ac_t""yes" 1>&6
3831 echo "$ac_t""no" 1>&6
3835 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3836 echo "configure:3837: checking for --enable-log" >&5
3838 # Check whether --enable-log or --disable-log was given.
3839 if test "${enable_log+set}" = set; then
3840 enableval
="$enable_log"
3842 if test "$enableval" = yes; then
3843 ac_cv_use_log
='wxUSE_LOG=yes'
3845 ac_cv_use_log
='wxUSE_LOG=no'
3850 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3851 if test "x$LINE" != x
; then
3852 eval "DEFAULT_$LINE"
3857 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3862 eval "$ac_cv_use_log"
3863 if test "$no_cache" != 1; then
3864 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3867 if test "$wxUSE_LOG" = yes; then
3868 echo "$ac_t""yes" 1>&6
3870 echo "$ac_t""no" 1>&6
3874 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3875 echo "configure:3876: checking for --enable-streams" >&5
3877 # Check whether --enable-streams or --disable-streams was given.
3878 if test "${enable_streams+set}" = set; then
3879 enableval
="$enable_streams"
3881 if test "$enableval" = yes; then
3882 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3884 ac_cv_use_streams
='wxUSE_STREAMS=no'
3889 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x
; then
3891 eval "DEFAULT_$LINE"
3896 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3901 eval "$ac_cv_use_streams"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3906 if test "$wxUSE_STREAMS" = yes; then
3907 echo "$ac_t""yes" 1>&6
3909 echo "$ac_t""no" 1>&6
3913 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3914 echo "configure:3915: checking for --enable-file" >&5
3916 # Check whether --enable-file or --disable-file was given.
3917 if test "${enable_file+set}" = set; then
3918 enableval
="$enable_file"
3920 if test "$enableval" = yes; then
3921 ac_cv_use_file
='wxUSE_FILE=yes'
3923 ac_cv_use_file
='wxUSE_FILE=no'
3928 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3929 if test "x$LINE" != x
; then
3930 eval "DEFAULT_$LINE"
3935 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3940 eval "$ac_cv_use_file"
3941 if test "$no_cache" != 1; then
3942 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3945 if test "$wxUSE_FILE" = yes; then
3946 echo "$ac_t""yes" 1>&6
3948 echo "$ac_t""no" 1>&6
3952 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3953 echo "configure:3954: checking for --enable-ffile" >&5
3955 # Check whether --enable-ffile or --disable-ffile was given.
3956 if test "${enable_ffile+set}" = set; then
3957 enableval
="$enable_ffile"
3959 if test "$enableval" = yes; then
3960 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3962 ac_cv_use_ffile
='wxUSE_FFILE=no'
3967 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x
; then
3969 eval "DEFAULT_$LINE"
3974 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3979 eval "$ac_cv_use_ffile"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3984 if test "$wxUSE_FFILE" = yes; then
3985 echo "$ac_t""yes" 1>&6
3987 echo "$ac_t""no" 1>&6
3991 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3992 echo "configure:3993: checking for --enable-textbuf" >&5
3994 # Check whether --enable-textbuf or --disable-textbuf was given.
3995 if test "${enable_textbuf+set}" = set; then
3996 enableval
="$enable_textbuf"
3998 if test "$enableval" = yes; then
3999 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4001 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4006 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x
; then
4008 eval "DEFAULT_$LINE"
4013 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4018 eval "$ac_cv_use_textbuf"
4019 if test "$no_cache" != 1; then
4020 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4023 if test "$wxUSE_TEXTBUFFER" = yes; then
4024 echo "$ac_t""yes" 1>&6
4026 echo "$ac_t""no" 1>&6
4030 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4031 echo "configure:4032: checking for --enable-textfile" >&5
4033 # Check whether --enable-textfile or --disable-textfile was given.
4034 if test "${enable_textfile+set}" = set; then
4035 enableval
="$enable_textfile"
4037 if test "$enableval" = yes; then
4038 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4040 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4045 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x
; then
4047 eval "DEFAULT_$LINE"
4052 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4057 eval "$ac_cv_use_textfile"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4062 if test "$wxUSE_TEXTFILE" = yes; then
4063 echo "$ac_t""yes" 1>&6
4065 echo "$ac_t""no" 1>&6
4069 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4070 echo "configure:4071: checking for --enable-fontmap" >&5
4072 # Check whether --enable-fontmap or --disable-fontmap was given.
4073 if test "${enable_fontmap+set}" = set; then
4074 enableval
="$enable_fontmap"
4076 if test "$enableval" = yes; then
4077 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4079 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4084 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4085 if test "x$LINE" != x
; then
4086 eval "DEFAULT_$LINE"
4091 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4096 eval "$ac_cv_use_fontmap"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4101 if test "$wxUSE_FONTMAP" = yes; then
4102 echo "$ac_t""yes" 1>&6
4104 echo "$ac_t""no" 1>&6
4108 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4109 echo "configure:4110: checking for --enable-unicode" >&5
4111 # Check whether --enable-unicode or --disable-unicode was given.
4112 if test "${enable_unicode+set}" = set; then
4113 enableval
="$enable_unicode"
4115 if test "$enableval" = yes; then
4116 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4118 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4123 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x
; then
4125 eval "DEFAULT_$LINE"
4130 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4135 eval "$ac_cv_use_unicode"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4140 if test "$wxUSE_UNICODE" = yes; then
4141 echo "$ac_t""yes" 1>&6
4143 echo "$ac_t""no" 1>&6
4147 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4148 echo "configure:4149: checking for --enable-mslu" >&5
4150 # Check whether --enable-mslu or --disable-mslu was given.
4151 if test "${enable_mslu+set}" = set; then
4152 enableval
="$enable_mslu"
4154 if test "$enableval" = yes; then
4155 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4157 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4162 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x
; then
4164 eval "DEFAULT_$LINE"
4169 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4174 eval "$ac_cv_use_mslu"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4179 if test "$wxUSE_UNICODE_MSLU" = yes; then
4180 echo "$ac_t""yes" 1>&6
4182 echo "$ac_t""no" 1>&6
4186 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4187 echo "configure:4188: checking for --enable-wxprintfv" >&5
4189 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4190 if test "${enable_wxprintfv+set}" = set; then
4191 enableval
="$enable_wxprintfv"
4193 if test "$enableval" = yes; then
4194 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4196 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4201 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x
; then
4203 eval "DEFAULT_$LINE"
4208 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4213 eval "$ac_cv_use_wxprintfv"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4218 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4219 echo "$ac_t""yes" 1>&6
4221 echo "$ac_t""no" 1>&6
4225 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4226 echo "configure:4227: checking for --enable-std_iostreams" >&5
4228 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4229 if test "${enable_std_iostreams+set}" = set; then
4230 enableval
="$enable_std_iostreams"
4232 if test "$enableval" = yes; then
4233 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4235 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4240 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4241 if test "x$LINE" != x
; then
4242 eval "DEFAULT_$LINE"
4247 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4252 eval "$ac_cv_use_std_iostreams"
4253 if test "$no_cache" != 1; then
4254 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4257 if test "$wxUSE_STD_IOSTREAM" = yes; then
4258 echo "$ac_t""yes" 1>&6
4260 echo "$ac_t""no" 1>&6
4264 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4265 echo "configure:4266: checking for --enable-filesystem" >&5
4267 # Check whether --enable-filesystem or --disable-filesystem was given.
4268 if test "${enable_filesystem+set}" = set; then
4269 enableval
="$enable_filesystem"
4271 if test "$enableval" = yes; then
4272 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4274 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4279 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4280 if test "x$LINE" != x
; then
4281 eval "DEFAULT_$LINE"
4286 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4291 eval "$ac_cv_use_filesystem"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4296 if test "$wxUSE_FILESYSTEM" = yes; then
4297 echo "$ac_t""yes" 1>&6
4299 echo "$ac_t""no" 1>&6
4303 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4304 echo "configure:4305: checking for --enable-fs_inet" >&5
4306 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4307 if test "${enable_fs_inet+set}" = set; then
4308 enableval
="$enable_fs_inet"
4310 if test "$enableval" = yes; then
4311 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4313 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4318 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4319 if test "x$LINE" != x
; then
4320 eval "DEFAULT_$LINE"
4325 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4330 eval "$ac_cv_use_fs_inet"
4331 if test "$no_cache" != 1; then
4332 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4335 if test "$wxUSE_FS_INET" = yes; then
4336 echo "$ac_t""yes" 1>&6
4338 echo "$ac_t""no" 1>&6
4342 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4343 echo "configure:4344: checking for --enable-fs_zip" >&5
4345 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4346 if test "${enable_fs_zip+set}" = set; then
4347 enableval
="$enable_fs_zip"
4349 if test "$enableval" = yes; then
4350 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4352 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4357 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x
; then
4359 eval "DEFAULT_$LINE"
4364 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4369 eval "$ac_cv_use_fs_zip"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4374 if test "$wxUSE_FS_ZIP" = yes; then
4375 echo "$ac_t""yes" 1>&6
4377 echo "$ac_t""no" 1>&6
4381 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4382 echo "configure:4383: checking for --enable-zipstream" >&5
4384 # Check whether --enable-zipstream or --disable-zipstream was given.
4385 if test "${enable_zipstream+set}" = set; then
4386 enableval
="$enable_zipstream"
4388 if test "$enableval" = yes; then
4389 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4391 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4396 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x
; then
4398 eval "DEFAULT_$LINE"
4403 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4408 eval "$ac_cv_use_zipstream"
4409 if test "$no_cache" != 1; then
4410 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4413 if test "$wxUSE_ZIPSTREAM" = yes; then
4414 echo "$ac_t""yes" 1>&6
4416 echo "$ac_t""no" 1>&6
4421 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4422 echo "configure:4423: checking for --enable-catch_segvs" >&5
4424 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4425 if test "${enable_catch_segvs+set}" = set; then
4426 enableval
="$enable_catch_segvs"
4428 if test "$enableval" = yes; then
4429 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4431 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4436 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4437 if test "x$LINE" != x
; then
4438 eval "DEFAULT_$LINE"
4443 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4448 eval "$ac_cv_use_catch_segvs"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4453 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4454 echo "$ac_t""yes" 1>&6
4456 echo "$ac_t""no" 1>&6
4460 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4461 echo "configure:4462: checking for --enable-snglinst" >&5
4463 # Check whether --enable-snglinst or --disable-snglinst was given.
4464 if test "${enable_snglinst+set}" = set; then
4465 enableval
="$enable_snglinst"
4467 if test "$enableval" = yes; then
4468 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4470 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4475 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4476 if test "x$LINE" != x
; then
4477 eval "DEFAULT_$LINE"
4482 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4487 eval "$ac_cv_use_snglinst"
4488 if test "$no_cache" != 1; then
4489 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4492 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4493 echo "$ac_t""yes" 1>&6
4495 echo "$ac_t""no" 1>&6
4500 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4501 echo "configure:4502: checking for --enable-mimetype" >&5
4503 # Check whether --enable-mimetype or --disable-mimetype was given.
4504 if test "${enable_mimetype+set}" = set; then
4505 enableval
="$enable_mimetype"
4507 if test "$enableval" = yes; then
4508 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4510 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4515 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4516 if test "x$LINE" != x
; then
4517 eval "DEFAULT_$LINE"
4522 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4527 eval "$ac_cv_use_mimetype"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4532 if test "$wxUSE_MIMETYPE" = yes; then
4533 echo "$ac_t""yes" 1>&6
4535 echo "$ac_t""no" 1>&6
4539 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4540 echo "configure:4541: checking for --enable-system_options" >&5
4542 # Check whether --enable-system_options or --disable-system_options was given.
4543 if test "${enable_system_options+set}" = set; then
4544 enableval
="$enable_system_options"
4546 if test "$enableval" = yes; then
4547 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4549 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4554 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4555 if test "x$LINE" != x
; then
4556 eval "DEFAULT_$LINE"
4561 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4566 eval "$ac_cv_use_system_options"
4567 if test "$no_cache" != 1; then
4568 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4571 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4572 echo "$ac_t""yes" 1>&6
4574 echo "$ac_t""no" 1>&6
4579 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4580 echo "configure:4581: checking for --enable-url" >&5
4582 # Check whether --enable-url or --disable-url was given.
4583 if test "${enable_url+set}" = set; then
4584 enableval
="$enable_url"
4586 if test "$enableval" = yes; then
4587 ac_cv_use_url
='wxUSE_URL=yes'
4589 ac_cv_use_url
='wxUSE_URL=no'
4594 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x
; then
4596 eval "DEFAULT_$LINE"
4601 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4606 eval "$ac_cv_use_url"
4607 if test "$no_cache" != 1; then
4608 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4611 if test "$wxUSE_URL" = yes; then
4612 echo "$ac_t""yes" 1>&6
4614 echo "$ac_t""no" 1>&6
4618 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4619 echo "configure:4620: checking for --enable-protocol" >&5
4621 # Check whether --enable-protocol or --disable-protocol was given.
4622 if test "${enable_protocol+set}" = set; then
4623 enableval
="$enable_protocol"
4625 if test "$enableval" = yes; then
4626 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4628 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4633 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x
; then
4635 eval "DEFAULT_$LINE"
4640 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4645 eval "$ac_cv_use_protocol"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4650 if test "$wxUSE_PROTOCOL" = yes; then
4651 echo "$ac_t""yes" 1>&6
4653 echo "$ac_t""no" 1>&6
4657 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4658 echo "configure:4659: checking for --enable-protocol_http" >&5
4660 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4661 if test "${enable_protocol_http+set}" = set; then
4662 enableval
="$enable_protocol_http"
4664 if test "$enableval" = yes; then
4665 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4667 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4672 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4673 if test "x$LINE" != x
; then
4674 eval "DEFAULT_$LINE"
4679 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4684 eval "$ac_cv_use_protocol_http"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4689 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4690 echo "$ac_t""yes" 1>&6
4692 echo "$ac_t""no" 1>&6
4696 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4697 echo "configure:4698: checking for --enable-protocol_ftp" >&5
4699 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4700 if test "${enable_protocol_ftp+set}" = set; then
4701 enableval
="$enable_protocol_ftp"
4703 if test "$enableval" = yes; then
4704 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4706 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4711 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x
; then
4713 eval "DEFAULT_$LINE"
4718 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4723 eval "$ac_cv_use_protocol_ftp"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4728 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4729 echo "$ac_t""yes" 1>&6
4731 echo "$ac_t""no" 1>&6
4735 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4736 echo "configure:4737: checking for --enable-protocol_file" >&5
4738 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4739 if test "${enable_protocol_file+set}" = set; then
4740 enableval
="$enable_protocol_file"
4742 if test "$enableval" = yes; then
4743 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4745 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4750 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x
; then
4752 eval "DEFAULT_$LINE"
4757 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4762 eval "$ac_cv_use_protocol_file"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4767 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4768 echo "$ac_t""yes" 1>&6
4770 echo "$ac_t""no" 1>&6
4777 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4778 echo "configure:4779: checking for --enable-threads" >&5
4780 # Check whether --enable-threads or --disable-threads was given.
4781 if test "${enable_threads+set}" = set; then
4782 enableval
="$enable_threads"
4784 if test "$enableval" = yes; then
4785 ac_cv_use_threads
='wxUSE_THREADS=yes'
4787 ac_cv_use_threads
='wxUSE_THREADS=no'
4792 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x
; then
4794 eval "DEFAULT_$LINE"
4799 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4804 eval "$ac_cv_use_threads"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4809 if test "$wxUSE_THREADS" = yes; then
4810 echo "$ac_t""yes" 1>&6
4812 echo "$ac_t""no" 1>&6
4816 if test "$wxUSE_GUI" = "yes"; then
4820 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4821 echo "configure:4822: checking for --enable-docview" >&5
4823 # Check whether --enable-docview or --disable-docview was given.
4824 if test "${enable_docview+set}" = set; then
4825 enableval
="$enable_docview"
4827 if test "$enableval" = yes; then
4828 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4830 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4835 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4836 if test "x$LINE" != x
; then
4837 eval "DEFAULT_$LINE"
4842 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4847 eval "$ac_cv_use_docview"
4848 if test "$no_cache" != 1; then
4849 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4852 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4853 echo "$ac_t""yes" 1>&6
4855 echo "$ac_t""no" 1>&6
4859 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4860 echo "configure:4861: checking for --enable-help" >&5
4862 # Check whether --enable-help or --disable-help was given.
4863 if test "${enable_help+set}" = set; then
4864 enableval
="$enable_help"
4866 if test "$enableval" = yes; then
4867 ac_cv_use_help
='wxUSE_HELP=yes'
4869 ac_cv_use_help
='wxUSE_HELP=no'
4874 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x
; then
4876 eval "DEFAULT_$LINE"
4881 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4886 eval "$ac_cv_use_help"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4891 if test "$wxUSE_HELP" = yes; then
4892 echo "$ac_t""yes" 1>&6
4894 echo "$ac_t""no" 1>&6
4898 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4899 echo "configure:4900: checking for --enable-mshtmlhelp" >&5
4901 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4902 if test "${enable_mshtmlhelp+set}" = set; then
4903 enableval
="$enable_mshtmlhelp"
4905 if test "$enableval" = yes; then
4906 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4908 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4913 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4914 if test "x$LINE" != x
; then
4915 eval "DEFAULT_$LINE"
4920 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4925 eval "$ac_cv_use_mshtmlhelp"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4930 if test "$wxUSE_MS_HTML_HELP" = yes; then
4931 echo "$ac_t""yes" 1>&6
4933 echo "$ac_t""no" 1>&6
4937 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4938 echo "configure:4939: checking for --enable-html" >&5
4940 # Check whether --enable-html or --disable-html was given.
4941 if test "${enable_html+set}" = set; then
4942 enableval
="$enable_html"
4944 if test "$enableval" = yes; then
4945 ac_cv_use_html
='wxUSE_HTML=yes'
4947 ac_cv_use_html
='wxUSE_HTML=no'
4952 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4953 if test "x$LINE" != x
; then
4954 eval "DEFAULT_$LINE"
4959 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4964 eval "$ac_cv_use_html"
4965 if test "$no_cache" != 1; then
4966 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4969 if test "$wxUSE_HTML" = yes; then
4970 echo "$ac_t""yes" 1>&6
4972 echo "$ac_t""no" 1>&6
4976 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4977 echo "configure:4978: checking for --enable-htmlhelp" >&5
4979 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4980 if test "${enable_htmlhelp+set}" = set; then
4981 enableval
="$enable_htmlhelp"
4983 if test "$enableval" = yes; then
4984 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4986 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4991 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4992 if test "x$LINE" != x
; then
4993 eval "DEFAULT_$LINE"
4998 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5003 eval "$ac_cv_use_htmlhelp"
5004 if test "$no_cache" != 1; then
5005 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5008 if test "$wxUSE_WXHTML_HELP" = yes; then
5009 echo "$ac_t""yes" 1>&6
5011 echo "$ac_t""no" 1>&6
5015 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5016 echo "configure:5017: checking for --enable-constraints" >&5
5018 # Check whether --enable-constraints or --disable-constraints was given.
5019 if test "${enable_constraints+set}" = set; then
5020 enableval
="$enable_constraints"
5022 if test "$enableval" = yes; then
5023 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5025 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5030 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5031 if test "x$LINE" != x
; then
5032 eval "DEFAULT_$LINE"
5037 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5042 eval "$ac_cv_use_constraints"
5043 if test "$no_cache" != 1; then
5044 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5047 if test "$wxUSE_CONSTRAINTS" = yes; then
5048 echo "$ac_t""yes" 1>&6
5050 echo "$ac_t""no" 1>&6
5054 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5055 echo "configure:5056: checking for --enable-printarch" >&5
5057 # Check whether --enable-printarch or --disable-printarch was given.
5058 if test "${enable_printarch+set}" = set; then
5059 enableval
="$enable_printarch"
5061 if test "$enableval" = yes; then
5062 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5064 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5069 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5070 if test "x$LINE" != x
; then
5071 eval "DEFAULT_$LINE"
5076 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5081 eval "$ac_cv_use_printarch"
5082 if test "$no_cache" != 1; then
5083 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5086 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5087 echo "$ac_t""yes" 1>&6
5089 echo "$ac_t""no" 1>&6
5093 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5094 echo "configure:5095: checking for --enable-mdi" >&5
5096 # Check whether --enable-mdi or --disable-mdi was given.
5097 if test "${enable_mdi+set}" = set; then
5098 enableval
="$enable_mdi"
5100 if test "$enableval" = yes; then
5101 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5103 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5108 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5109 if test "x$LINE" != x
; then
5110 eval "DEFAULT_$LINE"
5115 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5120 eval "$ac_cv_use_mdi"
5121 if test "$no_cache" != 1; then
5122 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5125 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5126 echo "$ac_t""yes" 1>&6
5128 echo "$ac_t""no" 1>&6
5132 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5133 echo "configure:5134: checking for --enable-loggui" >&5
5135 # Check whether --enable-loggui or --disable-loggui was given.
5136 if test "${enable_loggui+set}" = set; then
5137 enableval
="$enable_loggui"
5139 if test "$enableval" = yes; then
5140 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5142 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5147 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x
; then
5149 eval "DEFAULT_$LINE"
5154 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5159 eval "$ac_cv_use_loggui"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5164 if test "$wxUSE_LOGGUI" = yes; then
5165 echo "$ac_t""yes" 1>&6
5167 echo "$ac_t""no" 1>&6
5171 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5172 echo "configure:5173: checking for --enable-logwin" >&5
5174 # Check whether --enable-logwin or --disable-logwin was given.
5175 if test "${enable_logwin+set}" = set; then
5176 enableval
="$enable_logwin"
5178 if test "$enableval" = yes; then
5179 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5181 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5186 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x
; then
5188 eval "DEFAULT_$LINE"
5193 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5198 eval "$ac_cv_use_logwin"
5199 if test "$no_cache" != 1; then
5200 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5203 if test "$wxUSE_LOGWINDOW" = yes; then
5204 echo "$ac_t""yes" 1>&6
5206 echo "$ac_t""no" 1>&6
5210 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5211 echo "configure:5212: checking for --enable-logdialog" >&5
5213 # Check whether --enable-logdialog or --disable-logdialog was given.
5214 if test "${enable_logdialog+set}" = set; then
5215 enableval
="$enable_logdialog"
5217 if test "$enableval" = yes; then
5218 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5220 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5225 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5226 if test "x$LINE" != x
; then
5227 eval "DEFAULT_$LINE"
5232 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5237 eval "$ac_cv_use_logdialog"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5242 if test "$wxUSE_LOGDIALOG" = yes; then
5243 echo "$ac_t""yes" 1>&6
5245 echo "$ac_t""no" 1>&6
5250 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5251 echo "configure:5252: checking for --enable-postscript" >&5
5253 # Check whether --enable-postscript or --disable-postscript was given.
5254 if test "${enable_postscript+set}" = set; then
5255 enableval
="$enable_postscript"
5257 if test "$enableval" = yes; then
5258 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5260 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5265 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x
; then
5267 eval "DEFAULT_$LINE"
5272 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5277 eval "$ac_cv_use_postscript"
5278 if test "$no_cache" != 1; then
5279 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5282 if test "$wxUSE_POSTSCRIPT" = yes; then
5283 echo "$ac_t""yes" 1>&6
5285 echo "$ac_t""no" 1>&6
5292 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5293 echo "configure:5294: checking for --enable-prologio" >&5
5295 # Check whether --enable-prologio or --disable-prologio was given.
5296 if test "${enable_prologio+set}" = set; then
5297 enableval
="$enable_prologio"
5299 if test "$enableval" = yes; then
5300 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5302 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5307 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x
; then
5309 eval "DEFAULT_$LINE"
5314 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5319 eval "$ac_cv_use_prologio"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_PROLOGIO" = yes; then
5325 echo "$ac_t""yes" 1>&6
5327 echo "$ac_t""no" 1>&6
5331 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5332 echo "configure:5333: checking for --enable-resources" >&5
5334 # Check whether --enable-resources or --disable-resources was given.
5335 if test "${enable_resources+set}" = set; then
5336 enableval
="$enable_resources"
5338 if test "$enableval" = yes; then
5339 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5341 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5346 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5347 if test "x$LINE" != x
; then
5348 eval "DEFAULT_$LINE"
5353 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5358 eval "$ac_cv_use_resources"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5363 if test "$wxUSE_RESOURCES" = yes; then
5364 echo "$ac_t""yes" 1>&6
5366 echo "$ac_t""no" 1>&6
5371 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5372 echo "configure:5373: checking for --enable-xresources" >&5
5374 # Check whether --enable-xresources or --disable-xresources was given.
5375 if test "${enable_xresources+set}" = set; then
5376 enableval
="$enable_xresources"
5378 if test "$enableval" = yes; then
5379 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5381 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5386 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5387 if test "x$LINE" != x
; then
5388 eval "DEFAULT_$LINE"
5393 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5398 eval "$ac_cv_use_xresources"
5399 if test "$no_cache" != 1; then
5400 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5403 if test "$wxUSE_X_RESOURCES" = yes; then
5404 echo "$ac_t""yes" 1>&6
5406 echo "$ac_t""no" 1>&6
5412 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5413 echo "configure:5414: checking for --enable-clipboard" >&5
5415 # Check whether --enable-clipboard or --disable-clipboard was given.
5416 if test "${enable_clipboard+set}" = set; then
5417 enableval
="$enable_clipboard"
5419 if test "$enableval" = yes; then
5420 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5422 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5427 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5428 if test "x$LINE" != x
; then
5429 eval "DEFAULT_$LINE"
5434 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5439 eval "$ac_cv_use_clipboard"
5440 if test "$no_cache" != 1; then
5441 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5444 if test "$wxUSE_CLIPBOARD" = yes; then
5445 echo "$ac_t""yes" 1>&6
5447 echo "$ac_t""no" 1>&6
5451 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5452 echo "configure:5453: checking for --enable-dnd" >&5
5454 # Check whether --enable-dnd or --disable-dnd was given.
5455 if test "${enable_dnd+set}" = set; then
5456 enableval
="$enable_dnd"
5458 if test "$enableval" = yes; then
5459 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5461 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5466 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5467 if test "x$LINE" != x
; then
5468 eval "DEFAULT_$LINE"
5473 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5478 eval "$ac_cv_use_dnd"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5483 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5484 echo "$ac_t""yes" 1>&6
5486 echo "$ac_t""no" 1>&6
5490 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5491 echo "configure:5492: checking for --enable-metafile" >&5
5493 # Check whether --enable-metafile or --disable-metafile was given.
5494 if test "${enable_metafile+set}" = set; then
5495 enableval
="$enable_metafile"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5500 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5505 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x
; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5517 eval "$ac_cv_use_metafile"
5518 if test "$no_cache" != 1; then
5519 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5522 if test "$wxUSE_METAFILE" = yes; then
5523 echo "$ac_t""yes" 1>&6
5525 echo "$ac_t""no" 1>&6
5530 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5531 echo "configure:5532: checking for --enable-treelayout" >&5
5533 # Check whether --enable-treelayout or --disable-treelayout was given.
5534 if test "${enable_treelayout+set}" = set; then
5535 enableval
="$enable_treelayout"
5537 if test "$enableval" = yes; then
5538 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5540 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5545 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5546 if test "x$LINE" != x
; then
5547 eval "DEFAULT_$LINE"
5552 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5557 eval "$ac_cv_use_treelayout"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5562 if test "$wxUSE_TREELAYOUT" = yes; then
5563 echo "$ac_t""yes" 1>&6
5565 echo "$ac_t""no" 1>&6
5571 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5572 echo "configure:5573: checking for --enable-controls" >&5
5574 # Check whether --enable-controls or --disable-controls was given.
5575 if test "${enable_controls+set}" = set; then
5576 enableval
="$enable_controls"
5578 if test "$enableval" = yes; then
5579 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5581 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5586 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5587 if test "x$LINE" != x
; then
5588 eval "DEFAULT_$LINE"
5593 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5598 eval "$ac_cv_use_controls"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_CONTROLS" = yes; then
5604 echo "$ac_t""yes" 1>&6
5606 echo "$ac_t""no" 1>&6
5610 if test "$wxUSE_CONTROLS" = "yes"; then
5611 DEFAULT_wxUSE_ACCEL
=yes
5612 DEFAULT_wxUSE_BMPBUTTON
=yes
5613 DEFAULT_wxUSE_BUTTON
=yes
5614 DEFAULT_wxUSE_CALCTRL
=no
5615 DEFAULT_wxUSE_CARET
=yes
5616 DEFAULT_wxUSE_COMBOBOX
=yes
5617 DEFAULT_wxUSE_CHECKBOX
=yes
5618 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5619 DEFAULT_wxUSE_CHOICE
=yes
5620 DEFAULT_wxUSE_GAUGE
=yes
5621 DEFAULT_wxUSE_GRID
=yes
5622 DEFAULT_wxUSE_NEW_GRID
=yes
5623 DEFAULT_wxUSE_IMAGLIST
=yes
5624 DEFAULT_wxUSE_LISTBOX
=yes
5625 DEFAULT_wxUSE_LISTCTRL
=yes
5626 DEFAULT_wxUSE_NOTEBOOK
=yes
5627 DEFAULT_wxUSE_PROPSHEET
=yes
5628 DEFAULT_wxUSE_RADIOBOX
=yes
5629 DEFAULT_wxUSE_RADIOBTN
=yes
5630 DEFAULT_wxUSE_SASH
=yes
5631 DEFAULT_wxUSE_SCROLLBAR
=yes
5632 DEFAULT_wxUSE_SLIDER
=yes
5633 DEFAULT_wxUSE_SPINBTN
=yes
5634 DEFAULT_wxUSE_SPINCTRL
=yes
5635 DEFAULT_wxUSE_SPLITTER
=yes
5636 DEFAULT_wxUSE_STATBMP
=yes
5637 DEFAULT_wxUSE_STATBOX
=yes
5638 DEFAULT_wxUSE_STATLINE
=yes
5639 DEFAULT_wxUSE_STATUSBAR
=yes
5640 DEFAULT_wxUSE_TAB_DIALOG
=yes
5641 DEFAULT_wxUSE_TOGGLEBTN
=yes
5642 DEFAULT_wxUSE_TOOLBAR
=yes
5643 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5644 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5645 DEFAULT_wxUSE_TOOLTIPS
=yes
5646 DEFAULT_wxUSE_TREECTRL
=yes
5647 DEFAULT_wxUSE_POPUPWIN
=yes
5648 DEFAULT_wxUSE_TIPWINDOW
=yes
5649 elif test "$wxUSE_CONTROLS" = "no"; then
5650 DEFAULT_wxUSE_ACCEL
=no
5651 DEFAULT_wxUSE_BMPBUTTON
=no
5652 DEFAULT_wxUSE_BUTTON
=no
5653 DEFAULT_wxUSE_CALCTRL
=no
5654 DEFAULT_wxUSE_CARET
=no
5655 DEFAULT_wxUSE_COMBOBOX
=no
5656 DEFAULT_wxUSE_CHECKBOX
=no
5657 DEFAULT_wxUSE_CHECKLISTBOX
=no
5658 DEFAULT_wxUSE_CHOICE
=no
5659 DEFAULT_wxUSE_GAUGE
=no
5660 DEFAULT_wxUSE_GRID
=no
5661 DEFAULT_wxUSE_NEW_GRID
=no
5662 DEFAULT_wxUSE_IMAGLIST
=no
5663 DEFAULT_wxUSE_LISTBOX
=no
5664 DEFAULT_wxUSE_LISTCTRL
=no
5665 DEFAULT_wxUSE_NOTEBOOK
=no
5666 DEFAULT_wxUSE_PROPSHEET
=no
5667 DEFAULT_wxUSE_RADIOBOX
=no
5668 DEFAULT_wxUSE_RADIOBTN
=no
5669 DEFAULT_wxUSE_SASH
=no
5670 DEFAULT_wxUSE_SCROLLBAR
=no
5671 DEFAULT_wxUSE_SLIDER
=no
5672 DEFAULT_wxUSE_SPINBTN
=no
5673 DEFAULT_wxUSE_SPINCTRL
=no
5674 DEFAULT_wxUSE_SPLITTER
=no
5675 DEFAULT_wxUSE_STATBMP
=no
5676 DEFAULT_wxUSE_STATBOX
=no
5677 DEFAULT_wxUSE_STATLINE
=no
5678 DEFAULT_wxUSE_STATUSBAR
=no
5679 DEFAULT_wxUSE_TAB_DIALOG
=no
5680 DEFAULT_wxUSE_TOGGLEBTN
=no
5681 DEFAULT_wxUSE_TOOLBAR
=no
5682 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5683 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5684 DEFAULT_wxUSE_TOOLTIPS
=no
5685 DEFAULT_wxUSE_TREECTRL
=no
5686 DEFAULT_wxUSE_POPUPWIN
=no
5687 DEFAULT_wxUSE_TIPWINDOW
=no
5691 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5692 echo "configure:5693: checking for --enable-accel" >&5
5694 # Check whether --enable-accel or --disable-accel was given.
5695 if test "${enable_accel+set}" = set; then
5696 enableval
="$enable_accel"
5698 if test "$enableval" = yes; then
5699 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5701 ac_cv_use_accel
='wxUSE_ACCEL=no'
5706 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5707 if test "x$LINE" != x
; then
5708 eval "DEFAULT_$LINE"
5713 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5718 eval "$ac_cv_use_accel"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5723 if test "$wxUSE_ACCEL" = yes; then
5724 echo "$ac_t""yes" 1>&6
5726 echo "$ac_t""no" 1>&6
5730 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5731 echo "configure:5732: checking for --enable-button" >&5
5733 # Check whether --enable-button or --disable-button was given.
5734 if test "${enable_button+set}" = set; then
5735 enableval
="$enable_button"
5737 if test "$enableval" = yes; then
5738 ac_cv_use_button
='wxUSE_BUTTON=yes'
5740 ac_cv_use_button
='wxUSE_BUTTON=no'
5745 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x
; then
5747 eval "DEFAULT_$LINE"
5752 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5757 eval "$ac_cv_use_button"
5758 if test "$no_cache" != 1; then
5759 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5762 if test "$wxUSE_BUTTON" = yes; then
5763 echo "$ac_t""yes" 1>&6
5765 echo "$ac_t""no" 1>&6
5769 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5770 echo "configure:5771: checking for --enable-bmpbutton" >&5
5772 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5773 if test "${enable_bmpbutton+set}" = set; then
5774 enableval
="$enable_bmpbutton"
5776 if test "$enableval" = yes; then
5777 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5779 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5784 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x
; then
5786 eval "DEFAULT_$LINE"
5791 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5796 eval "$ac_cv_use_bmpbutton"
5797 if test "$no_cache" != 1; then
5798 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5801 if test "$wxUSE_BMPBUTTON" = yes; then
5802 echo "$ac_t""yes" 1>&6
5804 echo "$ac_t""no" 1>&6
5808 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5809 echo "configure:5810: checking for --enable-calendar" >&5
5811 # Check whether --enable-calendar or --disable-calendar was given.
5812 if test "${enable_calendar+set}" = set; then
5813 enableval
="$enable_calendar"
5815 if test "$enableval" = yes; then
5816 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5818 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5823 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5824 if test "x$LINE" != x
; then
5825 eval "DEFAULT_$LINE"
5830 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5835 eval "$ac_cv_use_calendar"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5840 if test "$wxUSE_CALCTRL" = yes; then
5841 echo "$ac_t""yes" 1>&6
5843 echo "$ac_t""no" 1>&6
5847 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5848 echo "configure:5849: checking for --enable-caret" >&5
5850 # Check whether --enable-caret or --disable-caret was given.
5851 if test "${enable_caret+set}" = set; then
5852 enableval
="$enable_caret"
5854 if test "$enableval" = yes; then
5855 ac_cv_use_caret
='wxUSE_CARET=yes'
5857 ac_cv_use_caret
='wxUSE_CARET=no'
5862 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x
; then
5864 eval "DEFAULT_$LINE"
5869 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5874 eval "$ac_cv_use_caret"
5875 if test "$no_cache" != 1; then
5876 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5879 if test "$wxUSE_CARET" = yes; then
5880 echo "$ac_t""yes" 1>&6
5882 echo "$ac_t""no" 1>&6
5886 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5887 echo "configure:5888: checking for --enable-checkbox" >&5
5889 # Check whether --enable-checkbox or --disable-checkbox was given.
5890 if test "${enable_checkbox+set}" = set; then
5891 enableval
="$enable_checkbox"
5893 if test "$enableval" = yes; then
5894 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5896 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5901 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x
; then
5903 eval "DEFAULT_$LINE"
5908 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5913 eval "$ac_cv_use_checkbox"
5914 if test "$no_cache" != 1; then
5915 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5918 if test "$wxUSE_CHECKBOX" = yes; then
5919 echo "$ac_t""yes" 1>&6
5921 echo "$ac_t""no" 1>&6
5925 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5926 echo "configure:5927: checking for --enable-checklst" >&5
5928 # Check whether --enable-checklst or --disable-checklst was given.
5929 if test "${enable_checklst+set}" = set; then
5930 enableval
="$enable_checklst"
5932 if test "$enableval" = yes; then
5933 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5935 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5940 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x
; then
5942 eval "DEFAULT_$LINE"
5947 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5952 eval "$ac_cv_use_checklst"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5957 if test "$wxUSE_CHECKLST" = yes; then
5958 echo "$ac_t""yes" 1>&6
5960 echo "$ac_t""no" 1>&6
5964 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5965 echo "configure:5966: checking for --enable-choice" >&5
5967 # Check whether --enable-choice or --disable-choice was given.
5968 if test "${enable_choice+set}" = set; then
5969 enableval
="$enable_choice"
5971 if test "$enableval" = yes; then
5972 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5974 ac_cv_use_choice
='wxUSE_CHOICE=no'
5979 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5980 if test "x$LINE" != x
; then
5981 eval "DEFAULT_$LINE"
5986 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5991 eval "$ac_cv_use_choice"
5992 if test "$no_cache" != 1; then
5993 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5996 if test "$wxUSE_CHOICE" = yes; then
5997 echo "$ac_t""yes" 1>&6
5999 echo "$ac_t""no" 1>&6
6003 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6004 echo "configure:6005: checking for --enable-combobox" >&5
6006 # Check whether --enable-combobox or --disable-combobox was given.
6007 if test "${enable_combobox+set}" = set; then
6008 enableval
="$enable_combobox"
6010 if test "$enableval" = yes; then
6011 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6013 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6018 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x
; then
6020 eval "DEFAULT_$LINE"
6025 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6030 eval "$ac_cv_use_combobox"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6035 if test "$wxUSE_COMBOBOX" = yes; then
6036 echo "$ac_t""yes" 1>&6
6038 echo "$ac_t""no" 1>&6
6042 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6043 echo "configure:6044: checking for --enable-gauge" >&5
6045 # Check whether --enable-gauge or --disable-gauge was given.
6046 if test "${enable_gauge+set}" = set; then
6047 enableval
="$enable_gauge"
6049 if test "$enableval" = yes; then
6050 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6052 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6057 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x
; then
6059 eval "DEFAULT_$LINE"
6064 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6069 eval "$ac_cv_use_gauge"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6074 if test "$wxUSE_GAUGE" = yes; then
6075 echo "$ac_t""yes" 1>&6
6077 echo "$ac_t""no" 1>&6
6081 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6082 echo "configure:6083: checking for --enable-grid" >&5
6084 # Check whether --enable-grid or --disable-grid was given.
6085 if test "${enable_grid+set}" = set; then
6086 enableval
="$enable_grid"
6088 if test "$enableval" = yes; then
6089 ac_cv_use_grid
='wxUSE_GRID=yes'
6091 ac_cv_use_grid
='wxUSE_GRID=no'
6096 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6097 if test "x$LINE" != x
; then
6098 eval "DEFAULT_$LINE"
6103 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6108 eval "$ac_cv_use_grid"
6109 if test "$no_cache" != 1; then
6110 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6113 if test "$wxUSE_GRID" = yes; then
6114 echo "$ac_t""yes" 1>&6
6116 echo "$ac_t""no" 1>&6
6120 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6121 echo "configure:6122: checking for --enable-newgrid" >&5
6123 # Check whether --enable-newgrid or --disable-newgrid was given.
6124 if test "${enable_newgrid+set}" = set; then
6125 enableval
="$enable_newgrid"
6127 if test "$enableval" = yes; then
6128 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6130 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6135 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6136 if test "x$LINE" != x
; then
6137 eval "DEFAULT_$LINE"
6142 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6147 eval "$ac_cv_use_newgrid"
6148 if test "$no_cache" != 1; then
6149 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6152 if test "$wxUSE_NEW_GRID" = yes; then
6153 echo "$ac_t""yes" 1>&6
6155 echo "$ac_t""no" 1>&6
6159 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6160 echo "configure:6161: checking for --enable-imaglist" >&5
6162 # Check whether --enable-imaglist or --disable-imaglist was given.
6163 if test "${enable_imaglist+set}" = set; then
6164 enableval
="$enable_imaglist"
6166 if test "$enableval" = yes; then
6167 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6169 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6174 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6175 if test "x$LINE" != x
; then
6176 eval "DEFAULT_$LINE"
6181 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6186 eval "$ac_cv_use_imaglist"
6187 if test "$no_cache" != 1; then
6188 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6191 if test "$wxUSE_IMAGLIST" = yes; then
6192 echo "$ac_t""yes" 1>&6
6194 echo "$ac_t""no" 1>&6
6198 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6199 echo "configure:6200: checking for --enable-listbox" >&5
6201 # Check whether --enable-listbox or --disable-listbox was given.
6202 if test "${enable_listbox+set}" = set; then
6203 enableval
="$enable_listbox"
6205 if test "$enableval" = yes; then
6206 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6208 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6213 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6214 if test "x$LINE" != x
; then
6215 eval "DEFAULT_$LINE"
6220 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6225 eval "$ac_cv_use_listbox"
6226 if test "$no_cache" != 1; then
6227 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6230 if test "$wxUSE_LISTBOX" = yes; then
6231 echo "$ac_t""yes" 1>&6
6233 echo "$ac_t""no" 1>&6
6237 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6238 echo "configure:6239: checking for --enable-listctrl" >&5
6240 # Check whether --enable-listctrl or --disable-listctrl was given.
6241 if test "${enable_listctrl+set}" = set; then
6242 enableval
="$enable_listctrl"
6244 if test "$enableval" = yes; then
6245 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6247 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6252 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x
; then
6254 eval "DEFAULT_$LINE"
6259 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6264 eval "$ac_cv_use_listctrl"
6265 if test "$no_cache" != 1; then
6266 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6269 if test "$wxUSE_LISTCTRL" = yes; then
6270 echo "$ac_t""yes" 1>&6
6272 echo "$ac_t""no" 1>&6
6276 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6277 echo "configure:6278: checking for --enable-notebook" >&5
6279 # Check whether --enable-notebook or --disable-notebook was given.
6280 if test "${enable_notebook+set}" = set; then
6281 enableval
="$enable_notebook"
6283 if test "$enableval" = yes; then
6284 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6286 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6291 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6292 if test "x$LINE" != x
; then
6293 eval "DEFAULT_$LINE"
6298 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6303 eval "$ac_cv_use_notebook"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6308 if test "$wxUSE_NOTEBOOK" = yes; then
6309 echo "$ac_t""yes" 1>&6
6311 echo "$ac_t""no" 1>&6
6315 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6316 echo "configure:6317: checking for --enable-propsheet" >&5
6318 # Check whether --enable-propsheet or --disable-propsheet was given.
6319 if test "${enable_propsheet+set}" = set; then
6320 enableval
="$enable_propsheet"
6322 if test "$enableval" = yes; then
6323 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6325 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6330 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6331 if test "x$LINE" != x
; then
6332 eval "DEFAULT_$LINE"
6337 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6342 eval "$ac_cv_use_propsheet"
6343 if test "$no_cache" != 1; then
6344 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6347 if test "$wxUSE_PROPSHEET" = yes; then
6348 echo "$ac_t""yes" 1>&6
6350 echo "$ac_t""no" 1>&6
6354 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6355 echo "configure:6356: checking for --enable-radiobox" >&5
6357 # Check whether --enable-radiobox or --disable-radiobox was given.
6358 if test "${enable_radiobox+set}" = set; then
6359 enableval
="$enable_radiobox"
6361 if test "$enableval" = yes; then
6362 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6364 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6369 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x
; then
6371 eval "DEFAULT_$LINE"
6376 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6381 eval "$ac_cv_use_radiobox"
6382 if test "$no_cache" != 1; then
6383 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6386 if test "$wxUSE_RADIOBOX" = yes; then
6387 echo "$ac_t""yes" 1>&6
6389 echo "$ac_t""no" 1>&6
6393 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6394 echo "configure:6395: checking for --enable-radiobtn" >&5
6396 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6397 if test "${enable_radiobtn+set}" = set; then
6398 enableval
="$enable_radiobtn"
6400 if test "$enableval" = yes; then
6401 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6403 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6408 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6409 if test "x$LINE" != x
; then
6410 eval "DEFAULT_$LINE"
6415 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6420 eval "$ac_cv_use_radiobtn"
6421 if test "$no_cache" != 1; then
6422 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6425 if test "$wxUSE_RADIOBTN" = yes; then
6426 echo "$ac_t""yes" 1>&6
6428 echo "$ac_t""no" 1>&6
6432 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6433 echo "configure:6434: checking for --enable-sash" >&5
6435 # Check whether --enable-sash or --disable-sash was given.
6436 if test "${enable_sash+set}" = set; then
6437 enableval
="$enable_sash"
6439 if test "$enableval" = yes; then
6440 ac_cv_use_sash
='wxUSE_SASH=yes'
6442 ac_cv_use_sash
='wxUSE_SASH=no'
6447 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x
; then
6449 eval "DEFAULT_$LINE"
6454 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6459 eval "$ac_cv_use_sash"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6464 if test "$wxUSE_SASH" = yes; then
6465 echo "$ac_t""yes" 1>&6
6467 echo "$ac_t""no" 1>&6
6471 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6472 echo "configure:6473: checking for --enable-scrollbar" >&5
6474 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6475 if test "${enable_scrollbar+set}" = set; then
6476 enableval
="$enable_scrollbar"
6478 if test "$enableval" = yes; then
6479 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6481 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6486 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x
; then
6488 eval "DEFAULT_$LINE"
6493 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6498 eval "$ac_cv_use_scrollbar"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6503 if test "$wxUSE_SCROLLBAR" = yes; then
6504 echo "$ac_t""yes" 1>&6
6506 echo "$ac_t""no" 1>&6
6510 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6511 echo "configure:6512: checking for --enable-slider" >&5
6513 # Check whether --enable-slider or --disable-slider was given.
6514 if test "${enable_slider+set}" = set; then
6515 enableval
="$enable_slider"
6517 if test "$enableval" = yes; then
6518 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6520 ac_cv_use_slider
='wxUSE_SLIDER=no'
6525 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6526 if test "x$LINE" != x
; then
6527 eval "DEFAULT_$LINE"
6532 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6537 eval "$ac_cv_use_slider"
6538 if test "$no_cache" != 1; then
6539 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6542 if test "$wxUSE_SLIDER" = yes; then
6543 echo "$ac_t""yes" 1>&6
6545 echo "$ac_t""no" 1>&6
6549 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6550 echo "configure:6551: checking for --enable-spinbtn" >&5
6552 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6553 if test "${enable_spinbtn+set}" = set; then
6554 enableval
="$enable_spinbtn"
6556 if test "$enableval" = yes; then
6557 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6559 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6564 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x
; then
6566 eval "DEFAULT_$LINE"
6571 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6576 eval "$ac_cv_use_spinbtn"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6581 if test "$wxUSE_SPINBTN" = yes; then
6582 echo "$ac_t""yes" 1>&6
6584 echo "$ac_t""no" 1>&6
6588 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6589 echo "configure:6590: checking for --enable-spinctrl" >&5
6591 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6592 if test "${enable_spinctrl+set}" = set; then
6593 enableval
="$enable_spinctrl"
6595 if test "$enableval" = yes; then
6596 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6598 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6603 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6604 if test "x$LINE" != x
; then
6605 eval "DEFAULT_$LINE"
6610 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6615 eval "$ac_cv_use_spinctrl"
6616 if test "$no_cache" != 1; then
6617 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6620 if test "$wxUSE_SPINCTRL" = yes; then
6621 echo "$ac_t""yes" 1>&6
6623 echo "$ac_t""no" 1>&6
6627 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6628 echo "configure:6629: checking for --enable-splitter" >&5
6630 # Check whether --enable-splitter or --disable-splitter was given.
6631 if test "${enable_splitter+set}" = set; then
6632 enableval
="$enable_splitter"
6634 if test "$enableval" = yes; then
6635 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6637 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6642 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6643 if test "x$LINE" != x
; then
6644 eval "DEFAULT_$LINE"
6649 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6654 eval "$ac_cv_use_splitter"
6655 if test "$no_cache" != 1; then
6656 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6659 if test "$wxUSE_SPLITTER" = yes; then
6660 echo "$ac_t""yes" 1>&6
6662 echo "$ac_t""no" 1>&6
6666 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6667 echo "configure:6668: checking for --enable-statbmp" >&5
6669 # Check whether --enable-statbmp or --disable-statbmp was given.
6670 if test "${enable_statbmp+set}" = set; then
6671 enableval
="$enable_statbmp"
6673 if test "$enableval" = yes; then
6674 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6676 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6681 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x
; then
6683 eval "DEFAULT_$LINE"
6688 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6693 eval "$ac_cv_use_statbmp"
6694 if test "$no_cache" != 1; then
6695 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6698 if test "$wxUSE_STATBMP" = yes; then
6699 echo "$ac_t""yes" 1>&6
6701 echo "$ac_t""no" 1>&6
6705 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6706 echo "configure:6707: checking for --enable-statbox" >&5
6708 # Check whether --enable-statbox or --disable-statbox was given.
6709 if test "${enable_statbox+set}" = set; then
6710 enableval
="$enable_statbox"
6712 if test "$enableval" = yes; then
6713 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6715 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6720 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x
; then
6722 eval "DEFAULT_$LINE"
6727 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6732 eval "$ac_cv_use_statbox"
6733 if test "$no_cache" != 1; then
6734 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6737 if test "$wxUSE_STATBOX" = yes; then
6738 echo "$ac_t""yes" 1>&6
6740 echo "$ac_t""no" 1>&6
6744 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6745 echo "configure:6746: checking for --enable-statline" >&5
6747 # Check whether --enable-statline or --disable-statline was given.
6748 if test "${enable_statline+set}" = set; then
6749 enableval
="$enable_statline"
6751 if test "$enableval" = yes; then
6752 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6754 ac_cv_use_statline
='wxUSE_STATLINE=no'
6759 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6760 if test "x$LINE" != x
; then
6761 eval "DEFAULT_$LINE"
6766 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6771 eval "$ac_cv_use_statline"
6772 if test "$no_cache" != 1; then
6773 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6776 if test "$wxUSE_STATLINE" = yes; then
6777 echo "$ac_t""yes" 1>&6
6779 echo "$ac_t""no" 1>&6
6783 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6784 echo "configure:6785: checking for --enable-stattext" >&5
6786 # Check whether --enable-stattext or --disable-stattext was given.
6787 if test "${enable_stattext+set}" = set; then
6788 enableval
="$enable_stattext"
6790 if test "$enableval" = yes; then
6791 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6793 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6798 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6799 if test "x$LINE" != x
; then
6800 eval "DEFAULT_$LINE"
6805 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6810 eval "$ac_cv_use_stattext"
6811 if test "$no_cache" != 1; then
6812 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6815 if test "$wxUSE_STATTEXT" = yes; then
6816 echo "$ac_t""yes" 1>&6
6818 echo "$ac_t""no" 1>&6
6822 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6823 echo "configure:6824: checking for --enable-statusbar" >&5
6825 # Check whether --enable-statusbar or --disable-statusbar was given.
6826 if test "${enable_statusbar+set}" = set; then
6827 enableval
="$enable_statusbar"
6829 if test "$enableval" = yes; then
6830 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6832 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6837 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6838 if test "x$LINE" != x
; then
6839 eval "DEFAULT_$LINE"
6844 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6849 eval "$ac_cv_use_statusbar"
6850 if test "$no_cache" != 1; then
6851 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6854 if test "$wxUSE_STATUSBAR" = yes; then
6855 echo "$ac_t""yes" 1>&6
6857 echo "$ac_t""no" 1>&6
6861 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6862 echo "configure:6863: checking for --enable-tabdialog" >&5
6864 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6865 if test "${enable_tabdialog+set}" = set; then
6866 enableval
="$enable_tabdialog"
6868 if test "$enableval" = yes; then
6869 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6871 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6876 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6877 if test "x$LINE" != x
; then
6878 eval "DEFAULT_$LINE"
6883 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6888 eval "$ac_cv_use_tabdialog"
6889 if test "$no_cache" != 1; then
6890 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6893 if test "$wxUSE_TABDIALOG" = yes; then
6894 echo "$ac_t""yes" 1>&6
6896 echo "$ac_t""no" 1>&6
6900 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6901 echo "configure:6902: checking for --enable-textctrl" >&5
6903 # Check whether --enable-textctrl or --disable-textctrl was given.
6904 if test "${enable_textctrl+set}" = set; then
6905 enableval
="$enable_textctrl"
6907 if test "$enableval" = yes; then
6908 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6910 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6915 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x
; then
6917 eval "DEFAULT_$LINE"
6922 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6927 eval "$ac_cv_use_textctrl"
6928 if test "$no_cache" != 1; then
6929 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6932 if test "$wxUSE_TEXTCTRL" = yes; then
6933 echo "$ac_t""yes" 1>&6
6935 echo "$ac_t""no" 1>&6
6939 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6940 echo "configure:6941: checking for --enable-togglebtn" >&5
6942 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6943 if test "${enable_togglebtn+set}" = set; then
6944 enableval
="$enable_togglebtn"
6946 if test "$enableval" = yes; then
6947 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6949 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6954 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x
; then
6956 eval "DEFAULT_$LINE"
6961 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6966 eval "$ac_cv_use_togglebtn"
6967 if test "$no_cache" != 1; then
6968 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6971 if test "$wxUSE_TOGGLEBTN" = yes; then
6972 echo "$ac_t""yes" 1>&6
6974 echo "$ac_t""no" 1>&6
6978 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6979 echo "configure:6980: checking for --enable-toolbar" >&5
6981 # Check whether --enable-toolbar or --disable-toolbar was given.
6982 if test "${enable_toolbar+set}" = set; then
6983 enableval
="$enable_toolbar"
6985 if test "$enableval" = yes; then
6986 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6988 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6993 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6994 if test "x$LINE" != x
; then
6995 eval "DEFAULT_$LINE"
7000 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7005 eval "$ac_cv_use_toolbar"
7006 if test "$no_cache" != 1; then
7007 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7010 if test "$wxUSE_TOOLBAR" = yes; then
7011 echo "$ac_t""yes" 1>&6
7013 echo "$ac_t""no" 1>&6
7017 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7018 echo "configure:7019: checking for --enable-tbarnative" >&5
7020 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7021 if test "${enable_tbarnative+set}" = set; then
7022 enableval
="$enable_tbarnative"
7024 if test "$enableval" = yes; then
7025 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7027 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7032 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x
; then
7034 eval "DEFAULT_$LINE"
7039 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7044 eval "$ac_cv_use_tbarnative"
7045 if test "$no_cache" != 1; then
7046 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7049 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7050 echo "$ac_t""yes" 1>&6
7052 echo "$ac_t""no" 1>&6
7056 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7057 echo "configure:7058: checking for --enable-tbarsmpl" >&5
7059 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7060 if test "${enable_tbarsmpl+set}" = set; then
7061 enableval
="$enable_tbarsmpl"
7063 if test "$enableval" = yes; then
7064 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7066 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7071 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7072 if test "x$LINE" != x
; then
7073 eval "DEFAULT_$LINE"
7078 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7083 eval "$ac_cv_use_tbarsmpl"
7084 if test "$no_cache" != 1; then
7085 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7088 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7089 echo "$ac_t""yes" 1>&6
7091 echo "$ac_t""no" 1>&6
7095 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7096 echo "configure:7097: checking for --enable-treectrl" >&5
7098 # Check whether --enable-treectrl or --disable-treectrl was given.
7099 if test "${enable_treectrl+set}" = set; then
7100 enableval
="$enable_treectrl"
7102 if test "$enableval" = yes; then
7103 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7105 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7110 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7111 if test "x$LINE" != x
; then
7112 eval "DEFAULT_$LINE"
7117 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7122 eval "$ac_cv_use_treectrl"
7123 if test "$no_cache" != 1; then
7124 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7127 if test "$wxUSE_TREECTRL" = yes; then
7128 echo "$ac_t""yes" 1>&6
7130 echo "$ac_t""no" 1>&6
7134 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7135 echo "configure:7136: checking for --enable-tipwindow" >&5
7137 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7138 if test "${enable_tipwindow+set}" = set; then
7139 enableval
="$enable_tipwindow"
7141 if test "$enableval" = yes; then
7142 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7144 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7149 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7150 if test "x$LINE" != x
; then
7151 eval "DEFAULT_$LINE"
7156 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7161 eval "$ac_cv_use_tipwindow"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7166 if test "$wxUSE_TIPWINDOW" = yes; then
7167 echo "$ac_t""yes" 1>&6
7169 echo "$ac_t""no" 1>&6
7173 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7174 echo "configure:7175: checking for --enable-popupwin" >&5
7176 # Check whether --enable-popupwin or --disable-popupwin was given.
7177 if test "${enable_popupwin+set}" = set; then
7178 enableval
="$enable_popupwin"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7183 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7188 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7200 eval "$ac_cv_use_popupwin"
7201 if test "$no_cache" != 1; then
7202 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7205 if test "$wxUSE_POPUPWIN" = yes; then
7206 echo "$ac_t""yes" 1>&6
7208 echo "$ac_t""no" 1>&6
7214 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7215 echo "configure:7216: checking for --enable-commondlg" >&5
7217 # Check whether --enable-commondlg or --disable-commondlg was given.
7218 if test "${enable_commondlg+set}" = set; then
7219 enableval
="$enable_commondlg"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7224 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7229 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7241 eval "$ac_cv_use_commondlg"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7246 if test "$wxUSE_COMMONDLGS" = yes; then
7247 echo "$ac_t""yes" 1>&6
7249 echo "$ac_t""no" 1>&6
7253 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7254 echo "configure:7255: checking for --enable-choicedlg" >&5
7256 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7257 if test "${enable_choicedlg+set}" = set; then
7258 enableval
="$enable_choicedlg"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7263 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7268 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x
; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7280 eval "$ac_cv_use_choicedlg"
7281 if test "$no_cache" != 1; then
7282 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7285 if test "$wxUSE_CHOICEDLG" = yes; then
7286 echo "$ac_t""yes" 1>&6
7288 echo "$ac_t""no" 1>&6
7292 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7293 echo "configure:7294: checking for --enable-coldlg" >&5
7295 # Check whether --enable-coldlg or --disable-coldlg was given.
7296 if test "${enable_coldlg+set}" = set; then
7297 enableval
="$enable_coldlg"
7299 if test "$enableval" = yes; then
7300 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7302 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7307 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7308 if test "x$LINE" != x
; then
7309 eval "DEFAULT_$LINE"
7314 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7319 eval "$ac_cv_use_coldlg"
7320 if test "$no_cache" != 1; then
7321 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7324 if test "$wxUSE_COLOURDLG" = yes; then
7325 echo "$ac_t""yes" 1>&6
7327 echo "$ac_t""no" 1>&6
7331 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7332 echo "configure:7333: checking for --enable-filedlg" >&5
7334 # Check whether --enable-filedlg or --disable-filedlg was given.
7335 if test "${enable_filedlg+set}" = set; then
7336 enableval
="$enable_filedlg"
7338 if test "$enableval" = yes; then
7339 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7341 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7346 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7347 if test "x$LINE" != x
; then
7348 eval "DEFAULT_$LINE"
7353 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7358 eval "$ac_cv_use_filedlg"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7363 if test "$wxUSE_FILEDLG" = yes; then
7364 echo "$ac_t""yes" 1>&6
7366 echo "$ac_t""no" 1>&6
7370 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7371 echo "configure:7372: checking for --enable-finddlg" >&5
7373 # Check whether --enable-finddlg or --disable-finddlg was given.
7374 if test "${enable_finddlg+set}" = set; then
7375 enableval
="$enable_finddlg"
7377 if test "$enableval" = yes; then
7378 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7380 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7385 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7386 if test "x$LINE" != x
; then
7387 eval "DEFAULT_$LINE"
7392 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7397 eval "$ac_cv_use_finddlg"
7398 if test "$no_cache" != 1; then
7399 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7402 if test "$wxUSE_FINDREPLDLG" = yes; then
7403 echo "$ac_t""yes" 1>&6
7405 echo "$ac_t""no" 1>&6
7409 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7410 echo "configure:7411: checking for --enable-fontdlg" >&5
7412 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7413 if test "${enable_fontdlg+set}" = set; then
7414 enableval
="$enable_fontdlg"
7416 if test "$enableval" = yes; then
7417 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7419 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7424 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7425 if test "x$LINE" != x
; then
7426 eval "DEFAULT_$LINE"
7431 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7436 eval "$ac_cv_use_fontdlg"
7437 if test "$no_cache" != 1; then
7438 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7441 if test "$wxUSE_FONTDLG" = yes; then
7442 echo "$ac_t""yes" 1>&6
7444 echo "$ac_t""no" 1>&6
7448 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7449 echo "configure:7450: checking for --enable-dirdlg" >&5
7451 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7452 if test "${enable_dirdlg+set}" = set; then
7453 enableval
="$enable_dirdlg"
7455 if test "$enableval" = yes; then
7456 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7458 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7463 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7464 if test "x$LINE" != x
; then
7465 eval "DEFAULT_$LINE"
7470 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7475 eval "$ac_cv_use_dirdlg"
7476 if test "$no_cache" != 1; then
7477 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7480 if test "$wxUSE_DIRDLG" = yes; then
7481 echo "$ac_t""yes" 1>&6
7483 echo "$ac_t""no" 1>&6
7487 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7488 echo "configure:7489: checking for --enable-msgdlg" >&5
7490 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7491 if test "${enable_msgdlg+set}" = set; then
7492 enableval
="$enable_msgdlg"
7494 if test "$enableval" = yes; then
7495 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7497 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7502 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7503 if test "x$LINE" != x
; then
7504 eval "DEFAULT_$LINE"
7509 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7514 eval "$ac_cv_use_msgdlg"
7515 if test "$no_cache" != 1; then
7516 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7519 if test "$wxUSE_MSGDLG" = yes; then
7520 echo "$ac_t""yes" 1>&6
7522 echo "$ac_t""no" 1>&6
7526 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7527 echo "configure:7528: checking for --enable-numberdlg" >&5
7529 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7530 if test "${enable_numberdlg+set}" = set; then
7531 enableval
="$enable_numberdlg"
7533 if test "$enableval" = yes; then
7534 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7536 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7541 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x
; then
7543 eval "DEFAULT_$LINE"
7548 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7553 eval "$ac_cv_use_numberdlg"
7554 if test "$no_cache" != 1; then
7555 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7558 if test "$wxUSE_NUMBERDLG" = yes; then
7559 echo "$ac_t""yes" 1>&6
7561 echo "$ac_t""no" 1>&6
7565 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7566 echo "configure:7567: checking for --enable-splash" >&5
7568 # Check whether --enable-splash or --disable-splash was given.
7569 if test "${enable_splash+set}" = set; then
7570 enableval
="$enable_splash"
7572 if test "$enableval" = yes; then
7573 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7575 ac_cv_use_splash
='wxUSE_SPLASH=no'
7580 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7581 if test "x$LINE" != x
; then
7582 eval "DEFAULT_$LINE"
7587 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7592 eval "$ac_cv_use_splash"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7597 if test "$wxUSE_SPLASH" = yes; then
7598 echo "$ac_t""yes" 1>&6
7600 echo "$ac_t""no" 1>&6
7604 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7605 echo "configure:7606: checking for --enable-textdlg" >&5
7607 # Check whether --enable-textdlg or --disable-textdlg was given.
7608 if test "${enable_textdlg+set}" = set; then
7609 enableval
="$enable_textdlg"
7611 if test "$enableval" = yes; then
7612 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7614 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7619 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7620 if test "x$LINE" != x
; then
7621 eval "DEFAULT_$LINE"
7626 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7631 eval "$ac_cv_use_textdlg"
7632 if test "$no_cache" != 1; then
7633 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7636 if test "$wxUSE_TEXTDLG" = yes; then
7637 echo "$ac_t""yes" 1>&6
7639 echo "$ac_t""no" 1>&6
7643 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7644 echo "configure:7645: checking for --enable-tipdlg" >&5
7646 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7647 if test "${enable_tipdlg+set}" = set; then
7648 enableval
="$enable_tipdlg"
7650 if test "$enableval" = yes; then
7651 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7653 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7658 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7659 if test "x$LINE" != x
; then
7660 eval "DEFAULT_$LINE"
7665 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7670 eval "$ac_cv_use_tipdlg"
7671 if test "$no_cache" != 1; then
7672 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7675 if test "$wxUSE_STARTUP_TIPS" = yes; then
7676 echo "$ac_t""yes" 1>&6
7678 echo "$ac_t""no" 1>&6
7682 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7683 echo "configure:7684: checking for --enable-progressdlg" >&5
7685 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7686 if test "${enable_progressdlg+set}" = set; then
7687 enableval
="$enable_progressdlg"
7689 if test "$enableval" = yes; then
7690 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7692 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7697 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7698 if test "x$LINE" != x
; then
7699 eval "DEFAULT_$LINE"
7704 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7709 eval "$ac_cv_use_progressdlg"
7710 if test "$no_cache" != 1; then
7711 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7714 if test "$wxUSE_PROGRESSDLG" = yes; then
7715 echo "$ac_t""yes" 1>&6
7717 echo "$ac_t""no" 1>&6
7721 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7722 echo "configure:7723: checking for --enable-wizarddlg" >&5
7724 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7725 if test "${enable_wizarddlg+set}" = set; then
7726 enableval
="$enable_wizarddlg"
7728 if test "$enableval" = yes; then
7729 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7731 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7736 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7737 if test "x$LINE" != x
; then
7738 eval "DEFAULT_$LINE"
7743 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7748 eval "$ac_cv_use_wizarddlg"
7749 if test "$no_cache" != 1; then
7750 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7753 if test "$wxUSE_WIZARDDLG" = yes; then
7754 echo "$ac_t""yes" 1>&6
7756 echo "$ac_t""no" 1>&6
7762 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7763 echo "configure:7764: checking for --enable-menus" >&5
7765 # Check whether --enable-menus or --disable-menus was given.
7766 if test "${enable_menus+set}" = set; then
7767 enableval
="$enable_menus"
7769 if test "$enableval" = yes; then
7770 ac_cv_use_menus
='wxUSE_MENUS=yes'
7772 ac_cv_use_menus
='wxUSE_MENUS=no'
7777 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7778 if test "x$LINE" != x
; then
7779 eval "DEFAULT_$LINE"
7784 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7789 eval "$ac_cv_use_menus"
7790 if test "$no_cache" != 1; then
7791 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7794 if test "$wxUSE_MENUS" = yes; then
7795 echo "$ac_t""yes" 1>&6
7797 echo "$ac_t""no" 1>&6
7801 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7802 echo "configure:7803: checking for --enable-miniframe" >&5
7804 # Check whether --enable-miniframe or --disable-miniframe was given.
7805 if test "${enable_miniframe+set}" = set; then
7806 enableval
="$enable_miniframe"
7808 if test "$enableval" = yes; then
7809 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7811 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7816 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7817 if test "x$LINE" != x
; then
7818 eval "DEFAULT_$LINE"
7823 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7828 eval "$ac_cv_use_miniframe"
7829 if test "$no_cache" != 1; then
7830 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7833 if test "$wxUSE_MINIFRAME" = yes; then
7834 echo "$ac_t""yes" 1>&6
7836 echo "$ac_t""no" 1>&6
7840 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7841 echo "configure:7842: checking for --enable-tooltips" >&5
7843 # Check whether --enable-tooltips or --disable-tooltips was given.
7844 if test "${enable_tooltips+set}" = set; then
7845 enableval
="$enable_tooltips"
7847 if test "$enableval" = yes; then
7848 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7850 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7855 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7856 if test "x$LINE" != x
; then
7857 eval "DEFAULT_$LINE"
7862 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7867 eval "$ac_cv_use_tooltips"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7872 if test "$wxUSE_TOOLTIPS" = yes; then
7873 echo "$ac_t""yes" 1>&6
7875 echo "$ac_t""no" 1>&6
7879 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7880 echo "configure:7881: checking for --enable-splines" >&5
7882 # Check whether --enable-splines or --disable-splines was given.
7883 if test "${enable_splines+set}" = set; then
7884 enableval
="$enable_splines"
7886 if test "$enableval" = yes; then
7887 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7889 ac_cv_use_splines
='wxUSE_SPLINES=no'
7894 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7895 if test "x$LINE" != x
; then
7896 eval "DEFAULT_$LINE"
7901 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7906 eval "$ac_cv_use_splines"
7907 if test "$no_cache" != 1; then
7908 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7911 if test "$wxUSE_SPLINES" = yes; then
7912 echo "$ac_t""yes" 1>&6
7914 echo "$ac_t""no" 1>&6
7918 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7919 echo "configure:7920: checking for --enable-validators" >&5
7921 # Check whether --enable-validators or --disable-validators was given.
7922 if test "${enable_validators+set}" = set; then
7923 enableval
="$enable_validators"
7925 if test "$enableval" = yes; then
7926 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7928 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7933 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x
; then
7935 eval "DEFAULT_$LINE"
7940 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7945 eval "$ac_cv_use_validators"
7946 if test "$no_cache" != 1; then
7947 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7950 if test "$wxUSE_VALIDATORS" = yes; then
7951 echo "$ac_t""yes" 1>&6
7953 echo "$ac_t""no" 1>&6
7957 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7958 echo "configure:7959: checking for --enable-busyinfo" >&5
7960 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7961 if test "${enable_busyinfo+set}" = set; then
7962 enableval
="$enable_busyinfo"
7964 if test "$enableval" = yes; then
7965 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7967 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7972 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7973 if test "x$LINE" != x
; then
7974 eval "DEFAULT_$LINE"
7979 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7984 eval "$ac_cv_use_busyinfo"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7989 if test "$wxUSE_BUSYINFO" = yes; then
7990 echo "$ac_t""yes" 1>&6
7992 echo "$ac_t""no" 1>&6
7996 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7997 echo "configure:7998: checking for --enable-joystick" >&5
7999 # Check whether --enable-joystick or --disable-joystick was given.
8000 if test "${enable_joystick+set}" = set; then
8001 enableval
="$enable_joystick"
8003 if test "$enableval" = yes; then
8004 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8006 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8011 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8012 if test "x$LINE" != x
; then
8013 eval "DEFAULT_$LINE"
8018 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8023 eval "$ac_cv_use_joystick"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8028 if test "$wxUSE_JOYSTICK" = yes; then
8029 echo "$ac_t""yes" 1>&6
8031 echo "$ac_t""no" 1>&6
8035 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8036 echo "configure:8037: checking for --enable-metafile" >&5
8038 # Check whether --enable-metafile or --disable-metafile was given.
8039 if test "${enable_metafile+set}" = set; then
8040 enableval
="$enable_metafile"
8042 if test "$enableval" = yes; then
8043 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8045 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8050 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x
; then
8052 eval "DEFAULT_$LINE"
8057 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8062 eval "$ac_cv_use_metafile"
8063 if test "$no_cache" != 1; then
8064 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8067 if test "$wxUSE_METAFILE" = yes; then
8068 echo "$ac_t""yes" 1>&6
8070 echo "$ac_t""no" 1>&6
8074 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8075 echo "configure:8076: checking for --enable-dragimage" >&5
8077 # Check whether --enable-dragimage or --disable-dragimage was given.
8078 if test "${enable_dragimage+set}" = set; then
8079 enableval
="$enable_dragimage"
8081 if test "$enableval" = yes; then
8082 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8084 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8089 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8090 if test "x$LINE" != x
; then
8091 eval "DEFAULT_$LINE"
8096 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8101 eval "$ac_cv_use_dragimage"
8102 if test "$no_cache" != 1; then
8103 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8106 if test "$wxUSE_DRAGIMAGE" = yes; then
8107 echo "$ac_t""yes" 1>&6
8109 echo "$ac_t""no" 1>&6
8115 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8116 echo "configure:8117: checking for --enable-palette" >&5
8118 # Check whether --enable-palette or --disable-palette was given.
8119 if test "${enable_palette+set}" = set; then
8120 enableval
="$enable_palette"
8122 if test "$enableval" = yes; then
8123 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8125 ac_cv_use_palette
='wxUSE_PALETTE=no'
8130 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8131 if test "x$LINE" != x
; then
8132 eval "DEFAULT_$LINE"
8137 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8142 eval "$ac_cv_use_palette"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8147 if test "$wxUSE_PALETTE" = yes; then
8148 echo "$ac_t""yes" 1>&6
8150 echo "$ac_t""no" 1>&6
8154 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8155 echo "configure:8156: checking for --enable-image" >&5
8157 # Check whether --enable-image or --disable-image was given.
8158 if test "${enable_image+set}" = set; then
8159 enableval
="$enable_image"
8161 if test "$enableval" = yes; then
8162 ac_cv_use_image
='wxUSE_IMAGE=yes'
8164 ac_cv_use_image
='wxUSE_IMAGE=no'
8169 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8170 if test "x$LINE" != x
; then
8171 eval "DEFAULT_$LINE"
8176 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8181 eval "$ac_cv_use_image"
8182 if test "$no_cache" != 1; then
8183 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8186 if test "$wxUSE_IMAGE" = yes; then
8187 echo "$ac_t""yes" 1>&6
8189 echo "$ac_t""no" 1>&6
8193 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8194 echo "configure:8195: checking for --enable-gif" >&5
8196 # Check whether --enable-gif or --disable-gif was given.
8197 if test "${enable_gif+set}" = set; then
8198 enableval
="$enable_gif"
8200 if test "$enableval" = yes; then
8201 ac_cv_use_gif
='wxUSE_GIF=yes'
8203 ac_cv_use_gif
='wxUSE_GIF=no'
8208 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8209 if test "x$LINE" != x
; then
8210 eval "DEFAULT_$LINE"
8215 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8220 eval "$ac_cv_use_gif"
8221 if test "$no_cache" != 1; then
8222 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8225 if test "$wxUSE_GIF" = yes; then
8226 echo "$ac_t""yes" 1>&6
8228 echo "$ac_t""no" 1>&6
8232 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8233 echo "configure:8234: checking for --enable-pcx" >&5
8235 # Check whether --enable-pcx or --disable-pcx was given.
8236 if test "${enable_pcx+set}" = set; then
8237 enableval
="$enable_pcx"
8239 if test "$enableval" = yes; then
8240 ac_cv_use_pcx
='wxUSE_PCX=yes'
8242 ac_cv_use_pcx
='wxUSE_PCX=no'
8247 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8248 if test "x$LINE" != x
; then
8249 eval "DEFAULT_$LINE"
8254 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8259 eval "$ac_cv_use_pcx"
8260 if test "$no_cache" != 1; then
8261 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8264 if test "$wxUSE_PCX" = yes; then
8265 echo "$ac_t""yes" 1>&6
8267 echo "$ac_t""no" 1>&6
8271 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8272 echo "configure:8273: checking for --enable-iff" >&5
8274 # Check whether --enable-iff or --disable-iff was given.
8275 if test "${enable_iff+set}" = set; then
8276 enableval
="$enable_iff"
8278 if test "$enableval" = yes; then
8279 ac_cv_use_iff
='wxUSE_IFF=yes'
8281 ac_cv_use_iff
='wxUSE_IFF=no'
8286 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8287 if test "x$LINE" != x
; then
8288 eval "DEFAULT_$LINE"
8293 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8298 eval "$ac_cv_use_iff"
8299 if test "$no_cache" != 1; then
8300 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8303 if test "$wxUSE_IFF" = yes; then
8304 echo "$ac_t""yes" 1>&6
8306 echo "$ac_t""no" 1>&6
8310 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8311 echo "configure:8312: checking for --enable-pnm" >&5
8313 # Check whether --enable-pnm or --disable-pnm was given.
8314 if test "${enable_pnm+set}" = set; then
8315 enableval
="$enable_pnm"
8317 if test "$enableval" = yes; then
8318 ac_cv_use_pnm
='wxUSE_PNM=yes'
8320 ac_cv_use_pnm
='wxUSE_PNM=no'
8325 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8326 if test "x$LINE" != x
; then
8327 eval "DEFAULT_$LINE"
8332 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8337 eval "$ac_cv_use_pnm"
8338 if test "$no_cache" != 1; then
8339 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8342 if test "$wxUSE_PNM" = yes; then
8343 echo "$ac_t""yes" 1>&6
8345 echo "$ac_t""no" 1>&6
8349 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8350 echo "configure:8351: checking for --enable-xpm" >&5
8352 # Check whether --enable-xpm or --disable-xpm was given.
8353 if test "${enable_xpm+set}" = set; then
8354 enableval
="$enable_xpm"
8356 if test "$enableval" = yes; then
8357 ac_cv_use_xpm
='wxUSE_XPM=yes'
8359 ac_cv_use_xpm
='wxUSE_XPM=no'
8364 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8365 if test "x$LINE" != x
; then
8366 eval "DEFAULT_$LINE"
8371 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8376 eval "$ac_cv_use_xpm"
8377 if test "$no_cache" != 1; then
8378 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8381 if test "$wxUSE_XPM" = yes; then
8382 echo "$ac_t""yes" 1>&6
8384 echo "$ac_t""no" 1>&6
8388 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8389 echo "configure:8390: checking for --enable-ico_cur" >&5
8391 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8392 if test "${enable_ico_cur+set}" = set; then
8393 enableval
="$enable_ico_cur"
8395 if test "$enableval" = yes; then
8396 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8398 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8403 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8404 if test "x$LINE" != x
; then
8405 eval "DEFAULT_$LINE"
8410 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8415 eval "$ac_cv_use_ico_cur"
8416 if test "$no_cache" != 1; then
8417 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8420 if test "$wxUSE_ICO_CUR" = yes; then
8421 echo "$ac_t""yes" 1>&6
8423 echo "$ac_t""no" 1>&6
8430 *-pc-os2_emx | *-pc-os2-emx )
8441 echo "saving argument cache $wx_arg_cache_file"
8442 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8446 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8447 echo "configure:8448: checking for toolkit" >&5
8449 if test "$wxUSE_GUI" = "yes"; then
8451 if test "$USE_BEOS" = 1; then
8452 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8455 if test "$TOOLKIT_GIVEN" = 1; then
8456 for toolkit
in `echo $ALL_TOOLKITS`; do
8458 eval "value=\$${var}"
8459 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8462 for toolkit
in `echo $ALL_TOOLKITS`; do
8463 if test "$has_toolkit_in_cache" != 1; then
8464 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8466 var
=DEFAULT_wxUSE_
$toolkit
8468 eval "wxUSE_$toolkit=\$${var}"
8472 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8473 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8476 *-pc-os2_emx | *-pc-os2-emx )
8477 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8480 case "$NUM_TOOLKITS" in
8484 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8487 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8490 for toolkit
in `echo $ALL_TOOLKITS`; do
8492 eval "value=\$${var}"
8493 if test "x$value" != x
; then
8494 cache_var
=CACHE_
$toolkit
8495 eval "cache=\$${cache_var}"
8496 if test "$cache" = 1; then
8497 echo "$var=$value" >> ${wx_arg_cache_file}
8499 if test "$value" = 1; then
8500 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8501 echo "$ac_t""$toolkit_echo" 1>&6
8506 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8510 cat > confcache
<<\EOF
8511 # This file is a shell script that caches the results of configure
8512 # tests run on this system so they can be shared between configure
8513 # scripts and configure runs. It is not useful on other systems.
8514 # If it contains results you don't want to keep, you may remove or edit it.
8516 # By default, configure uses ./config.cache as the cache file,
8517 # creating it if it does not exist already. You can give configure
8518 # the --cache-file=FILE option to use a different cache file; that is
8519 # what configure does when it calls configure scripts in
8520 # subdirectories, so they share the cache.
8521 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8522 # config.status only pays attention to the cache file if you give it the
8523 # --recheck option to rerun configure.
8526 # The following way of writing the cache mishandles newlines in values,
8527 # but we know of no workaround that is simple, portable, and efficient.
8528 # So, don't put newlines in cache variables' values.
8529 # Ultrix sh set writes to stderr and can't be redirected directly,
8530 # and sets the high bit in the cache file unless we assign to the vars.
8532 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8534 # `set' does not quote correctly, so add quotes (double-quote substitution
8535 # turns \\\\ into \\, and sed turns \\ into \).
8537 -e "s/'/'\\\\''/g" \
8538 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8541 # `set' quotes correctly as required by POSIX, so do not add quotes.
8542 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8545 if cmp -s $cache_file confcache
; then
8548 if test -w $cache_file; then
8549 echo "updating cache $cache_file"
8550 cat confcache
> $cache_file
8552 echo "not updating unwritable cache $cache_file"
8558 if test "$build" != "$host" ; then
8559 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8563 RANLIB
=$host_alias-ranlib
8564 DLLTOOL
=$host_alias-dlltool
8565 RESCOMP
=$host_alias-windres
8568 STRIP
=$host_alias-strip
8570 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8575 # Extract the first word of "gcc", so it can be a program name with args.
8576 set dummy gcc
; ac_word
=$2
8577 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8578 echo "configure:8579: checking for $ac_word" >&5
8579 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8580 echo $ac_n "(cached) $ac_c" 1>&6
8582 if test -n "$CC"; then
8583 ac_cv_prog_CC
="$CC" # Let the user override the test.
8585 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8587 for ac_dir
in $ac_dummy; do
8588 test -z "$ac_dir" && ac_dir
=.
8589 if test -f $ac_dir/$ac_word; then
8598 if test -n "$CC"; then
8599 echo "$ac_t""$CC" 1>&6
8601 echo "$ac_t""no" 1>&6
8604 if test -z "$CC"; then
8605 # Extract the first word of "cc", so it can be a program name with args.
8606 set dummy cc
; ac_word
=$2
8607 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8608 echo "configure:8609: checking for $ac_word" >&5
8609 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8610 echo $ac_n "(cached) $ac_c" 1>&6
8612 if test -n "$CC"; then
8613 ac_cv_prog_CC
="$CC" # Let the user override the test.
8615 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8618 for ac_dir
in $ac_dummy; do
8619 test -z "$ac_dir" && ac_dir
=.
8620 if test -f $ac_dir/$ac_word; then
8621 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8622 ac_prog_rejected
=yes
8630 if test $ac_prog_rejected = yes; then
8631 # We found a bogon in the path, so make sure we never use it.
8632 set dummy
$ac_cv_prog_CC
8634 if test $# -gt 0; then
8635 # We chose a different compiler from the bogus one.
8636 # However, it has the same basename, so the bogon will be chosen
8637 # first if we set CC to just the basename; use the full file name.
8639 set dummy
"$ac_dir/$ac_word" "$@"
8647 if test -n "$CC"; then
8648 echo "$ac_t""$CC" 1>&6
8650 echo "$ac_t""no" 1>&6
8653 if test -z "$CC"; then
8654 case "`uname -s`" in
8656 # Extract the first word of "cl", so it can be a program name with args.
8657 set dummy cl
; ac_word
=$2
8658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8659 echo "configure:8660: checking for $ac_word" >&5
8660 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8661 echo $ac_n "(cached) $ac_c" 1>&6
8663 if test -n "$CC"; then
8664 ac_cv_prog_CC
="$CC" # Let the user override the test.
8666 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8668 for ac_dir
in $ac_dummy; do
8669 test -z "$ac_dir" && ac_dir
=.
8670 if test -f $ac_dir/$ac_word; then
8679 if test -n "$CC"; then
8680 echo "$ac_t""$CC" 1>&6
8682 echo "$ac_t""no" 1>&6
8687 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8690 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8691 echo "configure:8692: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8695 ac_cpp
='$CPP $CPPFLAGS'
8696 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8697 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8698 cross_compiling
=$ac_cv_prog_cc_cross
8700 cat > conftest.
$ac_ext << EOF
8702 #line 8703 "configure"
8703 #include "confdefs.h"
8707 if { (eval echo configure
:8708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8708 ac_cv_prog_cc_works
=yes
8709 # If we can't run a trivial program, we are probably using a cross compiler.
8710 if (.
/conftest
; exit) 2>/dev
/null
; then
8711 ac_cv_prog_cc_cross
=no
8713 ac_cv_prog_cc_cross
=yes
8716 echo "configure: failed program was:" >&5
8717 cat conftest.
$ac_ext >&5
8718 ac_cv_prog_cc_works
=no
8722 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8723 ac_cpp
='$CPP $CPPFLAGS'
8724 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8725 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8726 cross_compiling
=$ac_cv_prog_cc_cross
8728 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8729 if test $ac_cv_prog_cc_works = no
; then
8730 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8732 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8733 echo "configure:8734: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8734 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8735 cross_compiling
=$ac_cv_prog_cc_cross
8737 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8738 echo "configure:8739: checking whether we are using GNU C" >&5
8739 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8740 echo $ac_n "(cached) $ac_c" 1>&6
8742 cat > conftest.c
<<EOF
8747 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8754 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8756 if test $ac_cv_prog_gcc = yes; then
8762 ac_test_CFLAGS
="${CFLAGS+set}"
8763 ac_save_CFLAGS
="$CFLAGS"
8765 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8766 echo "configure:8767: checking whether ${CC-cc} accepts -g" >&5
8767 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8768 echo $ac_n "(cached) $ac_c" 1>&6
8770 echo 'void f(){}' > conftest.c
8771 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8780 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8781 if test "$ac_test_CFLAGS" = set; then
8782 CFLAGS
="$ac_save_CFLAGS"
8783 elif test $ac_cv_prog_cc_g = yes; then
8784 if test "$GCC" = yes; then
8790 if test "$GCC" = yes; then
8798 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8799 echo "configure:8800: checking how to run the C preprocessor" >&5
8800 # On Suns, sometimes $CPP names a directory.
8801 if test -n "$CPP" && test -d "$CPP"; then
8804 if test -z "$CPP"; then
8805 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8806 echo $ac_n "(cached) $ac_c" 1>&6
8808 # This must be in double quotes, not single quotes, because CPP may get
8809 # substituted into the Makefile and "${CC-cc}" will confuse make.
8811 # On the NeXT, cc -E runs the code through the compiler's parser,
8812 # not just through cpp.
8813 cat > conftest.
$ac_ext <<EOF
8814 #line 8815 "configure"
8815 #include "confdefs.h"
8819 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8820 { (eval echo configure
:8821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8821 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8822 if test -z "$ac_err"; then
8826 echo "configure: failed program was:" >&5
8827 cat conftest.
$ac_ext >&5
8829 CPP
="${CC-cc} -E -traditional-cpp"
8830 cat > conftest.
$ac_ext <<EOF
8831 #line 8832 "configure"
8832 #include "confdefs.h"
8836 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8837 { (eval echo configure
:8838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8838 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8839 if test -z "$ac_err"; then
8843 echo "configure: failed program was:" >&5
8844 cat conftest.
$ac_ext >&5
8846 CPP
="${CC-cc} -nologo -E"
8847 cat > conftest.
$ac_ext <<EOF
8848 #line 8849 "configure"
8849 #include "confdefs.h"
8853 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8854 { (eval echo configure
:8855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8855 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8856 if test -z "$ac_err"; then
8860 echo "configure: failed program was:" >&5
8861 cat conftest.
$ac_ext >&5
8870 ac_cv_prog_CPP
="$CPP"
8872 CPP
="$ac_cv_prog_CPP"
8874 ac_cv_prog_CPP
="$CPP"
8876 echo "$ac_t""$CPP" 1>&6
8878 if test $ac_cv_prog_gcc = yes; then
8879 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8880 echo "configure:8881: checking whether ${CC-cc} needs -traditional" >&5
8881 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8882 echo $ac_n "(cached) $ac_c" 1>&6
8884 ac_pattern
="Autoconf.*'x'"
8885 cat > conftest.
$ac_ext <<EOF
8886 #line 8887 "configure"
8887 #include "confdefs.h"
8891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8892 egrep "$ac_pattern" >/dev
/null
2>&1; then
8894 ac_cv_prog_gcc_traditional
=yes
8897 ac_cv_prog_gcc_traditional
=no
8902 if test $ac_cv_prog_gcc_traditional = no
; then
8903 cat > conftest.
$ac_ext <<EOF
8904 #line 8905 "configure"
8905 #include "confdefs.h"
8909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8910 egrep "$ac_pattern" >/dev
/null
2>&1; then
8912 ac_cv_prog_gcc_traditional
=yes
8919 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8920 if test $ac_cv_prog_gcc_traditional = yes; then
8921 CC
="$CC -traditional"
8928 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8929 ac_cpp
='$CXXCPP $CPPFLAGS'
8930 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8931 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8932 cross_compiling
=$ac_cv_prog_cxx_cross
8935 CXXFLAGS
=${CXXFLAGS:=}
8936 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8938 # Extract the first word of "$ac_prog", so it can be a program name with args.
8939 set dummy
$ac_prog; ac_word
=$2
8940 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8941 echo "configure:8942: checking for $ac_word" >&5
8942 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8943 echo $ac_n "(cached) $ac_c" 1>&6
8945 if test -n "$CXX"; then
8946 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8948 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8950 for ac_dir
in $ac_dummy; do
8951 test -z "$ac_dir" && ac_dir
=.
8952 if test -f $ac_dir/$ac_word; then
8953 ac_cv_prog_CXX
="$ac_prog"
8960 CXX
="$ac_cv_prog_CXX"
8961 if test -n "$CXX"; then
8962 echo "$ac_t""$CXX" 1>&6
8964 echo "$ac_t""no" 1>&6
8967 test -n "$CXX" && break
8969 test -n "$CXX" || CXX
="gcc"
8972 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8973 echo "configure:8974: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8977 ac_cpp
='$CXXCPP $CPPFLAGS'
8978 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8979 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8980 cross_compiling
=$ac_cv_prog_cxx_cross
8982 cat > conftest.
$ac_ext << EOF
8984 #line 8985 "configure"
8985 #include "confdefs.h"
8987 int main(){return(0);}
8989 if { (eval echo configure
:8990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8990 ac_cv_prog_cxx_works
=yes
8991 # If we can't run a trivial program, we are probably using a cross compiler.
8992 if (.
/conftest
; exit) 2>/dev
/null
; then
8993 ac_cv_prog_cxx_cross
=no
8995 ac_cv_prog_cxx_cross
=yes
8998 echo "configure: failed program was:" >&5
8999 cat conftest.
$ac_ext >&5
9000 ac_cv_prog_cxx_works
=no
9004 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9005 ac_cpp
='$CXXCPP $CPPFLAGS'
9006 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9007 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9008 cross_compiling
=$ac_cv_prog_cxx_cross
9010 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9011 if test $ac_cv_prog_cxx_works = no
; then
9012 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9014 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9015 echo "configure:9016: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9016 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9017 cross_compiling
=$ac_cv_prog_cxx_cross
9019 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9020 echo "configure:9021: checking whether we are using GNU C++" >&5
9021 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9022 echo $ac_n "(cached) $ac_c" 1>&6
9024 cat > conftest.C
<<EOF
9029 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9036 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9038 if test $ac_cv_prog_gxx = yes; then
9044 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9045 ac_save_CXXFLAGS
="$CXXFLAGS"
9047 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9048 echo "configure:9049: checking whether ${CXX-g++} accepts -g" >&5
9049 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9050 echo $ac_n "(cached) $ac_c" 1>&6
9052 echo 'void f(){}' > conftest.cc
9053 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9054 ac_cv_prog_cxx_g
=yes
9062 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9063 if test "$ac_test_CXXFLAGS" = set; then
9064 CXXFLAGS
="$ac_save_CXXFLAGS"
9065 elif test $ac_cv_prog_cxx_g = yes; then
9066 if test "$GXX" = yes; then
9072 if test "$GXX" = yes; then
9081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9082 ac_cpp
='$CPP $CPPFLAGS'
9083 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9084 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9085 cross_compiling
=$ac_cv_prog_cc_cross
9088 # Extract the first word of "ranlib", so it can be a program name with args.
9089 set dummy ranlib
; ac_word
=$2
9090 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9091 echo "configure:9092: checking for $ac_word" >&5
9092 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9093 echo $ac_n "(cached) $ac_c" 1>&6
9095 if test -n "$RANLIB"; then
9096 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9098 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9100 for ac_dir
in $ac_dummy; do
9101 test -z "$ac_dir" && ac_dir
=.
9102 if test -f $ac_dir/$ac_word; then
9103 ac_cv_prog_RANLIB
="ranlib"
9108 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9111 RANLIB
="$ac_cv_prog_RANLIB"
9112 if test -n "$RANLIB"; then
9113 echo "$ac_t""$RANLIB" 1>&6
9115 echo "$ac_t""no" 1>&6
9119 # Extract the first word of "ar", so it can be a program name with args.
9120 set dummy
ar; ac_word
=$2
9121 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9122 echo "configure:9123: checking for $ac_word" >&5
9123 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9124 echo $ac_n "(cached) $ac_c" 1>&6
9126 if test -n "$AR"; then
9127 ac_cv_prog_AR
="$AR" # Let the user override the test.
9129 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9131 for ac_dir
in $ac_dummy; do
9132 test -z "$ac_dir" && ac_dir
=.
9133 if test -f $ac_dir/$ac_word; then
9139 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9143 if test -n "$AR"; then
9144 echo "$ac_t""$AR" 1>&6
9146 echo "$ac_t""no" 1>&6
9150 # Find a good install program. We prefer a C program (faster),
9151 # so one script is as good as another. But avoid the broken or
9152 # incompatible versions:
9153 # SysV /etc/install, /usr/sbin/install
9154 # SunOS /usr/etc/install
9155 # IRIX /sbin/install
9157 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9158 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9159 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9160 # ./install, which can be erroneously created by make from ./install.sh.
9161 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9162 echo "configure:9163: checking for a BSD compatible install" >&5
9163 if test -z "$INSTALL"; then
9164 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9165 echo $ac_n "(cached) $ac_c" 1>&6
9167 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9168 for ac_dir
in $PATH; do
9169 # Account for people who put trailing slashes in PATH elements.
9171 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9173 # OSF1 and SCO ODT 3.0 have their own names for install.
9174 # Don't use installbsd from OSF since it installs stuff as root
9176 for ac_prog
in ginstall scoinst
install; do
9177 if test -f $ac_dir/$ac_prog; then
9178 if test $ac_prog = install &&
9179 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9180 # AIX install. It has an incompatible calling convention.
9183 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9194 if test "${ac_cv_path_install+set}" = set; then
9195 INSTALL
="$ac_cv_path_install"
9197 # As a last resort, use the slow shell script. We don't cache a
9198 # path for INSTALL within a source directory, because that will
9199 # break other packages using the cache if that directory is
9200 # removed, or if the path is relative.
9201 INSTALL
="$ac_install_sh"
9204 echo "$ac_t""$INSTALL" 1>&6
9206 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9207 # It thinks the first close brace ends the variable substitution.
9208 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9210 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9212 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9219 INSTALL
=`pwd`/${INSTALL} ;;
9226 INSTALL_PROGRAM
="cp -fp"
9227 INSTALL_DATA
="cp -fp"
9233 # Extract the first word of "strip", so it can be a program name with args.
9234 set dummy strip
; ac_word
=$2
9235 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9236 echo "configure:9237: checking for $ac_word" >&5
9237 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9238 echo $ac_n "(cached) $ac_c" 1>&6
9240 if test -n "$STRIP"; then
9241 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9243 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9245 for ac_dir
in $ac_dummy; do
9246 test -z "$ac_dir" && ac_dir
=.
9247 if test -f $ac_dir/$ac_word; then
9248 ac_cv_prog_STRIP
="strip"
9253 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9256 STRIP
="$ac_cv_prog_STRIP"
9257 if test -n "$STRIP"; then
9258 echo "$ac_t""$STRIP" 1>&6
9260 echo "$ac_t""no" 1>&6
9264 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9265 echo "configure:9266: checking if make is GNU make" >&5
9266 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9267 echo $ac_n "(cached) $ac_c" 1>&6
9270 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9271 egrep -s GNU
> /dev
/null
); then
9272 wx_cv_prog_makeisgnu
="yes"
9274 wx_cv_prog_makeisgnu
="no"
9279 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9281 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9289 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9290 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9291 echo "configure:9292: checking if make supports VPATH" >&5
9292 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9293 echo $ac_n "(cached) $ac_c" 1>&6
9296 cat - << EOF > confMake
9302 if test ! -d sub
; then
9305 echo dummy
> sub
/file
9306 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9308 rm -f sub
/file check final_file confMake
9310 if test "$RESULT" = 0; then
9311 wx_cv_prog_makevpath
="yes"
9313 wx_cv_prog_makevpath
="no"
9318 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9320 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9321 { echo "configure: error:
9322 You need a make-utility that is able to use the variable
9324 If your version of make does not support VPATH correctly,
9325 please install GNU-make (possibly as gmake), and start
9326 configure with the following command:
9327 export MAKE=gmake; ./configure for sh-type shells
9328 setenv MAKE gmake; ./configure for csh-type shells
9329 Also please do remember to use gmake in this case every time
9330 you are trying to compile.
9333 for ac_prog
in 'bison -y' byacc
9335 # Extract the first word of "$ac_prog", so it can be a program name with args.
9336 set dummy
$ac_prog; ac_word
=$2
9337 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9338 echo "configure:9339: checking for $ac_word" >&5
9339 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9340 echo $ac_n "(cached) $ac_c" 1>&6
9342 if test -n "$YACC"; then
9343 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9345 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9347 for ac_dir
in $ac_dummy; do
9348 test -z "$ac_dir" && ac_dir
=.
9349 if test -f $ac_dir/$ac_word; then
9350 ac_cv_prog_YACC
="$ac_prog"
9357 YACC
="$ac_cv_prog_YACC"
9358 if test -n "$YACC"; then
9359 echo "$ac_t""$YACC" 1>&6
9361 echo "$ac_t""no" 1>&6
9364 test -n "$YACC" && break
9366 test -n "$YACC" || YACC
="yacc"
9369 # Extract the first word of "flex", so it can be a program name with args.
9370 set dummy flex
; ac_word
=$2
9371 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9372 echo "configure:9373: checking for $ac_word" >&5
9373 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9374 echo $ac_n "(cached) $ac_c" 1>&6
9376 if test -n "$LEX"; then
9377 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9379 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9381 for ac_dir
in $ac_dummy; do
9382 test -z "$ac_dir" && ac_dir
=.
9383 if test -f $ac_dir/$ac_word; then
9384 ac_cv_prog_LEX
="flex"
9389 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9392 LEX
="$ac_cv_prog_LEX"
9393 if test -n "$LEX"; then
9394 echo "$ac_t""$LEX" 1>&6
9396 echo "$ac_t""no" 1>&6
9399 if test -z "$LEXLIB"
9405 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9406 echo "configure:9407: checking for yywrap in -l$ac_lib" >&5
9407 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9408 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9409 echo $ac_n "(cached) $ac_c" 1>&6
9411 ac_save_LIBS
="$LIBS"
9412 LIBS
="-l$ac_lib $LIBS"
9413 cat > conftest.
$ac_ext <<EOF
9414 #line 9415 "configure"
9415 #include "confdefs.h"
9416 /* Override any gcc2 internal prototype to avoid an error. */
9417 /* We use char because int might match the return type of a gcc2
9418 builtin and then its argument prototype would still apply. */
9425 if { (eval echo configure
:9426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9427 eval "ac_cv_lib_$ac_lib_var=yes"
9429 echo "configure: failed program was:" >&5
9430 cat conftest.
$ac_ext >&5
9432 eval "ac_cv_lib_$ac_lib_var=no"
9435 LIBS
="$ac_save_LIBS"
9438 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9439 echo "$ac_t""yes" 1>&6
9442 echo "$ac_t""no" 1>&6
9448 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9449 echo "configure:9450: checking whether ln -s works" >&5
9450 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9451 echo $ac_n "(cached) $ac_c" 1>&6
9454 if ln -s X conftestdata
2>/dev
/null
9457 ac_cv_prog_LN_S
="ln -s"
9462 LN_S
="$ac_cv_prog_LN_S"
9463 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9464 echo "$ac_t""yes" 1>&6
9466 echo "$ac_t""no" 1>&6
9471 if test "$wxUSE_MAC" != 1; then
9472 for ac_hdr
in strings.h
9474 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9475 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9476 echo "configure:9477: checking for $ac_hdr" >&5
9477 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9478 echo $ac_n "(cached) $ac_c" 1>&6
9480 cat > conftest.
$ac_ext <<EOF
9481 #line 9482 "configure"
9482 #include "confdefs.h"
9485 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9486 { (eval echo configure
:9487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9487 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9488 if test -z "$ac_err"; then
9490 eval "ac_cv_header_$ac_safe=yes"
9493 echo "configure: failed program was:" >&5
9494 cat conftest.
$ac_ext >&5
9496 eval "ac_cv_header_$ac_safe=no"
9500 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9501 echo "$ac_t""yes" 1>&6
9502 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9503 cat >> confdefs.h
<<EOF
9504 #define $ac_tr_hdr 1
9508 echo "$ac_t""no" 1>&6
9514 for ac_hdr
in stdlib.h
9516 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9517 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9518 echo "configure:9519: checking for $ac_hdr" >&5
9519 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9520 echo $ac_n "(cached) $ac_c" 1>&6
9522 cat > conftest.
$ac_ext <<EOF
9523 #line 9524 "configure"
9524 #include "confdefs.h"
9527 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9528 { (eval echo configure
:9529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9529 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9530 if test -z "$ac_err"; then
9532 eval "ac_cv_header_$ac_safe=yes"
9535 echo "configure: failed program was:" >&5
9536 cat conftest.
$ac_ext >&5
9538 eval "ac_cv_header_$ac_safe=no"
9542 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9543 echo "$ac_t""yes" 1>&6
9544 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9545 cat >> confdefs.h
<<EOF
9546 #define $ac_tr_hdr 1
9550 echo "$ac_t""no" 1>&6
9554 for ac_hdr
in malloc.h
9556 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9557 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9558 echo "configure:9559: checking for $ac_hdr" >&5
9559 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9560 echo $ac_n "(cached) $ac_c" 1>&6
9562 cat > conftest.
$ac_ext <<EOF
9563 #line 9564 "configure"
9564 #include "confdefs.h"
9567 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9568 { (eval echo configure
:9569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9569 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9570 if test -z "$ac_err"; then
9572 eval "ac_cv_header_$ac_safe=yes"
9575 echo "configure: failed program was:" >&5
9576 cat conftest.
$ac_ext >&5
9578 eval "ac_cv_header_$ac_safe=no"
9582 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9583 echo "$ac_t""yes" 1>&6
9584 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9585 cat >> confdefs.h
<<EOF
9586 #define $ac_tr_hdr 1
9590 echo "$ac_t""no" 1>&6
9594 for ac_hdr
in unistd.h
9596 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9597 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9598 echo "configure:9599: checking for $ac_hdr" >&5
9599 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9600 echo $ac_n "(cached) $ac_c" 1>&6
9602 cat > conftest.
$ac_ext <<EOF
9603 #line 9604 "configure"
9604 #include "confdefs.h"
9607 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9608 { (eval echo configure
:9609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9609 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9610 if test -z "$ac_err"; then
9612 eval "ac_cv_header_$ac_safe=yes"
9615 echo "configure: failed program was:" >&5
9616 cat conftest.
$ac_ext >&5
9618 eval "ac_cv_header_$ac_safe=no"
9622 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9623 echo "$ac_t""yes" 1>&6
9624 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9625 cat >> confdefs.h
<<EOF
9626 #define $ac_tr_hdr 1
9630 echo "$ac_t""no" 1>&6
9634 for ac_hdr
in wchar.h
9636 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9637 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9638 echo "configure:9639: checking for $ac_hdr" >&5
9639 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9640 echo $ac_n "(cached) $ac_c" 1>&6
9642 cat > conftest.
$ac_ext <<EOF
9643 #line 9644 "configure"
9644 #include "confdefs.h"
9647 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9648 { (eval echo configure
:9649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9649 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9650 if test -z "$ac_err"; then
9652 eval "ac_cv_header_$ac_safe=yes"
9655 echo "configure: failed program was:" >&5
9656 cat conftest.
$ac_ext >&5
9658 eval "ac_cv_header_$ac_safe=no"
9662 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9663 echo "$ac_t""yes" 1>&6
9664 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9665 cat >> confdefs.h
<<EOF
9666 #define $ac_tr_hdr 1
9670 echo "$ac_t""no" 1>&6
9675 if test "$ac_cv_header_wchar_h" != "yes"; then
9676 for ac_hdr
in wcstr.h
9678 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9679 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9680 echo "configure:9681: checking for $ac_hdr" >&5
9681 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9682 echo $ac_n "(cached) $ac_c" 1>&6
9684 cat > conftest.
$ac_ext <<EOF
9685 #line 9686 "configure"
9686 #include "confdefs.h"
9689 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9690 { (eval echo configure
:9691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9691 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9692 if test -z "$ac_err"; then
9694 eval "ac_cv_header_$ac_safe=yes"
9697 echo "configure: failed program was:" >&5
9698 cat conftest.
$ac_ext >&5
9700 eval "ac_cv_header_$ac_safe=no"
9704 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9705 echo "$ac_t""yes" 1>&6
9706 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9707 cat >> confdefs.h
<<EOF
9708 #define $ac_tr_hdr 1
9712 echo "$ac_t""no" 1>&6
9719 for ac_hdr
in fnmatch.h
9721 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9722 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9723 echo "configure:9724: checking for $ac_hdr" >&5
9724 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9725 echo $ac_n "(cached) $ac_c" 1>&6
9727 cat > conftest.
$ac_ext <<EOF
9728 #line 9729 "configure"
9729 #include "confdefs.h"
9732 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9733 { (eval echo configure
:9734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9734 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9735 if test -z "$ac_err"; then
9737 eval "ac_cv_header_$ac_safe=yes"
9740 echo "configure: failed program was:" >&5
9741 cat conftest.
$ac_ext >&5
9743 eval "ac_cv_header_$ac_safe=no"
9747 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9748 echo "$ac_t""yes" 1>&6
9749 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9750 cat >> confdefs.h
<<EOF
9751 #define $ac_tr_hdr 1
9755 echo "$ac_t""no" 1>&6
9760 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9761 for ac_func
in fnmatch
9763 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9764 echo "configure:9765: checking for $ac_func" >&5
9765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9766 echo $ac_n "(cached) $ac_c" 1>&6
9768 cat > conftest.
$ac_ext <<EOF
9769 #line 9770 "configure"
9770 #include "confdefs.h"
9771 /* System header to define __stub macros and hopefully few prototypes,
9772 which can conflict with char $ac_func(); below. */
9774 /* Override any gcc2 internal prototype to avoid an error. */
9775 /* We use char because int might match the return type of a gcc2
9776 builtin and then its argument prototype would still apply. */
9781 /* The GNU C library defines this for functions which it implements
9782 to always fail with ENOSYS. Some functions are actually named
9783 something starting with __ and the normal name is an alias. */
9784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9792 if { (eval echo configure
:9793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9794 eval "ac_cv_func_$ac_func=yes"
9796 echo "configure: failed program was:" >&5
9797 cat conftest.
$ac_ext >&5
9799 eval "ac_cv_func_$ac_func=no"
9804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9805 echo "$ac_t""yes" 1>&6
9806 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9807 cat >> confdefs.h
<<EOF
9808 #define $ac_tr_func 1
9812 echo "$ac_t""no" 1>&6
9818 for ac_hdr
in langinfo.h
9820 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9821 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9822 echo "configure:9823: checking for $ac_hdr" >&5
9823 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9824 echo $ac_n "(cached) $ac_c" 1>&6
9826 cat > conftest.
$ac_ext <<EOF
9827 #line 9828 "configure"
9828 #include "confdefs.h"
9831 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9832 { (eval echo configure
:9833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9833 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9834 if test -z "$ac_err"; then
9836 eval "ac_cv_header_$ac_safe=yes"
9839 echo "configure: failed program was:" >&5
9840 cat conftest.
$ac_ext >&5
9842 eval "ac_cv_header_$ac_safe=no"
9846 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9847 echo "$ac_t""yes" 1>&6
9848 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9849 cat >> confdefs.h
<<EOF
9850 #define $ac_tr_hdr 1
9854 echo "$ac_t""no" 1>&6
9859 if test "$wxUSE_GUI" = "yes"; then
9860 if test "$wxUSE_UNIX" = "yes"; then
9861 for ac_hdr
in X
11/XKBlib.h
9863 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9864 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9865 echo "configure:9866: checking for $ac_hdr" >&5
9866 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9867 echo $ac_n "(cached) $ac_c" 1>&6
9869 cat > conftest.
$ac_ext <<EOF
9870 #line 9871 "configure"
9871 #include "confdefs.h"
9874 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9875 { (eval echo configure
:9876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9876 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9877 if test -z "$ac_err"; then
9879 eval "ac_cv_header_$ac_safe=yes"
9882 echo "configure: failed program was:" >&5
9883 cat conftest.
$ac_ext >&5
9885 eval "ac_cv_header_$ac_safe=no"
9889 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9890 echo "$ac_t""yes" 1>&6
9891 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9892 cat >> confdefs.h
<<EOF
9893 #define $ac_tr_hdr 1
9897 echo "$ac_t""no" 1>&6
9905 echo $ac_n "checking for working const""... $ac_c" 1>&6
9906 echo "configure:9907: checking for working const" >&5
9907 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9908 echo $ac_n "(cached) $ac_c" 1>&6
9910 cat > conftest.
$ac_ext <<EOF
9911 #line 9912 "configure"
9912 #include "confdefs.h"
9916 /* Ultrix mips cc rejects this. */
9917 typedef int charset[2]; const charset x;
9918 /* SunOS 4.1.1 cc rejects this. */
9919 char const *const *ccp;
9921 /* NEC SVR4.0.2 mips cc rejects this. */
9922 struct point {int x, y;};
9923 static struct point const zero = {0,0};
9924 /* AIX XL C 1.02.0.0 rejects this.
9925 It does not let you subtract one const X* pointer from another in an arm
9926 of an if-expression whose if-part is not a constant expression */
9927 const char *g = "string";
9928 ccp = &g + (g ? g-g : 0);
9929 /* HPUX 7.0 cc rejects these. */
9932 ccp = (char const *const *) p;
9933 { /* SCO 3.2v4 cc rejects this. */
9935 char const *s = 0 ? (char *) 0 : (char const *) 0;
9939 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9941 const int *foo = &x[0];
9944 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9945 typedef const int *iptr;
9949 { /* AIX XL C 1.02.0.0 rejects this saying
9950 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9951 struct s { int j; const int *ap[3]; };
9952 struct s *b; b->j = 5;
9954 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9960 if { (eval echo configure
:9961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9964 echo "configure: failed program was:" >&5
9965 cat conftest.
$ac_ext >&5
9972 echo "$ac_t""$ac_cv_c_const" 1>&6
9973 if test $ac_cv_c_const = no
; then
9974 cat >> confdefs.h
<<\EOF
9980 echo $ac_n "checking for inline""... $ac_c" 1>&6
9981 echo "configure:9982: checking for inline" >&5
9982 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9983 echo $ac_n "(cached) $ac_c" 1>&6
9986 for ac_kw
in inline __inline__ __inline
; do
9987 cat > conftest.
$ac_ext <<EOF
9988 #line 9989 "configure"
9989 #include "confdefs.h"
9995 if { (eval echo configure
:9996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9997 ac_cv_c_inline
=$ac_kw; break
9999 echo "configure: failed program was:" >&5
10000 cat conftest.
$ac_ext >&5
10007 echo "$ac_t""$ac_cv_c_inline" 1>&6
10008 case "$ac_cv_c_inline" in
10010 no
) cat >> confdefs.h
<<\EOF
10014 *) cat >> confdefs.h
<<EOF
10015 #define inline $ac_cv_c_inline
10021 echo $ac_n "checking size of char""... $ac_c" 1>&6
10022 echo "configure:10023: checking size of char" >&5
10023 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10024 echo $ac_n "(cached) $ac_c" 1>&6
10026 if test "$cross_compiling" = yes; then
10027 ac_cv_sizeof_char
=1
10029 cat > conftest.
$ac_ext <<EOF
10030 #line 10031 "configure"
10031 #include "confdefs.h"
10035 FILE *f=fopen("conftestval", "w");
10037 fprintf(f, "%d\n", sizeof(char));
10041 if { (eval echo configure
:10042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10043 ac_cv_sizeof_char
=`cat conftestval`
10045 echo "configure: failed program was:" >&5
10046 cat conftest.
$ac_ext >&5
10048 ac_cv_sizeof_char
=0
10054 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10055 cat >> confdefs.h
<<EOF
10056 #define SIZEOF_CHAR $ac_cv_sizeof_char
10060 echo $ac_n "checking size of short""... $ac_c" 1>&6
10061 echo "configure:10062: checking size of short" >&5
10062 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10063 echo $ac_n "(cached) $ac_c" 1>&6
10065 if test "$cross_compiling" = yes; then
10066 ac_cv_sizeof_short
=2
10068 cat > conftest.
$ac_ext <<EOF
10069 #line 10070 "configure"
10070 #include "confdefs.h"
10074 FILE *f=fopen("conftestval", "w");
10076 fprintf(f, "%d\n", sizeof(short));
10080 if { (eval echo configure
:10081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10082 ac_cv_sizeof_short
=`cat conftestval`
10084 echo "configure: failed program was:" >&5
10085 cat conftest.
$ac_ext >&5
10087 ac_cv_sizeof_short
=0
10093 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10094 cat >> confdefs.h
<<EOF
10095 #define SIZEOF_SHORT $ac_cv_sizeof_short
10099 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10100 echo "configure:10101: checking size of void *" >&5
10101 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10102 echo $ac_n "(cached) $ac_c" 1>&6
10104 if test "$cross_compiling" = yes; then
10105 ac_cv_sizeof_void_p
=4
10107 cat > conftest.
$ac_ext <<EOF
10108 #line 10109 "configure"
10109 #include "confdefs.h"
10113 FILE *f=fopen("conftestval", "w");
10115 fprintf(f, "%d\n", sizeof(void *));
10119 if { (eval echo configure
:10120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10121 ac_cv_sizeof_void_p
=`cat conftestval`
10123 echo "configure: failed program was:" >&5
10124 cat conftest.
$ac_ext >&5
10126 ac_cv_sizeof_void_p
=0
10132 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10133 cat >> confdefs.h
<<EOF
10134 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10138 echo $ac_n "checking size of int""... $ac_c" 1>&6
10139 echo "configure:10140: checking size of int" >&5
10140 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10141 echo $ac_n "(cached) $ac_c" 1>&6
10143 if test "$cross_compiling" = yes; then
10146 cat > conftest.
$ac_ext <<EOF
10147 #line 10148 "configure"
10148 #include "confdefs.h"
10152 FILE *f=fopen("conftestval", "w");
10154 fprintf(f, "%d\n", sizeof(int));
10158 if { (eval echo configure
:10159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10160 ac_cv_sizeof_int
=`cat conftestval`
10162 echo "configure: failed program was:" >&5
10163 cat conftest.
$ac_ext >&5
10171 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10172 cat >> confdefs.h
<<EOF
10173 #define SIZEOF_INT $ac_cv_sizeof_int
10177 echo $ac_n "checking size of long""... $ac_c" 1>&6
10178 echo "configure:10179: checking size of long" >&5
10179 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10180 echo $ac_n "(cached) $ac_c" 1>&6
10182 if test "$cross_compiling" = yes; then
10183 ac_cv_sizeof_long
=4
10185 cat > conftest.
$ac_ext <<EOF
10186 #line 10187 "configure"
10187 #include "confdefs.h"
10191 FILE *f=fopen("conftestval", "w");
10193 fprintf(f, "%d\n", sizeof(long));
10197 if { (eval echo configure
:10198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10199 ac_cv_sizeof_long
=`cat conftestval`
10201 echo "configure: failed program was:" >&5
10202 cat conftest.
$ac_ext >&5
10204 ac_cv_sizeof_long
=0
10210 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10211 cat >> confdefs.h
<<EOF
10212 #define SIZEOF_LONG $ac_cv_sizeof_long
10219 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10220 echo "configure:10221: checking size of long long" >&5
10221 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10222 echo $ac_n "(cached) $ac_c" 1>&6
10224 if test "$cross_compiling" = yes; then
10225 ac_cv_sizeof_long_long
=8
10227 cat > conftest.
$ac_ext <<EOF
10228 #line 10229 "configure"
10229 #include "confdefs.h"
10233 FILE *f=fopen("conftestval", "w");
10235 fprintf(f, "%d\n", sizeof(long long));
10239 if { (eval echo configure
:10240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10241 ac_cv_sizeof_long_long
=`cat conftestval`
10243 echo "configure: failed program was:" >&5
10244 cat conftest.
$ac_ext >&5
10246 ac_cv_sizeof_long_long
=0
10252 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10253 cat >> confdefs.h
<<EOF
10254 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10260 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10261 echo "configure:10262: checking size of long long" >&5
10262 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10263 echo $ac_n "(cached) $ac_c" 1>&6
10265 if test "$cross_compiling" = yes; then
10266 ac_cv_sizeof_long_long
=0
10268 cat > conftest.
$ac_ext <<EOF
10269 #line 10270 "configure"
10270 #include "confdefs.h"
10274 FILE *f=fopen("conftestval", "w");
10276 fprintf(f, "%d\n", sizeof(long long));
10280 if { (eval echo configure
:10281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10282 ac_cv_sizeof_long_long
=`cat conftestval`
10284 echo "configure: failed program was:" >&5
10285 cat conftest.
$ac_ext >&5
10287 ac_cv_sizeof_long_long
=0
10293 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10294 cat >> confdefs.h
<<EOF
10295 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10301 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10302 echo "configure:10303: checking size of wchar_t" >&5
10303 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10304 echo $ac_n "(cached) $ac_c" 1>&6
10307 if test "$cross_compiling" = yes; then
10308 wx_cv_sizeof_wchar_t
=4
10311 cat > conftest.
$ac_ext <<EOF
10312 #line 10313 "configure"
10313 #include "confdefs.h"
10315 #ifdef HAVE_WCHAR_H
10317 # include <stddef.h>
10319 # include <wchar.h>
10321 #ifdef HAVE_STDLIB_H
10322 # include <stdlib.h>
10327 FILE *f=fopen("conftestval", "w");
10329 fprintf(f, "%i", sizeof(wchar_t));
10334 if { (eval echo configure
:10335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10336 wx_cv_sizeof_wchar_t
=`cat conftestval`
10338 echo "configure: failed program was:" >&5
10339 cat conftest.
$ac_ext >&5
10341 wx_cv_sizeof_wchar_t
=0
10349 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10351 cat >> confdefs.h
<<EOF
10352 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10356 # Check whether --enable-largefile or --disable-largefile was given.
10357 if test "${enable_largefile+set}" = set; then
10358 enableval
="$enable_largefile"
10362 if test "$enable_largefile" != no
; then
10365 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10366 echo "configure:10367: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10367 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10368 echo $ac_n "(cached) $ac_c" 1>&6
10371 cat > conftest.
$ac_ext <<EOF
10372 #line 10373 "configure"
10373 #include "confdefs.h"
10374 #define _FILE_OFFSET_BITS 64
10375 #include <sys/types.h>
10378 unsigned int field: sizeof(off_t) == 8;
10383 if { (eval echo configure
:10384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10385 ac_cv_sys_file_offset_bits
=64
10387 echo "configure: failed program was:" >&5
10388 cat conftest.
$ac_ext >&5
10390 ac_cv_sys_file_offset_bits
=no
10397 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10399 if test "$ac_cv_sys_file_offset_bits" != no
; then
10401 cat >> confdefs.h
<<EOF
10402 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10407 if test "x$wx_largefile" != "xyes"; then
10409 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10410 echo "configure:10411: checking for _LARGE_FILES value needed for large files" >&5
10411 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10412 echo $ac_n "(cached) $ac_c" 1>&6
10415 cat > conftest.
$ac_ext <<EOF
10416 #line 10417 "configure"
10417 #include "confdefs.h"
10418 #define _LARGE_FILES 1
10419 #include <sys/types.h>
10422 unsigned int field: sizeof(off_t) == 8;
10427 if { (eval echo configure
:10428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10429 ac_cv_sys_large_files
=1
10431 echo "configure: failed program was:" >&5
10432 cat conftest.
$ac_ext >&5
10434 ac_cv_sys_large_files
=no
10441 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10443 if test "$ac_cv_sys_large_files" != no
; then
10445 cat >> confdefs.h
<<EOF
10446 #define _LARGE_FILES $ac_cv_sys_large_files
10453 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10454 echo "configure:10455: checking if large file support is available" >&5
10455 if test "x$wx_largefile" = "xyes"; then
10456 cat >> confdefs.h
<<\EOF
10457 #define HAVE_LARGEFILE_SUPPORT 1
10461 echo "$ac_t""$wx_largefile" 1>&6
10465 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10466 echo "configure:10467: checking whether byte ordering is bigendian" >&5
10467 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10468 echo $ac_n "(cached) $ac_c" 1>&6
10470 ac_cv_c_bigendian
=unknown
10471 # See if sys/param.h defines the BYTE_ORDER macro.
10472 cat > conftest.
$ac_ext <<EOF
10473 #line 10474 "configure"
10474 #include "confdefs.h"
10475 #include <sys/types.h>
10476 #include <sys/param.h>
10479 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10480 bogus endian macros
10484 if { (eval echo configure
:10485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10486 # It does; now see whether it defined to BIG_ENDIAN or not.
10487 cat > conftest.
$ac_ext <<EOF
10488 #line 10489 "configure"
10489 #include "confdefs.h"
10490 #include <sys/types.h>
10491 #include <sys/param.h>
10494 #if BYTE_ORDER != BIG_ENDIAN
10499 if { (eval echo configure
:10500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10501 ac_cv_c_bigendian
=yes
10503 echo "configure: failed program was:" >&5
10504 cat conftest.
$ac_ext >&5
10506 ac_cv_c_bigendian
=no
10510 echo "configure: failed program was:" >&5
10511 cat conftest.
$ac_ext >&5
10514 if test $ac_cv_c_bigendian = unknown
; then
10515 if test "$cross_compiling" = yes; then
10516 ac_cv_c_bigendian
=unknown
10518 cat > conftest.
$ac_ext <<EOF
10519 #line 10520 "configure"
10520 #include "confdefs.h"
10522 /* Are we little or big endian? From Harbison&Steele. */
10526 char c[sizeof (long)];
10529 exit (u.c[sizeof (long) - 1] == 1);
10532 if { (eval echo configure
:10533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10534 ac_cv_c_bigendian
=no
10536 echo "configure: failed program was:" >&5
10537 cat conftest.
$ac_ext >&5
10539 ac_cv_c_bigendian
=yes
10547 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10548 if test $ac_cv_c_bigendian = unknown
; then
10549 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
10551 if test $ac_cv_c_bigendian = yes; then
10552 cat >> confdefs.h
<<\EOF
10553 #define WORDS_BIGENDIAN 1
10559 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10560 echo "configure:10561: checking how to run the C++ preprocessor" >&5
10561 if test -z "$CXXCPP"; then
10562 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10563 echo $ac_n "(cached) $ac_c" 1>&6
10566 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10567 ac_cpp
='$CXXCPP $CPPFLAGS'
10568 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10569 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10570 cross_compiling
=$ac_cv_prog_cxx_cross
10571 CXXCPP
="${CXX-g++} -E"
10572 cat > conftest.
$ac_ext <<EOF
10573 #line 10574 "configure"
10574 #include "confdefs.h"
10575 #include <stdlib.h>
10577 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10578 { (eval echo configure
:10579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10579 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10580 if test -z "$ac_err"; then
10584 echo "configure: failed program was:" >&5
10585 cat conftest.
$ac_ext >&5
10590 ac_cv_prog_CXXCPP
="$CXXCPP"
10592 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10593 ac_cpp
='$CXXCPP $CPPFLAGS'
10594 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10595 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10596 cross_compiling
=$ac_cv_prog_cxx_cross
10599 CXXCPP
="$ac_cv_prog_CXXCPP"
10600 echo "$ac_t""$CXXCPP" 1>&6
10603 if test "$cross_compiling" = "yes"; then
10604 cat >> confdefs.h
<<\EOF
10605 #define wxUSE_IOSTREAMH 1
10611 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10612 ac_cpp
='$CXXCPP $CPPFLAGS'
10613 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10614 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10615 cross_compiling
=$ac_cv_prog_cxx_cross
10618 for ac_hdr
in iostream
10620 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10621 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10622 echo "configure:10623: checking for $ac_hdr" >&5
10623 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10624 echo $ac_n "(cached) $ac_c" 1>&6
10626 cat > conftest.
$ac_ext <<EOF
10627 #line 10628 "configure"
10628 #include "confdefs.h"
10631 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10632 { (eval echo configure
:10633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10633 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10634 if test -z "$ac_err"; then
10636 eval "ac_cv_header_$ac_safe=yes"
10639 echo "configure: failed program was:" >&5
10640 cat conftest.
$ac_ext >&5
10642 eval "ac_cv_header_$ac_safe=no"
10646 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10647 echo "$ac_t""yes" 1>&6
10648 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10649 cat >> confdefs.h
<<EOF
10650 #define $ac_tr_hdr 1
10654 echo "$ac_t""no" 1>&6
10659 if test "$ac_cv_header_iostream" = "yes" ; then
10662 cat >> confdefs.h
<<\EOF
10663 #define wxUSE_IOSTREAMH 1
10669 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10670 ac_cpp
='$CPP $CPPFLAGS'
10671 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10672 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10673 cross_compiling
=$ac_cv_prog_cc_cross
10679 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10680 echo "configure:10681: checking if C++ compiler supports bool" >&5
10681 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10682 echo $ac_n "(cached) $ac_c" 1>&6
10687 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10688 ac_cpp
='$CXXCPP $CPPFLAGS'
10689 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10690 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10691 cross_compiling
=$ac_cv_prog_cxx_cross
10694 cat > conftest.
$ac_ext <<EOF
10695 #line 10696 "configure"
10696 #include "confdefs.h"
10707 if { (eval echo configure
:10708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10713 echo "configure: failed program was:" >&5
10714 cat conftest.
$ac_ext >&5
10724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10725 ac_cpp
='$CPP $CPPFLAGS'
10726 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10727 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10728 cross_compiling
=$ac_cv_prog_cc_cross
10733 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10735 if test "$wx_cv_cpp_bool" = "yes"; then
10736 cat >> confdefs.h
<<\EOF
10737 #define HAVE_BOOL 1
10745 /usr/local/include \
10747 /usr/Motif-1.2/include \
10748 /usr/Motif-2.1/include \
10750 /usr/include/Motif1.2 \
10751 /opt/xpm/include/X11 \
10752 /opt/GBxpm/include/ \
10753 /opt/GBxpm/X11/include/ \
10755 /usr/Motif1.2/include \
10757 /usr/openwin/include \
10761 /usr/X11R6/include \
10762 /usr/X11R6.4/include \
10763 /usr/X11R5/include \
10764 /usr/X11R4/include \
10766 /usr/include/X11R6 \
10767 /usr/include/X11R5 \
10768 /usr/include/X11R4 \
10770 /usr/local/X11R6/include \
10771 /usr/local/X11R5/include \
10772 /usr/local/X11R4/include \
10774 /usr/local/include/X11R6 \
10775 /usr/local/include/X11R5 \
10776 /usr/local/include/X11R4 \
10780 /usr/local/X11/include \
10781 /usr/local/include/X11 \
10783 /usr/X386/include \
10784 /usr/x386/include \
10785 /usr/XFree86/include/X11 \
10787 X:/XFree86/include \
10788 X:/XFree86/include/X11 \
10791 /usr/local/include/gtk \
10792 /usr/include/glib \
10793 /usr/local/include/glib \
10796 /usr/local/include/qt \
10798 /usr/include/windows \
10799 /usr/include/wine \
10800 /usr/local/include/wine \
10802 /usr/unsupported/include \
10803 /usr/athena/include \
10804 /usr/local/x11r5/include \
10805 /usr/lpp/Xamples/include \
10807 /usr/openwin/share/include \
10811 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
10814 cat > confcache
<<\EOF
10815 # This file is a shell script that caches the results of configure
10816 # tests run on this system so they can be shared between configure
10817 # scripts and configure runs. It is not useful on other systems.
10818 # If it contains results you don't want to keep, you may remove or edit it.
10820 # By default, configure uses ./config.cache as the cache file,
10821 # creating it if it does not exist already. You can give configure
10822 # the --cache-file=FILE option to use a different cache file; that is
10823 # what configure does when it calls configure scripts in
10824 # subdirectories, so they share the cache.
10825 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10826 # config.status only pays attention to the cache file if you give it the
10827 # --recheck option to rerun configure.
10830 # The following way of writing the cache mishandles newlines in values,
10831 # but we know of no workaround that is simple, portable, and efficient.
10832 # So, don't put newlines in cache variables' values.
10833 # Ultrix sh set writes to stderr and can't be redirected directly,
10834 # and sets the high bit in the cache file unless we assign to the vars.
10836 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10838 # `set' does not quote correctly, so add quotes (double-quote substitution
10839 # turns \\\\ into \\, and sed turns \\ into \).
10841 -e "s/'/'\\\\''/g" \
10842 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10845 # `set' quotes correctly as required by POSIX, so do not add quotes.
10846 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10849 if cmp -s $cache_file confcache
; then
10852 if test -w $cache_file; then
10853 echo "updating cache $cache_file"
10854 cat confcache
> $cache_file
10856 echo "not updating unwritable cache $cache_file"
10862 if test "$USE_LINUX" = 1; then
10863 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
10864 echo "configure:10865: checking for glibc 2.1 or later" >&5
10865 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
10866 echo $ac_n "(cached) $ac_c" 1>&6
10869 cat > conftest.
$ac_ext <<EOF
10870 #line 10871 "configure"
10871 #include "confdefs.h"
10872 #include <features.h>
10875 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
10876 #error not glibc2.1
10881 if { (eval echo configure
:10882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10884 wx_cv_lib_glibc21
=yes
10887 echo "configure: failed program was:" >&5
10888 cat conftest.
$ac_ext >&5
10891 wx_cv_lib_glibc21
=no
10899 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
10900 if test "$wx_cv_lib_glibc21" = "yes"; then
10901 cat >> confdefs.h
<<\EOF
10902 #define wxHAVE_GLIBC2 1
10911 if test "$wxUSE_REGEX" != "no"; then
10912 cat >> confdefs.h
<<\EOF
10913 #define wxUSE_REGEX 1
10917 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
10918 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
10919 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
10920 echo "configure:10921: checking for regex.h" >&5
10921 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10922 echo $ac_n "(cached) $ac_c" 1>&6
10924 cat > conftest.
$ac_ext <<EOF
10925 #line 10926 "configure"
10926 #include "confdefs.h"
10929 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10930 { (eval echo configure
:10931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10931 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10932 if test -z "$ac_err"; then
10934 eval "ac_cv_header_$ac_safe=yes"
10937 echo "configure: failed program was:" >&5
10938 cat conftest.
$ac_ext >&5
10940 eval "ac_cv_header_$ac_safe=no"
10944 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10945 echo "$ac_t""yes" 1>&6
10946 for ac_func
in regcomp
10948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10949 echo "configure:10950: checking for $ac_func" >&5
10950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10951 echo $ac_n "(cached) $ac_c" 1>&6
10953 cat > conftest.
$ac_ext <<EOF
10954 #line 10955 "configure"
10955 #include "confdefs.h"
10956 /* System header to define __stub macros and hopefully few prototypes,
10957 which can conflict with char $ac_func(); below. */
10958 #include <assert.h>
10959 /* Override any gcc2 internal prototype to avoid an error. */
10960 /* We use char because int might match the return type of a gcc2
10961 builtin and then its argument prototype would still apply. */
10966 /* The GNU C library defines this for functions which it implements
10967 to always fail with ENOSYS. Some functions are actually named
10968 something starting with __ and the normal name is an alias. */
10969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10977 if { (eval echo configure
:10978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10979 eval "ac_cv_func_$ac_func=yes"
10981 echo "configure: failed program was:" >&5
10982 cat conftest.
$ac_ext >&5
10984 eval "ac_cv_func_$ac_func=no"
10989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10990 echo "$ac_t""yes" 1>&6
10991 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10992 cat >> confdefs.h
<<EOF
10993 #define $ac_tr_func 1
10997 echo "$ac_t""no" 1>&6
11002 echo "$ac_t""no" 1>&6
11006 if test "x$ac_cv_func_regcomp" != "xyes"; then
11007 if test "$wxUSE_REGEX" = "sys" ; then
11008 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11010 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11011 wxUSE_REGEX
=builtin
11018 if test "$wxUSE_REGEX" = "builtin" ; then
11019 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11026 if test "$wxUSE_ZLIB" != "no" ; then
11027 cat >> confdefs.h
<<\EOF
11028 #define wxUSE_ZLIB 1
11032 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11033 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11034 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11035 echo "configure:11036: checking for zlib.h" >&5
11036 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11037 echo $ac_n "(cached) $ac_c" 1>&6
11039 cat > conftest.
$ac_ext <<EOF
11040 #line 11041 "configure"
11041 #include "confdefs.h"
11044 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11045 { (eval echo configure
:11046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11046 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11047 if test -z "$ac_err"; then
11049 eval "ac_cv_header_$ac_safe=yes"
11052 echo "configure: failed program was:" >&5
11053 cat conftest.
$ac_ext >&5
11055 eval "ac_cv_header_$ac_safe=no"
11059 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11060 echo "$ac_t""yes" 1>&6
11061 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11062 echo "configure:11063: checking for deflate in -lz" >&5
11063 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11064 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11065 echo $ac_n "(cached) $ac_c" 1>&6
11067 ac_save_LIBS
="$LIBS"
11069 cat > conftest.
$ac_ext <<EOF
11070 #line 11071 "configure"
11071 #include "confdefs.h"
11072 /* Override any gcc2 internal prototype to avoid an error. */
11073 /* We use char because int might match the return type of a gcc2
11074 builtin and then its argument prototype would still apply. */
11081 if { (eval echo configure
:11082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11083 eval "ac_cv_lib_$ac_lib_var=yes"
11085 echo "configure: failed program was:" >&5
11086 cat conftest.
$ac_ext >&5
11088 eval "ac_cv_lib_$ac_lib_var=no"
11091 LIBS
="$ac_save_LIBS"
11094 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11095 echo "$ac_t""yes" 1>&6
11098 echo "$ac_t""no" 1>&6
11102 echo "$ac_t""no" 1>&6
11106 if test "x$ZLIB_LINK" = "x" ; then
11107 if test "$wxUSE_ZLIB" = "sys" ; then
11108 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11110 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11118 if test "$wxUSE_ZLIB" = "builtin" ; then
11119 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11126 if test "$wxUSE_LIBPNG" != "no" ; then
11127 cat >> confdefs.h
<<\EOF
11128 #define wxUSE_LIBPNG 1
11132 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11133 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11137 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11138 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11139 wxUSE_LIBPNG
=builtin
11142 if test "$wxUSE_MGL" != 1 ; then
11143 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11144 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11145 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11146 echo "configure:11147: checking for png.h" >&5
11147 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11148 echo $ac_n "(cached) $ac_c" 1>&6
11150 cat > conftest.
$ac_ext <<EOF
11151 #line 11152 "configure"
11152 #include "confdefs.h"
11155 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11156 { (eval echo configure
:11157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11157 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11158 if test -z "$ac_err"; then
11160 eval "ac_cv_header_$ac_safe=yes"
11163 echo "configure: failed program was:" >&5
11164 cat conftest.
$ac_ext >&5
11166 eval "ac_cv_header_$ac_safe=no"
11170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11171 echo "$ac_t""yes" 1>&6
11172 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11173 echo "configure:11174: checking for png_check_sig in -lpng" >&5
11174 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11175 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11176 echo $ac_n "(cached) $ac_c" 1>&6
11178 ac_save_LIBS
="$LIBS"
11179 LIBS
="-lpng -lz -lm $LIBS"
11180 cat > conftest.
$ac_ext <<EOF
11181 #line 11182 "configure"
11182 #include "confdefs.h"
11183 /* Override any gcc2 internal prototype to avoid an error. */
11184 /* We use char because int might match the return type of a gcc2
11185 builtin and then its argument prototype would still apply. */
11186 char png_check_sig();
11192 if { (eval echo configure
:11193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11194 eval "ac_cv_lib_$ac_lib_var=yes"
11196 echo "configure: failed program was:" >&5
11197 cat conftest.
$ac_ext >&5
11199 eval "ac_cv_lib_$ac_lib_var=no"
11202 LIBS
="$ac_save_LIBS"
11205 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11206 echo "$ac_t""yes" 1>&6
11209 echo "$ac_t""no" 1>&6
11214 echo "$ac_t""no" 1>&6
11218 if test "x$PNG_LINK" = "x" ; then
11219 if test "$wxUSE_LIBPNG" = "sys" ; then
11220 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11222 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11223 wxUSE_LIBPNG
=builtin
11231 if test "$wxUSE_LIBPNG" = "builtin" ; then
11232 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11241 if test "$wxUSE_LIBJPEG" != "no" ; then
11242 cat >> confdefs.h
<<\EOF
11243 #define wxUSE_LIBJPEG 1
11247 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11248 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11252 if test "$wxUSE_MGL" != 1 ; then
11253 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11254 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11255 echo "configure:11256: checking for jpeglib.h" >&5
11256 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11257 echo $ac_n "(cached) $ac_c" 1>&6
11259 cat > conftest.
$ac_ext <<EOF
11260 #line 11261 "configure"
11261 #include "confdefs.h"
11263 #undef HAVE_STDLIB_H
11265 #include <jpeglib.h>
11272 if { (eval echo configure
:11273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11274 ac_cv_header_jpeglib_h
=yes
11276 echo "configure: failed program was:" >&5
11277 cat conftest.
$ac_ext >&5
11279 ac_cv_header_jpeglib_h
=no
11286 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11288 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11289 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11290 echo "configure:11291: checking for jpeg_read_header in -ljpeg" >&5
11291 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11292 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11293 echo $ac_n "(cached) $ac_c" 1>&6
11295 ac_save_LIBS
="$LIBS"
11296 LIBS
="-ljpeg $LIBS"
11297 cat > conftest.
$ac_ext <<EOF
11298 #line 11299 "configure"
11299 #include "confdefs.h"
11300 /* Override any gcc2 internal prototype to avoid an error. */
11301 /* We use char because int might match the return type of a gcc2
11302 builtin and then its argument prototype would still apply. */
11303 char jpeg_read_header();
11309 if { (eval echo configure
:11310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11311 eval "ac_cv_lib_$ac_lib_var=yes"
11313 echo "configure: failed program was:" >&5
11314 cat conftest.
$ac_ext >&5
11316 eval "ac_cv_lib_$ac_lib_var=no"
11319 LIBS
="$ac_save_LIBS"
11322 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11323 echo "$ac_t""yes" 1>&6
11324 JPEG_LINK
=" -ljpeg"
11326 echo "$ac_t""no" 1>&6
11331 if test "x$JPEG_LINK" = "x" ; then
11332 if test "$wxUSE_LIBJPEG" = "sys" ; then
11333 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11335 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11336 wxUSE_LIBJPEG
=builtin
11344 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11345 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11352 if test "$wxUSE_LIBTIFF" != "no" ; then
11353 cat >> confdefs.h
<<\EOF
11354 #define wxUSE_LIBTIFF 1
11358 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11359 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11360 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11361 echo "configure:11362: checking for tiffio.h" >&5
11362 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11363 echo $ac_n "(cached) $ac_c" 1>&6
11365 cat > conftest.
$ac_ext <<EOF
11366 #line 11367 "configure"
11367 #include "confdefs.h"
11368 #include <tiffio.h>
11370 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11371 { (eval echo configure
:11372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11372 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11373 if test -z "$ac_err"; then
11375 eval "ac_cv_header_$ac_safe=yes"
11378 echo "configure: failed program was:" >&5
11379 cat conftest.
$ac_ext >&5
11381 eval "ac_cv_header_$ac_safe=no"
11385 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11386 echo "$ac_t""yes" 1>&6
11387 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11388 echo "configure:11389: checking for TIFFError in -ltiff" >&5
11389 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11390 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11391 echo $ac_n "(cached) $ac_c" 1>&6
11393 ac_save_LIBS
="$LIBS"
11394 LIBS
="-ltiff -lm $LIBS"
11395 cat > conftest.
$ac_ext <<EOF
11396 #line 11397 "configure"
11397 #include "confdefs.h"
11398 /* Override any gcc2 internal prototype to avoid an error. */
11399 /* We use char because int might match the return type of a gcc2
11400 builtin and then its argument prototype would still apply. */
11407 if { (eval echo configure
:11408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11409 eval "ac_cv_lib_$ac_lib_var=yes"
11411 echo "configure: failed program was:" >&5
11412 cat conftest.
$ac_ext >&5
11414 eval "ac_cv_lib_$ac_lib_var=no"
11417 LIBS
="$ac_save_LIBS"
11420 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11421 echo "$ac_t""yes" 1>&6
11422 TIFF_LINK
=" -ltiff"
11424 echo "$ac_t""no" 1>&6
11429 echo "$ac_t""no" 1>&6
11433 if test "x$TIFF_LINK" = "x" ; then
11434 if test "$wxUSE_LIBTIFF" = "sys" ; then
11435 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11437 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11438 wxUSE_LIBTIFF
=builtin
11445 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11446 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11457 if test "$USE_WIN32" = 1 ; then
11458 for ac_hdr
in w32api.h
11460 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11461 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11462 echo "configure:11463: checking for $ac_hdr" >&5
11463 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11464 echo $ac_n "(cached) $ac_c" 1>&6
11466 cat > conftest.
$ac_ext <<EOF
11467 #line 11468 "configure"
11468 #include "confdefs.h"
11471 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11472 { (eval echo configure
:11473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11473 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11474 if test -z "$ac_err"; then
11476 eval "ac_cv_header_$ac_safe=yes"
11479 echo "configure: failed program was:" >&5
11480 cat conftest.
$ac_ext >&5
11482 eval "ac_cv_header_$ac_safe=no"
11486 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11487 echo "$ac_t""yes" 1>&6
11488 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11489 cat >> confdefs.h
<<EOF
11490 #define $ac_tr_hdr 1
11494 echo "$ac_t""no" 1>&6
11498 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11499 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11500 echo "configure:11501: checking for windows.h" >&5
11501 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11502 echo $ac_n "(cached) $ac_c" 1>&6
11504 cat > conftest.
$ac_ext <<EOF
11505 #line 11506 "configure"
11506 #include "confdefs.h"
11507 #include <windows.h>
11509 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11510 { (eval echo configure
:11511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11511 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11512 if test -z "$ac_err"; then
11514 eval "ac_cv_header_$ac_safe=yes"
11517 echo "configure: failed program was:" >&5
11518 cat conftest.
$ac_ext >&5
11520 eval "ac_cv_header_$ac_safe=no"
11524 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11525 echo "$ac_t""yes" 1>&6
11528 echo "$ac_t""no" 1>&6
11530 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11535 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11536 echo "configure:11537: checking if w32api has good enough MSIE support" >&5
11537 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11538 echo $ac_n "(cached) $ac_c" 1>&6
11541 cat > conftest.
$ac_ext <<EOF
11542 #line 11543 "configure"
11543 #include "confdefs.h"
11544 #include <w32api.h>
11547 #define wxCHECK_W32API_VERSION( major, minor ) \
11548 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11549 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11550 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11552 #if !wxCHECK_W32API_VERSION(1,1)
11553 #error You need w32api 1.1 or newer
11558 if { (eval echo configure
:11559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11561 wx_cv_w32api_win32_ie
=yes
11564 echo "configure: failed program was:" >&5
11565 cat conftest.
$ac_ext >&5
11568 wx_cv_w32api_win32_ie
=no
11575 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11576 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11577 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
11580 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11584 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11585 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11588 if test "$wxUSE_ODBC" = "yes" ; then
11589 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
11592 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11593 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
11596 if test "$wxUSE_GUI" = "yes"; then
11605 if test "$wxUSE_MSW" = 1 ; then
11611 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11615 if test "$wxUSE_GTK" = 1; then
11616 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11617 echo "configure:11618: checking for GTK+ version" >&5
11619 gtk_version_cached
=1
11620 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11621 echo $ac_n "(cached) $ac_c" 1>&6
11624 gtk_version_cached
=0
11625 echo "$ac_t""" 1>&6
11628 if test "$wxUSE_THREADS" = "yes"; then
11629 GTK_MODULES
=gthread
11633 if test "x$wxUSE_GTK2" = "xyes"; then
11634 # Check whether --enable-gtktest or --disable-gtktest was given.
11635 if test "${enable_gtktest+set}" = set; then
11636 enableval
="$enable_gtktest"
11643 pkg_config_args
=gtk
+-2.0
11644 for module
in .
$GTK_MODULES
11648 pkg_config_args
="$pkg_config_args gthread-2.0"
11655 # Extract the first word of "pkg-config", so it can be a program name with args.
11656 set dummy pkg
-config; ac_word
=$2
11657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11658 echo "configure:11659: checking for $ac_word" >&5
11659 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11660 echo $ac_n "(cached) $ac_c" 1>&6
11662 case "$PKG_CONFIG" in
11664 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11667 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
11670 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11672 for ac_dir
in $ac_dummy; do
11673 test -z "$ac_dir" && ac_dir
=.
11674 if test -f $ac_dir/$ac_word; then
11675 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
11680 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11684 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11685 if test -n "$PKG_CONFIG"; then
11686 echo "$ac_t""$PKG_CONFIG" 1>&6
11688 echo "$ac_t""no" 1>&6
11692 if test x
$PKG_CONFIG != xno
; then
11693 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
11696 echo *** pkg
-config too old
; version
0.7 or better required.
11704 min_gtk_version
=2.0.0
11705 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
11706 echo "configure:11707: checking for GTK+ - version >= $min_gtk_version" >&5
11708 if test x
$PKG_CONFIG != xno
; then
11709 ## don't try to run the test against uninstalled libtool libs
11710 if $PKG_CONFIG --uninstalled $pkg_config_args; then
11711 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11715 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11722 if test x
"$no_gtk" = x
; then
11723 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
11724 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
11725 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11726 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11727 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11728 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11729 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11730 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11731 if test "x$enable_gtktest" = "xyes" ; then
11732 ac_save_CFLAGS
="$CFLAGS"
11733 ac_save_LIBS
="$LIBS"
11734 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11735 LIBS
="$GTK_LIBS $LIBS"
11737 if test "$cross_compiling" = yes; then
11738 echo $ac_n "cross compiling; assumed OK... $ac_c"
11740 cat > conftest.
$ac_ext <<EOF
11741 #line 11742 "configure"
11742 #include "confdefs.h"
11744 #include <gtk/gtk.h>
11746 #include <stdlib.h>
11751 int major, minor, micro;
11754 system ("touch conf.gtktest");
11756 /* HP/UX 9 (%@#!) writes to sscanf strings */
11757 tmp_version = g_strdup("$min_gtk_version");
11758 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11759 printf("%s, bad version string\n", "$min_gtk_version");
11763 if ((gtk_major_version != $gtk_config_major_version) ||
11764 (gtk_minor_version != $gtk_config_minor_version) ||
11765 (gtk_micro_version != $gtk_config_micro_version))
11767 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11768 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11769 gtk_major_version, gtk_minor_version, gtk_micro_version);
11770 printf ("*** was found! If pkg-config was correct, then it is best\n");
11771 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11772 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11773 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11774 printf("*** required on your system.\n");
11775 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
11776 printf("*** to point to the correct configuration files\n");
11778 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11779 (gtk_minor_version != GTK_MINOR_VERSION) ||
11780 (gtk_micro_version != GTK_MICRO_VERSION))
11782 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11783 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11784 printf("*** library (version %d.%d.%d)\n",
11785 gtk_major_version, gtk_minor_version, gtk_micro_version);
11789 if ((gtk_major_version > major) ||
11790 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11791 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11797 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11798 gtk_major_version, gtk_minor_version, gtk_micro_version);
11799 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11800 major, minor, micro);
11801 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11803 printf("*** If you have already installed a sufficiently new version, this error\n");
11804 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
11805 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11806 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
11807 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
11808 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11809 printf("*** so that the correct libraries are found at run-time))\n");
11816 if { (eval echo configure
:11817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11820 echo "configure: failed program was:" >&5
11821 cat conftest.
$ac_ext >&5
11828 CFLAGS
="$ac_save_CFLAGS"
11829 LIBS
="$ac_save_LIBS"
11832 if test "x$no_gtk" = x
; then
11833 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
11836 echo "$ac_t""no" 1>&6
11837 if test "$PKG_CONFIG" = "no" ; then
11838 echo "*** A new enough version of pkg-config was not found."
11839 echo "*** See http://pkgconfig.sourceforge.net"
11841 if test -f conf.gtktest
; then
11844 echo "*** Could not run GTK+ test program, checking why..."
11845 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11846 LIBS
="$LIBS $GTK_LIBS"
11847 cat > conftest.
$ac_ext <<EOF
11848 #line 11849 "configure"
11849 #include "confdefs.h"
11851 #include <gtk/gtk.h>
11855 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11858 if { (eval echo configure
:11859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11860 echo "*** The test program compiled, but did not run. This usually means"
11861 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
11862 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
11863 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11864 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11865 echo "*** is required on your system"
11867 echo "*** If you have an old version installed, it is best to remove it, although"
11868 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11870 echo "configure: failed program was:" >&5
11871 cat conftest.
$ac_ext >&5
11873 echo "*** The test program failed to compile or link. See the file config.log for the"
11874 echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
11875 echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
11876 echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
11879 CFLAGS
="$ac_save_CFLAGS"
11880 LIBS
="$ac_save_LIBS"
11893 if test -z "$wx_cv_lib_gtk"; then
11894 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
11895 if test "${with_gtk_prefix+set}" = set; then
11896 withval
="$with_gtk_prefix"
11897 gtk_config_prefix
="$withval"
11899 gtk_config_prefix
=""
11902 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
11903 if test "${with_gtk_exec_prefix+set}" = set; then
11904 withval
="$with_gtk_exec_prefix"
11905 gtk_config_exec_prefix
="$withval"
11907 gtk_config_exec_prefix
=""
11910 # Check whether --enable-gtktest or --disable-gtktest was given.
11911 if test "${enable_gtktest+set}" = set; then
11912 enableval
="$enable_gtktest"
11919 for module
in .
$GTK_MODULES
11923 gtk_config_args
="$gtk_config_args gthread"
11928 if test x
$gtk_config_exec_prefix != x
; then
11929 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
11930 if test x
${GTK_CONFIG+set} != xset
; then
11931 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
11934 if test x
$gtk_config_prefix != x
; then
11935 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
11936 if test x
${GTK_CONFIG+set} != xset
; then
11937 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
11941 # Extract the first word of "gtk-config", so it can be a program name with args.
11942 set dummy gtk
-config; ac_word
=$2
11943 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11944 echo "configure:11945: checking for $ac_word" >&5
11945 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
11946 echo $ac_n "(cached) $ac_c" 1>&6
11948 case "$GTK_CONFIG" in
11950 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
11953 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
11956 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11958 for ac_dir
in $ac_dummy; do
11959 test -z "$ac_dir" && ac_dir
=.
11960 if test -f $ac_dir/$ac_word; then
11961 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
11966 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
11970 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
11971 if test -n "$GTK_CONFIG"; then
11972 echo "$ac_t""$GTK_CONFIG" 1>&6
11974 echo "$ac_t""no" 1>&6
11977 min_gtk_version
=1.2.7
11978 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
11979 echo "configure:11980: checking for GTK - version >= $min_gtk_version" >&5
11981 if test "$GTK_CONFIG" = "no" ; then
11984 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
11985 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
11986 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
11987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11988 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
11989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11990 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
11991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11992 if test "x$enable_gtktest" = "xyes" ; then
11993 ac_save_CFLAGS
="$CFLAGS"
11994 ac_save_LIBS
="$LIBS"
11995 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11996 LIBS
="$GTK_LIBS $LIBS"
11998 if test "$cross_compiling" = yes; then
11999 echo $ac_n "cross compiling; assumed OK... $ac_c"
12001 cat > conftest.
$ac_ext <<EOF
12002 #line 12003 "configure"
12003 #include "confdefs.h"
12005 #include <gtk/gtk.h>
12007 #include <stdlib.h>
12012 int major, minor, micro;
12015 system ("touch conf.gtktest");
12017 /* HP/UX 9 (%@#!) writes to sscanf strings */
12018 tmp_version = g_strdup("$min_gtk_version");
12019 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12020 printf("%s, bad version string\n", "$min_gtk_version");
12024 if ((gtk_major_version != $gtk_config_major_version) ||
12025 (gtk_minor_version != $gtk_config_minor_version) ||
12026 (gtk_micro_version != $gtk_config_micro_version))
12028 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12029 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12030 gtk_major_version, gtk_minor_version, gtk_micro_version);
12031 printf ("*** was found! If gtk-config was correct, then it is best\n");
12032 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12033 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12034 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12035 printf("*** required on your system.\n");
12036 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12037 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12038 printf("*** before re-running configure\n");
12040 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12041 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12042 (gtk_minor_version != GTK_MINOR_VERSION) ||
12043 (gtk_micro_version != GTK_MICRO_VERSION))
12045 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12046 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12047 printf("*** library (version %d.%d.%d)\n",
12048 gtk_major_version, gtk_minor_version, gtk_micro_version);
12050 #endif /* defined (GTK_MAJOR_VERSION) ... */
12053 if ((gtk_major_version > major) ||
12054 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12055 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12061 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12062 gtk_major_version, gtk_minor_version, gtk_micro_version);
12063 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12064 major, minor, micro);
12065 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12067 printf("*** If you have already installed a sufficiently new version, this error\n");
12068 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12069 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12070 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12071 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12072 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12073 printf("*** so that the correct libraries are found at run-time))\n");
12080 if { (eval echo configure
:12081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12084 echo "configure: failed program was:" >&5
12085 cat conftest.
$ac_ext >&5
12092 CFLAGS
="$ac_save_CFLAGS"
12093 LIBS
="$ac_save_LIBS"
12096 if test "x$no_gtk" = x
; then
12097 echo "$ac_t""yes" 1>&6
12098 wx_cv_lib_gtk
=1.2.7
12100 echo "$ac_t""no" 1>&6
12101 if test "$GTK_CONFIG" = "no" ; then
12102 echo "*** The gtk-config script installed by GTK could not be found"
12103 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12104 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12105 echo "*** full path to gtk-config."
12107 if test -f conf.gtktest
; then
12110 echo "*** Could not run GTK test program, checking why..."
12111 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12112 LIBS
="$LIBS $GTK_LIBS"
12113 cat > conftest.
$ac_ext <<EOF
12114 #line 12115 "configure"
12115 #include "confdefs.h"
12117 #include <gtk/gtk.h>
12121 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12124 if { (eval echo configure
:12125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12126 echo "*** The test program compiled, but did not run. This usually means"
12127 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12128 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12129 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12130 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12131 echo "*** is required on your system"
12133 echo "*** If you have an old version installed, it is best to remove it, although"
12134 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12136 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12137 echo "*** came with the system with the command"
12139 echo "*** rpm --erase --nodeps gtk gtk-devel"
12141 echo "configure: failed program was:" >&5
12142 cat conftest.
$ac_ext >&5
12144 echo "*** The test program failed to compile or link. See the file config.log for the"
12145 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12146 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12147 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12150 CFLAGS
="$ac_save_CFLAGS"
12151 LIBS
="$ac_save_LIBS"
12164 if test -z "$wx_cv_lib_gtk"; then
12165 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12166 if test "${with_gtk_prefix+set}" = set; then
12167 withval
="$with_gtk_prefix"
12168 gtk_config_prefix
="$withval"
12170 gtk_config_prefix
=""
12173 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12174 if test "${with_gtk_exec_prefix+set}" = set; then
12175 withval
="$with_gtk_exec_prefix"
12176 gtk_config_exec_prefix
="$withval"
12178 gtk_config_exec_prefix
=""
12181 # Check whether --enable-gtktest or --disable-gtktest was given.
12182 if test "${enable_gtktest+set}" = set; then
12183 enableval
="$enable_gtktest"
12190 for module
in .
$GTK_MODULES
12194 gtk_config_args
="$gtk_config_args gthread"
12199 if test x
$gtk_config_exec_prefix != x
; then
12200 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12201 if test x
${GTK_CONFIG+set} != xset
; then
12202 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12205 if test x
$gtk_config_prefix != x
; then
12206 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12207 if test x
${GTK_CONFIG+set} != xset
; then
12208 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12212 # Extract the first word of "gtk-config", so it can be a program name with args.
12213 set dummy gtk
-config; ac_word
=$2
12214 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12215 echo "configure:12216: checking for $ac_word" >&5
12216 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12217 echo $ac_n "(cached) $ac_c" 1>&6
12219 case "$GTK_CONFIG" in
12221 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12224 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12227 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12229 for ac_dir
in $ac_dummy; do
12230 test -z "$ac_dir" && ac_dir
=.
12231 if test -f $ac_dir/$ac_word; then
12232 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12237 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12241 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12242 if test -n "$GTK_CONFIG"; then
12243 echo "$ac_t""$GTK_CONFIG" 1>&6
12245 echo "$ac_t""no" 1>&6
12248 min_gtk_version
=1.2.3
12249 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12250 echo "configure:12251: checking for GTK - version >= $min_gtk_version" >&5
12252 if test "$GTK_CONFIG" = "no" ; then
12255 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12256 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12257 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12259 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12261 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12262 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12263 if test "x$enable_gtktest" = "xyes" ; then
12264 ac_save_CFLAGS
="$CFLAGS"
12265 ac_save_LIBS
="$LIBS"
12266 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12267 LIBS
="$GTK_LIBS $LIBS"
12269 if test "$cross_compiling" = yes; then
12270 echo $ac_n "cross compiling; assumed OK... $ac_c"
12272 cat > conftest.
$ac_ext <<EOF
12273 #line 12274 "configure"
12274 #include "confdefs.h"
12276 #include <gtk/gtk.h>
12278 #include <stdlib.h>
12283 int major, minor, micro;
12286 system ("touch conf.gtktest");
12288 /* HP/UX 9 (%@#!) writes to sscanf strings */
12289 tmp_version = g_strdup("$min_gtk_version");
12290 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12291 printf("%s, bad version string\n", "$min_gtk_version");
12295 if ((gtk_major_version != $gtk_config_major_version) ||
12296 (gtk_minor_version != $gtk_config_minor_version) ||
12297 (gtk_micro_version != $gtk_config_micro_version))
12299 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12300 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12301 gtk_major_version, gtk_minor_version, gtk_micro_version);
12302 printf ("*** was found! If gtk-config was correct, then it is best\n");
12303 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12304 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12305 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12306 printf("*** required on your system.\n");
12307 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12308 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12309 printf("*** before re-running configure\n");
12311 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12312 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12313 (gtk_minor_version != GTK_MINOR_VERSION) ||
12314 (gtk_micro_version != GTK_MICRO_VERSION))
12316 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12317 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12318 printf("*** library (version %d.%d.%d)\n",
12319 gtk_major_version, gtk_minor_version, gtk_micro_version);
12321 #endif /* defined (GTK_MAJOR_VERSION) ... */
12324 if ((gtk_major_version > major) ||
12325 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12326 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12332 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12333 gtk_major_version, gtk_minor_version, gtk_micro_version);
12334 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12335 major, minor, micro);
12336 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12338 printf("*** If you have already installed a sufficiently new version, this error\n");
12339 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12340 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12341 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12342 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12343 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12344 printf("*** so that the correct libraries are found at run-time))\n");
12351 if { (eval echo configure
:12352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12355 echo "configure: failed program was:" >&5
12356 cat conftest.
$ac_ext >&5
12363 CFLAGS
="$ac_save_CFLAGS"
12364 LIBS
="$ac_save_LIBS"
12367 if test "x$no_gtk" = x
; then
12368 echo "$ac_t""yes" 1>&6
12369 wx_cv_lib_gtk
=1.2.3
12371 echo "$ac_t""no" 1>&6
12372 if test "$GTK_CONFIG" = "no" ; then
12373 echo "*** The gtk-config script installed by GTK could not be found"
12374 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12375 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12376 echo "*** full path to gtk-config."
12378 if test -f conf.gtktest
; then
12381 echo "*** Could not run GTK test program, checking why..."
12382 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12383 LIBS
="$LIBS $GTK_LIBS"
12384 cat > conftest.
$ac_ext <<EOF
12385 #line 12386 "configure"
12386 #include "confdefs.h"
12388 #include <gtk/gtk.h>
12392 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12395 if { (eval echo configure
:12396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12397 echo "*** The test program compiled, but did not run. This usually means"
12398 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12399 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12400 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12401 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12402 echo "*** is required on your system"
12404 echo "*** If you have an old version installed, it is best to remove it, although"
12405 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12407 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12408 echo "*** came with the system with the command"
12410 echo "*** rpm --erase --nodeps gtk gtk-devel"
12412 echo "configure: failed program was:" >&5
12413 cat conftest.
$ac_ext >&5
12415 echo "*** The test program failed to compile or link. See the file config.log for the"
12416 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12417 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12418 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12421 CFLAGS
="$ac_save_CFLAGS"
12422 LIBS
="$ac_save_LIBS"
12435 if test -z "$wx_cv_lib_gtk"; then
12438 wx_cv_cflags_gtk
=$GTK_CFLAGS
12439 wx_cv_libs_gtk
=$GTK_LIBS
12446 if test "$gtk_version_cached" = 1; then
12447 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12450 case "$wx_cv_lib_gtk" in
12458 *) { echo "configure: error:
12459 Please check that gtk-config is in path, the directory
12460 where GTK+ libraries are installed (returned by
12461 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12462 equivalent variable and GTK+ is version 1.2.3 or above.
12467 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
12468 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
12470 AFMINSTALL
=afminstall
12474 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12475 echo "configure:12476: checking for gdk_im_open in -lgdk" >&5
12476 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12477 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12478 echo $ac_n "(cached) $ac_c" 1>&6
12480 ac_save_LIBS
="$LIBS"
12482 cat > conftest.
$ac_ext <<EOF
12483 #line 12484 "configure"
12484 #include "confdefs.h"
12485 /* Override any gcc2 internal prototype to avoid an error. */
12486 /* We use char because int might match the return type of a gcc2
12487 builtin and then its argument prototype would still apply. */
12488 char gdk_im_open();
12494 if { (eval echo configure
:12495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12496 eval "ac_cv_lib_$ac_lib_var=yes"
12498 echo "configure: failed program was:" >&5
12499 cat conftest.
$ac_ext >&5
12501 eval "ac_cv_lib_$ac_lib_var=no"
12504 LIBS
="$ac_save_LIBS"
12507 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12508 echo "$ac_t""yes" 1>&6
12509 cat >> confdefs.h
<<\EOF
12514 echo "$ac_t""no" 1>&6
12519 if test "$wxUSE_MGL" = 1; then
12520 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12521 echo "configure:12522: checking for SciTech MGL library" >&5
12522 if test "x$MGL_ROOT" = x
; then
12523 echo "$ac_t""not found" 1>&6
12524 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12526 echo "$ac_t""$MGL_ROOT" 1>&6
12531 mgl_os
=linux
/gcc
/glibc
12537 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12542 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12543 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
12544 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
12548 if test "x$mgl_lib_type" = x
; then
12549 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
12550 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
12551 mgl_lib_type
=release
12553 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12557 wxUSE_UNIVERSAL
="yes"
12559 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
12560 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12562 AFMINSTALL
=afminstall
12567 if test "$wxUSE_MICROWIN" = 1; then
12568 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12569 echo "configure:12570: checking for MicroWindows" >&5
12570 if test "x$MICROWINDOWS" = x
; then
12571 echo "$ac_t""not found" 1>&6
12572 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12574 echo "$ac_t""$MICROWINDOWS" 1>&6
12577 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
12578 echo "$ac_t""MicroWindows' libraries found." 1>&6
12580 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
12583 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
12584 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
12586 wxUSE_UNIVERSAL
="yes"
12588 AFMINSTALL
=afminstall
12590 GUIDIST
=MICROWIN_DIST
12592 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
12595 if test "$wxUSE_X11" = 1; then
12596 # If we find X, set shell vars x_includes and x_libraries to the
12597 # paths, otherwise set no_x=yes.
12598 # Uses ac_ vars as temps to allow command line to override cache and checks.
12599 # --without-x overrides everything else, but does not touch the cache.
12600 echo $ac_n "checking for X""... $ac_c" 1>&6
12601 echo "configure:12602: checking for X" >&5
12603 # Check whether --with-x or --without-x was given.
12604 if test "${with_x+set}" = set; then
12609 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12610 if test "x$with_x" = xno
; then
12611 # The user explicitly disabled X.
12614 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
12615 # Both variables are already set.
12618 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
12619 echo $ac_n "(cached) $ac_c" 1>&6
12621 # One or both of the vars are not set, and there is no cached value.
12622 ac_x_includes
=NO ac_x_libraries
=NO
12624 if mkdir conftestdir
; then
12626 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
12627 cat > Imakefile
<<'EOF'
12629 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
12631 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
12632 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12633 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
12634 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12635 for ac_extension
in a so sl
; do
12636 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
12637 test -f $ac_im_libdir/libX11.
$ac_extension; then
12638 ac_im_usrlibdir
=$ac_im_libdir; break
12641 # Screen out bogus values from the imake configuration. They are
12642 # bogus both because they are the default anyway, and because
12643 # using them would break gcc on systems where it needs fixed includes.
12644 case "$ac_im_incroot" in
12646 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
12648 case "$ac_im_usrlibdir" in
12649 /usr
/lib
| /lib
) ;;
12650 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
12657 if test "$ac_x_includes" = NO
; then
12658 # Guess where to find include files, by looking for this one X11 .h file.
12659 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
12661 # First, try using that file with no special directory specified.
12662 cat > conftest.
$ac_ext <<EOF
12663 #line 12664 "configure"
12664 #include "confdefs.h"
12665 #include <$x_direct_test_include>
12667 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12668 { (eval echo configure
:12669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12669 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12670 if test -z "$ac_err"; then
12672 # We can compile using X headers with no special include directory.
12676 echo "configure: failed program was:" >&5
12677 cat conftest.
$ac_ext >&5
12679 # Look for the header file in a standard set of common directories.
12680 # Check X11 before X11Rn because it is often a symlink to the current release.
12683 /usr
/X
11R
6/include \
12684 /usr
/X
11R
5/include \
12685 /usr
/X
11R
4/include \
12688 /usr
/include
/X11R6 \
12689 /usr
/include
/X11R5 \
12690 /usr
/include
/X11R4 \
12692 /usr
/local
/X
11/include \
12693 /usr
/local
/X
11R
6/include \
12694 /usr
/local
/X
11R
5/include \
12695 /usr
/local
/X
11R
4/include \
12697 /usr
/local
/include
/X11 \
12698 /usr
/local
/include
/X11R6 \
12699 /usr
/local
/include
/X11R5 \
12700 /usr
/local
/include
/X11R4 \
12702 /usr
/X
386/include \
12703 /usr
/x
386/include \
12704 /usr
/XFree
86/include
/X11 \
12707 /usr
/local
/include \
12708 /usr
/unsupported
/include \
12709 /usr
/athena
/include \
12710 /usr
/local
/x
11r
5/include \
12711 /usr
/lpp
/Xamples
/include \
12713 /usr
/openwin
/include \
12714 /usr
/openwin
/share
/include \
12717 if test -r "$ac_dir/$x_direct_test_include"; then
12718 ac_x_includes
=$ac_dir
12724 fi # $ac_x_includes = NO
12726 if test "$ac_x_libraries" = NO
; then
12727 # Check for the libraries.
12729 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
12730 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
12732 # See if we find them without any special options.
12733 # Don't add to $LIBS permanently.
12734 ac_save_LIBS
="$LIBS"
12735 LIBS
="-l$x_direct_test_library $LIBS"
12736 cat > conftest.
$ac_ext <<EOF
12737 #line 12738 "configure"
12738 #include "confdefs.h"
12741 ${x_direct_test_function}()
12744 if { (eval echo configure
:12745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12746 LIBS
="$ac_save_LIBS"
12747 # We can link X programs with no special library path.
12750 echo "configure: failed program was:" >&5
12751 cat conftest.
$ac_ext >&5
12753 LIBS
="$ac_save_LIBS"
12754 # First see if replacing the include by lib works.
12755 # Check X11 before X11Rn because it is often a symlink to the current release.
12756 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
12767 /usr
/local
/X
11/lib \
12768 /usr
/local
/X
11R
6/lib \
12769 /usr
/local
/X
11R
5/lib \
12770 /usr
/local
/X
11R
4/lib \
12772 /usr
/local
/lib
/X11 \
12773 /usr
/local
/lib
/X11R6 \
12774 /usr
/local
/lib
/X11R5 \
12775 /usr
/local
/lib
/X11R4 \
12779 /usr
/XFree
86/lib
/X11 \
12783 /usr
/unsupported
/lib \
12785 /usr
/local
/x
11r
5/lib \
12786 /usr
/lpp
/Xamples
/lib \
12790 /usr
/openwin
/share
/lib \
12793 for ac_extension
in a so sl
; do
12794 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
12795 ac_x_libraries
=$ac_dir
12802 fi # $ac_x_libraries = NO
12804 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
12805 # Didn't find X anywhere. Cache the known absence of X.
12806 ac_cv_have_x
="have_x=no"
12808 # Record where we found X for the cache.
12809 ac_cv_have_x
="have_x=yes \
12810 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
12814 eval "$ac_cv_have_x"
12817 if test "$have_x" != yes; then
12818 echo "$ac_t""$have_x" 1>&6
12821 # If each of the values was on the command line, it overrides each guess.
12822 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
12823 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
12824 # Update the cache value to reflect the command line values.
12825 ac_cv_have_x
="have_x=yes \
12826 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
12827 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
12830 if test "$no_x" = yes; then
12831 # Not all programs may use this symbol, but it does not hurt to define it.
12832 cat >> confdefs.h
<<\EOF
12833 #define X_DISPLAY_MISSING 1
12836 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12838 if test -n "$x_includes"; then
12839 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12842 # It would also be nice to do this for all -L options, not just this one.
12843 if test -n "$x_libraries"; then
12844 X_LIBS
="$X_LIBS -L$x_libraries"
12845 # For Solaris; some versions of Sun CC require a space after -R and
12846 # others require no space. Words are not sufficient . . . .
12847 case "`(uname -sr) 2>/dev/null`" in
12849 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12850 echo "configure:12851: checking whether -R must be followed by a space" >&5
12851 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12852 cat > conftest.
$ac_ext <<EOF
12853 #line 12854 "configure"
12854 #include "confdefs.h"
12860 if { (eval echo configure
:12861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12864 echo "configure: failed program was:" >&5
12865 cat conftest.
$ac_ext >&5
12870 if test $ac_R_nospace = yes; then
12871 echo "$ac_t""no" 1>&6
12872 X_LIBS
="$X_LIBS -R$x_libraries"
12874 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12875 cat > conftest.
$ac_ext <<EOF
12876 #line 12877 "configure"
12877 #include "confdefs.h"
12883 if { (eval echo configure
:12884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12887 echo "configure: failed program was:" >&5
12888 cat conftest.
$ac_ext >&5
12893 if test $ac_R_space = yes; then
12894 echo "$ac_t""yes" 1>&6
12895 X_LIBS
="$X_LIBS -R $x_libraries"
12897 echo "$ac_t""neither works" 1>&6
12900 LIBS
="$ac_xsave_LIBS"
12904 # Check for system-dependent libraries X programs must link with.
12905 # Do this before checking for the system-independent R6 libraries
12906 # (-lICE), since we may need -lsocket or whatever for X linking.
12908 if test "$ISC" = yes; then
12909 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
12911 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
12912 # libraries were built with DECnet support. And karl@cs.umb.edu says
12913 # the Alpha needs dnet_stub (dnet does not exist).
12914 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
12915 echo "configure:12916: checking for dnet_ntoa in -ldnet" >&5
12916 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12917 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12918 echo $ac_n "(cached) $ac_c" 1>&6
12920 ac_save_LIBS
="$LIBS"
12921 LIBS
="-ldnet $LIBS"
12922 cat > conftest.
$ac_ext <<EOF
12923 #line 12924 "configure"
12924 #include "confdefs.h"
12925 /* Override any gcc2 internal prototype to avoid an error. */
12926 /* We use char because int might match the return type of a gcc2
12927 builtin and then its argument prototype would still apply. */
12934 if { (eval echo configure
:12935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12936 eval "ac_cv_lib_$ac_lib_var=yes"
12938 echo "configure: failed program was:" >&5
12939 cat conftest.
$ac_ext >&5
12941 eval "ac_cv_lib_$ac_lib_var=no"
12944 LIBS
="$ac_save_LIBS"
12947 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12948 echo "$ac_t""yes" 1>&6
12949 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
12951 echo "$ac_t""no" 1>&6
12954 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
12955 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
12956 echo "configure:12957: checking for dnet_ntoa in -ldnet_stub" >&5
12957 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12958 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12959 echo $ac_n "(cached) $ac_c" 1>&6
12961 ac_save_LIBS
="$LIBS"
12962 LIBS
="-ldnet_stub $LIBS"
12963 cat > conftest.
$ac_ext <<EOF
12964 #line 12965 "configure"
12965 #include "confdefs.h"
12966 /* Override any gcc2 internal prototype to avoid an error. */
12967 /* We use char because int might match the return type of a gcc2
12968 builtin and then its argument prototype would still apply. */
12975 if { (eval echo configure
:12976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12977 eval "ac_cv_lib_$ac_lib_var=yes"
12979 echo "configure: failed program was:" >&5
12980 cat conftest.
$ac_ext >&5
12982 eval "ac_cv_lib_$ac_lib_var=no"
12985 LIBS
="$ac_save_LIBS"
12988 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12989 echo "$ac_t""yes" 1>&6
12990 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
12992 echo "$ac_t""no" 1>&6
12997 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12998 # to get the SysV transport functions.
12999 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13001 # The nsl library prevents programs from opening the X display
13002 # on Irix 5.2, according to dickey@clark.net.
13003 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13004 echo "configure:13005: checking for gethostbyname" >&5
13005 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13006 echo $ac_n "(cached) $ac_c" 1>&6
13008 cat > conftest.
$ac_ext <<EOF
13009 #line 13010 "configure"
13010 #include "confdefs.h"
13011 /* System header to define __stub macros and hopefully few prototypes,
13012 which can conflict with char gethostbyname(); below. */
13013 #include <assert.h>
13014 /* Override any gcc2 internal prototype to avoid an error. */
13015 /* We use char because int might match the return type of a gcc2
13016 builtin and then its argument prototype would still apply. */
13017 char gethostbyname();
13021 /* The GNU C library defines this for functions which it implements
13022 to always fail with ENOSYS. Some functions are actually named
13023 something starting with __ and the normal name is an alias. */
13024 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13032 if { (eval echo configure
:13033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13034 eval "ac_cv_func_gethostbyname=yes"
13036 echo "configure: failed program was:" >&5
13037 cat conftest.
$ac_ext >&5
13039 eval "ac_cv_func_gethostbyname=no"
13044 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13045 echo "$ac_t""yes" 1>&6
13048 echo "$ac_t""no" 1>&6
13051 if test $ac_cv_func_gethostbyname = no
; then
13052 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13053 echo "configure:13054: checking for gethostbyname in -lnsl" >&5
13054 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13055 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13056 echo $ac_n "(cached) $ac_c" 1>&6
13058 ac_save_LIBS
="$LIBS"
13060 cat > conftest.
$ac_ext <<EOF
13061 #line 13062 "configure"
13062 #include "confdefs.h"
13063 /* Override any gcc2 internal prototype to avoid an error. */
13064 /* We use char because int might match the return type of a gcc2
13065 builtin and then its argument prototype would still apply. */
13066 char gethostbyname();
13072 if { (eval echo configure
:13073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13074 eval "ac_cv_lib_$ac_lib_var=yes"
13076 echo "configure: failed program was:" >&5
13077 cat conftest.
$ac_ext >&5
13079 eval "ac_cv_lib_$ac_lib_var=no"
13082 LIBS
="$ac_save_LIBS"
13085 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13086 echo "$ac_t""yes" 1>&6
13087 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13089 echo "$ac_t""no" 1>&6
13094 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13095 # socket/setsockopt and other routines are undefined under SCO ODT
13096 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13097 # on later versions), says simon@lia.di.epfl.ch: it contains
13098 # gethostby* variants that don't use the nameserver (or something).
13099 # -lsocket must be given before -lnsl if both are needed.
13100 # We assume that if connect needs -lnsl, so does gethostbyname.
13101 echo $ac_n "checking for connect""... $ac_c" 1>&6
13102 echo "configure:13103: checking for connect" >&5
13103 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13104 echo $ac_n "(cached) $ac_c" 1>&6
13106 cat > conftest.
$ac_ext <<EOF
13107 #line 13108 "configure"
13108 #include "confdefs.h"
13109 /* System header to define __stub macros and hopefully few prototypes,
13110 which can conflict with char connect(); below. */
13111 #include <assert.h>
13112 /* Override any gcc2 internal prototype to avoid an error. */
13113 /* We use char because int might match the return type of a gcc2
13114 builtin and then its argument prototype would still apply. */
13119 /* The GNU C library defines this for functions which it implements
13120 to always fail with ENOSYS. Some functions are actually named
13121 something starting with __ and the normal name is an alias. */
13122 #if defined (__stub_connect) || defined (__stub___connect)
13130 if { (eval echo configure
:13131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13132 eval "ac_cv_func_connect=yes"
13134 echo "configure: failed program was:" >&5
13135 cat conftest.
$ac_ext >&5
13137 eval "ac_cv_func_connect=no"
13142 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13143 echo "$ac_t""yes" 1>&6
13146 echo "$ac_t""no" 1>&6
13149 if test $ac_cv_func_connect = no
; then
13150 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13151 echo "configure:13152: checking for connect in -lsocket" >&5
13152 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13153 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13154 echo $ac_n "(cached) $ac_c" 1>&6
13156 ac_save_LIBS
="$LIBS"
13157 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13158 cat > conftest.
$ac_ext <<EOF
13159 #line 13160 "configure"
13160 #include "confdefs.h"
13161 /* Override any gcc2 internal prototype to avoid an error. */
13162 /* We use char because int might match the return type of a gcc2
13163 builtin and then its argument prototype would still apply. */
13170 if { (eval echo configure
:13171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13172 eval "ac_cv_lib_$ac_lib_var=yes"
13174 echo "configure: failed program was:" >&5
13175 cat conftest.
$ac_ext >&5
13177 eval "ac_cv_lib_$ac_lib_var=no"
13180 LIBS
="$ac_save_LIBS"
13183 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13184 echo "$ac_t""yes" 1>&6
13185 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13187 echo "$ac_t""no" 1>&6
13192 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13193 echo $ac_n "checking for remove""... $ac_c" 1>&6
13194 echo "configure:13195: checking for remove" >&5
13195 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13196 echo $ac_n "(cached) $ac_c" 1>&6
13198 cat > conftest.
$ac_ext <<EOF
13199 #line 13200 "configure"
13200 #include "confdefs.h"
13201 /* System header to define __stub macros and hopefully few prototypes,
13202 which can conflict with char remove(); below. */
13203 #include <assert.h>
13204 /* Override any gcc2 internal prototype to avoid an error. */
13205 /* We use char because int might match the return type of a gcc2
13206 builtin and then its argument prototype would still apply. */
13211 /* The GNU C library defines this for functions which it implements
13212 to always fail with ENOSYS. Some functions are actually named
13213 something starting with __ and the normal name is an alias. */
13214 #if defined (__stub_remove) || defined (__stub___remove)
13222 if { (eval echo configure
:13223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13224 eval "ac_cv_func_remove=yes"
13226 echo "configure: failed program was:" >&5
13227 cat conftest.
$ac_ext >&5
13229 eval "ac_cv_func_remove=no"
13234 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13235 echo "$ac_t""yes" 1>&6
13238 echo "$ac_t""no" 1>&6
13241 if test $ac_cv_func_remove = no
; then
13242 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13243 echo "configure:13244: checking for remove in -lposix" >&5
13244 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13245 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13246 echo $ac_n "(cached) $ac_c" 1>&6
13248 ac_save_LIBS
="$LIBS"
13249 LIBS
="-lposix $LIBS"
13250 cat > conftest.
$ac_ext <<EOF
13251 #line 13252 "configure"
13252 #include "confdefs.h"
13253 /* Override any gcc2 internal prototype to avoid an error. */
13254 /* We use char because int might match the return type of a gcc2
13255 builtin and then its argument prototype would still apply. */
13262 if { (eval echo configure
:13263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13264 eval "ac_cv_lib_$ac_lib_var=yes"
13266 echo "configure: failed program was:" >&5
13267 cat conftest.
$ac_ext >&5
13269 eval "ac_cv_lib_$ac_lib_var=no"
13272 LIBS
="$ac_save_LIBS"
13275 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13276 echo "$ac_t""yes" 1>&6
13277 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
13279 echo "$ac_t""no" 1>&6
13284 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13285 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13286 echo "configure:13287: checking for shmat" >&5
13287 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13288 echo $ac_n "(cached) $ac_c" 1>&6
13290 cat > conftest.
$ac_ext <<EOF
13291 #line 13292 "configure"
13292 #include "confdefs.h"
13293 /* System header to define __stub macros and hopefully few prototypes,
13294 which can conflict with char shmat(); below. */
13295 #include <assert.h>
13296 /* Override any gcc2 internal prototype to avoid an error. */
13297 /* We use char because int might match the return type of a gcc2
13298 builtin and then its argument prototype would still apply. */
13303 /* The GNU C library defines this for functions which it implements
13304 to always fail with ENOSYS. Some functions are actually named
13305 something starting with __ and the normal name is an alias. */
13306 #if defined (__stub_shmat) || defined (__stub___shmat)
13314 if { (eval echo configure
:13315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13316 eval "ac_cv_func_shmat=yes"
13318 echo "configure: failed program was:" >&5
13319 cat conftest.
$ac_ext >&5
13321 eval "ac_cv_func_shmat=no"
13326 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13327 echo "$ac_t""yes" 1>&6
13330 echo "$ac_t""no" 1>&6
13333 if test $ac_cv_func_shmat = no
; then
13334 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13335 echo "configure:13336: checking for shmat in -lipc" >&5
13336 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13337 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13338 echo $ac_n "(cached) $ac_c" 1>&6
13340 ac_save_LIBS
="$LIBS"
13342 cat > conftest.
$ac_ext <<EOF
13343 #line 13344 "configure"
13344 #include "confdefs.h"
13345 /* Override any gcc2 internal prototype to avoid an error. */
13346 /* We use char because int might match the return type of a gcc2
13347 builtin and then its argument prototype would still apply. */
13354 if { (eval echo configure
:13355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13356 eval "ac_cv_lib_$ac_lib_var=yes"
13358 echo "configure: failed program was:" >&5
13359 cat conftest.
$ac_ext >&5
13361 eval "ac_cv_lib_$ac_lib_var=no"
13364 LIBS
="$ac_save_LIBS"
13367 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13368 echo "$ac_t""yes" 1>&6
13369 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
13371 echo "$ac_t""no" 1>&6
13377 # Check for libraries that X11R6 Xt/Xaw programs need.
13378 ac_save_LDFLAGS
="$LDFLAGS"
13379 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
13380 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13381 # check for ICE first), but we must link in the order -lSM -lICE or
13382 # we get undefined symbols. So assume we have SM if we have ICE.
13383 # These have to be linked with before -lX11, unlike the other
13384 # libraries we check for below, so use a different variable.
13385 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13386 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13387 echo "configure:13388: checking for IceConnectionNumber in -lICE" >&5
13388 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13389 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13390 echo $ac_n "(cached) $ac_c" 1>&6
13392 ac_save_LIBS
="$LIBS"
13393 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
13394 cat > conftest.
$ac_ext <<EOF
13395 #line 13396 "configure"
13396 #include "confdefs.h"
13397 /* Override any gcc2 internal prototype to avoid an error. */
13398 /* We use char because int might match the return type of a gcc2
13399 builtin and then its argument prototype would still apply. */
13400 char IceConnectionNumber();
13403 IceConnectionNumber()
13406 if { (eval echo configure
:13407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13408 eval "ac_cv_lib_$ac_lib_var=yes"
13410 echo "configure: failed program was:" >&5
13411 cat conftest.
$ac_ext >&5
13413 eval "ac_cv_lib_$ac_lib_var=no"
13416 LIBS
="$ac_save_LIBS"
13419 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13420 echo "$ac_t""yes" 1>&6
13421 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
13423 echo "$ac_t""no" 1>&6
13426 LDFLAGS
="$ac_save_LDFLAGS"
13431 if test "$no_x" = "yes"; then
13432 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13435 GUI_TK_LIBRARY
="$X_LIBS"
13436 TOOLKIT_INCLUDE
="$X_CFLAGS"
13437 AFMINSTALL
=afminstall
13438 COMPILED_X_PROGRAM
=0
13440 if test "$wxUSE_NANOX" = "yes"; then
13441 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13442 echo "configure:13443: checking for MicroWindows/NanoX distribution" >&5
13443 if test "x$MICROWIN" = x
; then
13444 echo "$ac_t""not found" 1>&6
13445 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13447 echo "$ac_t""$MICROWIN" 1>&6
13448 cat >> confdefs.h
<<\EOF
13449 #define wxUSE_NANOX 1
13456 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13457 echo "configure:13458: checking for Xpm library" >&5
13460 for ac_dir
in $SEARCH_LIB;
13462 for ac_extension
in a so sl dylib
; do
13463 if test -f "$ac_dir/libXpm.$ac_extension"; then
13464 ac_find_libraries
=$ac_dir
13470 if test "$ac_find_libraries" != "" ; then
13472 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13474 if test $result = 0; then
13477 ac_path_to_link
=" -L$ac_find_libraries"
13480 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13482 cat >> confdefs.h
<<\EOF
13483 #define wxHAVE_LIB_XPM 1
13486 echo "$ac_t""found at $ac_find_libraries" 1>&6
13488 cat > conftest.
$ac_ext <<EOF
13489 #line 13490 "configure"
13490 #include "confdefs.h"
13492 #include <X11/xpm.h>
13497 version = XpmLibraryVersion();
13501 if { (eval echo configure
:13502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13505 cat >> confdefs.h
<<\EOF
13506 #define wxHAVE_LIB_XPM 1
13509 echo "$ac_t""found in default search path" 1>&6
13510 COMPILED_X_PROGRAM
=0
13513 echo "configure: failed program was:" >&5
13514 cat conftest.
$ac_ext >&5
13517 echo "$ac_t""no" 1>&6
13518 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13525 wxUSE_UNIVERSAL
="yes"
13527 if test "$wxUSE_NANOX" = "yes"; then
13528 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13529 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"
13530 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13532 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
13535 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
13540 if test "$wxUSE_WINE" = 1; then
13541 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
13542 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13543 echo "configure:13544: checking for windows.h" >&5
13544 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13545 echo $ac_n "(cached) $ac_c" 1>&6
13547 cat > conftest.
$ac_ext <<EOF
13548 #line 13549 "configure"
13549 #include "confdefs.h"
13550 #include <windows.h>
13552 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13553 { (eval echo configure
:13554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13554 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13555 if test -z "$ac_err"; then
13557 eval "ac_cv_header_$ac_safe=yes"
13560 echo "configure: failed program was:" >&5
13561 cat conftest.
$ac_ext >&5
13563 eval "ac_cv_header_$ac_safe=no"
13567 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13568 echo "$ac_t""yes" 1>&6
13571 echo "$ac_t""no" 1>&6
13573 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13579 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13580 echo "configure:13581: checking for Xpm library" >&5
13583 for ac_dir
in $SEARCH_LIB;
13585 for ac_extension
in a so sl dylib
; do
13586 if test -f "$ac_dir/libXpm.$ac_extension"; then
13587 ac_find_libraries
=$ac_dir
13593 if test "$ac_find_libraries" != "" ; then
13594 GUI_TK_LIBRARY
="-L$ac_find_libraries"
13596 cat >> confdefs.h
<<\EOF
13597 #define wxHAVE_LIB_XPM 1
13600 echo "$ac_t""found at $ac_find_libraries" 1>&6
13602 echo "$ac_t""no" 1>&6
13603 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13607 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
13608 echo "configure:13609: checking for Mesa library" >&5
13611 for ac_dir
in $SEARCH_LIB;
13613 for ac_extension
in a so sl dylib
; do
13614 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13615 ac_find_libraries
=$ac_dir
13621 if test "$ac_find_libraries" != "" ; then
13622 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
13623 mesa_link
=" -lMesaGL"
13624 echo "$ac_t""found at $ac_find_libraries" 1>&6
13626 { echo "configure: error: no" 1>&2; exit 1; }
13629 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
13632 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
13635 if test "$wxUSE_MOTIF" = 1; then
13636 if test "$no_x" = yes; then
13637 # Not all programs may use this symbol, but it does not hurt to define it.
13638 cat >> confdefs.h
<<\EOF
13639 #define X_DISPLAY_MISSING 1
13642 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13644 if test -n "$x_includes"; then
13645 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13648 # It would also be nice to do this for all -L options, not just this one.
13649 if test -n "$x_libraries"; then
13650 X_LIBS
="$X_LIBS -L$x_libraries"
13651 # For Solaris; some versions of Sun CC require a space after -R and
13652 # others require no space. Words are not sufficient . . . .
13653 case "`(uname -sr) 2>/dev/null`" in
13655 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13656 echo "configure:13657: checking whether -R must be followed by a space" >&5
13657 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13658 cat > conftest.
$ac_ext <<EOF
13659 #line 13660 "configure"
13660 #include "confdefs.h"
13666 if { (eval echo configure
:13667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13670 echo "configure: failed program was:" >&5
13671 cat conftest.
$ac_ext >&5
13676 if test $ac_R_nospace = yes; then
13677 echo "$ac_t""no" 1>&6
13678 X_LIBS
="$X_LIBS -R$x_libraries"
13680 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13681 cat > conftest.
$ac_ext <<EOF
13682 #line 13683 "configure"
13683 #include "confdefs.h"
13689 if { (eval echo configure
:13690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13693 echo "configure: failed program was:" >&5
13694 cat conftest.
$ac_ext >&5
13699 if test $ac_R_space = yes; then
13700 echo "$ac_t""yes" 1>&6
13701 X_LIBS
="$X_LIBS -R $x_libraries"
13703 echo "$ac_t""neither works" 1>&6
13706 LIBS
="$ac_xsave_LIBS"
13710 # Check for system-dependent libraries X programs must link with.
13711 # Do this before checking for the system-independent R6 libraries
13712 # (-lICE), since we may need -lsocket or whatever for X linking.
13714 if test "$ISC" = yes; then
13715 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13717 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13718 # libraries were built with DECnet support. And karl@cs.umb.edu says
13719 # the Alpha needs dnet_stub (dnet does not exist).
13720 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13721 echo "configure:13722: checking for dnet_ntoa in -ldnet" >&5
13722 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13723 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13724 echo $ac_n "(cached) $ac_c" 1>&6
13726 ac_save_LIBS
="$LIBS"
13727 LIBS
="-ldnet $LIBS"
13728 cat > conftest.
$ac_ext <<EOF
13729 #line 13730 "configure"
13730 #include "confdefs.h"
13731 /* Override any gcc2 internal prototype to avoid an error. */
13732 /* We use char because int might match the return type of a gcc2
13733 builtin and then its argument prototype would still apply. */
13740 if { (eval echo configure
:13741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13742 eval "ac_cv_lib_$ac_lib_var=yes"
13744 echo "configure: failed program was:" >&5
13745 cat conftest.
$ac_ext >&5
13747 eval "ac_cv_lib_$ac_lib_var=no"
13750 LIBS
="$ac_save_LIBS"
13753 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13754 echo "$ac_t""yes" 1>&6
13755 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13757 echo "$ac_t""no" 1>&6
13760 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13761 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13762 echo "configure:13763: checking for dnet_ntoa in -ldnet_stub" >&5
13763 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13764 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13765 echo $ac_n "(cached) $ac_c" 1>&6
13767 ac_save_LIBS
="$LIBS"
13768 LIBS
="-ldnet_stub $LIBS"
13769 cat > conftest.
$ac_ext <<EOF
13770 #line 13771 "configure"
13771 #include "confdefs.h"
13772 /* Override any gcc2 internal prototype to avoid an error. */
13773 /* We use char because int might match the return type of a gcc2
13774 builtin and then its argument prototype would still apply. */
13781 if { (eval echo configure
:13782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13783 eval "ac_cv_lib_$ac_lib_var=yes"
13785 echo "configure: failed program was:" >&5
13786 cat conftest.
$ac_ext >&5
13788 eval "ac_cv_lib_$ac_lib_var=no"
13791 LIBS
="$ac_save_LIBS"
13794 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13795 echo "$ac_t""yes" 1>&6
13796 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13798 echo "$ac_t""no" 1>&6
13803 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13804 # to get the SysV transport functions.
13805 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13807 # The nsl library prevents programs from opening the X display
13808 # on Irix 5.2, according to dickey@clark.net.
13809 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13810 echo "configure:13811: checking for gethostbyname" >&5
13811 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13812 echo $ac_n "(cached) $ac_c" 1>&6
13814 cat > conftest.
$ac_ext <<EOF
13815 #line 13816 "configure"
13816 #include "confdefs.h"
13817 /* System header to define __stub macros and hopefully few prototypes,
13818 which can conflict with char gethostbyname(); below. */
13819 #include <assert.h>
13820 /* Override any gcc2 internal prototype to avoid an error. */
13821 /* We use char because int might match the return type of a gcc2
13822 builtin and then its argument prototype would still apply. */
13823 char gethostbyname();
13827 /* The GNU C library defines this for functions which it implements
13828 to always fail with ENOSYS. Some functions are actually named
13829 something starting with __ and the normal name is an alias. */
13830 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13838 if { (eval echo configure
:13839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13840 eval "ac_cv_func_gethostbyname=yes"
13842 echo "configure: failed program was:" >&5
13843 cat conftest.
$ac_ext >&5
13845 eval "ac_cv_func_gethostbyname=no"
13850 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13851 echo "$ac_t""yes" 1>&6
13854 echo "$ac_t""no" 1>&6
13857 if test $ac_cv_func_gethostbyname = no
; then
13858 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13859 echo "configure:13860: checking for gethostbyname in -lnsl" >&5
13860 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13862 echo $ac_n "(cached) $ac_c" 1>&6
13864 ac_save_LIBS
="$LIBS"
13866 cat > conftest.
$ac_ext <<EOF
13867 #line 13868 "configure"
13868 #include "confdefs.h"
13869 /* Override any gcc2 internal prototype to avoid an error. */
13870 /* We use char because int might match the return type of a gcc2
13871 builtin and then its argument prototype would still apply. */
13872 char gethostbyname();
13878 if { (eval echo configure
:13879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13880 eval "ac_cv_lib_$ac_lib_var=yes"
13882 echo "configure: failed program was:" >&5
13883 cat conftest.
$ac_ext >&5
13885 eval "ac_cv_lib_$ac_lib_var=no"
13888 LIBS
="$ac_save_LIBS"
13891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13892 echo "$ac_t""yes" 1>&6
13893 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13895 echo "$ac_t""no" 1>&6
13900 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13901 # socket/setsockopt and other routines are undefined under SCO ODT
13902 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13903 # on later versions), says simon@lia.di.epfl.ch: it contains
13904 # gethostby* variants that don't use the nameserver (or something).
13905 # -lsocket must be given before -lnsl if both are needed.
13906 # We assume that if connect needs -lnsl, so does gethostbyname.
13907 echo $ac_n "checking for connect""... $ac_c" 1>&6
13908 echo "configure:13909: checking for connect" >&5
13909 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13910 echo $ac_n "(cached) $ac_c" 1>&6
13912 cat > conftest.
$ac_ext <<EOF
13913 #line 13914 "configure"
13914 #include "confdefs.h"
13915 /* System header to define __stub macros and hopefully few prototypes,
13916 which can conflict with char connect(); below. */
13917 #include <assert.h>
13918 /* Override any gcc2 internal prototype to avoid an error. */
13919 /* We use char because int might match the return type of a gcc2
13920 builtin and then its argument prototype would still apply. */
13925 /* The GNU C library defines this for functions which it implements
13926 to always fail with ENOSYS. Some functions are actually named
13927 something starting with __ and the normal name is an alias. */
13928 #if defined (__stub_connect) || defined (__stub___connect)
13936 if { (eval echo configure
:13937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13938 eval "ac_cv_func_connect=yes"
13940 echo "configure: failed program was:" >&5
13941 cat conftest.
$ac_ext >&5
13943 eval "ac_cv_func_connect=no"
13948 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13949 echo "$ac_t""yes" 1>&6
13952 echo "$ac_t""no" 1>&6
13955 if test $ac_cv_func_connect = no
; then
13956 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13957 echo "configure:13958: checking for connect in -lsocket" >&5
13958 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13959 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13960 echo $ac_n "(cached) $ac_c" 1>&6
13962 ac_save_LIBS
="$LIBS"
13963 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13964 cat > conftest.
$ac_ext <<EOF
13965 #line 13966 "configure"
13966 #include "confdefs.h"
13967 /* Override any gcc2 internal prototype to avoid an error. */
13968 /* We use char because int might match the return type of a gcc2
13969 builtin and then its argument prototype would still apply. */
13976 if { (eval echo configure
:13977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13978 eval "ac_cv_lib_$ac_lib_var=yes"
13980 echo "configure: failed program was:" >&5
13981 cat conftest.
$ac_ext >&5
13983 eval "ac_cv_lib_$ac_lib_var=no"
13986 LIBS
="$ac_save_LIBS"
13989 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13990 echo "$ac_t""yes" 1>&6
13991 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13993 echo "$ac_t""no" 1>&6
13998 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13999 echo $ac_n "checking for remove""... $ac_c" 1>&6
14000 echo "configure:14001: checking for remove" >&5
14001 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14002 echo $ac_n "(cached) $ac_c" 1>&6
14004 cat > conftest.
$ac_ext <<EOF
14005 #line 14006 "configure"
14006 #include "confdefs.h"
14007 /* System header to define __stub macros and hopefully few prototypes,
14008 which can conflict with char remove(); below. */
14009 #include <assert.h>
14010 /* Override any gcc2 internal prototype to avoid an error. */
14011 /* We use char because int might match the return type of a gcc2
14012 builtin and then its argument prototype would still apply. */
14017 /* The GNU C library defines this for functions which it implements
14018 to always fail with ENOSYS. Some functions are actually named
14019 something starting with __ and the normal name is an alias. */
14020 #if defined (__stub_remove) || defined (__stub___remove)
14028 if { (eval echo configure
:14029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14030 eval "ac_cv_func_remove=yes"
14032 echo "configure: failed program was:" >&5
14033 cat conftest.
$ac_ext >&5
14035 eval "ac_cv_func_remove=no"
14040 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14041 echo "$ac_t""yes" 1>&6
14044 echo "$ac_t""no" 1>&6
14047 if test $ac_cv_func_remove = no
; then
14048 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14049 echo "configure:14050: checking for remove in -lposix" >&5
14050 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14051 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14052 echo $ac_n "(cached) $ac_c" 1>&6
14054 ac_save_LIBS
="$LIBS"
14055 LIBS
="-lposix $LIBS"
14056 cat > conftest.
$ac_ext <<EOF
14057 #line 14058 "configure"
14058 #include "confdefs.h"
14059 /* Override any gcc2 internal prototype to avoid an error. */
14060 /* We use char because int might match the return type of a gcc2
14061 builtin and then its argument prototype would still apply. */
14068 if { (eval echo configure
:14069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14070 eval "ac_cv_lib_$ac_lib_var=yes"
14072 echo "configure: failed program was:" >&5
14073 cat conftest.
$ac_ext >&5
14075 eval "ac_cv_lib_$ac_lib_var=no"
14078 LIBS
="$ac_save_LIBS"
14081 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14082 echo "$ac_t""yes" 1>&6
14083 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14085 echo "$ac_t""no" 1>&6
14090 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14091 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14092 echo "configure:14093: checking for shmat" >&5
14093 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14094 echo $ac_n "(cached) $ac_c" 1>&6
14096 cat > conftest.
$ac_ext <<EOF
14097 #line 14098 "configure"
14098 #include "confdefs.h"
14099 /* System header to define __stub macros and hopefully few prototypes,
14100 which can conflict with char shmat(); below. */
14101 #include <assert.h>
14102 /* Override any gcc2 internal prototype to avoid an error. */
14103 /* We use char because int might match the return type of a gcc2
14104 builtin and then its argument prototype would still apply. */
14109 /* The GNU C library defines this for functions which it implements
14110 to always fail with ENOSYS. Some functions are actually named
14111 something starting with __ and the normal name is an alias. */
14112 #if defined (__stub_shmat) || defined (__stub___shmat)
14120 if { (eval echo configure
:14121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14122 eval "ac_cv_func_shmat=yes"
14124 echo "configure: failed program was:" >&5
14125 cat conftest.
$ac_ext >&5
14127 eval "ac_cv_func_shmat=no"
14132 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14133 echo "$ac_t""yes" 1>&6
14136 echo "$ac_t""no" 1>&6
14139 if test $ac_cv_func_shmat = no
; then
14140 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14141 echo "configure:14142: checking for shmat in -lipc" >&5
14142 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14143 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14144 echo $ac_n "(cached) $ac_c" 1>&6
14146 ac_save_LIBS
="$LIBS"
14148 cat > conftest.
$ac_ext <<EOF
14149 #line 14150 "configure"
14150 #include "confdefs.h"
14151 /* Override any gcc2 internal prototype to avoid an error. */
14152 /* We use char because int might match the return type of a gcc2
14153 builtin and then its argument prototype would still apply. */
14160 if { (eval echo configure
:14161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14162 eval "ac_cv_lib_$ac_lib_var=yes"
14164 echo "configure: failed program was:" >&5
14165 cat conftest.
$ac_ext >&5
14167 eval "ac_cv_lib_$ac_lib_var=no"
14170 LIBS
="$ac_save_LIBS"
14173 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14174 echo "$ac_t""yes" 1>&6
14175 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14177 echo "$ac_t""no" 1>&6
14183 # Check for libraries that X11R6 Xt/Xaw programs need.
14184 ac_save_LDFLAGS
="$LDFLAGS"
14185 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14186 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14187 # check for ICE first), but we must link in the order -lSM -lICE or
14188 # we get undefined symbols. So assume we have SM if we have ICE.
14189 # These have to be linked with before -lX11, unlike the other
14190 # libraries we check for below, so use a different variable.
14191 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14192 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14193 echo "configure:14194: checking for IceConnectionNumber in -lICE" >&5
14194 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14195 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14196 echo $ac_n "(cached) $ac_c" 1>&6
14198 ac_save_LIBS
="$LIBS"
14199 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14200 cat > conftest.
$ac_ext <<EOF
14201 #line 14202 "configure"
14202 #include "confdefs.h"
14203 /* Override any gcc2 internal prototype to avoid an error. */
14204 /* We use char because int might match the return type of a gcc2
14205 builtin and then its argument prototype would still apply. */
14206 char IceConnectionNumber();
14209 IceConnectionNumber()
14212 if { (eval echo configure
:14213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14214 eval "ac_cv_lib_$ac_lib_var=yes"
14216 echo "configure: failed program was:" >&5
14217 cat conftest.
$ac_ext >&5
14219 eval "ac_cv_lib_$ac_lib_var=no"
14222 LIBS
="$ac_save_LIBS"
14225 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14226 echo "$ac_t""yes" 1>&6
14227 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14229 echo "$ac_t""no" 1>&6
14232 LDFLAGS
="$ac_save_LDFLAGS"
14237 if test "$no_x" = "yes"; then
14238 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14241 GUI_TK_LIBRARY
="$X_LIBS"
14242 TOOLKIT_INCLUDE
="$X_CFLAGS"
14243 AFMINSTALL
=afminstall
14244 COMPILED_X_PROGRAM
=0
14246 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14247 echo "configure:14248: checking for Motif/Lesstif headers" >&5
14250 for ac_dir
in $SEARCH_INCLUDE;
14252 if test -f "$ac_dir/Xm/Xm.h"; then
14253 ac_find_includes
=$ac_dir
14258 if test "$ac_find_includes" != "" ; then
14259 echo "$ac_t""found $ac_find_includes" 1>&6
14261 cat > conftest.
$ac_ext <<EOF
14262 #line 14263 "configure"
14263 #include "confdefs.h"
14270 version = xmUseVersion;
14274 if { (eval echo configure
:14275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14277 echo "$ac_t""found in default search path" 1>&6
14278 COMPILED_X_PROGRAM
=1
14281 echo "configure: failed program was:" >&5
14282 cat conftest.
$ac_ext >&5
14285 echo "$ac_t""no" 1>&6
14286 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14293 if test "$COMPILED_X_PROGRAM" = 0; then
14294 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14295 echo "configure:14296: checking for Motif/Lesstif library" >&5
14298 for ac_dir
in $SEARCH_LIB;
14300 for ac_extension
in a so sl dylib
; do
14301 if test -f "$ac_dir/libXm.$ac_extension"; then
14302 ac_find_libraries
=$ac_dir
14308 if test "$ac_find_libraries" != "" ; then
14310 ac_path_to_include
=$ac_find_includes
14311 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
14313 if test $result = 0; then
14314 ac_path_to_include
=""
14316 ac_path_to_include
=" -I$ac_find_includes"
14320 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14322 if test $result = 0; then
14325 ac_path_to_link
=" -L$ac_find_libraries"
14329 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14330 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
14331 echo "$ac_t""found at $ac_find_libraries" 1>&6
14333 cat > conftest.
$ac_ext <<EOF
14334 #line 14335 "configure"
14335 #include "confdefs.h"
14342 version = xmUseVersion;
14346 if { (eval echo configure
:14347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14349 echo "$ac_t""found in default search path" 1>&6
14350 COMPILED_X_PROGRAM
=1
14353 echo "configure: failed program was:" >&5
14354 cat conftest.
$ac_ext >&5
14357 echo "$ac_t""no" 1>&6
14358 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14367 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14368 echo "configure:14369: checking for Xpm library" >&5
14371 for ac_dir
in $SEARCH_LIB;
14373 for ac_extension
in a so sl dylib
; do
14374 if test -f "$ac_dir/libXpm.$ac_extension"; then
14375 ac_find_libraries
=$ac_dir
14381 if test "$ac_find_libraries" != "" ; then
14383 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14385 if test $result = 0; then
14388 ac_path_to_link
=" -L$ac_find_libraries"
14391 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14393 cat >> confdefs.h
<<\EOF
14394 #define wxHAVE_LIB_XPM 1
14397 echo "$ac_t""found at $ac_find_libraries" 1>&6
14399 cat > conftest.
$ac_ext <<EOF
14400 #line 14401 "configure"
14401 #include "confdefs.h"
14403 #include <X11/xpm.h>
14408 version = XpmLibraryVersion();
14412 if { (eval echo configure
:14413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14416 cat >> confdefs.h
<<\EOF
14417 #define wxHAVE_LIB_XPM 1
14420 echo "$ac_t""found in default search path" 1>&6
14421 COMPILED_X_PROGRAM
=0
14424 echo "configure: failed program was:" >&5
14425 cat conftest.
$ac_ext >&5
14428 echo "$ac_t""no" 1>&6
14429 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14436 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
14437 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14442 if test "$wxUSE_MAC" = 1; then
14443 if test "$wxUSE_PRECOMP" = "yes"; then
14444 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
14446 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
14448 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
14449 CFLAGS
="$CFLAGS -fpascal-strings"
14450 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
14452 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14457 if test "$wxUSE_PM" = 1; then
14462 if test "$TOOLKIT" = "PM" ; then
14465 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14468 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14470 if test "$wxUSE_UNIVERSAL" = "yes"; then
14471 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14473 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14474 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14476 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14477 if test "$wxUSE_X11" = 1; then
14478 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14480 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14482 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14485 ALL_OBJECTS
="\$(GUIOBJS)"
14486 ALL_SOURCES
="\$(ALL_SOURCES)"
14487 ALL_HEADERS
="\$(ALL_HEADERS)"
14490 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14492 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14493 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
14496 if test "$wxUSE_HTML" = "yes"; then
14497 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
14500 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14501 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
14503 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14504 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
14506 if test "$wxUSE_LIBPNG" = "builtin" ; then
14507 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
14510 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14511 DISTDIR
="wx\$(TOOLKIT)"
14517 if test "$USE_WIN32" = 1 ; then
14518 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
14519 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
14523 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
14524 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
14527 ALL_SOURCES
="\$(ALL_SOURCES)"
14528 ALL_HEADERS
="\$(ALL_HEADERS)"
14530 PORT_FILES
="\${top_srcdir}/src/files.lst"
14532 GUIDIST
="BASE_DIST"
14537 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
14538 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
14541 if test "$wxUSE_REGEX" = "builtin" ; then
14542 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
14544 if test "$wxUSE_ZLIB" = "builtin" ; then
14545 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
14549 if test "$wxUSE_OPENGL" = "yes"; then
14550 if test "$wxUSE_MAC" = 1; then
14551 OPENGL_LIBS
="-framework OpenGL -framework AGL"
14552 elif test "$wxUSE_MSW" = 1; then
14553 OPENGL_LIBS
="-lopengl32 -lglu32"
14555 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14556 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14557 echo "configure:14558: checking for GL/gl.h" >&5
14558 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14559 echo $ac_n "(cached) $ac_c" 1>&6
14561 cat > conftest.
$ac_ext <<EOF
14562 #line 14563 "configure"
14563 #include "confdefs.h"
14566 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14567 { (eval echo configure
:14568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14568 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14569 if test -z "$ac_err"; then
14571 eval "ac_cv_header_$ac_safe=yes"
14574 echo "configure: failed program was:" >&5
14575 cat conftest.
$ac_ext >&5
14577 eval "ac_cv_header_$ac_safe=no"
14581 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14582 echo "$ac_t""yes" 1>&6
14584 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
14585 echo "configure:14586: checking for -lGL" >&5
14588 for ac_dir
in $SEARCH_LIB;
14590 for ac_extension
in a so sl dylib
; do
14591 if test -f "$ac_dir/libGL.$ac_extension"; then
14592 ac_find_libraries
=$ac_dir
14598 if test "$ac_find_libraries" != "" ; then
14600 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14602 if test $result = 0; then
14605 ac_path_to_link
=" -L$ac_find_libraries"
14608 if test "$ac_path_to_link" = " -L/usr/lib" ; then
14609 LDFLAGS_GL
="$LDFLAGS"
14611 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14613 OPENGL_LIBS
="-lGL -lGLU"
14614 echo "$ac_t""yes" 1>&6
14616 echo "$ac_t""no" 1>&6
14617 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
14618 echo "configure:14619: checking for -lMesaGL" >&5
14621 for ac_dir
in $SEARCH_LIB;
14623 for ac_extension
in a so sl dylib
; do
14624 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14625 ac_find_libraries
=$ac_dir
14631 if test "$ac_find_libraries" != "" ; then
14633 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14635 if test $result = 0; then
14638 ac_path_to_link
=" -L$ac_find_libraries"
14641 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14642 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
14643 echo "$ac_t""yes" 1>&6
14645 echo "$ac_t""no" 1>&6
14650 echo "$ac_t""no" 1>&6
14654 if test "x$OPENGL_LIBS" = "x"; then
14655 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
14659 if test "$wxUSE_OPENGL" = "yes"; then
14660 cat >> confdefs.h
<<\EOF
14661 #define wxUSE_OPENGL 1
14664 cat >> confdefs.h
<<\EOF
14665 #define wxUSE_GLCANVAS 1
14668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
14672 if test -z "$TOOLKIT_VPATH" ; then
14673 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
14676 if test -n "$TOOLKIT" ; then
14677 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
14680 lib_unicode_suffix
=
14681 if test "$wxUSE_UNICODE" = "yes"; then
14682 lib_unicode_suffix
=u
14686 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
14690 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
14691 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
14693 if test "$cross_compiling" = "yes"; then
14694 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
14695 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
14698 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
14699 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
14701 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14702 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14704 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
14705 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14706 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
14707 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14710 *-*-cygwin* | *-*-mingw32* )
14714 if test "$cross_compiling" != "yes"; then
14715 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14716 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14717 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
14718 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
14720 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14721 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14726 if test "$wxUSE_MAC" = 1; then
14727 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
14728 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
14733 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
14734 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
14736 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
14737 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
14739 if test "$wxUSE_OPENGL" = "yes"; then
14740 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
14741 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
14746 if test "$wxUSE_SHARED" = "yes"; then
14748 *-pc-os2_emx | *-pc-os2-emx | \
14751 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
14756 if test "$wxUSE_SHARED" = "yes"; then
14758 if test "$wxUSE_OPENGL" = "yes"; then
14759 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
14760 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
14762 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
14763 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
14766 if test "$GCC" = "yes"; then
14770 SHARED_LD
="${CXX} -shared -o"
14774 if test "$GCC" == "yes"; then
14775 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
14777 LDFLAGS
="$LDFLAGS -L/usr/lib"
14779 SHARED_LD
="${CXX} -b -o"
14783 if test "$wxUSE_OPENGL" = "yes"; then
14784 WX_ALL_INSTALLED
="preinstall_gl"
14785 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
14787 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
14792 if test "$GCC" != "yes"; then
14793 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
14794 echo "configure:14795: checking for Intel compiler" >&5
14795 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
14796 echo $ac_n "(cached) $ac_c" 1>&6
14799 cat > conftest.
$ac_ext <<EOF
14800 #line 14801 "configure"
14801 #include "confdefs.h"
14805 #ifndef __INTEL_COMPILER
14811 if { (eval echo configure
:14812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14815 echo "configure: failed program was:" >&5
14816 cat conftest.
$ac_ext >&5
14825 echo "$ac_t""$wx_cv_prog_icc" 1>&6
14826 if test "$wx_cv_prog_icc" = "yes"; then
14831 if test "$wxUSE_SONAME" = "yes" ; then
14832 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
14833 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
14834 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
14839 if test "$GCC" = yes ; then
14840 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
14842 SHARED_LD
="${CXX} -G -o"
14844 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
14845 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
14850 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
14851 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
14852 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
14853 PIC_FLAG
="-dynamic -fPIC"
14854 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
14855 SONAME_FLAGS_GL
=${SONAME_FLAGS}
14859 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
14860 set dummy makeC
++SharedLib
; ac_word
=$2
14861 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14862 echo "configure:14863: checking for $ac_word" >&5
14863 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
14864 echo $ac_n "(cached) $ac_c" 1>&6
14866 if test -n "$AIX_CXX_LD"; then
14867 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
14869 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14871 for ac_dir
in $ac_dummy; do
14872 test -z "$ac_dir" && ac_dir
=.
14873 if test -f $ac_dir/$ac_word; then
14874 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
14879 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
14882 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
14883 if test -n "$AIX_CXX_LD"; then
14884 echo "$ac_t""$AIX_CXX_LD" 1>&6
14886 echo "$ac_t""no" 1>&6
14890 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
14893 *-*-cygwin* | *-*-mingw32* )
14895 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
14897 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
14898 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
14900 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
14902 if test "$wxUSE_OPENGL" = "yes"; then
14903 WX_ALL_INSTALLED
="preinstall_gl"
14904 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
14906 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
14911 SHARED_LD
="${LD} -shared -o"
14914 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
14916 *-*-irix5* | *-*-irix6* | \
14923 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
14926 if test "x$WX_TARGET_LIBRARY" = "x"; then
14927 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
14928 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
14931 WX_TARGET_LIBRARY_TYPE
="so"
14932 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
14935 if test "$wxUSE_SHARED" = "no"; then
14937 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
14938 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
14941 if test "$wxUSE_MAC" = 1; then
14942 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
14945 if test "$wxUSE_OPENGL" = "yes"; then
14946 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
14947 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
14949 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
14952 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
14953 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
14955 WX_TARGET_LIBRARY_TYPE
="a"
14956 INSTALL_LIBRARY
='$(INSTALL_DATA)'
14959 if test "$wxUSE_MAC" = 1; then
14960 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
14961 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
14962 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
14963 # Extract the first word of "Rez", so it can be a program name with args.
14964 set dummy Rez
; ac_word
=$2
14965 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14966 echo "configure:14967: checking for $ac_word" >&5
14967 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
14968 echo $ac_n "(cached) $ac_c" 1>&6
14970 if test -n "$RESCOMP"; then
14971 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
14973 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14975 for ac_dir
in $ac_dummy; do
14976 test -z "$ac_dir" && ac_dir
=.
14977 if test -f $ac_dir/$ac_word; then
14978 ac_cv_prog_RESCOMP
="Rez"
14983 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
14986 RESCOMP
="$ac_cv_prog_RESCOMP"
14987 if test -n "$RESCOMP"; then
14988 echo "$ac_t""$RESCOMP" 1>&6
14990 echo "$ac_t""no" 1>&6
14993 # Extract the first word of "DeRez", so it can be a program name with args.
14994 set dummy DeRez
; ac_word
=$2
14995 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14996 echo "configure:14997: checking for $ac_word" >&5
14997 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14998 echo $ac_n "(cached) $ac_c" 1>&6
15000 if test -n "$DEREZ"; then
15001 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
15003 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15005 for ac_dir
in $ac_dummy; do
15006 test -z "$ac_dir" && ac_dir
=.
15007 if test -f $ac_dir/$ac_word; then
15008 ac_cv_prog_DEREZ
="DeRez"
15013 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
15016 DEREZ
="$ac_cv_prog_DEREZ"
15017 if test -n "$DEREZ"; then
15018 echo "$ac_t""$DEREZ" 1>&6
15020 echo "$ac_t""no" 1>&6
15023 MACOSX_BUNDLE
="bundle"
15024 if test "$wxUSE_SHARED" = "yes"; then
15025 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
15026 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
15028 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
15029 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
15032 if test "$wxUSE_PM" = 1; then
15033 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
15038 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
15039 echo "configure:15040: checking for ANSI C header files" >&5
15040 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
15041 echo $ac_n "(cached) $ac_c" 1>&6
15043 cat > conftest.
$ac_ext <<EOF
15044 #line 15045 "configure"
15045 #include "confdefs.h"
15046 #include <stdlib.h>
15047 #include <stdarg.h>
15048 #include <string.h>
15051 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15052 { (eval echo configure
:15053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15053 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15054 if test -z "$ac_err"; then
15056 ac_cv_header_stdc
=yes
15059 echo "configure: failed program was:" >&5
15060 cat conftest.
$ac_ext >&5
15062 ac_cv_header_stdc
=no
15066 if test $ac_cv_header_stdc = yes; then
15067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15068 cat > conftest.
$ac_ext <<EOF
15069 #line 15070 "configure"
15070 #include "confdefs.h"
15071 #include <string.h>
15073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15074 egrep "memchr" >/dev
/null
2>&1; then
15078 ac_cv_header_stdc
=no
15084 if test $ac_cv_header_stdc = yes; then
15085 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15086 cat > conftest.
$ac_ext <<EOF
15087 #line 15088 "configure"
15088 #include "confdefs.h"
15089 #include <stdlib.h>
15091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15092 egrep "free" >/dev
/null
2>&1; then
15096 ac_cv_header_stdc
=no
15102 if test $ac_cv_header_stdc = yes; then
15103 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15104 if test "$cross_compiling" = yes; then
15107 cat > conftest.
$ac_ext <<EOF
15108 #line 15109 "configure"
15109 #include "confdefs.h"
15111 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15112 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15113 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15114 int main () { int i; for (i = 0; i < 256; i++)
15115 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15119 if { (eval echo configure
:15120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15123 echo "configure: failed program was:" >&5
15124 cat conftest.
$ac_ext >&5
15126 ac_cv_header_stdc
=no
15134 echo "$ac_t""$ac_cv_header_stdc" 1>&6
15135 if test $ac_cv_header_stdc = yes; then
15136 cat >> confdefs.h
<<\EOF
15137 #define STDC_HEADERS 1
15142 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15143 echo "configure:15144: checking for mode_t" >&5
15144 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
15145 echo $ac_n "(cached) $ac_c" 1>&6
15147 cat > conftest.
$ac_ext <<EOF
15148 #line 15149 "configure"
15149 #include "confdefs.h"
15150 #include <sys/types.h>
15152 #include <stdlib.h>
15153 #include <stddef.h>
15156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15157 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15159 ac_cv_type_mode_t
=yes
15162 ac_cv_type_mode_t
=no
15167 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15168 if test $ac_cv_type_mode_t = no
; then
15169 cat >> confdefs.h
<<\EOF
15175 echo $ac_n "checking for off_t""... $ac_c" 1>&6
15176 echo "configure:15177: checking for off_t" >&5
15177 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
15178 echo $ac_n "(cached) $ac_c" 1>&6
15180 cat > conftest.
$ac_ext <<EOF
15181 #line 15182 "configure"
15182 #include "confdefs.h"
15183 #include <sys/types.h>
15185 #include <stdlib.h>
15186 #include <stddef.h>
15189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15190 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15192 ac_cv_type_off_t
=yes
15195 ac_cv_type_off_t
=no
15200 echo "$ac_t""$ac_cv_type_off_t" 1>&6
15201 if test $ac_cv_type_off_t = no
; then
15202 cat >> confdefs.h
<<\EOF
15208 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15209 echo "configure:15210: checking for pid_t" >&5
15210 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
15211 echo $ac_n "(cached) $ac_c" 1>&6
15213 cat > conftest.
$ac_ext <<EOF
15214 #line 15215 "configure"
15215 #include "confdefs.h"
15216 #include <sys/types.h>
15218 #include <stdlib.h>
15219 #include <stddef.h>
15222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15223 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15225 ac_cv_type_pid_t
=yes
15228 ac_cv_type_pid_t
=no
15233 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15234 if test $ac_cv_type_pid_t = no
; then
15235 cat >> confdefs.h
<<\EOF
15241 echo $ac_n "checking for size_t""... $ac_c" 1>&6
15242 echo "configure:15243: checking for size_t" >&5
15243 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
15244 echo $ac_n "(cached) $ac_c" 1>&6
15246 cat > conftest.
$ac_ext <<EOF
15247 #line 15248 "configure"
15248 #include "confdefs.h"
15249 #include <sys/types.h>
15251 #include <stdlib.h>
15252 #include <stddef.h>
15255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15256 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15258 ac_cv_type_size_t
=yes
15261 ac_cv_type_size_t
=no
15266 echo "$ac_t""$ac_cv_type_size_t" 1>&6
15267 if test $ac_cv_type_size_t = no
; then
15268 cat >> confdefs.h
<<\EOF
15269 #define size_t unsigned
15274 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15275 echo "configure:15276: checking for uid_t in sys/types.h" >&5
15276 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15277 echo $ac_n "(cached) $ac_c" 1>&6
15279 cat > conftest.
$ac_ext <<EOF
15280 #line 15281 "configure"
15281 #include "confdefs.h"
15282 #include <sys/types.h>
15284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15285 egrep "uid_t" >/dev
/null
2>&1; then
15287 ac_cv_type_uid_t
=yes
15290 ac_cv_type_uid_t
=no
15296 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15297 if test $ac_cv_type_uid_t = no
; then
15298 cat >> confdefs.h
<<\EOF
15302 cat >> confdefs.h
<<\EOF
15311 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15312 ac_cpp
='$CXXCPP $CPPFLAGS'
15313 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15314 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15315 cross_compiling
=$ac_cv_prog_cxx_cross
15317 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15318 echo "configure:15319: checking if size_t is unsigned int" >&5
15319 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15320 echo $ac_n "(cached) $ac_c" 1>&6
15322 cat > conftest.
$ac_ext <<EOF
15323 #line 15324 "configure"
15324 #include "confdefs.h"
15325 #include <stddef.h>
15330 struct Foo { void foo(size_t); void foo(unsigned int); };
15336 if { (eval echo configure
:15337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15338 wx_cv_size_t_is_uint
=no
15340 echo "configure: failed program was:" >&5
15341 cat conftest.
$ac_ext >&5
15343 wx_cv_size_t_is_uint
=yes
15350 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15352 if test "$wx_cv_size_t_is_uint" = "yes"; then
15353 cat >> confdefs.h
<<\EOF
15354 #define wxSIZE_T_IS_UINT 1
15358 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15359 echo "configure:15360: checking if size_t is unsigned long" >&5
15360 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15361 echo $ac_n "(cached) $ac_c" 1>&6
15363 cat > conftest.
$ac_ext <<EOF
15364 #line 15365 "configure"
15365 #include "confdefs.h"
15366 #include <stddef.h>
15371 struct Foo { void foo(size_t); void foo(unsigned long); };
15377 if { (eval echo configure
:15378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15379 wx_cv_size_t_is_ulong
=no
15381 echo "configure: failed program was:" >&5
15382 cat conftest.
$ac_ext >&5
15384 wx_cv_size_t_is_ulong
=yes
15391 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15393 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15394 cat >> confdefs.h
<<\EOF
15395 #define wxSIZE_T_IS_ULONG 1
15402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15403 ac_cpp
='$CPP $CPPFLAGS'
15404 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15405 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15406 cross_compiling
=$ac_cv_prog_cc_cross
15410 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15411 echo "configure:15412: checking for pw_gecos in struct passwd" >&5
15412 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15413 echo $ac_n "(cached) $ac_c" 1>&6
15416 cat > conftest.
$ac_ext <<EOF
15417 #line 15418 "configure"
15418 #include "confdefs.h"
15428 if { (eval echo configure
:15429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15431 wx_cv_struct_pw_gecos
=yes
15434 echo "configure: failed program was:" >&5
15435 cat conftest.
$ac_ext >&5
15438 wx_cv_struct_pw_gecos
=no
15447 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15449 if test "$wx_cv_struct_pw_gecos" = "yes"; then
15450 cat >> confdefs.h
<<\EOF
15451 #define HAVE_PW_GECOS 1
15458 if test "$wx_cv_sizeof_wchar_t" != "0"; then
15460 for ac_func
in wcslen
15462 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15463 echo "configure:15464: checking for $ac_func" >&5
15464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15465 echo $ac_n "(cached) $ac_c" 1>&6
15467 cat > conftest.
$ac_ext <<EOF
15468 #line 15469 "configure"
15469 #include "confdefs.h"
15470 /* System header to define __stub macros and hopefully few prototypes,
15471 which can conflict with char $ac_func(); below. */
15472 #include <assert.h>
15473 /* Override any gcc2 internal prototype to avoid an error. */
15474 /* We use char because int might match the return type of a gcc2
15475 builtin and then its argument prototype would still apply. */
15480 /* The GNU C library defines this for functions which it implements
15481 to always fail with ENOSYS. Some functions are actually named
15482 something starting with __ and the normal name is an alias. */
15483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15491 if { (eval echo configure
:15492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15493 eval "ac_cv_func_$ac_func=yes"
15495 echo "configure: failed program was:" >&5
15496 cat conftest.
$ac_ext >&5
15498 eval "ac_cv_func_$ac_func=no"
15503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15504 echo "$ac_t""yes" 1>&6
15505 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15506 cat >> confdefs.h
<<EOF
15507 #define $ac_tr_func 1
15510 cat >> confdefs.h
<<\EOF
15511 #define HAVE_WCSLEN 1
15517 echo "$ac_t""no" 1>&6
15522 if test "$WCHAR_OK" = 0; then
15523 if test "$TOOLKIT" = "MSW"; then
15524 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15525 echo "configure:15526: checking for wcslen in -lmsvcrt" >&5
15526 ac_lib_var
=`echo msvcrt'_'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"
15531 LIBS
="-lmsvcrt $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
15567 echo "$ac_t""no" 1>&6
15571 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15572 echo "configure:15573: checking for wcslen in -lw" >&5
15573 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15574 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15575 echo $ac_n "(cached) $ac_c" 1>&6
15577 ac_save_LIBS
="$LIBS"
15579 cat > conftest.
$ac_ext <<EOF
15580 #line 15581 "configure"
15581 #include "confdefs.h"
15582 /* Override any gcc2 internal prototype to avoid an error. */
15583 /* We use char because int might match the return type of a gcc2
15584 builtin and then its argument prototype would still apply. */
15591 if { (eval echo configure
:15592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15593 eval "ac_cv_lib_$ac_lib_var=yes"
15595 echo "configure: failed program was:" >&5
15596 cat conftest.
$ac_ext >&5
15598 eval "ac_cv_lib_$ac_lib_var=no"
15601 LIBS
="$ac_save_LIBS"
15604 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15605 echo "$ac_t""yes" 1>&6
15607 cat >> confdefs.h
<<\EOF
15608 #define HAVE_WCSLEN 1
15615 echo "$ac_t""no" 1>&6
15622 if test "$WCHAR_OK" = 1; then
15623 cat >> confdefs.h
<<\EOF
15624 #define wxUSE_WCHAR_T 1
15628 for ac_func
in wcsrtombs
15630 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15631 echo "configure:15632: checking for $ac_func" >&5
15632 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15633 echo $ac_n "(cached) $ac_c" 1>&6
15635 cat > conftest.
$ac_ext <<EOF
15636 #line 15637 "configure"
15637 #include "confdefs.h"
15638 /* System header to define __stub macros and hopefully few prototypes,
15639 which can conflict with char $ac_func(); below. */
15640 #include <assert.h>
15641 /* Override any gcc2 internal prototype to avoid an error. */
15642 /* We use char because int might match the return type of a gcc2
15643 builtin and then its argument prototype would still apply. */
15648 /* The GNU C library defines this for functions which it implements
15649 to always fail with ENOSYS. Some functions are actually named
15650 something starting with __ and the normal name is an alias. */
15651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15659 if { (eval echo configure
:15660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15661 eval "ac_cv_func_$ac_func=yes"
15663 echo "configure: failed program was:" >&5
15664 cat conftest.
$ac_ext >&5
15666 eval "ac_cv_func_$ac_func=no"
15671 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15672 echo "$ac_t""yes" 1>&6
15673 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15674 cat >> confdefs.h
<<EOF
15675 #define $ac_tr_func 1
15679 echo "$ac_t""no" 1>&6
15684 if test "$USE_DARWIN" = 1; then
15685 cat >> confdefs.h
<<\EOF
15686 #define wxUSE_WCHAR_T 1
15690 echo "configure: warning: Wide character support is unavailable" 1>&2
15694 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15695 echo "configure:15696: checking for vprintf" >&5
15696 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15697 echo $ac_n "(cached) $ac_c" 1>&6
15699 cat > conftest.
$ac_ext <<EOF
15700 #line 15701 "configure"
15701 #include "confdefs.h"
15702 /* System header to define __stub macros and hopefully few prototypes,
15703 which can conflict with char vprintf(); below. */
15704 #include <assert.h>
15705 /* Override any gcc2 internal prototype to avoid an error. */
15706 /* We use char because int might match the return type of a gcc2
15707 builtin and then its argument prototype would still apply. */
15712 /* The GNU C library defines this for functions which it implements
15713 to always fail with ENOSYS. Some functions are actually named
15714 something starting with __ and the normal name is an alias. */
15715 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15723 if { (eval echo configure
:15724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15725 eval "ac_cv_func_vprintf=yes"
15727 echo "configure: failed program was:" >&5
15728 cat conftest.
$ac_ext >&5
15730 eval "ac_cv_func_vprintf=no"
15735 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15736 echo "$ac_t""yes" 1>&6
15737 cat >> confdefs.h
<<\EOF
15738 #define HAVE_VPRINTF 1
15742 echo "$ac_t""no" 1>&6
15745 if test "$ac_cv_func_vprintf" != yes; then
15746 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15747 echo "configure:15748: checking for _doprnt" >&5
15748 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15749 echo $ac_n "(cached) $ac_c" 1>&6
15751 cat > conftest.
$ac_ext <<EOF
15752 #line 15753 "configure"
15753 #include "confdefs.h"
15754 /* System header to define __stub macros and hopefully few prototypes,
15755 which can conflict with char _doprnt(); below. */
15756 #include <assert.h>
15757 /* Override any gcc2 internal prototype to avoid an error. */
15758 /* We use char because int might match the return type of a gcc2
15759 builtin and then its argument prototype would still apply. */
15764 /* The GNU C library defines this for functions which it implements
15765 to always fail with ENOSYS. Some functions are actually named
15766 something starting with __ and the normal name is an alias. */
15767 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15775 if { (eval echo configure
:15776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15777 eval "ac_cv_func__doprnt=yes"
15779 echo "configure: failed program was:" >&5
15780 cat conftest.
$ac_ext >&5
15782 eval "ac_cv_func__doprnt=no"
15787 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15788 echo "$ac_t""yes" 1>&6
15789 cat >> confdefs.h
<<\EOF
15790 #define HAVE_DOPRNT 1
15794 echo "$ac_t""no" 1>&6
15804 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15805 echo "configure:15806: checking for vsnprintf" >&5
15806 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15807 echo $ac_n "(cached) $ac_c" 1>&6
15810 cat > conftest.
$ac_ext <<EOF
15811 #line 15812 "configure"
15812 #include "confdefs.h"
15815 #include <stdarg.h>
15819 int wx_test_vsnprintf(const char *, ...);
15821 wx_test_vsnprintf("%s");
15825 int wx_test_vsnprintf(const char *fmt, ...)
15830 va_start(argp, fmt);
15831 vsnprintf(s, 42, fmt, argp);
15836 if { (eval echo configure
:15837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15839 wx_cv_func_vsnprintf
=yes
15842 echo "configure: failed program was:" >&5
15843 cat conftest.
$ac_ext >&5
15846 cat > conftest.
$ac_ext <<EOF
15847 #line 15848 "configure"
15848 #include "confdefs.h"
15851 #include <stdarg.h>
15855 int wx_test_vsnprintf(const char *, ...);
15857 wx_test_vsnprintf("%s");
15861 int wx_test_vsnprintf(const char *fmt, ...)
15866 va_start(argp, fmt);
15867 _vsnprintf(s, 42, fmt, argp);
15872 if { (eval echo configure
:15873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15875 wx_cv_func_vsnprintf
=yes
15878 echo "configure: failed program was:" >&5
15879 cat conftest.
$ac_ext >&5
15882 wx_cv_func_vsnprintf
=no
15892 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15894 if test "$wx_cv_func_vsnprintf" = yes; then
15895 cat >> confdefs.h
<<\EOF
15896 #define HAVE_VSNPRINTF 1
15900 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15903 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15904 echo "configure:15905: checking for vsscanf" >&5
15905 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15906 echo $ac_n "(cached) $ac_c" 1>&6
15909 cat > conftest.
$ac_ext <<EOF
15910 #line 15911 "configure"
15911 #include "confdefs.h"
15914 #include <stdarg.h>
15918 int wx_test_vsscanf(const char *, ...);
15920 wx_test_vsscanf("%d");
15924 int wx_test_vsscanf(const char *fmt, ...)
15927 va_start(argp, fmt);
15928 vsscanf("42", fmt, argp);
15933 if { (eval echo configure
:15934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15936 wx_cv_func_vsscanf
=yes
15939 echo "configure: failed program was:" >&5
15940 cat conftest.
$ac_ext >&5
15943 wx_cv_func_vsscanf
=no
15950 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15952 if test "$wx_cv_func_vsscanf" = yes; then
15953 cat >> confdefs.h
<<\EOF
15954 #define HAVE_VSSCANF 1
15959 if test "$TOOLKIT" != "MSW"; then
15964 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15965 ac_cpp
='$CXXCPP $CPPFLAGS'
15966 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15967 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15968 cross_compiling
=$ac_cv_prog_cxx_cross
15972 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15973 if test "${with_libiconv_prefix+set}" = set; then
15974 withval
="$with_libiconv_prefix"
15976 for dir
in `echo "$withval" | tr : ' '`; do
15977 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
15978 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
15984 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15985 echo "configure:15986: checking for iconv" >&5
15986 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15987 echo $ac_n "(cached) $ac_c" 1>&6
15990 am_cv_func_iconv
="no, consider installing GNU libiconv"
15992 cat > conftest.
$ac_ext <<EOF
15993 #line 15994 "configure"
15994 #include "confdefs.h"
15995 #include <stdlib.h>
15998 iconv_t cd = iconv_open("","");
15999 iconv(cd,NULL,NULL,NULL,NULL);
16003 if { (eval echo configure
:16004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16005 am_cv_func_iconv
=yes
16007 echo "configure: failed program was:" >&5
16008 cat conftest.
$ac_ext >&5
16011 if test "$am_cv_func_iconv" != yes; then
16012 am_save_LIBS
="$LIBS"
16013 LIBS
="$LIBS -liconv"
16014 cat > conftest.
$ac_ext <<EOF
16015 #line 16016 "configure"
16016 #include "confdefs.h"
16017 #include <stdlib.h>
16020 iconv_t cd = iconv_open("","");
16021 iconv(cd,NULL,NULL,NULL,NULL);
16025 if { (eval echo configure
:16026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16027 am_cv_lib_iconv
=yes
16028 am_cv_func_iconv
=yes
16030 echo "configure: failed program was:" >&5
16031 cat conftest.
$ac_ext >&5
16034 LIBS
="$am_save_LIBS"
16039 echo "$ac_t""$am_cv_func_iconv" 1>&6
16040 if test "$am_cv_func_iconv" = yes; then
16041 cat >> confdefs.h
<<\EOF
16042 #define HAVE_ICONV 1
16045 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
16046 echo "configure:16047: checking if iconv needs const" >&5
16047 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16048 echo $ac_n "(cached) $ac_c" 1>&6
16050 cat > conftest.
$ac_ext <<EOF
16051 #line 16052 "configure"
16052 #include "confdefs.h"
16054 #include <stdlib.h>
16060 #if defined(__STDC__) || defined(__cplusplus)
16061 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16070 if { (eval echo configure
:16071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16072 wx_cv_func_iconv_const
="no"
16074 echo "configure: failed program was:" >&5
16075 cat conftest.
$ac_ext >&5
16077 wx_cv_func_iconv_const
="yes"
16084 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16087 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16088 iconv_const
="const"
16091 cat >> confdefs.h
<<EOF
16092 #define ICONV_CONST $iconv_const
16097 if test "$am_cv_lib_iconv" = yes; then
16102 LIBS
="$LIBICONV $LIBS"
16104 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16105 ac_cpp
='$CPP $CPPFLAGS'
16106 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16107 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16108 cross_compiling
=$ac_cv_prog_cc_cross
16111 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16112 for ac_func
in sigaction
16114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16115 echo "configure:16116: checking for $ac_func" >&5
16116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16117 echo $ac_n "(cached) $ac_c" 1>&6
16119 cat > conftest.
$ac_ext <<EOF
16120 #line 16121 "configure"
16121 #include "confdefs.h"
16122 /* System header to define __stub macros and hopefully few prototypes,
16123 which can conflict with char $ac_func(); below. */
16124 #include <assert.h>
16125 /* Override any gcc2 internal prototype to avoid an error. */
16126 /* We use char because int might match the return type of a gcc2
16127 builtin and then its argument prototype would still apply. */
16132 /* The GNU C library defines this for functions which it implements
16133 to always fail with ENOSYS. Some functions are actually named
16134 something starting with __ and the normal name is an alias. */
16135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16143 if { (eval echo configure
:16144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16145 eval "ac_cv_func_$ac_func=yes"
16147 echo "configure: failed program was:" >&5
16148 cat conftest.
$ac_ext >&5
16150 eval "ac_cv_func_$ac_func=no"
16155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16156 echo "$ac_t""yes" 1>&6
16157 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16158 cat >> confdefs.h
<<EOF
16159 #define $ac_tr_func 1
16163 echo "$ac_t""no" 1>&6
16168 if test "$ac_cv_func_sigaction" = "no"; then
16169 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16170 wxUSE_ON_FATAL_EXCEPTION
=no
16173 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16177 ac_cpp
='$CXXCPP $CPPFLAGS'
16178 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16179 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16180 cross_compiling
=$ac_cv_prog_cxx_cross
16183 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16184 echo "configure:16185: checking for sa_handler type" >&5
16185 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16186 echo $ac_n "(cached) $ac_c" 1>&6
16189 cat > conftest.
$ac_ext <<EOF
16190 #line 16191 "configure"
16191 #include "confdefs.h"
16192 #include <signal.h>
16195 extern void testSigHandler(int);
16197 struct sigaction sa;
16198 sa.sa_handler = testSigHandler;
16202 if { (eval echo configure
:16203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16205 wx_cv_type_sa_handler
=int
16208 echo "configure: failed program was:" >&5
16209 cat conftest.
$ac_ext >&5
16212 wx_cv_type_sa_handler
=void
16219 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16222 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16223 ac_cpp
='$CPP $CPPFLAGS'
16224 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16225 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16226 cross_compiling
=$ac_cv_prog_cc_cross
16229 cat >> confdefs.h
<<EOF
16230 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16236 for ac_func
in vfork
16238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16239 echo "configure:16240: checking for $ac_func" >&5
16240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16241 echo $ac_n "(cached) $ac_c" 1>&6
16243 cat > conftest.
$ac_ext <<EOF
16244 #line 16245 "configure"
16245 #include "confdefs.h"
16246 /* System header to define __stub macros and hopefully few prototypes,
16247 which can conflict with char $ac_func(); below. */
16248 #include <assert.h>
16249 /* Override any gcc2 internal prototype to avoid an error. */
16250 /* We use char because int might match the return type of a gcc2
16251 builtin and then its argument prototype would still apply. */
16256 /* The GNU C library defines this for functions which it implements
16257 to always fail with ENOSYS. Some functions are actually named
16258 something starting with __ and the normal name is an alias. */
16259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16267 if { (eval echo configure
:16268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16269 eval "ac_cv_func_$ac_func=yes"
16271 echo "configure: failed program was:" >&5
16272 cat conftest.
$ac_ext >&5
16274 eval "ac_cv_func_$ac_func=no"
16279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16280 echo "$ac_t""yes" 1>&6
16281 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16282 cat >> confdefs.h
<<EOF
16283 #define $ac_tr_func 1
16287 echo "$ac_t""no" 1>&6
16292 for ac_func
in mkstemp mktemp
16294 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16295 echo "configure:16296: checking for $ac_func" >&5
16296 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16297 echo $ac_n "(cached) $ac_c" 1>&6
16299 cat > conftest.
$ac_ext <<EOF
16300 #line 16301 "configure"
16301 #include "confdefs.h"
16302 /* System header to define __stub macros and hopefully few prototypes,
16303 which can conflict with char $ac_func(); below. */
16304 #include <assert.h>
16305 /* Override any gcc2 internal prototype to avoid an error. */
16306 /* We use char because int might match the return type of a gcc2
16307 builtin and then its argument prototype would still apply. */
16312 /* The GNU C library defines this for functions which it implements
16313 to always fail with ENOSYS. Some functions are actually named
16314 something starting with __ and the normal name is an alias. */
16315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16323 if { (eval echo configure
:16324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16325 eval "ac_cv_func_$ac_func=yes"
16327 echo "configure: failed program was:" >&5
16328 cat conftest.
$ac_ext >&5
16330 eval "ac_cv_func_$ac_func=no"
16335 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16336 echo "$ac_t""yes" 1>&6
16337 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16338 cat >> confdefs.h
<<EOF
16339 #define $ac_tr_func 1
16343 echo "$ac_t""no" 1>&6
16348 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16349 echo "configure:16350: checking for statfs" >&5
16350 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16351 echo $ac_n "(cached) $ac_c" 1>&6
16353 cat > conftest.
$ac_ext <<EOF
16354 #line 16355 "configure"
16355 #include "confdefs.h"
16357 #if defined(__BSD__)
16358 #include <sys/param.h>
16359 #include <sys/mount.h>
16361 #include <sys/vfs.h>
16375 if { (eval echo configure
:16376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16378 wx_cv_func_statfs
=yes
16381 echo "configure: failed program was:" >&5
16382 cat conftest.
$ac_ext >&5
16385 wx_cv_func_statfs
=no
16393 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16395 if test "$wx_cv_func_statfs" = "yes"; then
16396 cat >> confdefs.h
<<\EOF
16397 #define HAVE_STATFS 1
16401 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16402 echo "configure:16403: checking for statvfs" >&5
16403 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16404 echo $ac_n "(cached) $ac_c" 1>&6
16406 cat > conftest.
$ac_ext <<EOF
16407 #line 16408 "configure"
16408 #include "confdefs.h"
16410 #include <sys/statvfs.h>
16423 if { (eval echo configure
:16424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16426 wx_cv_func_statvfs
=yes
16429 echo "configure: failed program was:" >&5
16430 cat conftest.
$ac_ext >&5
16433 wx_cv_func_statvfs
=no
16441 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16443 if test "$wx_cv_func_statvfs" = "yes"; then
16444 cat >> confdefs.h
<<\EOF
16445 #define HAVE_STATVFS 1
16449 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16453 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16454 for ac_func
in fcntl flock
16456 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16457 echo "configure:16458: checking for $ac_func" >&5
16458 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16459 echo $ac_n "(cached) $ac_c" 1>&6
16461 cat > conftest.
$ac_ext <<EOF
16462 #line 16463 "configure"
16463 #include "confdefs.h"
16464 /* System header to define __stub macros and hopefully few prototypes,
16465 which can conflict with char $ac_func(); below. */
16466 #include <assert.h>
16467 /* Override any gcc2 internal prototype to avoid an error. */
16468 /* We use char because int might match the return type of a gcc2
16469 builtin and then its argument prototype would still apply. */
16474 /* The GNU C library defines this for functions which it implements
16475 to always fail with ENOSYS. Some functions are actually named
16476 something starting with __ and the normal name is an alias. */
16477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16485 if { (eval echo configure
:16486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16487 eval "ac_cv_func_$ac_func=yes"
16489 echo "configure: failed program was:" >&5
16490 cat conftest.
$ac_ext >&5
16492 eval "ac_cv_func_$ac_func=no"
16497 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16498 echo "$ac_t""yes" 1>&6
16499 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16500 cat >> confdefs.h
<<EOF
16501 #define $ac_tr_func 1
16505 echo "$ac_t""no" 1>&6
16510 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16511 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16512 wxUSE_SNGLINST_CHECKER
=no
16516 for ac_func
in timegm
16518 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16519 echo "configure:16520: checking for $ac_func" >&5
16520 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16521 echo $ac_n "(cached) $ac_c" 1>&6
16523 cat > conftest.
$ac_ext <<EOF
16524 #line 16525 "configure"
16525 #include "confdefs.h"
16526 /* System header to define __stub macros and hopefully few prototypes,
16527 which can conflict with char $ac_func(); below. */
16528 #include <assert.h>
16529 /* Override any gcc2 internal prototype to avoid an error. */
16530 /* We use char because int might match the return type of a gcc2
16531 builtin and then its argument prototype would still apply. */
16536 /* The GNU C library defines this for functions which it implements
16537 to always fail with ENOSYS. Some functions are actually named
16538 something starting with __ and the normal name is an alias. */
16539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16547 if { (eval echo configure
:16548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16549 eval "ac_cv_func_$ac_func=yes"
16551 echo "configure: failed program was:" >&5
16552 cat conftest.
$ac_ext >&5
16554 eval "ac_cv_func_$ac_func=no"
16559 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16560 echo "$ac_t""yes" 1>&6
16561 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16562 cat >> confdefs.h
<<EOF
16563 #define $ac_tr_func 1
16567 echo "$ac_t""no" 1>&6
16572 for ac_func
in putenv setenv
16574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16575 echo "configure:16576: checking for $ac_func" >&5
16576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16577 echo $ac_n "(cached) $ac_c" 1>&6
16579 cat > conftest.
$ac_ext <<EOF
16580 #line 16581 "configure"
16581 #include "confdefs.h"
16582 /* System header to define __stub macros and hopefully few prototypes,
16583 which can conflict with char $ac_func(); below. */
16584 #include <assert.h>
16585 /* Override any gcc2 internal prototype to avoid an error. */
16586 /* We use char because int might match the return type of a gcc2
16587 builtin and then its argument prototype would still apply. */
16592 /* The GNU C library defines this for functions which it implements
16593 to always fail with ENOSYS. Some functions are actually named
16594 something starting with __ and the normal name is an alias. */
16595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16603 if { (eval echo configure
:16604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16605 eval "ac_cv_func_$ac_func=yes"
16607 echo "configure: failed program was:" >&5
16608 cat conftest.
$ac_ext >&5
16610 eval "ac_cv_func_$ac_func=no"
16615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16616 echo "$ac_t""yes" 1>&6
16617 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16618 cat >> confdefs.h
<<EOF
16619 #define $ac_tr_func 1
16623 echo "$ac_t""no" 1>&6
16628 HAVE_SOME_SLEEP_FUNC
=0
16629 if test "$USE_BEOS" = 1; then
16630 cat >> confdefs.h
<<\EOF
16631 #define HAVE_SLEEP 1
16634 HAVE_SOME_SLEEP_FUNC
=1
16637 if test "$USE_DARWIN" = 1; then
16638 cat >> confdefs.h
<<\EOF
16639 #define HAVE_USLEEP 1
16642 HAVE_SOME_SLEEP_FUNC
=1
16645 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16647 for ac_func
in nanosleep
16649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16650 echo "configure:16651: checking for $ac_func" >&5
16651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16652 echo $ac_n "(cached) $ac_c" 1>&6
16654 cat > conftest.
$ac_ext <<EOF
16655 #line 16656 "configure"
16656 #include "confdefs.h"
16657 /* System header to define __stub macros and hopefully few prototypes,
16658 which can conflict with char $ac_func(); below. */
16659 #include <assert.h>
16660 /* Override any gcc2 internal prototype to avoid an error. */
16661 /* We use char because int might match the return type of a gcc2
16662 builtin and then its argument prototype would still apply. */
16667 /* The GNU C library defines this for functions which it implements
16668 to always fail with ENOSYS. Some functions are actually named
16669 something starting with __ and the normal name is an alias. */
16670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16678 if { (eval echo configure
:16679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16680 eval "ac_cv_func_$ac_func=yes"
16682 echo "configure: failed program was:" >&5
16683 cat conftest.
$ac_ext >&5
16685 eval "ac_cv_func_$ac_func=no"
16690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16691 echo "$ac_t""yes" 1>&6
16692 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16693 cat >> confdefs.h
<<EOF
16694 #define $ac_tr_func 1
16696 cat >> confdefs.h
<<\EOF
16697 #define HAVE_NANOSLEEP 1
16701 echo "$ac_t""no" 1>&6
16702 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16703 echo "configure:16704: checking for nanosleep in -lposix4" >&5
16704 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16705 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16706 echo $ac_n "(cached) $ac_c" 1>&6
16708 ac_save_LIBS
="$LIBS"
16709 LIBS
="-lposix4 $LIBS"
16710 cat > conftest.
$ac_ext <<EOF
16711 #line 16712 "configure"
16712 #include "confdefs.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. */
16722 if { (eval echo configure
:16723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16724 eval "ac_cv_lib_$ac_lib_var=yes"
16726 echo "configure: failed program was:" >&5
16727 cat conftest.
$ac_ext >&5
16729 eval "ac_cv_lib_$ac_lib_var=no"
16732 LIBS
="$ac_save_LIBS"
16735 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16736 echo "$ac_t""yes" 1>&6
16738 cat >> confdefs.h
<<\EOF
16739 #define HAVE_NANOSLEEP 1
16742 POSIX4_LINK
=" -lposix4"
16745 echo "$ac_t""no" 1>&6
16747 for ac_func
in usleep
16749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16750 echo "configure:16751: checking for $ac_func" >&5
16751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16752 echo $ac_n "(cached) $ac_c" 1>&6
16754 cat > conftest.
$ac_ext <<EOF
16755 #line 16756 "configure"
16756 #include "confdefs.h"
16757 /* System header to define __stub macros and hopefully few prototypes,
16758 which can conflict with char $ac_func(); below. */
16759 #include <assert.h>
16760 /* Override any gcc2 internal prototype to avoid an error. */
16761 /* We use char because int might match the return type of a gcc2
16762 builtin and then its argument prototype would still apply. */
16767 /* The GNU C library defines this for functions which it implements
16768 to always fail with ENOSYS. Some functions are actually named
16769 something starting with __ and the normal name is an alias. */
16770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16778 if { (eval echo configure
:16779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16780 eval "ac_cv_func_$ac_func=yes"
16782 echo "configure: failed program was:" >&5
16783 cat conftest.
$ac_ext >&5
16785 eval "ac_cv_func_$ac_func=no"
16790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16791 echo "$ac_t""yes" 1>&6
16792 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16793 cat >> confdefs.h
<<EOF
16794 #define $ac_tr_func 1
16796 cat >> confdefs.h
<<\EOF
16797 #define HAVE_USLEEP 1
16801 echo "$ac_t""no" 1>&6
16802 echo "configure: warning: wxSleep() function will not work" 1>&2
16818 for ac_func
in uname gethostname
16820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16821 echo "configure:16822: checking for $ac_func" >&5
16822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16823 echo $ac_n "(cached) $ac_c" 1>&6
16825 cat > conftest.
$ac_ext <<EOF
16826 #line 16827 "configure"
16827 #include "confdefs.h"
16828 /* System header to define __stub macros and hopefully few prototypes,
16829 which can conflict with char $ac_func(); below. */
16830 #include <assert.h>
16831 /* Override any gcc2 internal prototype to avoid an error. */
16832 /* We use char because int might match the return type of a gcc2
16833 builtin and then its argument prototype would still apply. */
16838 /* The GNU C library defines this for functions which it implements
16839 to always fail with ENOSYS. Some functions are actually named
16840 something starting with __ and the normal name is an alias. */
16841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16849 if { (eval echo configure
:16850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16851 eval "ac_cv_func_$ac_func=yes"
16853 echo "configure: failed program was:" >&5
16854 cat conftest.
$ac_ext >&5
16856 eval "ac_cv_func_$ac_func=no"
16861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16862 echo "$ac_t""yes" 1>&6
16863 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16864 cat >> confdefs.h
<<EOF
16865 #define $ac_tr_func 1
16869 echo "$ac_t""no" 1>&6
16876 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16877 ac_cpp
='$CXXCPP $CPPFLAGS'
16878 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16879 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16880 cross_compiling
=$ac_cv_prog_cxx_cross
16883 for ac_func
in strtok_r
16885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16886 echo "configure:16887: checking for $ac_func" >&5
16887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16888 echo $ac_n "(cached) $ac_c" 1>&6
16890 cat > conftest.
$ac_ext <<EOF
16891 #line 16892 "configure"
16892 #include "confdefs.h"
16893 /* System header to define __stub macros and hopefully few prototypes,
16894 which can conflict with char $ac_func(); below. */
16895 #include <assert.h>
16896 /* Override any gcc2 internal prototype to avoid an error. */
16900 /* We use char because int might match the return type of a gcc2
16901 builtin and then its argument prototype would still apply. */
16906 /* The GNU C library defines this for functions which it implements
16907 to always fail with ENOSYS. Some functions are actually named
16908 something starting with __ and the normal name is an alias. */
16909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16917 if { (eval echo configure
:16918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16919 eval "ac_cv_func_$ac_func=yes"
16921 echo "configure: failed program was:" >&5
16922 cat conftest.
$ac_ext >&5
16924 eval "ac_cv_func_$ac_func=no"
16929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16930 echo "$ac_t""yes" 1>&6
16931 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16932 cat >> confdefs.h
<<EOF
16933 #define $ac_tr_func 1
16937 echo "$ac_t""no" 1>&6
16943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16944 ac_cpp
='$CPP $CPPFLAGS'
16945 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16946 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16947 cross_compiling
=$ac_cv_prog_cc_cross
16951 for ac_func
in inet_addr
16953 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16954 echo "configure:16955: checking for $ac_func" >&5
16955 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16956 echo $ac_n "(cached) $ac_c" 1>&6
16958 cat > conftest.
$ac_ext <<EOF
16959 #line 16960 "configure"
16960 #include "confdefs.h"
16961 /* System header to define __stub macros and hopefully few prototypes,
16962 which can conflict with char $ac_func(); below. */
16963 #include <assert.h>
16964 /* Override any gcc2 internal prototype to avoid an error. */
16965 /* We use char because int might match the return type of a gcc2
16966 builtin and then its argument prototype would still apply. */
16971 /* The GNU C library defines this for functions which it implements
16972 to always fail with ENOSYS. Some functions are actually named
16973 something starting with __ and the normal name is an alias. */
16974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16982 if { (eval echo configure
:16983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16984 eval "ac_cv_func_$ac_func=yes"
16986 echo "configure: failed program was:" >&5
16987 cat conftest.
$ac_ext >&5
16989 eval "ac_cv_func_$ac_func=no"
16994 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16995 echo "$ac_t""yes" 1>&6
16996 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16997 cat >> confdefs.h
<<EOF
16998 #define $ac_tr_func 1
17000 cat >> confdefs.h
<<\EOF
17001 #define HAVE_INET_ADDR 1
17005 echo "$ac_t""no" 1>&6
17006 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
17007 echo "configure:17008: checking for inet_addr in -lnsl" >&5
17008 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
17009 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17010 echo $ac_n "(cached) $ac_c" 1>&6
17012 ac_save_LIBS
="$LIBS"
17014 cat > conftest.
$ac_ext <<EOF
17015 #line 17016 "configure"
17016 #include "confdefs.h"
17017 /* Override any gcc2 internal prototype to avoid an error. */
17018 /* We use char because int might match the return type of a gcc2
17019 builtin and then its argument prototype would still apply. */
17026 if { (eval echo configure
:17027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17028 eval "ac_cv_lib_$ac_lib_var=yes"
17030 echo "configure: failed program was:" >&5
17031 cat conftest.
$ac_ext >&5
17033 eval "ac_cv_lib_$ac_lib_var=no"
17036 LIBS
="$ac_save_LIBS"
17039 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17040 echo "$ac_t""yes" 1>&6
17043 echo "$ac_t""no" 1>&6
17044 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
17045 echo "configure:17046: checking for inet_addr in -lresolv" >&5
17046 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17048 echo $ac_n "(cached) $ac_c" 1>&6
17050 ac_save_LIBS
="$LIBS"
17051 LIBS
="-lresolv $LIBS"
17052 cat > conftest.
$ac_ext <<EOF
17053 #line 17054 "configure"
17054 #include "confdefs.h"
17055 /* Override any gcc2 internal prototype to avoid an error. */
17056 /* We use char because int might match the return type of a gcc2
17057 builtin and then its argument prototype would still apply. */
17064 if { (eval echo configure
:17065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17066 eval "ac_cv_lib_$ac_lib_var=yes"
17068 echo "configure: failed program was:" >&5
17069 cat conftest.
$ac_ext >&5
17071 eval "ac_cv_lib_$ac_lib_var=no"
17074 LIBS
="$ac_save_LIBS"
17077 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17078 echo "$ac_t""yes" 1>&6
17081 echo "$ac_t""no" 1>&6
17082 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17083 echo "configure:17084: checking for inet_addr in -lsocket" >&5
17084 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17085 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17086 echo $ac_n "(cached) $ac_c" 1>&6
17088 ac_save_LIBS
="$LIBS"
17089 LIBS
="-lsocket $LIBS"
17090 cat > conftest.
$ac_ext <<EOF
17091 #line 17092 "configure"
17092 #include "confdefs.h"
17093 /* Override any gcc2 internal prototype to avoid an error. */
17094 /* We use char because int might match the return type of a gcc2
17095 builtin and then its argument prototype would still apply. */
17102 if { (eval echo configure
:17103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17104 eval "ac_cv_lib_$ac_lib_var=yes"
17106 echo "configure: failed program was:" >&5
17107 cat conftest.
$ac_ext >&5
17109 eval "ac_cv_lib_$ac_lib_var=no"
17112 LIBS
="$ac_save_LIBS"
17115 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17116 echo "$ac_t""yes" 1>&6
17120 echo "$ac_t""no" 1>&6
17135 for ac_func
in inet_aton
17137 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17138 echo "configure:17139: checking for $ac_func" >&5
17139 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17140 echo $ac_n "(cached) $ac_c" 1>&6
17142 cat > conftest.
$ac_ext <<EOF
17143 #line 17144 "configure"
17144 #include "confdefs.h"
17145 /* System header to define __stub macros and hopefully few prototypes,
17146 which can conflict with char $ac_func(); below. */
17147 #include <assert.h>
17148 /* Override any gcc2 internal prototype to avoid an error. */
17149 /* We use char because int might match the return type of a gcc2
17150 builtin and then its argument prototype would still apply. */
17155 /* The GNU C library defines this for functions which it implements
17156 to always fail with ENOSYS. Some functions are actually named
17157 something starting with __ and the normal name is an alias. */
17158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17166 if { (eval echo configure
:17167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17168 eval "ac_cv_func_$ac_func=yes"
17170 echo "configure: failed program was:" >&5
17171 cat conftest.
$ac_ext >&5
17173 eval "ac_cv_func_$ac_func=no"
17178 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17179 echo "$ac_t""yes" 1>&6
17180 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17181 cat >> confdefs.h
<<EOF
17182 #define $ac_tr_func 1
17184 cat >> confdefs.h
<<\EOF
17185 #define HAVE_INET_ATON 1
17189 echo "$ac_t""no" 1>&6
17190 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17191 echo "configure:17192: checking for inet_aton in -l$INET_LINK" >&5
17192 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17193 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17194 echo $ac_n "(cached) $ac_c" 1>&6
17196 ac_save_LIBS
="$LIBS"
17197 LIBS
="-l$INET_LINK $LIBS"
17198 cat > conftest.
$ac_ext <<EOF
17199 #line 17200 "configure"
17200 #include "confdefs.h"
17201 /* Override any gcc2 internal prototype to avoid an error. */
17202 /* We use char because int might match the return type of a gcc2
17203 builtin and then its argument prototype would still apply. */
17210 if { (eval echo configure
:17211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17212 eval "ac_cv_lib_$ac_lib_var=yes"
17214 echo "configure: failed program was:" >&5
17215 cat conftest.
$ac_ext >&5
17217 eval "ac_cv_lib_$ac_lib_var=no"
17220 LIBS
="$ac_save_LIBS"
17223 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17224 echo "$ac_t""yes" 1>&6
17225 cat >> confdefs.h
<<\EOF
17226 #define HAVE_INET_ATON 1
17230 echo "$ac_t""no" 1>&6
17238 if test "x$INET_LINK" != "x"; then
17239 cat >> confdefs.h
<<\EOF
17240 #define HAVE_INET_ADDR 1
17243 INET_LINK
=" -l$INET_LINK"
17249 cat > confcache
<<\EOF
17250 # This file is a shell script that caches the results of configure
17251 # tests run on this system so they can be shared between configure
17252 # scripts and configure runs. It is not useful on other systems.
17253 # If it contains results you don't want to keep, you may remove or edit it.
17255 # By default, configure uses ./config.cache as the cache file,
17256 # creating it if it does not exist already. You can give configure
17257 # the --cache-file=FILE option to use a different cache file; that is
17258 # what configure does when it calls configure scripts in
17259 # subdirectories, so they share the cache.
17260 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17261 # config.status only pays attention to the cache file if you give it the
17262 # --recheck option to rerun configure.
17265 # The following way of writing the cache mishandles newlines in values,
17266 # but we know of no workaround that is simple, portable, and efficient.
17267 # So, don't put newlines in cache variables' values.
17268 # Ultrix sh set writes to stderr and can't be redirected directly,
17269 # and sets the high bit in the cache file unless we assign to the vars.
17271 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17273 # `set' does not quote correctly, so add quotes (double-quote substitution
17274 # turns \\\\ into \\, and sed turns \\ into \).
17276 -e "s/'/'\\\\''/g" \
17277 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17280 # `set' quotes correctly as required by POSIX, so do not add quotes.
17281 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17284 if cmp -s $cache_file confcache
; then
17287 if test -w $cache_file; then
17288 echo "updating cache $cache_file"
17289 cat confcache
> $cache_file
17291 echo "not updating unwritable cache $cache_file"
17299 if test "$TOOLKIT" != "MSW"; then
17305 if test "$wxUSE_THREADS" = "yes" ; then
17306 if test "$wxUSE_WINE" = 1 ; then
17307 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17309 elif test "$USE_BEOS" = 1; then
17310 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17315 if test "$wxUSE_THREADS" = "yes" ; then
17318 THREAD_OPTS
="-pthread"
17320 *-*-solaris2* | *-*-sunos4* )
17321 if test "x$GCC" = "xyes"; then
17322 THREAD_OPTS
="-pthreads $THREAD_OPTS"
17324 THREAD_OPTS
="-mt $THREAD_OPTS"
17328 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
17334 THREAD_OPTS
="pthreads"
17338 THREAD_OPTS
="$THREAD_OPTS pthread none"
17341 for flag
in $THREAD_OPTS; do
17344 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17345 echo "configure:17346: checking whether pthreads work without any flags" >&5
17349 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17350 echo "configure:17351: checking whether pthreads work with $flag" >&5
17351 THREADS_CFLAGS
="$flag"
17355 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17356 echo "configure:17357: checking for the pthreads library -l$flag" >&5
17357 THREADS_LINK
="-l$flag"
17362 save_CFLAGS
="$CFLAGS"
17363 LIBS
="$THREADS_LINK $LIBS"
17364 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
17366 cat > conftest.
$ac_ext <<EOF
17367 #line 17368 "configure"
17368 #include "confdefs.h"
17369 #include <pthread.h>
17371 pthread_create(0,0,0,0);
17374 if { (eval echo configure
:17375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17378 echo "configure: failed program was:" >&5
17379 cat conftest.
$ac_ext >&5
17384 CFLAGS
="$save_CFLAGS"
17386 echo "$ac_t""$THREADS_OK" 1>&6
17387 if test "x$THREADS_OK" = "xyes"; then
17395 if test "x$THREADS_OK" != "xyes"; then
17397 echo "configure: warning: No thread support on this system... disabled" 1>&2
17399 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17401 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17402 echo "configure:17403: checking if more special flags are required for pthreads" >&5
17405 *-aix* | *-freebsd*)
17406 flag
="-D_THREAD_SAFE"
17408 *solaris
* | alpha
*-osf*)
17409 flag
="-D_REENTRANT"
17412 echo "$ac_t""${flag}" 1>&6
17413 if test "x$flag" != xno
; then
17414 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
17417 if test "x$THREADS_CFLAGS" != "x"; then
17418 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
17419 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
17424 if test "$wxUSE_THREADS" = "yes" ; then
17425 for ac_func
in thr_setconcurrency
17427 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17428 echo "configure:17429: checking for $ac_func" >&5
17429 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17430 echo $ac_n "(cached) $ac_c" 1>&6
17432 cat > conftest.
$ac_ext <<EOF
17433 #line 17434 "configure"
17434 #include "confdefs.h"
17435 /* System header to define __stub macros and hopefully few prototypes,
17436 which can conflict with char $ac_func(); below. */
17437 #include <assert.h>
17438 /* Override any gcc2 internal prototype to avoid an error. */
17439 /* We use char because int might match the return type of a gcc2
17440 builtin and then its argument prototype would still apply. */
17445 /* The GNU C library defines this for functions which it implements
17446 to always fail with ENOSYS. Some functions are actually named
17447 something starting with __ and the normal name is an alias. */
17448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17456 if { (eval echo configure
:17457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17458 eval "ac_cv_func_$ac_func=yes"
17460 echo "configure: failed program was:" >&5
17461 cat conftest.
$ac_ext >&5
17463 eval "ac_cv_func_$ac_func=no"
17468 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17469 echo "$ac_t""yes" 1>&6
17470 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17471 cat >> confdefs.h
<<EOF
17472 #define $ac_tr_func 1
17476 echo "$ac_t""no" 1>&6
17481 for ac_hdr
in sched.h
17483 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17485 echo "configure:17486: checking for $ac_hdr" >&5
17486 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17487 echo $ac_n "(cached) $ac_c" 1>&6
17489 cat > conftest.
$ac_ext <<EOF
17490 #line 17491 "configure"
17491 #include "confdefs.h"
17494 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17495 { (eval echo configure
:17496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17496 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17497 if test -z "$ac_err"; then
17499 eval "ac_cv_header_$ac_safe=yes"
17502 echo "configure: failed program was:" >&5
17503 cat conftest.
$ac_ext >&5
17505 eval "ac_cv_header_$ac_safe=no"
17509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17510 echo "$ac_t""yes" 1>&6
17511 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17512 cat >> confdefs.h
<<EOF
17513 #define $ac_tr_hdr 1
17517 echo "$ac_t""no" 1>&6
17521 if test "$ac_cv_header_sched_h" = "yes"; then
17522 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17523 echo "configure:17524: checking for sched_yield" >&5
17524 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17525 echo $ac_n "(cached) $ac_c" 1>&6
17527 cat > conftest.
$ac_ext <<EOF
17528 #line 17529 "configure"
17529 #include "confdefs.h"
17530 /* System header to define __stub macros and hopefully few prototypes,
17531 which can conflict with char sched_yield(); below. */
17532 #include <assert.h>
17533 /* Override any gcc2 internal prototype to avoid an error. */
17534 /* We use char because int might match the return type of a gcc2
17535 builtin and then its argument prototype would still apply. */
17536 char sched_yield();
17540 /* The GNU C library defines this for functions which it implements
17541 to always fail with ENOSYS. Some functions are actually named
17542 something starting with __ and the normal name is an alias. */
17543 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17551 if { (eval echo configure
:17552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17553 eval "ac_cv_func_sched_yield=yes"
17555 echo "configure: failed program was:" >&5
17556 cat conftest.
$ac_ext >&5
17558 eval "ac_cv_func_sched_yield=no"
17563 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17564 echo "$ac_t""yes" 1>&6
17565 cat >> confdefs.h
<<\EOF
17566 #define HAVE_SCHED_YIELD 1
17570 echo "$ac_t""no" 1>&6
17572 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17573 echo "configure:17574: checking for sched_yield in -lposix4" >&5
17574 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17575 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17576 echo $ac_n "(cached) $ac_c" 1>&6
17578 ac_save_LIBS
="$LIBS"
17579 LIBS
="-lposix4 $LIBS"
17580 cat > conftest.
$ac_ext <<EOF
17581 #line 17582 "configure"
17582 #include "confdefs.h"
17583 /* Override any gcc2 internal prototype to avoid an error. */
17584 /* We use char because int might match the return type of a gcc2
17585 builtin and then its argument prototype would still apply. */
17586 char sched_yield();
17592 if { (eval echo configure
:17593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17594 eval "ac_cv_lib_$ac_lib_var=yes"
17596 echo "configure: failed program was:" >&5
17597 cat conftest.
$ac_ext >&5
17599 eval "ac_cv_lib_$ac_lib_var=no"
17602 LIBS
="$ac_save_LIBS"
17605 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17606 echo "$ac_t""yes" 1>&6
17607 cat >> confdefs.h
<<\EOF
17608 #define HAVE_SCHED_YIELD 1
17610 POSIX4_LINK
=" -lposix4"
17612 echo "$ac_t""no" 1>&6
17613 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17624 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17625 echo "configure:17626: checking for pthread_attr_getschedpolicy" >&5
17626 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17627 echo $ac_n "(cached) $ac_c" 1>&6
17629 cat > conftest.
$ac_ext <<EOF
17630 #line 17631 "configure"
17631 #include "confdefs.h"
17632 /* System header to define __stub macros and hopefully few prototypes,
17633 which can conflict with char pthread_attr_getschedpolicy(); below. */
17634 #include <assert.h>
17635 /* Override any gcc2 internal prototype to avoid an error. */
17636 /* We use char because int might match the return type of a gcc2
17637 builtin and then its argument prototype would still apply. */
17638 char pthread_attr_getschedpolicy();
17642 /* The GNU C library defines this for functions which it implements
17643 to always fail with ENOSYS. Some functions are actually named
17644 something starting with __ and the normal name is an alias. */
17645 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17648 pthread_attr_getschedpolicy();
17653 if { (eval echo configure
:17654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17655 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17657 echo "configure: failed program was:" >&5
17658 cat conftest.
$ac_ext >&5
17660 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17665 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17666 echo "$ac_t""yes" 1>&6
17667 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17668 echo "configure:17669: checking for pthread_attr_setschedparam" >&5
17669 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17670 echo $ac_n "(cached) $ac_c" 1>&6
17672 cat > conftest.
$ac_ext <<EOF
17673 #line 17674 "configure"
17674 #include "confdefs.h"
17675 /* System header to define __stub macros and hopefully few prototypes,
17676 which can conflict with char pthread_attr_setschedparam(); below. */
17677 #include <assert.h>
17678 /* Override any gcc2 internal prototype to avoid an error. */
17679 /* We use char because int might match the return type of a gcc2
17680 builtin and then its argument prototype would still apply. */
17681 char pthread_attr_setschedparam();
17685 /* The GNU C library defines this for functions which it implements
17686 to always fail with ENOSYS. Some functions are actually named
17687 something starting with __ and the normal name is an alias. */
17688 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17691 pthread_attr_setschedparam();
17696 if { (eval echo configure
:17697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17698 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17700 echo "configure: failed program was:" >&5
17701 cat conftest.
$ac_ext >&5
17703 eval "ac_cv_func_pthread_attr_setschedparam=no"
17708 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17709 echo "$ac_t""yes" 1>&6
17710 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17711 echo "configure:17712: checking for sched_get_priority_max" >&5
17712 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17713 echo $ac_n "(cached) $ac_c" 1>&6
17715 cat > conftest.
$ac_ext <<EOF
17716 #line 17717 "configure"
17717 #include "confdefs.h"
17718 /* System header to define __stub macros and hopefully few prototypes
17720 echo "$ac_t""no" 1>&6
17721 which can conflict with char sched_get_priority_max(); below. */
17722 #include <assert.h>
17723 /* Override any gcc2 internal prototype to avoid an error. */
17724 /* We use char because int might match the return type of a gcc2
17725 builtin and then its argument prototype would still apply. */
17726 char sched_get_priority_max();
17730 /* The GNU C library defines this for functions which it implements
17731 to always fail with ENOSYS. Some functions are actually named
17732 something starting with __ and the normal name is an alias. */
17733 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
17736 sched_get_priority_max();
17741 if { (eval echo configure
:17742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17743 eval "ac_cv_func_sched_get_priority_max=yes"
17745 echo "configure: failed program was:" >&5
17746 cat conftest.
$ac_ext >&5
17748 eval "ac_cv_func_sched_get_priority_max=no"
17753 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
17754 echo "$ac_t""yes" 1>&6
17757 echo "$ac_t""no" 1>&6
17758 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17759 echo "configure:17760: checking for sched_get_priority_max in -lposix4" >&5
17760 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17761 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17762 echo $ac_n "(cached) $ac_c" 1>&6
17764 ac_save_LIBS
="$LIBS"
17765 LIBS
="-lposix4 $LIBS"
17766 cat > conftest.
$ac_ext <<EOF
17767 #line 17768 "configure"
17768 #include "confdefs.h"
17769 /* Override any gcc2 internal prototype to avoid an error. */
17770 /* We use char because int might match the return type of a gcc2
17771 builtin and then its argument prototype would still apply. */
17772 char sched_get_priority_max();
17775 sched_get_priority_max()
17778 if { (eval echo configure
:17779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17780 eval "ac_cv_lib_$ac_lib_var=yes"
17782 echo "configure: failed program was:" >&5
17783 cat conftest.
$ac_ext >&5
17785 eval "ac_cv_lib_$ac_lib_var=no"
17788 LIBS
="$ac_save_LIBS"
17791 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17792 echo "$ac_t""yes" 1>&6
17795 POSIX4_LINK
=" -lposix4"
17798 echo "$ac_t""no" 1>&6
17806 echo "$ac_t""no" 1>&6
17813 if test "$HAVE_PRIOR_FUNCS" = 1; then
17814 cat >> confdefs.h
<<\EOF
17815 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17819 echo "configure: warning: Setting thread priority will not work" 1>&2
17822 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
17823 echo "configure:17824: checking for pthread_cancel" >&5
17824 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
17825 echo $ac_n "(cached) $ac_c" 1>&6
17827 cat > conftest.
$ac_ext <<EOF
17828 #line 17829 "configure"
17829 #include "confdefs.h"
17830 /* System header to define __stub macros and hopefully few prototypes,
17831 which can conflict with char pthread_cancel(); below. */
17832 #include <assert.h>
17833 /* Override any gcc2 internal prototype to avoid an error. */
17834 /* We use char because int might match the return type of a gcc2
17835 builtin and then its argument prototype would still apply. */
17836 char pthread_cancel();
17840 /* The GNU C library defines this for functions which it implements
17841 to always fail with ENOSYS. Some functions are actually named
17842 something starting with __ and the normal name is an alias. */
17843 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
17851 if { (eval echo configure
:17852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17853 eval "ac_cv_func_pthread_cancel=yes"
17855 echo "configure: failed program was:" >&5
17856 cat conftest.
$ac_ext >&5
17858 eval "ac_cv_func_pthread_cancel=no"
17863 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
17864 echo "$ac_t""yes" 1>&6
17865 cat >> confdefs.h
<<\EOF
17866 #define HAVE_PTHREAD_CANCEL 1
17870 echo "$ac_t""no" 1>&6
17871 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17875 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17876 echo "configure:17877: checking for pthread_cleanup_push/pop" >&5
17877 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17878 echo $ac_n "(cached) $ac_c" 1>&6
17881 cat > conftest.
$ac_ext <<EOF
17882 #line 17883 "configure"
17883 #include "confdefs.h"
17884 #include <pthread.h>
17887 pthread_cleanup_push(NULL, NULL);
17888 pthread_cleanup_pop(0);
17892 if { (eval echo configure
:17893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17895 wx_cv_func_pthread_cleanup_push
=yes
17898 echo "configure: failed program was:" >&5
17899 cat conftest.
$ac_ext >&5
17902 wx_cv_func_pthread_cleanup_push
=no
17909 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17911 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17912 cat >> confdefs.h
<<\EOF
17913 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17919 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17920 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
17923 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17924 echo "configure:17925: checking for pthread_mutexattr_t" >&5
17925 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17926 echo $ac_n "(cached) $ac_c" 1>&6
17929 cat > conftest.
$ac_ext <<EOF
17930 #line 17931 "configure"
17931 #include "confdefs.h"
17932 #include <pthread.h>
17935 pthread_mutexattr_t attr;
17936 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17940 if { (eval echo configure
:17941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17943 wx_cv_type_pthread_mutexattr_t
=yes
17946 echo "configure: failed program was:" >&5
17947 cat conftest.
$ac_ext >&5
17950 wx_cv_type_pthread_mutexattr_t
=no
17958 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17960 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17961 cat >> confdefs.h
<<\EOF
17962 #define HAVE_PTHREAD_MUTEXATTR_T 1
17966 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17967 echo "configure:17968: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17968 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17969 echo $ac_n "(cached) $ac_c" 1>&6
17972 cat > conftest.
$ac_ext <<EOF
17973 #line 17974 "configure"
17974 #include "confdefs.h"
17975 #include <pthread.h>
17978 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17982 if { (eval echo configure
:17983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17985 wx_cv_type_pthread_rec_mutex_init
=yes
17988 echo "configure: failed program was:" >&5
17989 cat conftest.
$ac_ext >&5
17992 wx_cv_type_pthread_rec_mutex_init
=no
18000 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
18001 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
18002 cat >> confdefs.h
<<\EOF
18003 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
18007 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
18014 if test "$wxUSE_THREADS" = "yes"; then
18015 cat >> confdefs.h
<<\EOF
18016 #define wxUSE_THREADS 1
18020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
18022 if test "$ac_cv_func_strtok_r" = "yes"; then
18023 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
18024 echo "configure:18025: checking if -D_REENTRANT is needed" >&5
18025 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
18026 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
18027 echo "$ac_t""yes" 1>&6
18029 echo "$ac_t""no" 1>&6
18034 if test "$WXGTK20" = 1 ; then
18035 cat >> confdefs.h
<<EOF
18036 #define __WXGTK20__ $WXGTK20
18042 if test "$WXGTK12" = 1 ; then
18043 cat >> confdefs.h
<<EOF
18044 #define __WXGTK12__ $WXGTK12
18049 if test "$WXGTK127" = 1 ; then
18050 cat >> confdefs.h
<<EOF
18051 #define __WXGTK127__ $WXGTK127
18058 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18063 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18064 wxUSE_DEBUG_INFO
=yes
18068 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18069 cat >> confdefs.h
<<\EOF
18073 WXDEBUG_DEFINE
="-D__WXDEBUG__"
18075 if test "$wxUSE_GTK" = 1 ; then
18076 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
18080 if test "$wxUSE_MEM_TRACING" = "yes" ; then
18081 cat >> confdefs.h
<<\EOF
18082 #define wxUSE_MEMORY_TRACING 1
18085 cat >> confdefs.h
<<\EOF
18086 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18089 cat >> confdefs.h
<<\EOF
18090 #define wxUSE_DEBUG_NEW_ALWAYS 1
18093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
18096 if test "$wxUSE_DMALLOC" = "yes" ; then
18097 DMALLOC_LIBS
="-ldmalloc"
18101 if test "$wxUSE_PROFILE" = "yes" ; then
18106 CODE_GEN_FLAGS_CXX
=
18107 if test "$GCC" = "yes" ; then
18108 if test "$wxUSE_NO_RTTI" = "yes" ; then
18109 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
18111 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18112 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18114 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18115 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
18117 if test "$USE_WIN32" = 1 ; then
18118 # I'm not even really sure what this was ever added to solve,
18119 # but someone added it for mingw native builds, so I guess
18120 # they had a reason, right??
18121 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18126 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
18131 if test "$wxUSE_OPTIMISE" = "no" ; then
18134 if test "$GCC" = yes ; then
18137 i586
-*-*|i686
-*-* )
18138 OPTIMISE
="${OPTIMISE} "
18146 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18147 cat >> confdefs.h
<<\EOF
18148 #define WXWIN_COMPATIBILITY_2 1
18152 WXWIN_COMPATIBILITY_2_2
="yes"
18155 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18156 cat >> confdefs.h
<<\EOF
18157 #define WXWIN_COMPATIBILITY_2_2 1
18163 if test "$wxUSE_GUI" = "yes"; then
18164 cat >> confdefs.h
<<\EOF
18165 #define wxUSE_GUI 1
18170 cat >> confdefs.h
<<\EOF
18171 #define wxUSE_NOGUI 1
18177 if test "$wxUSE_UNIX" = "yes"; then
18178 cat >> confdefs.h
<<\EOF
18179 #define wxUSE_UNIX 1
18185 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18186 cat >> confdefs.h
<<\EOF
18187 #define wxUSE_APPLE_IEEE 1
18192 if test "$wxUSE_TIMER" = "yes"; then
18193 cat >> confdefs.h
<<\EOF
18194 #define wxUSE_TIMER 1
18199 if test "$wxUSE_WAVE" = "yes"; then
18200 cat >> confdefs.h
<<\EOF
18201 #define wxUSE_WAVE 1
18206 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18207 cat >> confdefs.h
<<\EOF
18208 #define wxUSE_CMDLINE_PARSER 1
18213 if test "$wxUSE_STOPWATCH" = "yes"; then
18214 cat >> confdefs.h
<<\EOF
18215 #define wxUSE_STOPWATCH 1
18220 if test "$wxUSE_DATETIME" = "yes"; then
18221 cat >> confdefs.h
<<\EOF
18222 #define wxUSE_DATETIME 1
18227 if test "$wxUSE_TIMEDATE" = "yes"; then
18228 cat >> confdefs.h
<<\EOF
18229 #define wxUSE_TIMEDATE 1
18234 if test "$wxUSE_FILE" = "yes"; then
18235 cat >> confdefs.h
<<\EOF
18236 #define wxUSE_FILE 1
18241 if test "$wxUSE_FFILE" = "yes"; then
18242 cat >> confdefs.h
<<\EOF
18243 #define wxUSE_FFILE 1
18248 if test "$wxUSE_FILESYSTEM" = "yes"; then
18249 cat >> confdefs.h
<<\EOF
18250 #define wxUSE_FILESYSTEM 1
18255 if test "$wxUSE_FS_INET" = "yes"; then
18256 cat >> confdefs.h
<<\EOF
18257 #define wxUSE_FS_INET 1
18262 if test "$wxUSE_FS_ZIP" = "yes"; then
18263 cat >> confdefs.h
<<\EOF
18264 #define wxUSE_FS_ZIP 1
18269 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18270 cat >> confdefs.h
<<\EOF
18271 #define wxUSE_ZIPSTREAM 1
18276 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18277 cat >> confdefs.h
<<\EOF
18278 #define wxUSE_ON_FATAL_EXCEPTION 1
18283 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18284 cat >> confdefs.h
<<\EOF
18285 #define wxUSE_SNGLINST_CHECKER 1
18290 if test "$wxUSE_BUSYINFO" = "yes"; then
18291 cat >> confdefs.h
<<\EOF
18292 #define wxUSE_BUSYINFO 1
18297 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18298 cat >> confdefs.h
<<\EOF
18299 #define wxUSE_STD_IOSTREAM 1
18304 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18305 cat >> confdefs.h
<<\EOF
18306 #define wxUSE_TEXTBUFFER 1
18311 if test "$wxUSE_TEXTFILE" = "yes"; then
18312 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18313 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18315 cat >> confdefs.h
<<\EOF
18316 #define wxUSE_TEXTFILE 1
18322 if test "$wxUSE_CONFIG" = "yes" ; then
18323 if test "$wxUSE_TEXTFILE" != "yes"; then
18324 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18326 cat >> confdefs.h
<<\EOF
18327 #define wxUSE_CONFIG 1
18330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18334 if test "$wxUSE_INTL" = "yes" ; then
18335 if test "$wxUSE_FILE" != "yes"; then
18336 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18338 cat >> confdefs.h
<<\EOF
18339 #define wxUSE_INTL 1
18342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18343 GUIDIST
="$GUIDIST INTL_DIST"
18347 if test "$wxUSE_LOG" = "yes"; then
18348 cat >> confdefs.h
<<\EOF
18349 #define wxUSE_LOG 1
18353 if test "$wxUSE_LOGGUI" = "yes"; then
18354 cat >> confdefs.h
<<\EOF
18355 #define wxUSE_LOGGUI 1
18360 if test "$wxUSE_LOGWINDOW" = "yes"; then
18361 cat >> confdefs.h
<<\EOF
18362 #define wxUSE_LOGWINDOW 1
18367 if test "$wxUSE_LOGDIALOG" = "yes"; then
18368 cat >> confdefs.h
<<\EOF
18369 #define wxUSE_LOG_DIALOG 1
18375 if test "$wxUSE_LONGLONG" = "yes"; then
18376 cat >> confdefs.h
<<\EOF
18377 #define wxUSE_LONGLONG 1
18382 if test "$wxUSE_GEOMETRY" = "yes"; then
18383 cat >> confdefs.h
<<\EOF
18384 #define wxUSE_GEOMETRY 1
18389 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18390 cat >> confdefs.h
<<\EOF
18391 #define wxUSE_DIALUP_MANAGER 1
18394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18397 if test "$wxUSE_STREAMS" = "yes" ; then
18398 cat >> confdefs.h
<<\EOF
18399 #define wxUSE_STREAMS 1
18405 if test "$wxUSE_DATETIME" = "yes"; then
18406 for ac_func
in strptime
18408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18409 echo "configure:18410: checking for $ac_func" >&5
18410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18411 echo $ac_n "(cached) $ac_c" 1>&6
18413 cat > conftest.
$ac_ext <<EOF
18414 #line 18415 "configure"
18415 #include "confdefs.h"
18416 /* System header to define __stub macros and hopefully few prototypes,
18417 which can conflict with char $ac_func(); below. */
18418 #include <assert.h>
18419 /* Override any gcc2 internal prototype to avoid an error. */
18420 /* We use char because int might match the return type of a gcc2
18421 builtin and then its argument prototype would still apply. */
18426 /* The GNU C library defines this for functions which it implements
18427 to always fail with ENOSYS. Some functions are actually named
18428 something starting with __ and the normal name is an alias. */
18429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18437 if { (eval echo configure
:18438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18439 eval "ac_cv_func_$ac_func=yes"
18441 echo "configure: failed program was:" >&5
18442 cat conftest.
$ac_ext >&5
18444 eval "ac_cv_func_$ac_func=no"
18449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18450 echo "$ac_t""yes" 1>&6
18451 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18452 cat >> confdefs.h
<<EOF
18453 #define $ac_tr_func 1
18457 echo "$ac_t""no" 1>&6
18462 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18463 echo "configure:18464: checking for timezone variable in <time.h>" >&5
18464 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18465 echo $ac_n "(cached) $ac_c" 1>&6
18468 cat > conftest.
$ac_ext <<EOF
18469 #line 18470 "configure"
18470 #include "confdefs.h"
18481 if { (eval echo configure
:18482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18484 wx_cv_var_timezone
=timezone
18487 echo "configure: failed program was:" >&5
18488 cat conftest.
$ac_ext >&5
18491 cat > conftest.
$ac_ext <<EOF
18492 #line 18493 "configure"
18493 #include "confdefs.h"
18504 if { (eval echo configure
:18505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18507 wx_cv_var_timezone
=_timezone
18510 echo "configure: failed program was:" >&5
18511 cat conftest.
$ac_ext >&5
18514 cat > conftest.
$ac_ext <<EOF
18515 #line 18516 "configure"
18516 #include "confdefs.h"
18527 if { (eval echo configure
:18528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18530 wx_cv_var_timezone
=__timezone
18533 echo "configure: failed program was:" >&5
18534 cat conftest.
$ac_ext >&5
18537 if test "$USE_DOS" = 0 ; then
18538 echo "configure: warning: no timezone variable" 1>&2
18556 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18558 if test "x$wx_cv_var_timezone" != x
; then
18559 cat >> confdefs.h
<<EOF
18560 #define WX_TIMEZONE $wx_cv_var_timezone
18565 for ac_func
in localtime
18567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18568 echo "configure:18569: checking for $ac_func" >&5
18569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18570 echo $ac_n "(cached) $ac_c" 1>&6
18572 cat > conftest.
$ac_ext <<EOF
18573 #line 18574 "configure"
18574 #include "confdefs.h"
18575 /* System header to define __stub macros and hopefully few prototypes,
18576 which can conflict with char $ac_func(); below. */
18577 #include <assert.h>
18578 /* Override any gcc2 internal prototype to avoid an error. */
18579 /* We use char because int might match the return type of a gcc2
18580 builtin and then its argument prototype would still apply. */
18585 /* The GNU C library defines this for functions which it implements
18586 to always fail with ENOSYS. Some functions are actually named
18587 something starting with __ and the normal name is an alias. */
18588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18596 if { (eval echo configure
:18597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18598 eval "ac_cv_func_$ac_func=yes"
18600 echo "configure: failed program was:" >&5
18601 cat conftest.
$ac_ext >&5
18603 eval "ac_cv_func_$ac_func=no"
18608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18609 echo "$ac_t""yes" 1>&6
18610 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18611 cat >> confdefs.h
<<EOF
18612 #define $ac_tr_func 1
18616 echo "$ac_t""no" 1>&6
18621 if test "$ac_cv_func_localtime" = "yes"; then
18622 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18623 echo "configure:18624: checking for tm_gmtoff in struct tm" >&5
18624 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18625 echo $ac_n "(cached) $ac_c" 1>&6
18628 cat > conftest.
$ac_ext <<EOF
18629 #line 18630 "configure"
18630 #include "confdefs.h"
18641 if { (eval echo configure
:18642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18644 wx_cv_struct_tm_has_gmtoff
=yes
18647 echo "configure: failed program was:" >&5
18648 cat conftest.
$ac_ext >&5
18650 wx_cv_struct_tm_has_gmtoff
=no
18657 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18660 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18661 cat >> confdefs.h
<<\EOF
18662 #define WX_GMTOFF_IN_TM 1
18667 for ac_func
in gettimeofday ftime
18669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18670 echo "configure:18671: checking for $ac_func" >&5
18671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18672 echo $ac_n "(cached) $ac_c" 1>&6
18674 cat > conftest.
$ac_ext <<EOF
18675 #line 18676 "configure"
18676 #include "confdefs.h"
18677 /* System header to define __stub macros and hopefully few prototypes,
18678 which can conflict with char $ac_func(); below. */
18679 #include <assert.h>
18680 /* Override any gcc2 internal prototype to avoid an error. */
18681 /* We use char because int might match the return type of a gcc2
18682 builtin and then its argument prototype would still apply. */
18687 /* The GNU C library defines this for functions which it implements
18688 to always fail with ENOSYS. Some functions are actually named
18689 something starting with __ and the normal name is an alias. */
18690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18698 if { (eval echo configure
:18699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18700 eval "ac_cv_func_$ac_func=yes"
18702 echo "configure: failed program was:" >&5
18703 cat conftest.
$ac_ext >&5
18705 eval "ac_cv_func_$ac_func=no"
18710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18711 echo "$ac_t""yes" 1>&6
18712 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18713 cat >> confdefs.h
<<EOF
18714 #define $ac_tr_func 1
18718 echo "$ac_t""no" 1>&6
18723 if test "$ac_cv_func_gettimeofday" = "yes"; then
18724 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18725 echo "configure:18726: checking whether gettimeofday takes two arguments" >&5
18726 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18727 echo $ac_n "(cached) $ac_c" 1>&6
18732 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18733 ac_cpp
='$CXXCPP $CPPFLAGS'
18734 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18735 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18736 cross_compiling
=$ac_cv_prog_cxx_cross
18739 cat > conftest.
$ac_ext <<EOF
18740 #line 18741 "configure"
18741 #include "confdefs.h"
18743 #include <sys/time.h>
18744 #include <unistd.h>
18749 gettimeofday(&tv, NULL);
18753 if { (eval echo configure
:18754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18755 wx_cv_func_gettimeofday_has_2_args
=yes
18757 echo "configure: failed program was:" >&5
18758 cat conftest.
$ac_ext >&5
18760 cat > conftest.
$ac_ext <<EOF
18761 #line 18762 "configure"
18762 #include "confdefs.h"
18764 #include <sys/time.h>
18765 #include <unistd.h>
18774 if { (eval echo configure
:18775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18776 wx_cv_func_gettimeofday_has_2_args
=no
18778 echo "configure: failed program was:" >&5
18779 cat conftest.
$ac_ext >&5
18782 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18783 wx_cv_func_gettimeofday_has_2_args
=unknown
18792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18793 ac_cpp
='$CPP $CPPFLAGS'
18794 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18795 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18796 cross_compiling
=$ac_cv_prog_cc_cross
18801 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18803 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18804 cat >> confdefs.h
<<\EOF
18805 #define WX_GETTIMEOFDAY_NO_TZ 1
18811 cat >> confdefs.h
<<\EOF
18812 #define wxUSE_TIMEDATE 1
18815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18819 if test "$wxUSE_SOCKETS" = "yes"; then
18820 if test "$wxUSE_X11" = "1"; then
18821 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18825 if test "$wxUSE_MGL" = "1"; then
18826 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
18831 if test "$wxUSE_SOCKETS" = "yes"; then
18832 if test "$TOOLKIT" != "MSW"; then
18833 echo $ac_n "checking for socket""... $ac_c" 1>&6
18834 echo "configure:18835: checking for socket" >&5
18835 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18836 echo $ac_n "(cached) $ac_c" 1>&6
18838 cat > conftest.
$ac_ext <<EOF
18839 #line 18840 "configure"
18840 #include "confdefs.h"
18841 /* System header to define __stub macros and hopefully few prototypes,
18842 which can conflict with char socket(); below. */
18843 #include <assert.h>
18844 /* Override any gcc2 internal prototype to avoid an error. */
18845 /* We use char because int might match the return type of a gcc2
18846 builtin and then its argument prototype would still apply. */
18851 /* The GNU C library defines this for functions which it implements
18852 to always fail with ENOSYS. Some functions are actually named
18853 something starting with __ and the normal name is an alias. */
18854 #if defined (__stub_socket) || defined (__stub___socket)
18862 if { (eval echo configure
:18863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18864 eval "ac_cv_func_socket=yes"
18866 echo "configure: failed program was:" >&5
18867 cat conftest.
$ac_ext >&5
18869 eval "ac_cv_func_socket=no"
18874 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18875 echo "$ac_t""yes" 1>&6
18878 echo "$ac_t""no" 1>&6
18879 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18880 echo "configure:18881: checking for socket in -lsocket" >&5
18881 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18882 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18883 echo $ac_n "(cached) $ac_c" 1>&6
18885 ac_save_LIBS
="$LIBS"
18886 LIBS
="-lsocket $LIBS"
18887 cat > conftest.
$ac_ext <<EOF
18888 #line 18889 "configure"
18889 #include "confdefs.h"
18890 /* Override any gcc2 internal prototype to avoid an error. */
18891 /* We use char because int might match the return type of a gcc2
18892 builtin and then its argument prototype would still apply. */
18899 if { (eval echo configure
:18900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18901 eval "ac_cv_lib_$ac_lib_var=yes"
18903 echo "configure: failed program was:" >&5
18904 cat conftest.
$ac_ext >&5
18906 eval "ac_cv_lib_$ac_lib_var=no"
18909 LIBS
="$ac_save_LIBS"
18912 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18913 echo "$ac_t""yes" 1>&6
18914 if test "$INET_LINK" != " -lsocket"; then
18915 INET_LINK
="$INET_LINK -lsocket"
18918 echo "$ac_t""no" 1>&6
18920 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18932 if test "$wxUSE_SOCKETS" = "yes" ; then
18933 if test "$TOOLKIT" != "MSW"; then
18934 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18935 echo "configure:18936: checking what is the type of the third argument of getsockname" >&5
18936 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18937 echo $ac_n "(cached) $ac_c" 1>&6
18942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18943 ac_cpp
='$CXXCPP $CPPFLAGS'
18944 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18945 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18946 cross_compiling
=$ac_cv_prog_cxx_cross
18949 cat > conftest.
$ac_ext <<EOF
18950 #line 18951 "configure"
18951 #include "confdefs.h"
18953 #include <sys/types.h>
18954 #include <sys/socket.h>
18959 getsockname(0, 0, &len);
18963 if { (eval echo configure
:18964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18965 wx_cv_type_getsockname3
=socklen_t
18967 echo "configure: failed program was:" >&5
18968 cat conftest.
$ac_ext >&5
18970 cat > conftest.
$ac_ext <<EOF
18971 #line 18972 "configure"
18972 #include "confdefs.h"
18974 #include <sys/types.h>
18975 #include <sys/socket.h>
18980 getsockname(0, 0, &len);
18984 if { (eval echo configure
:18985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18986 wx_cv_type_getsockname3
=size_t
18988 echo "configure: failed program was:" >&5
18989 cat conftest.
$ac_ext >&5
18991 cat > conftest.
$ac_ext <<EOF
18992 #line 18993 "configure"
18993 #include "confdefs.h"
18995 #include <sys/types.h>
18996 #include <sys/socket.h>
19001 getsockname(0, 0, &len);
19005 if { (eval echo configure
:19006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19007 wx_cv_type_getsockname3
=int
19009 echo "configure: failed program was:" >&5
19010 cat conftest.
$ac_ext >&5
19012 wx_cv_type_getsockname3
=unknown
19024 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19025 ac_cpp
='$CPP $CPPFLAGS'
19026 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19027 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19028 cross_compiling
=$ac_cv_prog_cc_cross
19033 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
19035 if test "$wx_cv_type_getsockname3" = "unknown"; then
19037 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
19039 cat >> confdefs.h
<<EOF
19040 #define SOCKLEN_T $wx_cv_type_getsockname3
19047 if test "$wxUSE_SOCKETS" = "yes" ; then
19048 cat >> confdefs.h
<<\EOF
19049 #define wxUSE_SOCKETS 1
19052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
19056 if test "$wxUSE_GUI" = "yes"; then
19058 if test "$TOOLKIT" = "MAC"; then
19059 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19062 if test "$TOOLKIT" = "MOTIF"; then
19063 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19066 if test "$TOOLKIT" = "X11"; then
19067 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19071 if test "$TOOLKIT" != "MSW"; then
19072 if test "$wxUSE_JOYSTICK" = "yes"; then
19073 for ac_hdr
in linux
/joystick.h
19075 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19076 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19077 echo "configure:19078: checking for $ac_hdr" >&5
19078 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19079 echo $ac_n "(cached) $ac_c" 1>&6
19081 cat > conftest.
$ac_ext <<EOF
19082 #line 19083 "configure"
19083 #include "confdefs.h"
19086 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19087 { (eval echo configure
:19088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19088 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19089 if test -z "$ac_err"; then
19091 eval "ac_cv_header_$ac_safe=yes"
19094 echo "configure: failed program was:" >&5
19095 cat conftest.
$ac_ext >&5
19097 eval "ac_cv_header_$ac_safe=no"
19101 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19102 echo "$ac_t""yes" 1>&6
19103 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19104 cat >> confdefs.h
<<EOF
19105 #define $ac_tr_hdr 1
19109 echo "$ac_t""no" 1>&6
19113 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19115 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19120 if test "$wxUSE_JOYSTICK" = "yes"; then
19121 cat >> confdefs.h
<<\EOF
19122 #define wxUSE_JOYSTICK 1
19125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
19130 if test "$TOOLKIT" != "MSW"; then
19134 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19135 if test "$USE_DARWIN" = 1; then
19138 for ac_func
in dlopen
19140 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19141 echo "configure:19142: checking for $ac_func" >&5
19142 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19143 echo $ac_n "(cached) $ac_c" 1>&6
19145 cat > conftest.
$ac_ext <<EOF
19146 #line 19147 "configure"
19147 #include "confdefs.h"
19148 /* System header to define __stub macros and hopefully few prototypes,
19149 which can conflict with char $ac_func(); below. */
19150 #include <assert.h>
19151 /* Override any gcc2 internal prototype to avoid an error. */
19152 /* We use char because int might match the return type of a gcc2
19153 builtin and then its argument prototype would still apply. */
19158 /* The GNU C library defines this for functions which it implements
19159 to always fail with ENOSYS. Some functions are actually named
19160 something starting with __ and the normal name is an alias. */
19161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19169 if { (eval echo configure
:19170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19171 eval "ac_cv_func_$ac_func=yes"
19173 echo "configure: failed program was:" >&5
19174 cat conftest.
$ac_ext >&5
19176 eval "ac_cv_func_$ac_func=no"
19181 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19182 echo "$ac_t""yes" 1>&6
19183 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19184 cat >> confdefs.h
<<EOF
19185 #define $ac_tr_func 1
19188 cat >> confdefs.h
<<\EOF
19189 #define HAVE_DLOPEN 1
19195 echo "$ac_t""no" 1>&6
19196 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19197 echo "configure:19198: checking for dlopen in -ldl" >&5
19198 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19199 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19200 echo $ac_n "(cached) $ac_c" 1>&6
19202 ac_save_LIBS
="$LIBS"
19204 cat > conftest.
$ac_ext <<EOF
19205 #line 19206 "configure"
19206 #include "confdefs.h"
19207 /* Override any gcc2 internal prototype to avoid an error. */
19208 /* We use char because int might match the return type of a gcc2
19209 builtin and then its argument prototype would still apply. */
19216 if { (eval echo configure
:19217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19218 eval "ac_cv_lib_$ac_lib_var=yes"
19220 echo "configure: failed program was:" >&5
19221 cat conftest.
$ac_ext >&5
19223 eval "ac_cv_lib_$ac_lib_var=no"
19226 LIBS
="$ac_save_LIBS"
19229 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19230 echo "$ac_t""yes" 1>&6
19232 cat >> confdefs.h
<<\EOF
19233 #define HAVE_DLOPEN 1
19237 DL_LINK
=" -ldl$DL_LINK"
19240 echo "$ac_t""no" 1>&6
19242 for ac_func
in shl_load
19244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19245 echo "configure:19246: checking for $ac_func" >&5
19246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19247 echo $ac_n "(cached) $ac_c" 1>&6
19249 cat > conftest.
$ac_ext <<EOF
19250 #line 19251 "configure"
19251 #include "confdefs.h"
19252 /* System header to define __stub macros and hopefully few prototypes,
19253 which can conflict with char $ac_func(); below. */
19254 #include <assert.h>
19255 /* Override any gcc2 internal prototype to avoid an error. */
19256 /* We use char because int might match the return type of a gcc2
19257 builtin and then its argument prototype would still apply. */
19262 /* The GNU C library defines this for functions which it implements
19263 to always fail with ENOSYS. Some functions are actually named
19264 something starting with __ and the normal name is an alias. */
19265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19273 if { (eval echo configure
:19274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19275 eval "ac_cv_func_$ac_func=yes"
19277 echo "configure: failed program was:" >&5
19278 cat conftest.
$ac_ext >&5
19280 eval "ac_cv_func_$ac_func=no"
19285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19286 echo "$ac_t""yes" 1>&6
19287 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19288 cat >> confdefs.h
<<EOF
19289 #define $ac_tr_func 1
19292 cat >> confdefs.h
<<\EOF
19293 #define HAVE_SHL_LOAD 1
19299 echo "$ac_t""no" 1>&6
19300 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19301 echo "configure:19302: checking for dld in -lshl_load" >&5
19302 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19304 echo $ac_n "(cached) $ac_c" 1>&6
19306 ac_save_LIBS
="$LIBS"
19307 LIBS
="-lshl_load $LIBS"
19308 cat > conftest.
$ac_ext <<EOF
19309 #line 19310 "configure"
19310 #include "confdefs.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. */
19320 if { (eval echo configure
:19321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19322 eval "ac_cv_lib_$ac_lib_var=yes"
19324 echo "configure: failed program was:" >&5
19325 cat conftest.
$ac_ext >&5
19327 eval "ac_cv_lib_$ac_lib_var=no"
19330 LIBS
="$ac_save_LIBS"
19333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19334 echo "$ac_t""yes" 1>&6
19337 DL_LINK
=" -ldld$DL_LINK"
19340 echo "$ac_t""no" 1>&6
19355 if test "$HAVE_DL_FUNCS" = 1; then
19356 for ac_func
in dlerror
19358 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19359 echo "configure:19360: checking for $ac_func" >&5
19360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19361 echo $ac_n "(cached) $ac_c" 1>&6
19363 cat > conftest.
$ac_ext <<EOF
19364 #line 19365 "configure"
19365 #include "confdefs.h"
19366 /* System header to define __stub macros and hopefully few prototypes,
19367 which can conflict with char $ac_func(); below. */
19368 #include <assert.h>
19369 /* Override any gcc2 internal prototype to avoid an error. */
19370 /* We use char because int might match the return type of a gcc2
19371 builtin and then its argument prototype would still apply. */
19376 /* The GNU C library defines this for functions which it implements
19377 to always fail with ENOSYS. Some functions are actually named
19378 something starting with __ and the normal name is an alias. */
19379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19387 if { (eval echo configure
:19388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19389 eval "ac_cv_func_$ac_func=yes"
19391 echo "configure: failed program was:" >&5
19392 cat conftest.
$ac_ext >&5
19394 eval "ac_cv_func_$ac_func=no"
19399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19400 echo "$ac_t""yes" 1>&6
19401 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19402 cat >> confdefs.h
<<EOF
19403 #define $ac_tr_func 1
19405 cat >> confdefs.h
<<\EOF
19406 #define HAVE_DLERROR 1
19410 echo "$ac_t""no" 1>&6
19411 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19412 echo "configure:19413: checking for dlerror in -ldl" >&5
19413 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19414 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19415 echo $ac_n "(cached) $ac_c" 1>&6
19417 ac_save_LIBS
="$LIBS"
19419 cat > conftest.
$ac_ext <<EOF
19420 #line 19421 "configure"
19421 #include "confdefs.h"
19422 /* Override any gcc2 internal prototype to avoid an error. */
19423 /* We use char because int might match the return type of a gcc2
19424 builtin and then its argument prototype would still apply. */
19431 if { (eval echo configure
:19432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19433 eval "ac_cv_lib_$ac_lib_var=yes"
19435 echo "configure: failed program was:" >&5
19436 cat conftest.
$ac_ext >&5
19438 eval "ac_cv_lib_$ac_lib_var=no"
19441 LIBS
="$ac_save_LIBS"
19444 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19445 echo "$ac_t""yes" 1>&6
19446 cat >> confdefs.h
<<\EOF
19447 #define HAVE_DLERROR 1
19451 echo "$ac_t""no" 1>&6
19460 if test "$HAVE_DL_FUNCS" = 0; then
19461 if test "$HAVE_SHL_FUNCS" = 0; then
19462 if test "$USE_UNIX" = 1; then
19463 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19464 wxUSE_DYNAMIC_LOADER
=no
19465 wxUSE_DYNLIB_CLASS
=no
19467 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19474 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19475 cat >> confdefs.h
<<\EOF
19476 #define wxUSE_DYNAMIC_LOADER 1
19479 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19480 cat >> confdefs.h
<<\EOF
19481 #define wxUSE_DYNLIB_CLASS 1
19487 if test "$wxUSE_FONTMAP" = "yes" ; then
19488 cat >> confdefs.h
<<\EOF
19489 #define wxUSE_FONTMAP 1
19494 if test "$wxUSE_UNICODE" = "yes" ; then
19495 cat >> confdefs.h
<<\EOF
19496 #define wxUSE_UNICODE 1
19500 if test "$wxUSE_MSW" != 1; then
19501 wxUSE_UNICODE_MSLU
=no
19504 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19505 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19506 echo "configure:19507: checking for main in -lunicows" >&5
19507 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19508 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19509 echo $ac_n "(cached) $ac_c" 1>&6
19511 ac_save_LIBS
="$LIBS"
19512 LIBS
="-lunicows $LIBS"
19513 cat > conftest.
$ac_ext <<EOF
19514 #line 19515 "configure"
19515 #include "confdefs.h"
19521 if { (eval echo configure
:19522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19523 eval "ac_cv_lib_$ac_lib_var=yes"
19525 echo "configure: failed program was:" >&5
19526 cat conftest.
$ac_ext >&5
19528 eval "ac_cv_lib_$ac_lib_var=no"
19531 LIBS
="$ac_save_LIBS"
19534 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19535 echo "$ac_t""yes" 1>&6
19537 cat >> confdefs.h
<<\EOF
19538 #define wxUSE_UNICODE_MSLU 1
19543 echo "$ac_t""no" 1>&6
19545 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19546 Applications will only run on Windows NT/2000/XP!" 1>&2
19547 wxUSE_UNICODE_MSLU
=no
19554 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19555 cat >> confdefs.h
<<\EOF
19556 #define wxUSE_EXPERIMENTAL_PRINTF 1
19564 if test "$wxUSE_ODBC" = "yes" ; then
19565 cat >> confdefs.h
<<\EOF
19566 #define wxUSE_ODBC 1
19569 WXODBCFLAG
="-D_IODBC_"
19570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19574 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19575 cat >> confdefs.h
<<\EOF
19576 #define wxUSE_POSTSCRIPT 1
19581 cat >> confdefs.h
<<\EOF
19582 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19586 cat >> confdefs.h
<<\EOF
19587 #define wxUSE_NORMALIZED_PS_FONTS 1
19592 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19593 cat >> confdefs.h
<<\EOF
19594 #define wxUSE_CONSTRAINTS 1
19597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19600 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19601 if test "$wxUSE_UNIVERSAL" = "yes"; then
19602 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19603 wxUSE_MDI_ARCHITECTURE
=no
19606 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19607 cat >> confdefs.h
<<\EOF
19608 #define wxUSE_MDI_ARCHITECTURE 1
19611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19615 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19616 cat >> confdefs.h
<<\EOF
19617 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19621 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19626 if test "$wxUSE_HELP" = "yes"; then
19627 cat >> confdefs.h
<<\EOF
19628 #define wxUSE_HELP 1
19631 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19633 if test "$wxUSE_MSW" = 1; then
19634 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19635 cat >> confdefs.h
<<\EOF
19636 #define wxUSE_MS_HTML_HELP 1
19642 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19643 if test "$wxUSE_HTML" = "yes"; then
19644 cat >> confdefs.h
<<\EOF
19645 #define wxUSE_WXHTML_HELP 1
19649 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19650 wxUSE_WXHTML_HELP
=no
19655 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19656 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19657 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19659 cat >> confdefs.h
<<\EOF
19660 #define wxUSE_PRINTING_ARCHITECTURE 1
19664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19667 if test "$wxUSE_PROLOGIO" = "yes" ; then
19668 cat >> confdefs.h
<<\EOF
19669 #define wxUSE_PROLOGIO 1
19674 if test "$wxUSE_RESOURCES" = "yes" ; then
19675 if test "$wxUSE_NANOX" = "yes"; then
19676 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19678 cat >> confdefs.h
<<\EOF
19679 #define wxUSE_RESOURCES 1
19682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19686 if test "$wxUSE_X_RESOURCES" = "yes"; then
19687 cat >> confdefs.h
<<\EOF
19688 #define wxUSE_X_RESOURCES 1
19694 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19695 -o "$wxUSE_CLIPBOARD" = "yes" \
19696 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19697 for ac_hdr
in ole2.h
19699 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19700 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19701 echo "configure:19702: checking for $ac_hdr" >&5
19702 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19703 echo $ac_n "(cached) $ac_c" 1>&6
19705 cat > conftest.
$ac_ext <<EOF
19706 #line 19707 "configure"
19707 #include "confdefs.h"
19710 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19711 { (eval echo configure
:19712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19712 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19713 if test -z "$ac_err"; then
19715 eval "ac_cv_header_$ac_safe=yes"
19718 echo "configure: failed program was:" >&5
19719 cat conftest.
$ac_ext >&5
19721 eval "ac_cv_header_$ac_safe=no"
19725 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19726 echo "$ac_t""yes" 1>&6
19727 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19728 cat >> confdefs.h
<<EOF
19729 #define $ac_tr_hdr 1
19733 echo "$ac_t""no" 1>&6
19738 if test "$ac_cv_header_ole2_h" = "yes" ; then
19739 if test "$GCC" = yes ; then
19740 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19741 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19742 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19743 cat >> confdefs.h
<<\EOF
19744 #define wxUSE_OLE 1
19750 cat >> confdefs.h
<<\EOF
19751 #define wxUSE_DATAOBJ 1
19755 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19758 wxUSE_DRAG_AND_DROP
=no
19762 if test "$wxUSE_METAFILE" = "yes"; then
19763 cat >> confdefs.h
<<\EOF
19764 #define wxUSE_METAFILE 1
19768 cat >> confdefs.h
<<\EOF
19769 #define wxUSE_ENH_METAFILE 1
19775 if test "$wxUSE_IPC" = "yes"; then
19776 if test "$wxUSE_SOCKETS" != "yes"; then
19777 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19780 cat >> confdefs.h
<<\EOF
19781 #define wxUSE_IPC 1
19786 if test "$wxUSE_CLIPBOARD" = "yes"; then
19787 if test "$wxUSE_MGL" = 1; then
19788 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
19792 if test "$wxUSE_CLIPBOARD" = "yes"; then
19793 cat >> confdefs.h
<<\EOF
19794 #define wxUSE_CLIPBOARD 1
19798 cat >> confdefs.h
<<\EOF
19799 #define wxUSE_DATAOBJ 1
19805 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19806 if test "$wxUSE_GTK" = 1; then
19807 if test "$WXGTK12" != 1; then
19808 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19809 wxUSE_DRAG_AND_DROP
=no
19813 if test "$wxUSE_MOTIF" = 1; then
19814 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19815 wxUSE_DRAG_AND_DROP
=no
19818 if test "$wxUSE_X11" = 1; then
19819 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19820 wxUSE_DRAG_AND_DROP
=no
19823 if test "$wxUSE_MGL" = 1; then
19824 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
19825 wxUSE_DRAG_AND_DROP
=no
19828 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19829 cat >> confdefs.h
<<\EOF
19830 #define wxUSE_DRAG_AND_DROP 1
19833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19838 if test "$wxUSE_SPLINES" = "yes" ; then
19839 cat >> confdefs.h
<<\EOF
19840 #define wxUSE_SPLINES 1
19847 if test "$wxUSE_CONTROLS" = "yes"; then
19851 if test "$wxUSE_ACCEL" = "yes"; then
19852 cat >> confdefs.h
<<\EOF
19853 #define wxUSE_ACCEL 1
19859 if test "$wxUSE_BUTTON" = "yes"; then
19860 cat >> confdefs.h
<<\EOF
19861 #define wxUSE_BUTTON 1
19867 if test "$wxUSE_BMPBUTTON" = "yes"; then
19868 cat >> confdefs.h
<<\EOF
19869 #define wxUSE_BMPBUTTON 1
19875 if test "$wxUSE_CALCTRL" = "yes"; then
19876 cat >> confdefs.h
<<\EOF
19877 #define wxUSE_CALENDARCTRL 1
19881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
19884 if test "$wxUSE_CARET" = "yes"; then
19885 cat >> confdefs.h
<<\EOF
19886 #define wxUSE_CARET 1
19890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
19893 if test "$wxUSE_COMBOBOX" = "yes"; then
19894 cat >> confdefs.h
<<\EOF
19895 #define wxUSE_COMBOBOX 1
19901 if test "$wxUSE_CHOICE" = "yes"; then
19902 cat >> confdefs.h
<<\EOF
19903 #define wxUSE_CHOICE 1
19909 if test "$wxUSE_CHECKBOX" = "yes"; then
19910 cat >> confdefs.h
<<\EOF
19911 #define wxUSE_CHECKBOX 1
19917 if test "$wxUSE_CHECKLST" = "yes"; then
19918 cat >> confdefs.h
<<\EOF
19919 #define wxUSE_CHECKLISTBOX 1
19923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
19926 if test "$wxUSE_GAUGE" = "yes"; then
19927 cat >> confdefs.h
<<\EOF
19928 #define wxUSE_GAUGE 1
19934 if test "$wxUSE_NEW_GRID" = "yes"; then
19936 cat >> confdefs.h
<<\EOF
19937 #define wxUSE_NEW_GRID 1
19941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
19944 if test "$wxUSE_GRID" = "yes"; then
19945 cat >> confdefs.h
<<\EOF
19946 #define wxUSE_GRID 1
19950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
19953 if test "$wxUSE_IMAGLIST" = "yes"; then
19954 cat >> confdefs.h
<<\EOF
19955 #define wxUSE_IMAGLIST 1
19960 if test "$wxUSE_LISTBOX" = "yes"; then
19961 cat >> confdefs.h
<<\EOF
19962 #define wxUSE_LISTBOX 1
19968 if test "$wxUSE_LISTCTRL" = "yes"; then
19969 if test "$wxUSE_IMAGLIST" = "yes"; then
19970 cat >> confdefs.h
<<\EOF
19971 #define wxUSE_LISTCTRL 1
19975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
19977 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19981 if test "$wxUSE_NOTEBOOK" = "yes"; then
19982 cat >> confdefs.h
<<\EOF
19983 #define wxUSE_NOTEBOOK 1
19987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
19990 if test "$wxUSE_PROPSHEET" = "yes"; then
19991 cat >> confdefs.h
<<\EOF
19992 #define wxUSE_PROPSHEET 1
19996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
19999 if test "$wxUSE_RADIOBOX" = "yes"; then
20000 cat >> confdefs.h
<<\EOF
20001 #define wxUSE_RADIOBOX 1
20007 if test "$wxUSE_RADIOBTN" = "yes"; then
20008 cat >> confdefs.h
<<\EOF
20009 #define wxUSE_RADIOBTN 1
20015 if test "$wxUSE_SASH" = "yes"; then
20016 cat >> confdefs.h
<<\EOF
20017 #define wxUSE_SASH 1
20020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
20023 if test "$wxUSE_SCROLLBAR" = "yes"; then
20024 cat >> confdefs.h
<<\EOF
20025 #define wxUSE_SCROLLBAR 1
20029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
20032 if test "$wxUSE_SLIDER" = "yes"; then
20033 cat >> confdefs.h
<<\EOF
20034 #define wxUSE_SLIDER 1
20040 if test "$wxUSE_SPINBTN" = "yes"; then
20041 cat >> confdefs.h
<<\EOF
20042 #define wxUSE_SPINBTN 1
20048 if test "$wxUSE_SPINCTRL" = "yes"; then
20049 cat >> confdefs.h
<<\EOF
20050 #define wxUSE_SPINCTRL 1
20056 if test "$wxUSE_SPLITTER" = "yes"; then
20057 cat >> confdefs.h
<<\EOF
20058 #define wxUSE_SPLITTER 1
20061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
20064 if test "$wxUSE_STATBMP" = "yes"; then
20065 cat >> confdefs.h
<<\EOF
20066 #define wxUSE_STATBMP 1
20072 if test "$wxUSE_STATBOX" = "yes"; then
20073 cat >> confdefs.h
<<\EOF
20074 #define wxUSE_STATBOX 1
20080 if test "$wxUSE_STATTEXT" = "yes"; then
20081 cat >> confdefs.h
<<\EOF
20082 #define wxUSE_STATTEXT 1
20088 if test "$wxUSE_STATLINE" = "yes"; then
20089 if test "$wxUSE_WINE" = 1 ; then
20090 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20092 cat >> confdefs.h
<<\EOF
20093 #define wxUSE_STATLINE 1
20100 if test "$wxUSE_STATUSBAR" = "yes"; then
20101 cat >> confdefs.h
<<\EOF
20102 #define wxUSE_STATUSBAR 1
20107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
20110 if test "$wxUSE_TABDIALOG" = "yes"; then
20111 cat >> confdefs.h
<<\EOF
20112 #define wxUSE_TAB_DIALOG 1
20115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
20118 if test "$wxUSE_TEXTCTRL" = "yes"; then
20119 cat >> confdefs.h
<<\EOF
20120 #define wxUSE_TEXTCTRL 1
20124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
20127 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20128 if test "$wxUSE_MAC" = 1; then
20129 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20132 if test "$wxUSE_UNIVERSAL" = "yes"; then
20133 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20137 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20138 cat >> confdefs.h
<<\EOF
20139 #define wxUSE_TOGGLEBTN 1
20146 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20147 cat >> confdefs.h
<<\EOF
20148 #define wxUSE_TOOLBAR_SIMPLE 1
20151 wxUSE_TOOLBAR
="yes"
20155 if test "$wxUSE_TOOLBAR" = "yes"; then
20156 cat >> confdefs.h
<<\EOF
20157 #define wxUSE_TOOLBAR 1
20162 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20163 wxUSE_TOOLBAR_NATIVE
="yes"
20166 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20167 cat >> confdefs.h
<<\EOF
20168 #define wxUSE_TOOLBAR_NATIVE 1
20174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
20177 if test "$wxUSE_TOOLTIPS" = "yes"; then
20178 if test "$wxUSE_MOTIF" = 1; then
20179 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20181 if test "$wxUSE_WINE" = 1; then
20182 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20184 if test "$wxUSE_UNIVERSAL" = "yes"; then
20185 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20187 cat >> confdefs.h
<<\EOF
20188 #define wxUSE_TOOLTIPS 1
20196 if test "$wxUSE_TREECTRL" = "yes"; then
20197 if test "$wxUSE_IMAGLIST" = "yes"; then
20198 cat >> confdefs.h
<<\EOF
20199 #define wxUSE_TREECTRL 1
20203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20205 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20209 if test "$wxUSE_POPUPWIN" = "yes"; then
20210 if test "$wxUSE_MAC" = 1; then
20211 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20213 if test "$wxUSE_MOTIF" = 1; then
20214 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20216 if test "$wxUSE_PM" = 1; then
20217 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20219 cat >> confdefs.h
<<\EOF
20220 #define wxUSE_POPUPWIN 1
20230 if test "$wxUSE_TIPWINDOW" = "yes"; then
20231 if test "$wxUSE_PM" = 1; then
20232 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20234 cat >> confdefs.h
<<\EOF
20235 #define wxUSE_TIPWINDOW 1
20241 if test "$USES_CONTROLS" = 1; then
20242 cat >> confdefs.h
<<\EOF
20243 #define wxUSE_CONTROLS 1
20249 if test "$wxUSE_TREELAYOUT" = "yes"; then
20250 cat >> confdefs.h
<<\EOF
20251 #define wxUSE_TREELAYOUT 1
20254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20257 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20258 cat >> confdefs.h
<<\EOF
20259 #define wxUSE_DRAGIMAGE 1
20262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20265 if test "$wxUSE_MENUS" = "yes"; then
20266 cat >> confdefs.h
<<\EOF
20267 #define wxUSE_MENUS 1
20270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20273 if test "$wxUSE_METAFILE" = "yes"; then
20274 cat >> confdefs.h
<<\EOF
20275 #define wxUSE_METAFILE 1
20280 if test "$wxUSE_MIMETYPE" = "yes"; then
20281 cat >> confdefs.h
<<\EOF
20282 #define wxUSE_MIMETYPE 1
20287 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20288 cat >> confdefs.h
<<\EOF
20289 #define wxUSE_SYSTEM_OPTIONS 1
20292 if test "$TOOLKIT" = "MSW"; then
20293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
20298 if test "$wxUSE_PROTOCOL" = "yes"; then
20299 if test "$wxUSE_SOCKETS" != "yes"; then
20300 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20304 if test "$wxUSE_PROTOCOL" = "yes"; then
20305 cat >> confdefs.h
<<\EOF
20306 #define wxUSE_PROTOCOL 1
20310 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20311 cat >> confdefs.h
<<\EOF
20312 #define wxUSE_PROTOCOL_HTTP 1
20316 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20317 cat >> confdefs.h
<<\EOF
20318 #define wxUSE_PROTOCOL_FTP 1
20322 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20323 cat >> confdefs.h
<<\EOF
20324 #define wxUSE_PROTOCOL_FILE 1
20331 if test "$wxUSE_URL" = "yes"; then
20332 if test "$wxUSE_PROTOCOL" != "yes"; then
20333 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20336 if test "$wxUSE_URL" = "yes"; then
20337 cat >> confdefs.h
<<\EOF
20338 #define wxUSE_URL 1
20344 if test "$wxUSE_MINIFRAME" = "yes"; then
20345 cat >> confdefs.h
<<\EOF
20346 #define wxUSE_MINIFRAME 1
20349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20352 if test "$wxUSE_HTML" = "yes"; then
20353 cat >> confdefs.h
<<\EOF
20354 #define wxUSE_HTML 1
20357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20360 if test "$wxUSE_VALIDATORS" = "yes"; then
20361 cat >> confdefs.h
<<\EOF
20362 #define wxUSE_VALIDATORS 1
20365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20368 if test "$wxUSE_PALETTE" = "yes" ; then
20369 cat >> confdefs.h
<<\EOF
20370 #define wxUSE_PALETTE 1
20375 if test "$wxUSE_IMAGE" = "yes" ; then
20376 cat >> confdefs.h
<<\EOF
20377 #define wxUSE_IMAGE 1
20382 if test "$wxUSE_GIF" = "yes" ; then
20383 cat >> confdefs.h
<<\EOF
20384 #define wxUSE_GIF 1
20389 if test "$wxUSE_PCX" = "yes" ; then
20390 cat >> confdefs.h
<<\EOF
20391 #define wxUSE_PCX 1
20396 if test "$wxUSE_IFF" = "yes" ; then
20397 cat >> confdefs.h
<<\EOF
20398 #define wxUSE_IFF 1
20403 if test "$wxUSE_PNM" = "yes" ; then
20404 cat >> confdefs.h
<<\EOF
20405 #define wxUSE_PNM 1
20410 if test "$wxUSE_XPM" = "yes" ; then
20411 cat >> confdefs.h
<<\EOF
20412 #define wxUSE_XPM 1
20417 if test "$wxUSE_ICO_CUR" = "yes" ; then
20418 cat >> confdefs.h
<<\EOF
20419 #define wxUSE_ICO_CUR 1
20424 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20425 LIBS
=" -lunicows $LIBS"
20429 if test "$wxUSE_CHOICEDLG" = "yes"; then
20430 cat >> confdefs.h
<<\EOF
20431 #define wxUSE_CHOICEDLG 1
20436 if test "$wxUSE_COLOURDLG" = "yes"; then
20437 cat >> confdefs.h
<<\EOF
20438 #define wxUSE_COLOURDLG 1
20443 if test "$wxUSE_FILEDLG" = "yes"; then
20444 cat >> confdefs.h
<<\EOF
20445 #define wxUSE_FILEDLG 1
20450 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20451 cat >> confdefs.h
<<\EOF
20452 #define wxUSE_FINDREPLDLG 1
20457 if test "$wxUSE_FONTDLG" = "yes"; then
20458 cat >> confdefs.h
<<\EOF
20459 #define wxUSE_FONTDLG 1
20464 if test "$wxUSE_DIRDLG" = "yes"; then
20465 if test "$wxUSE_TREECTRL" != "yes"; then
20466 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20468 cat >> confdefs.h
<<\EOF
20469 #define wxUSE_DIRDLG 1
20475 if test "$wxUSE_MSGDLG" = "yes"; then
20476 cat >> confdefs.h
<<\EOF
20477 #define wxUSE_MSGDLG 1
20482 if test "$wxUSE_NUMBERDLG" = "yes"; then
20483 cat >> confdefs.h
<<\EOF
20484 #define wxUSE_NUMBERDLG 1
20489 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20490 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20491 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20493 cat >> confdefs.h
<<\EOF
20494 #define wxUSE_PROGRESSDLG 1
20500 if test "$wxUSE_SPLASH" = "yes"; then
20501 cat >> confdefs.h
<<\EOF
20502 #define wxUSE_SPLASH 1
20507 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20508 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20509 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20511 cat >> confdefs.h
<<\EOF
20512 #define wxUSE_STARTUP_TIPS 1
20518 if test "$wxUSE_TEXTDLG" = "yes"; then
20519 cat >> confdefs.h
<<\EOF
20520 #define wxUSE_TEXTDLG 1
20525 if test "$wxUSE_WIZARDDLG" = "yes"; then
20526 cat >> confdefs.h
<<\EOF
20527 #define wxUSE_WIZARDDLG 1
20530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20534 if test "$cross_compiling" = "yes"; then
20537 OSINFO
=`uname -s -r -m`
20538 OSINFO
="\"$OSINFO\""
20541 cat >> confdefs.h
<<EOF
20542 #define WXWIN_OS_DESCRIPTION $OSINFO
20547 if test "x$prefix" != "xNONE"; then
20550 wxPREFIX
=$ac_default_prefix
20553 cat >> confdefs.h
<<EOF
20554 #define wxINSTALL_PREFIX "$wxPREFIX"
20561 if test "$wxUSE_MAC" = 1 ; then
20562 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20566 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20568 if test "$wxUSE_GUI" = "yes"; then
20570 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
20574 drawing dynamic erase event exec font image \
20575 minimal richedit rotate widgets"
20577 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20579 SAMPLES_SUBDIRS
="console"
20583 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
20584 -I\${top_srcdir}/include \
20585 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
20588 if test "$wxUSE_GTK" = 1; then
20591 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20594 if test "$GXX" = yes ; then
20595 CXXWARNINGS
="-Wall"
20597 if test "$wxUSE_NO_DEPS" = "no" ; then
20598 CFLAGS
="-MMD $CFLAGS"
20599 CXXFLAGS
="-MMD $CXXFLAGS"
20603 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20605 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20606 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20607 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
20609 LDFLAGS
="$LDFLAGS $PROFILE"
20611 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20701 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20702 echo "configure:20703: checking whether ${MAKE-make} sets \${MAKE}" >&5
20703 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20704 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20705 echo $ac_n "(cached) $ac_c" 1>&6
20707 cat > conftestmake
<<\EOF
20709 @
echo 'ac_maketemp="${MAKE}"'
20711 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20712 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20713 if test -n "$ac_maketemp"; then
20714 eval ac_cv_prog_make_
${ac_make}_set
=yes
20716 eval ac_cv_prog_make_
${ac_make}_set
=no
20720 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20721 echo "$ac_t""yes" 1>&6
20724 echo "$ac_t""no" 1>&6
20725 SET_MAKE
="MAKE=${MAKE-make}"
20729 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20730 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20735 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20736 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20737 wx_cv_path_ifs
=$PATH_IFS
20738 wx_cv_program_ext
=$PROGRAM_EXT
20739 wx_cv_target_library
=$WX_TARGET_LIBRARY
20740 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20741 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20742 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20743 wx_cv_path_ifs wx_cv_program_ext \
20744 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20746 subdirs
="demos samples utils contrib"
20750 cat > confcache
<<\EOF
20751 # This file is a shell script that caches the results of configure
20752 # tests run on this system so they can be shared between configure
20753 # scripts and configure runs. It is not useful on other systems.
20754 # If it contains results you don't want to keep, you may remove or edit it.
20756 # By default, configure uses ./config.cache as the cache file,
20757 # creating it if it does not exist already. You can give configure
20758 # the --cache-file=FILE option to use a different cache file; that is
20759 # what configure does when it calls configure scripts in
20760 # subdirectories, so they share the cache.
20761 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20762 # config.status only pays attention to the cache file if you give it the
20763 # --recheck option to rerun configure.
20766 # The following way of writing the cache mishandles newlines in values,
20767 # but we know of no workaround that is simple, portable, and efficient.
20768 # So, don't put newlines in cache variables' values.
20769 # Ultrix sh set writes to stderr and can't be redirected directly,
20770 # and sets the high bit in the cache file unless we assign to the vars.
20772 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20774 # `set' does not quote correctly, so add quotes (double-quote substitution
20775 # turns \\\\ into \\, and sed turns \\ into \).
20777 -e "s/'/'\\\\''/g" \
20778 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20781 # `set' quotes correctly as required by POSIX, so do not add quotes.
20782 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20785 if cmp -s $cache_file confcache
; then
20788 if test -w $cache_file; then
20789 echo "updating cache $cache_file"
20790 cat confcache
> $cache_file
20792 echo "not updating unwritable cache $cache_file"
20797 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20799 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20800 # Let make expand exec_prefix.
20801 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20803 # Any assignment to VPATH causes Sun make to only execute
20804 # the first set of double-colon rules, so remove it if not needed.
20805 # If there is a colon in the path, we need to keep it.
20806 if test "x$srcdir" = x.
; then
20807 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20810 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20812 DEFS
=-DHAVE_CONFIG_H
20814 # Without the "./", some shells look in PATH for config.status.
20815 : ${CONFIG_STATUS=./config.status}
20817 echo creating
$CONFIG_STATUS
20818 rm -f $CONFIG_STATUS
20819 cat > $CONFIG_STATUS <<EOF
20821 # Generated automatically by configure.
20822 # Run this file to recreate the current configuration.
20823 # This directory was configured as follows,
20824 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20826 # $0 $ac_configure_args
20828 # Compiler output produced by configure, useful for debugging
20829 # configure, is in ./config.log if it exists.
20831 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20834 case "\$ac_option" in
20835 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20836 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20837 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20838 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20839 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20841 -help | --help | --hel | --he | --h)
20842 echo "\$ac_cs_usage"; exit 0 ;;
20843 *) echo "\$ac_cs_usage"; exit 1 ;;
20847 ac_given_srcdir=$srcdir
20848 ac_given_INSTALL="$INSTALL"
20850 trap 'rm -fr `echo "
20856 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20858 cat >> $CONFIG_STATUS <<EOF
20860 # Protect against being on the right side of a sed subst in config.status.
20861 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20862 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20866 s%@CFLAGS@%$CFLAGS%g
20867 s%@CPPFLAGS@%$CPPFLAGS%g
20868 s%@CXXFLAGS@%$CXXFLAGS%g
20869 s%@FFLAGS@%$FFLAGS%g
20871 s%@LDFLAGS@%$LDFLAGS%g
20873 s%@exec_prefix@%$exec_prefix%g
20874 s%@prefix@%$prefix%g
20875 s%@program_transform_name@%$program_transform_name%g
20876 s%@bindir@%$bindir%g
20877 s%@sbindir@%$sbindir%g
20878 s%@libexecdir@%$libexecdir%g
20879 s%@datadir@%$datadir%g
20880 s%@sysconfdir@%$sysconfdir%g
20881 s%@sharedstatedir@%$sharedstatedir%g
20882 s%@localstatedir@%$localstatedir%g
20883 s%@libdir@%$libdir%g
20884 s%@includedir@%$includedir%g
20885 s%@oldincludedir@%$oldincludedir%g
20886 s%@infodir@%$infodir%g
20887 s%@mandir@%$mandir%g
20889 s%@host_alias@%$host_alias%g
20890 s%@host_cpu@%$host_cpu%g
20891 s%@host_vendor@%$host_vendor%g
20892 s%@host_os@%$host_os%g
20893 s%@target@%$target%g
20894 s%@target_alias@%$target_alias%g
20895 s%@target_cpu@%$target_cpu%g
20896 s%@target_vendor@%$target_vendor%g
20897 s%@target_os@%$target_os%g
20899 s%@build_alias@%$build_alias%g
20900 s%@build_cpu@%$build_cpu%g
20901 s%@build_vendor@%$build_vendor%g
20902 s%@build_os@%$build_os%g
20906 s%@RANLIB@%$RANLIB%g
20908 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20909 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20910 s%@INSTALL_DATA@%$INSTALL_DATA%g
20912 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20915 s%@LEXLIB@%$LEXLIB%g
20917 s%@CXXCPP@%$CXXCPP%g
20918 s%@PKG_CONFIG@%$PKG_CONFIG%g
20919 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20920 s%@GTK_LIBS@%$GTK_LIBS%g
20921 s%@GTK_CONFIG@%$GTK_CONFIG%g
20922 s%@X_CFLAGS@%$X_CFLAGS%g
20923 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20924 s%@X_LIBS@%$X_LIBS%g
20925 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20926 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
20927 s%@RESCOMP@%$RESCOMP%g
20929 s%@LIBICONV@%$LIBICONV%g
20930 s%@LEX_STEM@%$LEX_STEM%g
20931 s%@PATH_IFS@%$PATH_IFS%g
20932 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20933 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20934 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20935 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20936 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20937 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20938 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20939 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20940 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20941 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20942 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20943 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20944 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20945 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20946 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20947 s%@WX_ALL@%$WX_ALL%g
20948 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20949 s%@SHARED_LD@%$SHARED_LD%g
20950 s%@PIC_FLAG@%$PIC_FLAG%g
20951 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20952 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20953 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20954 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20955 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20956 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20957 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20958 s%@USE_GUI@%$USE_GUI%g
20959 s%@AFMINSTALL@%$AFMINSTALL%g
20960 s%@TOOLKIT@%$TOOLKIT%g
20961 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20962 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20963 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20964 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20965 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20966 s%@cross_compiling@%$cross_compiling%g
20967 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20968 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20969 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20970 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20971 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20972 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20973 s%@ALL_HEADERS@%$ALL_HEADERS%g
20974 s%@ALL_SOURCES@%$ALL_SOURCES%g
20975 s%@GUIDIST@%$GUIDIST%g
20976 s%@PORT_FILES@%$PORT_FILES%g
20977 s%@DISTDIR@%$DISTDIR%g
20978 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20979 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20980 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
20981 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20982 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20983 s%@EXTRADEFS@%$EXTRADEFS%g
20984 s%@RESFLAGS@%$RESFLAGS%g
20985 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20986 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
20987 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
20988 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
20989 s%@LIBWXMACRES@%$LIBWXMACRES%g
20990 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20991 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20992 s%@DLLTOOL@%$DLLTOOL%g
20996 s%@MAKEINFO@%$MAKEINFO%g
20997 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20998 s%@SET_MAKE@%$SET_MAKE%g
20999 s%@subdirs@%$subdirs%g
21004 cat >> $CONFIG_STATUS <<\EOF
21006 # Split the substitutions into bite-sized pieces for seds with
21007 # small command number limits, like on Digital OSF/1 and HP-UX.
21008 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
21009 ac_file
=1 # Number of current file.
21010 ac_beg
=1 # First line for current file.
21011 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
21014 while $ac_more_lines; do
21015 if test $ac_beg -gt 1; then
21016 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
21018 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
21020 if test ! -s conftest.s
$ac_file; then
21021 ac_more_lines
=false
21022 rm -f conftest.s
$ac_file
21024 if test -z "$ac_sed_cmds"; then
21025 ac_sed_cmds
="sed -f conftest.s$ac_file"
21027 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
21029 ac_file
=`expr $ac_file + 1`
21031 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
21034 if test -z "$ac_sed_cmds"; then
21039 cat >> $CONFIG_STATUS <<EOF
21041 CONFIG_FILES=\${CONFIG_FILES-"wx-config
21048 cat >> $CONFIG_STATUS <<\EOF
21049 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
21050 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21052 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21053 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21054 *) ac_file_in
="${ac_file}.in" ;;
21057 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21059 # Remove last slash and all that follows it. Not all systems have dirname.
21060 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21061 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
21062 # The file is in a subdirectory.
21063 test ! -d "$ac_dir" && mkdir "$ac_dir"
21064 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
21065 # A "../" for each directory in $ac_dir_suffix.
21066 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21068 ac_dir_suffix
= ac_dots
=
21071 case "$ac_given_srcdir" in
21073 if test -z "$ac_dots"; then top_srcdir
=.
21074 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21075 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
21076 *) # Relative path.
21077 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21078 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21081 case "$ac_given_INSTALL" in
21082 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
21083 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
21086 echo creating
"$ac_file"
21088 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21090 *Makefile
*) ac_comsub
="1i\\
21091 # $configure_input" ;;
21095 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21097 s%@configure_input@%$configure_input%g
21098 s%@srcdir@%$srcdir%g
21099 s%@top_srcdir@%$top_srcdir%g
21100 s%@INSTALL@%$INSTALL%g
21101 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21105 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21106 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21108 # ac_d sets the value in "#define NAME VALUE" lines.
21109 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21110 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
21113 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21114 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21115 ac_uB
='\([ ]\)%\1#\2define\3'
21118 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21119 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21120 ac_eB
='$%\1#\2define\3'
21124 if test "${CONFIG_HEADERS+set}" != set; then
21126 cat >> $CONFIG_STATUS <<EOF
21127 CONFIG_HEADERS="setup.h:setup.h.in"
21129 cat >> $CONFIG_STATUS <<\EOF
21131 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21132 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21134 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21135 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21136 *) ac_file_in
="${ac_file}.in" ;;
21139 echo creating
$ac_file
21141 rm -f conftest.frag conftest.
in conftest.out
21142 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21143 cat $ac_file_inputs > conftest.
in
21147 # Transform confdefs.h into a sed script conftest.vals that substitutes
21148 # the proper values into config.h.in to produce config.h. And first:
21149 # Protect against being on the right side of a sed subst in config.status.
21150 # Protect against being in an unquoted here document in config.status.
21151 rm -f conftest.vals
21152 cat > conftest.hdr
<<\EOF
21155 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21159 sed -n -f conftest.hdr confdefs.h > conftest.vals
21162 # This sed command replaces #undef with comments. This is necessary, for
21163 # example, in the case of _POSIX_SOURCE, which is predefined and required
21164 # on some systems where configure will not decide to define it.
21165 cat >> conftest.vals <<\EOF
21166 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21169 # Break up conftest.vals because some shells have a limit on
21170 # the size of here documents, and old seds have small limits too.
21172 rm -f conftest.tail
21175 ac_lines=`grep -c . conftest.vals
`
21176 # grep -c gives empty output for an empty file on some AIX systems.
21177 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21178 # Write a limited-size here document to conftest.frag.
21179 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21180 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21182 sed -f conftest.frag conftest.in > conftest.out
21184 mv conftest.out conftest.in
21185 ' >> $CONFIG_STATUS
21186 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21187 rm -f conftest.vals
21188 mv conftest.tail conftest.vals
21190 rm -f conftest.vals
21192 cat >> $CONFIG_STATUS <<\EOF
21193 rm -f conftest.frag conftest.h
21194 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21195 cat conftest.in >> conftest.h
21197 if cmp -s $ac_file conftest.h 2>/dev/null; then
21198 echo "$ac_file is unchanged"
21201 # Remove last slash and all that follows it. Not all systems have dirname.
21202 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21203 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21204 # The file is in a subdirectory.
21205 test ! -d "$ac_dir" && mkdir "$ac_dir"
21208 mv conftest.h $ac_file
21213 cat >> $CONFIG_STATUS <<EOF
21215 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21220 cat >> $CONFIG_STATUS <<\EOF
21222 if test ! -h wx-config; then
21224 mv wx-config wx${TOOLCHAIN_NAME}-config
21225 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21228 if test ! -d lib; then
21231 if test ! -d lib/wx; then
21234 if test ! -d lib/wx/include; then
21235 mkdir lib/wx/include
21237 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21238 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21240 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21241 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21243 if test -f setup.h; then
21244 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21249 chmod +x $CONFIG_STATUS
21250 rm -fr confdefs* $ac_clean_files
21251 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21253 if test "$no_recursion" != yes; then
21255 # Remove --cache-file and --srcdir arguments so they do not pile up.
21256 ac_sub_configure_args=
21258 for ac_arg in $ac_configure_args; do
21259 if test -n "$ac_prev"; then
21264 -cache-file | --cache-file | --cache-fil | --cache-fi \
21265 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21266 ac_prev=cache_file ;;
21267 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21268 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21270 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21272 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21274 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21278 for ac_config_dir in demos samples utils contrib; do
21280 # Do not complain, so a configure script can configure whichever
21281 # parts of a large source tree are present.
21282 if test ! -d $srcdir/$ac_config_dir; then
21286 echo configuring in $ac_config_dir
21291 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21293 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21301 # A "../" for each directory in /$ac_config_dir.
21302 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21305 .) # No --srcdir option. We are building in place.
21306 ac_sub_srcdir=$srcdir ;;
21307 /*) # Absolute path.
21308 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21309 *) # Relative path.
21310 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21313 # Check for guested configure; otherwise get Cygnus style configure.
21314 if test -f $ac_sub_srcdir/configure; then
21315 ac_sub_configure=$ac_sub_srcdir/configure
21316 elif test -f $ac_sub_srcdir/configure.in; then
21317 ac_sub_configure=$ac_configure
21319 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21323 # The recursion is here.
21324 if test -n "$ac_sub_configure"; then
21326 # Make the cache file name correct relative to the subdirectory.
21327 case "$cache_file" in
21328 /*) ac_sub_cache_file=$cache_file ;;
21329 *) # Relative path.
21330 ac_sub_cache_file="$ac_dots$cache_file" ;;
21332 case "$ac_given_INSTALL" in
21333 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21334 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21337 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21338 # The eval makes quoting arguments work.
21339 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21342 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }