3 # From configure.in Id: configure.in
65 # Configure paths for GTK+
66 # Owen Taylor 1997-2001
70 # Configure paths for GTK+
80 # Guess values for system-dependent variables and create Makefiles.
81 # Generated automatically using autoconf version 2.13
82 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
84 # This configure script is free software; the Free Software Foundation
85 # gives unlimited permission to copy, distribute and modify it.
89 ac_default_prefix
=/usr
/local
90 # Any additions from configure.in:
92 --enable-gui use GUI classes"
94 --enable-universal use wxWindows GUI controls instead of native ones"
98 --with-motif use Motif/Lesstif"
100 --with-mac use Mac OS X"
102 --with-cocoa use Cocoa"
104 --with-wine use Wine"
106 --with-msw use MS-Windows"
108 --with-pm use OS/2 Presentation Manager"
110 --with-mgl use SciTech MGL"
112 --with-microwin use MicroWindows"
116 --enable-nanox use NanoX"
118 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
120 --with-libpng use libpng (PNG image format)"
122 --with-libjpeg use libjpeg (JPEG file format)"
124 --with-libtiff use libtiff (TIFF file format)"
126 --with-opengl use OpenGL (or Mesa)"
128 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
130 --with-regex enable support for wxRegEx class"
132 --with-zlib use zlib for LZW compression"
134 --with-odbc use the IODBC and wxODBC classes"
136 --enable-shared create shared library code"
138 --enable-soname set the DT_SONAME field in ELF shared libraries"
140 --enable-optimise create optimised code"
142 --enable-debug same as debug_flag and debug_info"
144 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
146 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
148 --enable-debug_info create code with debugging information"
150 --enable-debug_gdb create code with extra GDB debugging information"
152 --enable-debug_cntxt use wxDebugContext"
154 --enable-mem_tracing create code with memory tracing"
156 --enable-profile create code with profiling information"
158 --enable-no_rtti create code without RTTI information"
160 --enable-no_exceptions create code without C++ exceptions handling"
162 --enable-permissive compile code disregarding strict ANSI"
164 --enable-no_deps create code without dependency information"
166 --enable-compat20 enable wxWindows 2.0 compatibility"
168 --enable-compat22 enable wxWindows 2.2 compatibility"
170 --disable-compat24 disable wxWindows 2.4 compatibility"
172 --enable-rpath=DIR output the rpath flag from wx-config"
174 --enable-intl use internationalization system"
176 --enable-config use wxConfig (and derived) classes"
178 --enable-protocols use wxProtocol and derived classes"
180 --enable-ftp use wxFTP (requires wxProtocol"
182 --enable-http use wxHTTP (requires wxProtocol"
184 --enable-fileproto use wxFileProto class (requires wxProtocol"
186 --enable-sockets use socket/network classes"
188 --enable-ole use OLE classes"
190 --enable-dataobj use data object classes"
192 --enable-ipc use interprocess communication (wxSocket etc.)"
194 --enable-cmdline use wxCmdLineParser class"
196 --enable-datetime use wxDateTime class"
198 --enable-stopwatch use wxStopWatch class"
200 --enable-dialupman use dialup network classes"
202 --enable-apple_ieee use the Apple IEEE codec"
204 --enable-timer use wxTimer class"
206 --enable-wave use wxWave class"
208 --enable-fraction use wxFraction class"
210 --enable-dynlib use wxLibrary class for DLL loading"
212 --enable-dynamicloader use (new) wxDynamicLibrary class"
214 --enable-longlong use wxLongLong class"
216 --enable-geometry use geometry class"
218 --enable-log use logging system"
220 --enable-streams use wxStream etc classes"
222 --enable-file use wxFile classes"
224 --enable-ffile use wxFFile classes"
226 --enable-textbuf use wxTextBuffer class"
228 --enable-textfile use wxTextFile class"
230 --enable-fontmap use font encodings conversion classes"
232 --enable-unicode compile wxString with Unicode support"
234 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
236 --enable-wxprintfv use wxWindows implementation of vprintf()"
238 --enable-std_iostreams use standard C++ stream classes"
240 --enable-filesystem use virtual file systems classes"
242 --enable-fs_inet use virtual HTTP/FTP filesystems"
244 --enable-fs_zip use virtual ZIP filesystems"
246 --enable-zipstream use wxZipInputStream"
248 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
250 --enable-snglinst use wxSingleInstanceChecker class"
252 --enable-mimetype use wxMimeTypesManager"
254 --enable-sysoptions use wxSystemOptions"
256 --enable-url use wxURL class"
258 --enable-protocol use wxProtocol class"
260 --enable-protocol-http HTTP support in wxProtocol"
262 --enable-protocol-ftp FTP support in wxProtocol"
264 --enable-protocol-file FILE support in wxProtocol"
266 --enable-threads use threads"
268 --enable-docview use document view architecture"
270 --enable-help use help subsystem"
272 --enable-mshtmlhelp use MS HTML Help (win32)"
274 --enable-html use wxHTML sub-library"
276 --enable-htmlhelp use wxHTML-based help"
278 --enable-constraints use layout-constraints system"
280 --enable-printarch use printing architecture"
282 --enable-mdi use multiple document interface architecture"
284 --enable-loggui use standard GUI logger"
286 --enable-logwin use wxLogWindow"
288 --enable-logdialog use wxLogDialog"
290 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
292 --enable-prologio not available; see contrib"
294 --enable-resources not available; see contrib"
296 --enable-clipboard use wxClipboard class"
298 --enable-dnd use Drag'n'Drop classes"
300 --enable-metafile use win32 metafiles"
302 --enable-controls use all usual controls"
304 --enable-accel use accelerators"
306 --enable-button use wxButton class"
308 --enable-bmpbutton use wxBitmapButton class"
310 --enable-calendar use wxCalendarCtrl class"
312 --enable-caret use wxCaret class"
314 --enable-checkbox use wxCheckBox class"
316 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
318 --enable-choice use wxChoice class"
320 --enable-combobox use wxComboBox class"
322 --enable-display use wxDisplay class"
324 --enable-gauge use wxGauge class"
326 --enable-grid use wxGrid class"
328 --enable-imaglist use wxImageList class"
330 --enable-listbox use wxListBox class"
332 --enable-listctrl use wxListCtrl class"
334 --enable-notebook use wxNotebook class"
336 --enable-radiobox use wxRadioBox class"
338 --enable-radiobtn use wxRadioButton class"
340 --enable-sash use wxSashWindow class"
342 --enable-scrollbar use wxScrollBar class and scrollable windows"
344 --enable-slider use wxSlider class"
346 --enable-spinbtn use wxSpinButton class"
348 --enable-spinctrl use wxSpinCtrl class"
350 --enable-splitter use wxSplitterWindow class"
352 --enable-statbmp use wxStaticBitmap class"
354 --enable-statbox use wxStaticBox class"
356 --enable-statline use wxStaticLine class"
358 --enable-stattext use wxStaticText class"
360 --enable-statusbar use wxStatusBar class"
362 --enable-tabdialog use wxTabControl class"
364 --enable-textctrl use wxTextCtrl class"
366 --enable-togglebtn use wxToggleButton class"
368 --enable-toolbar use wxToolBar class"
370 --enable-tbarnative use native wxToolBar class"
372 --enable-tbarsmpl use wxToolBarSimple class"
374 --enable-treectrl use wxTreeCtrl class"
376 --enable-tipwindow use wxTipWindow class"
378 --enable-popupwin use wxPopUpWindow class"
380 --enable-commondlg use all common dialogs"
382 --enable-choicedlg use wxChoiceDialog"
384 --enable-coldlg use wxColourDialog"
386 --enable-filedlg use wxFileDialog"
388 --enable-finddlg use wxFindReplaceDialog"
390 --enable-fontdlg use wxFontDialog"
392 --enable-dirdlg use wxDirDialog"
394 --enable-msgdlg use wxMessageDialog"
396 --enable-numberdlg use wxNumberEntryDialog"
398 --enable-splash use wxSplashScreen"
400 --enable-textdlg use wxTextDialog"
402 --enable-tipdlg use startup tips"
404 --enable-progressdlg use wxProgressDialog"
406 --enable-wizarddlg use wxWizard"
408 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
410 --enable-miniframe use wxMiniFrame class"
412 --enable-tooltips use wxToolTip class"
414 --enable-splines use spline drawing code"
416 --enable-validators use wxValidator and derived classes"
418 --enable-busyinfo use wxBusyInfo"
420 --enable-joystick use wxJoystick (Linux only)"
422 --enable-metafiles use wxMetaFile (Windows only)"
424 --enable-dragimage use wxDragImage"
426 --enable-accessibility enable accessibility support"
428 --enable-palette use wxPalette class"
430 --enable-image use wxImage class"
432 --enable-gif use gif images (GIF file format)"
434 --enable-pcx use pcx images (PCX file format)"
436 --enable-iff use iff images (IFF file format)"
438 --enable-pnm use pnm images (PNM file format)"
440 --enable-xpm use xpm images (XPM file format)"
442 --enable-icocur use Windows ICO and CUR formats"
444 --disable-largefile omit support for large files"
446 --disable-gtktest do not try to compile and run a test GTK+ program"
448 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
450 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
452 --disable-gtktest Do not try to compile and run a test GTK program"
454 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
456 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
458 --disable-gtktest Do not try to compile and run a test GTK program"
460 --with-x use the X Window System"
462 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
464 # Initialize some variables set by options.
465 # The variables have the same names as the options, with
466 # dashes changed to underlines.
468 cache_file
=.
/config.cache
477 program_transform_name
=s
,x
,x
,
485 bindir
='${exec_prefix}/bin'
486 sbindir
='${exec_prefix}/sbin'
487 libexecdir
='${exec_prefix}/libexec'
488 datadir
='${prefix}/share'
489 sysconfdir
='${prefix}/etc'
490 sharedstatedir
='${prefix}/com'
491 localstatedir
='${prefix}/var'
492 libdir
='${exec_prefix}/lib'
493 includedir
='${prefix}/include'
494 oldincludedir
='/usr/include'
495 infodir
='${prefix}/info'
496 mandir
='${prefix}/man'
498 # Initialize some other variables.
501 SHELL
=${CONFIG_SHELL-/bin/sh}
502 # Maximum number of lines to put in a shell here document.
509 # If the previous option needs an argument, assign it.
510 if test -n "$ac_prev"; then
511 eval "$ac_prev=\$ac_option"
517 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir | --bindir | --bindi | --bind | --bin | --bi)
527 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
528 bindir
="$ac_optarg" ;;
530 -build | --build | --buil | --bui | --bu)
532 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
533 build
="$ac_optarg" ;;
535 -cache-file | --cache-file | --cache-fil | --cache-fi \
536 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
537 ac_prev
=cache_file
;;
538 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
539 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
540 cache_file
="$ac_optarg" ;;
542 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
544 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546 datadir
="$ac_optarg" ;;
548 -disable-* | --disable-*)
549 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
550 # Reject names that are not valid shell variable names.
551 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
552 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
554 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
555 eval "enable_${ac_feature}=no" ;;
557 -enable-* | --enable-*)
558 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
559 # Reject names that are not valid shell variable names.
560 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
561 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
563 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
568 eval "enable_${ac_feature}='$ac_optarg'" ;;
570 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
571 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
572 | --exec | --exe | --ex)
573 ac_prev
=exec_prefix
;;
574 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
575 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
576 | --exec=* | --exe=* | --ex=*)
577 exec_prefix
="$ac_optarg" ;;
579 -gas | --gas | --ga | --g)
580 # Obsolete; use --with-gas.
583 -help | --help | --hel | --he)
584 # Omit some internal or obsolete options to make the list less imposing.
585 # This message is too long to be a string in the A/UX 3.1 sh.
587 Usage: configure [options] [host]
588 Options: [defaults in brackets after descriptions]
590 --cache-file=FILE cache test results in FILE
591 --help print this message
592 --no-create do not create output files
593 --quiet, --silent do not print \`checking...' messages
594 --version print the version of autoconf that created configure
595 Directory and file names:
596 --prefix=PREFIX install architecture-independent files in PREFIX
598 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
600 --bindir=DIR user executables in DIR [EPREFIX/bin]
601 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
602 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
603 --datadir=DIR read-only architecture-independent data in DIR
605 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
606 --sharedstatedir=DIR modifiable architecture-independent data in DIR
608 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
609 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
610 --includedir=DIR C header files in DIR [PREFIX/include]
611 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
612 --infodir=DIR info documentation in DIR [PREFIX/info]
613 --mandir=DIR man documentation in DIR [PREFIX/man]
614 --srcdir=DIR find the sources in DIR [configure dir or ..]
615 --program-prefix=PREFIX prepend PREFIX to installed program names
616 --program-suffix=SUFFIX append SUFFIX to installed program names
617 --program-transform-name=PROGRAM
618 run sed PROGRAM on installed program names
622 --build=BUILD configure for building on BUILD [BUILD=HOST]
623 --host=HOST configure for HOST [guessed]
624 --target=TARGET configure for TARGET [TARGET=HOST]
625 Features and packages:
626 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
627 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
628 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
629 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
630 --x-includes=DIR X include files are in DIR
631 --x-libraries=DIR X library files are in DIR
633 if test -n "$ac_help"; then
634 echo "--enable and --with options recognized:$ac_help"
638 -host | --host | --hos | --ho)
640 -host=* | --host=* | --hos=* | --ho=*)
643 -includedir | --includedir | --includedi | --included | --include \
644 | --includ | --inclu | --incl | --inc)
645 ac_prev
=includedir
;;
646 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
647 | --includ=* | --inclu=* | --incl=* | --inc=*)
648 includedir
="$ac_optarg" ;;
650 -infodir | --infodir | --infodi | --infod | --info | --inf)
652 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
653 infodir
="$ac_optarg" ;;
655 -libdir | --libdir | --libdi | --libd)
657 -libdir=* | --libdir=* | --libdi=* | --libd=*)
658 libdir
="$ac_optarg" ;;
660 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
661 | --libexe | --libex | --libe)
662 ac_prev
=libexecdir
;;
663 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
664 | --libexe=* | --libex=* | --libe=*)
665 libexecdir
="$ac_optarg" ;;
667 -localstatedir | --localstatedir | --localstatedi | --localstated \
668 | --localstate | --localstat | --localsta | --localst \
669 | --locals | --local | --loca | --loc | --lo)
670 ac_prev
=localstatedir
;;
671 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
672 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
673 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
674 localstatedir
="$ac_optarg" ;;
676 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
678 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
679 mandir
="$ac_optarg" ;;
682 # Obsolete; use --without-fp.
685 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
689 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
690 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
693 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
694 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
695 | --oldin | --oldi | --old | --ol | --o)
696 ac_prev
=oldincludedir
;;
697 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
698 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
699 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
700 oldincludedir
="$ac_optarg" ;;
702 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
704 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
705 prefix
="$ac_optarg" ;;
707 -program-prefix | --program-prefix | --program-prefi | --program-pref \
708 | --program-pre | --program-pr | --program-p)
709 ac_prev
=program_prefix
;;
710 -program-prefix=* | --program-prefix=* | --program-prefi=* \
711 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
712 program_prefix
="$ac_optarg" ;;
714 -program-suffix | --program-suffix | --program-suffi | --program-suff \
715 | --program-suf | --program-su | --program-s)
716 ac_prev
=program_suffix
;;
717 -program-suffix=* | --program-suffix=* | --program-suffi=* \
718 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
719 program_suffix
="$ac_optarg" ;;
721 -program-transform-name | --program-transform-name \
722 | --program-transform-nam | --program-transform-na \
723 | --program-transform-n | --program-transform- \
724 | --program-transform | --program-transfor \
725 | --program-transfo | --program-transf \
726 | --program-trans | --program-tran \
727 | --progr-tra | --program-tr | --program-t)
728 ac_prev
=program_transform_name
;;
729 -program-transform-name=* | --program-transform-name=* \
730 | --program-transform-nam=* | --program-transform-na=* \
731 | --program-transform-n=* | --program-transform-=* \
732 | --program-transform=* | --program-transfor=* \
733 | --program-transfo=* | --program-transf=* \
734 | --program-trans=* | --program-tran=* \
735 | --progr-tra=* | --program-tr=* | --program-t=*)
736 program_transform_name
="$ac_optarg" ;;
738 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
739 | -silent | --silent | --silen | --sile | --sil)
742 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
744 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
746 sbindir
="$ac_optarg" ;;
748 -sharedstatedir | --sharedstatedir | --sharedstatedi \
749 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
750 | --sharedst | --shareds | --shared | --share | --shar \
752 ac_prev
=sharedstatedir
;;
753 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
754 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
755 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
757 sharedstatedir
="$ac_optarg" ;;
759 -site | --site | --sit)
761 -site=* | --site=* | --sit=*)
764 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
766 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
767 srcdir
="$ac_optarg" ;;
769 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
770 | --syscon | --sysco | --sysc | --sys | --sy)
771 ac_prev
=sysconfdir
;;
772 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
773 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
774 sysconfdir
="$ac_optarg" ;;
776 -target | --target | --targe | --targ | --tar | --ta | --t)
778 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
779 target
="$ac_optarg" ;;
781 -v | -verbose | --verbose | --verbos | --verbo | --verb)
784 -version | --version | --versio | --versi | --vers)
785 echo "configure generated by autoconf version 2.13"
789 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
790 # Reject names that are not valid shell variable names.
791 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
792 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
794 ac_package
=`echo $ac_package| sed 's/-/_/g'`
799 eval "with_${ac_package}='$ac_optarg'" ;;
801 -without-* | --without-*)
802 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
803 # Reject names that are not valid shell variable names.
804 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
805 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
807 ac_package
=`echo $ac_package| sed 's/-/_/g'`
808 eval "with_${ac_package}=no" ;;
811 # Obsolete; use --with-x.
814 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
815 | --x-incl | --x-inc | --x-in | --x-i)
816 ac_prev
=x_includes
;;
817 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
818 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
819 x_includes
="$ac_optarg" ;;
821 -x-libraries | --x-libraries | --x-librarie | --x-librari \
822 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
823 ac_prev
=x_libraries
;;
824 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
825 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
826 x_libraries
="$ac_optarg" ;;
828 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
832 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
833 echo "configure: warning: $ac_option: invalid host type" 1>&2
835 if test "x$nonopt" != xNONE
; then
836 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
844 if test -n "$ac_prev"; then
845 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
848 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
850 # File descriptor usage:
853 # 2 errors and warnings
854 # 3 some systems may open it to /dev/tty
855 # 4 used on the Kubota Titan
856 # 6 checking for... messages and results
857 # 5 compiler messages saved in config.log
858 if test "$silent" = yes; then
866 This file contains any messages produced by compilers while
867 running configure, to aid debugging if configure makes a mistake.
870 # Strip out --no-create and --no-recursion so they do not pile up.
871 # Also quote any args containing shell metacharacters.
876 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
877 | --no-cr | --no-c) ;;
878 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
879 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
880 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
881 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
882 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
887 # Only set these to C if already set. These must not be set unconditionally
888 # because not all systems understand e.g. LANG=C (notably SCO).
889 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
890 # Non-C LC_CTYPE values break the ctype check.
891 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
892 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
893 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
894 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
896 # confdefs.h avoids OS command line length limits that DEFS can exceed.
897 rm -rf conftest
* confdefs.h
898 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
901 # A filename unique to this package, relative to the directory that
902 # configure is in, which we can look for to find out if srcdir is correct.
903 ac_unique_file
=wx
-config.
in
905 # Find the source files, if location was not specified.
906 if test -z "$srcdir"; then
907 ac_srcdir_defaulted
=yes
908 # Try the directory containing this script, then its parent.
910 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
911 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
913 if test ! -r $srcdir/$ac_unique_file; then
917 ac_srcdir_defaulted
=no
919 if test ! -r $srcdir/$ac_unique_file; then
920 if test "$ac_srcdir_defaulted" = yes; then
921 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
923 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
926 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
928 # Prefer explicitly selected file to automatically selected ones.
929 if test -z "$CONFIG_SITE"; then
930 if test "x$prefix" != xNONE
; then
931 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
933 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
936 for ac_site_file
in $CONFIG_SITE; do
937 if test -r "$ac_site_file"; then
938 echo "loading site script $ac_site_file"
943 if test -r "$cache_file"; then
944 echo "loading cache $cache_file"
947 echo "creating cache $cache_file"
952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
953 ac_cpp
='$CPP $CPPFLAGS'
954 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
955 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
956 cross_compiling
=$ac_cv_prog_cc_cross
960 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
961 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
962 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
969 ac_n
= ac_c
='\c' ac_t
=
975 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
976 if test -f $ac_dir/install-sh; then
978 ac_install_sh
="$ac_aux_dir/install-sh -c"
980 elif test -f $ac_dir/install.sh
; then
982 ac_install_sh
="$ac_aux_dir/install.sh -c"
986 if test -z "$ac_aux_dir"; then
987 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
989 ac_config_guess
=$ac_aux_dir/config.guess
990 ac_config_sub
=$ac_aux_dir/config.sub
991 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
994 # Do some error checking and defaulting for the host and target type.
996 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
999 # 1. You are not allowed to specify --host, --target, and nonopt at the
1001 # 2. Host defaults to nonopt.
1002 # 3. If nonopt is not specified, then host defaults to the current host,
1003 # as determined by config.guess.
1004 # 4. Target and build default to nonopt.
1005 # 5. If nonopt is not specified, then target and build default to host.
1007 # The aliases save the names the user supplied, while $host etc.
1008 # will get canonicalized.
1009 case $host---$target---$nonopt in
1010 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1011 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1015 # Make sure we can run config.sub.
1016 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1017 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1020 echo $ac_n "checking host system type""... $ac_c" 1>&6
1021 echo "configure:1022: checking host system type" >&5
1024 case "$host_alias" in
1028 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1029 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1031 *) host_alias
=$nonopt ;;
1035 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1036 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1037 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1038 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1039 echo "$ac_t""$host" 1>&6
1041 echo $ac_n "checking target system type""... $ac_c" 1>&6
1042 echo "configure:1043: checking target system type" >&5
1044 target_alias
=$target
1045 case "$target_alias" in
1048 NONE
) target_alias
=$host_alias ;;
1049 *) target_alias
=$nonopt ;;
1053 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1054 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1055 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1056 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1057 echo "$ac_t""$target" 1>&6
1059 echo $ac_n "checking build system type""... $ac_c" 1>&6
1060 echo "configure:1061: checking build system type" >&5
1063 case "$build_alias" in
1066 NONE
) build_alias
=$host_alias ;;
1067 *) build_alias
=$nonopt ;;
1071 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1072 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1073 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1074 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1075 echo "$ac_t""$build" 1>&6
1077 test "$host_alias" != "$target_alias" &&
1078 test "$program_prefix$program_suffix$program_transform_name" = \
1080 program_prefix
=${target_alias}-
1084 WX_MAJOR_VERSION_NUMBER
=2
1085 WX_MINOR_VERSION_NUMBER
=5
1088 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1089 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1091 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1126 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1128 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1130 DEFAULT_wxUSE_COCOA
=0
1134 DEFAULT_wxUSE_MICROWIN
=0
1135 DEFAULT_wxUSE_MOTIF
=0
1140 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1141 DEFAULT_DEFAULT_wxUSE_GTK
=0
1142 DEFAULT_DEFAULT_wxUSE_MAC
=0
1143 DEFAULT_DEFAULT_wxUSE_MGL
=0
1144 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1145 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1146 DEFAULT_DEFAULT_wxUSE_MSW
=0
1147 DEFAULT_DEFAULT_wxUSE_PM
=0
1148 DEFAULT_DEFAULT_wxUSE_X11
=0
1156 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1157 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1159 cat >> confdefs.h
<<\EOF
1166 cat >> confdefs.h
<<\EOF
1171 if test "x$TMP" = "xalpha"; then
1173 cat >> confdefs.h
<<\EOF
1178 DEFAULT_DEFAULT_wxUSE_GTK
=1
1180 *-*-irix5* | *-*-irix6* )
1183 cat >> confdefs.h
<<\EOF
1187 cat >> confdefs.h
<<\EOF
1191 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1197 cat >> confdefs.h
<<\EOF
1201 cat >> confdefs.h
<<\EOF
1202 #define __SOLARIS__ 1
1205 cat >> confdefs.h
<<\EOF
1209 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1210 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1216 cat >> confdefs.h
<<\EOF
1220 cat >> confdefs.h
<<\EOF
1224 cat >> confdefs.h
<<\EOF
1228 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1233 cat >> confdefs.h
<<\EOF
1234 #define __FREEBSD__ 1
1237 cat >> confdefs.h
<<\EOF
1241 DEFAULT_DEFAULT_wxUSE_GTK
=1
1246 cat >> confdefs.h
<<\EOF
1247 #define __OPENBSD__ 1
1250 cat >> confdefs.h
<<\EOF
1254 DEFAULT_DEFAULT_wxUSE_GTK
=1
1259 cat >> confdefs.h
<<\EOF
1260 #define __NETBSD__ 1
1263 cat >> confdefs.h
<<\EOF
1267 DEFAULT_DEFAULT_wxUSE_GTK
=1
1272 cat >> confdefs.h
<<\EOF
1276 cat >> confdefs.h
<<\EOF
1280 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1281 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1286 cat >> confdefs.h
<<\EOF
1290 cat >> confdefs.h
<<\EOF
1294 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1299 cat >> confdefs.h
<<\EOF
1303 cat >> confdefs.h
<<\EOF
1307 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1314 cat >> confdefs.h
<<\EOF
1318 cat >> confdefs.h
<<\EOF
1322 cat >> confdefs.h
<<\EOF
1326 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1333 cat >> confdefs.h
<<\EOF
1334 #define __UNIXWARE__ 1
1339 *-*-cygwin* | *-*-mingw32* )
1343 DEFAULT_DEFAULT_wxUSE_MSW
=1
1349 cat >> confdefs.h
<<\EOF
1354 DEFAULT_DEFAULT_wxUSE_MGL
=1
1355 LIBS
="$LIBS -lstdc++"
1358 *-pc-os2_emx | *-pc-os2-emx )
1359 cat >> confdefs.h
<<\EOF
1364 DEFAULT_DEFAULT_wxUSE_PM
=1
1371 cat >> confdefs.h
<<\EOF
1375 cat >> confdefs.h
<<\EOF
1376 #define __DARWIN__ 1
1379 cat >> confdefs.h
<<\EOF
1380 #define __POWERPC__ 1
1383 cat >> confdefs.h
<<\EOF
1384 #define TARGET_CARBON 1
1387 DEFAULT_DEFAULT_wxUSE_MAC
=1
1392 cat >> confdefs.h
<<\EOF
1399 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1405 wx_arg_cache_file
="configarg.cache"
1406 echo "loading argument cache $wx_arg_cache_file"
1407 rm -f ${wx_arg_cache_file}.tmp
1408 touch ${wx_arg_cache_file}.tmp
1409 touch ${wx_arg_cache_file}
1413 if test $DEBUG_CONFIGURE = 1; then
1414 DEFAULT_wxUSE_UNIVERSAL
=no
1416 DEFAULT_wxUSE_NANOX
=no
1418 DEFAULT_wxUSE_THREADS
=yes
1420 DEFAULT_wxUSE_SHARED
=yes
1421 DEFAULT_wxUSE_SONAME
=no
1422 DEFAULT_wxUSE_OPTIMISE
=no
1423 DEFAULT_wxUSE_PROFILE
=no
1424 DEFAULT_wxUSE_NO_DEPS
=no
1425 DEFAULT_wxUSE_NO_RTTI
=no
1426 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1427 DEFAULT_wxUSE_PERMISSIVE
=no
1428 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1429 DEFAULT_wxUSE_DEBUG_INFO
=yes
1430 DEFAULT_wxUSE_DEBUG_GDB
=yes
1431 DEFAULT_wxUSE_MEM_TRACING
=no
1432 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1433 DEFAULT_wxUSE_DMALLOC
=no
1434 DEFAULT_wxUSE_PRECOMP
=no
1435 DEFAULT_wxUSE_APPLE_IEEE
=no
1437 DEFAULT_wxUSE_LOG
=yes
1438 DEFAULT_wxUSE_LOGWINDOW
=no
1439 DEFAULT_wxUSE_LOGGUI
=no
1440 DEFAULT_wxUSE_LOGDIALOG
=no
1442 DEFAULT_wxUSE_GUI
=yes
1443 DEFAULT_wxUSE_CONTROLS
=no
1445 DEFAULT_wxUSE_REGEX
=no
1446 DEFAULT_wxUSE_ZLIB
=no
1447 DEFAULT_wxUSE_LIBPNG
=no
1448 DEFAULT_wxUSE_LIBJPEG
=no
1449 DEFAULT_wxUSE_LIBTIFF
=no
1450 DEFAULT_wxUSE_ODBC
=no
1451 DEFAULT_wxUSE_OPENGL
=no
1453 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1454 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1455 DEFAULT_wxUSE_STD_IOSTREAM
=no
1456 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1457 DEFAULT_wxUSE_DATETIME
=no
1458 DEFAULT_wxUSE_TIMER
=no
1459 DEFAULT_wxUSE_STOPWATCH
=no
1460 DEFAULT_wxUSE_FILE
=no
1461 DEFAULT_wxUSE_FFILE
=no
1462 DEFAULT_wxUSE_TEXTBUFFER
=no
1463 DEFAULT_wxUSE_TEXTFILE
=no
1464 DEFAULT_wxUSE_WAVE
=no
1465 DEFAULT_wxUSE_INTL
=no
1466 DEFAULT_wxUSE_CONFIG
=no
1467 DEFAULT_wxUSE_FONTMAP
=no
1468 DEFAULT_wxUSE_STREAMS
=no
1469 DEFAULT_wxUSE_SOCKETS
=no
1470 DEFAULT_wxUSE_OLE
=no
1471 DEFAULT_wxUSE_DATAOBJ
=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_CLIPBOARD
=no
1484 DEFAULT_wxUSE_TOOLTIPS
=no
1485 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1486 DEFAULT_wxUSE_DRAGIMAGE
=no
1487 DEFAULT_wxUSE_SPLINES
=no
1489 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1490 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1491 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1493 DEFAULT_wxUSE_RESOURCES
=no
1494 DEFAULT_wxUSE_CONSTRAINTS
=no
1495 DEFAULT_wxUSE_IPC
=no
1496 DEFAULT_wxUSE_HELP
=no
1497 DEFAULT_wxUSE_MS_HTML_HELP
=no
1498 DEFAULT_wxUSE_WXHTML_HELP
=no
1499 DEFAULT_wxUSE_TREELAYOUT
=no
1500 DEFAULT_wxUSE_METAFILE
=no
1501 DEFAULT_wxUSE_MIMETYPE
=no
1502 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1503 DEFAULT_wxUSE_PROTOCOL
=no
1504 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1505 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1506 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1507 DEFAULT_wxUSE_URL
=no
1509 DEFAULT_wxUSE_COMMONDLGS
=no
1510 DEFAULT_wxUSE_CHOICEDLG
=no
1511 DEFAULT_wxUSE_COLOURDLG
=no
1512 DEFAULT_wxUSE_DIRDLG
=no
1513 DEFAULT_wxUSE_FILEDLG
=no
1514 DEFAULT_wxUSE_FINDREPLDLG
=no
1515 DEFAULT_wxUSE_FONTDLG
=no
1516 DEFAULT_wxUSE_MSGDLG
=no
1517 DEFAULT_wxUSE_NUMBERDLG
=no
1518 DEFAULT_wxUSE_TEXTDLG
=no
1519 DEFAULT_wxUSE_SPLASH
=no
1520 DEFAULT_wxUSE_STARTUP_TIPS
=no
1521 DEFAULT_wxUSE_PROGRESSDLG
=no
1522 DEFAULT_wxUSE_WIZARDDLG
=no
1524 DEFAULT_wxUSE_MENUS
=no
1525 DEFAULT_wxUSE_MINIFRAME
=no
1526 DEFAULT_wxUSE_HTML
=no
1527 DEFAULT_wxUSE_FILESYSTEM
=no
1528 DEFAULT_wxUSE_FS_INET
=no
1529 DEFAULT_wxUSE_FS_ZIP
=no
1530 DEFAULT_wxUSE_BUSYINFO
=no
1531 DEFAULT_wxUSE_ZIPSTREAM
=no
1532 DEFAULT_wxUSE_VALIDATORS
=no
1534 DEFAULT_wxUSE_ACCEL
=no
1535 DEFAULT_wxUSE_BUTTON
=no
1536 DEFAULT_wxUSE_BMPBUTTON
=no
1537 DEFAULT_wxUSE_CALCTRL
=no
1538 DEFAULT_wxUSE_CARET
=no
1539 DEFAULT_wxUSE_CHECKBOX
=no
1540 DEFAULT_wxUSE_CHECKLST
=no
1541 DEFAULT_wxUSE_CHOICE
=no
1542 DEFAULT_wxUSE_COMBOBOX
=no
1543 DEFAULT_wxUSE_DISPLAY
=no
1544 DEFAULT_wxUSE_GAUGE
=no
1545 DEFAULT_wxUSE_GRID
=no
1546 DEFAULT_wxUSE_IMAGLIST
=no
1547 DEFAULT_wxUSE_LISTBOX
=no
1548 DEFAULT_wxUSE_LISTCTRL
=no
1549 DEFAULT_wxUSE_NOTEBOOK
=no
1550 DEFAULT_wxUSE_RADIOBOX
=no
1551 DEFAULT_wxUSE_RADIOBTN
=no
1552 DEFAULT_wxUSE_SASH
=no
1553 DEFAULT_wxUSE_SCROLLBAR
=no
1554 DEFAULT_wxUSE_SLIDER
=no
1555 DEFAULT_wxUSE_SPINBTN
=no
1556 DEFAULT_wxUSE_SPINCTRL
=no
1557 DEFAULT_wxUSE_SPLITTER
=no
1558 DEFAULT_wxUSE_STATBMP
=no
1559 DEFAULT_wxUSE_STATBOX
=no
1560 DEFAULT_wxUSE_STATLINE
=no
1561 DEFAULT_wxUSE_STATTEXT
=no
1562 DEFAULT_wxUSE_STATUSBAR
=yes
1563 DEFAULT_wxUSE_TABDIALOG
=no
1564 DEFAULT_wxUSE_TEXTCTRL
=no
1565 DEFAULT_wxUSE_TOGGLEBTN
=no
1566 DEFAULT_wxUSE_TOOLBAR
=no
1567 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1568 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1569 DEFAULT_wxUSE_TREECTRL
=no
1570 DEFAULT_wxUSE_POPUPWIN
=no
1571 DEFAULT_wxUSE_TIPWINDOW
=no
1573 DEFAULT_wxUSE_UNICODE
=no
1574 DEFAULT_wxUSE_UNICODE_MSLU
=no
1575 DEFAULT_wxUSE_WCSRTOMBS
=no
1577 DEFAULT_wxUSE_PALETTE
=no
1578 DEFAULT_wxUSE_IMAGE
=no
1579 DEFAULT_wxUSE_GIF
=no
1580 DEFAULT_wxUSE_PCX
=no
1581 DEFAULT_wxUSE_PNM
=no
1582 DEFAULT_wxUSE_IFF
=no
1583 DEFAULT_wxUSE_XPM
=no
1584 DEFAULT_wxUSE_ICO_CUR
=no
1585 DEFAULT_wxUSE_ACCESSIBILITY
=no
1587 DEFAULT_wxUSE_UNIVERSAL
=no
1589 DEFAULT_wxUSE_NANOX
=no
1591 DEFAULT_wxUSE_THREADS
=yes
1593 DEFAULT_wxUSE_SHARED
=yes
1594 DEFAULT_wxUSE_SONAME
=no
1595 DEFAULT_wxUSE_OPTIMISE
=yes
1596 DEFAULT_wxUSE_PROFILE
=no
1597 DEFAULT_wxUSE_NO_DEPS
=no
1598 DEFAULT_wxUSE_NO_RTTI
=no
1599 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1600 DEFAULT_wxUSE_PERMISSIVE
=no
1601 DEFAULT_wxUSE_DEBUG_FLAG
=no
1602 DEFAULT_wxUSE_DEBUG_INFO
=no
1603 DEFAULT_wxUSE_DEBUG_GDB
=no
1604 DEFAULT_wxUSE_MEM_TRACING
=no
1605 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1606 DEFAULT_wxUSE_DMALLOC
=no
1607 DEFAULT_wxUSE_PRECOMP
=no
1608 DEFAULT_wxUSE_APPLE_IEEE
=yes
1610 DEFAULT_wxUSE_LOG
=yes
1611 DEFAULT_wxUSE_LOGWINDOW
=yes
1612 DEFAULT_wxUSE_LOGGUI
=yes
1613 DEFAULT_wxUSE_LOGDIALOG
=yes
1615 DEFAULT_wxUSE_GUI
=yes
1617 DEFAULT_wxUSE_REGEX
=yes
1618 DEFAULT_wxUSE_ZLIB
=yes
1619 DEFAULT_wxUSE_LIBPNG
=yes
1620 DEFAULT_wxUSE_LIBJPEG
=yes
1621 DEFAULT_wxUSE_LIBTIFF
=yes
1622 DEFAULT_wxUSE_ODBC
=no
1623 DEFAULT_wxUSE_OPENGL
=no
1625 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1626 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1627 DEFAULT_wxUSE_STD_IOSTREAM
=no
1628 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1629 DEFAULT_wxUSE_DATETIME
=yes
1630 DEFAULT_wxUSE_TIMER
=yes
1631 DEFAULT_wxUSE_STOPWATCH
=yes
1632 DEFAULT_wxUSE_FILE
=yes
1633 DEFAULT_wxUSE_FFILE
=yes
1634 DEFAULT_wxUSE_TEXTBUFFER
=yes
1635 DEFAULT_wxUSE_TEXTFILE
=yes
1636 DEFAULT_wxUSE_WAVE
=no
1637 DEFAULT_wxUSE_INTL
=yes
1638 DEFAULT_wxUSE_CONFIG
=yes
1639 DEFAULT_wxUSE_FONTMAP
=yes
1640 DEFAULT_wxUSE_STREAMS
=yes
1641 DEFAULT_wxUSE_SOCKETS
=yes
1642 DEFAULT_wxUSE_OLE
=yes
1643 DEFAULT_wxUSE_DATAOBJ
=yes
1644 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1645 DEFAULT_wxUSE_JOYSTICK
=yes
1646 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1647 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1648 DEFAULT_wxUSE_LONGLONG
=yes
1649 DEFAULT_wxUSE_GEOMETRY
=yes
1651 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1652 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1653 DEFAULT_wxUSE_POSTSCRIPT
=yes
1655 DEFAULT_wxUSE_CLIPBOARD
=yes
1656 DEFAULT_wxUSE_TOOLTIPS
=yes
1657 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1658 DEFAULT_wxUSE_DRAGIMAGE
=yes
1659 DEFAULT_wxUSE_SPLINES
=yes
1661 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1662 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1663 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1665 DEFAULT_wxUSE_RESOURCES
=no
1666 DEFAULT_wxUSE_CONSTRAINTS
=yes
1667 DEFAULT_wxUSE_IPC
=yes
1668 DEFAULT_wxUSE_HELP
=yes
1669 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1670 DEFAULT_wxUSE_WXHTML_HELP
=yes
1671 DEFAULT_wxUSE_TREELAYOUT
=yes
1672 DEFAULT_wxUSE_METAFILE
=yes
1673 DEFAULT_wxUSE_MIMETYPE
=yes
1674 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1675 DEFAULT_wxUSE_PROTOCOL
=yes
1676 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1677 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1678 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1679 DEFAULT_wxUSE_URL
=yes
1681 DEFAULT_wxUSE_COMMONDLGS
=yes
1682 DEFAULT_wxUSE_CHOICEDLG
=yes
1683 DEFAULT_wxUSE_COLOURDLG
=yes
1684 DEFAULT_wxUSE_DIRDLG
=yes
1685 DEFAULT_wxUSE_FILEDLG
=yes
1686 DEFAULT_wxUSE_FINDREPLDLG
=yes
1687 DEFAULT_wxUSE_FONTDLG
=yes
1688 DEFAULT_wxUSE_MSGDLG
=yes
1689 DEFAULT_wxUSE_NUMBERDLG
=yes
1690 DEFAULT_wxUSE_TEXTDLG
=yes
1691 DEFAULT_wxUSE_SPLASH
=yes
1692 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1693 DEFAULT_wxUSE_PROGRESSDLG
=yes
1694 DEFAULT_wxUSE_WIZARDDLG
=yes
1696 DEFAULT_wxUSE_MENUS
=yes
1697 DEFAULT_wxUSE_MINIFRAME
=yes
1698 DEFAULT_wxUSE_HTML
=yes
1699 DEFAULT_wxUSE_FILESYSTEM
=yes
1700 DEFAULT_wxUSE_FS_INET
=yes
1701 DEFAULT_wxUSE_FS_ZIP
=yes
1702 DEFAULT_wxUSE_BUSYINFO
=yes
1703 DEFAULT_wxUSE_ZIPSTREAM
=yes
1704 DEFAULT_wxUSE_VALIDATORS
=yes
1706 DEFAULT_wxUSE_ACCEL
=yes
1707 DEFAULT_wxUSE_BUTTON
=yes
1708 DEFAULT_wxUSE_BMPBUTTON
=yes
1709 DEFAULT_wxUSE_CALCTRL
=yes
1710 DEFAULT_wxUSE_CARET
=yes
1711 DEFAULT_wxUSE_CHECKBOX
=yes
1712 DEFAULT_wxUSE_CHECKLST
=yes
1713 DEFAULT_wxUSE_CHOICE
=yes
1714 DEFAULT_wxUSE_COMBOBOX
=yes
1715 DEFAULT_wxUSE_DISPLAY
=no
1716 DEFAULT_wxUSE_GAUGE
=yes
1717 DEFAULT_wxUSE_GRID
=yes
1718 DEFAULT_wxUSE_IMAGLIST
=yes
1719 DEFAULT_wxUSE_LISTBOX
=yes
1720 DEFAULT_wxUSE_LISTCTRL
=yes
1721 DEFAULT_wxUSE_NOTEBOOK
=yes
1722 DEFAULT_wxUSE_RADIOBOX
=yes
1723 DEFAULT_wxUSE_RADIOBTN
=yes
1724 DEFAULT_wxUSE_SASH
=yes
1725 DEFAULT_wxUSE_SCROLLBAR
=yes
1726 DEFAULT_wxUSE_SLIDER
=yes
1727 DEFAULT_wxUSE_SPINBTN
=yes
1728 DEFAULT_wxUSE_SPINCTRL
=yes
1729 DEFAULT_wxUSE_SPLITTER
=yes
1730 DEFAULT_wxUSE_STATBMP
=yes
1731 DEFAULT_wxUSE_STATBOX
=yes
1732 DEFAULT_wxUSE_STATLINE
=yes
1733 DEFAULT_wxUSE_STATTEXT
=yes
1734 DEFAULT_wxUSE_STATUSBAR
=yes
1735 DEFAULT_wxUSE_TABDIALOG
=no
1736 DEFAULT_wxUSE_TEXTCTRL
=yes
1737 DEFAULT_wxUSE_TOGGLEBTN
=yes
1738 DEFAULT_wxUSE_TOOLBAR
=yes
1739 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1740 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1741 DEFAULT_wxUSE_TREECTRL
=yes
1742 DEFAULT_wxUSE_POPUPWIN
=yes
1743 DEFAULT_wxUSE_TIPWINDOW
=yes
1745 DEFAULT_wxUSE_UNICODE
=no
1746 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1747 DEFAULT_wxUSE_WCSRTOMBS
=no
1749 DEFAULT_wxUSE_PALETTE
=yes
1750 DEFAULT_wxUSE_IMAGE
=yes
1751 DEFAULT_wxUSE_GIF
=yes
1752 DEFAULT_wxUSE_PCX
=yes
1753 DEFAULT_wxUSE_IFF
=no
1754 DEFAULT_wxUSE_PNM
=yes
1755 DEFAULT_wxUSE_XPM
=yes
1756 DEFAULT_wxUSE_ICO_CUR
=yes
1757 DEFAULT_wxUSE_ACCESSIBILITY
=no
1762 for toolkit
in `echo $ALL_TOOLKITS`; do
1763 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1764 if test "x$LINE" != "x" ; then
1765 has_toolkit_in_cache
=1
1766 eval "DEFAULT_$LINE"
1767 eval "CACHE_$toolkit=1"
1774 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1775 echo "configure:1776: checking for --${enablestring:-enable}-gui" >&5
1777 # Check whether --enable-gui or --disable-gui was given.
1778 if test "${enable_gui+set}" = set; then
1779 enableval
="$enable_gui"
1781 if test "$enableval" = yes; then
1782 ac_cv_use_gui
='wxUSE_GUI=yes'
1784 ac_cv_use_gui
='wxUSE_GUI=no'
1789 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1790 if test "x$LINE" != x
; then
1791 eval "DEFAULT_$LINE"
1796 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1801 eval "$ac_cv_use_gui"
1802 if test "$no_cache" != 1; then
1803 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1806 if test "$wxUSE_GUI" = yes; then
1807 echo "$ac_t""yes" 1>&6
1809 echo "$ac_t""no" 1>&6
1813 if test "$wxUSE_GUI" = "yes"; then
1817 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1818 echo "configure:1819: checking for --${enablestring:-enable}-universal" >&5
1820 # Check whether --enable-universal or --disable-universal was given.
1821 if test "${enable_universal+set}" = set; then
1822 enableval
="$enable_universal"
1824 if test "$enableval" = yes; then
1825 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1827 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1832 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1833 if test "x$LINE" != x
; then
1834 eval "DEFAULT_$LINE"
1839 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1844 eval "$ac_cv_use_universal"
1845 if test "$no_cache" != 1; then
1846 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1849 if test "$wxUSE_UNIVERSAL" = yes; then
1850 echo "$ac_t""yes" 1>&6
1852 echo "$ac_t""no" 1>&6
1855 # Check whether --with-gtk or --without-gtk was given.
1856 if test "${with_gtk+set}" = set; then
1858 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1861 # Check whether --with-motif or --without-motif was given.
1862 if test "${with_motif+set}" = set; then
1863 withval
="$with_motif"
1864 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1867 # Check whether --with-mac or --without-mac was given.
1868 if test "${with_mac+set}" = set; then
1870 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1873 # Check whether --with-cocoa or --without-cocoa was given.
1874 if test "${with_cocoa+set}" = set; then
1875 withval
="$with_cocoa"
1876 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
1879 # Check whether --with-wine or --without-wine was given.
1880 if test "${with_wine+set}" = set; then
1881 withval
="$with_wine"
1882 wxUSE_WINE
="$withval" CACHE_WINE
=1
1885 # Check whether --with-msw or --without-msw was given.
1886 if test "${with_msw+set}" = set; then
1888 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1891 # Check whether --with-pm or --without-pm was given.
1892 if test "${with_pm+set}" = set; then
1894 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1897 # Check whether --with-mgl or --without-mgl was given.
1898 if test "${with_mgl+set}" = set; then
1900 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1903 # Check whether --with-microwin or --without-microwin was given.
1904 if test "${with_microwin+set}" = set; then
1905 withval
="$with_microwin"
1906 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1909 # Check whether --with-x11 or --without-x11 was given.
1910 if test "${with_x11+set}" = set; then
1912 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1917 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1918 echo "configure:1919: checking for --${enablestring:-enable}-nanox" >&5
1920 # Check whether --enable-nanox or --disable-nanox was given.
1921 if test "${enable_nanox+set}" = set; then
1922 enableval
="$enable_nanox"
1924 if test "$enableval" = yes; then
1925 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1927 ac_cv_use_nanox
='wxUSE_NANOX=no'
1932 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1933 if test "x$LINE" != x
; then
1934 eval "DEFAULT_$LINE"
1939 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1944 eval "$ac_cv_use_nanox"
1945 if test "$no_cache" != 1; then
1946 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1949 if test "$wxUSE_NANOX" = yes; then
1950 echo "$ac_t""yes" 1>&6
1952 echo "$ac_t""no" 1>&6
1958 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1959 echo "configure:1960: checking for --${enablestring:-enable}-gtk2" >&5
1961 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1962 if test "${enable_gtk2+set}" = set; then
1963 enableval
="$enable_gtk2"
1965 if test "$enableval" = yes; then
1966 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1968 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1973 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1974 if test "x$LINE" != x
; then
1975 eval "DEFAULT_$LINE"
1980 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1985 eval "$ac_cv_use_gtk2"
1986 if test "$no_cache" != 1; then
1987 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1990 if test "$wxUSE_GTK2" = yes; then
1991 echo "$ac_t""yes" 1>&6
1993 echo "$ac_t""no" 1>&6
1998 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1999 echo "configure:2000: checking for --with-libpng" >&5
2001 # Check whether --with-libpng or --without-libpng was given.
2002 if test "${with_libpng+set}" = set; then
2003 withval
="$with_libpng"
2005 if test "$withval" = yes; then
2006 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2007 elif test "$withval" = no
; then
2008 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2009 elif test "$withval" = sys
; then
2010 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2011 elif test "$withval" = builtin; then
2012 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2014 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2019 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2020 if test "x$LINE" != x
; then
2021 eval "DEFAULT_$LINE"
2026 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2031 eval "$ac_cv_use_libpng"
2032 if test "$no_cache" != 1; then
2033 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2036 if test "$wxUSE_LIBPNG" = yes; then
2037 echo "$ac_t""yes" 1>&6
2038 elif test "$wxUSE_LIBPNG" = no
; then
2039 echo "$ac_t""no" 1>&6
2040 elif test "$wxUSE_LIBPNG" = sys
; then
2041 echo "$ac_t""system version" 1>&6
2042 elif test "$wxUSE_LIBPNG" = builtin; then
2043 echo "$ac_t""builtin version" 1>&6
2045 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2049 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2050 echo "configure:2051: checking for --with-libjpeg" >&5
2052 # Check whether --with-libjpeg or --without-libjpeg was given.
2053 if test "${with_libjpeg+set}" = set; then
2054 withval
="$with_libjpeg"
2056 if test "$withval" = yes; then
2057 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2058 elif test "$withval" = no
; then
2059 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2060 elif test "$withval" = sys
; then
2061 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2062 elif test "$withval" = builtin; then
2063 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2065 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2070 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2071 if test "x$LINE" != x
; then
2072 eval "DEFAULT_$LINE"
2077 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2082 eval "$ac_cv_use_libjpeg"
2083 if test "$no_cache" != 1; then
2084 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2087 if test "$wxUSE_LIBJPEG" = yes; then
2088 echo "$ac_t""yes" 1>&6
2089 elif test "$wxUSE_LIBJPEG" = no
; then
2090 echo "$ac_t""no" 1>&6
2091 elif test "$wxUSE_LIBJPEG" = sys
; then
2092 echo "$ac_t""system version" 1>&6
2093 elif test "$wxUSE_LIBJPEG" = builtin; then
2094 echo "$ac_t""builtin version" 1>&6
2096 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2100 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2101 echo "configure:2102: checking for --with-libtiff" >&5
2103 # Check whether --with-libtiff or --without-libtiff was given.
2104 if test "${with_libtiff+set}" = set; then
2105 withval
="$with_libtiff"
2107 if test "$withval" = yes; then
2108 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2109 elif test "$withval" = no
; then
2110 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2111 elif test "$withval" = sys
; then
2112 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2113 elif test "$withval" = builtin; then
2114 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2116 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2121 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2122 if test "x$LINE" != x
; then
2123 eval "DEFAULT_$LINE"
2128 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2133 eval "$ac_cv_use_libtiff"
2134 if test "$no_cache" != 1; then
2135 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2138 if test "$wxUSE_LIBTIFF" = yes; then
2139 echo "$ac_t""yes" 1>&6
2140 elif test "$wxUSE_LIBTIFF" = no
; then
2141 echo "$ac_t""no" 1>&6
2142 elif test "$wxUSE_LIBTIFF" = sys
; then
2143 echo "$ac_t""system version" 1>&6
2144 elif test "$wxUSE_LIBTIFF" = builtin; then
2145 echo "$ac_t""builtin version" 1>&6
2147 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2151 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2152 echo "configure:2153: checking for --with-opengl" >&5
2154 # Check whether --with-opengl or --without-opengl was given.
2155 if test "${with_opengl+set}" = set; then
2156 withval
="$with_opengl"
2158 if test "$withval" = yes; then
2159 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2161 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2166 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2167 if test "x$LINE" != x
; then
2168 eval "DEFAULT_$LINE"
2173 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2178 eval "$ac_cv_use_opengl"
2179 if test "$no_cache" != 1; then
2180 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2183 if test "$wxUSE_OPENGL" = yes; then
2184 echo "$ac_t""yes" 1>&6
2186 echo "$ac_t""no" 1>&6
2193 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2194 echo "configure:2195: checking for --with-dmalloc" >&5
2196 # Check whether --with-dmalloc or --without-dmalloc was given.
2197 if test "${with_dmalloc+set}" = set; then
2198 withval
="$with_dmalloc"
2200 if test "$withval" = yes; then
2201 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2203 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2208 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2209 if test "x$LINE" != x
; then
2210 eval "DEFAULT_$LINE"
2215 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2220 eval "$ac_cv_use_dmalloc"
2221 if test "$no_cache" != 1; then
2222 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2225 if test "$wxUSE_DMALLOC" = yes; then
2226 echo "$ac_t""yes" 1>&6
2228 echo "$ac_t""no" 1>&6
2232 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2233 echo "configure:2234: checking for --with-regex" >&5
2235 # Check whether --with-regex or --without-regex was given.
2236 if test "${with_regex+set}" = set; then
2237 withval
="$with_regex"
2239 if test "$withval" = yes; then
2240 ac_cv_use_regex
='wxUSE_REGEX=yes'
2241 elif test "$withval" = no
; then
2242 ac_cv_use_regex
='wxUSE_REGEX=no'
2243 elif test "$withval" = sys
; then
2244 ac_cv_use_regex
='wxUSE_REGEX=sys'
2245 elif test "$withval" = builtin; then
2246 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2248 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2253 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2254 if test "x$LINE" != x
; then
2255 eval "DEFAULT_$LINE"
2260 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2265 eval "$ac_cv_use_regex"
2266 if test "$no_cache" != 1; then
2267 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2270 if test "$wxUSE_REGEX" = yes; then
2271 echo "$ac_t""yes" 1>&6
2272 elif test "$wxUSE_REGEX" = no
; then
2273 echo "$ac_t""no" 1>&6
2274 elif test "$wxUSE_REGEX" = sys
; then
2275 echo "$ac_t""system version" 1>&6
2276 elif test "$wxUSE_REGEX" = builtin; then
2277 echo "$ac_t""builtin version" 1>&6
2279 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2283 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2284 echo "configure:2285: checking for --with-zlib" >&5
2286 # Check whether --with-zlib or --without-zlib was given.
2287 if test "${with_zlib+set}" = set; then
2288 withval
="$with_zlib"
2290 if test "$withval" = yes; then
2291 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2292 elif test "$withval" = no
; then
2293 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2294 elif test "$withval" = sys
; then
2295 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2296 elif test "$withval" = builtin; then
2297 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2299 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2304 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2305 if test "x$LINE" != x
; then
2306 eval "DEFAULT_$LINE"
2311 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2316 eval "$ac_cv_use_zlib"
2317 if test "$no_cache" != 1; then
2318 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2321 if test "$wxUSE_ZLIB" = yes; then
2322 echo "$ac_t""yes" 1>&6
2323 elif test "$wxUSE_ZLIB" = no
; then
2324 echo "$ac_t""no" 1>&6
2325 elif test "$wxUSE_ZLIB" = sys
; then
2326 echo "$ac_t""system version" 1>&6
2327 elif test "$wxUSE_ZLIB" = builtin; then
2328 echo "$ac_t""builtin version" 1>&6
2330 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2334 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2335 echo "configure:2336: checking for --with-odbc" >&5
2337 # Check whether --with-odbc or --without-odbc was given.
2338 if test "${with_odbc+set}" = set; then
2339 withval
="$with_odbc"
2341 if test "$withval" = yes; then
2342 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2343 elif test "$withval" = no
; then
2344 ac_cv_use_odbc
='wxUSE_ODBC=no'
2345 elif test "$withval" = sys
; then
2346 ac_cv_use_odbc
='wxUSE_ODBC=sys'
2347 elif test "$withval" = builtin; then
2348 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
2350 { echo "configure: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2355 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2356 if test "x$LINE" != x
; then
2357 eval "DEFAULT_$LINE"
2362 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2367 eval "$ac_cv_use_odbc"
2368 if test "$no_cache" != 1; then
2369 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2372 if test "$wxUSE_ODBC" = yes; then
2373 echo "$ac_t""yes" 1>&6
2374 elif test "$wxUSE_ODBC" = no
; then
2375 echo "$ac_t""no" 1>&6
2376 elif test "$wxUSE_ODBC" = sys
; then
2377 echo "$ac_t""system version" 1>&6
2378 elif test "$wxUSE_ODBC" = builtin; then
2379 echo "$ac_t""builtin version" 1>&6
2381 { echo "configure: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2388 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2389 echo "configure:2390: checking for --${enablestring:-enable}-shared" >&5
2391 # Check whether --enable-shared or --disable-shared was given.
2392 if test "${enable_shared+set}" = set; then
2393 enableval
="$enable_shared"
2395 if test "$enableval" = yes; then
2396 ac_cv_use_shared
='wxUSE_SHARED=yes'
2398 ac_cv_use_shared
='wxUSE_SHARED=no'
2403 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2404 if test "x$LINE" != x
; then
2405 eval "DEFAULT_$LINE"
2410 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2415 eval "$ac_cv_use_shared"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2420 if test "$wxUSE_SHARED" = yes; then
2421 echo "$ac_t""yes" 1>&6
2423 echo "$ac_t""no" 1>&6
2428 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2429 echo "configure:2430: checking for --${enablestring:-enable}-soname" >&5
2431 # Check whether --enable-soname or --disable-soname was given.
2432 if test "${enable_soname+set}" = set; then
2433 enableval
="$enable_soname"
2435 if test "$enableval" = yes; then
2436 ac_cv_use_soname
='wxUSE_SONAME=yes'
2438 ac_cv_use_soname
='wxUSE_SONAME=no'
2443 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2444 if test "x$LINE" != x
; then
2445 eval "DEFAULT_$LINE"
2450 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2455 eval "$ac_cv_use_soname"
2456 if test "$no_cache" != 1; then
2457 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2460 if test "$wxUSE_SONAME" = yes; then
2461 echo "$ac_t""yes" 1>&6
2463 echo "$ac_t""no" 1>&6
2468 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2469 echo "configure:2470: checking for --${enablestring:-enable}-optimise" >&5
2471 # Check whether --enable-optimise or --disable-optimise was given.
2472 if test "${enable_optimise+set}" = set; then
2473 enableval
="$enable_optimise"
2475 if test "$enableval" = yes; then
2476 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2478 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2483 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2484 if test "x$LINE" != x
; then
2485 eval "DEFAULT_$LINE"
2490 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2495 eval "$ac_cv_use_optimise"
2496 if test "$no_cache" != 1; then
2497 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2500 if test "$wxUSE_OPTIMISE" = yes; then
2501 echo "$ac_t""yes" 1>&6
2503 echo "$ac_t""no" 1>&6
2508 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2509 echo "configure:2510: checking for --${enablestring:-enable}-debug" >&5
2511 # Check whether --enable-debug or --disable-debug was given.
2512 if test "${enable_debug+set}" = set; then
2513 enableval
="$enable_debug"
2515 if test "$enableval" = yes; then
2516 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2518 ac_cv_use_debug
='wxUSE_DEBUG=no'
2523 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2524 if test "x$LINE" != x
; then
2525 eval "DEFAULT_$LINE"
2530 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2535 eval "$ac_cv_use_debug"
2536 if test "$no_cache" != 1; then
2537 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2540 if test "$wxUSE_DEBUG" = yes; then
2541 echo "$ac_t""yes" 1>&6
2543 echo "$ac_t""no" 1>&6
2549 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2550 echo "configure:2551: checking for --${enablestring:-enable}-precomp" >&5
2552 # Check whether --enable-precomp or --disable-precomp was given.
2553 if test "${enable_precomp+set}" = set; then
2554 enableval
="$enable_precomp"
2556 if test "$enableval" = yes; then
2557 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2559 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2564 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2565 if test "x$LINE" != x
; then
2566 eval "DEFAULT_$LINE"
2571 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2576 eval "$ac_cv_use_precomp"
2577 if test "$no_cache" != 1; then
2578 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2581 if test "$wxUSE_PRECOMP" = yes; then
2582 echo "$ac_t""yes" 1>&6
2584 echo "$ac_t""no" 1>&6
2588 if test "$wxUSE_DEBUG" = "yes"; then
2589 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2590 DEFAULT_wxUSE_DEBUG_INFO
=yes
2591 elif test "$wxUSE_DEBUG" = "no"; then
2592 DEFAULT_wxUSE_DEBUG_FLAG
=no
2593 DEFAULT_wxUSE_DEBUG_INFO
=no
2598 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2599 echo "configure:2600: checking for --${enablestring:-enable}-debug_flag" >&5
2601 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2602 if test "${enable_debug_flag+set}" = set; then
2603 enableval
="$enable_debug_flag"
2605 if test "$enableval" = yes; then
2606 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2608 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2613 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2614 if test "x$LINE" != x
; then
2615 eval "DEFAULT_$LINE"
2620 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2625 eval "$ac_cv_use_debug_flag"
2626 if test "$no_cache" != 1; then
2627 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2630 if test "$wxUSE_DEBUG_FLAG" = yes; then
2631 echo "$ac_t""yes" 1>&6
2633 echo "$ac_t""no" 1>&6
2638 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2639 echo "configure:2640: checking for --${enablestring:-enable}-debug_info" >&5
2641 # Check whether --enable-debug_info or --disable-debug_info was given.
2642 if test "${enable_debug_info+set}" = set; then
2643 enableval
="$enable_debug_info"
2645 if test "$enableval" = yes; then
2646 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2648 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2653 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2654 if test "x$LINE" != x
; then
2655 eval "DEFAULT_$LINE"
2660 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2665 eval "$ac_cv_use_debug_info"
2666 if test "$no_cache" != 1; then
2667 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2670 if test "$wxUSE_DEBUG_INFO" = yes; then
2671 echo "$ac_t""yes" 1>&6
2673 echo "$ac_t""no" 1>&6
2678 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2679 echo "configure:2680: checking for --${enablestring:-enable}-debug_gdb" >&5
2681 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2682 if test "${enable_debug_gdb+set}" = set; then
2683 enableval
="$enable_debug_gdb"
2685 if test "$enableval" = yes; then
2686 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2688 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2693 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2694 if test "x$LINE" != x
; then
2695 eval "DEFAULT_$LINE"
2700 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2705 eval "$ac_cv_use_debug_gdb"
2706 if test "$no_cache" != 1; then
2707 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2710 if test "$wxUSE_DEBUG_GDB" = yes; then
2711 echo "$ac_t""yes" 1>&6
2713 echo "$ac_t""no" 1>&6
2718 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2719 echo "configure:2720: checking for --${enablestring:-enable}-debug_cntxt" >&5
2721 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2722 if test "${enable_debug_cntxt+set}" = set; then
2723 enableval
="$enable_debug_cntxt"
2725 if test "$enableval" = yes; then
2726 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2728 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2733 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2734 if test "x$LINE" != x
; then
2735 eval "DEFAULT_$LINE"
2740 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2745 eval "$ac_cv_use_debug_cntxt"
2746 if test "$no_cache" != 1; then
2747 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2750 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2751 echo "$ac_t""yes" 1>&6
2753 echo "$ac_t""no" 1>&6
2758 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2759 echo "configure:2760: checking for --${enablestring:-enable}-mem_tracing" >&5
2761 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2762 if test "${enable_mem_tracing+set}" = set; then
2763 enableval
="$enable_mem_tracing"
2765 if test "$enableval" = yes; then
2766 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2768 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2773 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2774 if test "x$LINE" != x
; then
2775 eval "DEFAULT_$LINE"
2780 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2785 eval "$ac_cv_use_mem_tracing"
2786 if test "$no_cache" != 1; then
2787 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2790 if test "$wxUSE_MEM_TRACING" = yes; then
2791 echo "$ac_t""yes" 1>&6
2793 echo "$ac_t""no" 1>&6
2798 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2799 echo "configure:2800: checking for --${enablestring:-enable}-profile" >&5
2801 # Check whether --enable-profile or --disable-profile was given.
2802 if test "${enable_profile+set}" = set; then
2803 enableval
="$enable_profile"
2805 if test "$enableval" = yes; then
2806 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2808 ac_cv_use_profile
='wxUSE_PROFILE=no'
2813 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2814 if test "x$LINE" != x
; then
2815 eval "DEFAULT_$LINE"
2820 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2825 eval "$ac_cv_use_profile"
2826 if test "$no_cache" != 1; then
2827 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2830 if test "$wxUSE_PROFILE" = yes; then
2831 echo "$ac_t""yes" 1>&6
2833 echo "$ac_t""no" 1>&6
2838 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2839 echo "configure:2840: checking for --${enablestring:-enable}-no_rtti" >&5
2841 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2842 if test "${enable_no_rtti+set}" = set; then
2843 enableval
="$enable_no_rtti"
2845 if test "$enableval" = yes; then
2846 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2848 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2853 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2854 if test "x$LINE" != x
; then
2855 eval "DEFAULT_$LINE"
2860 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2865 eval "$ac_cv_use_no_rtti"
2866 if test "$no_cache" != 1; then
2867 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2870 if test "$wxUSE_NO_RTTI" = yes; then
2871 echo "$ac_t""yes" 1>&6
2873 echo "$ac_t""no" 1>&6
2878 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2879 echo "configure:2880: checking for --${enablestring:-enable}-no_exceptions" >&5
2881 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2882 if test "${enable_no_exceptions+set}" = set; then
2883 enableval
="$enable_no_exceptions"
2885 if test "$enableval" = yes; then
2886 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2888 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2893 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2894 if test "x$LINE" != x
; then
2895 eval "DEFAULT_$LINE"
2900 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2905 eval "$ac_cv_use_no_exceptions"
2906 if test "$no_cache" != 1; then
2907 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2910 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2911 echo "$ac_t""yes" 1>&6
2913 echo "$ac_t""no" 1>&6
2918 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2919 echo "configure:2920: checking for --${enablestring:-enable}-permissive" >&5
2921 # Check whether --enable-permissive or --disable-permissive was given.
2922 if test "${enable_permissive+set}" = set; then
2923 enableval
="$enable_permissive"
2925 if test "$enableval" = yes; then
2926 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2928 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2933 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2934 if test "x$LINE" != x
; then
2935 eval "DEFAULT_$LINE"
2940 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2945 eval "$ac_cv_use_permissive"
2946 if test "$no_cache" != 1; then
2947 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2950 if test "$wxUSE_PERMISSIVE" = yes; then
2951 echo "$ac_t""yes" 1>&6
2953 echo "$ac_t""no" 1>&6
2958 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2959 echo "configure:2960: checking for --${enablestring:-enable}-no_deps" >&5
2961 # Check whether --enable-no_deps or --disable-no_deps was given.
2962 if test "${enable_no_deps+set}" = set; then
2963 enableval
="$enable_no_deps"
2965 if test "$enableval" = yes; then
2966 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2968 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2973 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2974 if test "x$LINE" != x
; then
2975 eval "DEFAULT_$LINE"
2980 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2985 eval "$ac_cv_use_no_deps"
2986 if test "$no_cache" != 1; then
2987 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2990 if test "$wxUSE_NO_DEPS" = yes; then
2991 echo "$ac_t""yes" 1>&6
2993 echo "$ac_t""no" 1>&6
2999 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
3000 echo "configure:3001: checking for --${enablestring:-enable}-compat20" >&5
3002 # Check whether --enable-compat20 or --disable-compat20 was given.
3003 if test "${enable_compat20+set}" = set; then
3004 enableval
="$enable_compat20"
3006 if test "$enableval" = yes; then
3007 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
3009 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
3014 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3015 if test "x$LINE" != x
; then
3016 eval "DEFAULT_$LINE"
3021 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3026 eval "$ac_cv_use_compat20"
3027 if test "$no_cache" != 1; then
3028 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3031 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3032 echo "$ac_t""yes" 1>&6
3034 echo "$ac_t""no" 1>&6
3039 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3040 echo "configure:3041: checking for --${enablestring:-enable}-compat22" >&5
3042 # Check whether --enable-compat22 or --disable-compat22 was given.
3043 if test "${enable_compat22+set}" = set; then
3044 enableval
="$enable_compat22"
3046 if test "$enableval" = yes; then
3047 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3049 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3054 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3055 if test "x$LINE" != x
; then
3056 eval "DEFAULT_$LINE"
3061 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3066 eval "$ac_cv_use_compat22"
3067 if test "$no_cache" != 1; then
3068 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3071 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3072 echo "$ac_t""yes" 1>&6
3074 echo "$ac_t""no" 1>&6
3078 enablestring
=disable
3079 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3080 echo "configure:3081: checking for --${enablestring:-enable}-compat24" >&5
3082 # Check whether --enable-compat24 or --disable-compat24 was given.
3083 if test "${enable_compat24+set}" = set; then
3084 enableval
="$enable_compat24"
3086 if test "$enableval" = yes; then
3087 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3089 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3094 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3095 if test "x$LINE" != x
; then
3096 eval "DEFAULT_$LINE"
3101 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3106 eval "$ac_cv_use_compat24"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3111 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3112 echo "$ac_t""yes" 1>&6
3114 echo "$ac_t""no" 1>&6
3118 # Check whether --enable-rpath or --disable-rpath was given.
3119 if test "${enable_rpath+set}" = set; then
3120 enableval
="$enable_rpath"
3121 wxRPATH_DIR
="$enableval"
3125 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3126 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3133 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3134 echo "configure:3135: checking for --${enablestring:-enable}-intl" >&5
3136 # Check whether --enable-intl or --disable-intl was given.
3137 if test "${enable_intl+set}" = set; then
3138 enableval
="$enable_intl"
3140 if test "$enableval" = yes; then
3141 ac_cv_use_intl
='wxUSE_INTL=yes'
3143 ac_cv_use_intl
='wxUSE_INTL=no'
3148 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3149 if test "x$LINE" != x
; then
3150 eval "DEFAULT_$LINE"
3155 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3160 eval "$ac_cv_use_intl"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_INTL" = yes; then
3166 echo "$ac_t""yes" 1>&6
3168 echo "$ac_t""no" 1>&6
3173 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3174 echo "configure:3175: checking for --${enablestring:-enable}-config" >&5
3176 # Check whether --enable-config or --disable-config was given.
3177 if test "${enable_config+set}" = set; then
3178 enableval
="$enable_config"
3180 if test "$enableval" = yes; then
3181 ac_cv_use_config
='wxUSE_CONFIG=yes'
3183 ac_cv_use_config
='wxUSE_CONFIG=no'
3188 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3189 if test "x$LINE" != x
; then
3190 eval "DEFAULT_$LINE"
3195 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3200 eval "$ac_cv_use_config"
3201 if test "$no_cache" != 1; then
3202 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3205 if test "$wxUSE_CONFIG" = yes; then
3206 echo "$ac_t""yes" 1>&6
3208 echo "$ac_t""no" 1>&6
3214 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3215 echo "configure:3216: checking for --${enablestring:-enable}-protocols" >&5
3217 # Check whether --enable-protocols or --disable-protocols was given.
3218 if test "${enable_protocols+set}" = set; then
3219 enableval
="$enable_protocols"
3221 if test "$enableval" = yes; then
3222 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3224 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3229 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x
; then
3231 eval "DEFAULT_$LINE"
3236 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3241 eval "$ac_cv_use_protocols"
3242 if test "$no_cache" != 1; then
3243 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3246 if test "$wxUSE_PROTOCOL" = yes; then
3247 echo "$ac_t""yes" 1>&6
3249 echo "$ac_t""no" 1>&6
3254 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3255 echo "configure:3256: checking for --${enablestring:-enable}-ftp" >&5
3257 # Check whether --enable-ftp or --disable-ftp was given.
3258 if test "${enable_ftp+set}" = set; then
3259 enableval
="$enable_ftp"
3261 if test "$enableval" = yes; then
3262 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3264 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3269 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3270 if test "x$LINE" != x
; then
3271 eval "DEFAULT_$LINE"
3276 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3281 eval "$ac_cv_use_ftp"
3282 if test "$no_cache" != 1; then
3283 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3286 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3287 echo "$ac_t""yes" 1>&6
3289 echo "$ac_t""no" 1>&6
3294 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3295 echo "configure:3296: checking for --${enablestring:-enable}-http" >&5
3297 # Check whether --enable-http or --disable-http was given.
3298 if test "${enable_http+set}" = set; then
3299 enableval
="$enable_http"
3301 if test "$enableval" = yes; then
3302 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3304 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3309 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3310 if test "x$LINE" != x
; then
3311 eval "DEFAULT_$LINE"
3316 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3321 eval "$ac_cv_use_http"
3322 if test "$no_cache" != 1; then
3323 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3326 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3327 echo "$ac_t""yes" 1>&6
3329 echo "$ac_t""no" 1>&6
3334 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3335 echo "configure:3336: checking for --${enablestring:-enable}-fileproto" >&5
3337 # Check whether --enable-fileproto or --disable-fileproto was given.
3338 if test "${enable_fileproto+set}" = set; then
3339 enableval
="$enable_fileproto"
3341 if test "$enableval" = yes; then
3342 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3344 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3349 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3350 if test "x$LINE" != x
; then
3351 eval "DEFAULT_$LINE"
3356 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3361 eval "$ac_cv_use_fileproto"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3366 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3367 echo "$ac_t""yes" 1>&6
3369 echo "$ac_t""no" 1>&6
3374 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3375 echo "configure:3376: checking for --${enablestring:-enable}-sockets" >&5
3377 # Check whether --enable-sockets or --disable-sockets was given.
3378 if test "${enable_sockets+set}" = set; then
3379 enableval
="$enable_sockets"
3381 if test "$enableval" = yes; then
3382 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3384 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3389 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3390 if test "x$LINE" != x
; then
3391 eval "DEFAULT_$LINE"
3396 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3401 eval "$ac_cv_use_sockets"
3402 if test "$no_cache" != 1; then
3403 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3406 if test "$wxUSE_SOCKETS" = yes; then
3407 echo "$ac_t""yes" 1>&6
3409 echo "$ac_t""no" 1>&6
3414 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3415 echo "configure:3416: checking for --${enablestring:-enable}-ole" >&5
3417 # Check whether --enable-ole or --disable-ole was given.
3418 if test "${enable_ole+set}" = set; then
3419 enableval
="$enable_ole"
3421 if test "$enableval" = yes; then
3422 ac_cv_use_ole
='wxUSE_OLE=yes'
3424 ac_cv_use_ole
='wxUSE_OLE=no'
3429 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3430 if test "x$LINE" != x
; then
3431 eval "DEFAULT_$LINE"
3436 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3441 eval "$ac_cv_use_ole"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3446 if test "$wxUSE_OLE" = yes; then
3447 echo "$ac_t""yes" 1>&6
3449 echo "$ac_t""no" 1>&6
3454 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3455 echo "configure:3456: checking for --${enablestring:-enable}-dataobj" >&5
3457 # Check whether --enable-dataobj or --disable-dataobj was given.
3458 if test "${enable_dataobj+set}" = set; then
3459 enableval
="$enable_dataobj"
3461 if test "$enableval" = yes; then
3462 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3464 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3469 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3470 if test "x$LINE" != x
; then
3471 eval "DEFAULT_$LINE"
3476 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3481 eval "$ac_cv_use_dataobj"
3482 if test "$no_cache" != 1; then
3483 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3486 if test "$wxUSE_DATAOBJ" = yes; then
3487 echo "$ac_t""yes" 1>&6
3489 echo "$ac_t""no" 1>&6
3495 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3496 echo "configure:3497: checking for --${enablestring:-enable}-ipc" >&5
3498 # Check whether --enable-ipc or --disable-ipc was given.
3499 if test "${enable_ipc+set}" = set; then
3500 enableval
="$enable_ipc"
3502 if test "$enableval" = yes; then
3503 ac_cv_use_ipc
='wxUSE_IPC=yes'
3505 ac_cv_use_ipc
='wxUSE_IPC=no'
3510 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3511 if test "x$LINE" != x
; then
3512 eval "DEFAULT_$LINE"
3517 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3522 eval "$ac_cv_use_ipc"
3523 if test "$no_cache" != 1; then
3524 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3527 if test "$wxUSE_IPC" = yes; then
3528 echo "$ac_t""yes" 1>&6
3530 echo "$ac_t""no" 1>&6
3536 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3537 echo "configure:3538: checking for --${enablestring:-enable}-cmdline" >&5
3539 # Check whether --enable-cmdline or --disable-cmdline was given.
3540 if test "${enable_cmdline+set}" = set; then
3541 enableval
="$enable_cmdline"
3543 if test "$enableval" = yes; then
3544 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3546 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3551 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3552 if test "x$LINE" != x
; then
3553 eval "DEFAULT_$LINE"
3558 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3563 eval "$ac_cv_use_cmdline"
3564 if test "$no_cache" != 1; then
3565 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3568 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3569 echo "$ac_t""yes" 1>&6
3571 echo "$ac_t""no" 1>&6
3576 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3577 echo "configure:3578: checking for --${enablestring:-enable}-datetime" >&5
3579 # Check whether --enable-datetime or --disable-datetime was given.
3580 if test "${enable_datetime+set}" = set; then
3581 enableval
="$enable_datetime"
3583 if test "$enableval" = yes; then
3584 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3586 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3591 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3592 if test "x$LINE" != x
; then
3593 eval "DEFAULT_$LINE"
3598 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3603 eval "$ac_cv_use_datetime"
3604 if test "$no_cache" != 1; then
3605 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3608 if test "$wxUSE_DATETIME" = yes; then
3609 echo "$ac_t""yes" 1>&6
3611 echo "$ac_t""no" 1>&6
3616 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3617 echo "configure:3618: checking for --${enablestring:-enable}-stopwatch" >&5
3619 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3620 if test "${enable_stopwatch+set}" = set; then
3621 enableval
="$enable_stopwatch"
3623 if test "$enableval" = yes; then
3624 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3626 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3631 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3632 if test "x$LINE" != x
; then
3633 eval "DEFAULT_$LINE"
3638 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3643 eval "$ac_cv_use_stopwatch"
3644 if test "$no_cache" != 1; then
3645 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3648 if test "$wxUSE_STOPWATCH" = yes; then
3649 echo "$ac_t""yes" 1>&6
3651 echo "$ac_t""no" 1>&6
3656 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3657 echo "configure:3658: checking for --${enablestring:-enable}-dialupman" >&5
3659 # Check whether --enable-dialupman or --disable-dialupman was given.
3660 if test "${enable_dialupman+set}" = set; then
3661 enableval
="$enable_dialupman"
3663 if test "$enableval" = yes; then
3664 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3666 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3671 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3672 if test "x$LINE" != x
; then
3673 eval "DEFAULT_$LINE"
3678 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3683 eval "$ac_cv_use_dialupman"
3684 if test "$no_cache" != 1; then
3685 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3688 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3689 echo "$ac_t""yes" 1>&6
3691 echo "$ac_t""no" 1>&6
3696 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3697 echo "configure:3698: checking for --${enablestring:-enable}-apple_ieee" >&5
3699 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3700 if test "${enable_apple_ieee+set}" = set; then
3701 enableval
="$enable_apple_ieee"
3703 if test "$enableval" = yes; then
3704 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3706 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3711 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3712 if test "x$LINE" != x
; then
3713 eval "DEFAULT_$LINE"
3718 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3723 eval "$ac_cv_use_apple_ieee"
3724 if test "$no_cache" != 1; then
3725 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3728 if test "$wxUSE_APPLE_IEEE" = yes; then
3729 echo "$ac_t""yes" 1>&6
3731 echo "$ac_t""no" 1>&6
3736 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3737 echo "configure:3738: checking for --${enablestring:-enable}-timer" >&5
3739 # Check whether --enable-timer or --disable-timer was given.
3740 if test "${enable_timer+set}" = set; then
3741 enableval
="$enable_timer"
3743 if test "$enableval" = yes; then
3744 ac_cv_use_timer
='wxUSE_TIMER=yes'
3746 ac_cv_use_timer
='wxUSE_TIMER=no'
3751 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3752 if test "x$LINE" != x
; then
3753 eval "DEFAULT_$LINE"
3758 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3763 eval "$ac_cv_use_timer"
3764 if test "$no_cache" != 1; then
3765 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3768 if test "$wxUSE_TIMER" = yes; then
3769 echo "$ac_t""yes" 1>&6
3771 echo "$ac_t""no" 1>&6
3776 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3777 echo "configure:3778: checking for --${enablestring:-enable}-wave" >&5
3779 # Check whether --enable-wave or --disable-wave was given.
3780 if test "${enable_wave+set}" = set; then
3781 enableval
="$enable_wave"
3783 if test "$enableval" = yes; then
3784 ac_cv_use_wave
='wxUSE_WAVE=yes'
3786 ac_cv_use_wave
='wxUSE_WAVE=no'
3791 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3792 if test "x$LINE" != x
; then
3793 eval "DEFAULT_$LINE"
3798 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3803 eval "$ac_cv_use_wave"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3808 if test "$wxUSE_WAVE" = yes; then
3809 echo "$ac_t""yes" 1>&6
3811 echo "$ac_t""no" 1>&6
3816 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3817 echo "configure:3818: checking for --${enablestring:-enable}-fraction" >&5
3819 # Check whether --enable-fraction or --disable-fraction was given.
3820 if test "${enable_fraction+set}" = set; then
3821 enableval
="$enable_fraction"
3823 if test "$enableval" = yes; then
3824 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3826 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3831 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3832 if test "x$LINE" != x
; then
3833 eval "DEFAULT_$LINE"
3838 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3843 eval "$ac_cv_use_fraction"
3844 if test "$no_cache" != 1; then
3845 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3848 if test "$wxUSE_FRACTION" = yes; then
3849 echo "$ac_t""yes" 1>&6
3851 echo "$ac_t""no" 1>&6
3856 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3857 echo "configure:3858: checking for --${enablestring:-enable}-dynlib" >&5
3859 # Check whether --enable-dynlib or --disable-dynlib was given.
3860 if test "${enable_dynlib+set}" = set; then
3861 enableval
="$enable_dynlib"
3863 if test "$enableval" = yes; then
3864 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3866 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3871 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3872 if test "x$LINE" != x
; then
3873 eval "DEFAULT_$LINE"
3878 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3883 eval "$ac_cv_use_dynlib"
3884 if test "$no_cache" != 1; then
3885 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3888 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3889 echo "$ac_t""yes" 1>&6
3891 echo "$ac_t""no" 1>&6
3896 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3897 echo "configure:3898: checking for --${enablestring:-enable}-dynamicloader" >&5
3899 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3900 if test "${enable_dynamicloader+set}" = set; then
3901 enableval
="$enable_dynamicloader"
3903 if test "$enableval" = yes; then
3904 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3906 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3911 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x
; then
3913 eval "DEFAULT_$LINE"
3918 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3923 eval "$ac_cv_use_dynamicloader"
3924 if test "$no_cache" != 1; then
3925 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3928 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3929 echo "$ac_t""yes" 1>&6
3931 echo "$ac_t""no" 1>&6
3936 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3937 echo "configure:3938: checking for --${enablestring:-enable}-longlong" >&5
3939 # Check whether --enable-longlong or --disable-longlong was given.
3940 if test "${enable_longlong+set}" = set; then
3941 enableval
="$enable_longlong"
3943 if test "$enableval" = yes; then
3944 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3946 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3951 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x
; then
3953 eval "DEFAULT_$LINE"
3958 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3963 eval "$ac_cv_use_longlong"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3968 if test "$wxUSE_LONGLONG" = yes; then
3969 echo "$ac_t""yes" 1>&6
3971 echo "$ac_t""no" 1>&6
3976 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
3977 echo "configure:3978: checking for --${enablestring:-enable}-geometry" >&5
3979 # Check whether --enable-geometry or --disable-geometry was given.
3980 if test "${enable_geometry+set}" = set; then
3981 enableval
="$enable_geometry"
3983 if test "$enableval" = yes; then
3984 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3986 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3991 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3992 if test "x$LINE" != x
; then
3993 eval "DEFAULT_$LINE"
3998 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4003 eval "$ac_cv_use_geometry"
4004 if test "$no_cache" != 1; then
4005 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4008 if test "$wxUSE_GEOMETRY" = yes; then
4009 echo "$ac_t""yes" 1>&6
4011 echo "$ac_t""no" 1>&6
4016 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4017 echo "configure:4018: checking for --${enablestring:-enable}-log" >&5
4019 # Check whether --enable-log or --disable-log was given.
4020 if test "${enable_log+set}" = set; then
4021 enableval
="$enable_log"
4023 if test "$enableval" = yes; then
4024 ac_cv_use_log
='wxUSE_LOG=yes'
4026 ac_cv_use_log
='wxUSE_LOG=no'
4031 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4032 if test "x$LINE" != x
; then
4033 eval "DEFAULT_$LINE"
4038 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4043 eval "$ac_cv_use_log"
4044 if test "$no_cache" != 1; then
4045 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4048 if test "$wxUSE_LOG" = yes; then
4049 echo "$ac_t""yes" 1>&6
4051 echo "$ac_t""no" 1>&6
4056 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4057 echo "configure:4058: checking for --${enablestring:-enable}-streams" >&5
4059 # Check whether --enable-streams or --disable-streams was given.
4060 if test "${enable_streams+set}" = set; then
4061 enableval
="$enable_streams"
4063 if test "$enableval" = yes; then
4064 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4066 ac_cv_use_streams
='wxUSE_STREAMS=no'
4071 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x
; then
4073 eval "DEFAULT_$LINE"
4078 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4083 eval "$ac_cv_use_streams"
4084 if test "$no_cache" != 1; then
4085 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4088 if test "$wxUSE_STREAMS" = yes; then
4089 echo "$ac_t""yes" 1>&6
4091 echo "$ac_t""no" 1>&6
4096 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4097 echo "configure:4098: checking for --${enablestring:-enable}-file" >&5
4099 # Check whether --enable-file or --disable-file was given.
4100 if test "${enable_file+set}" = set; then
4101 enableval
="$enable_file"
4103 if test "$enableval" = yes; then
4104 ac_cv_use_file
='wxUSE_FILE=yes'
4106 ac_cv_use_file
='wxUSE_FILE=no'
4111 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4112 if test "x$LINE" != x
; then
4113 eval "DEFAULT_$LINE"
4118 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4123 eval "$ac_cv_use_file"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4128 if test "$wxUSE_FILE" = yes; then
4129 echo "$ac_t""yes" 1>&6
4131 echo "$ac_t""no" 1>&6
4136 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4137 echo "configure:4138: checking for --${enablestring:-enable}-ffile" >&5
4139 # Check whether --enable-ffile or --disable-ffile was given.
4140 if test "${enable_ffile+set}" = set; then
4141 enableval
="$enable_ffile"
4143 if test "$enableval" = yes; then
4144 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4146 ac_cv_use_ffile
='wxUSE_FFILE=no'
4151 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x
; then
4153 eval "DEFAULT_$LINE"
4158 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4163 eval "$ac_cv_use_ffile"
4164 if test "$no_cache" != 1; then
4165 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4168 if test "$wxUSE_FFILE" = yes; then
4169 echo "$ac_t""yes" 1>&6
4171 echo "$ac_t""no" 1>&6
4176 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4177 echo "configure:4178: checking for --${enablestring:-enable}-textbuf" >&5
4179 # Check whether --enable-textbuf or --disable-textbuf was given.
4180 if test "${enable_textbuf+set}" = set; then
4181 enableval
="$enable_textbuf"
4183 if test "$enableval" = yes; then
4184 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4186 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4191 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x
; then
4193 eval "DEFAULT_$LINE"
4198 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4203 eval "$ac_cv_use_textbuf"
4204 if test "$no_cache" != 1; then
4205 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4208 if test "$wxUSE_TEXTBUFFER" = yes; then
4209 echo "$ac_t""yes" 1>&6
4211 echo "$ac_t""no" 1>&6
4216 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4217 echo "configure:4218: checking for --${enablestring:-enable}-textfile" >&5
4219 # Check whether --enable-textfile or --disable-textfile was given.
4220 if test "${enable_textfile+set}" = set; then
4221 enableval
="$enable_textfile"
4223 if test "$enableval" = yes; then
4224 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4226 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4231 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x
; then
4233 eval "DEFAULT_$LINE"
4238 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4243 eval "$ac_cv_use_textfile"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_TEXTFILE" = yes; then
4249 echo "$ac_t""yes" 1>&6
4251 echo "$ac_t""no" 1>&6
4256 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4257 echo "configure:4258: checking for --${enablestring:-enable}-fontmap" >&5
4259 # Check whether --enable-fontmap or --disable-fontmap was given.
4260 if test "${enable_fontmap+set}" = set; then
4261 enableval
="$enable_fontmap"
4263 if test "$enableval" = yes; then
4264 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4266 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4271 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4272 if test "x$LINE" != x
; then
4273 eval "DEFAULT_$LINE"
4278 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4283 eval "$ac_cv_use_fontmap"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4288 if test "$wxUSE_FONTMAP" = yes; then
4289 echo "$ac_t""yes" 1>&6
4291 echo "$ac_t""no" 1>&6
4296 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4297 echo "configure:4298: checking for --${enablestring:-enable}-unicode" >&5
4299 # Check whether --enable-unicode or --disable-unicode was given.
4300 if test "${enable_unicode+set}" = set; then
4301 enableval
="$enable_unicode"
4303 if test "$enableval" = yes; then
4304 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4306 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4311 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x
; then
4313 eval "DEFAULT_$LINE"
4318 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4323 eval "$ac_cv_use_unicode"
4324 if test "$no_cache" != 1; then
4325 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4328 if test "$wxUSE_UNICODE" = yes; then
4329 echo "$ac_t""yes" 1>&6
4331 echo "$ac_t""no" 1>&6
4336 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4337 echo "configure:4338: checking for --${enablestring:-enable}-mslu" >&5
4339 # Check whether --enable-mslu or --disable-mslu was given.
4340 if test "${enable_mslu+set}" = set; then
4341 enableval
="$enable_mslu"
4343 if test "$enableval" = yes; then
4344 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4346 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4351 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4352 if test "x$LINE" != x
; then
4353 eval "DEFAULT_$LINE"
4358 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4363 eval "$ac_cv_use_mslu"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4368 if test "$wxUSE_UNICODE_MSLU" = yes; then
4369 echo "$ac_t""yes" 1>&6
4371 echo "$ac_t""no" 1>&6
4376 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4377 echo "configure:4378: checking for --${enablestring:-enable}-wxprintfv" >&5
4379 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4380 if test "${enable_wxprintfv+set}" = set; then
4381 enableval
="$enable_wxprintfv"
4383 if test "$enableval" = yes; then
4384 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4386 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4391 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4392 if test "x$LINE" != x
; then
4393 eval "DEFAULT_$LINE"
4398 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4403 eval "$ac_cv_use_wxprintfv"
4404 if test "$no_cache" != 1; then
4405 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4408 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4409 echo "$ac_t""yes" 1>&6
4411 echo "$ac_t""no" 1>&6
4416 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4417 echo "configure:4418: checking for --${enablestring:-enable}-std_iostreams" >&5
4419 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4420 if test "${enable_std_iostreams+set}" = set; then
4421 enableval
="$enable_std_iostreams"
4423 if test "$enableval" = yes; then
4424 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4426 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4431 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4432 if test "x$LINE" != x
; then
4433 eval "DEFAULT_$LINE"
4438 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4443 eval "$ac_cv_use_std_iostreams"
4444 if test "$no_cache" != 1; then
4445 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4448 if test "$wxUSE_STD_IOSTREAM" = yes; then
4449 echo "$ac_t""yes" 1>&6
4451 echo "$ac_t""no" 1>&6
4456 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4457 echo "configure:4458: checking for --${enablestring:-enable}-filesystem" >&5
4459 # Check whether --enable-filesystem or --disable-filesystem was given.
4460 if test "${enable_filesystem+set}" = set; then
4461 enableval
="$enable_filesystem"
4463 if test "$enableval" = yes; then
4464 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4466 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4471 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x
; then
4473 eval "DEFAULT_$LINE"
4478 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4483 eval "$ac_cv_use_filesystem"
4484 if test "$no_cache" != 1; then
4485 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4488 if test "$wxUSE_FILESYSTEM" = yes; then
4489 echo "$ac_t""yes" 1>&6
4491 echo "$ac_t""no" 1>&6
4496 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4497 echo "configure:4498: checking for --${enablestring:-enable}-fs_inet" >&5
4499 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4500 if test "${enable_fs_inet+set}" = set; then
4501 enableval
="$enable_fs_inet"
4503 if test "$enableval" = yes; then
4504 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4506 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4511 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x
; then
4513 eval "DEFAULT_$LINE"
4518 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4523 eval "$ac_cv_use_fs_inet"
4524 if test "$no_cache" != 1; then
4525 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4528 if test "$wxUSE_FS_INET" = yes; then
4529 echo "$ac_t""yes" 1>&6
4531 echo "$ac_t""no" 1>&6
4536 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4537 echo "configure:4538: checking for --${enablestring:-enable}-fs_zip" >&5
4539 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4540 if test "${enable_fs_zip+set}" = set; then
4541 enableval
="$enable_fs_zip"
4543 if test "$enableval" = yes; then
4544 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4546 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4551 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x
; then
4553 eval "DEFAULT_$LINE"
4558 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4563 eval "$ac_cv_use_fs_zip"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4568 if test "$wxUSE_FS_ZIP" = yes; then
4569 echo "$ac_t""yes" 1>&6
4571 echo "$ac_t""no" 1>&6
4576 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4577 echo "configure:4578: checking for --${enablestring:-enable}-zipstream" >&5
4579 # Check whether --enable-zipstream or --disable-zipstream was given.
4580 if test "${enable_zipstream+set}" = set; then
4581 enableval
="$enable_zipstream"
4583 if test "$enableval" = yes; then
4584 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4586 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4591 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x
; then
4593 eval "DEFAULT_$LINE"
4598 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4603 eval "$ac_cv_use_zipstream"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4608 if test "$wxUSE_ZIPSTREAM" = yes; then
4609 echo "$ac_t""yes" 1>&6
4611 echo "$ac_t""no" 1>&6
4617 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4618 echo "configure:4619: checking for --${enablestring:-enable}-catch_segvs" >&5
4620 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4621 if test "${enable_catch_segvs+set}" = set; then
4622 enableval
="$enable_catch_segvs"
4624 if test "$enableval" = yes; then
4625 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4627 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4632 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x
; then
4634 eval "DEFAULT_$LINE"
4639 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4644 eval "$ac_cv_use_catch_segvs"
4645 if test "$no_cache" != 1; then
4646 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4649 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4650 echo "$ac_t""yes" 1>&6
4652 echo "$ac_t""no" 1>&6
4657 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4658 echo "configure:4659: checking for --${enablestring:-enable}-snglinst" >&5
4660 # Check whether --enable-snglinst or --disable-snglinst was given.
4661 if test "${enable_snglinst+set}" = set; then
4662 enableval
="$enable_snglinst"
4664 if test "$enableval" = yes; then
4665 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4667 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4672 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4673 if test "x$LINE" != x
; then
4674 eval "DEFAULT_$LINE"
4679 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4684 eval "$ac_cv_use_snglinst"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4689 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4690 echo "$ac_t""yes" 1>&6
4692 echo "$ac_t""no" 1>&6
4698 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4699 echo "configure:4700: checking for --${enablestring:-enable}-mimetype" >&5
4701 # Check whether --enable-mimetype or --disable-mimetype was given.
4702 if test "${enable_mimetype+set}" = set; then
4703 enableval
="$enable_mimetype"
4705 if test "$enableval" = yes; then
4706 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4708 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4713 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4714 if test "x$LINE" != x
; then
4715 eval "DEFAULT_$LINE"
4720 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4725 eval "$ac_cv_use_mimetype"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4730 if test "$wxUSE_MIMETYPE" = yes; then
4731 echo "$ac_t""yes" 1>&6
4733 echo "$ac_t""no" 1>&6
4738 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4739 echo "configure:4740: checking for --${enablestring:-enable}-system_options" >&5
4741 # Check whether --enable-system_options or --disable-system_options was given.
4742 if test "${enable_system_options+set}" = set; then
4743 enableval
="$enable_system_options"
4745 if test "$enableval" = yes; then
4746 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4748 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4753 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x
; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4765 eval "$ac_cv_use_system_options"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4770 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4771 echo "$ac_t""yes" 1>&6
4773 echo "$ac_t""no" 1>&6
4779 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4780 echo "configure:4781: checking for --${enablestring:-enable}-url" >&5
4782 # Check whether --enable-url or --disable-url was given.
4783 if test "${enable_url+set}" = set; then
4784 enableval
="$enable_url"
4786 if test "$enableval" = yes; then
4787 ac_cv_use_url
='wxUSE_URL=yes'
4789 ac_cv_use_url
='wxUSE_URL=no'
4794 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x
; then
4796 eval "DEFAULT_$LINE"
4801 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4806 eval "$ac_cv_use_url"
4807 if test "$no_cache" != 1; then
4808 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4811 if test "$wxUSE_URL" = yes; then
4812 echo "$ac_t""yes" 1>&6
4814 echo "$ac_t""no" 1>&6
4819 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4820 echo "configure:4821: checking for --${enablestring:-enable}-protocol" >&5
4822 # Check whether --enable-protocol or --disable-protocol was given.
4823 if test "${enable_protocol+set}" = set; then
4824 enableval
="$enable_protocol"
4826 if test "$enableval" = yes; then
4827 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4829 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4834 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x
; then
4836 eval "DEFAULT_$LINE"
4841 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4846 eval "$ac_cv_use_protocol"
4847 if test "$no_cache" != 1; then
4848 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4851 if test "$wxUSE_PROTOCOL" = yes; then
4852 echo "$ac_t""yes" 1>&6
4854 echo "$ac_t""no" 1>&6
4859 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4860 echo "configure:4861: checking for --${enablestring:-enable}-protocol_http" >&5
4862 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4863 if test "${enable_protocol_http+set}" = set; then
4864 enableval
="$enable_protocol_http"
4866 if test "$enableval" = yes; then
4867 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4869 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4874 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x
; then
4876 eval "DEFAULT_$LINE"
4881 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4886 eval "$ac_cv_use_protocol_http"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4891 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4892 echo "$ac_t""yes" 1>&6
4894 echo "$ac_t""no" 1>&6
4899 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4900 echo "configure:4901: checking for --${enablestring:-enable}-protocol_ftp" >&5
4902 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4903 if test "${enable_protocol_ftp+set}" = set; then
4904 enableval
="$enable_protocol_ftp"
4906 if test "$enableval" = yes; then
4907 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4909 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4914 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x
; then
4916 eval "DEFAULT_$LINE"
4921 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4926 eval "$ac_cv_use_protocol_ftp"
4927 if test "$no_cache" != 1; then
4928 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4931 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4932 echo "$ac_t""yes" 1>&6
4934 echo "$ac_t""no" 1>&6
4939 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4940 echo "configure:4941: checking for --${enablestring:-enable}-protocol_file" >&5
4942 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4943 if test "${enable_protocol_file+set}" = set; then
4944 enableval
="$enable_protocol_file"
4946 if test "$enableval" = yes; then
4947 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4949 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4954 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4955 if test "x$LINE" != x
; then
4956 eval "DEFAULT_$LINE"
4961 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4966 eval "$ac_cv_use_protocol_file"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4972 echo "$ac_t""yes" 1>&6
4974 echo "$ac_t""no" 1>&6
4982 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
4983 echo "configure:4984: checking for --${enablestring:-enable}-threads" >&5
4985 # Check whether --enable-threads or --disable-threads was given.
4986 if test "${enable_threads+set}" = set; then
4987 enableval
="$enable_threads"
4989 if test "$enableval" = yes; then
4990 ac_cv_use_threads
='wxUSE_THREADS=yes'
4992 ac_cv_use_threads
='wxUSE_THREADS=no'
4997 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4998 if test "x$LINE" != x
; then
4999 eval "DEFAULT_$LINE"
5004 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5009 eval "$ac_cv_use_threads"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5014 if test "$wxUSE_THREADS" = yes; then
5015 echo "$ac_t""yes" 1>&6
5017 echo "$ac_t""no" 1>&6
5021 if test "$wxUSE_GUI" = "yes"; then
5026 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5027 echo "configure:5028: checking for --${enablestring:-enable}-docview" >&5
5029 # Check whether --enable-docview or --disable-docview was given.
5030 if test "${enable_docview+set}" = set; then
5031 enableval
="$enable_docview"
5033 if test "$enableval" = yes; then
5034 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5036 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5041 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5042 if test "x$LINE" != x
; then
5043 eval "DEFAULT_$LINE"
5048 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5053 eval "$ac_cv_use_docview"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5058 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5059 echo "$ac_t""yes" 1>&6
5061 echo "$ac_t""no" 1>&6
5066 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5067 echo "configure:5068: checking for --${enablestring:-enable}-help" >&5
5069 # Check whether --enable-help or --disable-help was given.
5070 if test "${enable_help+set}" = set; then
5071 enableval
="$enable_help"
5073 if test "$enableval" = yes; then
5074 ac_cv_use_help
='wxUSE_HELP=yes'
5076 ac_cv_use_help
='wxUSE_HELP=no'
5081 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x
; then
5083 eval "DEFAULT_$LINE"
5088 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5093 eval "$ac_cv_use_help"
5094 if test "$no_cache" != 1; then
5095 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5098 if test "$wxUSE_HELP" = yes; then
5099 echo "$ac_t""yes" 1>&6
5101 echo "$ac_t""no" 1>&6
5106 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5107 echo "configure:5108: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5109 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5110 if test "${enable_mshtmlhelp+set}" = set; then
5111 enableval
="$enable_mshtmlhelp"
5113 if test "$enableval" = yes; then
5114 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5116 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5121 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x
; then
5123 eval "DEFAULT_$LINE"
5128 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5133 eval "$ac_cv_use_mshtmlhelp"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5138 if test "$wxUSE_MS_HTML_HELP" = yes; then
5139 echo "$ac_t""yes" 1>&6
5141 echo "$ac_t""no" 1>&6
5146 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5147 echo "configure:5148: checking for --${enablestring:-enable}-html" >&5
5149 # Check whether --enable-html or --disable-html was given.
5150 if test "${enable_html+set}" = set; then
5151 enableval
="$enable_html"
5153 if test "$enableval" = yes; then
5154 ac_cv_use_html
='wxUSE_HTML=yes'
5156 ac_cv_use_html
='wxUSE_HTML=no'
5161 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5162 if test "x$LINE" != x
; then
5163 eval "DEFAULT_$LINE"
5168 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5173 eval "$ac_cv_use_html"
5174 if test "$no_cache" != 1; then
5175 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5178 if test "$wxUSE_HTML" = yes; then
5179 echo "$ac_t""yes" 1>&6
5181 echo "$ac_t""no" 1>&6
5186 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5187 echo "configure:5188: checking for --${enablestring:-enable}-htmlhelp" >&5
5189 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5190 if test "${enable_htmlhelp+set}" = set; then
5191 enableval
="$enable_htmlhelp"
5193 if test "$enableval" = yes; then
5194 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5196 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5201 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x
; then
5203 eval "DEFAULT_$LINE"
5208 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5213 eval "$ac_cv_use_htmlhelp"
5214 if test "$no_cache" != 1; then
5215 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5218 if test "$wxUSE_WXHTML_HELP" = yes; then
5219 echo "$ac_t""yes" 1>&6
5221 echo "$ac_t""no" 1>&6
5226 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5227 echo "configure:5228: checking for --${enablestring:-enable}-constraints" >&5
5229 # Check whether --enable-constraints or --disable-constraints was given.
5230 if test "${enable_constraints+set}" = set; then
5231 enableval
="$enable_constraints"
5233 if test "$enableval" = yes; then
5234 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5236 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5241 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5242 if test "x$LINE" != x
; then
5243 eval "DEFAULT_$LINE"
5248 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5253 eval "$ac_cv_use_constraints"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5258 if test "$wxUSE_CONSTRAINTS" = yes; then
5259 echo "$ac_t""yes" 1>&6
5261 echo "$ac_t""no" 1>&6
5266 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5267 echo "configure:5268: checking for --${enablestring:-enable}-printarch" >&5
5269 # Check whether --enable-printarch or --disable-printarch was given.
5270 if test "${enable_printarch+set}" = set; then
5271 enableval
="$enable_printarch"
5273 if test "$enableval" = yes; then
5274 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5276 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5281 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5282 if test "x$LINE" != x
; then
5283 eval "DEFAULT_$LINE"
5288 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5293 eval "$ac_cv_use_printarch"
5294 if test "$no_cache" != 1; then
5295 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5298 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5299 echo "$ac_t""yes" 1>&6
5301 echo "$ac_t""no" 1>&6
5306 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5307 echo "configure:5308: checking for --${enablestring:-enable}-mdi" >&5
5309 # Check whether --enable-mdi or --disable-mdi was given.
5310 if test "${enable_mdi+set}" = set; then
5311 enableval
="$enable_mdi"
5313 if test "$enableval" = yes; then
5314 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5316 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5321 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x
; then
5323 eval "DEFAULT_$LINE"
5328 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5333 eval "$ac_cv_use_mdi"
5334 if test "$no_cache" != 1; then
5335 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5338 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5339 echo "$ac_t""yes" 1>&6
5341 echo "$ac_t""no" 1>&6
5346 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5347 echo "configure:5348: checking for --${enablestring:-enable}-loggui" >&5
5349 # Check whether --enable-loggui or --disable-loggui was given.
5350 if test "${enable_loggui+set}" = set; then
5351 enableval
="$enable_loggui"
5353 if test "$enableval" = yes; then
5354 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5356 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5361 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5362 if test "x$LINE" != x
; then
5363 eval "DEFAULT_$LINE"
5368 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5373 eval "$ac_cv_use_loggui"
5374 if test "$no_cache" != 1; then
5375 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5378 if test "$wxUSE_LOGGUI" = yes; then
5379 echo "$ac_t""yes" 1>&6
5381 echo "$ac_t""no" 1>&6
5386 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5387 echo "configure:5388: checking for --${enablestring:-enable}-logwin" >&5
5389 # Check whether --enable-logwin or --disable-logwin was given.
5390 if test "${enable_logwin+set}" = set; then
5391 enableval
="$enable_logwin"
5393 if test "$enableval" = yes; then
5394 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5396 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5401 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5402 if test "x$LINE" != x
; then
5403 eval "DEFAULT_$LINE"
5408 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5413 eval "$ac_cv_use_logwin"
5414 if test "$no_cache" != 1; then
5415 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5418 if test "$wxUSE_LOGWINDOW" = yes; then
5419 echo "$ac_t""yes" 1>&6
5421 echo "$ac_t""no" 1>&6
5426 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5427 echo "configure:5428: checking for --${enablestring:-enable}-logdialog" >&5
5429 # Check whether --enable-logdialog or --disable-logdialog was given.
5430 if test "${enable_logdialog+set}" = set; then
5431 enableval
="$enable_logdialog"
5433 if test "$enableval" = yes; then
5434 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5436 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5441 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5442 if test "x$LINE" != x
; then
5443 eval "DEFAULT_$LINE"
5448 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5453 eval "$ac_cv_use_logdialog"
5454 if test "$no_cache" != 1; then
5455 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5458 if test "$wxUSE_LOGDIALOG" = yes; then
5459 echo "$ac_t""yes" 1>&6
5461 echo "$ac_t""no" 1>&6
5467 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5468 echo "configure:5469: checking for --${enablestring:-enable}-postscript" >&5
5470 # Check whether --enable-postscript or --disable-postscript was given.
5471 if test "${enable_postscript+set}" = set; then
5472 enableval
="$enable_postscript"
5474 if test "$enableval" = yes; then
5475 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5477 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5482 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5483 if test "x$LINE" != x
; then
5484 eval "DEFAULT_$LINE"
5489 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5494 eval "$ac_cv_use_postscript"
5495 if test "$no_cache" != 1; then
5496 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5499 if test "$wxUSE_POSTSCRIPT" = yes; then
5500 echo "$ac_t""yes" 1>&6
5502 echo "$ac_t""no" 1>&6
5510 echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6
5511 echo "configure:5512: checking for --${enablestring:-enable}-prologio" >&5
5513 # Check whether --enable-prologio or --disable-prologio was given.
5514 if test "${enable_prologio+set}" = set; then
5515 enableval
="$enable_prologio"
5517 if test "$enableval" = yes; then
5518 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5520 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5525 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5526 if test "x$LINE" != x
; then
5527 eval "DEFAULT_$LINE"
5532 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5537 eval "$ac_cv_use_prologio"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5542 if test "$wxUSE_PROLOGIO" = yes; then
5543 echo "$ac_t""yes" 1>&6
5545 echo "$ac_t""no" 1>&6
5550 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5551 echo "configure:5552: checking for --${enablestring:-enable}-resources" >&5
5553 # Check whether --enable-resources or --disable-resources was given.
5554 if test "${enable_resources+set}" = set; then
5555 enableval
="$enable_resources"
5557 if test "$enableval" = yes; then
5558 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5560 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5565 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5566 if test "x$LINE" != x
; then
5567 eval "DEFAULT_$LINE"
5572 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5577 eval "$ac_cv_use_resources"
5578 if test "$no_cache" != 1; then
5579 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5582 if test "$wxUSE_RESOURCES" = yes; then
5583 echo "$ac_t""yes" 1>&6
5585 echo "$ac_t""no" 1>&6
5592 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5593 echo "configure:5594: checking for --${enablestring:-enable}-clipboard" >&5
5595 # Check whether --enable-clipboard or --disable-clipboard was given.
5596 if test "${enable_clipboard+set}" = set; then
5597 enableval
="$enable_clipboard"
5599 if test "$enableval" = yes; then
5600 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5602 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5607 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5608 if test "x$LINE" != x
; then
5609 eval "DEFAULT_$LINE"
5614 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5619 eval "$ac_cv_use_clipboard"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5624 if test "$wxUSE_CLIPBOARD" = yes; then
5625 echo "$ac_t""yes" 1>&6
5627 echo "$ac_t""no" 1>&6
5632 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5633 echo "configure:5634: checking for --${enablestring:-enable}-dnd" >&5
5635 # Check whether --enable-dnd or --disable-dnd was given.
5636 if test "${enable_dnd+set}" = set; then
5637 enableval
="$enable_dnd"
5639 if test "$enableval" = yes; then
5640 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5642 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5647 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5648 if test "x$LINE" != x
; then
5649 eval "DEFAULT_$LINE"
5654 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5659 eval "$ac_cv_use_dnd"
5660 if test "$no_cache" != 1; then
5661 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5664 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5665 echo "$ac_t""yes" 1>&6
5667 echo "$ac_t""no" 1>&6
5672 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5673 echo "configure:5674: checking for --${enablestring:-enable}-metafile" >&5
5675 # Check whether --enable-metafile or --disable-metafile was given.
5676 if test "${enable_metafile+set}" = set; then
5677 enableval
="$enable_metafile"
5679 if test "$enableval" = yes; then
5680 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5682 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5687 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5688 if test "x$LINE" != x
; then
5689 eval "DEFAULT_$LINE"
5694 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5699 eval "$ac_cv_use_metafile"
5700 if test "$no_cache" != 1; then
5701 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5704 if test "$wxUSE_METAFILE" = yes; then
5705 echo "$ac_t""yes" 1>&6
5707 echo "$ac_t""no" 1>&6
5715 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5716 echo "configure:5717: checking for --${enablestring:-enable}-controls" >&5
5718 # Check whether --enable-controls or --disable-controls was given.
5719 if test "${enable_controls+set}" = set; then
5720 enableval
="$enable_controls"
5722 if test "$enableval" = yes; then
5723 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5725 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5730 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5731 if test "x$LINE" != x
; then
5732 eval "DEFAULT_$LINE"
5737 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5742 eval "$ac_cv_use_controls"
5743 if test "$no_cache" != 1; then
5744 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5747 if test "$wxUSE_CONTROLS" = yes; then
5748 echo "$ac_t""yes" 1>&6
5750 echo "$ac_t""no" 1>&6
5754 if test "$wxUSE_CONTROLS" = "yes"; then
5755 DEFAULT_wxUSE_ACCEL
=yes
5756 DEFAULT_wxUSE_BMPBUTTON
=yes
5757 DEFAULT_wxUSE_BUTTON
=yes
5758 DEFAULT_wxUSE_CALCTRL
=no
5759 DEFAULT_wxUSE_CARET
=yes
5760 DEFAULT_wxUSE_COMBOBOX
=yes
5761 DEFAULT_wxUSE_CHECKBOX
=yes
5762 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5763 DEFAULT_wxUSE_CHOICE
=yes
5764 DEFAULT_wxUSE_GAUGE
=yes
5765 DEFAULT_wxUSE_GRID
=yes
5766 DEFAULT_wxUSE_IMAGLIST
=yes
5767 DEFAULT_wxUSE_LISTBOX
=yes
5768 DEFAULT_wxUSE_LISTCTRL
=yes
5769 DEFAULT_wxUSE_NOTEBOOK
=yes
5770 DEFAULT_wxUSE_RADIOBOX
=yes
5771 DEFAULT_wxUSE_RADIOBTN
=yes
5772 DEFAULT_wxUSE_SASH
=yes
5773 DEFAULT_wxUSE_SCROLLBAR
=yes
5774 DEFAULT_wxUSE_SLIDER
=yes
5775 DEFAULT_wxUSE_SPINBTN
=yes
5776 DEFAULT_wxUSE_SPINCTRL
=yes
5777 DEFAULT_wxUSE_SPLITTER
=yes
5778 DEFAULT_wxUSE_STATBMP
=yes
5779 DEFAULT_wxUSE_STATBOX
=yes
5780 DEFAULT_wxUSE_STATLINE
=yes
5781 DEFAULT_wxUSE_STATUSBAR
=yes
5782 DEFAULT_wxUSE_TAB_DIALOG
=yes
5783 DEFAULT_wxUSE_TOGGLEBTN
=yes
5784 DEFAULT_wxUSE_TOOLBAR
=yes
5785 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5786 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5787 DEFAULT_wxUSE_TOOLTIPS
=yes
5788 DEFAULT_wxUSE_TREECTRL
=yes
5789 DEFAULT_wxUSE_POPUPWIN
=yes
5790 DEFAULT_wxUSE_TIPWINDOW
=yes
5791 elif test "$wxUSE_CONTROLS" = "no"; then
5792 DEFAULT_wxUSE_ACCEL
=no
5793 DEFAULT_wxUSE_BMPBUTTON
=no
5794 DEFAULT_wxUSE_BUTTON
=no
5795 DEFAULT_wxUSE_CALCTRL
=no
5796 DEFAULT_wxUSE_CARET
=no
5797 DEFAULT_wxUSE_COMBOBOX
=no
5798 DEFAULT_wxUSE_CHECKBOX
=no
5799 DEFAULT_wxUSE_CHECKLISTBOX
=no
5800 DEFAULT_wxUSE_CHOICE
=no
5801 DEFAULT_wxUSE_GAUGE
=no
5802 DEFAULT_wxUSE_GRID
=no
5803 DEFAULT_wxUSE_IMAGLIST
=no
5804 DEFAULT_wxUSE_LISTBOX
=no
5805 DEFAULT_wxUSE_LISTCTRL
=no
5806 DEFAULT_wxUSE_NOTEBOOK
=no
5807 DEFAULT_wxUSE_RADIOBOX
=no
5808 DEFAULT_wxUSE_RADIOBTN
=no
5809 DEFAULT_wxUSE_SASH
=no
5810 DEFAULT_wxUSE_SCROLLBAR
=no
5811 DEFAULT_wxUSE_SLIDER
=no
5812 DEFAULT_wxUSE_SPINBTN
=no
5813 DEFAULT_wxUSE_SPINCTRL
=no
5814 DEFAULT_wxUSE_SPLITTER
=no
5815 DEFAULT_wxUSE_STATBMP
=no
5816 DEFAULT_wxUSE_STATBOX
=no
5817 DEFAULT_wxUSE_STATLINE
=no
5818 DEFAULT_wxUSE_STATUSBAR
=no
5819 DEFAULT_wxUSE_TAB_DIALOG
=no
5820 DEFAULT_wxUSE_TOGGLEBTN
=no
5821 DEFAULT_wxUSE_TOOLBAR
=no
5822 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5823 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5824 DEFAULT_wxUSE_TOOLTIPS
=no
5825 DEFAULT_wxUSE_TREECTRL
=no
5826 DEFAULT_wxUSE_POPUPWIN
=no
5827 DEFAULT_wxUSE_TIPWINDOW
=no
5830 ## FIXME: This is a blatant hack
5831 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
5832 wxUSE_PRINTING_ARCHITECTURE
=no
5835 wxUSE_DRAG_AND_DROP
=no
5837 # Generic notebook requires tab dialog
5838 DEFAULT_wxUSE_TABDIALOG
=yes
5839 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5840 DEFAULT_wxUSE_GAUGE
=no
5841 DEFAULT_wxUSE_SCROLLBAR
=no
5842 DEFAULT_wxUSE_SLIDER
=no
5843 DEFAULT_wxUSE_COMBOBOX
=no
5844 DEFAULT_wxUSE_CALCTRL
=no
5845 DEFAULT_wxUSE_SPINBTN
=no
5846 DEFAULT_wxUSE_SPINCTRL
=no
5847 DEFAULT_wxUSE_TOOLTIPS
=no
5848 DEFAULT_wxUSE_COLOURDLG
=no
5849 DEFAULT_wxUSE_DRAGIMAGE
=no
5850 DEFAULT_wxUSE_FINDREPLDLG
=no
5851 DEFAULT_wxUSE_FONTDLG
=no
5852 DEFAULT_wxUSE_GRID
=no
5853 DEFAULT_wxUSE_NUMBERDLG
=no
5854 DEFAULT_wxUSE_PROGRESSDLG
=no
5855 DEFAULT_wxUSE_SASH
=no
5856 DEFAULT_wxUSE_SPLITTER
=no
5857 DEFAULT_wxUSE_WIZARDDLG
=no
5858 DEFAULT_wxUSE_SPLITTER
=no
5859 DEFAULT_wxUSE_STARTUP_TIPS
=no
5864 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5865 echo "configure:5866: checking for --${enablestring:-enable}-accel" >&5
5867 # Check whether --enable-accel or --disable-accel was given.
5868 if test "${enable_accel+set}" = set; then
5869 enableval
="$enable_accel"
5871 if test "$enableval" = yes; then
5872 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5874 ac_cv_use_accel
='wxUSE_ACCEL=no'
5879 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5880 if test "x$LINE" != x
; then
5881 eval "DEFAULT_$LINE"
5886 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5891 eval "$ac_cv_use_accel"
5892 if test "$no_cache" != 1; then
5893 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5896 if test "$wxUSE_ACCEL" = yes; then
5897 echo "$ac_t""yes" 1>&6
5899 echo "$ac_t""no" 1>&6
5904 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5905 echo "configure:5906: checking for --${enablestring:-enable}-button" >&5
5907 # Check whether --enable-button or --disable-button was given.
5908 if test "${enable_button+set}" = set; then
5909 enableval
="$enable_button"
5911 if test "$enableval" = yes; then
5912 ac_cv_use_button
='wxUSE_BUTTON=yes'
5914 ac_cv_use_button
='wxUSE_BUTTON=no'
5919 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5920 if test "x$LINE" != x
; then
5921 eval "DEFAULT_$LINE"
5926 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5931 eval "$ac_cv_use_button"
5932 if test "$no_cache" != 1; then
5933 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5936 if test "$wxUSE_BUTTON" = yes; then
5937 echo "$ac_t""yes" 1>&6
5939 echo "$ac_t""no" 1>&6
5944 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
5945 echo "configure:5946: checking for --${enablestring:-enable}-bmpbutton" >&5
5947 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5948 if test "${enable_bmpbutton+set}" = set; then
5949 enableval
="$enable_bmpbutton"
5951 if test "$enableval" = yes; then
5952 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5954 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5959 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x
; then
5961 eval "DEFAULT_$LINE"
5966 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5971 eval "$ac_cv_use_bmpbutton"
5972 if test "$no_cache" != 1; then
5973 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5976 if test "$wxUSE_BMPBUTTON" = yes; then
5977 echo "$ac_t""yes" 1>&6
5979 echo "$ac_t""no" 1>&6
5984 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
5985 echo "configure:5986: checking for --${enablestring:-enable}-calendar" >&5
5987 # Check whether --enable-calendar or --disable-calendar was given.
5988 if test "${enable_calendar+set}" = set; then
5989 enableval
="$enable_calendar"
5991 if test "$enableval" = yes; then
5992 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5994 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5999 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6000 if test "x$LINE" != x
; then
6001 eval "DEFAULT_$LINE"
6006 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6011 eval "$ac_cv_use_calendar"
6012 if test "$no_cache" != 1; then
6013 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6016 if test "$wxUSE_CALCTRL" = yes; then
6017 echo "$ac_t""yes" 1>&6
6019 echo "$ac_t""no" 1>&6
6024 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6025 echo "configure:6026: checking for --${enablestring:-enable}-caret" >&5
6027 # Check whether --enable-caret or --disable-caret was given.
6028 if test "${enable_caret+set}" = set; then
6029 enableval
="$enable_caret"
6031 if test "$enableval" = yes; then
6032 ac_cv_use_caret
='wxUSE_CARET=yes'
6034 ac_cv_use_caret
='wxUSE_CARET=no'
6039 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6040 if test "x$LINE" != x
; then
6041 eval "DEFAULT_$LINE"
6046 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6051 eval "$ac_cv_use_caret"
6052 if test "$no_cache" != 1; then
6053 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6056 if test "$wxUSE_CARET" = yes; then
6057 echo "$ac_t""yes" 1>&6
6059 echo "$ac_t""no" 1>&6
6064 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6065 echo "configure:6066: checking for --${enablestring:-enable}-checkbox" >&5
6067 # Check whether --enable-checkbox or --disable-checkbox was given.
6068 if test "${enable_checkbox+set}" = set; then
6069 enableval
="$enable_checkbox"
6071 if test "$enableval" = yes; then
6072 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6074 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6079 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x
; then
6081 eval "DEFAULT_$LINE"
6086 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6091 eval "$ac_cv_use_checkbox"
6092 if test "$no_cache" != 1; then
6093 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6096 if test "$wxUSE_CHECKBOX" = yes; then
6097 echo "$ac_t""yes" 1>&6
6099 echo "$ac_t""no" 1>&6
6104 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6105 echo "configure:6106: checking for --${enablestring:-enable}-checklst" >&5
6107 # Check whether --enable-checklst or --disable-checklst was given.
6108 if test "${enable_checklst+set}" = set; then
6109 enableval
="$enable_checklst"
6111 if test "$enableval" = yes; then
6112 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6114 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6119 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6120 if test "x$LINE" != x
; then
6121 eval "DEFAULT_$LINE"
6126 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6131 eval "$ac_cv_use_checklst"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6136 if test "$wxUSE_CHECKLST" = yes; then
6137 echo "$ac_t""yes" 1>&6
6139 echo "$ac_t""no" 1>&6
6144 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6145 echo "configure:6146: checking for --${enablestring:-enable}-choice" >&5
6147 # Check whether --enable-choice or --disable-choice was given.
6148 if test "${enable_choice+set}" = set; then
6149 enableval
="$enable_choice"
6151 if test "$enableval" = yes; then
6152 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6154 ac_cv_use_choice
='wxUSE_CHOICE=no'
6159 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6160 if test "x$LINE" != x
; then
6161 eval "DEFAULT_$LINE"
6166 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6171 eval "$ac_cv_use_choice"
6172 if test "$no_cache" != 1; then
6173 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6176 if test "$wxUSE_CHOICE" = yes; then
6177 echo "$ac_t""yes" 1>&6
6179 echo "$ac_t""no" 1>&6
6184 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6185 echo "configure:6186: checking for --${enablestring:-enable}-combobox" >&5
6187 # Check whether --enable-combobox or --disable-combobox was given.
6188 if test "${enable_combobox+set}" = set; then
6189 enableval
="$enable_combobox"
6191 if test "$enableval" = yes; then
6192 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6194 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6199 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x
; then
6201 eval "DEFAULT_$LINE"
6206 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6211 eval "$ac_cv_use_combobox"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6216 if test "$wxUSE_COMBOBOX" = yes; then
6217 echo "$ac_t""yes" 1>&6
6219 echo "$ac_t""no" 1>&6
6224 echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
6225 echo "configure:6226: checking for --${enablestring:-enable}-display" >&5
6227 # Check whether --enable-display or --disable-display was given.
6228 if test "${enable_display+set}" = set; then
6229 enableval
="$enable_display"
6231 if test "$enableval" = yes; then
6232 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6234 ac_cv_use_display
='wxUSE_DISPLAY=no'
6239 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6240 if test "x$LINE" != x
; then
6241 eval "DEFAULT_$LINE"
6246 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6251 eval "$ac_cv_use_display"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6256 if test "$wxUSE_DISPLAY" = yes; then
6257 echo "$ac_t""yes" 1>&6
6259 echo "$ac_t""no" 1>&6
6264 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6265 echo "configure:6266: checking for --${enablestring:-enable}-gauge" >&5
6267 # Check whether --enable-gauge or --disable-gauge was given.
6268 if test "${enable_gauge+set}" = set; then
6269 enableval
="$enable_gauge"
6271 if test "$enableval" = yes; then
6272 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6274 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6279 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6280 if test "x$LINE" != x
; then
6281 eval "DEFAULT_$LINE"
6286 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6291 eval "$ac_cv_use_gauge"
6292 if test "$no_cache" != 1; then
6293 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6296 if test "$wxUSE_GAUGE" = yes; then
6297 echo "$ac_t""yes" 1>&6
6299 echo "$ac_t""no" 1>&6
6304 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6305 echo "configure:6306: checking for --${enablestring:-enable}-grid" >&5
6307 # Check whether --enable-grid or --disable-grid was given.
6308 if test "${enable_grid+set}" = set; then
6309 enableval
="$enable_grid"
6311 if test "$enableval" = yes; then
6312 ac_cv_use_grid
='wxUSE_GRID=yes'
6314 ac_cv_use_grid
='wxUSE_GRID=no'
6319 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x
; then
6321 eval "DEFAULT_$LINE"
6326 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6331 eval "$ac_cv_use_grid"
6332 if test "$no_cache" != 1; then
6333 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6336 if test "$wxUSE_GRID" = yes; then
6337 echo "$ac_t""yes" 1>&6
6339 echo "$ac_t""no" 1>&6
6344 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6345 echo "configure:6346: checking for --${enablestring:-enable}-imaglist" >&5
6347 # Check whether --enable-imaglist or --disable-imaglist was given.
6348 if test "${enable_imaglist+set}" = set; then
6349 enableval
="$enable_imaglist"
6351 if test "$enableval" = yes; then
6352 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6354 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6359 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6360 if test "x$LINE" != x
; then
6361 eval "DEFAULT_$LINE"
6366 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6371 eval "$ac_cv_use_imaglist"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6376 if test "$wxUSE_IMAGLIST" = yes; then
6377 echo "$ac_t""yes" 1>&6
6379 echo "$ac_t""no" 1>&6
6384 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6385 echo "configure:6386: checking for --${enablestring:-enable}-listbox" >&5
6387 # Check whether --enable-listbox or --disable-listbox was given.
6388 if test "${enable_listbox+set}" = set; then
6389 enableval
="$enable_listbox"
6391 if test "$enableval" = yes; then
6392 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6394 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6399 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6400 if test "x$LINE" != x
; then
6401 eval "DEFAULT_$LINE"
6406 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6411 eval "$ac_cv_use_listbox"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6416 if test "$wxUSE_LISTBOX" = yes; then
6417 echo "$ac_t""yes" 1>&6
6419 echo "$ac_t""no" 1>&6
6424 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6425 echo "configure:6426: checking for --${enablestring:-enable}-listctrl" >&5
6427 # Check whether --enable-listctrl or --disable-listctrl was given.
6428 if test "${enable_listctrl+set}" = set; then
6429 enableval
="$enable_listctrl"
6431 if test "$enableval" = yes; then
6432 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6434 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6439 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6440 if test "x$LINE" != x
; then
6441 eval "DEFAULT_$LINE"
6446 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6451 eval "$ac_cv_use_listctrl"
6452 if test "$no_cache" != 1; then
6453 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6456 if test "$wxUSE_LISTCTRL" = yes; then
6457 echo "$ac_t""yes" 1>&6
6459 echo "$ac_t""no" 1>&6
6464 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6465 echo "configure:6466: checking for --${enablestring:-enable}-notebook" >&5
6467 # Check whether --enable-notebook or --disable-notebook was given.
6468 if test "${enable_notebook+set}" = set; then
6469 enableval
="$enable_notebook"
6471 if test "$enableval" = yes; then
6472 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6474 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6479 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6480 if test "x$LINE" != x
; then
6481 eval "DEFAULT_$LINE"
6486 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6491 eval "$ac_cv_use_notebook"
6492 if test "$no_cache" != 1; then
6493 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6496 if test "$wxUSE_NOTEBOOK" = yes; then
6497 echo "$ac_t""yes" 1>&6
6499 echo "$ac_t""no" 1>&6
6504 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6505 echo "configure:6506: checking for --${enablestring:-enable}-radiobox" >&5
6507 # Check whether --enable-radiobox or --disable-radiobox was given.
6508 if test "${enable_radiobox+set}" = set; then
6509 enableval
="$enable_radiobox"
6511 if test "$enableval" = yes; then
6512 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6514 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6519 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6520 if test "x$LINE" != x
; then
6521 eval "DEFAULT_$LINE"
6526 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6531 eval "$ac_cv_use_radiobox"
6532 if test "$no_cache" != 1; then
6533 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6536 if test "$wxUSE_RADIOBOX" = yes; then
6537 echo "$ac_t""yes" 1>&6
6539 echo "$ac_t""no" 1>&6
6544 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6545 echo "configure:6546: checking for --${enablestring:-enable}-radiobtn" >&5
6547 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6548 if test "${enable_radiobtn+set}" = set; then
6549 enableval
="$enable_radiobtn"
6551 if test "$enableval" = yes; then
6552 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6554 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6559 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6560 if test "x$LINE" != x
; then
6561 eval "DEFAULT_$LINE"
6566 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6571 eval "$ac_cv_use_radiobtn"
6572 if test "$no_cache" != 1; then
6573 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6576 if test "$wxUSE_RADIOBTN" = yes; then
6577 echo "$ac_t""yes" 1>&6
6579 echo "$ac_t""no" 1>&6
6584 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6585 echo "configure:6586: checking for --${enablestring:-enable}-sash" >&5
6587 # Check whether --enable-sash or --disable-sash was given.
6588 if test "${enable_sash+set}" = set; then
6589 enableval
="$enable_sash"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_sash
='wxUSE_SASH=yes'
6594 ac_cv_use_sash
='wxUSE_SASH=no'
6599 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x
; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6611 eval "$ac_cv_use_sash"
6612 if test "$no_cache" != 1; then
6613 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6616 if test "$wxUSE_SASH" = yes; then
6617 echo "$ac_t""yes" 1>&6
6619 echo "$ac_t""no" 1>&6
6624 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6625 echo "configure:6626: checking for --${enablestring:-enable}-scrollbar" >&5
6627 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6628 if test "${enable_scrollbar+set}" = set; then
6629 enableval
="$enable_scrollbar"
6631 if test "$enableval" = yes; then
6632 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6634 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6639 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x
; then
6641 eval "DEFAULT_$LINE"
6646 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6651 eval "$ac_cv_use_scrollbar"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6656 if test "$wxUSE_SCROLLBAR" = yes; then
6657 echo "$ac_t""yes" 1>&6
6659 echo "$ac_t""no" 1>&6
6664 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6665 echo "configure:6666: checking for --${enablestring:-enable}-slider" >&5
6667 # Check whether --enable-slider or --disable-slider was given.
6668 if test "${enable_slider+set}" = set; then
6669 enableval
="$enable_slider"
6671 if test "$enableval" = yes; then
6672 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6674 ac_cv_use_slider
='wxUSE_SLIDER=no'
6679 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x
; then
6681 eval "DEFAULT_$LINE"
6686 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6691 eval "$ac_cv_use_slider"
6692 if test "$no_cache" != 1; then
6693 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6696 if test "$wxUSE_SLIDER" = yes; then
6697 echo "$ac_t""yes" 1>&6
6699 echo "$ac_t""no" 1>&6
6704 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6705 echo "configure:6706: checking for --${enablestring:-enable}-spinbtn" >&5
6707 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6708 if test "${enable_spinbtn+set}" = set; then
6709 enableval
="$enable_spinbtn"
6711 if test "$enableval" = yes; then
6712 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6714 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6719 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6720 if test "x$LINE" != x
; then
6721 eval "DEFAULT_$LINE"
6726 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6731 eval "$ac_cv_use_spinbtn"
6732 if test "$no_cache" != 1; then
6733 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6736 if test "$wxUSE_SPINBTN" = yes; then
6737 echo "$ac_t""yes" 1>&6
6739 echo "$ac_t""no" 1>&6
6744 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6745 echo "configure:6746: checking for --${enablestring:-enable}-spinctrl" >&5
6747 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6748 if test "${enable_spinctrl+set}" = set; then
6749 enableval
="$enable_spinctrl"
6751 if test "$enableval" = yes; then
6752 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6754 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6759 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6760 if test "x$LINE" != x
; then
6761 eval "DEFAULT_$LINE"
6766 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6771 eval "$ac_cv_use_spinctrl"
6772 if test "$no_cache" != 1; then
6773 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6776 if test "$wxUSE_SPINCTRL" = yes; then
6777 echo "$ac_t""yes" 1>&6
6779 echo "$ac_t""no" 1>&6
6784 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6785 echo "configure:6786: checking for --${enablestring:-enable}-splitter" >&5
6787 # Check whether --enable-splitter or --disable-splitter was given.
6788 if test "${enable_splitter+set}" = set; then
6789 enableval
="$enable_splitter"
6791 if test "$enableval" = yes; then
6792 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6794 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6799 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6800 if test "x$LINE" != x
; then
6801 eval "DEFAULT_$LINE"
6806 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6811 eval "$ac_cv_use_splitter"
6812 if test "$no_cache" != 1; then
6813 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6816 if test "$wxUSE_SPLITTER" = yes; then
6817 echo "$ac_t""yes" 1>&6
6819 echo "$ac_t""no" 1>&6
6824 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6825 echo "configure:6826: checking for --${enablestring:-enable}-statbmp" >&5
6827 # Check whether --enable-statbmp or --disable-statbmp was given.
6828 if test "${enable_statbmp+set}" = set; then
6829 enableval
="$enable_statbmp"
6831 if test "$enableval" = yes; then
6832 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6834 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6839 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6840 if test "x$LINE" != x
; then
6841 eval "DEFAULT_$LINE"
6846 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6851 eval "$ac_cv_use_statbmp"
6852 if test "$no_cache" != 1; then
6853 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6856 if test "$wxUSE_STATBMP" = yes; then
6857 echo "$ac_t""yes" 1>&6
6859 echo "$ac_t""no" 1>&6
6864 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6865 echo "configure:6866: checking for --${enablestring:-enable}-statbox" >&5
6867 # Check whether --enable-statbox or --disable-statbox was given.
6868 if test "${enable_statbox+set}" = set; then
6869 enableval
="$enable_statbox"
6871 if test "$enableval" = yes; then
6872 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6874 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6879 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6880 if test "x$LINE" != x
; then
6881 eval "DEFAULT_$LINE"
6886 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6891 eval "$ac_cv_use_statbox"
6892 if test "$no_cache" != 1; then
6893 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6896 if test "$wxUSE_STATBOX" = yes; then
6897 echo "$ac_t""yes" 1>&6
6899 echo "$ac_t""no" 1>&6
6904 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
6905 echo "configure:6906: checking for --${enablestring:-enable}-statline" >&5
6907 # Check whether --enable-statline or --disable-statline was given.
6908 if test "${enable_statline+set}" = set; then
6909 enableval
="$enable_statline"
6911 if test "$enableval" = yes; then
6912 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6914 ac_cv_use_statline
='wxUSE_STATLINE=no'
6919 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6920 if test "x$LINE" != x
; then
6921 eval "DEFAULT_$LINE"
6926 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6931 eval "$ac_cv_use_statline"
6932 if test "$no_cache" != 1; then
6933 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6936 if test "$wxUSE_STATLINE" = yes; then
6937 echo "$ac_t""yes" 1>&6
6939 echo "$ac_t""no" 1>&6
6944 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
6945 echo "configure:6946: checking for --${enablestring:-enable}-stattext" >&5
6947 # Check whether --enable-stattext or --disable-stattext was given.
6948 if test "${enable_stattext+set}" = set; then
6949 enableval
="$enable_stattext"
6951 if test "$enableval" = yes; then
6952 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6954 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6959 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6960 if test "x$LINE" != x
; then
6961 eval "DEFAULT_$LINE"
6966 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6971 eval "$ac_cv_use_stattext"
6972 if test "$no_cache" != 1; then
6973 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6976 if test "$wxUSE_STATTEXT" = yes; then
6977 echo "$ac_t""yes" 1>&6
6979 echo "$ac_t""no" 1>&6
6984 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
6985 echo "configure:6986: checking for --${enablestring:-enable}-statusbar" >&5
6987 # Check whether --enable-statusbar or --disable-statusbar was given.
6988 if test "${enable_statusbar+set}" = set; then
6989 enableval
="$enable_statusbar"
6991 if test "$enableval" = yes; then
6992 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6994 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6999 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7000 if test "x$LINE" != x
; then
7001 eval "DEFAULT_$LINE"
7006 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7011 eval "$ac_cv_use_statusbar"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7016 if test "$wxUSE_STATUSBAR" = yes; then
7017 echo "$ac_t""yes" 1>&6
7019 echo "$ac_t""no" 1>&6
7024 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7025 echo "configure:7026: checking for --${enablestring:-enable}-tabdialog" >&5
7027 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7028 if test "${enable_tabdialog+set}" = set; then
7029 enableval
="$enable_tabdialog"
7031 if test "$enableval" = yes; then
7032 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7034 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7039 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7040 if test "x$LINE" != x
; then
7041 eval "DEFAULT_$LINE"
7046 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7051 eval "$ac_cv_use_tabdialog"
7052 if test "$no_cache" != 1; then
7053 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7056 if test "$wxUSE_TABDIALOG" = yes; then
7057 echo "$ac_t""yes" 1>&6
7059 echo "$ac_t""no" 1>&6
7064 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7065 echo "configure:7066: checking for --${enablestring:-enable}-textctrl" >&5
7067 # Check whether --enable-textctrl or --disable-textctrl was given.
7068 if test "${enable_textctrl+set}" = set; then
7069 enableval
="$enable_textctrl"
7071 if test "$enableval" = yes; then
7072 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7074 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7079 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x
; then
7081 eval "DEFAULT_$LINE"
7086 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7091 eval "$ac_cv_use_textctrl"
7092 if test "$no_cache" != 1; then
7093 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7096 if test "$wxUSE_TEXTCTRL" = yes; then
7097 echo "$ac_t""yes" 1>&6
7099 echo "$ac_t""no" 1>&6
7104 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7105 echo "configure:7106: checking for --${enablestring:-enable}-togglebtn" >&5
7107 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7108 if test "${enable_togglebtn+set}" = set; then
7109 enableval
="$enable_togglebtn"
7111 if test "$enableval" = yes; then
7112 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7114 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7119 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7120 if test "x$LINE" != x
; then
7121 eval "DEFAULT_$LINE"
7126 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7131 eval "$ac_cv_use_togglebtn"
7132 if test "$no_cache" != 1; then
7133 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7136 if test "$wxUSE_TOGGLEBTN" = yes; then
7137 echo "$ac_t""yes" 1>&6
7139 echo "$ac_t""no" 1>&6
7144 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7145 echo "configure:7146: checking for --${enablestring:-enable}-toolbar" >&5
7147 # Check whether --enable-toolbar or --disable-toolbar was given.
7148 if test "${enable_toolbar+set}" = set; then
7149 enableval
="$enable_toolbar"
7151 if test "$enableval" = yes; then
7152 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7154 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7159 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x
; then
7161 eval "DEFAULT_$LINE"
7166 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7171 eval "$ac_cv_use_toolbar"
7172 if test "$no_cache" != 1; then
7173 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7176 if test "$wxUSE_TOOLBAR" = yes; then
7177 echo "$ac_t""yes" 1>&6
7179 echo "$ac_t""no" 1>&6
7184 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7185 echo "configure:7186: checking for --${enablestring:-enable}-tbarnative" >&5
7187 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7188 if test "${enable_tbarnative+set}" = set; then
7189 enableval
="$enable_tbarnative"
7191 if test "$enableval" = yes; then
7192 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7194 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7199 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x
; then
7201 eval "DEFAULT_$LINE"
7206 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7211 eval "$ac_cv_use_tbarnative"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7216 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7217 echo "$ac_t""yes" 1>&6
7219 echo "$ac_t""no" 1>&6
7224 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7225 echo "configure:7226: checking for --${enablestring:-enable}-tbarsmpl" >&5
7227 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7228 if test "${enable_tbarsmpl+set}" = set; then
7229 enableval
="$enable_tbarsmpl"
7231 if test "$enableval" = yes; then
7232 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7234 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7239 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7240 if test "x$LINE" != x
; then
7241 eval "DEFAULT_$LINE"
7246 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7251 eval "$ac_cv_use_tbarsmpl"
7252 if test "$no_cache" != 1; then
7253 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7256 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7257 echo "$ac_t""yes" 1>&6
7259 echo "$ac_t""no" 1>&6
7264 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7265 echo "configure:7266: checking for --${enablestring:-enable}-treectrl" >&5
7267 # Check whether --enable-treectrl or --disable-treectrl was given.
7268 if test "${enable_treectrl+set}" = set; then
7269 enableval
="$enable_treectrl"
7271 if test "$enableval" = yes; then
7272 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7274 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7279 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7280 if test "x$LINE" != x
; then
7281 eval "DEFAULT_$LINE"
7286 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7291 eval "$ac_cv_use_treectrl"
7292 if test "$no_cache" != 1; then
7293 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7296 if test "$wxUSE_TREECTRL" = yes; then
7297 echo "$ac_t""yes" 1>&6
7299 echo "$ac_t""no" 1>&6
7304 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7305 echo "configure:7306: checking for --${enablestring:-enable}-tipwindow" >&5
7307 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7308 if test "${enable_tipwindow+set}" = set; then
7309 enableval
="$enable_tipwindow"
7311 if test "$enableval" = yes; then
7312 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7314 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7319 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7320 if test "x$LINE" != x
; then
7321 eval "DEFAULT_$LINE"
7326 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7331 eval "$ac_cv_use_tipwindow"
7332 if test "$no_cache" != 1; then
7333 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7336 if test "$wxUSE_TIPWINDOW" = yes; then
7337 echo "$ac_t""yes" 1>&6
7339 echo "$ac_t""no" 1>&6
7344 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7345 echo "configure:7346: checking for --${enablestring:-enable}-popupwin" >&5
7347 # Check whether --enable-popupwin or --disable-popupwin was given.
7348 if test "${enable_popupwin+set}" = set; then
7349 enableval
="$enable_popupwin"
7351 if test "$enableval" = yes; then
7352 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7354 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7359 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7360 if test "x$LINE" != x
; then
7361 eval "DEFAULT_$LINE"
7366 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7371 eval "$ac_cv_use_popupwin"
7372 if test "$no_cache" != 1; then
7373 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7376 if test "$wxUSE_POPUPWIN" = yes; then
7377 echo "$ac_t""yes" 1>&6
7379 echo "$ac_t""no" 1>&6
7386 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7387 echo "configure:7388: checking for --${enablestring:-enable}-commondlg" >&5
7389 # Check whether --enable-commondlg or --disable-commondlg was given.
7390 if test "${enable_commondlg+set}" = set; then
7391 enableval
="$enable_commondlg"
7393 if test "$enableval" = yes; then
7394 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7396 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7401 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7402 if test "x$LINE" != x
; then
7403 eval "DEFAULT_$LINE"
7408 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7413 eval "$ac_cv_use_commondlg"
7414 if test "$no_cache" != 1; then
7415 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7418 if test "$wxUSE_COMMONDLGS" = yes; then
7419 echo "$ac_t""yes" 1>&6
7421 echo "$ac_t""no" 1>&6
7426 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7427 echo "configure:7428: checking for --${enablestring:-enable}-choicedlg" >&5
7429 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7430 if test "${enable_choicedlg+set}" = set; then
7431 enableval
="$enable_choicedlg"
7433 if test "$enableval" = yes; then
7434 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7436 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7441 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7442 if test "x$LINE" != x
; then
7443 eval "DEFAULT_$LINE"
7448 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7453 eval "$ac_cv_use_choicedlg"
7454 if test "$no_cache" != 1; then
7455 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7458 if test "$wxUSE_CHOICEDLG" = yes; then
7459 echo "$ac_t""yes" 1>&6
7461 echo "$ac_t""no" 1>&6
7466 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7467 echo "configure:7468: checking for --${enablestring:-enable}-coldlg" >&5
7469 # Check whether --enable-coldlg or --disable-coldlg was given.
7470 if test "${enable_coldlg+set}" = set; then
7471 enableval
="$enable_coldlg"
7473 if test "$enableval" = yes; then
7474 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7476 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7481 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x
; then
7483 eval "DEFAULT_$LINE"
7488 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7493 eval "$ac_cv_use_coldlg"
7494 if test "$no_cache" != 1; then
7495 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7498 if test "$wxUSE_COLOURDLG" = yes; then
7499 echo "$ac_t""yes" 1>&6
7501 echo "$ac_t""no" 1>&6
7506 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7507 echo "configure:7508: checking for --${enablestring:-enable}-filedlg" >&5
7509 # Check whether --enable-filedlg or --disable-filedlg was given.
7510 if test "${enable_filedlg+set}" = set; then
7511 enableval
="$enable_filedlg"
7513 if test "$enableval" = yes; then
7514 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7516 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7521 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7522 if test "x$LINE" != x
; then
7523 eval "DEFAULT_$LINE"
7528 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7533 eval "$ac_cv_use_filedlg"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7538 if test "$wxUSE_FILEDLG" = yes; then
7539 echo "$ac_t""yes" 1>&6
7541 echo "$ac_t""no" 1>&6
7546 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7547 echo "configure:7548: checking for --${enablestring:-enable}-finddlg" >&5
7549 # Check whether --enable-finddlg or --disable-finddlg was given.
7550 if test "${enable_finddlg+set}" = set; then
7551 enableval
="$enable_finddlg"
7553 if test "$enableval" = yes; then
7554 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7556 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7561 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x
; then
7563 eval "DEFAULT_$LINE"
7568 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7573 eval "$ac_cv_use_finddlg"
7574 if test "$no_cache" != 1; then
7575 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7578 if test "$wxUSE_FINDREPLDLG" = yes; then
7579 echo "$ac_t""yes" 1>&6
7581 echo "$ac_t""no" 1>&6
7586 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7587 echo "configure:7588: checking for --${enablestring:-enable}-fontdlg" >&5
7589 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7590 if test "${enable_fontdlg+set}" = set; then
7591 enableval
="$enable_fontdlg"
7593 if test "$enableval" = yes; then
7594 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7596 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7601 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x
; then
7603 eval "DEFAULT_$LINE"
7608 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7613 eval "$ac_cv_use_fontdlg"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7618 if test "$wxUSE_FONTDLG" = yes; then
7619 echo "$ac_t""yes" 1>&6
7621 echo "$ac_t""no" 1>&6
7626 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7627 echo "configure:7628: checking for --${enablestring:-enable}-dirdlg" >&5
7629 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7630 if test "${enable_dirdlg+set}" = set; then
7631 enableval
="$enable_dirdlg"
7633 if test "$enableval" = yes; then
7634 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7636 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7641 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7642 if test "x$LINE" != x
; then
7643 eval "DEFAULT_$LINE"
7648 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7653 eval "$ac_cv_use_dirdlg"
7654 if test "$no_cache" != 1; then
7655 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7658 if test "$wxUSE_DIRDLG" = yes; then
7659 echo "$ac_t""yes" 1>&6
7661 echo "$ac_t""no" 1>&6
7666 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7667 echo "configure:7668: checking for --${enablestring:-enable}-msgdlg" >&5
7669 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7670 if test "${enable_msgdlg+set}" = set; then
7671 enableval
="$enable_msgdlg"
7673 if test "$enableval" = yes; then
7674 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7676 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7681 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x
; then
7683 eval "DEFAULT_$LINE"
7688 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7693 eval "$ac_cv_use_msgdlg"
7694 if test "$no_cache" != 1; then
7695 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7698 if test "$wxUSE_MSGDLG" = yes; then
7699 echo "$ac_t""yes" 1>&6
7701 echo "$ac_t""no" 1>&6
7706 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7707 echo "configure:7708: checking for --${enablestring:-enable}-numberdlg" >&5
7709 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7710 if test "${enable_numberdlg+set}" = set; then
7711 enableval
="$enable_numberdlg"
7713 if test "$enableval" = yes; then
7714 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7716 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7721 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x
; then
7723 eval "DEFAULT_$LINE"
7728 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7733 eval "$ac_cv_use_numberdlg"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7738 if test "$wxUSE_NUMBERDLG" = yes; then
7739 echo "$ac_t""yes" 1>&6
7741 echo "$ac_t""no" 1>&6
7746 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7747 echo "configure:7748: checking for --${enablestring:-enable}-splash" >&5
7749 # Check whether --enable-splash or --disable-splash was given.
7750 if test "${enable_splash+set}" = set; then
7751 enableval
="$enable_splash"
7753 if test "$enableval" = yes; then
7754 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7756 ac_cv_use_splash
='wxUSE_SPLASH=no'
7761 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7762 if test "x$LINE" != x
; then
7763 eval "DEFAULT_$LINE"
7768 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7773 eval "$ac_cv_use_splash"
7774 if test "$no_cache" != 1; then
7775 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7778 if test "$wxUSE_SPLASH" = yes; then
7779 echo "$ac_t""yes" 1>&6
7781 echo "$ac_t""no" 1>&6
7786 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7787 echo "configure:7788: checking for --${enablestring:-enable}-textdlg" >&5
7789 # Check whether --enable-textdlg or --disable-textdlg was given.
7790 if test "${enable_textdlg+set}" = set; then
7791 enableval
="$enable_textdlg"
7793 if test "$enableval" = yes; then
7794 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7796 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7801 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x
; then
7803 eval "DEFAULT_$LINE"
7808 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7813 eval "$ac_cv_use_textdlg"
7814 if test "$no_cache" != 1; then
7815 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7818 if test "$wxUSE_TEXTDLG" = yes; then
7819 echo "$ac_t""yes" 1>&6
7821 echo "$ac_t""no" 1>&6
7826 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7827 echo "configure:7828: checking for --${enablestring:-enable}-tipdlg" >&5
7829 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7830 if test "${enable_tipdlg+set}" = set; then
7831 enableval
="$enable_tipdlg"
7833 if test "$enableval" = yes; then
7834 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7836 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7841 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x
; then
7843 eval "DEFAULT_$LINE"
7848 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7853 eval "$ac_cv_use_tipdlg"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7858 if test "$wxUSE_STARTUP_TIPS" = yes; then
7859 echo "$ac_t""yes" 1>&6
7861 echo "$ac_t""no" 1>&6
7866 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7867 echo "configure:7868: checking for --${enablestring:-enable}-progressdlg" >&5
7869 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7870 if test "${enable_progressdlg+set}" = set; then
7871 enableval
="$enable_progressdlg"
7873 if test "$enableval" = yes; then
7874 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7876 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7881 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7882 if test "x$LINE" != x
; then
7883 eval "DEFAULT_$LINE"
7888 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7893 eval "$ac_cv_use_progressdlg"
7894 if test "$no_cache" != 1; then
7895 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7898 if test "$wxUSE_PROGRESSDLG" = yes; then
7899 echo "$ac_t""yes" 1>&6
7901 echo "$ac_t""no" 1>&6
7906 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
7907 echo "configure:7908: checking for --${enablestring:-enable}-wizarddlg" >&5
7909 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7910 if test "${enable_wizarddlg+set}" = set; then
7911 enableval
="$enable_wizarddlg"
7913 if test "$enableval" = yes; then
7914 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7916 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7921 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x
; then
7923 eval "DEFAULT_$LINE"
7928 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7933 eval "$ac_cv_use_wizarddlg"
7934 if test "$no_cache" != 1; then
7935 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7938 if test "$wxUSE_WIZARDDLG" = yes; then
7939 echo "$ac_t""yes" 1>&6
7941 echo "$ac_t""no" 1>&6
7948 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
7949 echo "configure:7950: checking for --${enablestring:-enable}-menus" >&5
7951 # Check whether --enable-menus or --disable-menus was given.
7952 if test "${enable_menus+set}" = set; then
7953 enableval
="$enable_menus"
7955 if test "$enableval" = yes; then
7956 ac_cv_use_menus
='wxUSE_MENUS=yes'
7958 ac_cv_use_menus
='wxUSE_MENUS=no'
7963 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7964 if test "x$LINE" != x
; then
7965 eval "DEFAULT_$LINE"
7970 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7975 eval "$ac_cv_use_menus"
7976 if test "$no_cache" != 1; then
7977 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7980 if test "$wxUSE_MENUS" = yes; then
7981 echo "$ac_t""yes" 1>&6
7983 echo "$ac_t""no" 1>&6
7988 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
7989 echo "configure:7990: checking for --${enablestring:-enable}-miniframe" >&5
7991 # Check whether --enable-miniframe or --disable-miniframe was given.
7992 if test "${enable_miniframe+set}" = set; then
7993 enableval
="$enable_miniframe"
7995 if test "$enableval" = yes; then
7996 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7998 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8003 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8004 if test "x$LINE" != x
; then
8005 eval "DEFAULT_$LINE"
8010 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8015 eval "$ac_cv_use_miniframe"
8016 if test "$no_cache" != 1; then
8017 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8020 if test "$wxUSE_MINIFRAME" = yes; then
8021 echo "$ac_t""yes" 1>&6
8023 echo "$ac_t""no" 1>&6
8028 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8029 echo "configure:8030: checking for --${enablestring:-enable}-tooltips" >&5
8031 # Check whether --enable-tooltips or --disable-tooltips was given.
8032 if test "${enable_tooltips+set}" = set; then
8033 enableval
="$enable_tooltips"
8035 if test "$enableval" = yes; then
8036 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8038 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8043 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x
; then
8045 eval "DEFAULT_$LINE"
8050 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8055 eval "$ac_cv_use_tooltips"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8060 if test "$wxUSE_TOOLTIPS" = yes; then
8061 echo "$ac_t""yes" 1>&6
8063 echo "$ac_t""no" 1>&6
8068 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8069 echo "configure:8070: checking for --${enablestring:-enable}-splines" >&5
8071 # Check whether --enable-splines or --disable-splines was given.
8072 if test "${enable_splines+set}" = set; then
8073 enableval
="$enable_splines"
8075 if test "$enableval" = yes; then
8076 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8078 ac_cv_use_splines
='wxUSE_SPLINES=no'
8083 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8084 if test "x$LINE" != x
; then
8085 eval "DEFAULT_$LINE"
8090 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8095 eval "$ac_cv_use_splines"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8100 if test "$wxUSE_SPLINES" = yes; then
8101 echo "$ac_t""yes" 1>&6
8103 echo "$ac_t""no" 1>&6
8108 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8109 echo "configure:8110: checking for --${enablestring:-enable}-validators" >&5
8111 # Check whether --enable-validators or --disable-validators was given.
8112 if test "${enable_validators+set}" = set; then
8113 enableval
="$enable_validators"
8115 if test "$enableval" = yes; then
8116 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8118 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8123 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8124 if test "x$LINE" != x
; then
8125 eval "DEFAULT_$LINE"
8130 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8135 eval "$ac_cv_use_validators"
8136 if test "$no_cache" != 1; then
8137 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8140 if test "$wxUSE_VALIDATORS" = yes; then
8141 echo "$ac_t""yes" 1>&6
8143 echo "$ac_t""no" 1>&6
8148 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8149 echo "configure:8150: checking for --${enablestring:-enable}-busyinfo" >&5
8151 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8152 if test "${enable_busyinfo+set}" = set; then
8153 enableval
="$enable_busyinfo"
8155 if test "$enableval" = yes; then
8156 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8158 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8163 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8164 if test "x$LINE" != x
; then
8165 eval "DEFAULT_$LINE"
8170 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8175 eval "$ac_cv_use_busyinfo"
8176 if test "$no_cache" != 1; then
8177 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8180 if test "$wxUSE_BUSYINFO" = yes; then
8181 echo "$ac_t""yes" 1>&6
8183 echo "$ac_t""no" 1>&6
8188 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8189 echo "configure:8190: checking for --${enablestring:-enable}-joystick" >&5
8191 # Check whether --enable-joystick or --disable-joystick was given.
8192 if test "${enable_joystick+set}" = set; then
8193 enableval
="$enable_joystick"
8195 if test "$enableval" = yes; then
8196 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8198 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8203 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8204 if test "x$LINE" != x
; then
8205 eval "DEFAULT_$LINE"
8210 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8215 eval "$ac_cv_use_joystick"
8216 if test "$no_cache" != 1; then
8217 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8220 if test "$wxUSE_JOYSTICK" = yes; then
8221 echo "$ac_t""yes" 1>&6
8223 echo "$ac_t""no" 1>&6
8228 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8229 echo "configure:8230: checking for --${enablestring:-enable}-metafile" >&5
8231 # Check whether --enable-metafile or --disable-metafile was given.
8232 if test "${enable_metafile+set}" = set; then
8233 enableval
="$enable_metafile"
8235 if test "$enableval" = yes; then
8236 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8238 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8243 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8244 if test "x$LINE" != x
; then
8245 eval "DEFAULT_$LINE"
8250 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8255 eval "$ac_cv_use_metafile"
8256 if test "$no_cache" != 1; then
8257 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8260 if test "$wxUSE_METAFILE" = yes; then
8261 echo "$ac_t""yes" 1>&6
8263 echo "$ac_t""no" 1>&6
8268 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8269 echo "configure:8270: checking for --${enablestring:-enable}-dragimage" >&5
8271 # Check whether --enable-dragimage or --disable-dragimage was given.
8272 if test "${enable_dragimage+set}" = set; then
8273 enableval
="$enable_dragimage"
8275 if test "$enableval" = yes; then
8276 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8278 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8283 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8284 if test "x$LINE" != x
; then
8285 eval "DEFAULT_$LINE"
8290 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8295 eval "$ac_cv_use_dragimage"
8296 if test "$no_cache" != 1; then
8297 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8300 if test "$wxUSE_DRAGIMAGE" = yes; then
8301 echo "$ac_t""yes" 1>&6
8303 echo "$ac_t""no" 1>&6
8308 echo $ac_n "checking for --${enablestring:-enable}-accessibility""... $ac_c" 1>&6
8309 echo "configure:8310: checking for --${enablestring:-enable}-accessibility" >&5
8311 # Check whether --enable-accessibility or --disable-accessibility was given.
8312 if test "${enable_accessibility+set}" = set; then
8313 enableval
="$enable_accessibility"
8315 if test "$enableval" = yes; then
8316 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
8318 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
8323 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
8324 if test "x$LINE" != x
; then
8325 eval "DEFAULT_$LINE"
8330 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
8335 eval "$ac_cv_use_accessibility"
8336 if test "$no_cache" != 1; then
8337 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
8340 if test "$wxUSE_ACCESSIBILITY" = yes; then
8341 echo "$ac_t""yes" 1>&6
8343 echo "$ac_t""no" 1>&6
8350 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8351 echo "configure:8352: checking for --${enablestring:-enable}-palette" >&5
8353 # Check whether --enable-palette or --disable-palette was given.
8354 if test "${enable_palette+set}" = set; then
8355 enableval
="$enable_palette"
8357 if test "$enableval" = yes; then
8358 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8360 ac_cv_use_palette
='wxUSE_PALETTE=no'
8365 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8366 if test "x$LINE" != x
; then
8367 eval "DEFAULT_$LINE"
8372 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8377 eval "$ac_cv_use_palette"
8378 if test "$no_cache" != 1; then
8379 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8382 if test "$wxUSE_PALETTE" = yes; then
8383 echo "$ac_t""yes" 1>&6
8385 echo "$ac_t""no" 1>&6
8390 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8391 echo "configure:8392: checking for --${enablestring:-enable}-image" >&5
8393 # Check whether --enable-image or --disable-image was given.
8394 if test "${enable_image+set}" = set; then
8395 enableval
="$enable_image"
8397 if test "$enableval" = yes; then
8398 ac_cv_use_image
='wxUSE_IMAGE=yes'
8400 ac_cv_use_image
='wxUSE_IMAGE=no'
8405 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8406 if test "x$LINE" != x
; then
8407 eval "DEFAULT_$LINE"
8412 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8417 eval "$ac_cv_use_image"
8418 if test "$no_cache" != 1; then
8419 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8422 if test "$wxUSE_IMAGE" = yes; then
8423 echo "$ac_t""yes" 1>&6
8425 echo "$ac_t""no" 1>&6
8430 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8431 echo "configure:8432: checking for --${enablestring:-enable}-gif" >&5
8433 # Check whether --enable-gif or --disable-gif was given.
8434 if test "${enable_gif+set}" = set; then
8435 enableval
="$enable_gif"
8437 if test "$enableval" = yes; then
8438 ac_cv_use_gif
='wxUSE_GIF=yes'
8440 ac_cv_use_gif
='wxUSE_GIF=no'
8445 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8446 if test "x$LINE" != x
; then
8447 eval "DEFAULT_$LINE"
8452 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8457 eval "$ac_cv_use_gif"
8458 if test "$no_cache" != 1; then
8459 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8462 if test "$wxUSE_GIF" = yes; then
8463 echo "$ac_t""yes" 1>&6
8465 echo "$ac_t""no" 1>&6
8470 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8471 echo "configure:8472: checking for --${enablestring:-enable}-pcx" >&5
8473 # Check whether --enable-pcx or --disable-pcx was given.
8474 if test "${enable_pcx+set}" = set; then
8475 enableval
="$enable_pcx"
8477 if test "$enableval" = yes; then
8478 ac_cv_use_pcx
='wxUSE_PCX=yes'
8480 ac_cv_use_pcx
='wxUSE_PCX=no'
8485 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8486 if test "x$LINE" != x
; then
8487 eval "DEFAULT_$LINE"
8492 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8497 eval "$ac_cv_use_pcx"
8498 if test "$no_cache" != 1; then
8499 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8502 if test "$wxUSE_PCX" = yes; then
8503 echo "$ac_t""yes" 1>&6
8505 echo "$ac_t""no" 1>&6
8510 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8511 echo "configure:8512: checking for --${enablestring:-enable}-iff" >&5
8513 # Check whether --enable-iff or --disable-iff was given.
8514 if test "${enable_iff+set}" = set; then
8515 enableval
="$enable_iff"
8517 if test "$enableval" = yes; then
8518 ac_cv_use_iff
='wxUSE_IFF=yes'
8520 ac_cv_use_iff
='wxUSE_IFF=no'
8525 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8526 if test "x$LINE" != x
; then
8527 eval "DEFAULT_$LINE"
8532 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8537 eval "$ac_cv_use_iff"
8538 if test "$no_cache" != 1; then
8539 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8542 if test "$wxUSE_IFF" = yes; then
8543 echo "$ac_t""yes" 1>&6
8545 echo "$ac_t""no" 1>&6
8550 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8551 echo "configure:8552: checking for --${enablestring:-enable}-pnm" >&5
8553 # Check whether --enable-pnm or --disable-pnm was given.
8554 if test "${enable_pnm+set}" = set; then
8555 enableval
="$enable_pnm"
8557 if test "$enableval" = yes; then
8558 ac_cv_use_pnm
='wxUSE_PNM=yes'
8560 ac_cv_use_pnm
='wxUSE_PNM=no'
8565 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8566 if test "x$LINE" != x
; then
8567 eval "DEFAULT_$LINE"
8572 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8577 eval "$ac_cv_use_pnm"
8578 if test "$no_cache" != 1; then
8579 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8582 if test "$wxUSE_PNM" = yes; then
8583 echo "$ac_t""yes" 1>&6
8585 echo "$ac_t""no" 1>&6
8590 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8591 echo "configure:8592: checking for --${enablestring:-enable}-xpm" >&5
8593 # Check whether --enable-xpm or --disable-xpm was given.
8594 if test "${enable_xpm+set}" = set; then
8595 enableval
="$enable_xpm"
8597 if test "$enableval" = yes; then
8598 ac_cv_use_xpm
='wxUSE_XPM=yes'
8600 ac_cv_use_xpm
='wxUSE_XPM=no'
8605 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8606 if test "x$LINE" != x
; then
8607 eval "DEFAULT_$LINE"
8612 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8617 eval "$ac_cv_use_xpm"
8618 if test "$no_cache" != 1; then
8619 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8622 if test "$wxUSE_XPM" = yes; then
8623 echo "$ac_t""yes" 1>&6
8625 echo "$ac_t""no" 1>&6
8630 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8631 echo "configure:8632: checking for --${enablestring:-enable}-ico_cur" >&5
8633 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8634 if test "${enable_ico_cur+set}" = set; then
8635 enableval
="$enable_ico_cur"
8637 if test "$enableval" = yes; then
8638 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8640 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8645 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8646 if test "x$LINE" != x
; then
8647 eval "DEFAULT_$LINE"
8652 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8657 eval "$ac_cv_use_ico_cur"
8658 if test "$no_cache" != 1; then
8659 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8662 if test "$wxUSE_ICO_CUR" = yes; then
8663 echo "$ac_t""yes" 1>&6
8665 echo "$ac_t""no" 1>&6
8672 *-pc-os2_emx | *-pc-os2-emx )
8684 echo "saving argument cache $wx_arg_cache_file"
8685 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8689 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8690 echo "configure:8691: checking for toolkit" >&5
8692 # In Wine, we need to default to MSW, not GTK or MOTIF
8693 if test "$wxUSE_WINE" = "yes"; then
8694 DEFAULT_DEFAULT_wxUSE_GTK
=0
8695 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8696 DEFAULT_DEFAULT_wxUSE_MSW
=1
8699 if test "$wxUSE_GUI" = "yes"; then
8701 if test "$USE_BEOS" = 1; then
8702 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8705 if test "$TOOLKIT_GIVEN" = 1; then
8706 for toolkit
in `echo $ALL_TOOLKITS`; do
8708 eval "value=\$${var}"
8709 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8712 for toolkit
in `echo $ALL_TOOLKITS`; do
8713 if test "$has_toolkit_in_cache" != 1; then
8714 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8716 var
=DEFAULT_wxUSE_
$toolkit
8718 eval "wxUSE_$toolkit=\$${var}"
8722 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
8723 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
8724 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
8727 *-pc-os2_emx | *-pc-os2-emx )
8728 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8731 case "$NUM_TOOLKITS" in
8735 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8738 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8741 for toolkit
in `echo $ALL_TOOLKITS`; do
8743 eval "value=\$${var}"
8744 if test "x$value" != x
; then
8745 cache_var
=CACHE_
$toolkit
8746 eval "cache=\$${cache_var}"
8747 if test "$cache" = 1; then
8748 echo "$var=$value" >> ${wx_arg_cache_file}
8750 if test "$value" = 1; then
8751 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8752 echo "$ac_t""$toolkit_echo" 1>&6
8757 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8764 if test "$wxUSE_MSW" = 1 ; then
8775 if test "$wxUSE_WINE" = "yes"; then
8782 if test "$wants_win32" = 1 ; then
8785 cat >> confdefs.h
<<\EOF
8789 cat >> confdefs.h
<<\EOF
8793 cat >> confdefs.h
<<\EOF
8794 #define __WINDOWS__ 1
8797 cat >> confdefs.h
<<\EOF
8798 #define __GNUWIN32__ 1
8801 cat >> confdefs.h
<<\EOF
8805 cat >> confdefs.h
<<\EOF
8806 #define WINVER 0x0400
8810 if test "$doesnt_want_win32" = 1 ; then
8815 if test "$USE_UNIX" = 1 ; then
8817 cat >> confdefs.h
<<\EOF
8824 cat > confcache
<<\EOF
8825 # This file is a shell script that caches the results of configure
8826 # tests run on this system so they can be shared between configure
8827 # scripts and configure runs. It is not useful on other systems.
8828 # If it contains results you don't want to keep, you may remove or edit it.
8830 # By default, configure uses ./config.cache as the cache file,
8831 # creating it if it does not exist already. You can give configure
8832 # the --cache-file=FILE option to use a different cache file; that is
8833 # what configure does when it calls configure scripts in
8834 # subdirectories, so they share the cache.
8835 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8836 # config.status only pays attention to the cache file if you give it the
8837 # --recheck option to rerun configure.
8840 # The following way of writing the cache mishandles newlines in values,
8841 # but we know of no workaround that is simple, portable, and efficient.
8842 # So, don't put newlines in cache variables' values.
8843 # Ultrix sh set writes to stderr and can't be redirected directly,
8844 # and sets the high bit in the cache file unless we assign to the vars.
8846 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8848 # `set' does not quote correctly, so add quotes (double-quote substitution
8849 # turns \\\\ into \\, and sed turns \\ into \).
8851 -e "s/'/'\\\\''/g" \
8852 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8855 # `set' quotes correctly as required by POSIX, so do not add quotes.
8856 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8859 if cmp -s $cache_file confcache
; then
8862 if test -w $cache_file; then
8863 echo "updating cache $cache_file"
8864 cat confcache
> $cache_file
8866 echo "not updating unwritable cache $cache_file"
8872 if test "$build" != "$host" ; then
8873 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8877 RANLIB
=$host_alias-ranlib
8878 DLLTOOL
=$host_alias-dlltool
8879 RESCOMP
=$host_alias-windres
8882 STRIP
=$host_alias-strip
8884 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8889 # Extract the first word of "gcc", so it can be a program name with args.
8890 set dummy gcc
; ac_word
=$2
8891 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8892 echo "configure:8893: checking for $ac_word" >&5
8893 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8894 echo $ac_n "(cached) $ac_c" 1>&6
8896 if test -n "$CC"; then
8897 ac_cv_prog_CC
="$CC" # Let the user override the test.
8899 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8901 for ac_dir
in $ac_dummy; do
8902 test -z "$ac_dir" && ac_dir
=.
8903 if test -f $ac_dir/$ac_word; then
8912 if test -n "$CC"; then
8913 echo "$ac_t""$CC" 1>&6
8915 echo "$ac_t""no" 1>&6
8918 if test -z "$CC"; then
8919 # Extract the first word of "cc", so it can be a program name with args.
8920 set dummy cc
; ac_word
=$2
8921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8922 echo "configure:8923: checking for $ac_word" >&5
8923 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8924 echo $ac_n "(cached) $ac_c" 1>&6
8926 if test -n "$CC"; then
8927 ac_cv_prog_CC
="$CC" # Let the user override the test.
8929 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8932 for ac_dir
in $ac_dummy; do
8933 test -z "$ac_dir" && ac_dir
=.
8934 if test -f $ac_dir/$ac_word; then
8935 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8936 ac_prog_rejected
=yes
8944 if test $ac_prog_rejected = yes; then
8945 # We found a bogon in the path, so make sure we never use it.
8946 set dummy
$ac_cv_prog_CC
8948 if test $# -gt 0; then
8949 # We chose a different compiler from the bogus one.
8950 # However, it has the same basename, so the bogon will be chosen
8951 # first if we set CC to just the basename; use the full file name.
8953 set dummy
"$ac_dir/$ac_word" "$@"
8961 if test -n "$CC"; then
8962 echo "$ac_t""$CC" 1>&6
8964 echo "$ac_t""no" 1>&6
8967 if test -z "$CC"; then
8968 case "`uname -s`" in
8970 # Extract the first word of "cl", so it can be a program name with args.
8971 set dummy cl
; ac_word
=$2
8972 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8973 echo "configure:8974: checking for $ac_word" >&5
8974 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8975 echo $ac_n "(cached) $ac_c" 1>&6
8977 if test -n "$CC"; then
8978 ac_cv_prog_CC
="$CC" # Let the user override the test.
8980 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8982 for ac_dir
in $ac_dummy; do
8983 test -z "$ac_dir" && ac_dir
=.
8984 if test -f $ac_dir/$ac_word; then
8993 if test -n "$CC"; then
8994 echo "$ac_t""$CC" 1>&6
8996 echo "$ac_t""no" 1>&6
9001 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9004 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9005 echo "configure:9006: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9009 ac_cpp
='$CPP $CPPFLAGS'
9010 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9011 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9012 cross_compiling
=$ac_cv_prog_cc_cross
9014 cat > conftest.
$ac_ext << EOF
9016 #line 9017 "configure"
9017 #include "confdefs.h"
9021 if { (eval echo configure
:9022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9022 ac_cv_prog_cc_works
=yes
9023 # If we can't run a trivial program, we are probably using a cross compiler.
9024 if (.
/conftest
; exit) 2>/dev
/null
; then
9025 ac_cv_prog_cc_cross
=no
9027 ac_cv_prog_cc_cross
=yes
9030 echo "configure: failed program was:" >&5
9031 cat conftest.
$ac_ext >&5
9032 ac_cv_prog_cc_works
=no
9036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9037 ac_cpp
='$CPP $CPPFLAGS'
9038 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9039 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9040 cross_compiling
=$ac_cv_prog_cc_cross
9042 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9043 if test $ac_cv_prog_cc_works = no
; then
9044 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9046 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9047 echo "configure:9048: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9048 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9049 cross_compiling
=$ac_cv_prog_cc_cross
9051 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9052 echo "configure:9053: checking whether we are using GNU C" >&5
9053 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9054 echo $ac_n "(cached) $ac_c" 1>&6
9056 cat > conftest.c
<<EOF
9061 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9068 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9070 if test $ac_cv_prog_gcc = yes; then
9076 ac_test_CFLAGS
="${CFLAGS+set}"
9077 ac_save_CFLAGS
="$CFLAGS"
9079 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9080 echo "configure:9081: checking whether ${CC-cc} accepts -g" >&5
9081 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9082 echo $ac_n "(cached) $ac_c" 1>&6
9084 echo 'void f(){}' > conftest.c
9085 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9094 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9095 if test "$ac_test_CFLAGS" = set; then
9096 CFLAGS
="$ac_save_CFLAGS"
9097 elif test $ac_cv_prog_cc_g = yes; then
9098 if test "$GCC" = yes; then
9104 if test "$GCC" = yes; then
9112 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9113 echo "configure:9114: checking how to run the C preprocessor" >&5
9114 # On Suns, sometimes $CPP names a directory.
9115 if test -n "$CPP" && test -d "$CPP"; then
9118 if test -z "$CPP"; then
9119 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9120 echo $ac_n "(cached) $ac_c" 1>&6
9122 # This must be in double quotes, not single quotes, because CPP may get
9123 # substituted into the Makefile and "${CC-cc}" will confuse make.
9125 # On the NeXT, cc -E runs the code through the compiler's parser,
9126 # not just through cpp.
9127 cat > conftest.
$ac_ext <<EOF
9128 #line 9129 "configure"
9129 #include "confdefs.h"
9133 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9134 { (eval echo configure
:9135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9135 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9136 if test -z "$ac_err"; then
9140 echo "configure: failed program was:" >&5
9141 cat conftest.
$ac_ext >&5
9143 CPP
="${CC-cc} -E -traditional-cpp"
9144 cat > conftest.
$ac_ext <<EOF
9145 #line 9146 "configure"
9146 #include "confdefs.h"
9150 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9151 { (eval echo configure
:9152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9152 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9153 if test -z "$ac_err"; then
9157 echo "configure: failed program was:" >&5
9158 cat conftest.
$ac_ext >&5
9160 CPP
="${CC-cc} -nologo -E"
9161 cat > conftest.
$ac_ext <<EOF
9162 #line 9163 "configure"
9163 #include "confdefs.h"
9167 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9168 { (eval echo configure
:9169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9169 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9170 if test -z "$ac_err"; then
9174 echo "configure: failed program was:" >&5
9175 cat conftest.
$ac_ext >&5
9184 ac_cv_prog_CPP
="$CPP"
9186 CPP
="$ac_cv_prog_CPP"
9188 ac_cv_prog_CPP
="$CPP"
9190 echo "$ac_t""$CPP" 1>&6
9192 if test $ac_cv_prog_gcc = yes; then
9193 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9194 echo "configure:9195: checking whether ${CC-cc} needs -traditional" >&5
9195 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9196 echo $ac_n "(cached) $ac_c" 1>&6
9198 ac_pattern
="Autoconf.*'x'"
9199 cat > conftest.
$ac_ext <<EOF
9200 #line 9201 "configure"
9201 #include "confdefs.h"
9205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9206 egrep "$ac_pattern" >/dev
/null
2>&1; then
9208 ac_cv_prog_gcc_traditional
=yes
9211 ac_cv_prog_gcc_traditional
=no
9216 if test $ac_cv_prog_gcc_traditional = no
; then
9217 cat > conftest.
$ac_ext <<EOF
9218 #line 9219 "configure"
9219 #include "confdefs.h"
9223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9224 egrep "$ac_pattern" >/dev
/null
2>&1; then
9226 ac_cv_prog_gcc_traditional
=yes
9233 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9234 if test $ac_cv_prog_gcc_traditional = yes; then
9235 CC
="$CC -traditional"
9242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9243 ac_cpp
='$CXXCPP $CPPFLAGS'
9244 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9245 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9246 cross_compiling
=$ac_cv_prog_cxx_cross
9249 CXXFLAGS
=${CXXFLAGS:=}
9250 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9252 # Extract the first word of "$ac_prog", so it can be a program name with args.
9253 set dummy
$ac_prog; ac_word
=$2
9254 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9255 echo "configure:9256: checking for $ac_word" >&5
9256 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9257 echo $ac_n "(cached) $ac_c" 1>&6
9259 if test -n "$CXX"; then
9260 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9262 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9264 for ac_dir
in $ac_dummy; do
9265 test -z "$ac_dir" && ac_dir
=.
9266 if test -f $ac_dir/$ac_word; then
9267 ac_cv_prog_CXX
="$ac_prog"
9274 CXX
="$ac_cv_prog_CXX"
9275 if test -n "$CXX"; then
9276 echo "$ac_t""$CXX" 1>&6
9278 echo "$ac_t""no" 1>&6
9281 test -n "$CXX" && break
9283 test -n "$CXX" || CXX
="gcc"
9286 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9287 echo "configure:9288: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9290 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9291 ac_cpp
='$CXXCPP $CPPFLAGS'
9292 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9293 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9294 cross_compiling
=$ac_cv_prog_cxx_cross
9296 cat > conftest.
$ac_ext << EOF
9298 #line 9299 "configure"
9299 #include "confdefs.h"
9301 int main(){return(0);}
9303 if { (eval echo configure
:9304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9304 ac_cv_prog_cxx_works
=yes
9305 # If we can't run a trivial program, we are probably using a cross compiler.
9306 if (.
/conftest
; exit) 2>/dev
/null
; then
9307 ac_cv_prog_cxx_cross
=no
9309 ac_cv_prog_cxx_cross
=yes
9312 echo "configure: failed program was:" >&5
9313 cat conftest.
$ac_ext >&5
9314 ac_cv_prog_cxx_works
=no
9318 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9319 ac_cpp
='$CXXCPP $CPPFLAGS'
9320 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9321 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9322 cross_compiling
=$ac_cv_prog_cxx_cross
9324 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9325 if test $ac_cv_prog_cxx_works = no
; then
9326 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9328 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9329 echo "configure:9330: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9330 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9331 cross_compiling
=$ac_cv_prog_cxx_cross
9333 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9334 echo "configure:9335: checking whether we are using GNU C++" >&5
9335 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9336 echo $ac_n "(cached) $ac_c" 1>&6
9338 cat > conftest.C
<<EOF
9343 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9350 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9352 if test $ac_cv_prog_gxx = yes; then
9358 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9359 ac_save_CXXFLAGS
="$CXXFLAGS"
9361 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9362 echo "configure:9363: checking whether ${CXX-g++} accepts -g" >&5
9363 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9364 echo $ac_n "(cached) $ac_c" 1>&6
9366 echo 'void f(){}' > conftest.cc
9367 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9368 ac_cv_prog_cxx_g
=yes
9376 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9377 if test "$ac_test_CXXFLAGS" = set; then
9378 CXXFLAGS
="$ac_save_CXXFLAGS"
9379 elif test $ac_cv_prog_cxx_g = yes; then
9380 if test "$GXX" = yes; then
9386 if test "$GXX" = yes; then
9395 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9396 ac_cpp
='$CPP $CPPFLAGS'
9397 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9398 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9399 cross_compiling
=$ac_cv_prog_cc_cross
9402 # Extract the first word of "ranlib", so it can be a program name with args.
9403 set dummy ranlib
; ac_word
=$2
9404 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9405 echo "configure:9406: checking for $ac_word" >&5
9406 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9407 echo $ac_n "(cached) $ac_c" 1>&6
9409 if test -n "$RANLIB"; then
9410 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9412 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9414 for ac_dir
in $ac_dummy; do
9415 test -z "$ac_dir" && ac_dir
=.
9416 if test -f $ac_dir/$ac_word; then
9417 ac_cv_prog_RANLIB
="ranlib"
9422 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9425 RANLIB
="$ac_cv_prog_RANLIB"
9426 if test -n "$RANLIB"; then
9427 echo "$ac_t""$RANLIB" 1>&6
9429 echo "$ac_t""no" 1>&6
9433 # Extract the first word of "ar", so it can be a program name with args.
9434 set dummy
ar; ac_word
=$2
9435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9436 echo "configure:9437: checking for $ac_word" >&5
9437 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9438 echo $ac_n "(cached) $ac_c" 1>&6
9440 if test -n "$AR"; then
9441 ac_cv_prog_AR
="$AR" # Let the user override the test.
9443 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9445 for ac_dir
in $ac_dummy; do
9446 test -z "$ac_dir" && ac_dir
=.
9447 if test -f $ac_dir/$ac_word; then
9453 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9457 if test -n "$AR"; then
9458 echo "$ac_t""$AR" 1>&6
9460 echo "$ac_t""no" 1>&6
9464 # Find a good install program. We prefer a C program (faster),
9465 # so one script is as good as another. But avoid the broken or
9466 # incompatible versions:
9467 # SysV /etc/install, /usr/sbin/install
9468 # SunOS /usr/etc/install
9469 # IRIX /sbin/install
9471 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9472 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9473 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9474 # ./install, which can be erroneously created by make from ./install.sh.
9475 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9476 echo "configure:9477: checking for a BSD compatible install" >&5
9477 if test -z "$INSTALL"; then
9478 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9479 echo $ac_n "(cached) $ac_c" 1>&6
9481 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9482 for ac_dir
in $PATH; do
9483 # Account for people who put trailing slashes in PATH elements.
9485 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9487 # OSF1 and SCO ODT 3.0 have their own names for install.
9488 # Don't use installbsd from OSF since it installs stuff as root
9490 for ac_prog
in ginstall scoinst
install; do
9491 if test -f $ac_dir/$ac_prog; then
9492 if test $ac_prog = install &&
9493 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9494 # AIX install. It has an incompatible calling convention.
9497 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9508 if test "${ac_cv_path_install+set}" = set; then
9509 INSTALL
="$ac_cv_path_install"
9511 # As a last resort, use the slow shell script. We don't cache a
9512 # path for INSTALL within a source directory, because that will
9513 # break other packages using the cache if that directory is
9514 # removed, or if the path is relative.
9515 INSTALL
="$ac_install_sh"
9518 echo "$ac_t""$INSTALL" 1>&6
9520 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9521 # It thinks the first close brace ends the variable substitution.
9522 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9524 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9526 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9532 ?
:* ) # Drive letter, considered as absolute.
9535 INSTALL
=`pwd`/${INSTALL} ;;
9543 *) INSTALL_DIR
="$INSTALL -d"
9551 INSTALL_PROGRAM
="cp -fp"
9552 INSTALL_DATA
="cp -fp"
9558 # Extract the first word of "strip", so it can be a program name with args.
9559 set dummy strip
; ac_word
=$2
9560 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9561 echo "configure:9562: checking for $ac_word" >&5
9562 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9563 echo $ac_n "(cached) $ac_c" 1>&6
9565 if test -n "$STRIP"; then
9566 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9568 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9570 for ac_dir
in $ac_dummy; do
9571 test -z "$ac_dir" && ac_dir
=.
9572 if test -f $ac_dir/$ac_word; then
9573 ac_cv_prog_STRIP
="strip"
9578 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9581 STRIP
="$ac_cv_prog_STRIP"
9582 if test -n "$STRIP"; then
9583 echo "$ac_t""$STRIP" 1>&6
9585 echo "$ac_t""no" 1>&6
9589 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9590 echo "configure:9591: checking if make is GNU make" >&5
9591 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9592 echo $ac_n "(cached) $ac_c" 1>&6
9595 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9596 egrep -s GNU
> /dev
/null
); then
9597 wx_cv_prog_makeisgnu
="yes"
9599 wx_cv_prog_makeisgnu
="no"
9604 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9606 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9614 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9615 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9616 echo "configure:9617: checking if make supports VPATH" >&5
9617 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9618 echo $ac_n "(cached) $ac_c" 1>&6
9621 cat - << EOF > confMake
9627 if test ! -d sub
; then
9630 echo dummy
> sub
/file
9631 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9633 rm -f sub
/file check final_file confMake
9635 if test "$RESULT" = 0; then
9636 wx_cv_prog_makevpath
="yes"
9638 wx_cv_prog_makevpath
="no"
9643 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9645 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9646 { echo "configure: error:
9647 You need a make-utility that is able to use the variable
9649 If your version of make does not support VPATH correctly,
9650 please install GNU-make (possibly as gmake), and start
9651 configure with the following command:
9652 export MAKE=gmake; ./configure for sh-type shells
9653 setenv MAKE gmake; ./configure for csh-type shells
9654 Also please do remember to use gmake in this case every time
9655 you are trying to compile.
9658 for ac_prog
in 'bison -y' byacc
9660 # Extract the first word of "$ac_prog", so it can be a program name with args.
9661 set dummy
$ac_prog; ac_word
=$2
9662 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9663 echo "configure:9664: checking for $ac_word" >&5
9664 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9665 echo $ac_n "(cached) $ac_c" 1>&6
9667 if test -n "$YACC"; then
9668 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9670 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9672 for ac_dir
in $ac_dummy; do
9673 test -z "$ac_dir" && ac_dir
=.
9674 if test -f $ac_dir/$ac_word; then
9675 ac_cv_prog_YACC
="$ac_prog"
9682 YACC
="$ac_cv_prog_YACC"
9683 if test -n "$YACC"; then
9684 echo "$ac_t""$YACC" 1>&6
9686 echo "$ac_t""no" 1>&6
9689 test -n "$YACC" && break
9691 test -n "$YACC" || YACC
="yacc"
9694 # Extract the first word of "flex", so it can be a program name with args.
9695 set dummy flex
; ac_word
=$2
9696 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9697 echo "configure:9698: checking for $ac_word" >&5
9698 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9699 echo $ac_n "(cached) $ac_c" 1>&6
9701 if test -n "$LEX"; then
9702 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9704 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9706 for ac_dir
in $ac_dummy; do
9707 test -z "$ac_dir" && ac_dir
=.
9708 if test -f $ac_dir/$ac_word; then
9709 ac_cv_prog_LEX
="flex"
9714 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9717 LEX
="$ac_cv_prog_LEX"
9718 if test -n "$LEX"; then
9719 echo "$ac_t""$LEX" 1>&6
9721 echo "$ac_t""no" 1>&6
9724 if test -z "$LEXLIB"
9730 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9731 echo "configure:9732: checking for yywrap in -l$ac_lib" >&5
9732 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9733 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9734 echo $ac_n "(cached) $ac_c" 1>&6
9736 ac_save_LIBS
="$LIBS"
9737 LIBS
="-l$ac_lib $LIBS"
9738 cat > conftest.
$ac_ext <<EOF
9739 #line 9740 "configure"
9740 #include "confdefs.h"
9741 /* Override any gcc2 internal prototype to avoid an error. */
9742 /* We use char because int might match the return type of a gcc2
9743 builtin and then its argument prototype would still apply. */
9750 if { (eval echo configure
:9751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9752 eval "ac_cv_lib_$ac_lib_var=yes"
9754 echo "configure: failed program was:" >&5
9755 cat conftest.
$ac_ext >&5
9757 eval "ac_cv_lib_$ac_lib_var=no"
9760 LIBS
="$ac_save_LIBS"
9763 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9764 echo "$ac_t""yes" 1>&6
9767 echo "$ac_t""no" 1>&6
9773 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9774 echo "configure:9775: checking whether ln -s works" >&5
9775 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9776 echo $ac_n "(cached) $ac_c" 1>&6
9779 if ln -s X conftestdata
2>/dev
/null
9782 ac_cv_prog_LN_S
="ln -s"
9787 LN_S
="$ac_cv_prog_LN_S"
9788 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9789 echo "$ac_t""yes" 1>&6
9791 echo "$ac_t""no" 1>&6
9796 *-pc-os2_emx | *-pc-os2-emx )
9797 LIBS
="$LIBS -lstdcpp"
9798 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9799 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9800 echo "configure:9801: checking for drand48 in -lcExt" >&5
9801 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9802 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9803 echo $ac_n "(cached) $ac_c" 1>&6
9805 ac_save_LIBS
="$LIBS"
9807 cat > conftest.
$ac_ext <<EOF
9808 #line 9809 "configure"
9809 #include "confdefs.h"
9810 /* Override any gcc2 internal prototype to avoid an error. */
9811 /* We use char because int might match the return type of a gcc2
9812 builtin and then its argument prototype would still apply. */
9819 if { (eval echo configure
:9820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9821 eval "ac_cv_lib_$ac_lib_var=yes"
9823 echo "configure: failed program was:" >&5
9824 cat conftest.
$ac_ext >&5
9826 eval "ac_cv_lib_$ac_lib_var=no"
9829 LIBS
="$ac_save_LIBS"
9832 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9833 echo "$ac_t""yes" 1>&6
9836 echo "$ac_t""no" 1>&6
9840 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9846 if test "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
9847 for ac_hdr
in strings.h
9849 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9850 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9851 echo "configure:9852: checking for $ac_hdr" >&5
9852 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9853 echo $ac_n "(cached) $ac_c" 1>&6
9855 cat > conftest.
$ac_ext <<EOF
9856 #line 9857 "configure"
9857 #include "confdefs.h"
9860 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9861 { (eval echo configure
:9862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9862 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9863 if test -z "$ac_err"; then
9865 eval "ac_cv_header_$ac_safe=yes"
9868 echo "configure: failed program was:" >&5
9869 cat conftest.
$ac_ext >&5
9871 eval "ac_cv_header_$ac_safe=no"
9875 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9876 echo "$ac_t""yes" 1>&6
9877 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9878 cat >> confdefs.h
<<EOF
9879 #define $ac_tr_hdr 1
9883 echo "$ac_t""no" 1>&6
9889 for ac_hdr
in stdlib.h
9891 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9892 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9893 echo "configure:9894: checking for $ac_hdr" >&5
9894 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9895 echo $ac_n "(cached) $ac_c" 1>&6
9897 cat > conftest.
$ac_ext <<EOF
9898 #line 9899 "configure"
9899 #include "confdefs.h"
9902 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9903 { (eval echo configure
:9904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9904 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9905 if test -z "$ac_err"; then
9907 eval "ac_cv_header_$ac_safe=yes"
9910 echo "configure: failed program was:" >&5
9911 cat conftest.
$ac_ext >&5
9913 eval "ac_cv_header_$ac_safe=no"
9917 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9918 echo "$ac_t""yes" 1>&6
9919 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9920 cat >> confdefs.h
<<EOF
9921 #define $ac_tr_hdr 1
9925 echo "$ac_t""no" 1>&6
9929 for ac_hdr
in malloc.h
9931 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9932 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9933 echo "configure:9934: checking for $ac_hdr" >&5
9934 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9935 echo $ac_n "(cached) $ac_c" 1>&6
9937 cat > conftest.
$ac_ext <<EOF
9938 #line 9939 "configure"
9939 #include "confdefs.h"
9942 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9943 { (eval echo configure
:9944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9944 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9945 if test -z "$ac_err"; then
9947 eval "ac_cv_header_$ac_safe=yes"
9950 echo "configure: failed program was:" >&5
9951 cat conftest.
$ac_ext >&5
9953 eval "ac_cv_header_$ac_safe=no"
9957 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9958 echo "$ac_t""yes" 1>&6
9959 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9960 cat >> confdefs.h
<<EOF
9961 #define $ac_tr_hdr 1
9965 echo "$ac_t""no" 1>&6
9969 for ac_hdr
in unistd.h
9971 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9972 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9973 echo "configure:9974: checking for $ac_hdr" >&5
9974 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9975 echo $ac_n "(cached) $ac_c" 1>&6
9977 cat > conftest.
$ac_ext <<EOF
9978 #line 9979 "configure"
9979 #include "confdefs.h"
9982 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9983 { (eval echo configure
:9984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9984 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9985 if test -z "$ac_err"; then
9987 eval "ac_cv_header_$ac_safe=yes"
9990 echo "configure: failed program was:" >&5
9991 cat conftest.
$ac_ext >&5
9993 eval "ac_cv_header_$ac_safe=no"
9997 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9998 echo "$ac_t""yes" 1>&6
9999 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10000 cat >> confdefs.h
<<EOF
10001 #define $ac_tr_hdr 1
10005 echo "$ac_t""no" 1>&6
10009 for ac_hdr
in wchar.h
10011 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10012 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10013 echo "configure:10014: checking for $ac_hdr" >&5
10014 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10015 echo $ac_n "(cached) $ac_c" 1>&6
10017 cat > conftest.
$ac_ext <<EOF
10018 #line 10019 "configure"
10019 #include "confdefs.h"
10022 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10023 { (eval echo configure
:10024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10024 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10025 if test -z "$ac_err"; then
10027 eval "ac_cv_header_$ac_safe=yes"
10030 echo "configure: failed program was:" >&5
10031 cat conftest.
$ac_ext >&5
10033 eval "ac_cv_header_$ac_safe=no"
10037 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10038 echo "$ac_t""yes" 1>&6
10039 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10040 cat >> confdefs.h
<<EOF
10041 #define $ac_tr_hdr 1
10045 echo "$ac_t""no" 1>&6
10050 if test "$ac_cv_header_wchar_h" != "yes"; then
10051 for ac_hdr
in wcstr.h
10053 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10054 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10055 echo "configure:10056: checking for $ac_hdr" >&5
10056 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10057 echo $ac_n "(cached) $ac_c" 1>&6
10059 cat > conftest.
$ac_ext <<EOF
10060 #line 10061 "configure"
10061 #include "confdefs.h"
10064 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10065 { (eval echo configure
:10066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10066 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10067 if test -z "$ac_err"; then
10069 eval "ac_cv_header_$ac_safe=yes"
10072 echo "configure: failed program was:" >&5
10073 cat conftest.
$ac_ext >&5
10075 eval "ac_cv_header_$ac_safe=no"
10079 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10080 echo "$ac_t""yes" 1>&6
10081 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10082 cat >> confdefs.h
<<EOF
10083 #define $ac_tr_hdr 1
10087 echo "$ac_t""no" 1>&6
10093 for ac_hdr
in fnmatch.h
10095 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10096 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10097 echo "configure:10098: checking for $ac_hdr" >&5
10098 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10099 echo $ac_n "(cached) $ac_c" 1>&6
10101 cat > conftest.
$ac_ext <<EOF
10102 #line 10103 "configure"
10103 #include "confdefs.h"
10106 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10107 { (eval echo configure
:10108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10108 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10109 if test -z "$ac_err"; then
10111 eval "ac_cv_header_$ac_safe=yes"
10114 echo "configure: failed program was:" >&5
10115 cat conftest.
$ac_ext >&5
10117 eval "ac_cv_header_$ac_safe=no"
10121 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10122 echo "$ac_t""yes" 1>&6
10123 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10124 cat >> confdefs.h
<<EOF
10125 #define $ac_tr_hdr 1
10129 echo "$ac_t""no" 1>&6
10134 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10135 for ac_func
in fnmatch
10137 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10138 echo "configure:10139: checking for $ac_func" >&5
10139 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10140 echo $ac_n "(cached) $ac_c" 1>&6
10142 cat > conftest.
$ac_ext <<EOF
10143 #line 10144 "configure"
10144 #include "confdefs.h"
10145 /* System header to define __stub macros and hopefully few prototypes,
10146 which can conflict with char $ac_func(); below. */
10147 #include <assert.h>
10148 /* Override any gcc2 internal prototype to avoid an error. */
10149 /* We use char because int might match the return type of a gcc2
10150 builtin and then its argument prototype would still apply. */
10155 /* The GNU C library defines this for functions which it implements
10156 to always fail with ENOSYS. Some functions are actually named
10157 something starting with __ and the normal name is an alias. */
10158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10166 if { (eval echo configure
:10167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10168 eval "ac_cv_func_$ac_func=yes"
10170 echo "configure: failed program was:" >&5
10171 cat conftest.
$ac_ext >&5
10173 eval "ac_cv_func_$ac_func=no"
10178 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10179 echo "$ac_t""yes" 1>&6
10180 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10181 cat >> confdefs.h
<<EOF
10182 #define $ac_tr_func 1
10186 echo "$ac_t""no" 1>&6
10192 for ac_hdr
in langinfo.h
10194 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10195 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10196 echo "configure:10197: checking for $ac_hdr" >&5
10197 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10198 echo $ac_n "(cached) $ac_c" 1>&6
10200 cat > conftest.
$ac_ext <<EOF
10201 #line 10202 "configure"
10202 #include "confdefs.h"
10205 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10206 { (eval echo configure
:10207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10207 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10208 if test -z "$ac_err"; then
10210 eval "ac_cv_header_$ac_safe=yes"
10213 echo "configure: failed program was:" >&5
10214 cat conftest.
$ac_ext >&5
10216 eval "ac_cv_header_$ac_safe=no"
10220 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10221 echo "$ac_t""yes" 1>&6
10222 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10223 cat >> confdefs.h
<<EOF
10224 #define $ac_tr_hdr 1
10228 echo "$ac_t""no" 1>&6
10234 *-pc-os2_emx | *-pc-os2-emx )
10235 if test $ac_cv_header_langinfo_h = "yes"; then
10236 LIBS
="$LIBS -lintl"
10241 if test "$wxUSE_GUI" = "yes"; then
10242 if test "$wxUSE_UNIX" = "yes"; then
10243 for ac_hdr
in X
11/XKBlib.h
10245 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10246 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10247 echo "configure:10248: checking for $ac_hdr" >&5
10248 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10249 echo $ac_n "(cached) $ac_c" 1>&6
10251 cat > conftest.
$ac_ext <<EOF
10252 #line 10253 "configure"
10253 #include "confdefs.h"
10256 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10257 { (eval echo configure
:10258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10258 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10259 if test -z "$ac_err"; then
10261 eval "ac_cv_header_$ac_safe=yes"
10264 echo "configure: failed program was:" >&5
10265 cat conftest.
$ac_ext >&5
10267 eval "ac_cv_header_$ac_safe=no"
10271 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10272 echo "$ac_t""yes" 1>&6
10273 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10274 cat >> confdefs.h
<<EOF
10275 #define $ac_tr_hdr 1
10279 echo "$ac_t""no" 1>&6
10287 echo $ac_n "checking for working const""... $ac_c" 1>&6
10288 echo "configure:10289: checking for working const" >&5
10289 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10290 echo $ac_n "(cached) $ac_c" 1>&6
10292 cat > conftest.
$ac_ext <<EOF
10293 #line 10294 "configure"
10294 #include "confdefs.h"
10298 /* Ultrix mips cc rejects this. */
10299 typedef int charset[2]; const charset x;
10300 /* SunOS 4.1.1 cc rejects this. */
10301 char const *const *ccp;
10303 /* NEC SVR4.0.2 mips cc rejects this. */
10304 struct point {int x, y;};
10305 static struct point const zero = {0,0};
10306 /* AIX XL C 1.02.0.0 rejects this.
10307 It does not let you subtract one const X* pointer from another in an arm
10308 of an if-expression whose if-part is not a constant expression */
10309 const char *g = "string";
10310 ccp = &g + (g ? g-g : 0);
10311 /* HPUX 7.0 cc rejects these. */
10314 ccp = (char const *const *) p;
10315 { /* SCO 3.2v4 cc rejects this. */
10317 char const *s = 0 ? (char *) 0 : (char const *) 0;
10321 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10322 int x[] = {25, 17};
10323 const int *foo = &x[0];
10326 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10327 typedef const int *iptr;
10331 { /* AIX XL C 1.02.0.0 rejects this saying
10332 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10333 struct s { int j; const int *ap[3]; };
10334 struct s *b; b->j = 5;
10336 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10337 const int foo = 10;
10342 if { (eval echo configure
:10343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10346 echo "configure: failed program was:" >&5
10347 cat conftest.
$ac_ext >&5
10354 echo "$ac_t""$ac_cv_c_const" 1>&6
10355 if test $ac_cv_c_const = no
; then
10356 cat >> confdefs.h
<<\EOF
10362 echo $ac_n "checking for inline""... $ac_c" 1>&6
10363 echo "configure:10364: checking for inline" >&5
10364 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10365 echo $ac_n "(cached) $ac_c" 1>&6
10368 for ac_kw
in inline __inline__ __inline
; do
10369 cat > conftest.
$ac_ext <<EOF
10370 #line 10371 "configure"
10371 #include "confdefs.h"
10377 if { (eval echo configure
:10378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10379 ac_cv_c_inline
=$ac_kw; break
10381 echo "configure: failed program was:" >&5
10382 cat conftest.
$ac_ext >&5
10389 echo "$ac_t""$ac_cv_c_inline" 1>&6
10390 case "$ac_cv_c_inline" in
10392 no
) cat >> confdefs.h
<<\EOF
10396 *) cat >> confdefs.h
<<EOF
10397 #define inline $ac_cv_c_inline
10403 echo $ac_n "checking size of char""... $ac_c" 1>&6
10404 echo "configure:10405: checking size of char" >&5
10405 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10406 echo $ac_n "(cached) $ac_c" 1>&6
10408 if test "$cross_compiling" = yes; then
10409 ac_cv_sizeof_char
=1
10411 cat > conftest.
$ac_ext <<EOF
10412 #line 10413 "configure"
10413 #include "confdefs.h"
10417 FILE *f=fopen("conftestval", "w");
10419 fprintf(f, "%d\n", sizeof(char));
10423 if { (eval echo configure
:10424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10425 ac_cv_sizeof_char
=`cat conftestval`
10427 echo "configure: failed program was:" >&5
10428 cat conftest.
$ac_ext >&5
10430 ac_cv_sizeof_char
=0
10436 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10437 cat >> confdefs.h
<<EOF
10438 #define SIZEOF_CHAR $ac_cv_sizeof_char
10442 echo $ac_n "checking size of short""... $ac_c" 1>&6
10443 echo "configure:10444: checking size of short" >&5
10444 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10445 echo $ac_n "(cached) $ac_c" 1>&6
10447 if test "$cross_compiling" = yes; then
10448 ac_cv_sizeof_short
=2
10450 cat > conftest.
$ac_ext <<EOF
10451 #line 10452 "configure"
10452 #include "confdefs.h"
10456 FILE *f=fopen("conftestval", "w");
10458 fprintf(f, "%d\n", sizeof(short));
10462 if { (eval echo configure
:10463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10464 ac_cv_sizeof_short
=`cat conftestval`
10466 echo "configure: failed program was:" >&5
10467 cat conftest.
$ac_ext >&5
10469 ac_cv_sizeof_short
=0
10475 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10476 cat >> confdefs.h
<<EOF
10477 #define SIZEOF_SHORT $ac_cv_sizeof_short
10481 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10482 echo "configure:10483: checking size of void *" >&5
10483 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10484 echo $ac_n "(cached) $ac_c" 1>&6
10486 if test "$cross_compiling" = yes; then
10487 ac_cv_sizeof_void_p
=4
10489 cat > conftest.
$ac_ext <<EOF
10490 #line 10491 "configure"
10491 #include "confdefs.h"
10495 FILE *f=fopen("conftestval", "w");
10497 fprintf(f, "%d\n", sizeof(void *));
10501 if { (eval echo configure
:10502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10503 ac_cv_sizeof_void_p
=`cat conftestval`
10505 echo "configure: failed program was:" >&5
10506 cat conftest.
$ac_ext >&5
10508 ac_cv_sizeof_void_p
=0
10514 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10515 cat >> confdefs.h
<<EOF
10516 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10520 echo $ac_n "checking size of int""... $ac_c" 1>&6
10521 echo "configure:10522: checking size of int" >&5
10522 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10523 echo $ac_n "(cached) $ac_c" 1>&6
10525 if test "$cross_compiling" = yes; then
10528 cat > conftest.
$ac_ext <<EOF
10529 #line 10530 "configure"
10530 #include "confdefs.h"
10534 FILE *f=fopen("conftestval", "w");
10536 fprintf(f, "%d\n", sizeof(int));
10540 if { (eval echo configure
:10541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10542 ac_cv_sizeof_int
=`cat conftestval`
10544 echo "configure: failed program was:" >&5
10545 cat conftest.
$ac_ext >&5
10553 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10554 cat >> confdefs.h
<<EOF
10555 #define SIZEOF_INT $ac_cv_sizeof_int
10559 echo $ac_n "checking size of long""... $ac_c" 1>&6
10560 echo "configure:10561: checking size of long" >&5
10561 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10562 echo $ac_n "(cached) $ac_c" 1>&6
10564 if test "$cross_compiling" = yes; then
10565 ac_cv_sizeof_long
=4
10567 cat > conftest.
$ac_ext <<EOF
10568 #line 10569 "configure"
10569 #include "confdefs.h"
10573 FILE *f=fopen("conftestval", "w");
10575 fprintf(f, "%d\n", sizeof(long));
10579 if { (eval echo configure
:10580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10581 ac_cv_sizeof_long
=`cat conftestval`
10583 echo "configure: failed program was:" >&5
10584 cat conftest.
$ac_ext >&5
10586 ac_cv_sizeof_long
=0
10592 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10593 cat >> confdefs.h
<<EOF
10594 #define SIZEOF_LONG $ac_cv_sizeof_long
10601 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10602 echo "configure:10603: checking size of long long" >&5
10603 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10604 echo $ac_n "(cached) $ac_c" 1>&6
10606 if test "$cross_compiling" = yes; then
10607 ac_cv_sizeof_long_long
=8
10609 cat > conftest.
$ac_ext <<EOF
10610 #line 10611 "configure"
10611 #include "confdefs.h"
10615 FILE *f=fopen("conftestval", "w");
10617 fprintf(f, "%d\n", sizeof(long long));
10621 if { (eval echo configure
:10622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10623 ac_cv_sizeof_long_long
=`cat conftestval`
10625 echo "configure: failed program was:" >&5
10626 cat conftest.
$ac_ext >&5
10628 ac_cv_sizeof_long_long
=0
10634 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10635 cat >> confdefs.h
<<EOF
10636 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10642 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10643 echo "configure:10644: checking size of long long" >&5
10644 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10645 echo $ac_n "(cached) $ac_c" 1>&6
10647 if test "$cross_compiling" = yes; then
10648 ac_cv_sizeof_long_long
=0
10650 cat > conftest.
$ac_ext <<EOF
10651 #line 10652 "configure"
10652 #include "confdefs.h"
10656 FILE *f=fopen("conftestval", "w");
10658 fprintf(f, "%d\n", sizeof(long long));
10662 if { (eval echo configure
:10663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10664 ac_cv_sizeof_long_long
=`cat conftestval`
10666 echo "configure: failed program was:" >&5
10667 cat conftest.
$ac_ext >&5
10669 ac_cv_sizeof_long_long
=0
10675 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10676 cat >> confdefs.h
<<EOF
10677 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10681 if test "$ac_cv_sizeof_long_long" != "0"; then
10682 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10686 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10687 echo "configure:10688: checking size of long long" >&5
10688 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10689 echo $ac_n "(cached) $ac_c" 1>&6
10691 if test "$cross_compiling" = yes; then
10692 ac_cv_sizeof_long_long
=0
10694 cat > conftest.
$ac_ext <<EOF
10695 #line 10696 "configure"
10696 #include "confdefs.h"
10700 FILE *f=fopen("conftestval", "w");
10702 fprintf(f, "%d\n", sizeof(long long));
10706 if { (eval echo configure
:10707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10708 ac_cv_sizeof_long_long
=`cat conftestval`
10710 echo "configure: failed program was:" >&5
10711 cat conftest.
$ac_ext >&5
10713 ac_cv_sizeof_long_long
=0
10719 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10720 cat >> confdefs.h
<<EOF
10721 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10727 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10728 echo "configure:10729: checking size of wchar_t" >&5
10729 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10730 echo $ac_n "(cached) $ac_c" 1>&6
10733 if test "$cross_compiling" = yes; then
10737 wx_cv_sizeof_wchar_t
=0
10740 wx_cv_sizeof_wchar_t
=4
10746 cat > conftest.
$ac_ext <<EOF
10747 #line 10748 "configure"
10748 #include "confdefs.h"
10750 /* DJGPP only has fake wchar_t: */
10752 # error "fake wchar_t"
10754 #ifdef HAVE_WCHAR_H
10756 # include <stddef.h>
10758 # include <wchar.h>
10760 #ifdef HAVE_STDLIB_H
10761 # include <stdlib.h>
10766 FILE *f=fopen("conftestval", "w");
10768 fprintf(f, "%i", sizeof(wchar_t));
10773 if { (eval echo configure
:10774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10775 wx_cv_sizeof_wchar_t
=`cat conftestval`
10777 echo "configure: failed program was:" >&5
10778 cat conftest.
$ac_ext >&5
10780 wx_cv_sizeof_wchar_t
=0
10788 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10790 cat >> confdefs.h
<<EOF
10791 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10795 # Check whether --enable-largefile or --disable-largefile was given.
10796 if test "${enable_largefile+set}" = set; then
10797 enableval
="$enable_largefile"
10801 if test "$enable_largefile" != no
; then
10804 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10805 echo "configure:10806: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10806 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10807 echo $ac_n "(cached) $ac_c" 1>&6
10810 cat > conftest.
$ac_ext <<EOF
10811 #line 10812 "configure"
10812 #include "confdefs.h"
10813 #define _FILE_OFFSET_BITS 64
10814 #include <sys/types.h>
10817 unsigned int field: sizeof(off_t) == 8;
10822 if { (eval echo configure
:10823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10824 ac_cv_sys_file_offset_bits
=64
10826 echo "configure: failed program was:" >&5
10827 cat conftest.
$ac_ext >&5
10829 ac_cv_sys_file_offset_bits
=no
10836 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10838 if test "$ac_cv_sys_file_offset_bits" != no
; then
10840 cat >> confdefs.h
<<EOF
10841 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10846 if test "x$wx_largefile" != "xyes"; then
10848 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10849 echo "configure:10850: checking for _LARGE_FILES value needed for large files" >&5
10850 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10851 echo $ac_n "(cached) $ac_c" 1>&6
10854 cat > conftest.
$ac_ext <<EOF
10855 #line 10856 "configure"
10856 #include "confdefs.h"
10857 #define _LARGE_FILES 1
10858 #include <sys/types.h>
10861 unsigned int field: sizeof(off_t) == 8;
10866 if { (eval echo configure
:10867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10868 ac_cv_sys_large_files
=1
10870 echo "configure: failed program was:" >&5
10871 cat conftest.
$ac_ext >&5
10873 ac_cv_sys_large_files
=no
10880 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10882 if test "$ac_cv_sys_large_files" != no
; then
10884 cat >> confdefs.h
<<EOF
10885 #define _LARGE_FILES $ac_cv_sys_large_files
10892 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10893 echo "configure:10894: checking if large file support is available" >&5
10894 if test "x$wx_largefile" = "xyes"; then
10895 cat >> confdefs.h
<<\EOF
10896 #define HAVE_LARGEFILE_SUPPORT 1
10900 echo "$ac_t""$wx_largefile" 1>&6
10904 if test "x$wx_largefile" = "xyes"; then
10905 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10906 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10908 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
10910 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10913 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10914 echo "configure:10915: checking whether byte ordering is bigendian" >&5
10915 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10916 echo $ac_n "(cached) $ac_c" 1>&6
10918 ac_cv_c_bigendian
=unknown
10919 # See if sys/param.h defines the BYTE_ORDER macro.
10920 cat > conftest.
$ac_ext <<EOF
10921 #line 10922 "configure"
10922 #include "confdefs.h"
10923 #include <sys/types.h>
10924 #include <sys/param.h>
10927 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10928 bogus endian macros
10932 if { (eval echo configure
:10933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10934 # It does; now see whether it defined to BIG_ENDIAN or not.
10935 cat > conftest.
$ac_ext <<EOF
10936 #line 10937 "configure"
10937 #include "confdefs.h"
10938 #include <sys/types.h>
10939 #include <sys/param.h>
10942 #if BYTE_ORDER != BIG_ENDIAN
10947 if { (eval echo configure
:10948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10949 ac_cv_c_bigendian
=yes
10951 echo "configure: failed program was:" >&5
10952 cat conftest.
$ac_ext >&5
10954 ac_cv_c_bigendian
=no
10958 echo "configure: failed program was:" >&5
10959 cat conftest.
$ac_ext >&5
10962 if test $ac_cv_c_bigendian = unknown
; then
10963 if test "$cross_compiling" = yes; then
10964 ac_cv_c_bigendian
=unknown
10966 cat > conftest.
$ac_ext <<EOF
10967 #line 10968 "configure"
10968 #include "confdefs.h"
10970 /* Are we little or big endian? From Harbison&Steele. */
10974 char c[sizeof (long)];
10977 exit (u.c[sizeof (long) - 1] == 1);
10980 if { (eval echo configure
:10981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10982 ac_cv_c_bigendian
=no
10984 echo "configure: failed program was:" >&5
10985 cat conftest.
$ac_ext >&5
10987 ac_cv_c_bigendian
=yes
10995 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10996 if test $ac_cv_c_bigendian = unknown
; then
10997 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
10999 if test $ac_cv_c_bigendian = yes; then
11000 cat >> confdefs.h
<<\EOF
11001 #define WORDS_BIGENDIAN 1
11007 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11008 echo "configure:11009: checking how to run the C++ preprocessor" >&5
11009 if test -z "$CXXCPP"; then
11010 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11011 echo $ac_n "(cached) $ac_c" 1>&6
11014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11015 ac_cpp
='$CXXCPP $CPPFLAGS'
11016 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11017 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11018 cross_compiling
=$ac_cv_prog_cxx_cross
11019 CXXCPP
="${CXX-g++} -E"
11020 cat > conftest.
$ac_ext <<EOF
11021 #line 11022 "configure"
11022 #include "confdefs.h"
11023 #include <stdlib.h>
11025 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11026 { (eval echo configure
:11027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11027 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11028 if test -z "$ac_err"; then
11032 echo "configure: failed program was:" >&5
11033 cat conftest.
$ac_ext >&5
11038 ac_cv_prog_CXXCPP
="$CXXCPP"
11040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11041 ac_cpp
='$CXXCPP $CPPFLAGS'
11042 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11043 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11044 cross_compiling
=$ac_cv_prog_cxx_cross
11047 CXXCPP
="$ac_cv_prog_CXXCPP"
11048 echo "$ac_t""$CXXCPP" 1>&6
11051 if test "$cross_compiling" = "yes"; then
11052 cat >> confdefs.h
<<\EOF
11053 #define wxUSE_IOSTREAMH 1
11059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11060 ac_cpp
='$CXXCPP $CPPFLAGS'
11061 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11062 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11063 cross_compiling
=$ac_cv_prog_cxx_cross
11066 for ac_hdr
in iostream
11068 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11069 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11070 echo "configure:11071: checking for $ac_hdr" >&5
11071 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11072 echo $ac_n "(cached) $ac_c" 1>&6
11074 cat > conftest.
$ac_ext <<EOF
11075 #line 11076 "configure"
11076 #include "confdefs.h"
11079 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11080 { (eval echo configure
:11081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11081 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11082 if test -z "$ac_err"; then
11084 eval "ac_cv_header_$ac_safe=yes"
11087 echo "configure: failed program was:" >&5
11088 cat conftest.
$ac_ext >&5
11090 eval "ac_cv_header_$ac_safe=no"
11094 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11095 echo "$ac_t""yes" 1>&6
11096 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11097 cat >> confdefs.h
<<EOF
11098 #define $ac_tr_hdr 1
11102 echo "$ac_t""no" 1>&6
11107 if test "$ac_cv_header_iostream" = "yes" ; then
11110 cat >> confdefs.h
<<\EOF
11111 #define wxUSE_IOSTREAMH 1
11117 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11118 ac_cpp
='$CPP $CPPFLAGS'
11119 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11120 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11121 cross_compiling
=$ac_cv_prog_cc_cross
11127 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11128 echo "configure:11129: checking if C++ compiler supports bool" >&5
11129 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11130 echo $ac_n "(cached) $ac_c" 1>&6
11135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11136 ac_cpp
='$CXXCPP $CPPFLAGS'
11137 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11138 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11139 cross_compiling
=$ac_cv_prog_cxx_cross
11142 cat > conftest.
$ac_ext <<EOF
11143 #line 11144 "configure"
11144 #include "confdefs.h"
11155 if { (eval echo configure
:11156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11161 echo "configure: failed program was:" >&5
11162 cat conftest.
$ac_ext >&5
11172 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11173 ac_cpp
='$CPP $CPPFLAGS'
11174 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11175 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11176 cross_compiling
=$ac_cv_prog_cc_cross
11181 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11183 if test "$wx_cv_cpp_bool" = "yes"; then
11184 cat >> confdefs.h
<<\EOF
11185 #define HAVE_BOOL 1
11192 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11193 echo "configure:11194: checking if C++ compiler supports the explicit keyword" >&5
11194 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11195 echo $ac_n "(cached) $ac_c" 1>&6
11200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11201 ac_cpp
='$CXXCPP $CPPFLAGS'
11202 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11203 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11204 cross_compiling
=$ac_cv_prog_cxx_cross
11207 cat > conftest.
$ac_ext <<EOF
11208 #line 11209 "configure"
11209 #include "confdefs.h"
11211 class Foo { public: explicit Foo(int) {} };
11219 if { (eval echo configure
:11220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11222 cat > conftest.
$ac_ext <<EOF
11223 #line 11224 "configure"
11224 #include "confdefs.h"
11226 class Foo { public: explicit Foo(int) {} };
11227 static void TakeFoo(const Foo& foo) { }
11236 if { (eval echo configure
:11237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11240 echo "configure: failed program was:" >&5
11241 cat conftest.
$ac_ext >&5
11249 echo "configure: failed program was:" >&5
11250 cat conftest.
$ac_ext >&5
11258 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11259 ac_cpp
='$CPP $CPPFLAGS'
11260 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11261 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11262 cross_compiling
=$ac_cv_prog_cc_cross
11267 echo "$ac_t""$wx_cv_explicit" 1>&6
11269 if test "$wx_cv_explicit" = "yes"; then
11270 cat >> confdefs.h
<<\EOF
11271 #define HAVE_EXPLICIT 1
11277 echo $ac_n "checking whether the compiler supports const_cast<>""... $ac_c" 1>&6
11278 echo "configure:11279: checking whether the compiler supports const_cast<>" >&5
11279 if eval "test \"`echo '$''{'ac_cv_cxx_const_cast'+set}'`\" = set"; then
11280 echo $ac_n "(cached) $ac_c" 1>&6
11284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11285 ac_cpp
='$CXXCPP $CPPFLAGS'
11286 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11287 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11288 cross_compiling
=$ac_cv_prog_cxx_cross
11290 cat > conftest.
$ac_ext <<EOF
11291 #line 11292 "configure"
11292 #include "confdefs.h"
11295 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
11298 if { (eval echo configure
:11299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11300 ac_cv_cxx_const_cast
=yes
11302 echo "configure: failed program was:" >&5
11303 cat conftest.
$ac_ext >&5
11305 ac_cv_cxx_const_cast
=no
11309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11310 ac_cpp
='$CPP $CPPFLAGS'
11311 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11312 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11313 cross_compiling
=$ac_cv_prog_cc_cross
11318 echo "$ac_t""$ac_cv_cxx_const_cast" 1>&6
11319 if test "$ac_cv_cxx_const_cast" = yes; then
11320 cat >> confdefs.h
<<\EOF
11321 #define HAVE_CONST_CAST
11329 /usr/local/include \
11331 /usr/Motif-1.2/include \
11332 /usr/Motif-2.1/include \
11334 /usr/include/Motif1.2 \
11335 /opt/xpm/include/X11 \
11336 /opt/GBxpm/include/ \
11337 /opt/GBxpm/X11/include/ \
11339 /usr/Motif1.2/include \
11341 /usr/openwin/include \
11345 /usr/X11R6/include \
11346 /usr/X11R6.4/include \
11347 /usr/X11R5/include \
11348 /usr/X11R4/include \
11350 /usr/include/X11R6 \
11351 /usr/include/X11R5 \
11352 /usr/include/X11R4 \
11354 /usr/local/X11R6/include \
11355 /usr/local/X11R5/include \
11356 /usr/local/X11R4/include \
11358 /usr/local/include/X11R6 \
11359 /usr/local/include/X11R5 \
11360 /usr/local/include/X11R4 \
11364 /usr/local/X11/include \
11365 /usr/local/include/X11 \
11367 /usr/X386/include \
11368 /usr/x386/include \
11369 /usr/XFree86/include/X11 \
11371 X:/XFree86/include \
11372 X:/XFree86/include/X11 \
11375 /usr/local/include/gtk \
11376 /usr/include/glib \
11377 /usr/local/include/glib \
11380 /usr/local/include/qt \
11382 /usr/include/windows \
11383 /usr/include/wine \
11384 /usr/local/include/wine \
11386 /usr/unsupported/include \
11387 /usr/athena/include \
11388 /usr/local/x11r5/include \
11389 /usr/lpp/Xamples/include \
11391 /usr/openwin/share/include"
11393 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11396 cat > confcache
<<\EOF
11397 # This file is a shell script that caches the results of configure
11398 # tests run on this system so they can be shared between configure
11399 # scripts and configure runs. It is not useful on other systems.
11400 # If it contains results you don't want to keep, you may remove or edit it.
11402 # By default, configure uses ./config.cache as the cache file,
11403 # creating it if it does not exist already. You can give configure
11404 # the --cache-file=FILE option to use a different cache file; that is
11405 # what configure does when it calls configure scripts in
11406 # subdirectories, so they share the cache.
11407 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11408 # config.status only pays attention to the cache file if you give it the
11409 # --recheck option to rerun configure.
11412 # The following way of writing the cache mishandles newlines in values,
11413 # but we know of no workaround that is simple, portable, and efficient.
11414 # So, don't put newlines in cache variables' values.
11415 # Ultrix sh set writes to stderr and can't be redirected directly,
11416 # and sets the high bit in the cache file unless we assign to the vars.
11418 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11420 # `set' does not quote correctly, so add quotes (double-quote substitution
11421 # turns \\\\ into \\, and sed turns \\ into \).
11423 -e "s/'/'\\\\''/g" \
11424 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11427 # `set' quotes correctly as required by POSIX, so do not add quotes.
11428 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11431 if cmp -s $cache_file confcache
; then
11434 if test -w $cache_file; then
11435 echo "updating cache $cache_file"
11436 cat confcache
> $cache_file
11438 echo "not updating unwritable cache $cache_file"
11444 if test "$USE_LINUX" = 1; then
11445 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11446 echo "configure:11447: checking for glibc 2.1 or later" >&5
11447 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11448 echo $ac_n "(cached) $ac_c" 1>&6
11451 cat > conftest.
$ac_ext <<EOF
11452 #line 11453 "configure"
11453 #include "confdefs.h"
11454 #include <features.h>
11457 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11458 #error not glibc2.1
11463 if { (eval echo configure
:11464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11466 wx_cv_lib_glibc21
=yes
11469 echo "configure: failed program was:" >&5
11470 cat conftest.
$ac_ext >&5
11473 wx_cv_lib_glibc21
=no
11481 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11482 if test "$wx_cv_lib_glibc21" = "yes"; then
11483 cat >> confdefs.h
<<\EOF
11484 #define wxHAVE_GLIBC2 1
11490 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11491 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11492 cat >> confdefs.h
<<\EOF
11493 #define _GNU_SOURCE 1
11502 if test "$wxUSE_REGEX" != "no"; then
11503 cat >> confdefs.h
<<\EOF
11504 #define wxUSE_REGEX 1
11508 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11509 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11510 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11511 echo "configure:11512: checking for regex.h" >&5
11512 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11513 echo $ac_n "(cached) $ac_c" 1>&6
11515 cat > conftest.
$ac_ext <<EOF
11516 #line 11517 "configure"
11517 #include "confdefs.h"
11520 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11521 { (eval echo configure
:11522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11522 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11523 if test -z "$ac_err"; then
11525 eval "ac_cv_header_$ac_safe=yes"
11528 echo "configure: failed program was:" >&5
11529 cat conftest.
$ac_ext >&5
11531 eval "ac_cv_header_$ac_safe=no"
11535 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11536 echo "$ac_t""yes" 1>&6
11537 for ac_func
in regcomp
11539 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11540 echo "configure:11541: checking for $ac_func" >&5
11541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11542 echo $ac_n "(cached) $ac_c" 1>&6
11544 cat > conftest.
$ac_ext <<EOF
11545 #line 11546 "configure"
11546 #include "confdefs.h"
11547 /* System header to define __stub macros and hopefully few prototypes,
11548 which can conflict with char $ac_func(); below. */
11549 #include <assert.h>
11550 /* Override any gcc2 internal prototype to avoid an error. */
11551 /* We use char because int might match the return type of a gcc2
11552 builtin and then its argument prototype would still apply. */
11557 /* The GNU C library defines this for functions which it implements
11558 to always fail with ENOSYS. Some functions are actually named
11559 something starting with __ and the normal name is an alias. */
11560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11568 if { (eval echo configure
:11569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11570 eval "ac_cv_func_$ac_func=yes"
11572 echo "configure: failed program was:" >&5
11573 cat conftest.
$ac_ext >&5
11575 eval "ac_cv_func_$ac_func=no"
11580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11581 echo "$ac_t""yes" 1>&6
11582 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11583 cat >> confdefs.h
<<EOF
11584 #define $ac_tr_func 1
11588 echo "$ac_t""no" 1>&6
11593 echo "$ac_t""no" 1>&6
11597 if test "x$ac_cv_func_regcomp" != "xyes"; then
11598 if test "$wxUSE_REGEX" = "sys" ; then
11599 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11601 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11602 wxUSE_REGEX
=builtin
11609 if test "$wxUSE_REGEX" = "builtin" ; then
11610 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11617 if test "$wxUSE_ZLIB" != "no" ; then
11618 cat >> confdefs.h
<<\EOF
11619 #define wxUSE_ZLIB 1
11623 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11624 if test "$USE_DARWIN" = 1; then
11625 system_zlib_h_ok
="yes"
11627 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11628 echo "configure:11629: checking for zlib.h >= 1.1.4" >&5
11629 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11630 echo $ac_n "(cached) $ac_c" 1>&6
11632 if test "$cross_compiling" = yes; then
11633 unset ac_cv_header_zlib_h
11636 cat > conftest.
$ac_ext <<EOF
11637 #line 11638 "configure"
11638 #include "confdefs.h"
11645 FILE *f=fopen("conftestval", "w");
11648 ZLIB_VERSION[0] == '1' &&
11649 (ZLIB_VERSION[2] > '1' ||
11650 (ZLIB_VERSION[2] == '1' &&
11651 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11656 if { (eval echo configure
:11657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11658 ac_cv_header_zlib_h
=`cat conftestval`
11660 echo "configure: failed program was:" >&5
11661 cat conftest.
$ac_ext >&5
11663 ac_cv_header_zlib_h
=no
11671 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11672 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11673 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11674 echo "configure:11675: checking for zlib.h" >&5
11675 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11676 echo $ac_n "(cached) $ac_c" 1>&6
11678 cat > conftest.
$ac_ext <<EOF
11679 #line 11680 "configure"
11680 #include "confdefs.h"
11683 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11684 { (eval echo configure
:11685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11685 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11686 if test -z "$ac_err"; then
11688 eval "ac_cv_header_$ac_safe=yes"
11691 echo "configure: failed program was:" >&5
11692 cat conftest.
$ac_ext >&5
11694 eval "ac_cv_header_$ac_safe=no"
11698 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11699 echo "$ac_t""yes" 1>&6
11702 echo "$ac_t""no" 1>&6
11706 system_zlib_h_ok
=$ac_cv_header_zlib_h
11709 if test "$system_zlib_h_ok" = "yes"; then
11710 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11711 echo "configure:11712: checking for deflate in -lz" >&5
11712 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11713 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11714 echo $ac_n "(cached) $ac_c" 1>&6
11716 ac_save_LIBS
="$LIBS"
11718 cat > conftest.
$ac_ext <<EOF
11719 #line 11720 "configure"
11720 #include "confdefs.h"
11721 /* Override any gcc2 internal prototype to avoid an error. */
11722 /* We use char because int might match the return type of a gcc2
11723 builtin and then its argument prototype would still apply. */
11730 if { (eval echo configure
:11731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11732 eval "ac_cv_lib_$ac_lib_var=yes"
11734 echo "configure: failed program was:" >&5
11735 cat conftest.
$ac_ext >&5
11737 eval "ac_cv_lib_$ac_lib_var=no"
11740 LIBS
="$ac_save_LIBS"
11743 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11744 echo "$ac_t""yes" 1>&6
11747 echo "$ac_t""no" 1>&6
11752 if test "x$ZLIB_LINK" = "x" ; then
11753 if test "$wxUSE_ZLIB" = "sys" ; then
11754 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11756 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11764 if test "$wxUSE_ZLIB" = "builtin" ; then
11765 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11772 if test "$wxUSE_LIBPNG" != "no" ; then
11773 cat >> confdefs.h
<<\EOF
11774 #define wxUSE_LIBPNG 1
11778 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11779 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11783 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11784 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11785 wxUSE_LIBPNG
=builtin
11788 if test "$wxUSE_MGL" != 1 ; then
11789 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11790 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11791 echo "configure:11792: checking for png.h > 0.90" >&5
11792 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11793 echo $ac_n "(cached) $ac_c" 1>&6
11795 if test "$cross_compiling" = yes; then
11796 unset ac_cv_header_png_h
11799 cat > conftest.
$ac_ext <<EOF
11800 #line 11801 "configure"
11801 #include "confdefs.h"
11808 FILE *f=fopen("conftestval", "w");
11811 PNG_LIBPNG_VER > 90 ? "yes" : "no");
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
11818 ac_cv_header_png_h
=`cat conftestval`
11820 echo "configure: failed program was:" >&5
11821 cat conftest.
$ac_ext >&5
11823 ac_cv_header_png_h
=no
11831 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11832 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11833 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11834 echo "configure:11835: checking for png.h" >&5
11835 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11836 echo $ac_n "(cached) $ac_c" 1>&6
11838 cat > conftest.
$ac_ext <<EOF
11839 #line 11840 "configure"
11840 #include "confdefs.h"
11843 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11844 { (eval echo configure
:11845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11845 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11846 if test -z "$ac_err"; then
11848 eval "ac_cv_header_$ac_safe=yes"
11851 echo "configure: failed program was:" >&5
11852 cat conftest.
$ac_ext >&5
11854 eval "ac_cv_header_$ac_safe=no"
11858 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11859 echo "$ac_t""yes" 1>&6
11862 echo "$ac_t""no" 1>&6
11866 if test "$ac_cv_header_png_h" = "yes"; then
11867 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11868 echo "configure:11869: checking for png_check_sig in -lpng" >&5
11869 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11870 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11871 echo $ac_n "(cached) $ac_c" 1>&6
11873 ac_save_LIBS
="$LIBS"
11874 LIBS
="-lpng -lz -lm $LIBS"
11875 cat > conftest.
$ac_ext <<EOF
11876 #line 11877 "configure"
11877 #include "confdefs.h"
11878 /* Override any gcc2 internal prototype to avoid an error. */
11879 /* We use char because int might match the return type of a gcc2
11880 builtin and then its argument prototype would still apply. */
11881 char png_check_sig();
11887 if { (eval echo configure
:11888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11889 eval "ac_cv_lib_$ac_lib_var=yes"
11891 echo "configure: failed program was:" >&5
11892 cat conftest.
$ac_ext >&5
11894 eval "ac_cv_lib_$ac_lib_var=no"
11897 LIBS
="$ac_save_LIBS"
11900 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11901 echo "$ac_t""yes" 1>&6
11904 echo "$ac_t""no" 1>&6
11909 if test "x$PNG_LINK" = "x" ; then
11910 if test "$wxUSE_LIBPNG" = "sys" ; then
11911 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11913 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
11914 wxUSE_LIBPNG
=builtin
11922 if test "$wxUSE_LIBPNG" = "builtin" ; then
11923 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11926 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11932 if test "$wxUSE_LIBJPEG" != "no" ; then
11933 cat >> confdefs.h
<<\EOF
11934 #define wxUSE_LIBJPEG 1
11938 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11939 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11943 if test "$wxUSE_MGL" != 1 ; then
11944 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11945 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11946 echo "configure:11947: checking for jpeglib.h" >&5
11947 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11948 echo $ac_n "(cached) $ac_c" 1>&6
11950 cat > conftest.
$ac_ext <<EOF
11951 #line 11952 "configure"
11952 #include "confdefs.h"
11954 #undef HAVE_STDLIB_H
11956 #include <jpeglib.h>
11963 if { (eval echo configure
:11964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11965 ac_cv_header_jpeglib_h
=yes
11967 echo "configure: failed program was:" >&5
11968 cat conftest.
$ac_ext >&5
11970 ac_cv_header_jpeglib_h
=no
11977 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11979 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11980 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11981 echo "configure:11982: checking for jpeg_read_header in -ljpeg" >&5
11982 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11983 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11984 echo $ac_n "(cached) $ac_c" 1>&6
11986 ac_save_LIBS
="$LIBS"
11987 LIBS
="-ljpeg $LIBS"
11988 cat > conftest.
$ac_ext <<EOF
11989 #line 11990 "configure"
11990 #include "confdefs.h"
11991 /* Override any gcc2 internal prototype to avoid an error. */
11992 /* We use char because int might match the return type of a gcc2
11993 builtin and then its argument prototype would still apply. */
11994 char jpeg_read_header();
12000 if { (eval echo configure
:12001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12002 eval "ac_cv_lib_$ac_lib_var=yes"
12004 echo "configure: failed program was:" >&5
12005 cat conftest.
$ac_ext >&5
12007 eval "ac_cv_lib_$ac_lib_var=no"
12010 LIBS
="$ac_save_LIBS"
12013 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12014 echo "$ac_t""yes" 1>&6
12015 JPEG_LINK
=" -ljpeg"
12017 echo "$ac_t""no" 1>&6
12022 if test "x$JPEG_LINK" = "x" ; then
12023 if test "$wxUSE_LIBJPEG" = "sys" ; then
12024 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
12026 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
12027 wxUSE_LIBJPEG
=builtin
12035 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12036 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12043 TIFF_PREREQ_LINKS
=-lm
12044 if test "$wxUSE_LIBTIFF" != "no" ; then
12045 cat >> confdefs.h
<<\EOF
12046 #define wxUSE_LIBTIFF 1
12050 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12051 if test "$wxUSE_LIBJPEG" = "sys"; then
12052 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12054 if test "$wxUSE_ZLIB" = "sys"; then
12055 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12057 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12058 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12059 echo "configure:12060: checking for tiffio.h" >&5
12060 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12061 echo $ac_n "(cached) $ac_c" 1>&6
12063 cat > conftest.
$ac_ext <<EOF
12064 #line 12065 "configure"
12065 #include "confdefs.h"
12066 #include <tiffio.h>
12068 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12069 { (eval echo configure
:12070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12070 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12071 if test -z "$ac_err"; then
12073 eval "ac_cv_header_$ac_safe=yes"
12076 echo "configure: failed program was:" >&5
12077 cat conftest.
$ac_ext >&5
12079 eval "ac_cv_header_$ac_safe=no"
12083 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12084 echo "$ac_t""yes" 1>&6
12085 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12086 echo "configure:12087: checking for TIFFError in -ltiff" >&5
12087 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12088 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12089 echo $ac_n "(cached) $ac_c" 1>&6
12091 ac_save_LIBS
="$LIBS"
12092 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12093 cat > conftest.
$ac_ext <<EOF
12094 #line 12095 "configure"
12095 #include "confdefs.h"
12096 /* Override any gcc2 internal prototype to avoid an error. */
12097 /* We use char because int might match the return type of a gcc2
12098 builtin and then its argument prototype would still apply. */
12105 if { (eval echo configure
:12106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12107 eval "ac_cv_lib_$ac_lib_var=yes"
12109 echo "configure: failed program was:" >&5
12110 cat conftest.
$ac_ext >&5
12112 eval "ac_cv_lib_$ac_lib_var=no"
12115 LIBS
="$ac_save_LIBS"
12118 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12119 echo "$ac_t""yes" 1>&6
12120 TIFF_LINK
=" -ltiff"
12122 echo "$ac_t""no" 1>&6
12127 echo "$ac_t""no" 1>&6
12131 if test "x$TIFF_LINK" = "x" ; then
12132 if test "$wxUSE_LIBTIFF" = "sys" ; then
12133 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12135 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12136 wxUSE_LIBTIFF
=builtin
12143 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12144 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12156 if test "$USE_WIN32" = 1 ; then
12157 for ac_hdr
in w32api.h
12159 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12160 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12161 echo "configure:12162: checking for $ac_hdr" >&5
12162 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12163 echo $ac_n "(cached) $ac_c" 1>&6
12165 cat > conftest.
$ac_ext <<EOF
12166 #line 12167 "configure"
12167 #include "confdefs.h"
12170 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12171 { (eval echo configure
:12172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12172 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12173 if test -z "$ac_err"; then
12175 eval "ac_cv_header_$ac_safe=yes"
12178 echo "configure: failed program was:" >&5
12179 cat conftest.
$ac_ext >&5
12181 eval "ac_cv_header_$ac_safe=no"
12185 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12186 echo "$ac_t""yes" 1>&6
12187 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12188 cat >> confdefs.h
<<EOF
12189 #define $ac_tr_hdr 1
12193 echo "$ac_t""no" 1>&6
12197 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12198 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12199 echo "configure:12200: checking for windows.h" >&5
12200 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12201 echo $ac_n "(cached) $ac_c" 1>&6
12203 cat > conftest.
$ac_ext <<EOF
12204 #line 12205 "configure"
12205 #include "confdefs.h"
12206 #include <windows.h>
12208 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12209 { (eval echo configure
:12210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12210 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12211 if test -z "$ac_err"; then
12213 eval "ac_cv_header_$ac_safe=yes"
12216 echo "configure: failed program was:" >&5
12217 cat conftest.
$ac_ext >&5
12219 eval "ac_cv_header_$ac_safe=no"
12223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12224 echo "$ac_t""yes" 1>&6
12227 echo "$ac_t""no" 1>&6
12229 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12234 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12235 echo "configure:12236: checking if w32api has good enough MSIE support" >&5
12236 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12237 echo $ac_n "(cached) $ac_c" 1>&6
12240 cat > conftest.
$ac_ext <<EOF
12241 #line 12242 "configure"
12242 #include "confdefs.h"
12243 #include <w32api.h>
12246 #define wxCHECK_W32API_VERSION( major, minor ) \
12247 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12248 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12249 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12251 #if !wxCHECK_W32API_VERSION(1,1)
12252 #error You need w32api 1.1 or newer
12257 if { (eval echo configure
:12258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12260 wx_cv_w32api_win32_ie
=yes
12263 echo "configure: failed program was:" >&5
12264 cat conftest.
$ac_ext >&5
12267 wx_cv_w32api_win32_ie
=no
12274 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12275 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12276 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12279 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12281 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
12282 LIBS
="$LIBS -loleacc"
12287 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12288 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12291 if test "$wxUSE_ODBC" = "sys" ; then
12294 if test "$wxUSE_ODBC" = "yes" ; then
12295 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12296 cat >> confdefs.h
<<\EOF
12297 #define wxUSE_ODBC 1
12302 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12303 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12305 WIN32INSTALL
=win32install
12308 if test "$USE_DARWIN" = 1; then
12309 if test "$wxUSE_PRECOMP" = "yes"; then
12310 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12312 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12316 if test "$wxUSE_GUI" = "yes"; then
12325 if test "$wxUSE_MSW" = 1 ; then
12329 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12332 if test "$wxUSE_GTK" = 1; then
12333 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12334 echo "configure:12335: checking for GTK+ version" >&5
12336 gtk_version_cached
=1
12337 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12338 echo $ac_n "(cached) $ac_c" 1>&6
12341 gtk_version_cached
=0
12342 echo "$ac_t""" 1>&6
12345 if test "$wxUSE_THREADS" = "yes"; then
12346 GTK_MODULES
=gthread
12350 if test "x$wxUSE_GTK2" = "xyes"; then
12351 # Check whether --enable-gtktest or --disable-gtktest was given.
12352 if test "${enable_gtktest+set}" = set; then
12353 enableval
="$enable_gtktest"
12360 pkg_config_args
=gtk
+-2.0
12361 for module
in .
$GTK_MODULES
12365 pkg_config_args
="$pkg_config_args gthread-2.0"
12372 # Extract the first word of "pkg-config", so it can be a program name with args.
12373 set dummy pkg
-config; ac_word
=$2
12374 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12375 echo "configure:12376: checking for $ac_word" >&5
12376 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12377 echo $ac_n "(cached) $ac_c" 1>&6
12379 case "$PKG_CONFIG" in
12381 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12384 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12387 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12389 for ac_dir
in $ac_dummy; do
12390 test -z "$ac_dir" && ac_dir
=.
12391 if test -f $ac_dir/$ac_word; then
12392 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12397 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12401 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12402 if test -n "$PKG_CONFIG"; then
12403 echo "$ac_t""$PKG_CONFIG" 1>&6
12405 echo "$ac_t""no" 1>&6
12409 if test x
$PKG_CONFIG != xno
; then
12410 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12413 echo *** pkg
-config too old
; version
0.7 or better required.
12421 min_gtk_version
=2.0.0
12422 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12423 echo "configure:12424: checking for GTK+ - version >= $min_gtk_version" >&5
12425 if test x
$PKG_CONFIG != xno
; then
12426 ## don't try to run the test against uninstalled libtool libs
12427 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12428 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12432 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12439 if test x
"$no_gtk" = x
; then
12440 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12441 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12442 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12444 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12446 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12448 if test "x$enable_gtktest" = "xyes" ; then
12449 ac_save_CFLAGS
="$CFLAGS"
12450 ac_save_LIBS
="$LIBS"
12451 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12452 LIBS
="$GTK_LIBS $LIBS"
12454 if test "$cross_compiling" = yes; then
12455 echo $ac_n "cross compiling; assumed OK... $ac_c"
12457 cat > conftest.
$ac_ext <<EOF
12458 #line 12459 "configure"
12459 #include "confdefs.h"
12461 #include <gtk/gtk.h>
12463 #include <stdlib.h>
12468 int major, minor, micro;
12471 system ("touch conf.gtktest");
12473 /* HP/UX 9 (%@#!) writes to sscanf strings */
12474 tmp_version = g_strdup("$min_gtk_version");
12475 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12476 printf("%s, bad version string\n", "$min_gtk_version");
12480 if ((gtk_major_version != $gtk_config_major_version) ||
12481 (gtk_minor_version != $gtk_config_minor_version) ||
12482 (gtk_micro_version != $gtk_config_micro_version))
12484 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12485 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12486 gtk_major_version, gtk_minor_version, gtk_micro_version);
12487 printf ("*** was found! If pkg-config was correct, then it is best\n");
12488 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12489 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12490 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12491 printf("*** required on your system.\n");
12492 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12493 printf("*** to point to the correct configuration files\n");
12495 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12496 (gtk_minor_version != GTK_MINOR_VERSION) ||
12497 (gtk_micro_version != GTK_MICRO_VERSION))
12499 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12500 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12501 printf("*** library (version %d.%d.%d)\n",
12502 gtk_major_version, gtk_minor_version, gtk_micro_version);
12506 if ((gtk_major_version > major) ||
12507 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12508 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12514 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12515 gtk_major_version, gtk_minor_version, gtk_micro_version);
12516 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12517 major, minor, micro);
12518 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12520 printf("*** If you have already installed a sufficiently new version, this error\n");
12521 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12522 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12523 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12524 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12525 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12526 printf("*** so that the correct libraries are found at run-time))\n");
12533 if { (eval echo configure
:12534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12537 echo "configure: failed program was:" >&5
12538 cat conftest.
$ac_ext >&5
12545 CFLAGS
="$ac_save_CFLAGS"
12546 LIBS
="$ac_save_LIBS"
12549 if test "x$no_gtk" = x
; then
12550 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12553 echo "$ac_t""no" 1>&6
12554 if test "$PKG_CONFIG" = "no" ; then
12555 echo "*** A new enough version of pkg-config was not found."
12556 echo "*** See http://pkgconfig.sourceforge.net"
12558 if test -f conf.gtktest
; then
12561 echo "*** Could not run GTK+ test program, checking why..."
12562 ac_save_CFLAGS
="$CFLAGS"
12563 ac_save_LIBS
="$LIBS"
12564 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12565 LIBS
="$LIBS $GTK_LIBS"
12566 cat > conftest.
$ac_ext <<EOF
12567 #line 12568 "configure"
12568 #include "confdefs.h"
12570 #include <gtk/gtk.h>
12574 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12577 if { (eval echo configure
:12578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12579 echo "*** The test program compiled, but did not run. This usually means"
12580 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12581 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12582 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12583 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12584 echo "*** is required on your system"
12586 echo "*** If you have an old version installed, it is best to remove it, although"
12587 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12589 echo "configure: failed program was:" >&5
12590 cat conftest.
$ac_ext >&5
12592 echo "*** The test program failed to compile or link. See the file config.log for the"
12593 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12596 CFLAGS
="$ac_save_CFLAGS"
12597 LIBS
="$ac_save_LIBS"
12609 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12610 if test "${with_gtk_prefix+set}" = set; then
12611 withval
="$with_gtk_prefix"
12612 gtk_config_prefix
="$withval"
12614 gtk_config_prefix
=""
12617 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12618 if test "${with_gtk_exec_prefix+set}" = set; then
12619 withval
="$with_gtk_exec_prefix"
12620 gtk_config_exec_prefix
="$withval"
12622 gtk_config_exec_prefix
=""
12625 # Check whether --enable-gtktest or --disable-gtktest was given.
12626 if test "${enable_gtktest+set}" = set; then
12627 enableval
="$enable_gtktest"
12634 for module
in .
$GTK_MODULES
12638 gtk_config_args
="$gtk_config_args gthread"
12643 if test x
$gtk_config_exec_prefix != x
; then
12644 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12645 if test x
${GTK_CONFIG+set} != xset
; then
12646 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12649 if test x
$gtk_config_prefix != x
; then
12650 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12651 if test x
${GTK_CONFIG+set} != xset
; then
12652 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12656 # Extract the first word of "gtk-config", so it can be a program name with args.
12657 set dummy gtk
-config; ac_word
=$2
12658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12659 echo "configure:12660: checking for $ac_word" >&5
12660 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12661 echo $ac_n "(cached) $ac_c" 1>&6
12663 case "$GTK_CONFIG" in
12665 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12668 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12671 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12673 for ac_dir
in $ac_dummy; do
12674 test -z "$ac_dir" && ac_dir
=.
12675 if test -f $ac_dir/$ac_word; then
12676 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12681 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12685 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12686 if test -n "$GTK_CONFIG"; then
12687 echo "$ac_t""$GTK_CONFIG" 1>&6
12689 echo "$ac_t""no" 1>&6
12692 min_gtk_version
=1.2.7
12693 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12694 echo "configure:12695: checking for GTK - version >= $min_gtk_version" >&5
12696 if test "$GTK_CONFIG" = "no" ; then
12699 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12700 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12701 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12702 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12703 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12704 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12705 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12707 if test "x$enable_gtktest" = "xyes" ; then
12708 ac_save_CFLAGS
="$CFLAGS"
12709 ac_save_LIBS
="$LIBS"
12710 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12711 LIBS
="$GTK_LIBS $LIBS"
12713 if test "$cross_compiling" = yes; then
12714 echo $ac_n "cross compiling; assumed OK... $ac_c"
12716 cat > conftest.
$ac_ext <<EOF
12717 #line 12718 "configure"
12718 #include "confdefs.h"
12720 #include <gtk/gtk.h>
12722 #include <stdlib.h>
12727 int major, minor, micro;
12730 system ("touch conf.gtktest");
12732 /* HP/UX 9 (%@#!) writes to sscanf strings */
12733 tmp_version = g_strdup("$min_gtk_version");
12734 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12735 printf("%s, bad version string\n", "$min_gtk_version");
12739 if ((gtk_major_version != $gtk_config_major_version) ||
12740 (gtk_minor_version != $gtk_config_minor_version) ||
12741 (gtk_micro_version != $gtk_config_micro_version))
12743 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12744 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12745 gtk_major_version, gtk_minor_version, gtk_micro_version);
12746 printf ("*** was found! If gtk-config was correct, then it is best\n");
12747 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12748 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12749 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12750 printf("*** required on your system.\n");
12751 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12752 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12753 printf("*** before re-running configure\n");
12755 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12756 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12757 (gtk_minor_version != GTK_MINOR_VERSION) ||
12758 (gtk_micro_version != GTK_MICRO_VERSION))
12760 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12761 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12762 printf("*** library (version %d.%d.%d)\n",
12763 gtk_major_version, gtk_minor_version, gtk_micro_version);
12765 #endif /* defined (GTK_MAJOR_VERSION) ... */
12768 if ((gtk_major_version > major) ||
12769 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12770 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12776 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12777 gtk_major_version, gtk_minor_version, gtk_micro_version);
12778 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12779 major, minor, micro);
12780 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12782 printf("*** If you have already installed a sufficiently new version, this error\n");
12783 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12784 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12785 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12786 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12787 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12788 printf("*** so that the correct libraries are found at run-time))\n");
12795 if { (eval echo configure
:12796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12799 echo "configure: failed program was:" >&5
12800 cat conftest.
$ac_ext >&5
12807 CFLAGS
="$ac_save_CFLAGS"
12808 LIBS
="$ac_save_LIBS"
12811 if test "x$no_gtk" = x
; then
12812 echo "$ac_t""yes" 1>&6
12813 wx_cv_lib_gtk
=1.2.7
12815 echo "$ac_t""no" 1>&6
12816 if test "$GTK_CONFIG" = "no" ; then
12817 echo "*** The gtk-config script installed by GTK could not be found"
12818 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12819 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12820 echo "*** full path to gtk-config."
12822 if test -f conf.gtktest
; then
12825 echo "*** Could not run GTK test program, checking why..."
12826 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12827 LIBS
="$LIBS $GTK_LIBS"
12828 cat > conftest.
$ac_ext <<EOF
12829 #line 12830 "configure"
12830 #include "confdefs.h"
12832 #include <gtk/gtk.h>
12836 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12839 if { (eval echo configure
:12840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12841 echo "*** The test program compiled, but did not run. This usually means"
12842 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12843 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12844 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12845 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12846 echo "*** is required on your system"
12848 echo "*** If you have an old version installed, it is best to remove it, although"
12849 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12851 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12852 echo "*** came with the system with the command"
12854 echo "*** rpm --erase --nodeps gtk gtk-devel"
12856 echo "configure: failed program was:" >&5
12857 cat conftest.
$ac_ext >&5
12859 echo "*** The test program failed to compile or link. See the file config.log for the"
12860 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12861 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12862 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12865 CFLAGS
="$ac_save_CFLAGS"
12866 LIBS
="$ac_save_LIBS"
12878 if test -z "$wx_cv_lib_gtk"; then
12879 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12880 if test "${with_gtk_prefix+set}" = set; then
12881 withval
="$with_gtk_prefix"
12882 gtk_config_prefix
="$withval"
12884 gtk_config_prefix
=""
12887 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12888 if test "${with_gtk_exec_prefix+set}" = set; then
12889 withval
="$with_gtk_exec_prefix"
12890 gtk_config_exec_prefix
="$withval"
12892 gtk_config_exec_prefix
=""
12895 # Check whether --enable-gtktest or --disable-gtktest was given.
12896 if test "${enable_gtktest+set}" = set; then
12897 enableval
="$enable_gtktest"
12904 for module
in .
$GTK_MODULES
12908 gtk_config_args
="$gtk_config_args gthread"
12913 if test x
$gtk_config_exec_prefix != x
; then
12914 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12915 if test x
${GTK_CONFIG+set} != xset
; then
12916 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12919 if test x
$gtk_config_prefix != x
; then
12920 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12921 if test x
${GTK_CONFIG+set} != xset
; then
12922 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12926 # Extract the first word of "gtk-config", so it can be a program name with args.
12927 set dummy gtk
-config; ac_word
=$2
12928 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12929 echo "configure:12930: checking for $ac_word" >&5
12930 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12931 echo $ac_n "(cached) $ac_c" 1>&6
12933 case "$GTK_CONFIG" in
12935 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12938 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12941 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12943 for ac_dir
in $ac_dummy; do
12944 test -z "$ac_dir" && ac_dir
=.
12945 if test -f $ac_dir/$ac_word; then
12946 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12951 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12955 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12956 if test -n "$GTK_CONFIG"; then
12957 echo "$ac_t""$GTK_CONFIG" 1>&6
12959 echo "$ac_t""no" 1>&6
12962 min_gtk_version
=1.2.3
12963 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12964 echo "configure:12965: checking for GTK - version >= $min_gtk_version" >&5
12966 if test "$GTK_CONFIG" = "no" ; then
12969 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12970 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12971 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12973 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12974 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12975 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12976 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12977 if test "x$enable_gtktest" = "xyes" ; then
12978 ac_save_CFLAGS
="$CFLAGS"
12979 ac_save_LIBS
="$LIBS"
12980 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12981 LIBS
="$GTK_LIBS $LIBS"
12983 if test "$cross_compiling" = yes; then
12984 echo $ac_n "cross compiling; assumed OK... $ac_c"
12986 cat > conftest.
$ac_ext <<EOF
12987 #line 12988 "configure"
12988 #include "confdefs.h"
12990 #include <gtk/gtk.h>
12992 #include <stdlib.h>
12997 int major, minor, micro;
13000 system ("touch conf.gtktest");
13002 /* HP/UX 9 (%@#!) writes to sscanf strings */
13003 tmp_version = g_strdup("$min_gtk_version");
13004 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13005 printf("%s, bad version string\n", "$min_gtk_version");
13009 if ((gtk_major_version != $gtk_config_major_version) ||
13010 (gtk_minor_version != $gtk_config_minor_version) ||
13011 (gtk_micro_version != $gtk_config_micro_version))
13013 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
13014 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
13015 gtk_major_version, gtk_minor_version, gtk_micro_version);
13016 printf ("*** was found! If gtk-config was correct, then it is best\n");
13017 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
13018 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13019 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13020 printf("*** required on your system.\n");
13021 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
13022 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
13023 printf("*** before re-running configure\n");
13025 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
13026 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
13027 (gtk_minor_version != GTK_MINOR_VERSION) ||
13028 (gtk_micro_version != GTK_MICRO_VERSION))
13030 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
13031 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
13032 printf("*** library (version %d.%d.%d)\n",
13033 gtk_major_version, gtk_minor_version, gtk_micro_version);
13035 #endif /* defined (GTK_MAJOR_VERSION) ... */
13038 if ((gtk_major_version > major) ||
13039 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
13040 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
13046 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
13047 gtk_major_version, gtk_minor_version, gtk_micro_version);
13048 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13049 major, minor, micro);
13050 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13052 printf("*** If you have already installed a sufficiently new version, this error\n");
13053 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13054 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13055 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13056 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13057 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13058 printf("*** so that the correct libraries are found at run-time))\n");
13065 if { (eval echo configure
:13066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13069 echo "configure: failed program was:" >&5
13070 cat conftest.
$ac_ext >&5
13077 CFLAGS
="$ac_save_CFLAGS"
13078 LIBS
="$ac_save_LIBS"
13081 if test "x$no_gtk" = x
; then
13082 echo "$ac_t""yes" 1>&6
13083 wx_cv_lib_gtk
=1.2.3
13085 echo "$ac_t""no" 1>&6
13086 if test "$GTK_CONFIG" = "no" ; then
13087 echo "*** The gtk-config script installed by GTK could not be found"
13088 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13089 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13090 echo "*** full path to gtk-config."
13092 if test -f conf.gtktest
; then
13095 echo "*** Could not run GTK test program, checking why..."
13096 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13097 LIBS
="$LIBS $GTK_LIBS"
13098 cat > conftest.
$ac_ext <<EOF
13099 #line 13100 "configure"
13100 #include "confdefs.h"
13102 #include <gtk/gtk.h>
13106 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13109 if { (eval echo configure
:13110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13111 echo "*** The test program compiled, but did not run. This usually means"
13112 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13113 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13114 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13115 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13116 echo "*** is required on your system"
13118 echo "*** If you have an old version installed, it is best to remove it, although"
13119 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13121 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13122 echo "*** came with the system with the command"
13124 echo "*** rpm --erase --nodeps gtk gtk-devel"
13126 echo "configure: failed program was:" >&5
13127 cat conftest.
$ac_ext >&5
13129 echo "*** The test program failed to compile or link. See the file config.log for the"
13130 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13131 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13132 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13135 CFLAGS
="$ac_save_CFLAGS"
13136 LIBS
="$ac_save_LIBS"
13150 if test -z "$wx_cv_lib_gtk"; then
13153 wx_cv_cflags_gtk
=$GTK_CFLAGS
13154 wx_cv_libs_gtk
=$GTK_LIBS
13161 if test "$gtk_version_cached" = 1; then
13162 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13165 case "$wx_cv_lib_gtk" in
13174 *) { echo "configure: error:
13175 Please check that gtk-config is in path, the directory
13176 where GTK+ libraries are installed (returned by
13177 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13178 equivalent variable and GTK+ is version 1.2.3 or above.
13183 if test "$WXGTK20" = 1; then
13184 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13188 if test -z "$PKG_CONFIG"; then
13189 # Extract the first word of "pkg-config", so it can be a program name with args.
13190 set dummy pkg
-config; ac_word
=$2
13191 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13192 echo "configure:13193: checking for $ac_word" >&5
13193 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13194 echo $ac_n "(cached) $ac_c" 1>&6
13196 case "$PKG_CONFIG" in
13198 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13201 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13204 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13206 for ac_dir
in $ac_dummy; do
13207 test -z "$ac_dir" && ac_dir
=.
13208 if test -f $ac_dir/$ac_word; then
13209 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13214 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13218 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13219 if test -n "$PKG_CONFIG"; then
13220 echo "$ac_t""$PKG_CONFIG" 1>&6
13222 echo "$ac_t""no" 1>&6
13227 if test "$PKG_CONFIG" = "no" ; then
13228 echo "*** The pkg-config script could not be found. Make sure it is"
13229 echo "*** in your path, or set the PKG_CONFIG environment variable"
13230 echo "*** to the full path to pkg-config."
13231 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13233 PKG_CONFIG_MIN_VERSION
=0.9.0
13234 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13235 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13236 echo "configure:13237: checking for pangoft2" >&5
13238 if $PKG_CONFIG --exists "pangoft2" ; then
13239 echo "$ac_t""yes" 1>&6
13242 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13243 echo "configure:13244: checking PANGOFT2_CFLAGS" >&5
13244 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13245 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13247 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13248 echo "configure:13249: checking PANGOFT2_LIBS" >&5
13249 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13250 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13254 ## If we have a custom action on failure, don't print errors, but
13255 ## do set a variable so people can do so.
13256 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13263 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13264 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13268 if test $succeeded = yes; then
13270 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13271 LIBS
="$LIBS $PANGOFT2_LIBS"
13275 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13276 wxUSE_PRINTING_ARCHITECTURE
="no"
13283 if test "$wxUSE_UNICODE" = "yes"; then
13284 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13289 if test "$USE_DARWIN" != 1; then
13290 for ac_func
in poll
13292 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13293 echo "configure:13294: checking for $ac_func" >&5
13294 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13295 echo $ac_n "(cached) $ac_c" 1>&6
13297 cat > conftest.
$ac_ext <<EOF
13298 #line 13299 "configure"
13299 #include "confdefs.h"
13300 /* System header to define __stub macros and hopefully few prototypes,
13301 which can conflict with char $ac_func(); below. */
13302 #include <assert.h>
13303 /* Override any gcc2 internal prototype to avoid an error. */
13304 /* We use char because int might match the return type of a gcc2
13305 builtin and then its argument prototype would still apply. */
13310 /* The GNU C library defines this for functions which it implements
13311 to always fail with ENOSYS. Some functions are actually named
13312 something starting with __ and the normal name is an alias. */
13313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13321 if { (eval echo configure
:13322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13323 eval "ac_cv_func_$ac_func=yes"
13325 echo "configure: failed program was:" >&5
13326 cat conftest.
$ac_ext >&5
13328 eval "ac_cv_func_$ac_func=no"
13333 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13334 echo "$ac_t""yes" 1>&6
13335 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13336 cat >> confdefs.h
<<EOF
13337 #define $ac_tr_func 1
13341 echo "$ac_t""no" 1>&6
13347 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13348 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13350 AFMINSTALL
=afminstall
13354 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13355 echo "configure:13356: checking for gdk_im_open in -lgdk" >&5
13356 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13357 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13358 echo $ac_n "(cached) $ac_c" 1>&6
13360 ac_save_LIBS
="$LIBS"
13362 cat > conftest.
$ac_ext <<EOF
13363 #line 13364 "configure"
13364 #include "confdefs.h"
13365 /* Override any gcc2 internal prototype to avoid an error. */
13366 /* We use char because int might match the return type of a gcc2
13367 builtin and then its argument prototype would still apply. */
13368 char gdk_im_open();
13374 if { (eval echo configure
:13375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13376 eval "ac_cv_lib_$ac_lib_var=yes"
13378 echo "configure: failed program was:" >&5
13379 cat conftest.
$ac_ext >&5
13381 eval "ac_cv_lib_$ac_lib_var=no"
13384 LIBS
="$ac_save_LIBS"
13387 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13388 echo "$ac_t""yes" 1>&6
13389 cat >> confdefs.h
<<\EOF
13394 echo "$ac_t""no" 1>&6
13399 if test "$wxUSE_MGL" = 1; then
13400 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13401 echo "configure:13402: checking for SciTech MGL library" >&5
13402 if test "x$MGL_ROOT" = x
; then
13403 echo "$ac_t""not found" 1>&6
13404 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13406 echo "$ac_t""$MGL_ROOT" 1>&6
13409 echo $ac_n "checking for libmgl location""... $ac_c" 1>&6
13410 echo "configure:13411: checking for libmgl location" >&5
13413 if test "x$wxUSE_SHARED" = xyes
; then
13414 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
13416 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
13420 mgl_os_candidates
="dos32/dj2"
13423 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13429 for mgl_os_i
in $mgl_os_candidates ; do
13430 if test "x$mgl_os" = x
; then
13431 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13432 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
13433 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
13438 if test "x$mgl_lib_type" = x
; then
13439 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
13440 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
13441 mgl_lib_type
=release
13448 if test "x$mgl_os" = x
; then
13449 echo "$ac_t""not found" 1>&6
13450 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13452 echo "$ac_t"""$MGL_ROOT/lib
/$mgl_lib_type/$mgl_os"" 1>&6
13454 wxUSE_UNIVERSAL
="yes"
13456 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13457 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13459 AFMINSTALL
=afminstall
13464 if test "$wxUSE_MICROWIN" = 1; then
13465 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13466 echo "configure:13467: checking for MicroWindows" >&5
13467 if test "x$MICROWINDOWS" = x
; then
13468 echo "$ac_t""not found" 1>&6
13469 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13471 echo "$ac_t""$MICROWINDOWS" 1>&6
13474 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13475 echo "$ac_t""MicroWindows' libraries found." 1>&6
13477 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13480 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13481 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13483 wxUSE_UNIVERSAL
="yes"
13485 AFMINSTALL
=afminstall
13487 GUIDIST
=MICROWIN_DIST
13489 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13492 if test "$wxUSE_X11" = 1; then
13493 # If we find X, set shell vars x_includes and x_libraries to the
13494 # paths, otherwise set no_x=yes.
13495 # Uses ac_ vars as temps to allow command line to override cache and checks.
13496 # --without-x overrides everything else, but does not touch the cache.
13497 echo $ac_n "checking for X""... $ac_c" 1>&6
13498 echo "configure:13499: checking for X" >&5
13500 # Check whether --with-x or --without-x was given.
13501 if test "${with_x+set}" = set; then
13506 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13507 if test "x$with_x" = xno
; then
13508 # The user explicitly disabled X.
13511 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13512 # Both variables are already set.
13515 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13516 echo $ac_n "(cached) $ac_c" 1>&6
13518 # One or both of the vars are not set, and there is no cached value.
13519 ac_x_includes
=NO ac_x_libraries
=NO
13521 if mkdir conftestdir
; then
13523 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13524 cat > Imakefile
<<'EOF'
13526 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13528 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13529 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13530 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13531 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13532 for ac_extension
in a so sl
; do
13533 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13534 test -f $ac_im_libdir/libX11.
$ac_extension; then
13535 ac_im_usrlibdir
=$ac_im_libdir; break
13538 # Screen out bogus values from the imake configuration. They are
13539 # bogus both because they are the default anyway, and because
13540 # using them would break gcc on systems where it needs fixed includes.
13541 case "$ac_im_incroot" in
13543 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13545 case "$ac_im_usrlibdir" in
13546 /usr
/lib
| /lib
) ;;
13547 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13554 if test "$ac_x_includes" = NO
; then
13555 # Guess where to find include files, by looking for this one X11 .h file.
13556 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13558 # First, try using that file with no special directory specified.
13559 cat > conftest.
$ac_ext <<EOF
13560 #line 13561 "configure"
13561 #include "confdefs.h"
13562 #include <$x_direct_test_include>
13564 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13565 { (eval echo configure
:13566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13566 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13567 if test -z "$ac_err"; then
13569 # We can compile using X headers with no special include directory.
13573 echo "configure: failed program was:" >&5
13574 cat conftest.
$ac_ext >&5
13576 # Look for the header file in a standard set of common directories.
13577 # Check X11 before X11Rn because it is often a symlink to the current release.
13580 /usr
/X
11R
6/include \
13581 /usr
/X
11R
5/include \
13582 /usr
/X
11R
4/include \
13585 /usr
/include
/X11R6 \
13586 /usr
/include
/X11R5 \
13587 /usr
/include
/X11R4 \
13589 /usr
/local
/X
11/include \
13590 /usr
/local
/X
11R
6/include \
13591 /usr
/local
/X
11R
5/include \
13592 /usr
/local
/X
11R
4/include \
13594 /usr
/local
/include
/X11 \
13595 /usr
/local
/include
/X11R6 \
13596 /usr
/local
/include
/X11R5 \
13597 /usr
/local
/include
/X11R4 \
13599 /usr
/X
386/include \
13600 /usr
/x
386/include \
13601 /usr
/XFree
86/include
/X11 \
13604 /usr
/local
/include \
13605 /usr
/unsupported
/include \
13606 /usr
/athena
/include \
13607 /usr
/local
/x
11r
5/include \
13608 /usr
/lpp
/Xamples
/include \
13610 /usr
/openwin
/include \
13611 /usr
/openwin
/share
/include \
13614 if test -r "$ac_dir/$x_direct_test_include"; then
13615 ac_x_includes
=$ac_dir
13621 fi # $ac_x_includes = NO
13623 if test "$ac_x_libraries" = NO
; then
13624 # Check for the libraries.
13626 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13627 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13629 # See if we find them without any special options.
13630 # Don't add to $LIBS permanently.
13631 ac_save_LIBS
="$LIBS"
13632 LIBS
="-l$x_direct_test_library $LIBS"
13633 cat > conftest.
$ac_ext <<EOF
13634 #line 13635 "configure"
13635 #include "confdefs.h"
13638 ${x_direct_test_function}()
13641 if { (eval echo configure
:13642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13643 LIBS
="$ac_save_LIBS"
13644 # We can link X programs with no special library path.
13647 echo "configure: failed program was:" >&5
13648 cat conftest.
$ac_ext >&5
13650 LIBS
="$ac_save_LIBS"
13651 # First see if replacing the include by lib works.
13652 # Check X11 before X11Rn because it is often a symlink to the current release.
13653 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13664 /usr
/local
/X
11/lib \
13665 /usr
/local
/X
11R
6/lib \
13666 /usr
/local
/X
11R
5/lib \
13667 /usr
/local
/X
11R
4/lib \
13669 /usr
/local
/lib
/X11 \
13670 /usr
/local
/lib
/X11R6 \
13671 /usr
/local
/lib
/X11R5 \
13672 /usr
/local
/lib
/X11R4 \
13676 /usr
/XFree
86/lib
/X11 \
13680 /usr
/unsupported
/lib \
13682 /usr
/local
/x
11r
5/lib \
13683 /usr
/lpp
/Xamples
/lib \
13687 /usr
/openwin
/share
/lib \
13690 for ac_extension
in a so sl
; do
13691 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13692 ac_x_libraries
=$ac_dir
13699 fi # $ac_x_libraries = NO
13701 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13702 # Didn't find X anywhere. Cache the known absence of X.
13703 ac_cv_have_x
="have_x=no"
13705 # Record where we found X for the cache.
13706 ac_cv_have_x
="have_x=yes \
13707 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13711 eval "$ac_cv_have_x"
13714 if test "$have_x" != yes; then
13715 echo "$ac_t""$have_x" 1>&6
13718 # If each of the values was on the command line, it overrides each guess.
13719 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13720 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13721 # Update the cache value to reflect the command line values.
13722 ac_cv_have_x
="have_x=yes \
13723 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13724 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13727 if test "$no_x" = yes; then
13728 # Not all programs may use this symbol, but it does not hurt to define it.
13729 cat >> confdefs.h
<<\EOF
13730 #define X_DISPLAY_MISSING 1
13733 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13735 if test -n "$x_includes"; then
13736 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13739 # It would also be nice to do this for all -L options, not just this one.
13740 if test -n "$x_libraries"; then
13741 X_LIBS
="$X_LIBS -L$x_libraries"
13742 # For Solaris; some versions of Sun CC require a space after -R and
13743 # others require no space. Words are not sufficient . . . .
13744 case "`(uname -sr) 2>/dev/null`" in
13746 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13747 echo "configure:13748: checking whether -R must be followed by a space" >&5
13748 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13749 cat > conftest.
$ac_ext <<EOF
13750 #line 13751 "configure"
13751 #include "confdefs.h"
13757 if { (eval echo configure
:13758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13761 echo "configure: failed program was:" >&5
13762 cat conftest.
$ac_ext >&5
13767 if test $ac_R_nospace = yes; then
13768 echo "$ac_t""no" 1>&6
13769 X_LIBS
="$X_LIBS -R$x_libraries"
13771 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13772 cat > conftest.
$ac_ext <<EOF
13773 #line 13774 "configure"
13774 #include "confdefs.h"
13780 if { (eval echo configure
:13781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13784 echo "configure: failed program was:" >&5
13785 cat conftest.
$ac_ext >&5
13790 if test $ac_R_space = yes; then
13791 echo "$ac_t""yes" 1>&6
13792 X_LIBS
="$X_LIBS -R $x_libraries"
13794 echo "$ac_t""neither works" 1>&6
13797 LIBS
="$ac_xsave_LIBS"
13801 # Check for system-dependent libraries X programs must link with.
13802 # Do this before checking for the system-independent R6 libraries
13803 # (-lICE), since we may need -lsocket or whatever for X linking.
13805 if test "$ISC" = yes; then
13806 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13808 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13809 # libraries were built with DECnet support. And karl@cs.umb.edu says
13810 # the Alpha needs dnet_stub (dnet does not exist).
13811 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13812 echo "configure:13813: checking for dnet_ntoa in -ldnet" >&5
13813 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13814 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13815 echo $ac_n "(cached) $ac_c" 1>&6
13817 ac_save_LIBS
="$LIBS"
13818 LIBS
="-ldnet $LIBS"
13819 cat > conftest.
$ac_ext <<EOF
13820 #line 13821 "configure"
13821 #include "confdefs.h"
13822 /* Override any gcc2 internal prototype to avoid an error. */
13823 /* We use char because int might match the return type of a gcc2
13824 builtin and then its argument prototype would still apply. */
13831 if { (eval echo configure
:13832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13833 eval "ac_cv_lib_$ac_lib_var=yes"
13835 echo "configure: failed program was:" >&5
13836 cat conftest.
$ac_ext >&5
13838 eval "ac_cv_lib_$ac_lib_var=no"
13841 LIBS
="$ac_save_LIBS"
13844 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13845 echo "$ac_t""yes" 1>&6
13846 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13848 echo "$ac_t""no" 1>&6
13851 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13852 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13853 echo "configure:13854: checking for dnet_ntoa in -ldnet_stub" >&5
13854 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13855 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13856 echo $ac_n "(cached) $ac_c" 1>&6
13858 ac_save_LIBS
="$LIBS"
13859 LIBS
="-ldnet_stub $LIBS"
13860 cat > conftest.
$ac_ext <<EOF
13861 #line 13862 "configure"
13862 #include "confdefs.h"
13863 /* Override any gcc2 internal prototype to avoid an error. */
13864 /* We use char because int might match the return type of a gcc2
13865 builtin and then its argument prototype would still apply. */
13872 if { (eval echo configure
:13873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13874 eval "ac_cv_lib_$ac_lib_var=yes"
13876 echo "configure: failed program was:" >&5
13877 cat conftest.
$ac_ext >&5
13879 eval "ac_cv_lib_$ac_lib_var=no"
13882 LIBS
="$ac_save_LIBS"
13885 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13886 echo "$ac_t""yes" 1>&6
13887 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13889 echo "$ac_t""no" 1>&6
13894 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13895 # to get the SysV transport functions.
13896 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13898 # The nsl library prevents programs from opening the X display
13899 # on Irix 5.2, according to dickey@clark.net.
13900 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13901 echo "configure:13902: checking for gethostbyname" >&5
13902 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13903 echo $ac_n "(cached) $ac_c" 1>&6
13905 cat > conftest.
$ac_ext <<EOF
13906 #line 13907 "configure"
13907 #include "confdefs.h"
13908 /* System header to define __stub macros and hopefully few prototypes,
13909 which can conflict with char gethostbyname(); below. */
13910 #include <assert.h>
13911 /* Override any gcc2 internal prototype to avoid an error. */
13912 /* We use char because int might match the return type of a gcc2
13913 builtin and then its argument prototype would still apply. */
13914 char gethostbyname();
13918 /* The GNU C library defines this for functions which it implements
13919 to always fail with ENOSYS. Some functions are actually named
13920 something starting with __ and the normal name is an alias. */
13921 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13929 if { (eval echo configure
:13930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13931 eval "ac_cv_func_gethostbyname=yes"
13933 echo "configure: failed program was:" >&5
13934 cat conftest.
$ac_ext >&5
13936 eval "ac_cv_func_gethostbyname=no"
13941 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13942 echo "$ac_t""yes" 1>&6
13945 echo "$ac_t""no" 1>&6
13948 if test $ac_cv_func_gethostbyname = no
; then
13949 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13950 echo "configure:13951: checking for gethostbyname in -lnsl" >&5
13951 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13952 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13953 echo $ac_n "(cached) $ac_c" 1>&6
13955 ac_save_LIBS
="$LIBS"
13957 cat > conftest.
$ac_ext <<EOF
13958 #line 13959 "configure"
13959 #include "confdefs.h"
13960 /* Override any gcc2 internal prototype to avoid an error. */
13961 /* We use char because int might match the return type of a gcc2
13962 builtin and then its argument prototype would still apply. */
13963 char gethostbyname();
13969 if { (eval echo configure
:13970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13971 eval "ac_cv_lib_$ac_lib_var=yes"
13973 echo "configure: failed program was:" >&5
13974 cat conftest.
$ac_ext >&5
13976 eval "ac_cv_lib_$ac_lib_var=no"
13979 LIBS
="$ac_save_LIBS"
13982 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13983 echo "$ac_t""yes" 1>&6
13984 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13986 echo "$ac_t""no" 1>&6
13991 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13992 # socket/setsockopt and other routines are undefined under SCO ODT
13993 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13994 # on later versions), says simon@lia.di.epfl.ch: it contains
13995 # gethostby* variants that don't use the nameserver (or something).
13996 # -lsocket must be given before -lnsl if both are needed.
13997 # We assume that if connect needs -lnsl, so does gethostbyname.
13998 echo $ac_n "checking for connect""... $ac_c" 1>&6
13999 echo "configure:14000: checking for connect" >&5
14000 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14001 echo $ac_n "(cached) $ac_c" 1>&6
14003 cat > conftest.
$ac_ext <<EOF
14004 #line 14005 "configure"
14005 #include "confdefs.h"
14006 /* System header to define __stub macros and hopefully few prototypes,
14007 which can conflict with char connect(); below. */
14008 #include <assert.h>
14009 /* Override any gcc2 internal prototype to avoid an error. */
14010 /* We use char because int might match the return type of a gcc2
14011 builtin and then its argument prototype would still apply. */
14016 /* The GNU C library defines this for functions which it implements
14017 to always fail with ENOSYS. Some functions are actually named
14018 something starting with __ and the normal name is an alias. */
14019 #if defined (__stub_connect) || defined (__stub___connect)
14027 if { (eval echo configure
:14028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14029 eval "ac_cv_func_connect=yes"
14031 echo "configure: failed program was:" >&5
14032 cat conftest.
$ac_ext >&5
14034 eval "ac_cv_func_connect=no"
14039 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14040 echo "$ac_t""yes" 1>&6
14043 echo "$ac_t""no" 1>&6
14046 if test $ac_cv_func_connect = no
; then
14047 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14048 echo "configure:14049: checking for connect in -lsocket" >&5
14049 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14050 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14051 echo $ac_n "(cached) $ac_c" 1>&6
14053 ac_save_LIBS
="$LIBS"
14054 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14055 cat > conftest.
$ac_ext <<EOF
14056 #line 14057 "configure"
14057 #include "confdefs.h"
14058 /* Override any gcc2 internal prototype to avoid an error. */
14059 /* We use char because int might match the return type of a gcc2
14060 builtin and then its argument prototype would still apply. */
14067 if { (eval echo configure
:14068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14069 eval "ac_cv_lib_$ac_lib_var=yes"
14071 echo "configure: failed program was:" >&5
14072 cat conftest.
$ac_ext >&5
14074 eval "ac_cv_lib_$ac_lib_var=no"
14077 LIBS
="$ac_save_LIBS"
14080 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14081 echo "$ac_t""yes" 1>&6
14082 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14084 echo "$ac_t""no" 1>&6
14089 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14090 echo $ac_n "checking for remove""... $ac_c" 1>&6
14091 echo "configure:14092: checking for remove" >&5
14092 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14093 echo $ac_n "(cached) $ac_c" 1>&6
14095 cat > conftest.
$ac_ext <<EOF
14096 #line 14097 "configure"
14097 #include "confdefs.h"
14098 /* System header to define __stub macros and hopefully few prototypes,
14099 which can conflict with char remove(); below. */
14100 #include <assert.h>
14101 /* Override any gcc2 internal prototype to avoid an error. */
14102 /* We use char because int might match the return type of a gcc2
14103 builtin and then its argument prototype would still apply. */
14108 /* The GNU C library defines this for functions which it implements
14109 to always fail with ENOSYS. Some functions are actually named
14110 something starting with __ and the normal name is an alias. */
14111 #if defined (__stub_remove) || defined (__stub___remove)
14119 if { (eval echo configure
:14120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14121 eval "ac_cv_func_remove=yes"
14123 echo "configure: failed program was:" >&5
14124 cat conftest.
$ac_ext >&5
14126 eval "ac_cv_func_remove=no"
14131 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14132 echo "$ac_t""yes" 1>&6
14135 echo "$ac_t""no" 1>&6
14138 if test $ac_cv_func_remove = no
; then
14139 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14140 echo "configure:14141: checking for remove in -lposix" >&5
14141 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14142 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14143 echo $ac_n "(cached) $ac_c" 1>&6
14145 ac_save_LIBS
="$LIBS"
14146 LIBS
="-lposix $LIBS"
14147 cat > conftest.
$ac_ext <<EOF
14148 #line 14149 "configure"
14149 #include "confdefs.h"
14150 /* Override any gcc2 internal prototype to avoid an error. */
14151 /* We use char because int might match the return type of a gcc2
14152 builtin and then its argument prototype would still apply. */
14159 if { (eval echo configure
:14160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14161 eval "ac_cv_lib_$ac_lib_var=yes"
14163 echo "configure: failed program was:" >&5
14164 cat conftest.
$ac_ext >&5
14166 eval "ac_cv_lib_$ac_lib_var=no"
14169 LIBS
="$ac_save_LIBS"
14172 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14173 echo "$ac_t""yes" 1>&6
14174 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14176 echo "$ac_t""no" 1>&6
14181 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14182 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14183 echo "configure:14184: checking for shmat" >&5
14184 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14185 echo $ac_n "(cached) $ac_c" 1>&6
14187 cat > conftest.
$ac_ext <<EOF
14188 #line 14189 "configure"
14189 #include "confdefs.h"
14190 /* System header to define __stub macros and hopefully few prototypes,
14191 which can conflict with char shmat(); below. */
14192 #include <assert.h>
14193 /* Override any gcc2 internal prototype to avoid an error. */
14194 /* We use char because int might match the return type of a gcc2
14195 builtin and then its argument prototype would still apply. */
14200 /* The GNU C library defines this for functions which it implements
14201 to always fail with ENOSYS. Some functions are actually named
14202 something starting with __ and the normal name is an alias. */
14203 #if defined (__stub_shmat) || defined (__stub___shmat)
14211 if { (eval echo configure
:14212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14213 eval "ac_cv_func_shmat=yes"
14215 echo "configure: failed program was:" >&5
14216 cat conftest.
$ac_ext >&5
14218 eval "ac_cv_func_shmat=no"
14223 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14224 echo "$ac_t""yes" 1>&6
14227 echo "$ac_t""no" 1>&6
14230 if test $ac_cv_func_shmat = no
; then
14231 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14232 echo "configure:14233: checking for shmat in -lipc" >&5
14233 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14234 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14235 echo $ac_n "(cached) $ac_c" 1>&6
14237 ac_save_LIBS
="$LIBS"
14239 cat > conftest.
$ac_ext <<EOF
14240 #line 14241 "configure"
14241 #include "confdefs.h"
14242 /* Override any gcc2 internal prototype to avoid an error. */
14243 /* We use char because int might match the return type of a gcc2
14244 builtin and then its argument prototype would still apply. */
14251 if { (eval echo configure
:14252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14253 eval "ac_cv_lib_$ac_lib_var=yes"
14255 echo "configure: failed program was:" >&5
14256 cat conftest.
$ac_ext >&5
14258 eval "ac_cv_lib_$ac_lib_var=no"
14261 LIBS
="$ac_save_LIBS"
14264 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14265 echo "$ac_t""yes" 1>&6
14266 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14268 echo "$ac_t""no" 1>&6
14274 # Check for libraries that X11R6 Xt/Xaw programs need.
14275 ac_save_LDFLAGS
="$LDFLAGS"
14276 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14277 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14278 # check for ICE first), but we must link in the order -lSM -lICE or
14279 # we get undefined symbols. So assume we have SM if we have ICE.
14280 # These have to be linked with before -lX11, unlike the other
14281 # libraries we check for below, so use a different variable.
14282 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14283 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14284 echo "configure:14285: checking for IceConnectionNumber in -lICE" >&5
14285 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14286 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14287 echo $ac_n "(cached) $ac_c" 1>&6
14289 ac_save_LIBS
="$LIBS"
14290 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14291 cat > conftest.
$ac_ext <<EOF
14292 #line 14293 "configure"
14293 #include "confdefs.h"
14294 /* Override any gcc2 internal prototype to avoid an error. */
14295 /* We use char because int might match the return type of a gcc2
14296 builtin and then its argument prototype would still apply. */
14297 char IceConnectionNumber();
14300 IceConnectionNumber()
14303 if { (eval echo configure
:14304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14305 eval "ac_cv_lib_$ac_lib_var=yes"
14307 echo "configure: failed program was:" >&5
14308 cat conftest.
$ac_ext >&5
14310 eval "ac_cv_lib_$ac_lib_var=no"
14313 LIBS
="$ac_save_LIBS"
14316 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14317 echo "$ac_t""yes" 1>&6
14318 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14320 echo "$ac_t""no" 1>&6
14323 LDFLAGS
="$ac_save_LDFLAGS"
14328 if test "$no_x" = "yes"; then
14329 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14332 GUI_TK_LIBRARY
="$X_LIBS"
14333 TOOLKIT_INCLUDE
="$X_CFLAGS"
14334 AFMINSTALL
=afminstall
14335 COMPILED_X_PROGRAM
=0
14337 if test "$wxUSE_NANOX" = "yes"; then
14338 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14339 echo "configure:14340: checking for MicroWindows/NanoX distribution" >&5
14340 if test "x$MICROWIN" = x
; then
14341 echo "$ac_t""not found" 1>&6
14342 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14344 echo "$ac_t""$MICROWIN" 1>&6
14345 cat >> confdefs.h
<<\EOF
14346 #define wxUSE_NANOX 1
14353 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14354 echo "configure:14355: checking for Xpm library" >&5
14357 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14359 for ac_extension
in a so sl dylib
; do
14360 if test -f "$ac_dir/libXpm.$ac_extension"; then
14361 ac_find_libraries
=$ac_dir
14367 if test "$ac_find_libraries" != "" ; then
14369 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14371 if test $result = 0; then
14374 ac_path_to_link
=" -L$ac_find_libraries"
14377 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14379 cat >> confdefs.h
<<\EOF
14380 #define wxHAVE_LIB_XPM 1
14383 echo "$ac_t""found at $ac_find_libraries" 1>&6
14385 cat > conftest.
$ac_ext <<EOF
14386 #line 14387 "configure"
14387 #include "confdefs.h"
14389 #include <X11/xpm.h>
14394 version = XpmLibraryVersion();
14398 if { (eval echo configure
:14399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14402 cat >> confdefs.h
<<\EOF
14403 #define wxHAVE_LIB_XPM 1
14406 echo "$ac_t""found in default search path" 1>&6
14407 COMPILED_X_PROGRAM
=0
14410 echo "configure: failed program was:" >&5
14411 cat conftest.
$ac_ext >&5
14414 echo "$ac_t""no" 1>&6
14415 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14422 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6
14423 echo "configure:14424: checking for XShapeQueryExtension in -lXext" >&5
14424 ac_lib_var
=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'`
14425 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14426 echo $ac_n "(cached) $ac_c" 1>&6
14428 ac_save_LIBS
="$LIBS"
14429 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
14430 cat > conftest.
$ac_ext <<EOF
14431 #line 14432 "configure"
14432 #include "confdefs.h"
14433 /* Override any gcc2 internal prototype to avoid an error. */
14434 /* We use char because int might match the return type of a gcc2
14435 builtin and then its argument prototype would still apply. */
14436 char XShapeQueryExtension();
14439 XShapeQueryExtension()
14442 if { (eval echo configure
:14443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14444 eval "ac_cv_lib_$ac_lib_var=yes"
14446 echo "configure: failed program was:" >&5
14447 cat conftest.
$ac_ext >&5
14449 eval "ac_cv_lib_$ac_lib_var=no"
14452 LIBS
="$ac_save_LIBS"
14455 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14456 echo "$ac_t""yes" 1>&6
14458 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
14462 echo "$ac_t""no" 1>&6
14466 if test "$wxUSE_UNICODE" = "yes"; then
14470 if test -z "$PKG_CONFIG"; then
14471 # Extract the first word of "pkg-config", so it can be a program name with args.
14472 set dummy pkg
-config; ac_word
=$2
14473 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14474 echo "configure:14475: checking for $ac_word" >&5
14475 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14476 echo $ac_n "(cached) $ac_c" 1>&6
14478 case "$PKG_CONFIG" in
14480 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14483 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14486 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14488 for ac_dir
in $ac_dummy; do
14489 test -z "$ac_dir" && ac_dir
=.
14490 if test -f $ac_dir/$ac_word; then
14491 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14496 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14500 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14501 if test -n "$PKG_CONFIG"; then
14502 echo "$ac_t""$PKG_CONFIG" 1>&6
14504 echo "$ac_t""no" 1>&6
14509 if test "$PKG_CONFIG" = "no" ; then
14510 echo "*** The pkg-config script could not be found. Make sure it is"
14511 echo "*** in your path, or set the PKG_CONFIG environment variable"
14512 echo "*** to the full path to pkg-config."
14513 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14515 PKG_CONFIG_MIN_VERSION
=0.9.0
14516 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14517 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14518 echo "configure:14519: checking for pangox" >&5
14520 if $PKG_CONFIG --exists "pangox" ; then
14521 echo "$ac_t""yes" 1>&6
14524 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14525 echo "configure:14526: checking PANGOX_CFLAGS" >&5
14526 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14527 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14529 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14530 echo "configure:14531: checking PANGOX_LIBS" >&5
14531 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14532 echo "$ac_t""$PANGOX_LIBS" 1>&6
14536 ## If we have a custom action on failure, don't print errors, but
14537 ## do set a variable so people can do so.
14538 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14545 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14546 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14550 if test $succeeded = yes; then
14552 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14553 LIBS
="$LIBS $PANGOX_LIBS"
14557 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14565 if test -z "$PKG_CONFIG"; then
14566 # Extract the first word of "pkg-config", so it can be a program name with args.
14567 set dummy pkg
-config; ac_word
=$2
14568 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14569 echo "configure:14570: checking for $ac_word" >&5
14570 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14571 echo $ac_n "(cached) $ac_c" 1>&6
14573 case "$PKG_CONFIG" in
14575 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14578 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14581 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14583 for ac_dir
in $ac_dummy; do
14584 test -z "$ac_dir" && ac_dir
=.
14585 if test -f $ac_dir/$ac_word; then
14586 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14591 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14595 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14596 if test -n "$PKG_CONFIG"; then
14597 echo "$ac_t""$PKG_CONFIG" 1>&6
14599 echo "$ac_t""no" 1>&6
14604 if test "$PKG_CONFIG" = "no" ; then
14605 echo "*** The pkg-config script could not be found. Make sure it is"
14606 echo "*** in your path, or set the PKG_CONFIG environment variable"
14607 echo "*** to the full path to pkg-config."
14608 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14610 PKG_CONFIG_MIN_VERSION
=0.9.0
14611 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14612 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14613 echo "configure:14614: checking for pangoft2" >&5
14615 if $PKG_CONFIG --exists "pangoft2" ; then
14616 echo "$ac_t""yes" 1>&6
14619 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14620 echo "configure:14621: checking PANGOFT2_CFLAGS" >&5
14621 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14622 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14624 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14625 echo "configure:14626: checking PANGOFT2_LIBS" >&5
14626 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14627 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14631 ## If we have a custom action on failure, don't print errors, but
14632 ## do set a variable so people can do so.
14633 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14640 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14641 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14645 if test $succeeded = yes; then
14647 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14648 LIBS
="$LIBS $PANGOFT2_LIBS"
14652 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14653 wxUSE_PRINTING_ARCHITECTURE
="no"
14661 if test -z "$PKG_CONFIG"; then
14662 # Extract the first word of "pkg-config", so it can be a program name with args.
14663 set dummy pkg
-config; ac_word
=$2
14664 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14665 echo "configure:14666: checking for $ac_word" >&5
14666 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14667 echo $ac_n "(cached) $ac_c" 1>&6
14669 case "$PKG_CONFIG" in
14671 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14674 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14677 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14679 for ac_dir
in $ac_dummy; do
14680 test -z "$ac_dir" && ac_dir
=.
14681 if test -f $ac_dir/$ac_word; then
14682 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14687 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14691 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14692 if test -n "$PKG_CONFIG"; then
14693 echo "$ac_t""$PKG_CONFIG" 1>&6
14695 echo "$ac_t""no" 1>&6
14700 if test "$PKG_CONFIG" = "no" ; then
14701 echo "*** The pkg-config script could not be found. Make sure it is"
14702 echo "*** in your path, or set the PKG_CONFIG environment variable"
14703 echo "*** to the full path to pkg-config."
14704 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14706 PKG_CONFIG_MIN_VERSION
=0.9.0
14707 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14708 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14709 echo "configure:14710: checking for pangoxft" >&5
14711 if $PKG_CONFIG --exists "pangoxft" ; then
14712 echo "$ac_t""yes" 1>&6
14715 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14716 echo "configure:14717: checking PANGOXFT_CFLAGS" >&5
14717 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14718 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14720 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14721 echo "configure:14722: checking PANGOXFT_LIBS" >&5
14722 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14723 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14727 ## If we have a custom action on failure, don't print errors, but
14728 ## do set a variable so people can do so.
14729 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14736 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14737 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14741 if test $succeeded = yes; then
14743 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14744 LIBS
="$LIBS $PANGOXFT_LIBS"
14748 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14755 wxUSE_UNIVERSAL
="yes"
14757 if test "$wxUSE_NANOX" = "yes"; then
14758 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14759 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"
14760 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14762 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14765 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14770 if test "$wxUSE_MOTIF" = 1; then
14771 if test "$no_x" = yes; then
14772 # Not all programs may use this symbol, but it does not hurt to define it.
14773 cat >> confdefs.h
<<\EOF
14774 #define X_DISPLAY_MISSING 1
14777 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14779 if test -n "$x_includes"; then
14780 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14783 # It would also be nice to do this for all -L options, not just this one.
14784 if test -n "$x_libraries"; then
14785 X_LIBS
="$X_LIBS -L$x_libraries"
14786 # For Solaris; some versions of Sun CC require a space after -R and
14787 # others require no space. Words are not sufficient . . . .
14788 case "`(uname -sr) 2>/dev/null`" in
14790 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14791 echo "configure:14792: checking whether -R must be followed by a space" >&5
14792 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14793 cat > conftest.
$ac_ext <<EOF
14794 #line 14795 "configure"
14795 #include "confdefs.h"
14801 if { (eval echo configure
:14802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14805 echo "configure: failed program was:" >&5
14806 cat conftest.
$ac_ext >&5
14811 if test $ac_R_nospace = yes; then
14812 echo "$ac_t""no" 1>&6
14813 X_LIBS
="$X_LIBS -R$x_libraries"
14815 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14816 cat > conftest.
$ac_ext <<EOF
14817 #line 14818 "configure"
14818 #include "confdefs.h"
14824 if { (eval echo configure
:14825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14828 echo "configure: failed program was:" >&5
14829 cat conftest.
$ac_ext >&5
14834 if test $ac_R_space = yes; then
14835 echo "$ac_t""yes" 1>&6
14836 X_LIBS
="$X_LIBS -R $x_libraries"
14838 echo "$ac_t""neither works" 1>&6
14841 LIBS
="$ac_xsave_LIBS"
14845 # Check for system-dependent libraries X programs must link with.
14846 # Do this before checking for the system-independent R6 libraries
14847 # (-lICE), since we may need -lsocket or whatever for X linking.
14849 if test "$ISC" = yes; then
14850 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14852 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14853 # libraries were built with DECnet support. And karl@cs.umb.edu says
14854 # the Alpha needs dnet_stub (dnet does not exist).
14855 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14856 echo "configure:14857: checking for dnet_ntoa in -ldnet" >&5
14857 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14858 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14859 echo $ac_n "(cached) $ac_c" 1>&6
14861 ac_save_LIBS
="$LIBS"
14862 LIBS
="-ldnet $LIBS"
14863 cat > conftest.
$ac_ext <<EOF
14864 #line 14865 "configure"
14865 #include "confdefs.h"
14866 /* Override any gcc2 internal prototype to avoid an error. */
14867 /* We use char because int might match the return type of a gcc2
14868 builtin and then its argument prototype would still apply. */
14875 if { (eval echo configure
:14876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14877 eval "ac_cv_lib_$ac_lib_var=yes"
14879 echo "configure: failed program was:" >&5
14880 cat conftest.
$ac_ext >&5
14882 eval "ac_cv_lib_$ac_lib_var=no"
14885 LIBS
="$ac_save_LIBS"
14888 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14889 echo "$ac_t""yes" 1>&6
14890 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14892 echo "$ac_t""no" 1>&6
14895 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14896 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14897 echo "configure:14898: checking for dnet_ntoa in -ldnet_stub" >&5
14898 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14899 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14900 echo $ac_n "(cached) $ac_c" 1>&6
14902 ac_save_LIBS
="$LIBS"
14903 LIBS
="-ldnet_stub $LIBS"
14904 cat > conftest.
$ac_ext <<EOF
14905 #line 14906 "configure"
14906 #include "confdefs.h"
14907 /* Override any gcc2 internal prototype to avoid an error. */
14908 /* We use char because int might match the return type of a gcc2
14909 builtin and then its argument prototype would still apply. */
14916 if { (eval echo configure
:14917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14918 eval "ac_cv_lib_$ac_lib_var=yes"
14920 echo "configure: failed program was:" >&5
14921 cat conftest.
$ac_ext >&5
14923 eval "ac_cv_lib_$ac_lib_var=no"
14926 LIBS
="$ac_save_LIBS"
14929 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14930 echo "$ac_t""yes" 1>&6
14931 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14933 echo "$ac_t""no" 1>&6
14938 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14939 # to get the SysV transport functions.
14940 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14942 # The nsl library prevents programs from opening the X display
14943 # on Irix 5.2, according to dickey@clark.net.
14944 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14945 echo "configure:14946: checking for gethostbyname" >&5
14946 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14947 echo $ac_n "(cached) $ac_c" 1>&6
14949 cat > conftest.
$ac_ext <<EOF
14950 #line 14951 "configure"
14951 #include "confdefs.h"
14952 /* System header to define __stub macros and hopefully few prototypes,
14953 which can conflict with char gethostbyname(); below. */
14954 #include <assert.h>
14955 /* Override any gcc2 internal prototype to avoid an error. */
14956 /* We use char because int might match the return type of a gcc2
14957 builtin and then its argument prototype would still apply. */
14958 char gethostbyname();
14962 /* The GNU C library defines this for functions which it implements
14963 to always fail with ENOSYS. Some functions are actually named
14964 something starting with __ and the normal name is an alias. */
14965 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14973 if { (eval echo configure
:14974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14975 eval "ac_cv_func_gethostbyname=yes"
14977 echo "configure: failed program was:" >&5
14978 cat conftest.
$ac_ext >&5
14980 eval "ac_cv_func_gethostbyname=no"
14985 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14986 echo "$ac_t""yes" 1>&6
14989 echo "$ac_t""no" 1>&6
14992 if test $ac_cv_func_gethostbyname = no
; then
14993 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14994 echo "configure:14995: checking for gethostbyname in -lnsl" >&5
14995 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14996 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14997 echo $ac_n "(cached) $ac_c" 1>&6
14999 ac_save_LIBS
="$LIBS"
15001 cat > conftest.
$ac_ext <<EOF
15002 #line 15003 "configure"
15003 #include "confdefs.h"
15004 /* Override any gcc2 internal prototype to avoid an error. */
15005 /* We use char because int might match the return type of a gcc2
15006 builtin and then its argument prototype would still apply. */
15007 char gethostbyname();
15013 if { (eval echo configure
:15014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15015 eval "ac_cv_lib_$ac_lib_var=yes"
15017 echo "configure: failed program was:" >&5
15018 cat conftest.
$ac_ext >&5
15020 eval "ac_cv_lib_$ac_lib_var=no"
15023 LIBS
="$ac_save_LIBS"
15026 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15027 echo "$ac_t""yes" 1>&6
15028 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15030 echo "$ac_t""no" 1>&6
15035 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15036 # socket/setsockopt and other routines are undefined under SCO ODT
15037 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15038 # on later versions), says simon@lia.di.epfl.ch: it contains
15039 # gethostby* variants that don't use the nameserver (or something).
15040 # -lsocket must be given before -lnsl if both are needed.
15041 # We assume that if connect needs -lnsl, so does gethostbyname.
15042 echo $ac_n "checking for connect""... $ac_c" 1>&6
15043 echo "configure:15044: checking for connect" >&5
15044 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
15045 echo $ac_n "(cached) $ac_c" 1>&6
15047 cat > conftest.
$ac_ext <<EOF
15048 #line 15049 "configure"
15049 #include "confdefs.h"
15050 /* System header to define __stub macros and hopefully few prototypes,
15051 which can conflict with char connect(); below. */
15052 #include <assert.h>
15053 /* Override any gcc2 internal prototype to avoid an error. */
15054 /* We use char because int might match the return type of a gcc2
15055 builtin and then its argument prototype would still apply. */
15060 /* The GNU C library defines this for functions which it implements
15061 to always fail with ENOSYS. Some functions are actually named
15062 something starting with __ and the normal name is an alias. */
15063 #if defined (__stub_connect) || defined (__stub___connect)
15071 if { (eval echo configure
:15072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15073 eval "ac_cv_func_connect=yes"
15075 echo "configure: failed program was:" >&5
15076 cat conftest.
$ac_ext >&5
15078 eval "ac_cv_func_connect=no"
15083 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15084 echo "$ac_t""yes" 1>&6
15087 echo "$ac_t""no" 1>&6
15090 if test $ac_cv_func_connect = no
; then
15091 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15092 echo "configure:15093: checking for connect in -lsocket" >&5
15093 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15094 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15095 echo $ac_n "(cached) $ac_c" 1>&6
15097 ac_save_LIBS
="$LIBS"
15098 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15099 cat > conftest.
$ac_ext <<EOF
15100 #line 15101 "configure"
15101 #include "confdefs.h"
15102 /* Override any gcc2 internal prototype to avoid an error. */
15103 /* We use char because int might match the return type of a gcc2
15104 builtin and then its argument prototype would still apply. */
15111 if { (eval echo configure
:15112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15113 eval "ac_cv_lib_$ac_lib_var=yes"
15115 echo "configure: failed program was:" >&5
15116 cat conftest.
$ac_ext >&5
15118 eval "ac_cv_lib_$ac_lib_var=no"
15121 LIBS
="$ac_save_LIBS"
15124 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15125 echo "$ac_t""yes" 1>&6
15126 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15128 echo "$ac_t""no" 1>&6
15133 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15134 echo $ac_n "checking for remove""... $ac_c" 1>&6
15135 echo "configure:15136: checking for remove" >&5
15136 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15137 echo $ac_n "(cached) $ac_c" 1>&6
15139 cat > conftest.
$ac_ext <<EOF
15140 #line 15141 "configure"
15141 #include "confdefs.h"
15142 /* System header to define __stub macros and hopefully few prototypes,
15143 which can conflict with char remove(); below. */
15144 #include <assert.h>
15145 /* Override any gcc2 internal prototype to avoid an error. */
15146 /* We use char because int might match the return type of a gcc2
15147 builtin and then its argument prototype would still apply. */
15152 /* The GNU C library defines this for functions which it implements
15153 to always fail with ENOSYS. Some functions are actually named
15154 something starting with __ and the normal name is an alias. */
15155 #if defined (__stub_remove) || defined (__stub___remove)
15163 if { (eval echo configure
:15164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15165 eval "ac_cv_func_remove=yes"
15167 echo "configure: failed program was:" >&5
15168 cat conftest.
$ac_ext >&5
15170 eval "ac_cv_func_remove=no"
15175 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15176 echo "$ac_t""yes" 1>&6
15179 echo "$ac_t""no" 1>&6
15182 if test $ac_cv_func_remove = no
; then
15183 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15184 echo "configure:15185: checking for remove in -lposix" >&5
15185 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15186 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15187 echo $ac_n "(cached) $ac_c" 1>&6
15189 ac_save_LIBS
="$LIBS"
15190 LIBS
="-lposix $LIBS"
15191 cat > conftest.
$ac_ext <<EOF
15192 #line 15193 "configure"
15193 #include "confdefs.h"
15194 /* Override any gcc2 internal prototype to avoid an error. */
15195 /* We use char because int might match the return type of a gcc2
15196 builtin and then its argument prototype would still apply. */
15203 if { (eval echo configure
:15204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15205 eval "ac_cv_lib_$ac_lib_var=yes"
15207 echo "configure: failed program was:" >&5
15208 cat conftest.
$ac_ext >&5
15210 eval "ac_cv_lib_$ac_lib_var=no"
15213 LIBS
="$ac_save_LIBS"
15216 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15217 echo "$ac_t""yes" 1>&6
15218 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15220 echo "$ac_t""no" 1>&6
15225 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15226 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15227 echo "configure:15228: checking for shmat" >&5
15228 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15229 echo $ac_n "(cached) $ac_c" 1>&6
15231 cat > conftest.
$ac_ext <<EOF
15232 #line 15233 "configure"
15233 #include "confdefs.h"
15234 /* System header to define __stub macros and hopefully few prototypes,
15235 which can conflict with char shmat(); below. */
15236 #include <assert.h>
15237 /* Override any gcc2 internal prototype to avoid an error. */
15238 /* We use char because int might match the return type of a gcc2
15239 builtin and then its argument prototype would still apply. */
15244 /* The GNU C library defines this for functions which it implements
15245 to always fail with ENOSYS. Some functions are actually named
15246 something starting with __ and the normal name is an alias. */
15247 #if defined (__stub_shmat) || defined (__stub___shmat)
15255 if { (eval echo configure
:15256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15257 eval "ac_cv_func_shmat=yes"
15259 echo "configure: failed program was:" >&5
15260 cat conftest.
$ac_ext >&5
15262 eval "ac_cv_func_shmat=no"
15267 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15268 echo "$ac_t""yes" 1>&6
15271 echo "$ac_t""no" 1>&6
15274 if test $ac_cv_func_shmat = no
; then
15275 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15276 echo "configure:15277: checking for shmat in -lipc" >&5
15277 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15278 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15279 echo $ac_n "(cached) $ac_c" 1>&6
15281 ac_save_LIBS
="$LIBS"
15283 cat > conftest.
$ac_ext <<EOF
15284 #line 15285 "configure"
15285 #include "confdefs.h"
15286 /* Override any gcc2 internal prototype to avoid an error. */
15287 /* We use char because int might match the return type of a gcc2
15288 builtin and then its argument prototype would still apply. */
15295 if { (eval echo configure
:15296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15297 eval "ac_cv_lib_$ac_lib_var=yes"
15299 echo "configure: failed program was:" >&5
15300 cat conftest.
$ac_ext >&5
15302 eval "ac_cv_lib_$ac_lib_var=no"
15305 LIBS
="$ac_save_LIBS"
15308 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15309 echo "$ac_t""yes" 1>&6
15310 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15312 echo "$ac_t""no" 1>&6
15318 # Check for libraries that X11R6 Xt/Xaw programs need.
15319 ac_save_LDFLAGS
="$LDFLAGS"
15320 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15321 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15322 # check for ICE first), but we must link in the order -lSM -lICE or
15323 # we get undefined symbols. So assume we have SM if we have ICE.
15324 # These have to be linked with before -lX11, unlike the other
15325 # libraries we check for below, so use a different variable.
15326 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15327 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15328 echo "configure:15329: checking for IceConnectionNumber in -lICE" >&5
15329 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15330 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15331 echo $ac_n "(cached) $ac_c" 1>&6
15333 ac_save_LIBS
="$LIBS"
15334 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15335 cat > conftest.
$ac_ext <<EOF
15336 #line 15337 "configure"
15337 #include "confdefs.h"
15338 /* Override any gcc2 internal prototype to avoid an error. */
15339 /* We use char because int might match the return type of a gcc2
15340 builtin and then its argument prototype would still apply. */
15341 char IceConnectionNumber();
15344 IceConnectionNumber()
15347 if { (eval echo configure
:15348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15349 eval "ac_cv_lib_$ac_lib_var=yes"
15351 echo "configure: failed program was:" >&5
15352 cat conftest.
$ac_ext >&5
15354 eval "ac_cv_lib_$ac_lib_var=no"
15357 LIBS
="$ac_save_LIBS"
15360 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15361 echo "$ac_t""yes" 1>&6
15362 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15364 echo "$ac_t""no" 1>&6
15367 LDFLAGS
="$ac_save_LDFLAGS"
15372 if test "$no_x" = "yes"; then
15373 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15376 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15377 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15378 AFMINSTALL
=afminstall
15379 COMPILED_X_PROGRAM
=0
15381 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15382 echo "configure:15383: checking for Motif/Lesstif headers" >&5
15385 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15387 if test -f "$ac_dir/Xm/Xm.h"; then
15388 ac_find_includes
=$ac_dir
15393 if test "$ac_find_includes" != "" ; then
15394 echo "$ac_t""found in $ac_find_includes" 1>&6
15396 if test "x$ac_find_includes" = "x/usr/include"; then
15397 ac_path_to_include
=""
15399 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15401 if test $result = 0; then
15402 ac_path_to_include
=""
15404 ac_path_to_include
=" -I$ac_find_includes"
15408 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15410 cat > conftest.
$ac_ext <<EOF
15411 #line 15412 "configure"
15412 #include "confdefs.h"
15419 version = xmUseVersion;
15423 if { (eval echo configure
:15424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15426 echo "$ac_t""found in default search path" 1>&6
15427 COMPILED_X_PROGRAM
=1
15430 echo "configure: failed program was:" >&5
15431 cat conftest.
$ac_ext >&5
15434 echo "$ac_t""no" 1>&6
15435 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15442 if test "$COMPILED_X_PROGRAM" = 0; then
15443 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15444 echo "configure:15445: checking for Motif/Lesstif library" >&5
15447 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15449 for ac_extension
in a so sl dylib
; do
15450 if test -f "$ac_dir/libXm.$ac_extension"; then
15451 ac_find_libraries
=$ac_dir
15457 if test "$ac_find_libraries" != "" ; then
15458 echo "$ac_t""found at $ac_find_libraries" 1>&6
15461 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15463 if test $result = 0; then
15466 ac_path_to_link
=" -L$ac_find_libraries"
15469 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15471 save_CFLAGS
=$CFLAGS
15472 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15474 cat > conftest.
$ac_ext <<EOF
15475 #line 15476 "configure"
15476 #include "confdefs.h"
15483 version = xmUseVersion;
15487 if { (eval echo configure
:15488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15490 echo "$ac_t""found in default search path" 1>&6
15491 COMPILED_X_PROGRAM
=1
15494 echo "configure: failed program was:" >&5
15495 cat conftest.
$ac_ext >&5
15498 echo "$ac_t""no" 1>&6
15499 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15505 CFLAGS
=$save_CFLAGS
15510 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15511 echo "configure:15512: checking for Xpm library" >&5
15514 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15516 for ac_extension
in a so sl dylib
; do
15517 if test -f "$ac_dir/libXpm.$ac_extension"; then
15518 ac_find_libraries
=$ac_dir
15524 if test "$ac_find_libraries" != "" ; then
15526 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15528 if test $result = 0; then
15531 ac_path_to_link
=" -L$ac_find_libraries"
15534 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15537 cat >> confdefs.h
<<\EOF
15538 #define wxHAVE_LIB_XPM 1
15541 echo "$ac_t""found at $ac_find_libraries" 1>&6
15543 save_CFLAGS
=$CFLAGS
15544 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15546 cat > conftest.
$ac_ext <<EOF
15547 #line 15548 "configure"
15548 #include "confdefs.h"
15550 #include <X11/xpm.h>
15555 version = XpmLibraryVersion();
15559 if { (eval echo configure
:15560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15563 cat >> confdefs.h
<<\EOF
15564 #define wxHAVE_LIB_XPM 1
15567 echo "$ac_t""found in default search path" 1>&6
15568 COMPILED_X_PROGRAM
=0
15571 echo "configure: failed program was:" >&5
15572 cat conftest.
$ac_ext >&5
15575 echo "$ac_t""no" 1>&6
15576 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15582 CFLAGS
=$save_CFLAGS
15585 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15586 echo "configure:15587: checking if we need -lXp and/or -lSM -lICE" >&5
15590 for libp
in "" " -lXp"; do
15591 if test "$libs_found" = "0"; then
15592 for libsm_ice
in " -lSM -lICE"; do
15593 if test "$libs_found" = "0"; then
15595 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15596 save_CFLAGS
=$CFLAGS
15597 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15599 cat > conftest.
$ac_ext <<EOF
15600 #line 15601 "configure"
15601 #include "confdefs.h"
15604 #include <Xm/List.h>
15608 XmString string = NULL;
15611 XmListAddItem(w, string, position);
15615 if { (eval echo configure
:15616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15619 libsm_ice_link
="$libsm_ice"
15620 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15624 echo "configure: failed program was:" >&5
15625 cat conftest.
$ac_ext >&5
15633 CFLAGS
=$save_CFLAGS
15639 if test "$libs_found" = "0"; then
15640 echo "$ac_t""can't find the right libraries" 1>&6
15641 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15644 save_CFLAGS
=$CFLAGS
15645 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15646 echo $ac_n "checking for Motif 2""... $ac_c" 1>&6
15647 echo "configure:15648: checking for Motif 2" >&5
15648 cat > conftest.
$ac_ext <<EOF
15649 #line 15650 "configure"
15650 #include "confdefs.h"
15656 #if XmVersion < 2000
15657 #error "Not Motif 2"
15662 if { (eval echo configure
:15663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15665 cat >> confdefs.h
<<\EOF
15666 #define __WXMOTIF20__ 1
15669 echo "$ac_t""found" 1>&6
15672 echo "configure: failed program was:" >&5
15673 cat conftest.
$ac_ext >&5
15676 cat >> confdefs.h
<<\EOF
15677 #define __WXMOTIF20__ 0
15680 echo "$ac_t""not found" 1>&6
15684 CFLAGS
=$save_CFLAGS
15686 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15687 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15693 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
15694 test "$wxHAVE_XEXT_LIB" = 1; then
15695 save_CFLAGS
="$CFLAGS"
15696 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15698 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
15699 echo "configure:15700: checking for X11/extensions/shape.h" >&5
15700 cat > conftest.
$ac_ext <<EOF
15701 #line 15702 "configure"
15702 #include "confdefs.h"
15704 #include <X11/Xlib.h>
15705 #include <X11/extensions/shape.h>
15709 int dummy1, dummy2;
15710 XShapeQueryExtension((Display*)NULL,
15711 (int*)NULL, (int*)NULL);
15715 if { (eval echo configure
:15716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15718 cat >> confdefs.h
<<\EOF
15719 #define HAVE_XSHAPE 1
15722 echo "$ac_t""found" 1>&6
15725 echo "configure: failed program was:" >&5
15726 cat conftest.
$ac_ext >&5
15729 echo "$ac_t""not found" 1>&6
15733 CFLAGS
="$save_CFLAGS"
15736 if test "$wxUSE_MAC" = 1; then
15737 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15739 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15744 if test "$wxUSE_COCOA" = 1; then
15745 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
15750 if test "$wxUSE_PM" = 1; then
15753 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15757 if test "$TOOLKIT" = "PM" ; then
15760 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15763 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15765 if test "$wxUSE_UNIVERSAL" = "yes"; then
15766 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15768 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15769 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15771 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15772 if test "$wxUSE_X11" = 1; then
15773 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15775 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15777 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15780 ALL_OBJECTS
="\$(GUIOBJS)"
15781 ALL_SOURCES
="\$(ALL_SOURCES)"
15782 ALL_HEADERS
="\$(ALL_HEADERS)"
15785 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15787 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15788 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15791 if test "$wxUSE_HTML" = "yes"; then
15792 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15795 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15796 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15798 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15799 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15801 if test "$wxUSE_LIBPNG" = "builtin" ; then
15802 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15805 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15806 DISTDIR
="wx\$(TOOLKIT)"
15812 if test "$USE_WIN32" = 1 ; then
15813 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15814 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15818 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15819 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15822 ALL_SOURCES
="\$(ALL_SOURCES)"
15823 ALL_HEADERS
="\$(ALL_HEADERS)"
15825 PORT_FILES
="\${top_srcdir}/src/files.lst"
15827 GUIDIST
="BASE_DIST"
15837 if test "$TOOLKIT" != "MSW" ; then
15839 if test "$wxUSE_ODBC" != "no" ; then
15840 cat >> confdefs.h
<<\EOF
15841 #define wxUSE_ODBC 1
15844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
15846 WXODBCFLAG
="-D_IODBC_"
15849 if test "$wxUSE_ODBC" = "sys" ; then
15851 ac_safe
=`echo "sql.h" | sed 'y%./+-%__p_%'`
15852 echo $ac_n "checking for sql.h""... $ac_c" 1>&6
15853 echo "configure:15854: checking for sql.h" >&5
15854 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15855 echo $ac_n "(cached) $ac_c" 1>&6
15857 cat > conftest.
$ac_ext <<EOF
15858 #line 15859 "configure"
15859 #include "confdefs.h"
15862 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15863 { (eval echo configure
:15864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15864 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15865 if test -z "$ac_err"; then
15867 eval "ac_cv_header_$ac_safe=yes"
15870 echo "configure: failed program was:" >&5
15871 cat conftest.
$ac_ext >&5
15873 eval "ac_cv_header_$ac_safe=no"
15877 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15878 echo "$ac_t""yes" 1>&6
15881 echo "$ac_t""no" 1>&6
15885 echo $ac_n "checking for library containing SQLAllocEnv""... $ac_c" 1>&6
15886 echo "configure:15887: checking for library containing SQLAllocEnv" >&5
15887 if eval "test \"`echo '$''{'ac_cv_search_SQLAllocEnv'+set}'`\" = set"; then
15888 echo $ac_n "(cached) $ac_c" 1>&6
15890 ac_func_search_save_LIBS
="$LIBS"
15891 ac_cv_search_SQLAllocEnv
="no"
15892 cat > conftest.
$ac_ext <<EOF
15893 #line 15894 "configure"
15894 #include "confdefs.h"
15895 /* Override any gcc2 internal prototype to avoid an error. */
15896 /* We use char because int might match the return type of a gcc2
15897 builtin and then its argument prototype would still apply. */
15898 char SQLAllocEnv();
15904 if { (eval echo configure
:15905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15906 ac_cv_search_SQLAllocEnv
="none required"
15908 echo "configure: failed program was:" >&5
15909 cat conftest.
$ac_ext >&5
15912 test "$ac_cv_search_SQLAllocEnv" = "no" && for i
in iodbc unixodbc odbc
; do
15913 LIBS
="-l$i $ac_func_search_save_LIBS"
15914 cat > conftest.
$ac_ext <<EOF
15915 #line 15916 "configure"
15916 #include "confdefs.h"
15917 /* Override any gcc2 internal prototype to avoid an error. */
15918 /* We use char because int might match the return type of a gcc2
15919 builtin and then its argument prototype would still apply. */
15920 char SQLAllocEnv();
15926 if { (eval echo configure
:15927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15928 ac_cv_search_SQLAllocEnv
="-l$i"
15931 echo "configure: failed program was:" >&5
15932 cat conftest.
$ac_ext >&5
15936 LIBS
="$ac_func_search_save_LIBS"
15939 echo "$ac_t""$ac_cv_search_SQLAllocEnv" 1>&6
15940 if test "$ac_cv_search_SQLAllocEnv" != "no"; then
15941 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS
="$ac_cv_search_SQLAllocEnv $LIBS"
15945 wxUSE_ODBC
=builtin;
15946 echo "configure: warning: can't find system Odbc library falling back to builtin " 1>&2
15950 if test "$wxUSE_ODBC" != "sys" ; then
15951 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15958 if test "$wxUSE_REGEX" = "builtin" ; then
15959 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15961 if test "$wxUSE_ZLIB" = "builtin" ; then
15962 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15966 if test "$wxUSE_OPENGL" = "yes"; then
15967 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
15968 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15969 elif test "$wxUSE_MSW" = 1; then
15970 OPENGL_LIBS
="-lopengl32 -lglu32"
15972 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15973 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15974 echo "configure:15975: checking for GL/gl.h" >&5
15975 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15976 echo $ac_n "(cached) $ac_c" 1>&6
15978 cat > conftest.
$ac_ext <<EOF
15979 #line 15980 "configure"
15980 #include "confdefs.h"
15983 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15984 { (eval echo configure
:15985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15985 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15986 if test -z "$ac_err"; then
15988 eval "ac_cv_header_$ac_safe=yes"
15991 echo "configure: failed program was:" >&5
15992 cat conftest.
$ac_ext >&5
15994 eval "ac_cv_header_$ac_safe=no"
15998 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15999 echo "$ac_t""yes" 1>&6
16003 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
16004 echo "configure:16005: checking for -lGL" >&5
16007 for ac_dir
in $SEARCH_LIB /usr
/lib
;
16009 for ac_extension
in a so sl dylib
; do
16010 if test -f "$ac_dir/libGL.$ac_extension"; then
16011 ac_find_libraries
=$ac_dir
16017 if test "$ac_find_libraries" != "" ; then
16019 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
16021 if test $result = 0; then
16024 ac_path_to_link
=" -L$ac_find_libraries"
16027 if test "$ac_path_to_link" != " -L/usr/lib" ; then
16028 LDFLAGS_GL
="$ac_path_to_link"
16033 for ac_dir
in $SEARCH_LIB /usr
/lib
;
16035 for ac_extension
in a so sl dylib
; do
16036 if test -f "$ac_dir/libGLU.$ac_extension"; then
16037 ac_find_libraries
=$ac_dir
16043 if test "$ac_find_libraries" != "" ; then
16045 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
16047 if test $result = 0; then
16050 ac_path_to_link
=" -L$ac_find_libraries"
16053 if test "$ac_path_to_link" != " -L/usr/lib" -a \
16054 "$ac_path_to_link" != "$LDFLAGS_GL"; then
16055 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
16059 OPENGL_LIBS
="-lGL -lGLU"
16060 echo "$ac_t""yes" 1>&6
16064 if "$found_gl" != 1; then
16065 echo "$ac_t""no" 1>&6
16066 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
16067 echo "configure:16068: checking for -lMesaGL" >&5
16070 for ac_dir
in $SEARCH_LIB /usr
/lib
;
16072 for ac_extension
in a so sl dylib
; do
16073 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
16074 ac_find_libraries
=$ac_dir
16080 if test "$ac_find_libraries" != "" ; then
16082 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
16084 if test $result = 0; then
16087 ac_path_to_link
=" -L$ac_find_libraries"
16090 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
16091 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
16092 echo "$ac_t""yes" 1>&6
16094 echo "$ac_t""no" 1>&6
16099 echo "$ac_t""no" 1>&6
16103 if test "x$OPENGL_LIBS" = "x"; then
16104 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
16108 if test "$wxUSE_OPENGL" = "yes"; then
16109 cat >> confdefs.h
<<\EOF
16110 #define wxUSE_OPENGL 1
16113 cat >> confdefs.h
<<\EOF
16114 #define wxUSE_GLCANVAS 1
16117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
16121 if test -z "$TOOLKIT_VPATH" ; then
16122 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
16125 if test -n "$TOOLKIT" ; then
16126 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
16129 lib_unicode_suffix
=
16130 if test "$wxUSE_UNICODE" = "yes"; then
16131 lib_unicode_suffix
=u
16135 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
16139 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
16141 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
16142 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
16144 if test "$cross_compiling" = "yes"; then
16145 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
16146 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
16149 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
16150 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
16151 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
16153 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16154 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16156 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
16157 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16158 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
16159 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16162 *-*-cygwin* | *-*-mingw32* )
16166 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
16167 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16168 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16169 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
16170 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
16172 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16173 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16179 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16180 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16182 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
16183 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16184 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
16185 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16187 if test "$wxUSE_MAC" = 1; then
16188 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
16189 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
16194 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
16195 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
16197 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
16198 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
16200 if test "$wxUSE_OPENGL" = "yes"; then
16201 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
16202 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
16207 if test "$wxUSE_SHARED" = "yes"; then
16209 *-pc-os2_emx | *-pc-os2-emx | \
16212 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
16217 if test "$wxUSE_SHARED" = "yes"; then
16219 if test "$wxUSE_OPENGL" = "yes"; then
16220 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
16221 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
16223 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16224 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
16227 if test "$GCC" = "yes"; then
16233 found_versioning
=no
16236 if test $found_versioning = no
; then
16237 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
16238 echo "configure:16239: checking if the linker accepts --version-script" >&5
16239 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
16240 echo $ac_n "(cached) $ac_c" 1>&6
16243 echo "VER_1 { *; };" >conftest.sym
16244 echo "int main() { return 0; }" >conftest.cpp
16247 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
16248 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:16249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
16249 if test -s conftest.stderr
; then
16250 wx_cv_version_script
=no
16252 wx_cv_version_script
=yes
16255 wx_cv_version_script
=no
16257 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
16261 echo "$ac_t""$wx_cv_version_script" 1>&6
16262 if test $wx_cv_version_script = yes ; then
16263 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
16268 SHARED_LD
="${CXX} -shared -o"
16272 if test "$GCC" = "yes"; then
16273 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
16275 LDFLAGS
="$LDFLAGS -L/usr/lib"
16277 SHARED_LD
="${CXX} -b -o"
16281 if test "$wxUSE_OPENGL" = "yes"; then
16282 WX_ALL_INSTALLED
="preinstall_gl"
16283 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16285 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16290 if test "$GCC" != "yes"; then
16291 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
16292 echo "configure:16293: checking for Intel compiler" >&5
16293 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
16294 echo $ac_n "(cached) $ac_c" 1>&6
16297 cat > conftest.
$ac_ext <<EOF
16298 #line 16299 "configure"
16299 #include "confdefs.h"
16303 #ifndef __INTEL_COMPILER
16309 if { (eval echo configure
:16310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16313 echo "configure: failed program was:" >&5
16314 cat conftest.
$ac_ext >&5
16323 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16324 if test "$wx_cv_prog_icc" = "yes"; then
16329 if test "$wxUSE_SONAME" = "yes" ; then
16330 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16331 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16332 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16337 if test "$GCC" = yes ; then
16338 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16340 SHARED_LD
="${CXX} -G -o"
16342 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16343 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16348 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16349 CFLAGS
="$CFLAGS -fno-common"
16350 CXXFLAGS
="$CXXFLAGS -fno-common"
16351 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16352 PIC_FLAG
="-dynamic -fPIC"
16353 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16354 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16358 if test "$GCC" != "yes"; then
16359 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16360 set dummy makeC
++SharedLib
; ac_word
=$2
16361 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16362 echo "configure:16363: checking for $ac_word" >&5
16363 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16364 echo $ac_n "(cached) $ac_c" 1>&6
16366 if test -n "$AIX_CXX_LD"; then
16367 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16369 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16371 for ac_dir
in $ac_dummy; do
16372 test -z "$ac_dir" && ac_dir
=.
16373 if test -f $ac_dir/$ac_word; then
16374 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16379 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16382 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16383 if test -n "$AIX_CXX_LD"; then
16384 echo "$ac_t""$AIX_CXX_LD" 1>&6
16386 echo "$ac_t""no" 1>&6
16390 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16394 *-*-cygwin* | *-*-mingw32* )
16395 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16397 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16398 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16400 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16402 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16403 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16405 if test "$wxUSE_OPENGL" = "yes"; then
16406 LIBS
="${LIBS} ${OPENGL_LIBS}"
16411 SHARED_LD
="${LD} -shared -o"
16415 if test "$GCC" != "yes"; then
16420 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16428 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16431 if test "x$WX_TARGET_LIBRARY" = "x"; then
16432 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16433 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16436 WX_TARGET_LIBRARY_TYPE
="so"
16437 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16440 if test "$wxUSE_SHARED" = "no"; then
16442 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16443 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16446 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
16447 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16450 if test "$wxUSE_OPENGL" = "yes"; then
16451 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16452 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16454 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16457 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16458 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16460 WX_TARGET_LIBRARY_TYPE
="a"
16461 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16471 if test "$wxUSE_MAC" = 1; then
16472 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16473 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16474 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16475 # Extract the first word of "Rez", so it can be a program name with args.
16476 set dummy Rez
; ac_word
=$2
16477 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16478 echo "configure:16479: checking for $ac_word" >&5
16479 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16480 echo $ac_n "(cached) $ac_c" 1>&6
16482 if test -n "$RESCOMP"; then
16483 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16485 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16487 for ac_dir
in $ac_dummy; do
16488 test -z "$ac_dir" && ac_dir
=.
16489 if test -f $ac_dir/$ac_word; then
16490 ac_cv_prog_RESCOMP
="Rez"
16495 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16498 RESCOMP
="$ac_cv_prog_RESCOMP"
16499 if test -n "$RESCOMP"; then
16500 echo "$ac_t""$RESCOMP" 1>&6
16502 echo "$ac_t""no" 1>&6
16505 # Extract the first word of "DeRez", so it can be a program name with args.
16506 set dummy DeRez
; ac_word
=$2
16507 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16508 echo "configure:16509: checking for $ac_word" >&5
16509 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16510 echo $ac_n "(cached) $ac_c" 1>&6
16512 if test -n "$DEREZ"; then
16513 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16515 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16517 for ac_dir
in $ac_dummy; do
16518 test -z "$ac_dir" && ac_dir
=.
16519 if test -f $ac_dir/$ac_word; then
16520 ac_cv_prog_DEREZ
="DeRez"
16525 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16528 DEREZ
="$ac_cv_prog_DEREZ"
16529 if test -n "$DEREZ"; then
16530 echo "$ac_t""$DEREZ" 1>&6
16532 echo "$ac_t""no" 1>&6
16535 # Extract the first word of "SetFile", so it can be a program name with args.
16536 set dummy SetFile
; ac_word
=$2
16537 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16538 echo "configure:16539: checking for $ac_word" >&5
16539 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16540 echo $ac_n "(cached) $ac_c" 1>&6
16542 if test -n "$SETFILE"; then
16543 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16545 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16547 for ac_dir
in $ac_dummy; do
16548 test -z "$ac_dir" && ac_dir
=.
16549 if test -f $ac_dir/$ac_word; then
16550 ac_cv_prog_SETFILE
="SetFile"
16555 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16558 SETFILE
="$ac_cv_prog_SETFILE"
16559 if test -n "$SETFILE"; then
16560 echo "$ac_t""$SETFILE" 1>&6
16562 echo "$ac_t""no" 1>&6
16565 MACOSX_BUNDLE
="bundle"
16566 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16567 MACSETFILE
="\$(SETFILE)"
16568 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
16569 elif test "$wxUSE_COCOA" = 1; then
16570 # Extract the first word of "Rez", so it can be a program name with args.
16571 set dummy Rez
; ac_word
=$2
16572 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16573 echo "configure:16574: checking for $ac_word" >&5
16574 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16575 echo $ac_n "(cached) $ac_c" 1>&6
16577 if test -n "$RESCOMP"; then
16578 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16580 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16582 for ac_dir
in $ac_dummy; do
16583 test -z "$ac_dir" && ac_dir
=.
16584 if test -f $ac_dir/$ac_word; then
16585 ac_cv_prog_RESCOMP
="Rez"
16590 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16593 RESCOMP
="$ac_cv_prog_RESCOMP"
16594 if test -n "$RESCOMP"; then
16595 echo "$ac_t""$RESCOMP" 1>&6
16597 echo "$ac_t""no" 1>&6
16600 # Extract the first word of "DeRez", so it can be a program name with args.
16601 set dummy DeRez
; ac_word
=$2
16602 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16603 echo "configure:16604: checking for $ac_word" >&5
16604 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16605 echo $ac_n "(cached) $ac_c" 1>&6
16607 if test -n "$DEREZ"; then
16608 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16610 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16612 for ac_dir
in $ac_dummy; do
16613 test -z "$ac_dir" && ac_dir
=.
16614 if test -f $ac_dir/$ac_word; then
16615 ac_cv_prog_DEREZ
="DeRez"
16620 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16623 DEREZ
="$ac_cv_prog_DEREZ"
16624 if test -n "$DEREZ"; then
16625 echo "$ac_t""$DEREZ" 1>&6
16627 echo "$ac_t""no" 1>&6
16630 # Extract the first word of "SetFile", so it can be a program name with args.
16631 set dummy SetFile
; ac_word
=$2
16632 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16633 echo "configure:16634: checking for $ac_word" >&5
16634 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16635 echo $ac_n "(cached) $ac_c" 1>&6
16637 if test -n "$SETFILE"; then
16638 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16640 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16642 for ac_dir
in $ac_dummy; do
16643 test -z "$ac_dir" && ac_dir
=.
16644 if test -f $ac_dir/$ac_word; then
16645 ac_cv_prog_SETFILE
="SetFile"
16650 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16653 SETFILE
="$ac_cv_prog_SETFILE"
16654 if test -n "$SETFILE"; then
16655 echo "$ac_t""$SETFILE" 1>&6
16657 echo "$ac_t""no" 1>&6
16660 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
16661 MACSETFILE
="\$(SETFILE)"
16662 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
16664 if test "$wxUSE_PM" = 1; then
16665 MACRESCOMP
="emxbind -ep"
16670 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16671 echo "configure:16672: checking for ANSI C header files" >&5
16672 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16673 echo $ac_n "(cached) $ac_c" 1>&6
16675 cat > conftest.
$ac_ext <<EOF
16676 #line 16677 "configure"
16677 #include "confdefs.h"
16678 #include <stdlib.h>
16679 #include <stdarg.h>
16680 #include <string.h>
16683 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16684 { (eval echo configure
:16685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16685 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16686 if test -z "$ac_err"; then
16688 ac_cv_header_stdc
=yes
16691 echo "configure: failed program was:" >&5
16692 cat conftest.
$ac_ext >&5
16694 ac_cv_header_stdc
=no
16698 if test $ac_cv_header_stdc = yes; then
16699 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16700 cat > conftest.
$ac_ext <<EOF
16701 #line 16702 "configure"
16702 #include "confdefs.h"
16703 #include <string.h>
16705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16706 egrep "memchr" >/dev
/null
2>&1; then
16710 ac_cv_header_stdc
=no
16716 if test $ac_cv_header_stdc = yes; then
16717 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16718 cat > conftest.
$ac_ext <<EOF
16719 #line 16720 "configure"
16720 #include "confdefs.h"
16721 #include <stdlib.h>
16723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16724 egrep "free" >/dev
/null
2>&1; then
16728 ac_cv_header_stdc
=no
16734 if test $ac_cv_header_stdc = yes; then
16735 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16736 if test "$cross_compiling" = yes; then
16739 cat > conftest.
$ac_ext <<EOF
16740 #line 16741 "configure"
16741 #include "confdefs.h"
16743 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16744 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16745 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16746 int main () { int i; for (i = 0; i < 256; i++)
16747 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16751 if { (eval echo configure
:16752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16755 echo "configure: failed program was:" >&5
16756 cat conftest.
$ac_ext >&5
16758 ac_cv_header_stdc
=no
16766 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16767 if test $ac_cv_header_stdc = yes; then
16768 cat >> confdefs.h
<<\EOF
16769 #define STDC_HEADERS 1
16774 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16775 echo "configure:16776: checking for mode_t" >&5
16776 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16777 echo $ac_n "(cached) $ac_c" 1>&6
16779 cat > conftest.
$ac_ext <<EOF
16780 #line 16781 "configure"
16781 #include "confdefs.h"
16782 #include <sys/types.h>
16784 #include <stdlib.h>
16785 #include <stddef.h>
16788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16789 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16791 ac_cv_type_mode_t
=yes
16794 ac_cv_type_mode_t
=no
16799 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16800 if test $ac_cv_type_mode_t = no
; then
16801 cat >> confdefs.h
<<\EOF
16807 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16808 echo "configure:16809: checking for off_t" >&5
16809 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16810 echo $ac_n "(cached) $ac_c" 1>&6
16812 cat > conftest.
$ac_ext <<EOF
16813 #line 16814 "configure"
16814 #include "confdefs.h"
16815 #include <sys/types.h>
16817 #include <stdlib.h>
16818 #include <stddef.h>
16821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16822 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16824 ac_cv_type_off_t
=yes
16827 ac_cv_type_off_t
=no
16832 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16833 if test $ac_cv_type_off_t = no
; then
16834 cat >> confdefs.h
<<\EOF
16840 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16841 echo "configure:16842: checking for pid_t" >&5
16842 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16843 echo $ac_n "(cached) $ac_c" 1>&6
16845 cat > conftest.
$ac_ext <<EOF
16846 #line 16847 "configure"
16847 #include "confdefs.h"
16848 #include <sys/types.h>
16850 #include <stdlib.h>
16851 #include <stddef.h>
16854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16855 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16857 ac_cv_type_pid_t
=yes
16860 ac_cv_type_pid_t
=no
16865 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16866 if test $ac_cv_type_pid_t = no
; then
16867 cat >> confdefs.h
<<\EOF
16873 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16874 echo "configure:16875: checking for size_t" >&5
16875 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16876 echo $ac_n "(cached) $ac_c" 1>&6
16878 cat > conftest.
$ac_ext <<EOF
16879 #line 16880 "configure"
16880 #include "confdefs.h"
16881 #include <sys/types.h>
16883 #include <stdlib.h>
16884 #include <stddef.h>
16887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16888 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16890 ac_cv_type_size_t
=yes
16893 ac_cv_type_size_t
=no
16898 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16899 if test $ac_cv_type_size_t = no
; then
16900 cat >> confdefs.h
<<\EOF
16901 #define size_t unsigned
16906 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16907 echo "configure:16908: checking for uid_t in sys/types.h" >&5
16908 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16909 echo $ac_n "(cached) $ac_c" 1>&6
16911 cat > conftest.
$ac_ext <<EOF
16912 #line 16913 "configure"
16913 #include "confdefs.h"
16914 #include <sys/types.h>
16916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16917 egrep "uid_t" >/dev
/null
2>&1; then
16919 ac_cv_type_uid_t
=yes
16922 ac_cv_type_uid_t
=no
16928 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16929 if test $ac_cv_type_uid_t = no
; then
16930 cat >> confdefs.h
<<\EOF
16934 cat >> confdefs.h
<<\EOF
16943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16944 ac_cpp
='$CXXCPP $CPPFLAGS'
16945 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16946 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16947 cross_compiling
=$ac_cv_prog_cxx_cross
16949 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16950 echo "configure:16951: checking if size_t is unsigned int" >&5
16951 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16952 echo $ac_n "(cached) $ac_c" 1>&6
16955 cat > conftest.
$ac_ext <<EOF
16956 #line 16957 "configure"
16957 #include "confdefs.h"
16958 #include <stddef.h>
16963 struct Foo { void foo(size_t); void foo(unsigned int); };
16969 if { (eval echo configure
:16970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16971 wx_cv_size_t_is_uint
=no
16973 echo "configure: failed program was:" >&5
16974 cat conftest.
$ac_ext >&5
16976 wx_cv_size_t_is_uint
=yes
16984 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16986 if test "$wx_cv_size_t_is_uint" = "yes"; then
16987 cat >> confdefs.h
<<\EOF
16988 #define wxSIZE_T_IS_UINT 1
16992 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16993 echo "configure:16994: checking if size_t is unsigned long" >&5
16994 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16995 echo $ac_n "(cached) $ac_c" 1>&6
16997 cat > conftest.
$ac_ext <<EOF
16998 #line 16999 "configure"
16999 #include "confdefs.h"
17000 #include <stddef.h>
17005 struct Foo { void foo(size_t); void foo(unsigned long); };
17011 if { (eval echo configure
:17012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17013 wx_cv_size_t_is_ulong
=no
17015 echo "configure: failed program was:" >&5
17016 cat conftest.
$ac_ext >&5
17018 wx_cv_size_t_is_ulong
=yes
17025 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
17027 if test "$wx_cv_size_t_is_ulong" = "yes"; then
17028 cat >> confdefs.h
<<\EOF
17029 #define wxSIZE_T_IS_ULONG 1
17036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17037 ac_cpp
='$CPP $CPPFLAGS'
17038 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17039 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17040 cross_compiling
=$ac_cv_prog_cc_cross
17044 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
17045 echo "configure:17046: checking for pw_gecos in struct passwd" >&5
17046 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
17047 echo $ac_n "(cached) $ac_c" 1>&6
17050 cat > conftest.
$ac_ext <<EOF
17051 #line 17052 "configure"
17052 #include "confdefs.h"
17062 if { (eval echo configure
:17063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17065 wx_cv_struct_pw_gecos
=yes
17068 echo "configure: failed program was:" >&5
17069 cat conftest.
$ac_ext >&5
17072 wx_cv_struct_pw_gecos
=no
17081 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
17083 if test "$wx_cv_struct_pw_gecos" = "yes"; then
17084 cat >> confdefs.h
<<\EOF
17085 #define HAVE_PW_GECOS 1
17091 if test "$wx_cv_sizeof_wchar_t" != "0"; then
17092 cat >> confdefs.h
<<\EOF
17093 #define wxUSE_WCHAR_T 1
17099 for ac_func
in wcslen
17101 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17102 echo "configure:17103: checking for $ac_func" >&5
17103 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17104 echo $ac_n "(cached) $ac_c" 1>&6
17106 cat > conftest.
$ac_ext <<EOF
17107 #line 17108 "configure"
17108 #include "confdefs.h"
17109 /* System header to define __stub macros and hopefully few prototypes,
17110 which can conflict with char $ac_func(); below. */
17111 #include <assert.h>
17112 /* Override any gcc2 internal prototype to avoid an error. */
17113 /* We use char because int might match the return type of a gcc2
17114 builtin and then its argument prototype would still apply. */
17119 /* The GNU C library defines this for functions which it implements
17120 to always fail with ENOSYS. Some functions are actually named
17121 something starting with __ and the normal name is an alias. */
17122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17130 if { (eval echo configure
:17131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17132 eval "ac_cv_func_$ac_func=yes"
17134 echo "configure: failed program was:" >&5
17135 cat conftest.
$ac_ext >&5
17137 eval "ac_cv_func_$ac_func=no"
17142 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17143 echo "$ac_t""yes" 1>&6
17144 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17145 cat >> confdefs.h
<<EOF
17146 #define $ac_tr_func 1
17150 echo "$ac_t""no" 1>&6
17155 if test "$WCSLEN_FOUND" = 0; then
17156 if test "$TOOLKIT" = "MSW"; then
17157 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
17158 echo "configure:17159: checking for wcslen in -lmsvcrt" >&5
17159 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
17160 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17161 echo $ac_n "(cached) $ac_c" 1>&6
17163 ac_save_LIBS
="$LIBS"
17164 LIBS
="-lmsvcrt $LIBS"
17165 cat > conftest.
$ac_ext <<EOF
17166 #line 17167 "configure"
17167 #include "confdefs.h"
17168 /* Override any gcc2 internal prototype to avoid an error. */
17169 /* We use char because int might match the return type of a gcc2
17170 builtin and then its argument prototype would still apply. */
17177 if { (eval echo configure
:17178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17179 eval "ac_cv_lib_$ac_lib_var=yes"
17181 echo "configure: failed program was:" >&5
17182 cat conftest.
$ac_ext >&5
17184 eval "ac_cv_lib_$ac_lib_var=no"
17187 LIBS
="$ac_save_LIBS"
17190 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17191 echo "$ac_t""yes" 1>&6
17194 echo "$ac_t""no" 1>&6
17198 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
17199 echo "configure:17200: checking for wcslen in -lw" >&5
17200 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
17201 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17202 echo $ac_n "(cached) $ac_c" 1>&6
17204 ac_save_LIBS
="$LIBS"
17206 cat > conftest.
$ac_ext <<EOF
17207 #line 17208 "configure"
17208 #include "confdefs.h"
17209 /* Override any gcc2 internal prototype to avoid an error. */
17210 /* We use char because int might match the return type of a gcc2
17211 builtin and then its argument prototype would still apply. */
17218 if { (eval echo configure
:17219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17220 eval "ac_cv_lib_$ac_lib_var=yes"
17222 echo "configure: failed program was:" >&5
17223 cat conftest.
$ac_ext >&5
17225 eval "ac_cv_lib_$ac_lib_var=no"
17228 LIBS
="$ac_save_LIBS"
17231 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17232 echo "$ac_t""yes" 1>&6
17238 echo "$ac_t""no" 1>&6
17244 if test "$WCSLEN_FOUND" = 1; then
17245 cat >> confdefs.h
<<\EOF
17246 #define HAVE_WCSLEN 1
17251 for ac_func
in wcsrtombs
17253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17254 echo "configure:17255: checking for $ac_func" >&5
17255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17256 echo $ac_n "(cached) $ac_c" 1>&6
17258 cat > conftest.
$ac_ext <<EOF
17259 #line 17260 "configure"
17260 #include "confdefs.h"
17261 /* System header to define __stub macros and hopefully few prototypes,
17262 which can conflict with char $ac_func(); below. */
17263 #include <assert.h>
17264 /* Override any gcc2 internal prototype to avoid an error. */
17265 /* We use char because int might match the return type of a gcc2
17266 builtin and then its argument prototype would still apply. */
17271 /* The GNU C library defines this for functions which it implements
17272 to always fail with ENOSYS. Some functions are actually named
17273 something starting with __ and the normal name is an alias. */
17274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17282 if { (eval echo configure
:17283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17284 eval "ac_cv_func_$ac_func=yes"
17286 echo "configure: failed program was:" >&5
17287 cat conftest.
$ac_ext >&5
17289 eval "ac_cv_func_$ac_func=no"
17294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17295 echo "$ac_t""yes" 1>&6
17296 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17297 cat >> confdefs.h
<<EOF
17298 #define $ac_tr_func 1
17302 echo "$ac_t""no" 1>&6
17307 echo "configure: warning: Wide character support is unavailable" 1>&2
17312 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17313 ac_cpp
='$CXXCPP $CPPFLAGS'
17314 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17315 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17316 cross_compiling
=$ac_cv_prog_cxx_cross
17319 for ac_func
in vsnprintf
17321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17322 echo "configure:17323: checking for $ac_func" >&5
17323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17324 echo $ac_n "(cached) $ac_c" 1>&6
17326 cat > conftest.
$ac_ext <<EOF
17327 #line 17328 "configure"
17328 #include "confdefs.h"
17329 /* System header to define __stub macros and hopefully few prototypes,
17330 which can conflict with char $ac_func(); below. */
17331 #include <assert.h>
17332 /* Override any gcc2 internal prototype to avoid an error. */
17336 /* We use char because int might match the return type of a gcc2
17337 builtin and then its argument prototype would still apply. */
17342 /* The GNU C library defines this for functions which it implements
17343 to always fail with ENOSYS. Some functions are actually named
17344 something starting with __ and the normal name is an alias. */
17345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17353 if { (eval echo configure
:17354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17355 eval "ac_cv_func_$ac_func=yes"
17357 echo "configure: failed program was:" >&5
17358 cat conftest.
$ac_ext >&5
17360 eval "ac_cv_func_$ac_func=no"
17365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17366 echo "$ac_t""yes" 1>&6
17367 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17368 cat >> confdefs.h
<<EOF
17369 #define $ac_tr_func 1
17373 echo "$ac_t""no" 1>&6
17378 if test "$ac_cv_func_vsnprintf" = "yes"; then
17379 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
17380 echo "configure:17381: checking for vsnprintf declaration" >&5
17381 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
17382 echo $ac_n "(cached) $ac_c" 1>&6
17385 cat > conftest.
$ac_ext <<EOF
17386 #line 17387 "configure"
17387 #include "confdefs.h"
17390 #include <stdarg.h>
17396 vsnprintf(buf, 10u, "%s", ap);
17400 if { (eval echo configure
:17401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17402 wx_cv_func_vsnprintf_decl
=yes
17404 echo "configure: failed program was:" >&5
17405 cat conftest.
$ac_ext >&5
17407 wx_cv_func_vsnprintf_decl
=no
17415 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17417 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17418 cat >> confdefs.h
<<\EOF
17419 #define HAVE_VSNPRINTF_DECL 1
17425 if test "$wxUSE_UNICODE" = yes; then
17426 for ac_func
in fputwc wprintf vswprintf
17428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17429 echo "configure:17430: checking for $ac_func" >&5
17430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17431 echo $ac_n "(cached) $ac_c" 1>&6
17433 cat > conftest.
$ac_ext <<EOF
17434 #line 17435 "configure"
17435 #include "confdefs.h"
17436 /* System header to define __stub macros and hopefully few prototypes,
17437 which can conflict with char $ac_func(); below. */
17438 #include <assert.h>
17439 /* Override any gcc2 internal prototype to avoid an error. */
17443 /* We use char because int might match the return type of a gcc2
17444 builtin and then its argument prototype would still apply. */
17449 /* The GNU C library defines this for functions which it implements
17450 to always fail with ENOSYS. Some functions are actually named
17451 something starting with __ and the normal name is an alias. */
17452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17460 if { (eval echo configure
:17461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17462 eval "ac_cv_func_$ac_func=yes"
17464 echo "configure: failed program was:" >&5
17465 cat conftest.
$ac_ext >&5
17467 eval "ac_cv_func_$ac_func=no"
17472 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17473 echo "$ac_t""yes" 1>&6
17474 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17475 cat >> confdefs.h
<<EOF
17476 #define $ac_tr_func 1
17480 echo "$ac_t""no" 1>&6
17485 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17486 echo "configure:17487: checking for _vsnwprintf" >&5
17487 cat > conftest.
$ac_ext <<EOF
17488 #line 17489 "configure"
17489 #include "confdefs.h"
17495 if { (eval echo configure
:17496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17497 echo "$ac_t""yes" 1>&6
17498 cat >> confdefs.h
<<\EOF
17499 #define HAVE__VSNWPRINTF 1
17503 echo "configure: failed program was:" >&5
17504 cat conftest.
$ac_ext >&5
17506 echo "$ac_t""no" 1>&6
17512 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17513 ac_cpp
='$CPP $CPPFLAGS'
17514 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17515 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17516 cross_compiling
=$ac_cv_prog_cc_cross
17521 if test "$TOOLKIT" != "MSW"; then
17526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17527 ac_cpp
='$CXXCPP $CPPFLAGS'
17528 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17529 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17530 cross_compiling
=$ac_cv_prog_cxx_cross
17534 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17535 if test "${with_libiconv_prefix+set}" = set; then
17536 withval
="$with_libiconv_prefix"
17538 for dir
in `echo "$withval" | tr : ' '`; do
17539 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17540 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17546 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17547 echo "configure:17548: checking for iconv" >&5
17548 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17549 echo $ac_n "(cached) $ac_c" 1>&6
17552 am_cv_func_iconv
="no, consider installing GNU libiconv"
17554 cat > conftest.
$ac_ext <<EOF
17555 #line 17556 "configure"
17556 #include "confdefs.h"
17557 #include <stdlib.h>
17560 iconv_t cd = iconv_open("","");
17561 iconv(cd,NULL,NULL,NULL,NULL);
17565 if { (eval echo configure
:17566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17567 am_cv_func_iconv
=yes
17569 echo "configure: failed program was:" >&5
17570 cat conftest.
$ac_ext >&5
17573 if test "$am_cv_func_iconv" != yes; then
17574 am_save_LIBS
="$LIBS"
17575 LIBS
="$LIBS -liconv"
17576 cat > conftest.
$ac_ext <<EOF
17577 #line 17578 "configure"
17578 #include "confdefs.h"
17579 #include <stdlib.h>
17582 iconv_t cd = iconv_open("","");
17583 iconv(cd,NULL,NULL,NULL,NULL);
17587 if { (eval echo configure
:17588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17589 am_cv_lib_iconv
=yes
17590 am_cv_func_iconv
=yes
17592 echo "configure: failed program was:" >&5
17593 cat conftest.
$ac_ext >&5
17596 LIBS
="$am_save_LIBS"
17601 echo "$ac_t""$am_cv_func_iconv" 1>&6
17602 if test "$am_cv_func_iconv" = yes; then
17603 cat >> confdefs.h
<<\EOF
17604 #define HAVE_ICONV 1
17607 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17608 echo "configure:17609: checking if iconv needs const" >&5
17609 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17610 echo $ac_n "(cached) $ac_c" 1>&6
17612 cat > conftest.
$ac_ext <<EOF
17613 #line 17614 "configure"
17614 #include "confdefs.h"
17616 #include <stdlib.h>
17622 #if defined(__STDC__) || defined(__cplusplus)
17623 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17632 if { (eval echo configure
:17633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17634 wx_cv_func_iconv_const
="no"
17636 echo "configure: failed program was:" >&5
17637 cat conftest.
$ac_ext >&5
17639 wx_cv_func_iconv_const
="yes"
17646 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17649 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17650 iconv_const
="const"
17653 cat >> confdefs.h
<<EOF
17654 #define ICONV_CONST $iconv_const
17659 if test "$am_cv_lib_iconv" = yes; then
17664 LIBS
="$LIBICONV $LIBS"
17666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17667 ac_cpp
='$CPP $CPPFLAGS'
17668 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17669 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17670 cross_compiling
=$ac_cv_prog_cc_cross
17673 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17674 for ac_func
in sigaction
17676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17677 echo "configure:17678: checking for $ac_func" >&5
17678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17679 echo $ac_n "(cached) $ac_c" 1>&6
17681 cat > conftest.
$ac_ext <<EOF
17682 #line 17683 "configure"
17683 #include "confdefs.h"
17684 /* System header to define __stub macros and hopefully few prototypes,
17685 which can conflict with char $ac_func(); below. */
17686 #include <assert.h>
17687 /* Override any gcc2 internal prototype to avoid an error. */
17688 /* We use char because int might match the return type of a gcc2
17689 builtin and then its argument prototype would still apply. */
17694 /* The GNU C library defines this for functions which it implements
17695 to always fail with ENOSYS. Some functions are actually named
17696 something starting with __ and the normal name is an alias. */
17697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17705 if { (eval echo configure
:17706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17707 eval "ac_cv_func_$ac_func=yes"
17709 echo "configure: failed program was:" >&5
17710 cat conftest.
$ac_ext >&5
17712 eval "ac_cv_func_$ac_func=no"
17717 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17718 echo "$ac_t""yes" 1>&6
17719 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17720 cat >> confdefs.h
<<EOF
17721 #define $ac_tr_func 1
17725 echo "$ac_t""no" 1>&6
17730 if test "$ac_cv_func_sigaction" = "no"; then
17731 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17732 wxUSE_ON_FATAL_EXCEPTION
=no
17735 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17739 ac_cpp
='$CXXCPP $CPPFLAGS'
17740 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17741 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17742 cross_compiling
=$ac_cv_prog_cxx_cross
17745 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17746 echo "configure:17747: checking for sa_handler type" >&5
17747 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17748 echo $ac_n "(cached) $ac_c" 1>&6
17751 cat > conftest.
$ac_ext <<EOF
17752 #line 17753 "configure"
17753 #include "confdefs.h"
17754 #include <signal.h>
17757 extern void testSigHandler(int);
17759 struct sigaction sa;
17760 sa.sa_handler = testSigHandler;
17764 if { (eval echo configure
:17765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17767 wx_cv_type_sa_handler
=int
17770 echo "configure: failed program was:" >&5
17771 cat conftest.
$ac_ext >&5
17774 wx_cv_type_sa_handler
=void
17781 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17784 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17785 ac_cpp
='$CPP $CPPFLAGS'
17786 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17787 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17788 cross_compiling
=$ac_cv_prog_cc_cross
17791 cat >> confdefs.h
<<EOF
17792 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17798 for ac_func
in mkstemp mktemp
17800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17801 echo "configure:17802: checking for $ac_func" >&5
17802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17803 echo $ac_n "(cached) $ac_c" 1>&6
17805 cat > conftest.
$ac_ext <<EOF
17806 #line 17807 "configure"
17807 #include "confdefs.h"
17808 /* System header to define __stub macros and hopefully few prototypes,
17809 which can conflict with char $ac_func(); below. */
17810 #include <assert.h>
17811 /* Override any gcc2 internal prototype to avoid an error. */
17812 /* We use char because int might match the return type of a gcc2
17813 builtin and then its argument prototype would still apply. */
17818 /* The GNU C library defines this for functions which it implements
17819 to always fail with ENOSYS. Some functions are actually named
17820 something starting with __ and the normal name is an alias. */
17821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17829 if { (eval echo configure
:17830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17831 eval "ac_cv_func_$ac_func=yes"
17833 echo "configure: failed program was:" >&5
17834 cat conftest.
$ac_ext >&5
17836 eval "ac_cv_func_$ac_func=no"
17841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17842 echo "$ac_t""yes" 1>&6
17843 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17844 cat >> confdefs.h
<<EOF
17845 #define $ac_tr_func 1
17849 echo "$ac_t""no" 1>&6
17854 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17855 echo "configure:17856: checking for statfs" >&5
17856 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17857 echo $ac_n "(cached) $ac_c" 1>&6
17859 cat > conftest.
$ac_ext <<EOF
17860 #line 17861 "configure"
17861 #include "confdefs.h"
17863 #if defined(__BSD__)
17864 #include <sys/param.h>
17865 #include <sys/mount.h>
17867 #include <sys/vfs.h>
17881 if { (eval echo configure
:17882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17884 wx_cv_func_statfs
=yes
17887 echo "configure: failed program was:" >&5
17888 cat conftest.
$ac_ext >&5
17891 wx_cv_func_statfs
=no
17899 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17901 if test "$wx_cv_func_statfs" = "yes"; then
17902 wx_cv_type_statvfs_t
="struct statfs"
17903 cat >> confdefs.h
<<\EOF
17904 #define HAVE_STATFS 1
17908 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17909 echo "configure:17910: checking for statvfs" >&5
17910 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17911 echo $ac_n "(cached) $ac_c" 1>&6
17913 cat > conftest.
$ac_ext <<EOF
17914 #line 17915 "configure"
17915 #include "confdefs.h"
17917 #include <stddef.h>
17918 #include <sys/statvfs.h>
17922 statvfs("/", NULL);
17926 if { (eval echo configure
:17927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17928 wx_cv_func_statvfs
=yes
17930 echo "configure: failed program was:" >&5
17931 cat conftest.
$ac_ext >&5
17933 wx_cv_func_statvfs
=no
17940 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17942 if test "$wx_cv_func_statvfs" = "yes"; then
17945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17946 ac_cpp
='$CXXCPP $CPPFLAGS'
17947 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17948 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17949 cross_compiling
=$ac_cv_prog_cxx_cross
17952 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17953 echo "configure:17954: checking for statvfs argument type" >&5
17954 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17955 echo $ac_n "(cached) $ac_c" 1>&6
17957 cat > conftest.
$ac_ext <<EOF
17958 #line 17959 "configure"
17959 #include "confdefs.h"
17961 #include <sys/statvfs.h>
17974 if { (eval echo configure
:17975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17976 wx_cv_type_statvfs_t
=statvfs_t
17978 echo "configure: failed program was:" >&5
17979 cat conftest.
$ac_ext >&5
17982 cat > conftest.
$ac_ext <<EOF
17983 #line 17984 "configure"
17984 #include "confdefs.h"
17986 #include <sys/statvfs.h>
17999 if { (eval echo configure
:18000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18001 wx_cv_type_statvfs_t
="struct statvfs"
18003 echo "configure: failed program was:" >&5
18004 cat conftest.
$ac_ext >&5
18006 wx_cv_type_statvfs_t
="unknown"
18017 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
18020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18021 ac_cpp
='$CPP $CPPFLAGS'
18022 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18023 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18024 cross_compiling
=$ac_cv_prog_cc_cross
18027 if test "$wx_cv_type_statvfs_t" != "unknown"; then
18028 cat >> confdefs.h
<<\EOF
18029 #define HAVE_STATVFS 1
18034 wx_cv_type_statvfs_t
="unknown"
18038 if test "$wx_cv_type_statvfs_t" != "unknown"; then
18039 cat >> confdefs.h
<<EOF
18040 #define WX_STATFS_T $wx_cv_type_statvfs_t
18044 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
18047 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18048 for ac_func
in fcntl flock
18050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18051 echo "configure:18052: checking for $ac_func" >&5
18052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18053 echo $ac_n "(cached) $ac_c" 1>&6
18055 cat > conftest.
$ac_ext <<EOF
18056 #line 18057 "configure"
18057 #include "confdefs.h"
18058 /* System header to define __stub macros and hopefully few prototypes,
18059 which can conflict with char $ac_func(); below. */
18060 #include <assert.h>
18061 /* Override any gcc2 internal prototype to avoid an error. */
18062 /* We use char because int might match the return type of a gcc2
18063 builtin and then its argument prototype would still apply. */
18068 /* The GNU C library defines this for functions which it implements
18069 to always fail with ENOSYS. Some functions are actually named
18070 something starting with __ and the normal name is an alias. */
18071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18079 if { (eval echo configure
:18080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18081 eval "ac_cv_func_$ac_func=yes"
18083 echo "configure: failed program was:" >&5
18084 cat conftest.
$ac_ext >&5
18086 eval "ac_cv_func_$ac_func=no"
18091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18092 echo "$ac_t""yes" 1>&6
18093 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18094 cat >> confdefs.h
<<EOF
18095 #define $ac_tr_func 1
18099 echo "$ac_t""no" 1>&6
18104 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
18105 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
18106 wxUSE_SNGLINST_CHECKER
=no
18110 for ac_func
in timegm
18112 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18113 echo "configure:18114: checking for $ac_func" >&5
18114 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18115 echo $ac_n "(cached) $ac_c" 1>&6
18117 cat > conftest.
$ac_ext <<EOF
18118 #line 18119 "configure"
18119 #include "confdefs.h"
18120 /* System header to define __stub macros and hopefully few prototypes,
18121 which can conflict with char $ac_func(); below. */
18122 #include <assert.h>
18123 /* Override any gcc2 internal prototype to avoid an error. */
18124 /* We use char because int might match the return type of a gcc2
18125 builtin and then its argument prototype would still apply. */
18130 /* The GNU C library defines this for functions which it implements
18131 to always fail with ENOSYS. Some functions are actually named
18132 something starting with __ and the normal name is an alias. */
18133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18141 if { (eval echo configure
:18142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18143 eval "ac_cv_func_$ac_func=yes"
18145 echo "configure: failed program was:" >&5
18146 cat conftest.
$ac_ext >&5
18148 eval "ac_cv_func_$ac_func=no"
18153 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18154 echo "$ac_t""yes" 1>&6
18155 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18156 cat >> confdefs.h
<<EOF
18157 #define $ac_tr_func 1
18161 echo "$ac_t""no" 1>&6
18166 for ac_func
in putenv setenv
18168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18169 echo "configure:18170: checking for $ac_func" >&5
18170 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18171 echo $ac_n "(cached) $ac_c" 1>&6
18173 cat > conftest.
$ac_ext <<EOF
18174 #line 18175 "configure"
18175 #include "confdefs.h"
18176 /* System header to define __stub macros and hopefully few prototypes,
18177 which can conflict with char $ac_func(); below. */
18178 #include <assert.h>
18179 /* Override any gcc2 internal prototype to avoid an error. */
18180 /* We use char because int might match the return type of a gcc2
18181 builtin and then its argument prototype would still apply. */
18186 /* The GNU C library defines this for functions which it implements
18187 to always fail with ENOSYS. Some functions are actually named
18188 something starting with __ and the normal name is an alias. */
18189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18197 if { (eval echo configure
:18198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18199 eval "ac_cv_func_$ac_func=yes"
18201 echo "configure: failed program was:" >&5
18202 cat conftest.
$ac_ext >&5
18204 eval "ac_cv_func_$ac_func=no"
18209 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18210 echo "$ac_t""yes" 1>&6
18211 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18212 cat >> confdefs.h
<<EOF
18213 #define $ac_tr_func 1
18217 echo "$ac_t""no" 1>&6
18222 HAVE_SOME_SLEEP_FUNC
=0
18223 if test "$USE_BEOS" = 1; then
18224 cat >> confdefs.h
<<\EOF
18225 #define HAVE_SLEEP 1
18228 HAVE_SOME_SLEEP_FUNC
=1
18231 if test "$USE_DARWIN" = 1; then
18232 cat >> confdefs.h
<<\EOF
18233 #define HAVE_USLEEP 1
18236 HAVE_SOME_SLEEP_FUNC
=1
18239 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
18241 for ac_func
in nanosleep
18243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18244 echo "configure:18245: checking for $ac_func" >&5
18245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18246 echo $ac_n "(cached) $ac_c" 1>&6
18248 cat > conftest.
$ac_ext <<EOF
18249 #line 18250 "configure"
18250 #include "confdefs.h"
18251 /* System header to define __stub macros and hopefully few prototypes,
18252 which can conflict with char $ac_func(); below. */
18253 #include <assert.h>
18254 /* Override any gcc2 internal prototype to avoid an error. */
18255 /* We use char because int might match the return type of a gcc2
18256 builtin and then its argument prototype would still apply. */
18261 /* The GNU C library defines this for functions which it implements
18262 to always fail with ENOSYS. Some functions are actually named
18263 something starting with __ and the normal name is an alias. */
18264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18272 if { (eval echo configure
:18273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18274 eval "ac_cv_func_$ac_func=yes"
18276 echo "configure: failed program was:" >&5
18277 cat conftest.
$ac_ext >&5
18279 eval "ac_cv_func_$ac_func=no"
18284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18285 echo "$ac_t""yes" 1>&6
18286 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18287 cat >> confdefs.h
<<EOF
18288 #define $ac_tr_func 1
18290 cat >> confdefs.h
<<\EOF
18291 #define HAVE_NANOSLEEP 1
18295 echo "$ac_t""no" 1>&6
18296 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
18297 echo "configure:18298: checking for nanosleep in -lposix4" >&5
18298 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
18299 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18300 echo $ac_n "(cached) $ac_c" 1>&6
18302 ac_save_LIBS
="$LIBS"
18303 LIBS
="-lposix4 $LIBS"
18304 cat > conftest.
$ac_ext <<EOF
18305 #line 18306 "configure"
18306 #include "confdefs.h"
18307 /* Override any gcc2 internal prototype to avoid an error. */
18308 /* We use char because int might match the return type of a gcc2
18309 builtin and then its argument prototype would still apply. */
18316 if { (eval echo configure
:18317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18318 eval "ac_cv_lib_$ac_lib_var=yes"
18320 echo "configure: failed program was:" >&5
18321 cat conftest.
$ac_ext >&5
18323 eval "ac_cv_lib_$ac_lib_var=no"
18326 LIBS
="$ac_save_LIBS"
18329 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18330 echo "$ac_t""yes" 1>&6
18332 cat >> confdefs.h
<<\EOF
18333 #define HAVE_NANOSLEEP 1
18336 POSIX4_LINK
=" -lposix4"
18339 echo "$ac_t""no" 1>&6
18341 for ac_func
in usleep
18343 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18344 echo "configure:18345: checking for $ac_func" >&5
18345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18346 echo $ac_n "(cached) $ac_c" 1>&6
18348 cat > conftest.
$ac_ext <<EOF
18349 #line 18350 "configure"
18350 #include "confdefs.h"
18351 /* System header to define __stub macros and hopefully few prototypes,
18352 which can conflict with char $ac_func(); below. */
18353 #include <assert.h>
18354 /* Override any gcc2 internal prototype to avoid an error. */
18355 /* We use char because int might match the return type of a gcc2
18356 builtin and then its argument prototype would still apply. */
18361 /* The GNU C library defines this for functions which it implements
18362 to always fail with ENOSYS. Some functions are actually named
18363 something starting with __ and the normal name is an alias. */
18364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18372 if { (eval echo configure
:18373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18374 eval "ac_cv_func_$ac_func=yes"
18376 echo "configure: failed program was:" >&5
18377 cat conftest.
$ac_ext >&5
18379 eval "ac_cv_func_$ac_func=no"
18384 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18385 echo "$ac_t""yes" 1>&6
18386 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18387 cat >> confdefs.h
<<EOF
18388 #define $ac_tr_func 1
18390 cat >> confdefs.h
<<\EOF
18391 #define HAVE_USLEEP 1
18395 echo "$ac_t""no" 1>&6
18396 echo "configure: warning: wxSleep() function will not work" 1>&2
18412 for ac_func
in uname gethostname
18414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18415 echo "configure:18416: checking for $ac_func" >&5
18416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18417 echo $ac_n "(cached) $ac_c" 1>&6
18419 cat > conftest.
$ac_ext <<EOF
18420 #line 18421 "configure"
18421 #include "confdefs.h"
18422 /* System header to define __stub macros and hopefully few prototypes,
18423 which can conflict with char $ac_func(); below. */
18424 #include <assert.h>
18425 /* Override any gcc2 internal prototype to avoid an error. */
18426 /* We use char because int might match the return type of a gcc2
18427 builtin and then its argument prototype would still apply. */
18432 /* The GNU C library defines this for functions which it implements
18433 to always fail with ENOSYS. Some functions are actually named
18434 something starting with __ and the normal name is an alias. */
18435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18443 if { (eval echo configure
:18444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18445 eval "ac_cv_func_$ac_func=yes"
18447 echo "configure: failed program was:" >&5
18448 cat conftest.
$ac_ext >&5
18450 eval "ac_cv_func_$ac_func=no"
18455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18456 echo "$ac_t""yes" 1>&6
18457 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18458 cat >> confdefs.h
<<EOF
18459 #define $ac_tr_func 1
18463 echo "$ac_t""no" 1>&6
18470 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18471 ac_cpp
='$CXXCPP $CPPFLAGS'
18472 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18473 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18474 cross_compiling
=$ac_cv_prog_cxx_cross
18477 for ac_func
in strtok_r
18479 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18480 echo "configure:18481: checking for $ac_func" >&5
18481 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18482 echo $ac_n "(cached) $ac_c" 1>&6
18484 cat > conftest.
$ac_ext <<EOF
18485 #line 18486 "configure"
18486 #include "confdefs.h"
18487 /* System header to define __stub macros and hopefully few prototypes,
18488 which can conflict with char $ac_func(); below. */
18489 #include <assert.h>
18490 /* Override any gcc2 internal prototype to avoid an error. */
18494 /* We use char because int might match the return type of a gcc2
18495 builtin and then its argument prototype would still apply. */
18500 /* The GNU C library defines this for functions which it implements
18501 to always fail with ENOSYS. Some functions are actually named
18502 something starting with __ and the normal name is an alias. */
18503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18511 if { (eval echo configure
:18512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18513 eval "ac_cv_func_$ac_func=yes"
18515 echo "configure: failed program was:" >&5
18516 cat conftest.
$ac_ext >&5
18518 eval "ac_cv_func_$ac_func=no"
18523 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18524 echo "$ac_t""yes" 1>&6
18525 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18526 cat >> confdefs.h
<<EOF
18527 #define $ac_tr_func 1
18531 echo "$ac_t""no" 1>&6
18537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18538 ac_cpp
='$CPP $CPPFLAGS'
18539 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18540 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18541 cross_compiling
=$ac_cv_prog_cc_cross
18545 for ac_func
in inet_addr
18547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18548 echo "configure:18549: checking for $ac_func" >&5
18549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18550 echo $ac_n "(cached) $ac_c" 1>&6
18552 cat > conftest.
$ac_ext <<EOF
18553 #line 18554 "configure"
18554 #include "confdefs.h"
18555 /* System header to define __stub macros and hopefully few prototypes,
18556 which can conflict with char $ac_func(); below. */
18557 #include <assert.h>
18558 /* Override any gcc2 internal prototype to avoid an error. */
18559 /* We use char because int might match the return type of a gcc2
18560 builtin and then its argument prototype would still apply. */
18565 /* The GNU C library defines this for functions which it implements
18566 to always fail with ENOSYS. Some functions are actually named
18567 something starting with __ and the normal name is an alias. */
18568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18576 if { (eval echo configure
:18577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18578 eval "ac_cv_func_$ac_func=yes"
18580 echo "configure: failed program was:" >&5
18581 cat conftest.
$ac_ext >&5
18583 eval "ac_cv_func_$ac_func=no"
18588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18589 echo "$ac_t""yes" 1>&6
18590 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18591 cat >> confdefs.h
<<EOF
18592 #define $ac_tr_func 1
18594 cat >> confdefs.h
<<\EOF
18595 #define HAVE_INET_ADDR 1
18599 echo "$ac_t""no" 1>&6
18600 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18601 echo "configure:18602: checking for inet_addr in -lnsl" >&5
18602 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18603 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18604 echo $ac_n "(cached) $ac_c" 1>&6
18606 ac_save_LIBS
="$LIBS"
18608 cat > conftest.
$ac_ext <<EOF
18609 #line 18610 "configure"
18610 #include "confdefs.h"
18611 /* Override any gcc2 internal prototype to avoid an error. */
18612 /* We use char because int might match the return type of a gcc2
18613 builtin and then its argument prototype would still apply. */
18620 if { (eval echo configure
:18621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18622 eval "ac_cv_lib_$ac_lib_var=yes"
18624 echo "configure: failed program was:" >&5
18625 cat conftest.
$ac_ext >&5
18627 eval "ac_cv_lib_$ac_lib_var=no"
18630 LIBS
="$ac_save_LIBS"
18633 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18634 echo "$ac_t""yes" 1>&6
18637 echo "$ac_t""no" 1>&6
18638 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18639 echo "configure:18640: checking for inet_addr in -lresolv" >&5
18640 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18641 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18642 echo $ac_n "(cached) $ac_c" 1>&6
18644 ac_save_LIBS
="$LIBS"
18645 LIBS
="-lresolv $LIBS"
18646 cat > conftest.
$ac_ext <<EOF
18647 #line 18648 "configure"
18648 #include "confdefs.h"
18649 /* Override any gcc2 internal prototype to avoid an error. */
18650 /* We use char because int might match the return type of a gcc2
18651 builtin and then its argument prototype would still apply. */
18658 if { (eval echo configure
:18659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18660 eval "ac_cv_lib_$ac_lib_var=yes"
18662 echo "configure: failed program was:" >&5
18663 cat conftest.
$ac_ext >&5
18665 eval "ac_cv_lib_$ac_lib_var=no"
18668 LIBS
="$ac_save_LIBS"
18671 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18672 echo "$ac_t""yes" 1>&6
18675 echo "$ac_t""no" 1>&6
18676 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18677 echo "configure:18678: checking for inet_addr in -lsocket" >&5
18678 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18679 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18680 echo $ac_n "(cached) $ac_c" 1>&6
18682 ac_save_LIBS
="$LIBS"
18683 LIBS
="-lsocket $LIBS"
18684 cat > conftest.
$ac_ext <<EOF
18685 #line 18686 "configure"
18686 #include "confdefs.h"
18687 /* Override any gcc2 internal prototype to avoid an error. */
18688 /* We use char because int might match the return type of a gcc2
18689 builtin and then its argument prototype would still apply. */
18696 if { (eval echo configure
:18697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18698 eval "ac_cv_lib_$ac_lib_var=yes"
18700 echo "configure: failed program was:" >&5
18701 cat conftest.
$ac_ext >&5
18703 eval "ac_cv_lib_$ac_lib_var=no"
18706 LIBS
="$ac_save_LIBS"
18709 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18710 echo "$ac_t""yes" 1>&6
18714 echo "$ac_t""no" 1>&6
18729 for ac_func
in inet_aton
18731 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18732 echo "configure:18733: checking for $ac_func" >&5
18733 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18734 echo $ac_n "(cached) $ac_c" 1>&6
18736 cat > conftest.
$ac_ext <<EOF
18737 #line 18738 "configure"
18738 #include "confdefs.h"
18739 /* System header to define __stub macros and hopefully few prototypes,
18740 which can conflict with char $ac_func(); below. */
18741 #include <assert.h>
18742 /* Override any gcc2 internal prototype to avoid an error. */
18743 /* We use char because int might match the return type of a gcc2
18744 builtin and then its argument prototype would still apply. */
18749 /* The GNU C library defines this for functions which it implements
18750 to always fail with ENOSYS. Some functions are actually named
18751 something starting with __ and the normal name is an alias. */
18752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18760 if { (eval echo configure
:18761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18762 eval "ac_cv_func_$ac_func=yes"
18764 echo "configure: failed program was:" >&5
18765 cat conftest.
$ac_ext >&5
18767 eval "ac_cv_func_$ac_func=no"
18772 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18773 echo "$ac_t""yes" 1>&6
18774 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18775 cat >> confdefs.h
<<EOF
18776 #define $ac_tr_func 1
18778 cat >> confdefs.h
<<\EOF
18779 #define HAVE_INET_ATON 1
18783 echo "$ac_t""no" 1>&6
18784 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18785 echo "configure:18786: checking for inet_aton in -l$INET_LINK" >&5
18786 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18787 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18788 echo $ac_n "(cached) $ac_c" 1>&6
18790 ac_save_LIBS
="$LIBS"
18791 LIBS
="-l$INET_LINK $LIBS"
18792 cat > conftest.
$ac_ext <<EOF
18793 #line 18794 "configure"
18794 #include "confdefs.h"
18795 /* Override any gcc2 internal prototype to avoid an error. */
18796 /* We use char because int might match the return type of a gcc2
18797 builtin and then its argument prototype would still apply. */
18804 if { (eval echo configure
:18805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18806 eval "ac_cv_lib_$ac_lib_var=yes"
18808 echo "configure: failed program was:" >&5
18809 cat conftest.
$ac_ext >&5
18811 eval "ac_cv_lib_$ac_lib_var=no"
18814 LIBS
="$ac_save_LIBS"
18817 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18818 echo "$ac_t""yes" 1>&6
18819 cat >> confdefs.h
<<\EOF
18820 #define HAVE_INET_ATON 1
18824 echo "$ac_t""no" 1>&6
18832 if test "x$INET_LINK" != "x"; then
18833 cat >> confdefs.h
<<\EOF
18834 #define HAVE_INET_ADDR 1
18837 INET_LINK
=" -l$INET_LINK"
18843 cat > confcache
<<\EOF
18844 # This file is a shell script that caches the results of configure
18845 # tests run on this system so they can be shared between configure
18846 # scripts and configure runs. It is not useful on other systems.
18847 # If it contains results you don't want to keep, you may remove or edit it.
18849 # By default, configure uses ./config.cache as the cache file,
18850 # creating it if it does not exist already. You can give configure
18851 # the --cache-file=FILE option to use a different cache file; that is
18852 # what configure does when it calls configure scripts in
18853 # subdirectories, so they share the cache.
18854 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18855 # config.status only pays attention to the cache file if you give it the
18856 # --recheck option to rerun configure.
18859 # The following way of writing the cache mishandles newlines in values,
18860 # but we know of no workaround that is simple, portable, and efficient.
18861 # So, don't put newlines in cache variables' values.
18862 # Ultrix sh set writes to stderr and can't be redirected directly,
18863 # and sets the high bit in the cache file unless we assign to the vars.
18865 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18867 # `set' does not quote correctly, so add quotes (double-quote substitution
18868 # turns \\\\ into \\, and sed turns \\ into \).
18870 -e "s/'/'\\\\''/g" \
18871 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18874 # `set' quotes correctly as required by POSIX, so do not add quotes.
18875 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18878 if cmp -s $cache_file confcache
; then
18881 if test -w $cache_file; then
18882 echo "updating cache $cache_file"
18883 cat confcache
> $cache_file
18885 echo "not updating unwritable cache $cache_file"
18893 if test "$TOOLKIT" != "MSW"; then
18899 if test "$wxUSE_THREADS" = "yes" ; then
18900 if test "$USE_BEOS" = 1; then
18901 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18906 if test "$wxUSE_THREADS" = "yes" ; then
18909 THREAD_OPTS
="-pthread"
18911 *-*-solaris2* | *-*-sunos4* )
18912 if test "x$GCC" = "xyes"; then
18913 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18915 THREAD_OPTS
="-mt $THREAD_OPTS"
18919 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18921 *-*-darwin* | *-*-cygwin* )
18925 THREAD_OPTS
="pthreads"
18928 if test "x$GCC" != "xyes"; then
18934 if test "x$GCC" = "xyes"; then
18940 if test "x$GCC" != "xyes"; then
18941 THREAD_OPTS
="-Ethread"
18946 THREAD_OPTS
="$THREAD_OPTS pthread none"
18949 for flag
in $THREAD_OPTS; do
18952 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18953 echo "configure:18954: checking whether pthreads work without any flags" >&5
18957 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18958 echo "configure:18959: checking whether pthreads work with $flag" >&5
18959 THREADS_CFLAGS
="$flag"
18963 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18964 echo "configure:18965: checking for the pthreads library -l$flag" >&5
18965 THREADS_LINK
="-l$flag"
18970 save_CFLAGS
="$CFLAGS"
18971 LIBS
="$THREADS_LINK $LIBS"
18972 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18974 cat > conftest.
$ac_ext <<EOF
18975 #line 18976 "configure"
18976 #include "confdefs.h"
18977 #include <pthread.h>
18979 pthread_create(0,0,0,0);
18982 if { (eval echo configure
:18983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18986 echo "configure: failed program was:" >&5
18987 cat conftest.
$ac_ext >&5
18992 CFLAGS
="$save_CFLAGS"
18994 echo "$ac_t""$THREADS_OK" 1>&6
18995 if test "x$THREADS_OK" = "xyes"; then
19003 if test "x$THREADS_OK" != "xyes"; then
19005 echo "configure: warning: No thread support on this system... disabled" 1>&2
19007 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
19008 LIBS
="$THREADS_LINK $LIBS"
19010 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
19011 echo "configure:19012: checking if more special flags are required for pthreads" >&5
19015 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
19016 flag
="-D_THREAD_SAFE"
19019 flag
="-D_THREAD_SAFE"
19022 flag
="-D_REENTRANT"
19023 if test "x$GCC" != "xyes"; then
19024 flag
="$flag -D_RWSTD_MULTI_THREAD"
19027 *solaris
* | alpha
*-osf*)
19028 flag
="-D_REENTRANT"
19031 echo "$ac_t""${flag}" 1>&6
19032 if test "x$flag" != xno
; then
19033 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
19036 if test "x$THREADS_CFLAGS" != "x"; then
19037 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
19038 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
19043 if test "$wxUSE_THREADS" = "yes" ; then
19044 for ac_func
in thr_setconcurrency
19046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19047 echo "configure:19048: checking for $ac_func" >&5
19048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19049 echo $ac_n "(cached) $ac_c" 1>&6
19051 cat > conftest.
$ac_ext <<EOF
19052 #line 19053 "configure"
19053 #include "confdefs.h"
19054 /* System header to define __stub macros and hopefully few prototypes,
19055 which can conflict with char $ac_func(); below. */
19056 #include <assert.h>
19057 /* Override any gcc2 internal prototype to avoid an error. */
19058 /* We use char because int might match the return type of a gcc2
19059 builtin and then its argument prototype would still apply. */
19064 /* The GNU C library defines this for functions which it implements
19065 to always fail with ENOSYS. Some functions are actually named
19066 something starting with __ and the normal name is an alias. */
19067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19075 if { (eval echo configure
:19076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19077 eval "ac_cv_func_$ac_func=yes"
19079 echo "configure: failed program was:" >&5
19080 cat conftest.
$ac_ext >&5
19082 eval "ac_cv_func_$ac_func=no"
19087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19088 echo "$ac_t""yes" 1>&6
19089 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19090 cat >> confdefs.h
<<EOF
19091 #define $ac_tr_func 1
19095 echo "$ac_t""no" 1>&6
19100 for ac_hdr
in sched.h
19102 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19103 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19104 echo "configure:19105: checking for $ac_hdr" >&5
19105 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19106 echo $ac_n "(cached) $ac_c" 1>&6
19108 cat > conftest.
$ac_ext <<EOF
19109 #line 19110 "configure"
19110 #include "confdefs.h"
19113 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19114 { (eval echo configure
:19115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19115 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19116 if test -z "$ac_err"; then
19118 eval "ac_cv_header_$ac_safe=yes"
19121 echo "configure: failed program was:" >&5
19122 cat conftest.
$ac_ext >&5
19124 eval "ac_cv_header_$ac_safe=no"
19128 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19129 echo "$ac_t""yes" 1>&6
19130 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19131 cat >> confdefs.h
<<EOF
19132 #define $ac_tr_hdr 1
19136 echo "$ac_t""no" 1>&6
19140 if test "$ac_cv_header_sched_h" = "yes"; then
19141 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
19142 echo "configure:19143: checking for sched_yield" >&5
19143 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
19144 echo $ac_n "(cached) $ac_c" 1>&6
19146 cat > conftest.
$ac_ext <<EOF
19147 #line 19148 "configure"
19148 #include "confdefs.h"
19149 /* System header to define __stub macros and hopefully few prototypes,
19150 which can conflict with char sched_yield(); below. */
19151 #include <assert.h>
19152 /* Override any gcc2 internal prototype to avoid an error. */
19153 /* We use char because int might match the return type of a gcc2
19154 builtin and then its argument prototype would still apply. */
19155 char sched_yield();
19159 /* The GNU C library defines this for functions which it implements
19160 to always fail with ENOSYS. Some functions are actually named
19161 something starting with __ and the normal name is an alias. */
19162 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
19170 if { (eval echo configure
:19171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19172 eval "ac_cv_func_sched_yield=yes"
19174 echo "configure: failed program was:" >&5
19175 cat conftest.
$ac_ext >&5
19177 eval "ac_cv_func_sched_yield=no"
19182 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
19183 echo "$ac_t""yes" 1>&6
19184 cat >> confdefs.h
<<\EOF
19185 #define HAVE_SCHED_YIELD 1
19189 echo "$ac_t""no" 1>&6
19191 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
19192 echo "configure:19193: checking for sched_yield in -lposix4" >&5
19193 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
19194 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19195 echo $ac_n "(cached) $ac_c" 1>&6
19197 ac_save_LIBS
="$LIBS"
19198 LIBS
="-lposix4 $LIBS"
19199 cat > conftest.
$ac_ext <<EOF
19200 #line 19201 "configure"
19201 #include "confdefs.h"
19202 /* Override any gcc2 internal prototype to avoid an error. */
19203 /* We use char because int might match the return type of a gcc2
19204 builtin and then its argument prototype would still apply. */
19205 char sched_yield();
19211 if { (eval echo configure
:19212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19213 eval "ac_cv_lib_$ac_lib_var=yes"
19215 echo "configure: failed program was:" >&5
19216 cat conftest.
$ac_ext >&5
19218 eval "ac_cv_lib_$ac_lib_var=no"
19221 LIBS
="$ac_save_LIBS"
19224 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19225 echo "$ac_t""yes" 1>&6
19226 cat >> confdefs.h
<<\EOF
19227 #define HAVE_SCHED_YIELD 1
19229 POSIX4_LINK
=" -lposix4"
19231 echo "$ac_t""no" 1>&6
19232 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
19243 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
19244 echo "configure:19245: checking for pthread_attr_getschedpolicy" >&5
19245 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
19246 echo $ac_n "(cached) $ac_c" 1>&6
19248 cat > conftest.
$ac_ext <<EOF
19249 #line 19250 "configure"
19250 #include "confdefs.h"
19251 /* System header to define __stub macros and hopefully few prototypes,
19252 which can conflict with char pthread_attr_getschedpolicy(); below. */
19253 #include <assert.h>
19254 /* Override any gcc2 internal prototype to avoid an error. */
19255 /* We use char because int might match the return type of a gcc2
19256 builtin and then its argument prototype would still apply. */
19257 char pthread_attr_getschedpolicy();
19261 /* The GNU C library defines this for functions which it implements
19262 to always fail with ENOSYS. Some functions are actually named
19263 something starting with __ and the normal name is an alias. */
19264 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
19267 pthread_attr_getschedpolicy();
19272 if { (eval echo configure
:19273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19274 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
19276 echo "configure: failed program was:" >&5
19277 cat conftest.
$ac_ext >&5
19279 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
19284 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
19285 echo "$ac_t""yes" 1>&6
19286 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
19287 echo "configure:19288: checking for pthread_attr_setschedparam" >&5
19288 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
19289 echo $ac_n "(cached) $ac_c" 1>&6
19291 cat > conftest.
$ac_ext <<EOF
19292 #line 19293 "configure"
19293 #include "confdefs.h"
19294 /* System header to define __stub macros and hopefully few prototypes,
19295 which can conflict with char pthread_attr_setschedparam(); below. */
19296 #include <assert.h>
19297 /* Override any gcc2 internal prototype to avoid an error. */
19298 /* We use char because int might match the return type of a gcc2
19299 builtin and then its argument prototype would still apply. */
19300 char pthread_attr_setschedparam();
19304 /* The GNU C library defines this for functions which it implements
19305 to always fail with ENOSYS. Some functions are actually named
19306 something starting with __ and the normal name is an alias. */
19307 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
19310 pthread_attr_setschedparam();
19315 if { (eval echo configure
:19316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19317 eval "ac_cv_func_pthread_attr_setschedparam=yes"
19319 echo "configure: failed program was:" >&5
19320 cat conftest.
$ac_ext >&5
19322 eval "ac_cv_func_pthread_attr_setschedparam=no"
19327 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
19328 echo "$ac_t""yes" 1>&6
19329 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
19330 echo "configure:19331: checking for sched_get_priority_max" >&5
19331 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
19332 echo $ac_n "(cached) $ac_c" 1>&6
19334 cat > conftest.
$ac_ext <<EOF
19335 #line 19336 "configure"
19336 #include "confdefs.h"
19337 /* System header to define __stub macros and hopefully few prototypes,
19338 which can conflict with char sched_get_priority_max(); below. */
19339 #include <assert.h>
19340 /* Override any gcc2 internal prototype to avoid an error. */
19341 /* We use char because int might match the return type of a gcc2
19342 builtin and then its argument prototype would still apply. */
19343 char sched_get_priority_max();
19347 /* The GNU C library defines this for functions which it implements
19348 to always fail with ENOSYS. Some functions are actually named
19349 something starting with __ and the normal name is an alias. */
19350 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
19353 sched_get_priority_max();
19358 if { (eval echo configure
:19359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19360 eval "ac_cv_func_sched_get_priority_max=yes"
19362 echo "configure: failed program was:" >&5
19363 cat conftest.
$ac_ext >&5
19365 eval "ac_cv_func_sched_get_priority_max=no"
19370 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
19371 echo "$ac_t""yes" 1>&6
19374 echo "$ac_t""no" 1>&6
19375 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
19376 echo "configure:19377: checking for sched_get_priority_max in -lposix4" >&5
19377 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
19378 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19379 echo $ac_n "(cached) $ac_c" 1>&6
19381 ac_save_LIBS
="$LIBS"
19382 LIBS
="-lposix4 $LIBS"
19383 cat > conftest.
$ac_ext <<EOF
19384 #line 19385 "configure"
19385 #include "confdefs.h"
19386 /* Override any gcc2 internal prototype to avoid an error. */
19387 /* We use char because int might match the return type of a gcc2
19388 builtin and then its argument prototype would still apply. */
19389 char sched_get_priority_max();
19392 sched_get_priority_max()
19395 if { (eval echo configure
:19396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19397 eval "ac_cv_lib_$ac_lib_var=yes"
19399 echo "configure: failed program was:" >&5
19400 cat conftest.
$ac_ext >&5
19402 eval "ac_cv_lib_$ac_lib_var=no"
19405 LIBS
="$ac_save_LIBS"
19408 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19409 echo "$ac_t""yes" 1>&6
19412 POSIX4_LINK
=" -lposix4"
19415 echo "$ac_t""no" 1>&6
19423 echo "$ac_t""no" 1>&6
19428 echo "$ac_t""no" 1>&6
19432 if test "$HAVE_PRIOR_FUNCS" = 1; then
19433 cat >> confdefs.h
<<\EOF
19434 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19438 echo "configure: warning: Setting thread priority will not work" 1>&2
19441 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19442 echo "configure:19443: checking for pthread_cancel" >&5
19443 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
19444 echo $ac_n "(cached) $ac_c" 1>&6
19446 cat > conftest.
$ac_ext <<EOF
19447 #line 19448 "configure"
19448 #include "confdefs.h"
19449 /* System header to define __stub macros and hopefully few prototypes,
19450 which can conflict with char pthread_cancel(); below. */
19451 #include <assert.h>
19452 /* Override any gcc2 internal prototype to avoid an error. */
19453 /* We use char because int might match the return type of a gcc2
19454 builtin and then its argument prototype would still apply. */
19455 char pthread_cancel();
19459 /* The GNU C library defines this for functions which it implements
19460 to always fail with ENOSYS. Some functions are actually named
19461 something starting with __ and the normal name is an alias. */
19462 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19470 if { (eval echo configure
:19471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19472 eval "ac_cv_func_pthread_cancel=yes"
19474 echo "configure: failed program was:" >&5
19475 cat conftest.
$ac_ext >&5
19477 eval "ac_cv_func_pthread_cancel=no"
19482 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19483 echo "$ac_t""yes" 1>&6
19484 cat >> confdefs.h
<<\EOF
19485 #define HAVE_PTHREAD_CANCEL 1
19489 echo "$ac_t""no" 1>&6
19490 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19494 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19495 echo "configure:19496: checking for pthread_cleanup_push/pop" >&5
19496 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19497 echo $ac_n "(cached) $ac_c" 1>&6
19500 cat > conftest.
$ac_ext <<EOF
19501 #line 19502 "configure"
19502 #include "confdefs.h"
19503 #include <pthread.h>
19506 pthread_cleanup_push(NULL, NULL);
19507 pthread_cleanup_pop(0);
19511 if { (eval echo configure
:19512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19514 wx_cv_func_pthread_cleanup_push
=yes
19517 echo "configure: failed program was:" >&5
19518 cat conftest.
$ac_ext >&5
19521 wx_cv_func_pthread_cleanup_push
=no
19528 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19530 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19531 cat >> confdefs.h
<<\EOF
19532 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19538 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19539 echo "configure:19540: checking for pthread_mutexattr_t" >&5
19540 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19541 echo $ac_n "(cached) $ac_c" 1>&6
19544 cat > conftest.
$ac_ext <<EOF
19545 #line 19546 "configure"
19546 #include "confdefs.h"
19547 #include <pthread.h>
19550 pthread_mutexattr_t attr;
19551 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19555 if { (eval echo configure
:19556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19558 wx_cv_type_pthread_mutexattr_t
=yes
19561 echo "configure: failed program was:" >&5
19562 cat conftest.
$ac_ext >&5
19565 wx_cv_type_pthread_mutexattr_t
=no
19573 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19575 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19576 cat >> confdefs.h
<<\EOF
19577 #define HAVE_PTHREAD_MUTEXATTR_T 1
19581 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19582 echo "configure:19583: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19583 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19584 echo $ac_n "(cached) $ac_c" 1>&6
19587 cat > conftest.
$ac_ext <<EOF
19588 #line 19589 "configure"
19589 #include "confdefs.h"
19590 #include <pthread.h>
19593 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19597 if { (eval echo configure
:19598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19600 wx_cv_type_pthread_rec_mutex_init
=yes
19603 echo "configure: failed program was:" >&5
19604 cat conftest.
$ac_ext >&5
19607 wx_cv_type_pthread_rec_mutex_init
=no
19615 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19616 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19617 cat >> confdefs.h
<<\EOF
19618 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19622 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19628 if test "$wxUSE_THREADS" = "yes" ; then
19631 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19632 echo "configure:19633: checking if compiler supports -mthreads" >&5
19633 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19634 echo $ac_n "(cached) $ac_c" 1>&6
19637 CFLAGS_OLD
="$CFLAGS"
19638 CFLAGS
="$CFLAGS -mthreads"
19639 cat > conftest.
$ac_ext <<EOF
19640 #line 19641 "configure"
19641 #include "confdefs.h"
19647 if { (eval echo configure
:19648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19649 wx_cv_cflags_mthread
=yes
19651 echo "configure: failed program was:" >&5
19652 cat conftest.
$ac_ext >&5
19654 wx_cv_cflags_mthread
=no
19662 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19664 if test "$wx_cv_cflags_mthread" = "yes"; then
19665 CXXFLAGS
="$CXXFLAGS -mthreads"
19666 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19667 LDFLAGS
="$LDFLAGS -mthreads"
19669 CFLAGS
="$CFLAGS_OLD"
19676 if test "$wxUSE_THREADS" = "yes"; then
19677 cat >> confdefs.h
<<\EOF
19678 #define wxUSE_THREADS 1
19682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19684 if test "$ac_cv_func_strtok_r" = "yes"; then
19685 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19686 echo "configure:19687: checking if -D_REENTRANT is needed" >&5
19687 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19688 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19689 echo "$ac_t""yes" 1>&6
19691 echo "$ac_t""no" 1>&6
19696 if test "$WXGTK20" = 1 ; then
19697 cat >> confdefs.h
<<EOF
19698 #define __WXGTK20__ $WXGTK20
19704 if test "$WXGTK12" = 1 ; then
19705 cat >> confdefs.h
<<EOF
19706 #define __WXGTK12__ $WXGTK12
19711 if test "$WXGTK127" = 1 ; then
19712 cat >> confdefs.h
<<EOF
19713 #define __WXGTK127__ $WXGTK127
19720 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19725 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19726 wxUSE_DEBUG_INFO
=yes
19730 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19731 cat >> confdefs.h
<<\EOF
19735 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19737 if test "$wxUSE_GTK" = 1 ; then
19738 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19742 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19743 cat >> confdefs.h
<<\EOF
19744 #define wxUSE_MEMORY_TRACING 1
19747 cat >> confdefs.h
<<\EOF
19748 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19751 cat >> confdefs.h
<<\EOF
19752 #define wxUSE_DEBUG_NEW_ALWAYS 1
19755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19758 if test "$wxUSE_DMALLOC" = "yes" ; then
19759 DMALLOC_LIBS
="-ldmalloc"
19763 if test "$wxUSE_PROFILE" = "yes" ; then
19768 CODE_GEN_FLAGS_CXX
=
19769 if test "$GCC" = "yes" ; then
19770 if test "$wxUSE_NO_RTTI" = "yes" ; then
19771 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19773 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19774 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19776 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19777 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19779 if test "$USE_WIN32" = 1 ; then
19780 # I'm not even really sure what this was ever added to solve,
19781 # but someone added it for mingw native builds, so I guess
19782 # they had a reason, right??
19783 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19788 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19791 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19797 if test "$wxUSE_OPTIMISE" = "no" ; then
19798 if test "$GCC" = yes ; then
19802 if test "$GCC" = yes ; then
19806 i586
-*-*|i686
-*-* )
19807 OPTIMISE
="${OPTIMISE} "
19816 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19817 cat >> confdefs.h
<<\EOF
19818 #define WXWIN_COMPATIBILITY_2 1
19822 WXWIN_COMPATIBILITY_2_2
="yes"
19825 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19826 cat >> confdefs.h
<<\EOF
19827 #define WXWIN_COMPATIBILITY_2_2 1
19831 WXWIN_COMPATIBILITY_2_4
="yes"
19834 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19835 cat >> confdefs.h
<<\EOF
19836 #define WXWIN_COMPATIBILITY_2_4 1
19842 if test "$wxUSE_GUI" = "yes"; then
19843 cat >> confdefs.h
<<\EOF
19844 #define wxUSE_GUI 1
19849 cat >> confdefs.h
<<\EOF
19850 #define wxUSE_NOGUI 1
19856 if test "$wxUSE_UNIX" = "yes"; then
19857 cat >> confdefs.h
<<\EOF
19858 #define wxUSE_UNIX 1
19864 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19865 cat >> confdefs.h
<<\EOF
19866 #define wxUSE_APPLE_IEEE 1
19871 if test "$wxUSE_TIMER" = "yes"; then
19872 cat >> confdefs.h
<<\EOF
19873 #define wxUSE_TIMER 1
19878 if test "$wxUSE_WAVE" = "yes"; then
19879 cat >> confdefs.h
<<\EOF
19880 #define wxUSE_WAVE 1
19885 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19886 cat >> confdefs.h
<<\EOF
19887 #define wxUSE_CMDLINE_PARSER 1
19892 if test "$wxUSE_STOPWATCH" = "yes"; then
19893 cat >> confdefs.h
<<\EOF
19894 #define wxUSE_STOPWATCH 1
19899 if test "$wxUSE_DATETIME" = "yes"; then
19900 cat >> confdefs.h
<<\EOF
19901 #define wxUSE_DATETIME 1
19906 if test "$wxUSE_FILE" = "yes"; then
19907 cat >> confdefs.h
<<\EOF
19908 #define wxUSE_FILE 1
19913 if test "$wxUSE_FFILE" = "yes"; then
19914 cat >> confdefs.h
<<\EOF
19915 #define wxUSE_FFILE 1
19920 if test "$wxUSE_FILESYSTEM" = "yes"; then
19921 cat >> confdefs.h
<<\EOF
19922 #define wxUSE_FILESYSTEM 1
19927 if test "$wxUSE_FS_INET" = "yes"; then
19928 cat >> confdefs.h
<<\EOF
19929 #define wxUSE_FS_INET 1
19934 if test "$wxUSE_FS_ZIP" = "yes"; then
19935 cat >> confdefs.h
<<\EOF
19936 #define wxUSE_FS_ZIP 1
19941 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19942 cat >> confdefs.h
<<\EOF
19943 #define wxUSE_ZIPSTREAM 1
19948 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19949 cat >> confdefs.h
<<\EOF
19950 #define wxUSE_ON_FATAL_EXCEPTION 1
19955 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19956 cat >> confdefs.h
<<\EOF
19957 #define wxUSE_SNGLINST_CHECKER 1
19962 if test "$wxUSE_BUSYINFO" = "yes"; then
19963 cat >> confdefs.h
<<\EOF
19964 #define wxUSE_BUSYINFO 1
19969 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19970 cat >> confdefs.h
<<\EOF
19971 #define wxUSE_STD_IOSTREAM 1
19976 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19977 cat >> confdefs.h
<<\EOF
19978 #define wxUSE_TEXTBUFFER 1
19983 if test "$wxUSE_TEXTFILE" = "yes"; then
19984 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19985 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19987 cat >> confdefs.h
<<\EOF
19988 #define wxUSE_TEXTFILE 1
19994 if test "$wxUSE_CONFIG" = "yes" ; then
19995 if test "$wxUSE_TEXTFILE" != "yes"; then
19996 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19998 cat >> confdefs.h
<<\EOF
19999 #define wxUSE_CONFIG 1
20002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
20006 if test "$wxUSE_INTL" = "yes" ; then
20007 if test "$wxUSE_FILE" != "yes"; then
20008 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
20010 cat >> confdefs.h
<<\EOF
20011 #define wxUSE_INTL 1
20014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
20015 GUIDIST
="$GUIDIST INTL_DIST"
20019 if test "$wxUSE_LOG" = "yes"; then
20020 cat >> confdefs.h
<<\EOF
20021 #define wxUSE_LOG 1
20025 if test "$wxUSE_LOGGUI" = "yes"; then
20026 cat >> confdefs.h
<<\EOF
20027 #define wxUSE_LOGGUI 1
20032 if test "$wxUSE_LOGWINDOW" = "yes"; then
20033 cat >> confdefs.h
<<\EOF
20034 #define wxUSE_LOGWINDOW 1
20039 if test "$wxUSE_LOGDIALOG" = "yes"; then
20040 cat >> confdefs.h
<<\EOF
20041 #define wxUSE_LOG_DIALOG 1
20047 if test "$wxUSE_LONGLONG" = "yes"; then
20048 cat >> confdefs.h
<<\EOF
20049 #define wxUSE_LONGLONG 1
20054 if test "$wxUSE_GEOMETRY" = "yes"; then
20055 cat >> confdefs.h
<<\EOF
20056 #define wxUSE_GEOMETRY 1
20061 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
20062 cat >> confdefs.h
<<\EOF
20063 #define wxUSE_DIALUP_MANAGER 1
20066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
20069 if test "$wxUSE_STREAMS" = "yes" ; then
20070 cat >> confdefs.h
<<\EOF
20071 #define wxUSE_STREAMS 1
20077 if test "$wxUSE_DATETIME" = "yes"; then
20078 for ac_func
in strptime
20080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20081 echo "configure:20082: checking for $ac_func" >&5
20082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20083 echo $ac_n "(cached) $ac_c" 1>&6
20085 cat > conftest.
$ac_ext <<EOF
20086 #line 20087 "configure"
20087 #include "confdefs.h"
20088 /* System header to define __stub macros and hopefully few prototypes,
20089 which can conflict with char $ac_func(); below. */
20090 #include <assert.h>
20091 /* Override any gcc2 internal prototype to avoid an error. */
20092 /* We use char because int might match the return type of a gcc2
20093 builtin and then its argument prototype would still apply. */
20098 /* The GNU C library defines this for functions which it implements
20099 to always fail with ENOSYS. Some functions are actually named
20100 something starting with __ and the normal name is an alias. */
20101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20109 if { (eval echo configure
:20110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20111 eval "ac_cv_func_$ac_func=yes"
20113 echo "configure: failed program was:" >&5
20114 cat conftest.
$ac_ext >&5
20116 eval "ac_cv_func_$ac_func=no"
20121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20122 echo "$ac_t""yes" 1>&6
20123 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20124 cat >> confdefs.h
<<EOF
20125 #define $ac_tr_func 1
20129 echo "$ac_t""no" 1>&6
20134 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
20135 echo "configure:20136: checking for timezone variable in <time.h>" >&5
20136 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
20137 echo $ac_n "(cached) $ac_c" 1>&6
20140 cat > conftest.
$ac_ext <<EOF
20141 #line 20142 "configure"
20142 #include "confdefs.h"
20153 if { (eval echo configure
:20154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20156 wx_cv_var_timezone
=timezone
20159 echo "configure: failed program was:" >&5
20160 cat conftest.
$ac_ext >&5
20163 cat > conftest.
$ac_ext <<EOF
20164 #line 20165 "configure"
20165 #include "confdefs.h"
20176 if { (eval echo configure
:20177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20179 wx_cv_var_timezone
=_timezone
20182 echo "configure: failed program was:" >&5
20183 cat conftest.
$ac_ext >&5
20186 cat > conftest.
$ac_ext <<EOF
20187 #line 20188 "configure"
20188 #include "confdefs.h"
20199 if { (eval echo configure
:20200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20202 wx_cv_var_timezone
=__timezone
20205 echo "configure: failed program was:" >&5
20206 cat conftest.
$ac_ext >&5
20209 if test "$USE_DOS" = 0 ; then
20210 echo "configure: warning: no timezone variable" 1>&2
20228 echo "$ac_t""$wx_cv_var_timezone" 1>&6
20230 if test "x$wx_cv_var_timezone" != x
; then
20231 cat >> confdefs.h
<<EOF
20232 #define WX_TIMEZONE $wx_cv_var_timezone
20237 for ac_func
in localtime
20239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20240 echo "configure:20241: checking for $ac_func" >&5
20241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20242 echo $ac_n "(cached) $ac_c" 1>&6
20244 cat > conftest.
$ac_ext <<EOF
20245 #line 20246 "configure"
20246 #include "confdefs.h"
20247 /* System header to define __stub macros and hopefully few prototypes,
20248 which can conflict with char $ac_func(); below. */
20249 #include <assert.h>
20250 /* Override any gcc2 internal prototype to avoid an error. */
20251 /* We use char because int might match the return type of a gcc2
20252 builtin and then its argument prototype would still apply. */
20257 /* The GNU C library defines this for functions which it implements
20258 to always fail with ENOSYS. Some functions are actually named
20259 something starting with __ and the normal name is an alias. */
20260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20268 if { (eval echo configure
:20269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20270 eval "ac_cv_func_$ac_func=yes"
20272 echo "configure: failed program was:" >&5
20273 cat conftest.
$ac_ext >&5
20275 eval "ac_cv_func_$ac_func=no"
20280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20281 echo "$ac_t""yes" 1>&6
20282 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20283 cat >> confdefs.h
<<EOF
20284 #define $ac_tr_func 1
20288 echo "$ac_t""no" 1>&6
20293 if test "$ac_cv_func_localtime" = "yes"; then
20294 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
20295 echo "configure:20296: checking for tm_gmtoff in struct tm" >&5
20296 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
20297 echo $ac_n "(cached) $ac_c" 1>&6
20300 cat > conftest.
$ac_ext <<EOF
20301 #line 20302 "configure"
20302 #include "confdefs.h"
20313 if { (eval echo configure
:20314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20316 wx_cv_struct_tm_has_gmtoff
=yes
20319 echo "configure: failed program was:" >&5
20320 cat conftest.
$ac_ext >&5
20322 wx_cv_struct_tm_has_gmtoff
=no
20329 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
20332 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
20333 cat >> confdefs.h
<<\EOF
20334 #define WX_GMTOFF_IN_TM 1
20339 for ac_func
in gettimeofday ftime
20341 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20342 echo "configure:20343: checking for $ac_func" >&5
20343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20344 echo $ac_n "(cached) $ac_c" 1>&6
20346 cat > conftest.
$ac_ext <<EOF
20347 #line 20348 "configure"
20348 #include "confdefs.h"
20349 /* System header to define __stub macros and hopefully few prototypes,
20350 which can conflict with char $ac_func(); below. */
20351 #include <assert.h>
20352 /* Override any gcc2 internal prototype to avoid an error. */
20353 /* We use char because int might match the return type of a gcc2
20354 builtin and then its argument prototype would still apply. */
20359 /* The GNU C library defines this for functions which it implements
20360 to always fail with ENOSYS. Some functions are actually named
20361 something starting with __ and the normal name is an alias. */
20362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20370 if { (eval echo configure
:20371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20372 eval "ac_cv_func_$ac_func=yes"
20374 echo "configure: failed program was:" >&5
20375 cat conftest.
$ac_ext >&5
20377 eval "ac_cv_func_$ac_func=no"
20382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20383 echo "$ac_t""yes" 1>&6
20384 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20385 cat >> confdefs.h
<<EOF
20386 #define $ac_tr_func 1
20390 echo "$ac_t""no" 1>&6
20395 if test "$ac_cv_func_gettimeofday" = "yes"; then
20396 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
20397 echo "configure:20398: checking whether gettimeofday takes two arguments" >&5
20398 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
20399 echo $ac_n "(cached) $ac_c" 1>&6
20404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20405 ac_cpp
='$CXXCPP $CPPFLAGS'
20406 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20407 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20408 cross_compiling
=$ac_cv_prog_cxx_cross
20411 cat > conftest.
$ac_ext <<EOF
20412 #line 20413 "configure"
20413 #include "confdefs.h"
20415 #include <sys/time.h>
20416 #include <unistd.h>
20421 gettimeofday(&tv, NULL);
20425 if { (eval echo configure
:20426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20427 wx_cv_func_gettimeofday_has_2_args
=yes
20429 echo "configure: failed program was:" >&5
20430 cat conftest.
$ac_ext >&5
20432 cat > conftest.
$ac_ext <<EOF
20433 #line 20434 "configure"
20434 #include "confdefs.h"
20436 #include <sys/time.h>
20437 #include <unistd.h>
20446 if { (eval echo configure
:20447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20448 wx_cv_func_gettimeofday_has_2_args
=no
20450 echo "configure: failed program was:" >&5
20451 cat conftest.
$ac_ext >&5
20454 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20455 wx_cv_func_gettimeofday_has_2_args
=unknown
20464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20465 ac_cpp
='$CPP $CPPFLAGS'
20466 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20467 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20468 cross_compiling
=$ac_cv_prog_cc_cross
20473 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20475 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20476 cat >> confdefs.h
<<\EOF
20477 #define WX_GETTIMEOFDAY_NO_TZ 1
20483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20487 if test "$wxUSE_SOCKETS" = "yes"; then
20488 if test "$wxUSE_MGL" = "1"; then
20489 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20494 if test "$wxUSE_SOCKETS" = "yes"; then
20495 if test "$TOOLKIT" != "MSW"; then
20496 echo $ac_n "checking for socket""... $ac_c" 1>&6
20497 echo "configure:20498: checking for socket" >&5
20498 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20499 echo $ac_n "(cached) $ac_c" 1>&6
20501 cat > conftest.
$ac_ext <<EOF
20502 #line 20503 "configure"
20503 #include "confdefs.h"
20504 /* System header to define __stub macros and hopefully few prototypes,
20505 which can conflict with char socket(); below. */
20506 #include <assert.h>
20507 /* Override any gcc2 internal prototype to avoid an error. */
20508 /* We use char because int might match the return type of a gcc2
20509 builtin and then its argument prototype would still apply. */
20514 /* The GNU C library defines this for functions which it implements
20515 to always fail with ENOSYS. Some functions are actually named
20516 something starting with __ and the normal name is an alias. */
20517 #if defined (__stub_socket) || defined (__stub___socket)
20525 if { (eval echo configure
:20526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20527 eval "ac_cv_func_socket=yes"
20529 echo "configure: failed program was:" >&5
20530 cat conftest.
$ac_ext >&5
20532 eval "ac_cv_func_socket=no"
20537 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20538 echo "$ac_t""yes" 1>&6
20541 echo "$ac_t""no" 1>&6
20542 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20543 echo "configure:20544: checking for socket in -lsocket" >&5
20544 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20545 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20546 echo $ac_n "(cached) $ac_c" 1>&6
20548 ac_save_LIBS
="$LIBS"
20549 LIBS
="-lsocket $LIBS"
20550 cat > conftest.
$ac_ext <<EOF
20551 #line 20552 "configure"
20552 #include "confdefs.h"
20553 /* Override any gcc2 internal prototype to avoid an error. */
20554 /* We use char because int might match the return type of a gcc2
20555 builtin and then its argument prototype would still apply. */
20562 if { (eval echo configure
:20563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20564 eval "ac_cv_lib_$ac_lib_var=yes"
20566 echo "configure: failed program was:" >&5
20567 cat conftest.
$ac_ext >&5
20569 eval "ac_cv_lib_$ac_lib_var=no"
20572 LIBS
="$ac_save_LIBS"
20575 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20576 echo "$ac_t""yes" 1>&6
20577 if test "$INET_LINK" != " -lsocket"; then
20578 INET_LINK
="$INET_LINK -lsocket"
20581 echo "$ac_t""no" 1>&6
20583 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20595 if test "$wxUSE_SOCKETS" = "yes" ; then
20596 if test "$TOOLKIT" != "MSW"; then
20597 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20598 echo "configure:20599: checking what is the type of the third argument of getsockname" >&5
20599 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20600 echo $ac_n "(cached) $ac_c" 1>&6
20603 cat > conftest.
$ac_ext <<EOF
20604 #line 20605 "configure"
20605 #include "confdefs.h"
20607 #include <sys/types.h>
20608 #include <sys/socket.h>
20613 getsockname(0, 0, &len);
20617 if { (eval echo configure
:20618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20619 wx_cv_type_getsockname3
=socklen_t
20621 echo "configure: failed program was:" >&5
20622 cat conftest.
$ac_ext >&5
20625 CFLAGS_OLD
="$CFLAGS"
20626 if test "$GCC" = yes ; then
20627 CFLAGS
="$CFLAGS -Werror"
20630 cat > conftest.
$ac_ext <<EOF
20631 #line 20632 "configure"
20632 #include "confdefs.h"
20634 #include <sys/types.h>
20635 #include <sys/socket.h>
20640 getsockname(0, 0, &len);
20644 if { (eval echo configure
:20645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20646 wx_cv_type_getsockname3
=size_t
20648 echo "configure: failed program was:" >&5
20649 cat conftest.
$ac_ext >&5
20651 cat > conftest.
$ac_ext <<EOF
20652 #line 20653 "configure"
20653 #include "confdefs.h"
20655 #include <sys/types.h>
20656 #include <sys/socket.h>
20661 getsockname(0, 0, &len);
20665 if { (eval echo configure
:20666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20667 wx_cv_type_getsockname3
=int
20669 echo "configure: failed program was:" >&5
20670 cat conftest.
$ac_ext >&5
20672 wx_cv_type_getsockname3
=unknown
20680 CFLAGS
="$CFLAGS_OLD"
20688 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20690 if test "$wx_cv_type_getsockname3" = "unknown"; then
20692 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20694 cat >> confdefs.h
<<EOF
20695 #define SOCKLEN_T $wx_cv_type_getsockname3
20702 if test "$wxUSE_SOCKETS" = "yes" ; then
20703 cat >> confdefs.h
<<\EOF
20704 #define wxUSE_SOCKETS 1
20707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20711 if test "$wxUSE_GUI" = "yes"; then
20713 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
20714 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20717 if test "$TOOLKIT" = "MOTIF"; then
20718 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20721 if test "$TOOLKIT" = "X11"; then
20722 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20726 if test "$TOOLKIT" != "MSW"; then
20727 if test "$wxUSE_JOYSTICK" = "yes"; then
20728 for ac_hdr
in linux
/joystick.h
20730 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20731 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20732 echo "configure:20733: checking for $ac_hdr" >&5
20733 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20734 echo $ac_n "(cached) $ac_c" 1>&6
20736 cat > conftest.
$ac_ext <<EOF
20737 #line 20738 "configure"
20738 #include "confdefs.h"
20741 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20742 { (eval echo configure
:20743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20743 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20744 if test -z "$ac_err"; then
20746 eval "ac_cv_header_$ac_safe=yes"
20749 echo "configure: failed program was:" >&5
20750 cat conftest.
$ac_ext >&5
20752 eval "ac_cv_header_$ac_safe=no"
20756 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20757 echo "$ac_t""yes" 1>&6
20758 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20759 cat >> confdefs.h
<<EOF
20760 #define $ac_tr_hdr 1
20764 echo "$ac_t""no" 1>&6
20768 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20770 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20775 if test "$wxUSE_JOYSTICK" = "yes"; then
20776 cat >> confdefs.h
<<\EOF
20777 #define wxUSE_JOYSTICK 1
20780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20785 if test "$TOOLKIT" != "MSW"; then
20789 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20790 if test "$USE_DARWIN" = 1; then
20793 for ac_func
in dlopen
20795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20796 echo "configure:20797: checking for $ac_func" >&5
20797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20798 echo $ac_n "(cached) $ac_c" 1>&6
20800 cat > conftest.
$ac_ext <<EOF
20801 #line 20802 "configure"
20802 #include "confdefs.h"
20803 /* System header to define __stub macros and hopefully few prototypes,
20804 which can conflict with char $ac_func(); below. */
20805 #include <assert.h>
20806 /* Override any gcc2 internal prototype to avoid an error. */
20807 /* We use char because int might match the return type of a gcc2
20808 builtin and then its argument prototype would still apply. */
20813 /* The GNU C library defines this for functions which it implements
20814 to always fail with ENOSYS. Some functions are actually named
20815 something starting with __ and the normal name is an alias. */
20816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20824 if { (eval echo configure
:20825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20826 eval "ac_cv_func_$ac_func=yes"
20828 echo "configure: failed program was:" >&5
20829 cat conftest.
$ac_ext >&5
20831 eval "ac_cv_func_$ac_func=no"
20836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20837 echo "$ac_t""yes" 1>&6
20838 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20839 cat >> confdefs.h
<<EOF
20840 #define $ac_tr_func 1
20843 cat >> confdefs.h
<<\EOF
20844 #define HAVE_DLOPEN 1
20850 echo "$ac_t""no" 1>&6
20851 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20852 echo "configure:20853: checking for dlopen in -ldl" >&5
20853 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20854 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20855 echo $ac_n "(cached) $ac_c" 1>&6
20857 ac_save_LIBS
="$LIBS"
20859 cat > conftest.
$ac_ext <<EOF
20860 #line 20861 "configure"
20861 #include "confdefs.h"
20862 /* Override any gcc2 internal prototype to avoid an error. */
20863 /* We use char because int might match the return type of a gcc2
20864 builtin and then its argument prototype would still apply. */
20871 if { (eval echo configure
:20872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20873 eval "ac_cv_lib_$ac_lib_var=yes"
20875 echo "configure: failed program was:" >&5
20876 cat conftest.
$ac_ext >&5
20878 eval "ac_cv_lib_$ac_lib_var=no"
20881 LIBS
="$ac_save_LIBS"
20884 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20885 echo "$ac_t""yes" 1>&6
20887 cat >> confdefs.h
<<\EOF
20888 #define HAVE_DLOPEN 1
20892 DL_LINK
=" -ldl$DL_LINK"
20895 echo "$ac_t""no" 1>&6
20897 for ac_func
in shl_load
20899 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20900 echo "configure:20901: checking for $ac_func" >&5
20901 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20902 echo $ac_n "(cached) $ac_c" 1>&6
20904 cat > conftest.
$ac_ext <<EOF
20905 #line 20906 "configure"
20906 #include "confdefs.h"
20907 /* System header to define __stub macros and hopefully few prototypes,
20908 which can conflict with char $ac_func(); below. */
20909 #include <assert.h>
20910 /* Override any gcc2 internal prototype to avoid an error. */
20911 /* We use char because int might match the return type of a gcc2
20912 builtin and then its argument prototype would still apply. */
20917 /* The GNU C library defines this for functions which it implements
20918 to always fail with ENOSYS. Some functions are actually named
20919 something starting with __ and the normal name is an alias. */
20920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20928 if { (eval echo configure
:20929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20930 eval "ac_cv_func_$ac_func=yes"
20932 echo "configure: failed program was:" >&5
20933 cat conftest.
$ac_ext >&5
20935 eval "ac_cv_func_$ac_func=no"
20940 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20941 echo "$ac_t""yes" 1>&6
20942 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20943 cat >> confdefs.h
<<EOF
20944 #define $ac_tr_func 1
20947 cat >> confdefs.h
<<\EOF
20948 #define HAVE_SHL_LOAD 1
20954 echo "$ac_t""no" 1>&6
20955 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20956 echo "configure:20957: checking for dld in -lshl_load" >&5
20957 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20958 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20959 echo $ac_n "(cached) $ac_c" 1>&6
20961 ac_save_LIBS
="$LIBS"
20962 LIBS
="-lshl_load $LIBS"
20963 cat > conftest.
$ac_ext <<EOF
20964 #line 20965 "configure"
20965 #include "confdefs.h"
20966 /* Override any gcc2 internal prototype to avoid an error. */
20967 /* We use char because int might match the return type of a gcc2
20968 builtin and then its argument prototype would still apply. */
20975 if { (eval echo configure
:20976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20977 eval "ac_cv_lib_$ac_lib_var=yes"
20979 echo "configure: failed program was:" >&5
20980 cat conftest.
$ac_ext >&5
20982 eval "ac_cv_lib_$ac_lib_var=no"
20985 LIBS
="$ac_save_LIBS"
20988 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20989 echo "$ac_t""yes" 1>&6
20992 DL_LINK
=" -ldld$DL_LINK"
20995 echo "$ac_t""no" 1>&6
21010 if test "$HAVE_DL_FUNCS" = 1; then
21011 for ac_func
in dlerror
21013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21014 echo "configure:21015: checking for $ac_func" >&5
21015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21016 echo $ac_n "(cached) $ac_c" 1>&6
21018 cat > conftest.
$ac_ext <<EOF
21019 #line 21020 "configure"
21020 #include "confdefs.h"
21021 /* System header to define __stub macros and hopefully few prototypes,
21022 which can conflict with char $ac_func(); below. */
21023 #include <assert.h>
21024 /* Override any gcc2 internal prototype to avoid an error. */
21025 /* We use char because int might match the return type of a gcc2
21026 builtin and then its argument prototype would still apply. */
21031 /* The GNU C library defines this for functions which it implements
21032 to always fail with ENOSYS. Some functions are actually named
21033 something starting with __ and the normal name is an alias. */
21034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21042 if { (eval echo configure
:21043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21044 eval "ac_cv_func_$ac_func=yes"
21046 echo "configure: failed program was:" >&5
21047 cat conftest.
$ac_ext >&5
21049 eval "ac_cv_func_$ac_func=no"
21054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21055 echo "$ac_t""yes" 1>&6
21056 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21057 cat >> confdefs.h
<<EOF
21058 #define $ac_tr_func 1
21060 cat >> confdefs.h
<<\EOF
21061 #define HAVE_DLERROR 1
21065 echo "$ac_t""no" 1>&6
21066 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
21067 echo "configure:21068: checking for dlerror in -ldl" >&5
21068 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
21069 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21070 echo $ac_n "(cached) $ac_c" 1>&6
21072 ac_save_LIBS
="$LIBS"
21074 cat > conftest.
$ac_ext <<EOF
21075 #line 21076 "configure"
21076 #include "confdefs.h"
21077 /* Override any gcc2 internal prototype to avoid an error. */
21078 /* We use char because int might match the return type of a gcc2
21079 builtin and then its argument prototype would still apply. */
21086 if { (eval echo configure
:21087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21088 eval "ac_cv_lib_$ac_lib_var=yes"
21090 echo "configure: failed program was:" >&5
21091 cat conftest.
$ac_ext >&5
21093 eval "ac_cv_lib_$ac_lib_var=no"
21096 LIBS
="$ac_save_LIBS"
21099 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21100 echo "$ac_t""yes" 1>&6
21101 cat >> confdefs.h
<<\EOF
21102 #define HAVE_DLERROR 1
21106 echo "$ac_t""no" 1>&6
21115 if test "$HAVE_DL_FUNCS" = 0; then
21116 if test "$HAVE_SHL_FUNCS" = 0; then
21117 if test "$USE_UNIX" = 1; then
21118 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
21119 wxUSE_DYNAMIC_LOADER
=no
21120 wxUSE_DYNLIB_CLASS
=no
21122 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
21129 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
21130 cat >> confdefs.h
<<\EOF
21131 #define wxUSE_DYNAMIC_LOADER 1
21134 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
21135 cat >> confdefs.h
<<\EOF
21136 #define wxUSE_DYNLIB_CLASS 1
21142 if test "$wxUSE_FONTMAP" = "yes" ; then
21143 cat >> confdefs.h
<<\EOF
21144 #define wxUSE_FONTMAP 1
21149 if test "$wxUSE_UNICODE" = "yes" ; then
21150 cat >> confdefs.h
<<\EOF
21151 #define wxUSE_UNICODE 1
21155 if test "$wxUSE_MSW" != 1; then
21156 wxUSE_UNICODE_MSLU
=no
21159 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
21160 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
21161 echo "configure:21162: checking for main in -lunicows" >&5
21162 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
21163 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21164 echo $ac_n "(cached) $ac_c" 1>&6
21166 ac_save_LIBS
="$LIBS"
21167 LIBS
="-lunicows $LIBS"
21168 cat > conftest.
$ac_ext <<EOF
21169 #line 21170 "configure"
21170 #include "confdefs.h"
21176 if { (eval echo configure
:21177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21178 eval "ac_cv_lib_$ac_lib_var=yes"
21180 echo "configure: failed program was:" >&5
21181 cat conftest.
$ac_ext >&5
21183 eval "ac_cv_lib_$ac_lib_var=no"
21186 LIBS
="$ac_save_LIBS"
21189 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21190 echo "$ac_t""yes" 1>&6
21192 cat >> confdefs.h
<<\EOF
21193 #define wxUSE_UNICODE_MSLU 1
21198 echo "$ac_t""no" 1>&6
21200 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
21201 Applications will only run on Windows NT/2000/XP!" 1>&2
21202 wxUSE_UNICODE_MSLU
=no
21209 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
21210 cat >> confdefs.h
<<\EOF
21211 #define wxUSE_EXPERIMENTAL_PRINTF 1
21217 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
21218 cat >> confdefs.h
<<\EOF
21219 #define wxUSE_POSTSCRIPT 1
21224 cat >> confdefs.h
<<\EOF
21225 #define wxUSE_AFM_FOR_POSTSCRIPT 1
21229 cat >> confdefs.h
<<\EOF
21230 #define wxUSE_NORMALIZED_PS_FONTS 1
21235 if test "$wxUSE_CONSTRAINTS" = "yes"; then
21236 cat >> confdefs.h
<<\EOF
21237 #define wxUSE_CONSTRAINTS 1
21240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
21243 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21246 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21247 cat >> confdefs.h
<<\EOF
21248 #define wxUSE_MDI_ARCHITECTURE 1
21251 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
21255 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
21256 cat >> confdefs.h
<<\EOF
21257 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
21260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
21261 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
21266 if test "$wxUSE_HELP" = "yes"; then
21267 cat >> confdefs.h
<<\EOF
21268 #define wxUSE_HELP 1
21271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
21273 if test "$wxUSE_MSW" = 1; then
21274 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
21275 cat >> confdefs.h
<<\EOF
21276 #define wxUSE_MS_HTML_HELP 1
21282 if test "$wxUSE_WXHTML_HELP" = "yes"; then
21283 if test "$wxUSE_HTML" = "yes"; then
21284 cat >> confdefs.h
<<\EOF
21285 #define wxUSE_WXHTML_HELP 1
21289 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
21290 wxUSE_WXHTML_HELP
=no
21295 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21296 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21297 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
21299 cat >> confdefs.h
<<\EOF
21300 #define wxUSE_PRINTING_ARCHITECTURE 1
21304 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
21307 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
21308 { echo "configure: error: wxExpr and old-style resources are now available in contrib only" 1>&2; exit 1; }
21312 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
21313 -o "$wxUSE_CLIPBOARD" = "yes" \
21314 -o "$wxUSE_OLE" = "yes" \
21315 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
21316 for ac_hdr
in ole2.h
21318 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21319 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21320 echo "configure:21321: checking for $ac_hdr" >&5
21321 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21322 echo $ac_n "(cached) $ac_c" 1>&6
21324 cat > conftest.
$ac_ext <<EOF
21325 #line 21326 "configure"
21326 #include "confdefs.h"
21329 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21330 { (eval echo configure
:21331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21331 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21332 if test -z "$ac_err"; then
21334 eval "ac_cv_header_$ac_safe=yes"
21337 echo "configure: failed program was:" >&5
21338 cat conftest.
$ac_ext >&5
21340 eval "ac_cv_header_$ac_safe=no"
21344 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21345 echo "$ac_t""yes" 1>&6
21346 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21347 cat >> confdefs.h
<<EOF
21348 #define $ac_tr_hdr 1
21352 echo "$ac_t""no" 1>&6
21357 if test "$ac_cv_header_ole2_h" = "yes" ; then
21358 if test "$GCC" = yes ; then
21361 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21362 ac_cpp
='$CXXCPP $CPPFLAGS'
21363 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21364 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21365 cross_compiling
=$ac_cv_prog_cxx_cross
21368 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
21369 echo "configure:21370: checking if g++ requires -fvtable-thunks" >&5
21370 cat > conftest.
$ac_ext <<EOF
21371 #line 21372 "configure"
21372 #include "confdefs.h"
21373 #include <windows.h>
21379 if { (eval echo configure
:21380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21381 echo "$ac_t""no" 1>&6
21383 echo "configure: failed program was:" >&5
21384 cat conftest.
$ac_ext >&5
21386 echo "$ac_t""yes" 1>&6
21387 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21391 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21392 ac_cpp
='$CPP $CPPFLAGS'
21393 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21394 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21395 cross_compiling
=$ac_cv_prog_cc_cross
21397 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21398 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21399 cat >> confdefs.h
<<\EOF
21400 #define wxUSE_OLE 1
21406 cat >> confdefs.h
<<\EOF
21407 #define wxUSE_DATAOBJ 1
21411 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21414 wxUSE_DRAG_AND_DROP
=no
21419 if test "$wxUSE_METAFILE" = "yes"; then
21420 cat >> confdefs.h
<<\EOF
21421 #define wxUSE_METAFILE 1
21425 cat >> confdefs.h
<<\EOF
21426 #define wxUSE_ENH_METAFILE 1
21432 if test "$wxUSE_IPC" = "yes"; then
21433 if test "$wxUSE_SOCKETS" != "yes"; then
21434 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21437 cat >> confdefs.h
<<\EOF
21438 #define wxUSE_IPC 1
21443 if test "$wxUSE_CLIPBOARD" = "yes"; then
21444 if test "$wxUSE_MGL" = 1; then
21445 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21449 if test "$wxUSE_CLIPBOARD" = "yes"; then
21450 cat >> confdefs.h
<<\EOF
21451 #define wxUSE_CLIPBOARD 1
21455 cat >> confdefs.h
<<\EOF
21456 #define wxUSE_DATAOBJ 1
21462 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21463 if test "$wxUSE_GTK" = 1; then
21464 if test "$WXGTK12" != 1; then
21465 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21466 wxUSE_DRAG_AND_DROP
=no
21470 if test "$wxUSE_MOTIF" = 1; then
21471 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21472 wxUSE_DRAG_AND_DROP
=no
21475 if test "$wxUSE_X11" = 1; then
21476 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21477 wxUSE_DRAG_AND_DROP
=no
21480 if test "$wxUSE_MGL" = 1; then
21481 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21482 wxUSE_DRAG_AND_DROP
=no
21485 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21486 cat >> confdefs.h
<<\EOF
21487 #define wxUSE_DRAG_AND_DROP 1
21490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21495 if test "$wxUSE_SPLINES" = "yes" ; then
21496 cat >> confdefs.h
<<\EOF
21497 #define wxUSE_SPLINES 1
21504 if test "$wxUSE_CONTROLS" = "yes"; then
21508 if test "$wxUSE_ACCEL" = "yes"; then
21509 cat >> confdefs.h
<<\EOF
21510 #define wxUSE_ACCEL 1
21516 if test "$wxUSE_BUTTON" = "yes"; then
21517 cat >> confdefs.h
<<\EOF
21518 #define wxUSE_BUTTON 1
21524 if test "$wxUSE_BMPBUTTON" = "yes"; then
21525 cat >> confdefs.h
<<\EOF
21526 #define wxUSE_BMPBUTTON 1
21532 if test "$wxUSE_CALCTRL" = "yes"; then
21533 cat >> confdefs.h
<<\EOF
21534 #define wxUSE_CALENDARCTRL 1
21538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21541 if test "$wxUSE_CARET" = "yes"; then
21542 cat >> confdefs.h
<<\EOF
21543 #define wxUSE_CARET 1
21547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21550 if test "$wxUSE_COMBOBOX" = "yes"; then
21551 cat >> confdefs.h
<<\EOF
21552 #define wxUSE_COMBOBOX 1
21558 if test "$wxUSE_CHOICE" = "yes"; then
21559 cat >> confdefs.h
<<\EOF
21560 #define wxUSE_CHOICE 1
21566 if test "$wxUSE_CHECKBOX" = "yes"; then
21567 cat >> confdefs.h
<<\EOF
21568 #define wxUSE_CHECKBOX 1
21574 if test "$wxUSE_CHECKLST" = "yes"; then
21575 cat >> confdefs.h
<<\EOF
21576 #define wxUSE_CHECKLISTBOX 1
21580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21583 if test "$wxUSE_DISPLAY" = "yes"; then
21584 cat >> confdefs.h
<<\EOF
21585 #define wxUSE_DISPLAY 1
21588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
21591 if test "$wxUSE_GAUGE" = "yes"; then
21592 cat >> confdefs.h
<<\EOF
21593 #define wxUSE_GAUGE 1
21599 if test "$wxUSE_GRID" = "yes"; then
21600 cat >> confdefs.h
<<\EOF
21601 #define wxUSE_GRID 1
21605 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21608 if test "$wxUSE_IMAGLIST" = "yes"; then
21609 cat >> confdefs.h
<<\EOF
21610 #define wxUSE_IMAGLIST 1
21615 if test "$wxUSE_LISTBOX" = "yes"; then
21616 cat >> confdefs.h
<<\EOF
21617 #define wxUSE_LISTBOX 1
21623 if test "$wxUSE_LISTCTRL" = "yes"; then
21624 if test "$wxUSE_IMAGLIST" = "yes"; then
21625 cat >> confdefs.h
<<\EOF
21626 #define wxUSE_LISTCTRL 1
21630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21632 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21636 if test "$wxUSE_NOTEBOOK" = "yes"; then
21637 cat >> confdefs.h
<<\EOF
21638 #define wxUSE_NOTEBOOK 1
21642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21646 if test "$wxUSE_RADIOBOX" = "yes"; then
21647 cat >> confdefs.h
<<\EOF
21648 #define wxUSE_RADIOBOX 1
21654 if test "$wxUSE_RADIOBTN" = "yes"; then
21655 cat >> confdefs.h
<<\EOF
21656 #define wxUSE_RADIOBTN 1
21662 if test "$wxUSE_SASH" = "yes"; then
21663 cat >> confdefs.h
<<\EOF
21664 #define wxUSE_SASH 1
21667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21670 if test "$wxUSE_SCROLLBAR" = "yes"; then
21671 cat >> confdefs.h
<<\EOF
21672 #define wxUSE_SCROLLBAR 1
21676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21679 if test "$wxUSE_SLIDER" = "yes"; then
21680 cat >> confdefs.h
<<\EOF
21681 #define wxUSE_SLIDER 1
21687 if test "$wxUSE_SPINBTN" = "yes"; then
21688 cat >> confdefs.h
<<\EOF
21689 #define wxUSE_SPINBTN 1
21695 if test "$wxUSE_SPINCTRL" = "yes"; then
21696 cat >> confdefs.h
<<\EOF
21697 #define wxUSE_SPINCTRL 1
21703 if test "$wxUSE_SPLITTER" = "yes"; then
21704 cat >> confdefs.h
<<\EOF
21705 #define wxUSE_SPLITTER 1
21708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21711 if test "$wxUSE_STATBMP" = "yes"; then
21712 cat >> confdefs.h
<<\EOF
21713 #define wxUSE_STATBMP 1
21719 if test "$wxUSE_STATBOX" = "yes"; then
21720 cat >> confdefs.h
<<\EOF
21721 #define wxUSE_STATBOX 1
21727 if test "$wxUSE_STATTEXT" = "yes"; then
21728 cat >> confdefs.h
<<\EOF
21729 #define wxUSE_STATTEXT 1
21735 if test "$wxUSE_STATLINE" = "yes"; then
21736 cat >> confdefs.h
<<\EOF
21737 #define wxUSE_STATLINE 1
21743 if test "$wxUSE_STATUSBAR" = "yes"; then
21744 cat >> confdefs.h
<<\EOF
21745 #define wxUSE_STATUSBAR 1
21750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21753 if test "$wxUSE_TABDIALOG" = "yes"; then
21754 cat >> confdefs.h
<<\EOF
21755 #define wxUSE_TAB_DIALOG 1
21758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21761 if test "$wxUSE_TEXTCTRL" = "yes"; then
21762 cat >> confdefs.h
<<\EOF
21763 #define wxUSE_TEXTCTRL 1
21767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21770 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21771 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21772 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21775 if test "$wxUSE_UNIVERSAL" = "yes"; then
21776 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21780 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21781 cat >> confdefs.h
<<\EOF
21782 #define wxUSE_TOGGLEBTN 1
21789 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21790 cat >> confdefs.h
<<\EOF
21791 #define wxUSE_TOOLBAR_SIMPLE 1
21794 wxUSE_TOOLBAR
="yes"
21798 if test "$wxUSE_TOOLBAR" = "yes"; then
21799 cat >> confdefs.h
<<\EOF
21800 #define wxUSE_TOOLBAR 1
21805 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21806 wxUSE_TOOLBAR_NATIVE
="yes"
21809 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21810 cat >> confdefs.h
<<\EOF
21811 #define wxUSE_TOOLBAR_NATIVE 1
21817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21820 if test "$wxUSE_TOOLTIPS" = "yes"; then
21821 if test "$wxUSE_MOTIF" = 1; then
21822 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21824 if test "$wxUSE_UNIVERSAL" = "yes"; then
21825 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21827 cat >> confdefs.h
<<\EOF
21828 #define wxUSE_TOOLTIPS 1
21835 if test "$wxUSE_TREECTRL" = "yes"; then
21836 if test "$wxUSE_IMAGLIST" = "yes"; then
21837 cat >> confdefs.h
<<\EOF
21838 #define wxUSE_TREECTRL 1
21842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21844 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21848 if test "$wxUSE_POPUPWIN" = "yes"; then
21849 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21850 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21852 if test "$wxUSE_MOTIF" = 1; then
21853 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21855 if test "$wxUSE_PM" = 1; then
21856 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21858 cat >> confdefs.h
<<\EOF
21859 #define wxUSE_POPUPWIN 1
21869 if test "$wxUSE_TIPWINDOW" = "yes"; then
21870 if test "$wxUSE_PM" = 1; then
21871 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21873 cat >> confdefs.h
<<\EOF
21874 #define wxUSE_TIPWINDOW 1
21880 if test "$USES_CONTROLS" = 1; then
21881 cat >> confdefs.h
<<\EOF
21882 #define wxUSE_CONTROLS 1
21889 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21890 cat >> confdefs.h
<<\EOF
21891 #define wxUSE_DRAGIMAGE 1
21894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21897 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
21898 cat >> confdefs.h
<<\EOF
21899 #define wxUSE_ACCESSIBILITY 1
21902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
21905 if test "$wxUSE_MENUS" = "yes"; then
21906 cat >> confdefs.h
<<\EOF
21907 #define wxUSE_MENUS 1
21910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21913 if test "$wxUSE_METAFILE" = "yes"; then
21914 cat >> confdefs.h
<<\EOF
21915 #define wxUSE_METAFILE 1
21920 if test "$wxUSE_MIMETYPE" = "yes"; then
21921 cat >> confdefs.h
<<\EOF
21922 #define wxUSE_MIMETYPE 1
21927 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21928 cat >> confdefs.h
<<\EOF
21929 #define wxUSE_SYSTEM_OPTIONS 1
21932 if test "$TOOLKIT" = "MSW"; then
21933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21938 if test "$wxUSE_PROTOCOL" = "yes"; then
21939 if test "$wxUSE_SOCKETS" != "yes"; then
21940 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21944 if test "$wxUSE_PROTOCOL" = "yes"; then
21945 cat >> confdefs.h
<<\EOF
21946 #define wxUSE_PROTOCOL 1
21950 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21951 cat >> confdefs.h
<<\EOF
21952 #define wxUSE_PROTOCOL_HTTP 1
21956 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21957 cat >> confdefs.h
<<\EOF
21958 #define wxUSE_PROTOCOL_FTP 1
21962 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21963 cat >> confdefs.h
<<\EOF
21964 #define wxUSE_PROTOCOL_FILE 1
21971 if test "$wxUSE_URL" = "yes"; then
21972 if test "$wxUSE_PROTOCOL" != "yes"; then
21973 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21976 if test "$wxUSE_URL" = "yes"; then
21977 cat >> confdefs.h
<<\EOF
21978 #define wxUSE_URL 1
21984 if test "$wxUSE_MINIFRAME" = "yes"; then
21985 cat >> confdefs.h
<<\EOF
21986 #define wxUSE_MINIFRAME 1
21989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21992 if test "$wxUSE_HTML" = "yes"; then
21993 cat >> confdefs.h
<<\EOF
21994 #define wxUSE_HTML 1
21997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html htlbox"
22000 if test "$wxUSE_VALIDATORS" = "yes"; then
22001 cat >> confdefs.h
<<\EOF
22002 #define wxUSE_VALIDATORS 1
22005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
22008 if test "$wxUSE_PALETTE" = "yes" ; then
22009 cat >> confdefs.h
<<\EOF
22010 #define wxUSE_PALETTE 1
22015 if test "$wxUSE_IMAGE" = "yes" ; then
22016 cat >> confdefs.h
<<\EOF
22017 #define wxUSE_IMAGE 1
22022 if test "$wxUSE_GIF" = "yes" ; then
22023 cat >> confdefs.h
<<\EOF
22024 #define wxUSE_GIF 1
22029 if test "$wxUSE_PCX" = "yes" ; then
22030 cat >> confdefs.h
<<\EOF
22031 #define wxUSE_PCX 1
22036 if test "$wxUSE_IFF" = "yes" ; then
22037 cat >> confdefs.h
<<\EOF
22038 #define wxUSE_IFF 1
22043 if test "$wxUSE_PNM" = "yes" ; then
22044 cat >> confdefs.h
<<\EOF
22045 #define wxUSE_PNM 1
22050 if test "$wxUSE_XPM" = "yes" ; then
22051 cat >> confdefs.h
<<\EOF
22052 #define wxUSE_XPM 1
22057 if test "$wxUSE_ICO_CUR" = "yes" ; then
22058 cat >> confdefs.h
<<\EOF
22059 #define wxUSE_ICO_CUR 1
22064 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
22065 LIBS
=" -lunicows $LIBS"
22069 if test "$wxUSE_CHOICEDLG" = "yes"; then
22070 cat >> confdefs.h
<<\EOF
22071 #define wxUSE_CHOICEDLG 1
22076 if test "$wxUSE_COLOURDLG" = "yes"; then
22077 cat >> confdefs.h
<<\EOF
22078 #define wxUSE_COLOURDLG 1
22083 if test "$wxUSE_FILEDLG" = "yes"; then
22084 cat >> confdefs.h
<<\EOF
22085 #define wxUSE_FILEDLG 1
22090 if test "$wxUSE_FINDREPLDLG" = "yes"; then
22091 cat >> confdefs.h
<<\EOF
22092 #define wxUSE_FINDREPLDLG 1
22097 if test "$wxUSE_FONTDLG" = "yes"; then
22098 cat >> confdefs.h
<<\EOF
22099 #define wxUSE_FONTDLG 1
22104 if test "$wxUSE_DIRDLG" = "yes"; then
22105 if test "$wxUSE_TREECTRL" != "yes"; then
22106 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
22108 cat >> confdefs.h
<<\EOF
22109 #define wxUSE_DIRDLG 1
22115 if test "$wxUSE_MSGDLG" = "yes"; then
22116 cat >> confdefs.h
<<\EOF
22117 #define wxUSE_MSGDLG 1
22122 if test "$wxUSE_NUMBERDLG" = "yes"; then
22123 cat >> confdefs.h
<<\EOF
22124 #define wxUSE_NUMBERDLG 1
22129 if test "$wxUSE_PROGRESSDLG" = "yes"; then
22130 if test "$wxUSE_CONSTRAINTS" != "yes"; then
22131 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
22133 cat >> confdefs.h
<<\EOF
22134 #define wxUSE_PROGRESSDLG 1
22140 if test "$wxUSE_SPLASH" = "yes"; then
22141 cat >> confdefs.h
<<\EOF
22142 #define wxUSE_SPLASH 1
22147 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
22148 if test "$wxUSE_CONSTRAINTS" != "yes"; then
22149 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
22151 cat >> confdefs.h
<<\EOF
22152 #define wxUSE_STARTUP_TIPS 1
22158 if test "$wxUSE_TEXTDLG" = "yes"; then
22159 cat >> confdefs.h
<<\EOF
22160 #define wxUSE_TEXTDLG 1
22165 if test "$wxUSE_WIZARDDLG" = "yes"; then
22166 cat >> confdefs.h
<<\EOF
22167 #define wxUSE_WIZARDDLG 1
22170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
22174 if test "$cross_compiling" = "yes"; then
22177 OSINFO
=`uname -s -r -m`
22178 OSINFO
="\"$OSINFO\""
22181 cat >> confdefs.h
<<EOF
22182 #define WXWIN_OS_DESCRIPTION $OSINFO
22187 if test "x$prefix" != "xNONE"; then
22190 wxPREFIX
=$ac_default_prefix
22193 cat >> confdefs.h
<<EOF
22194 #define wxINSTALL_PREFIX "$wxPREFIX"
22203 if test "$wxUSE_MAC" = 1 ; then
22204 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
22206 if test "$wxUSE_COCOA" = 1 ; then
22207 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
22211 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
22217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22218 echo "configure:22219: checking for $ac_func" >&5
22219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22220 echo $ac_n "(cached) $ac_c" 1>&6
22222 cat > conftest.
$ac_ext <<EOF
22223 #line 22224 "configure"
22224 #include "confdefs.h"
22225 /* System header to define __stub macros and hopefully few prototypes,
22226 which can conflict with char $ac_func(); below. */
22227 #include <assert.h>
22228 /* Override any gcc2 internal prototype to avoid an error. */
22229 /* We use char because int might match the return type of a gcc2
22230 builtin and then its argument prototype would still apply. */
22235 /* The GNU C library defines this for functions which it implements
22236 to always fail with ENOSYS. Some functions are actually named
22237 something starting with __ and the normal name is an alias. */
22238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22246 if { (eval echo configure
:22247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22248 eval "ac_cv_func_$ac_func=yes"
22250 echo "configure: failed program was:" >&5
22251 cat conftest.
$ac_ext >&5
22253 eval "ac_cv_func_$ac_func=no"
22258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22259 echo "$ac_t""yes" 1>&6
22260 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22261 cat >> confdefs.h
<<EOF
22262 #define $ac_tr_func 1
22266 echo "$ac_t""no" 1>&6
22270 for ac_func
in floor
22272 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22273 echo "configure:22274: checking for $ac_func" >&5
22274 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22275 echo $ac_n "(cached) $ac_c" 1>&6
22277 cat > conftest.
$ac_ext <<EOF
22278 #line 22279 "configure"
22279 #include "confdefs.h"
22280 /* System header to define __stub macros and hopefully few prototypes,
22281 which can conflict with char $ac_func(); below. */
22282 #include <assert.h>
22283 /* Override any gcc2 internal prototype to avoid an error. */
22284 /* We use char because int might match the return type of a gcc2
22285 builtin and then its argument prototype would still apply. */
22290 /* The GNU C library defines this for functions which it implements
22291 to always fail with ENOSYS. Some functions are actually named
22292 something starting with __ and the normal name is an alias. */
22293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22301 if { (eval echo configure
:22302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22303 eval "ac_cv_func_$ac_func=yes"
22305 echo "configure: failed program was:" >&5
22306 cat conftest.
$ac_ext >&5
22308 eval "ac_cv_func_$ac_func=no"
22313 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22314 echo "$ac_t""yes" 1>&6
22315 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22316 cat >> confdefs.h
<<EOF
22317 #define $ac_tr_func 1
22321 echo "$ac_t""no" 1>&6
22325 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
22326 echo "configure:22327: checking if floating point functions link without -lm" >&5
22327 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22328 echo "$ac_t""yes" 1>&6
22330 echo "$ac_t""no" 1>&6
22332 # use different functions to avoid configure caching
22337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22338 echo "configure:22339: checking for $ac_func" >&5
22339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22340 echo $ac_n "(cached) $ac_c" 1>&6
22342 cat > conftest.
$ac_ext <<EOF
22343 #line 22344 "configure"
22344 #include "confdefs.h"
22345 /* System header to define __stub macros and hopefully few prototypes,
22346 which can conflict with char $ac_func(); below. */
22347 #include <assert.h>
22348 /* Override any gcc2 internal prototype to avoid an error. */
22349 /* We use char because int might match the return type of a gcc2
22350 builtin and then its argument prototype would still apply. */
22355 /* The GNU C library defines this for functions which it implements
22356 to always fail with ENOSYS. Some functions are actually named
22357 something starting with __ and the normal name is an alias. */
22358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22366 if { (eval echo configure
:22367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22368 eval "ac_cv_func_$ac_func=yes"
22370 echo "configure: failed program was:" >&5
22371 cat conftest.
$ac_ext >&5
22373 eval "ac_cv_func_$ac_func=no"
22378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22379 echo "$ac_t""yes" 1>&6
22380 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22381 cat >> confdefs.h
<<EOF
22382 #define $ac_tr_func 1
22386 echo "$ac_t""no" 1>&6
22390 for ac_func
in ceil
22392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22393 echo "configure:22394: checking for $ac_func" >&5
22394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22395 echo $ac_n "(cached) $ac_c" 1>&6
22397 cat > conftest.
$ac_ext <<EOF
22398 #line 22399 "configure"
22399 #include "confdefs.h"
22400 /* System header to define __stub macros and hopefully few prototypes,
22401 which can conflict with char $ac_func(); below. */
22402 #include <assert.h>
22403 /* Override any gcc2 internal prototype to avoid an error. */
22404 /* We use char because int might match the return type of a gcc2
22405 builtin and then its argument prototype would still apply. */
22410 /* The GNU C library defines this for functions which it implements
22411 to always fail with ENOSYS. Some functions are actually named
22412 something starting with __ and the normal name is an alias. */
22413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22421 if { (eval echo configure
:22422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22423 eval "ac_cv_func_$ac_func=yes"
22425 echo "configure: failed program was:" >&5
22426 cat conftest.
$ac_ext >&5
22428 eval "ac_cv_func_$ac_func=no"
22433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22434 echo "$ac_t""yes" 1>&6
22435 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22436 cat >> confdefs.h
<<EOF
22437 #define $ac_tr_func 1
22441 echo "$ac_t""no" 1>&6
22445 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22446 echo "configure:22447: checking if floating point functions link with -lm" >&5
22447 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22448 echo "$ac_t""yes" 1>&6
22450 echo "$ac_t""no" 1>&6
22451 # not sure we should warn the user, crash, etc.
22455 if test "$wxUSE_GUI" = "yes"; then
22457 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22461 drawing dynamic erase event exec font image \
22462 minimal propsize rotate shaped widgets"
22464 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22466 SAMPLES_SUBDIRS
="console"
22470 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22471 -I\${top_srcdir}/include \
22472 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22475 if test "$wxUSE_GTK" = 1; then
22478 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22481 if test "$GXX" = yes ; then
22482 CXXWARNINGS
="-Wall"
22484 if test "$wxUSE_NO_DEPS" = "no" ; then
22485 CFLAGS
="-MMD $CFLAGS"
22486 CXXFLAGS
="-MMD $CXXFLAGS"
22490 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22492 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22493 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22494 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22495 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22497 LDFLAGS
="$LDFLAGS $PROFILE"
22499 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22601 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22602 echo "configure:22603: checking whether ${MAKE-make} sets \${MAKE}" >&5
22603 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22604 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22605 echo $ac_n "(cached) $ac_c" 1>&6
22607 cat > conftestmake
<<\EOF
22609 @
echo 'ac_maketemp="${MAKE}"'
22611 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22612 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22613 if test -n "$ac_maketemp"; then
22614 eval ac_cv_prog_make_
${ac_make}_set
=yes
22616 eval ac_cv_prog_make_
${ac_make}_set
=no
22620 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22621 echo "$ac_t""yes" 1>&6
22624 echo "$ac_t""no" 1>&6
22625 SET_MAKE
="MAKE=${MAKE-make}"
22629 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22630 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22635 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22636 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22637 wx_cv_path_ifs
=$PATH_IFS
22638 wx_cv_program_ext
=$PROGRAM_EXT
22639 wx_cv_target_library
=$WX_TARGET_LIBRARY
22640 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22641 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22642 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22643 wx_cv_release
=${WX_RELEASE}
22644 wx_cv_current
=${WX_CURRENT}
22645 wx_cv_revision
=${WX_REVISION}
22646 wx_cv_age
=${WX_AGE}
22647 wx_cv_use_gui
=${USE_GUI}
22648 wx_cv_use_resources
=${wxUSE_RESOURCES}
22649 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22650 wx_cv_path_ifs wx_cv_program_ext \
22651 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22652 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22653 wx_cv_use_gui wx_cv_use_resources
22655 subdirs
="demos samples utils contrib"
22659 cat > confcache
<<\EOF
22660 # This file is a shell script that caches the results of configure
22661 # tests run on this system so they can be shared between configure
22662 # scripts and configure runs. It is not useful on other systems.
22663 # If it contains results you don't want to keep, you may remove or edit it.
22665 # By default, configure uses ./config.cache as the cache file,
22666 # creating it if it does not exist already. You can give configure
22667 # the --cache-file=FILE option to use a different cache file; that is
22668 # what configure does when it calls configure scripts in
22669 # subdirectories, so they share the cache.
22670 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22671 # config.status only pays attention to the cache file if you give it the
22672 # --recheck option to rerun configure.
22675 # The following way of writing the cache mishandles newlines in values,
22676 # but we know of no workaround that is simple, portable, and efficient.
22677 # So, don't put newlines in cache variables' values.
22678 # Ultrix sh set writes to stderr and can't be redirected directly,
22679 # and sets the high bit in the cache file unless we assign to the vars.
22681 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22683 # `set' does not quote correctly, so add quotes (double-quote substitution
22684 # turns \\\\ into \\, and sed turns \\ into \).
22686 -e "s/'/'\\\\''/g" \
22687 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22690 # `set' quotes correctly as required by POSIX, so do not add quotes.
22691 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22694 if cmp -s $cache_file confcache
; then
22697 if test -w $cache_file; then
22698 echo "updating cache $cache_file"
22699 cat confcache
> $cache_file
22701 echo "not updating unwritable cache $cache_file"
22706 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22708 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22709 # Let make expand exec_prefix.
22710 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22712 # Any assignment to VPATH causes Sun make to only execute
22713 # the first set of double-colon rules, so remove it if not needed.
22714 # If there is a colon in the path, we need to keep it.
22715 if test "x$srcdir" = x.
; then
22716 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22719 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22721 DEFS
=-DHAVE_CONFIG_H
22723 # Without the "./", some shells look in PATH for config.status.
22724 : ${CONFIG_STATUS=./config.status}
22726 echo creating
$CONFIG_STATUS
22727 rm -f $CONFIG_STATUS
22728 cat > $CONFIG_STATUS <<EOF
22730 # Generated automatically by configure.
22731 # Run this file to recreate the current configuration.
22732 # This directory was configured as follows,
22733 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22735 # $0 $ac_configure_args
22737 # Compiler output produced by configure, useful for debugging
22738 # configure, is in ./config.log if it exists.
22740 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22743 case "\$ac_option" in
22744 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22745 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22746 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22747 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22748 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22750 -help | --help | --hel | --he | --h)
22751 echo "\$ac_cs_usage"; exit 0 ;;
22752 *) echo "\$ac_cs_usage"; exit 1 ;;
22756 ac_given_srcdir=$srcdir
22757 ac_given_INSTALL="$INSTALL"
22759 trap 'rm -fr `echo "
22766 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22768 cat >> $CONFIG_STATUS <<EOF
22770 # Protect against being on the right side of a sed subst in config.status.
22771 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22772 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22776 s%@CFLAGS@%$CFLAGS%g
22777 s%@CPPFLAGS@%$CPPFLAGS%g
22778 s%@CXXFLAGS@%$CXXFLAGS%g
22779 s%@FFLAGS@%$FFLAGS%g
22781 s%@LDFLAGS@%$LDFLAGS%g
22783 s%@exec_prefix@%$exec_prefix%g
22784 s%@prefix@%$prefix%g
22785 s%@program_transform_name@%$program_transform_name%g
22786 s%@bindir@%$bindir%g
22787 s%@sbindir@%$sbindir%g
22788 s%@libexecdir@%$libexecdir%g
22789 s%@datadir@%$datadir%g
22790 s%@sysconfdir@%$sysconfdir%g
22791 s%@sharedstatedir@%$sharedstatedir%g
22792 s%@localstatedir@%$localstatedir%g
22793 s%@libdir@%$libdir%g
22794 s%@includedir@%$includedir%g
22795 s%@oldincludedir@%$oldincludedir%g
22796 s%@infodir@%$infodir%g
22797 s%@mandir@%$mandir%g
22799 s%@host_alias@%$host_alias%g
22800 s%@host_cpu@%$host_cpu%g
22801 s%@host_vendor@%$host_vendor%g
22802 s%@host_os@%$host_os%g
22803 s%@target@%$target%g
22804 s%@target_alias@%$target_alias%g
22805 s%@target_cpu@%$target_cpu%g
22806 s%@target_vendor@%$target_vendor%g
22807 s%@target_os@%$target_os%g
22809 s%@build_alias@%$build_alias%g
22810 s%@build_cpu@%$build_cpu%g
22811 s%@build_vendor@%$build_vendor%g
22812 s%@build_os@%$build_os%g
22816 s%@RANLIB@%$RANLIB%g
22818 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22819 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22820 s%@INSTALL_DATA@%$INSTALL_DATA%g
22822 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22825 s%@LEXLIB@%$LEXLIB%g
22827 s%@CXXCPP@%$CXXCPP%g
22828 s%@PKG_CONFIG@%$PKG_CONFIG%g
22829 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22830 s%@GTK_LIBS@%$GTK_LIBS%g
22831 s%@GTK_CONFIG@%$GTK_CONFIG%g
22832 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22833 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22834 s%@X_CFLAGS@%$X_CFLAGS%g
22835 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22836 s%@X_LIBS@%$X_LIBS%g
22837 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22838 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22839 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22840 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22841 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22842 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22843 s%@RESCOMP@%$RESCOMP%g
22845 s%@SETFILE@%$SETFILE%g
22846 s%@LIBICONV@%$LIBICONV%g
22847 s%@LEX_STEM@%$LEX_STEM%g
22848 s%@PATH_IFS@%$PATH_IFS%g
22849 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22850 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22851 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22852 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22853 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22854 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22855 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22856 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22857 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22858 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22859 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22860 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22861 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22862 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22863 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22864 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22865 s%@WX_ALL@%$WX_ALL%g
22866 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22867 s%@SHARED_LD@%$SHARED_LD%g
22868 s%@PIC_FLAG@%$PIC_FLAG%g
22869 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22870 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22871 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22872 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22873 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22874 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22875 s%@STATIC_FLAG@%$STATIC_FLAG%g
22876 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22877 s%@USE_GUI@%$USE_GUI%g
22878 s%@AFMINSTALL@%$AFMINSTALL%g
22879 s%@WIN32INSTALL@%$WIN32INSTALL%g
22880 s%@TOOLKIT@%$TOOLKIT%g
22881 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22882 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22883 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22884 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22885 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22886 s%@top_builddir@%$top_builddir%g
22887 s%@cross_compiling@%$cross_compiling%g
22888 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22889 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22890 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22891 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22892 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22893 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22894 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22895 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22896 s%@ALL_HEADERS@%$ALL_HEADERS%g
22897 s%@ALL_SOURCES@%$ALL_SOURCES%g
22898 s%@GUIDIST@%$GUIDIST%g
22899 s%@PORT_FILES@%$PORT_FILES%g
22900 s%@DISTDIR@%$DISTDIR%g
22901 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22902 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22903 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22904 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22905 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22906 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22907 s%@EXTRADEFS@%$EXTRADEFS%g
22908 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22909 s%@RESFLAGS@%$RESFLAGS%g
22910 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22911 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22912 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22913 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22914 s%@LIBWXMACRES@%$LIBWXMACRES%g
22915 s%@MACRESCOMP@%$MACRESCOMP%g
22916 s%@MACSETFILE@%$MACSETFILE%g
22917 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
22919 s%@DLLTOOL@%$DLLTOOL%g
22923 s%@MAKEINFO@%$MAKEINFO%g
22924 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22925 s%@INSTALL_DIR@%$INSTALL_DIR%g
22926 s%@SET_MAKE@%$SET_MAKE%g
22927 s%@subdirs@%$subdirs%g
22932 cat >> $CONFIG_STATUS <<\EOF
22934 # Split the substitutions into bite-sized pieces for seds with
22935 # small command number limits, like on Digital OSF/1 and HP-UX.
22936 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22937 ac_file
=1 # Number of current file.
22938 ac_beg
=1 # First line for current file.
22939 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22942 while $ac_more_lines; do
22943 if test $ac_beg -gt 1; then
22944 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22946 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22948 if test ! -s conftest.s
$ac_file; then
22949 ac_more_lines
=false
22950 rm -f conftest.s
$ac_file
22952 if test -z "$ac_sed_cmds"; then
22953 ac_sed_cmds
="sed -f conftest.s$ac_file"
22955 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22957 ac_file
=`expr $ac_file + 1`
22959 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22962 if test -z "$ac_sed_cmds"; then
22967 cat >> $CONFIG_STATUS <<EOF
22969 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22977 cat >> $CONFIG_STATUS <<\EOF
22978 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22979 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22981 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22982 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22983 *) ac_file_in
="${ac_file}.in" ;;
22986 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22988 # Remove last slash and all that follows it. Not all systems have dirname.
22989 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22990 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22991 # The file is in a subdirectory.
22992 test ! -d "$ac_dir" && mkdir "$ac_dir"
22993 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22994 # A "../" for each directory in $ac_dir_suffix.
22995 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22997 ac_dir_suffix
= ac_dots
=
23000 case "$ac_given_srcdir" in
23002 if test -z "$ac_dots"; then top_srcdir
=.
23003 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
23004 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
23005 *) # Relative path.
23006 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
23007 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
23010 case "$ac_given_INSTALL" in
23011 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
23012 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
23015 echo creating
"$ac_file"
23017 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
23019 *Makefile
*) ac_comsub
="1i\\
23020 # $configure_input" ;;
23024 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
23026 s%@configure_input@%$configure_input%g
23027 s%@srcdir@%$srcdir%g
23028 s%@top_srcdir@%$top_srcdir%g
23029 s%@INSTALL@%$INSTALL%g
23030 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
23034 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23035 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23037 # ac_d sets the value in "#define NAME VALUE" lines.
23038 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23039 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
23042 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
23043 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23044 ac_uB
='\([ ]\)%\1#\2define\3'
23047 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23048 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23049 ac_eB
='$%\1#\2define\3'
23053 if test "${CONFIG_HEADERS+set}" != set; then
23055 cat >> $CONFIG_STATUS <<EOF
23056 CONFIG_HEADERS="setup.h:setup.h.in"
23058 cat >> $CONFIG_STATUS <<\EOF
23060 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
23061 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23063 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
23064 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
23065 *) ac_file_in
="${ac_file}.in" ;;
23068 echo creating
$ac_file
23070 rm -f conftest.frag conftest.
in conftest.out
23071 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
23072 cat $ac_file_inputs > conftest.
in
23076 # Transform confdefs.h into a sed script conftest.vals that substitutes
23077 # the proper values into config.h.in to produce config.h. And first:
23078 # Protect against being on the right side of a sed subst in config.status.
23079 # Protect against being in an unquoted here document in config.status.
23080 rm -f conftest.vals
23081 cat > conftest.hdr
<<\EOF
23084 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
23088 sed -n -f conftest.hdr confdefs.h > conftest.vals
23091 # This sed command replaces #undef with comments. This is necessary, for
23092 # example, in the case of _POSIX_SOURCE, which is predefined and required
23093 # on some systems where configure will not decide to define it.
23094 cat >> conftest.vals <<\EOF
23095 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
23098 # Break up conftest.vals because some shells have a limit on
23099 # the size of here documents, and old seds have small limits too.
23101 rm -f conftest.tail
23104 ac_lines=`grep -c . conftest.vals
`
23105 # grep -c gives empty output for an empty file on some AIX systems.
23106 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
23107 # Write a limited-size here document to conftest.frag.
23108 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
23109 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
23111 sed -f conftest.frag conftest.in > conftest.out
23113 mv conftest.out conftest.in
23114 ' >> $CONFIG_STATUS
23115 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
23116 rm -f conftest.vals
23117 mv conftest.tail conftest.vals
23119 rm -f conftest.vals
23121 cat >> $CONFIG_STATUS <<\EOF
23122 rm -f conftest.frag conftest.h
23123 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
23124 cat conftest.in >> conftest.h
23126 if cmp -s $ac_file conftest.h 2>/dev/null; then
23127 echo "$ac_file is unchanged"
23130 # Remove last slash and all that follows it. Not all systems have dirname.
23131 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
23132 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23133 # The file is in a subdirectory.
23134 test ! -d "$ac_dir" && mkdir "$ac_dir"
23137 mv conftest.h $ac_file
23142 cat >> $CONFIG_STATUS <<EOF
23144 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
23149 cat >> $CONFIG_STATUS <<\EOF
23151 if test ! -h wx-config; then
23153 mv wx-config wx${TOOLCHAIN_NAME}-config
23154 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
23157 if test ! -d lib; then
23160 if test ! -d lib/wx; then
23163 if test ! -d lib/wx/include; then
23164 mkdir lib/wx/include
23166 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
23167 mkdir lib/wx/include/${TOOLCHAIN_NAME}
23169 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
23170 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
23172 if test -f setup.h; then
23173 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
23178 chmod +x $CONFIG_STATUS
23179 rm -fr confdefs* $ac_clean_files
23180 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
23182 if test "$no_recursion" != yes; then
23184 # Remove --cache-file and --srcdir arguments so they do not pile up.
23185 ac_sub_configure_args=
23187 for ac_arg in $ac_configure_args; do
23188 if test -n "$ac_prev"; then
23193 -cache-file | --cache-file | --cache-fil | --cache-fi \
23194 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
23195 ac_prev=cache_file ;;
23196 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
23197 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
23199 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
23201 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
23203 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
23207 for ac_config_dir in demos samples utils contrib; do
23209 # Do not complain, so a configure script can configure whichever
23210 # parts of a large source tree are present.
23211 if test ! -d $srcdir/$ac_config_dir; then
23215 echo configuring in $ac_config_dir
23220 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
23222 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
23230 # A "../" for each directory in /$ac_config_dir.
23231 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
23234 .) # No --srcdir option. We are building in place.
23235 ac_sub_srcdir=$srcdir ;;
23236 /*) # Absolute path.
23237 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
23238 *) # Relative path.
23239 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
23242 # Check for guested configure; otherwise get Cygnus style configure.
23243 if test -f $ac_sub_srcdir/configure; then
23244 ac_sub_configure=$ac_sub_srcdir/configure
23245 elif test -f $ac_sub_srcdir/configure.in; then
23246 ac_sub_configure=$ac_configure
23248 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
23252 # The recursion is here.
23253 if test -n "$ac_sub_configure"; then
23255 # Make the cache file name correct relative to the subdirectory.
23256 case "$cache_file" in
23257 /*) ac_sub_cache_file=$cache_file ;;
23258 *) # Relative path.
23259 ac_sub_cache_file="$ac_dots$cache_file" ;;
23261 case "$ac_given_INSTALL" in
23262 [/$]*) INSTALL="$ac_given_INSTALL" ;;
23263 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
23266 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
23267 # The eval makes quoting arguments work.
23268 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
23271 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
23281 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
23283 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
23285 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
23286 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
23287 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
23289 echo " What level of wxWindows compatibility should be enabled?"
23290 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
23291 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
23292 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
23294 echo " Which libraries should wxWindows use?"
23295 echo " jpeg ${wxUSE_LIBJPEG-none}"
23296 echo " png ${wxUSE_LIBPNG-none}"
23297 echo " regex ${wxUSE_REGEX}"
23298 echo " tiff ${wxUSE_LIBTIFF-none}"
23299 echo " zlib ${wxUSE_ZLIB}"
23300 echo " odbc ${wxUSE_ODBC}"