3 # From configure.in Id: configure.in
59 # Configure paths for GTK+
60 # Owen Taylor 1997-2001
69 # Configure paths for GTK+
74 # Guess values for system-dependent variables and create Makefiles.
75 # Generated automatically using autoconf version 2.13
76 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
78 # This configure script is free software; the Free Software Foundation
79 # gives unlimited permission to copy, distribute and modify it.
83 ac_default_prefix
=/usr
/local
84 # Any additions from configure.in:
86 --enable-gui use GUI classes"
88 --enable-universal use wxWindows GUI controls instead of native ones"
92 --with-motif use Motif/Lesstif"
94 --with-mac use Mac OS X"
98 --with-msw use MS-Windows"
100 --with-pm use OS/2 Presentation Manager"
102 --with-mgl use SciTech MGL"
104 --with-microwin use MicroWindows"
108 --enable-nanox use NanoX"
110 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
112 --with-libpng use libpng (PNG image format)"
114 --with-libjpeg use libjpeg (JPEG file format)"
116 --with-libtiff use libtiff (TIFF file format)"
118 --with-opengl use OpenGL (or Mesa)"
120 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
122 --with-regex enable support for wxRegEx class"
124 --with-zlib use zlib for LZW compression"
126 --with-odbc use the IODBC and wxODBC classes"
128 --enable-shared create shared library code"
130 --enable-soname set the DT_SONAME field in ELF shared libraries"
132 --enable-optimise create optimised code"
134 --enable-debug same as debug_flag and debug_info"
136 --enable-precomp enable use of precompiled headers (Mac OS X)"
138 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
140 --enable-debug_info create code with debugging information"
142 --enable-debug_gdb create code with extra GDB debugging information"
144 --enable-debug_cntxt use wxDebugContext"
146 --enable-mem_tracing create code with memory tracing"
148 --enable-profile create code with profiling information"
150 --enable-no_rtti create code without RTTI information"
152 --enable-no_exceptions create code without C++ exceptions handling"
154 --enable-permissive compile code disregarding strict ANSI"
156 --enable-no_deps create code without dependency information"
158 --enable-compat20 enable wxWindows 2.0 compatibility"
160 --disable-compat22 disable wxWindows 2.2 compatibility"
162 --enable-rpath=DIR output the rpath flag from wx-config"
164 --enable-intl use internationalization system"
166 --enable-config use wxConfig (and derived) classes"
168 --enable-protocols use wxProtocol and derived classes"
170 --enable-ftp use wxFTP (requires wxProtocol"
172 --enable-http use wxHTTP (requires wxProtocol"
174 --enable-fileproto use wxFileProto class (requires wxProtocol"
176 --enable-sockets use socket/network classes"
178 --enable-ipc use interprocess communication (wxSocket etc.)"
180 --enable-cmdline use wxCmdLineParser class"
182 --enable-datetime use wxDateTime class"
184 --enable-timedate use obsolete wxDate/wxTime classes"
186 --enable-stopwatch use wxStopWatch class"
188 --enable-dialupman use dialup network classes"
190 --enable-apple_ieee use the Apple IEEE codec"
192 --enable-timer use wxTimer class"
194 --enable-wave use wxWave class"
196 --enable-fraction use wxFraction class"
198 --enable-dynlib use wxLibrary class for DLL loading"
200 --enable-dynamicloader use (new) wxDynamicLibrary class"
202 --enable-longlong use wxLongLong class"
204 --enable-geometry use geometry class"
206 --enable-log use logging system"
208 --enable-streams use wxStream etc classes"
210 --enable-file use wxFile classes"
212 --enable-ffile use wxFFile classes"
214 --enable-textbuf use wxTextBuffer class"
216 --enable-textfile use wxTextFile class"
218 --enable-fontmap use font encodings conversion classes"
220 --enable-unicode compile wxString with Unicode support"
222 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
224 --enable-wxprintfv use wxWindows implementation of vprintf()"
226 --enable-std_iostreams use standard C++ stream classes"
228 --enable-filesystem use virtual file systems classes"
230 --enable-fs_inet use virtual HTTP/FTP filesystems"
232 --enable-fs_zip use virtual ZIP filesystems"
234 --enable-zipstream use wxZipInputStream"
236 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
238 --enable-snglinst use wxSingleInstanceChecker class"
240 --enable-mimetype use wxMimeTypesManager"
242 --enable-sysoptions use wxSystemOptions"
244 --enable-url use wxURL class"
246 --enable-protocol use wxProtocol class"
248 --enable-protocol-http HTTP support in wxProtocol"
250 --enable-protocol-ftp FTP support in wxProtocol"
252 --enable-protocol-file FILE support in wxProtocol"
254 --enable-threads use threads"
256 --enable-docview use document view architecture"
258 --enable-help use help subsystem"
260 --enable-mshtmlhelp use MS HTML Help (win32)"
262 --enable-html use wxHTML sub-library"
264 --enable-htmlhelp use wxHTML-based help"
266 --enable-constraints use layout-constraints system"
268 --enable-printarch use printing architecture"
270 --enable-mdi use multiple document interface architecture"
272 --enable-loggui use standard GUI logger"
274 --enable-logwin use wxLogWindow"
276 --enable-logdialog use wxLogDialog"
278 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
280 --enable-prologio use Prolog IO library"
282 --enable-resources use wxWindows resources"
284 --enable-xresources use X resources for save (default for gtk+)"
286 --enable-clipboard use wxClipboard classes"
288 --enable-dnd use Drag'n'Drop classes"
290 --enable-metafile use win32 metafiles"
292 --enable-treelayout use wxTreeLayout classes"
294 --enable-controls use all usual controls"
296 --enable-accel use accelerators"
298 --enable-button use wxButton class"
300 --enable-bmpbutton use wxBitmapButton class"
302 --enable-calendar use wxCalendarCtrl class"
304 --enable-caret use wxCaret class"
306 --enable-checkbox use wxCheckBox class"
308 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
310 --enable-choice use wxChoice class"
312 --enable-combobox use wxComboBox classes"
314 --enable-gauge use wxGauge class"
316 --enable-grid use wxGrid class"
318 --enable-newgrid use new wxGrid class"
320 --enable-imaglist use wxImageList class"
322 --enable-listbox use wxListBox class"
324 --enable-listctrl use wxListCtrl class"
326 --enable-notebook use wxNotebook class"
328 --enable-propsheet use wxPropertySheet class"
330 --enable-radiobox use wxRadioBox class"
332 --enable-radiobtn use wxRadioButton class"
334 --enable-sash use wxSashWindow class"
336 --enable-scrollbar use wxScrollBar class and scrollable windows"
338 --enable-slider use wxSlider class"
340 --enable-spinbtn use wxSpinButton class"
342 --enable-spinctrl use wxSpinCtrl class"
344 --enable-splitter use wxSplitterWindow class"
346 --enable-statbmp use wxStaticBitmap class"
348 --enable-statbox use wxStaticBox class"
350 --enable-statline use wxStaticLine class"
352 --enable-stattext use wxStaticText class"
354 --enable-statusbar use wxStatusBar class"
356 --enable-tabdialog use wxTabControl class"
358 --enable-textctrl use wxTextCtrl class"
360 --enable-togglebtn use wxToggleButton class"
362 --enable-toolbar use wxToolBar class"
364 --enable-tbarnative use native wxToolBar class"
366 --enable-tbarsmpl use wxToolBarSimple class"
368 --enable-treectrl use wxTreeCtrl class"
370 --enable-tipwindow use wxTipWindow class"
372 --enable-popupwin use wxPopUpWindow class"
374 --enable-commondlg use all common dialogs"
376 --enable-choicedlg use wxChoiceDialog"
378 --enable-coldlg use wxColourDialog"
380 --enable-filedlg use wxFileDialog"
382 --enable-finddlg use wxFindReplaceDialog"
384 --enable-fontdlg use wxFontDialog"
386 --enable-dirdlg use wxDirDialog"
388 --enable-msgdlg use wxMessageDialog"
390 --enable-numberdlg use wxNumberEntryDialog"
392 --enable-splash use wxSplashScreen"
394 --enable-textdlg use wxTextDialog"
396 --enable-tipdlg use startup tips"
398 --enable-progressdlg use wxProgressDialog"
400 --enable-wizarddlg use wxWizard"
402 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
404 --enable-miniframe use wxMiniFrame class"
406 --enable-tooltips use wxToolTip class"
408 --enable-splines use spline drawing code"
410 --enable-validators use wxValidator and derived classes"
412 --enable-busyinfo use wxBusyInfo"
414 --enable-joystick use wxJoystick (Linux only)"
416 --enable-metafiles use wxMetaFile (Windows only)"
418 --enable-dragimage use wxDragImage"
420 --enable-palette use wxPalette class"
422 --enable-image use wxImage class"
424 --enable-gif use gif images (GIF file format)"
426 --enable-pcx use pcx images (PCX file format)"
428 --enable-iff use iff images (IFF file format)"
430 --enable-pnm use pnm images (PNM file format)"
432 --enable-xpm use xpm images (XPM file format)"
434 --enable-icocur use Windows ICO and CUR formats"
436 --disable-largefile omit support for large files"
438 --disable-gtktest do not try to compile and run a test GTK+ program"
440 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
442 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
444 --disable-gtktest Do not try to compile and run a test GTK program"
446 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
448 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
450 --disable-gtktest Do not try to compile and run a test GTK program"
452 --with-x use the X Window System"
454 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
456 # Initialize some variables set by options.
457 # The variables have the same names as the options, with
458 # dashes changed to underlines.
460 cache_file
=.
/config.cache
469 program_transform_name
=s
,x
,x
,
477 bindir
='${exec_prefix}/bin'
478 sbindir
='${exec_prefix}/sbin'
479 libexecdir
='${exec_prefix}/libexec'
480 datadir
='${prefix}/share'
481 sysconfdir
='${prefix}/etc'
482 sharedstatedir
='${prefix}/com'
483 localstatedir
='${prefix}/var'
484 libdir
='${exec_prefix}/lib'
485 includedir
='${prefix}/include'
486 oldincludedir
='/usr/include'
487 infodir
='${prefix}/info'
488 mandir
='${prefix}/man'
490 # Initialize some other variables.
493 SHELL
=${CONFIG_SHELL-/bin/sh}
494 # Maximum number of lines to put in a shell here document.
501 # If the previous option needs an argument, assign it.
502 if test -n "$ac_prev"; then
503 eval "$ac_prev=\$ac_option"
509 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
513 # Accept the important Cygnus configure options, so we can diagnose typos.
517 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
520 bindir
="$ac_optarg" ;;
522 -build | --build | --buil | --bui | --bu)
524 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
525 build
="$ac_optarg" ;;
527 -cache-file | --cache-file | --cache-fil | --cache-fi \
528 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
529 ac_prev
=cache_file
;;
530 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
531 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
532 cache_file
="$ac_optarg" ;;
534 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
536 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
538 datadir
="$ac_optarg" ;;
540 -disable-* | --disable-*)
541 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
542 # Reject names that are not valid shell variable names.
543 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
544 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
546 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
547 eval "enable_${ac_feature}=no" ;;
549 -enable-* | --enable-*)
550 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
551 # Reject names that are not valid shell variable names.
552 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
553 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
555 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
560 eval "enable_${ac_feature}='$ac_optarg'" ;;
562 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
563 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
564 | --exec | --exe | --ex)
565 ac_prev
=exec_prefix
;;
566 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
567 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
568 | --exec=* | --exe=* | --ex=*)
569 exec_prefix
="$ac_optarg" ;;
571 -gas | --gas | --ga | --g)
572 # Obsolete; use --with-gas.
575 -help | --help | --hel | --he)
576 # Omit some internal or obsolete options to make the list less imposing.
577 # This message is too long to be a string in the A/UX 3.1 sh.
579 Usage: configure [options] [host]
580 Options: [defaults in brackets after descriptions]
582 --cache-file=FILE cache test results in FILE
583 --help print this message
584 --no-create do not create output files
585 --quiet, --silent do not print \`checking...' messages
586 --version print the version of autoconf that created configure
587 Directory and file names:
588 --prefix=PREFIX install architecture-independent files in PREFIX
590 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
592 --bindir=DIR user executables in DIR [EPREFIX/bin]
593 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
594 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
595 --datadir=DIR read-only architecture-independent data in DIR
597 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
598 --sharedstatedir=DIR modifiable architecture-independent data in DIR
600 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
601 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
602 --includedir=DIR C header files in DIR [PREFIX/include]
603 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
604 --infodir=DIR info documentation in DIR [PREFIX/info]
605 --mandir=DIR man documentation in DIR [PREFIX/man]
606 --srcdir=DIR find the sources in DIR [configure dir or ..]
607 --program-prefix=PREFIX prepend PREFIX to installed program names
608 --program-suffix=SUFFIX append SUFFIX to installed program names
609 --program-transform-name=PROGRAM
610 run sed PROGRAM on installed program names
614 --build=BUILD configure for building on BUILD [BUILD=HOST]
615 --host=HOST configure for HOST [guessed]
616 --target=TARGET configure for TARGET [TARGET=HOST]
617 Features and packages:
618 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
619 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
620 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
621 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
622 --x-includes=DIR X include files are in DIR
623 --x-libraries=DIR X library files are in DIR
625 if test -n "$ac_help"; then
626 echo "--enable and --with options recognized:$ac_help"
630 -host | --host | --hos | --ho)
632 -host=* | --host=* | --hos=* | --ho=*)
635 -includedir | --includedir | --includedi | --included | --include \
636 | --includ | --inclu | --incl | --inc)
637 ac_prev
=includedir
;;
638 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
639 | --includ=* | --inclu=* | --incl=* | --inc=*)
640 includedir
="$ac_optarg" ;;
642 -infodir | --infodir | --infodi | --infod | --info | --inf)
644 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
645 infodir
="$ac_optarg" ;;
647 -libdir | --libdir | --libdi | --libd)
649 -libdir=* | --libdir=* | --libdi=* | --libd=*)
650 libdir
="$ac_optarg" ;;
652 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
653 | --libexe | --libex | --libe)
654 ac_prev
=libexecdir
;;
655 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
656 | --libexe=* | --libex=* | --libe=*)
657 libexecdir
="$ac_optarg" ;;
659 -localstatedir | --localstatedir | --localstatedi | --localstated \
660 | --localstate | --localstat | --localsta | --localst \
661 | --locals | --local | --loca | --loc | --lo)
662 ac_prev
=localstatedir
;;
663 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
664 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
665 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
666 localstatedir
="$ac_optarg" ;;
668 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
670 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
671 mandir
="$ac_optarg" ;;
674 # Obsolete; use --without-fp.
677 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
681 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
682 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
685 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
686 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
687 | --oldin | --oldi | --old | --ol | --o)
688 ac_prev
=oldincludedir
;;
689 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
690 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
691 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
692 oldincludedir
="$ac_optarg" ;;
694 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
696 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
697 prefix
="$ac_optarg" ;;
699 -program-prefix | --program-prefix | --program-prefi | --program-pref \
700 | --program-pre | --program-pr | --program-p)
701 ac_prev
=program_prefix
;;
702 -program-prefix=* | --program-prefix=* | --program-prefi=* \
703 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
704 program_prefix
="$ac_optarg" ;;
706 -program-suffix | --program-suffix | --program-suffi | --program-suff \
707 | --program-suf | --program-su | --program-s)
708 ac_prev
=program_suffix
;;
709 -program-suffix=* | --program-suffix=* | --program-suffi=* \
710 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
711 program_suffix
="$ac_optarg" ;;
713 -program-transform-name | --program-transform-name \
714 | --program-transform-nam | --program-transform-na \
715 | --program-transform-n | --program-transform- \
716 | --program-transform | --program-transfor \
717 | --program-transfo | --program-transf \
718 | --program-trans | --program-tran \
719 | --progr-tra | --program-tr | --program-t)
720 ac_prev
=program_transform_name
;;
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 program_transform_name
="$ac_optarg" ;;
730 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
731 | -silent | --silent | --silen | --sile | --sil)
734 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
736 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
738 sbindir
="$ac_optarg" ;;
740 -sharedstatedir | --sharedstatedir | --sharedstatedi \
741 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
742 | --sharedst | --shareds | --shared | --share | --shar \
744 ac_prev
=sharedstatedir
;;
745 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
746 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
747 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
749 sharedstatedir
="$ac_optarg" ;;
751 -site | --site | --sit)
753 -site=* | --site=* | --sit=*)
756 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
758 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
759 srcdir
="$ac_optarg" ;;
761 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
762 | --syscon | --sysco | --sysc | --sys | --sy)
763 ac_prev
=sysconfdir
;;
764 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
765 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
766 sysconfdir
="$ac_optarg" ;;
768 -target | --target | --targe | --targ | --tar | --ta | --t)
770 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
771 target
="$ac_optarg" ;;
773 -v | -verbose | --verbose | --verbos | --verbo | --verb)
776 -version | --version | --versio | --versi | --vers)
777 echo "configure generated by autoconf version 2.13"
781 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
782 # Reject names that are not valid shell variable names.
783 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
784 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
786 ac_package
=`echo $ac_package| sed 's/-/_/g'`
791 eval "with_${ac_package}='$ac_optarg'" ;;
793 -without-* | --without-*)
794 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
795 # Reject names that are not valid shell variable names.
796 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
797 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
799 ac_package
=`echo $ac_package| sed 's/-/_/g'`
800 eval "with_${ac_package}=no" ;;
803 # Obsolete; use --with-x.
806 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
807 | --x-incl | --x-inc | --x-in | --x-i)
808 ac_prev
=x_includes
;;
809 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
810 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
811 x_includes
="$ac_optarg" ;;
813 -x-libraries | --x-libraries | --x-librarie | --x-librari \
814 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
815 ac_prev
=x_libraries
;;
816 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
817 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
818 x_libraries
="$ac_optarg" ;;
820 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
824 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
825 echo "configure: warning: $ac_option: invalid host type" 1>&2
827 if test "x$nonopt" != xNONE
; then
828 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
836 if test -n "$ac_prev"; then
837 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
840 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
842 # File descriptor usage:
845 # 2 errors and warnings
846 # 3 some systems may open it to /dev/tty
847 # 4 used on the Kubota Titan
848 # 6 checking for... messages and results
849 # 5 compiler messages saved in config.log
850 if test "$silent" = yes; then
858 This file contains any messages produced by compilers while
859 running configure, to aid debugging if configure makes a mistake.
862 # Strip out --no-create and --no-recursion so they do not pile up.
863 # Also quote any args containing shell metacharacters.
868 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
869 | --no-cr | --no-c) ;;
870 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
871 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
872 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
873 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
874 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
879 # Only set these to C if already set. These must not be set unconditionally
880 # because not all systems understand e.g. LANG=C (notably SCO).
881 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
882 # Non-C LC_CTYPE values break the ctype check.
883 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
884 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
885 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
886 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
888 # confdefs.h avoids OS command line length limits that DEFS can exceed.
889 rm -rf conftest
* confdefs.h
890 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
893 # A filename unique to this package, relative to the directory that
894 # configure is in, which we can look for to find out if srcdir is correct.
895 ac_unique_file
=wx
-config.
in
897 # Find the source files, if location was not specified.
898 if test -z "$srcdir"; then
899 ac_srcdir_defaulted
=yes
900 # Try the directory containing this script, then its parent.
902 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
903 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
905 if test ! -r $srcdir/$ac_unique_file; then
909 ac_srcdir_defaulted
=no
911 if test ! -r $srcdir/$ac_unique_file; then
912 if test "$ac_srcdir_defaulted" = yes; then
913 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
915 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
918 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
920 # Prefer explicitly selected file to automatically selected ones.
921 if test -z "$CONFIG_SITE"; then
922 if test "x$prefix" != xNONE
; then
923 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
925 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
928 for ac_site_file
in $CONFIG_SITE; do
929 if test -r "$ac_site_file"; then
930 echo "loading site script $ac_site_file"
935 if test -r "$cache_file"; then
936 echo "loading cache $cache_file"
939 echo "creating cache $cache_file"
944 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
945 ac_cpp
='$CPP $CPPFLAGS'
946 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
947 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
948 cross_compiling
=$ac_cv_prog_cc_cross
952 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
953 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
954 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
961 ac_n
= ac_c
='\c' ac_t
=
967 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
968 if test -f $ac_dir/install-sh; then
970 ac_install_sh
="$ac_aux_dir/install-sh -c"
972 elif test -f $ac_dir/install.sh
; then
974 ac_install_sh
="$ac_aux_dir/install.sh -c"
978 if test -z "$ac_aux_dir"; then
979 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
981 ac_config_guess
=$ac_aux_dir/config.guess
982 ac_config_sub
=$ac_aux_dir/config.sub
983 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
986 # Do some error checking and defaulting for the host and target type.
988 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
991 # 1. You are not allowed to specify --host, --target, and nonopt at the
993 # 2. Host defaults to nonopt.
994 # 3. If nonopt is not specified, then host defaults to the current host,
995 # as determined by config.guess.
996 # 4. Target and build default to nonopt.
997 # 5. If nonopt is not specified, then target and build default to host.
999 # The aliases save the names the user supplied, while $host etc.
1000 # will get canonicalized.
1001 case $host---$target---$nonopt in
1002 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1003 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1007 # Make sure we can run config.sub.
1008 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1009 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1012 echo $ac_n "checking host system type""... $ac_c" 1>&6
1013 echo "configure:1014: checking host system type" >&5
1016 case "$host_alias" in
1020 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1021 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1023 *) host_alias
=$nonopt ;;
1027 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1028 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1029 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1030 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1031 echo "$ac_t""$host" 1>&6
1033 echo $ac_n "checking target system type""... $ac_c" 1>&6
1034 echo "configure:1035: checking target system type" >&5
1036 target_alias
=$target
1037 case "$target_alias" in
1040 NONE
) target_alias
=$host_alias ;;
1041 *) target_alias
=$nonopt ;;
1045 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1046 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1047 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1048 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1049 echo "$ac_t""$target" 1>&6
1051 echo $ac_n "checking build system type""... $ac_c" 1>&6
1052 echo "configure:1053: checking build system type" >&5
1055 case "$build_alias" in
1058 NONE
) build_alias
=$host_alias ;;
1059 *) build_alias
=$nonopt ;;
1063 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1064 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1065 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1066 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1067 echo "$ac_t""$build" 1>&6
1069 test "$host_alias" != "$target_alias" &&
1070 test "$program_prefix$program_suffix$program_transform_name" = \
1072 program_prefix
=${target_alias}-
1076 WX_MAJOR_VERSION_NUMBER
=2
1077 WX_MINOR_VERSION_NUMBER
=3
1080 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1081 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1083 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1117 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1119 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1124 DEFAULT_wxUSE_MICROWIN
=0
1125 DEFAULT_wxUSE_MOTIF
=0
1128 DEFAULT_wxUSE_WINE
=0
1131 DEFAULT_DEFAULT_wxUSE_GTK
=0
1132 DEFAULT_DEFAULT_wxUSE_MAC
=0
1133 DEFAULT_DEFAULT_wxUSE_MGL
=0
1134 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1135 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1136 DEFAULT_DEFAULT_wxUSE_MSW
=0
1137 DEFAULT_DEFAULT_wxUSE_PM
=0
1138 DEFAULT_DEFAULT_wxUSE_WINE
=0
1139 DEFAULT_DEFAULT_wxUSE_X11
=0
1147 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1148 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1150 cat >> confdefs.h
<<\EOF
1157 cat >> confdefs.h
<<\EOF
1162 if test "x$TMP" = "xalpha"; then
1164 cat >> confdefs.h
<<\EOF
1169 DEFAULT_DEFAULT_wxUSE_GTK
=1
1171 *-*-irix5* | *-*-irix6* )
1174 cat >> confdefs.h
<<\EOF
1178 cat >> confdefs.h
<<\EOF
1182 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1188 cat >> confdefs.h
<<\EOF
1192 cat >> confdefs.h
<<\EOF
1193 #define __SOLARIS__ 1
1196 cat >> confdefs.h
<<\EOF
1200 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1201 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1207 cat >> confdefs.h
<<\EOF
1211 cat >> confdefs.h
<<\EOF
1215 cat >> confdefs.h
<<\EOF
1219 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1224 cat >> confdefs.h
<<\EOF
1225 #define __FREEBSD__ 1
1228 cat >> confdefs.h
<<\EOF
1232 DEFAULT_DEFAULT_wxUSE_GTK
=1
1237 cat >> confdefs.h
<<\EOF
1238 #define __FREEBSD__ 1
1241 cat >> confdefs.h
<<\EOF
1242 #define __OPENBSD__ 1
1245 DEFAULT_DEFAULT_wxUSE_GTK
=1
1250 cat >> confdefs.h
<<\EOF
1251 #define __FREEBSD__ 1
1254 cat >> confdefs.h
<<\EOF
1255 #define __NETBSD__ 1
1258 DEFAULT_DEFAULT_wxUSE_GTK
=1
1263 cat >> confdefs.h
<<\EOF
1267 cat >> confdefs.h
<<\EOF
1271 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1272 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1277 cat >> confdefs.h
<<\EOF
1281 cat >> confdefs.h
<<\EOF
1285 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1290 cat >> confdefs.h
<<\EOF
1294 cat >> confdefs.h
<<\EOF
1298 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1305 cat >> confdefs.h
<<\EOF
1309 cat >> confdefs.h
<<\EOF
1313 cat >> confdefs.h
<<\EOF
1317 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1320 *-*-cygwin* | *-*-mingw32* )
1324 DEFAULT_DEFAULT_wxUSE_MSW
=1
1330 cat >> confdefs.h
<<\EOF
1335 DEFAULT_DEFAULT_wxUSE_MGL
=1
1336 LIBS
="$LIBS -lstdc++"
1339 *-pc-os2_emx | *-pc-os2-emx )
1340 cat >> confdefs.h
<<\EOF
1345 DEFAULT_DEFAULT_wxUSE_PM
=1
1346 LIBS
="$LIBS -lstdcpp"
1353 cat >> confdefs.h
<<\EOF
1357 cat >> confdefs.h
<<\EOF
1358 #define __DARWIN__ 1
1361 cat >> confdefs.h
<<\EOF
1362 #define __POWERPC__ 1
1365 DEFAULT_DEFAULT_wxUSE_MAC
=1
1370 cat >> confdefs.h
<<\EOF
1377 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1383 wx_arg_cache_file
="configarg.cache"
1384 echo "loading argument cache $wx_arg_cache_file"
1385 rm -f ${wx_arg_cache_file}.tmp
1386 touch ${wx_arg_cache_file}.tmp
1387 touch ${wx_arg_cache_file}
1391 if test $DEBUG_CONFIGURE = 1; then
1392 DEFAULT_wxUSE_UNIVERSAL
=no
1394 DEFAULT_wxUSE_NANOX
=no
1396 DEFAULT_wxUSE_THREADS
=yes
1398 DEFAULT_wxUSE_SHARED
=yes
1399 DEFAULT_wxUSE_SONAME
=no
1400 DEFAULT_wxUSE_OPTIMISE
=no
1401 DEFAULT_wxUSE_PROFILE
=no
1402 DEFAULT_wxUSE_NO_DEPS
=no
1403 DEFAULT_wxUSE_NO_RTTI
=no
1404 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1405 DEFAULT_wxUSE_PERMISSIVE
=no
1406 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1407 DEFAULT_wxUSE_DEBUG_INFO
=yes
1408 DEFAULT_wxUSE_DEBUG_GDB
=yes
1409 DEFAULT_wxUSE_MEM_TRACING
=no
1410 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1411 DEFAULT_wxUSE_DMALLOC
=no
1412 DEFAULT_wxUSE_PRECOMP
=no
1413 DEFAULT_wxUSE_APPLE_IEEE
=no
1415 DEFAULT_wxUSE_LOG
=yes
1416 DEFAULT_wxUSE_LOGWINDOW
=no
1417 DEFAULT_wxUSE_LOGGUI
=no
1418 DEFAULT_wxUSE_LOGDIALOG
=no
1420 DEFAULT_wxUSE_GUI
=yes
1421 DEFAULT_wxUSE_CONTROLS
=no
1423 DEFAULT_wxUSE_REGEX
=no
1424 DEFAULT_wxUSE_ZLIB
=no
1425 DEFAULT_wxUSE_LIBPNG
=no
1426 DEFAULT_wxUSE_LIBJPEG
=no
1427 DEFAULT_wxUSE_LIBTIFF
=no
1428 DEFAULT_wxUSE_ODBC
=no
1429 DEFAULT_wxUSE_OPENGL
=no
1431 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1432 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1433 DEFAULT_wxUSE_STD_IOSTREAM
=no
1434 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1435 DEFAULT_wxUSE_DATETIME
=no
1436 DEFAULT_wxUSE_TIMEDATE
=no
1437 DEFAULT_wxUSE_TIMER
=no
1438 DEFAULT_wxUSE_STOPWATCH
=no
1439 DEFAULT_wxUSE_FILE
=no
1440 DEFAULT_wxUSE_FFILE
=no
1441 DEFAULT_wxUSE_TEXTBUFFER
=no
1442 DEFAULT_wxUSE_TEXTFILE
=no
1443 DEFAULT_wxUSE_WAVE
=no
1444 DEFAULT_wxUSE_INTL
=no
1445 DEFAULT_wxUSE_CONFIG
=no
1446 DEFAULT_wxUSE_FONTMAP
=no
1447 DEFAULT_wxUSE_STREAMS
=no
1448 DEFAULT_wxUSE_SOCKETS
=no
1449 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1450 DEFAULT_wxUSE_JOYSTICK
=no
1451 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1452 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1453 DEFAULT_wxUSE_LONGLONG
=no
1454 DEFAULT_wxUSE_GEOMETRY
=no
1456 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1457 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1458 DEFAULT_wxUSE_POSTSCRIPT
=no
1460 DEFAULT_wxUSE_X_RESOURCES
=no
1461 DEFAULT_wxUSE_CLIPBOARD
=no
1462 DEFAULT_wxUSE_TOOLTIPS
=no
1463 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1464 DEFAULT_wxUSE_DRAGIMAGE
=no
1465 DEFAULT_wxUSE_SPLINES
=no
1467 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1468 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1469 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1471 DEFAULT_wxUSE_PROLOGIO
=no
1472 DEFAULT_wxUSE_RESOURCES
=no
1473 DEFAULT_wxUSE_CONSTRAINTS
=no
1474 DEFAULT_wxUSE_IPC
=no
1475 DEFAULT_wxUSE_HELP
=no
1476 DEFAULT_wxUSE_MS_HTML_HELP
=no
1477 DEFAULT_wxUSE_WXHTML_HELP
=no
1478 DEFAULT_wxUSE_TREELAYOUT
=no
1479 DEFAULT_wxUSE_METAFILE
=no
1480 DEFAULT_wxUSE_MIMETYPE
=no
1481 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1482 DEFAULT_wxUSE_PROTOCOL
=no
1483 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1484 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1485 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1486 DEFAULT_wxUSE_URL
=no
1488 DEFAULT_wxUSE_COMMONDLGS
=no
1489 DEFAULT_wxUSE_CHOICEDLG
=no
1490 DEFAULT_wxUSE_COLOURDLG
=no
1491 DEFAULT_wxUSE_DIRDLG
=no
1492 DEFAULT_wxUSE_FILEDLG
=no
1493 DEFAULT_wxUSE_FINDREPLDLG
=no
1494 DEFAULT_wxUSE_FONTDLG
=no
1495 DEFAULT_wxUSE_MSGDLG
=no
1496 DEFAULT_wxUSE_NUMBERDLG
=no
1497 DEFAULT_wxUSE_TEXTDLG
=no
1498 DEFAULT_wxUSE_SPLASH
=no
1499 DEFAULT_wxUSE_STARTUP_TIPS
=no
1500 DEFAULT_wxUSE_PROGRESSDLG
=no
1501 DEFAULT_wxUSE_WIZARDDLG
=no
1503 DEFAULT_wxUSE_MENUS
=no
1504 DEFAULT_wxUSE_MINIFRAME
=no
1505 DEFAULT_wxUSE_HTML
=no
1506 DEFAULT_wxUSE_FILESYSTEM
=no
1507 DEFAULT_wxUSE_FS_INET
=no
1508 DEFAULT_wxUSE_FS_ZIP
=no
1509 DEFAULT_wxUSE_BUSYINFO
=no
1510 DEFAULT_wxUSE_ZIPSTREAM
=no
1511 DEFAULT_wxUSE_VALIDATORS
=no
1513 DEFAULT_wxUSE_ACCEL
=no
1514 DEFAULT_wxUSE_BUTTON
=no
1515 DEFAULT_wxUSE_BMPBUTTON
=no
1516 DEFAULT_wxUSE_CALCTRL
=no
1517 DEFAULT_wxUSE_CARET
=no
1518 DEFAULT_wxUSE_CHECKBOX
=no
1519 DEFAULT_wxUSE_CHECKLST
=no
1520 DEFAULT_wxUSE_CHOICE
=no
1521 DEFAULT_wxUSE_COMBOBOX
=no
1522 DEFAULT_wxUSE_GAUGE
=no
1523 DEFAULT_wxUSE_GRID
=no
1524 DEFAULT_wxUSE_NEW_GRID
=no
1525 DEFAULT_wxUSE_IMAGLIST
=no
1526 DEFAULT_wxUSE_LISTBOX
=no
1527 DEFAULT_wxUSE_LISTCTRL
=no
1528 DEFAULT_wxUSE_NOTEBOOK
=no
1529 DEFAULT_wxUSE_PROPSHEET
=no
1530 DEFAULT_wxUSE_RADIOBOX
=no
1531 DEFAULT_wxUSE_RADIOBTN
=no
1532 DEFAULT_wxUSE_SASH
=no
1533 DEFAULT_wxUSE_SCROLLBAR
=no
1534 DEFAULT_wxUSE_SLIDER
=no
1535 DEFAULT_wxUSE_SPINBTN
=no
1536 DEFAULT_wxUSE_SPINCTRL
=no
1537 DEFAULT_wxUSE_SPLITTER
=no
1538 DEFAULT_wxUSE_STATBMP
=no
1539 DEFAULT_wxUSE_STATBOX
=no
1540 DEFAULT_wxUSE_STATLINE
=no
1541 DEFAULT_wxUSE_STATTEXT
=no
1542 DEFAULT_wxUSE_STATUSBAR
=yes
1543 DEFAULT_wxUSE_TABDIALOG
=no
1544 DEFAULT_wxUSE_TEXTCTRL
=no
1545 DEFAULT_wxUSE_TOGGLEBTN
=no
1546 DEFAULT_wxUSE_TOOLBAR
=no
1547 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1548 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1549 DEFAULT_wxUSE_TREECTRL
=no
1550 DEFAULT_wxUSE_POPUPWIN
=no
1551 DEFAULT_wxUSE_TIPWINDOW
=no
1553 DEFAULT_wxUSE_UNICODE
=no
1554 DEFAULT_wxUSE_UNICODE_MSLU
=no
1555 DEFAULT_wxUSE_WCSRTOMBS
=no
1557 DEFAULT_wxUSE_PALETTE
=no
1558 DEFAULT_wxUSE_IMAGE
=no
1559 DEFAULT_wxUSE_GIF
=no
1560 DEFAULT_wxUSE_PCX
=no
1561 DEFAULT_wxUSE_PNM
=no
1562 DEFAULT_wxUSE_IFF
=no
1563 DEFAULT_wxUSE_XPM
=no
1564 DEFAULT_wxUSE_ICO_CUR
=no
1566 DEFAULT_wxUSE_UNIVERSAL
=no
1568 DEFAULT_wxUSE_NANOX
=no
1570 DEFAULT_wxUSE_THREADS
=yes
1572 DEFAULT_wxUSE_SHARED
=yes
1573 DEFAULT_wxUSE_SONAME
=no
1574 DEFAULT_wxUSE_OPTIMISE
=yes
1575 DEFAULT_wxUSE_PROFILE
=no
1576 DEFAULT_wxUSE_NO_DEPS
=no
1577 DEFAULT_wxUSE_NO_RTTI
=no
1578 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1579 DEFAULT_wxUSE_PERMISSIVE
=no
1580 DEFAULT_wxUSE_DEBUG_FLAG
=no
1581 DEFAULT_wxUSE_DEBUG_INFO
=no
1582 DEFAULT_wxUSE_DEBUG_GDB
=no
1583 DEFAULT_wxUSE_MEM_TRACING
=no
1584 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1585 DEFAULT_wxUSE_DMALLOC
=no
1586 DEFAULT_wxUSE_PRECOMP
=no
1587 DEFAULT_wxUSE_APPLE_IEEE
=yes
1589 DEFAULT_wxUSE_LOG
=yes
1590 DEFAULT_wxUSE_LOGWINDOW
=yes
1591 DEFAULT_wxUSE_LOGGUI
=yes
1592 DEFAULT_wxUSE_LOGDIALOG
=yes
1594 DEFAULT_wxUSE_GUI
=yes
1596 DEFAULT_wxUSE_REGEX
=yes
1597 DEFAULT_wxUSE_ZLIB
=yes
1598 DEFAULT_wxUSE_LIBPNG
=yes
1599 DEFAULT_wxUSE_LIBJPEG
=yes
1600 DEFAULT_wxUSE_LIBTIFF
=yes
1601 DEFAULT_wxUSE_ODBC
=no
1602 DEFAULT_wxUSE_OPENGL
=no
1604 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1605 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1606 DEFAULT_wxUSE_STD_IOSTREAM
=no
1607 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1608 DEFAULT_wxUSE_DATETIME
=yes
1609 DEFAULT_wxUSE_TIMEDATE
=no
1610 DEFAULT_wxUSE_TIMER
=yes
1611 DEFAULT_wxUSE_STOPWATCH
=yes
1612 DEFAULT_wxUSE_FILE
=yes
1613 DEFAULT_wxUSE_FFILE
=yes
1614 DEFAULT_wxUSE_TEXTBUFFER
=yes
1615 DEFAULT_wxUSE_TEXTFILE
=yes
1616 DEFAULT_wxUSE_WAVE
=no
1617 DEFAULT_wxUSE_INTL
=yes
1618 DEFAULT_wxUSE_CONFIG
=yes
1619 DEFAULT_wxUSE_FONTMAP
=yes
1620 DEFAULT_wxUSE_STREAMS
=yes
1621 DEFAULT_wxUSE_SOCKETS
=yes
1622 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1623 DEFAULT_wxUSE_JOYSTICK
=yes
1624 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1625 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1626 DEFAULT_wxUSE_LONGLONG
=yes
1627 DEFAULT_wxUSE_GEOMETRY
=yes
1629 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1630 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1631 DEFAULT_wxUSE_POSTSCRIPT
=yes
1633 DEFAULT_wxUSE_X_RESOURCES
=no
1634 DEFAULT_wxUSE_CLIPBOARD
=yes
1635 DEFAULT_wxUSE_TOOLTIPS
=yes
1636 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1637 DEFAULT_wxUSE_DRAGIMAGE
=yes
1638 DEFAULT_wxUSE_SPLINES
=yes
1640 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1641 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1642 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1644 DEFAULT_wxUSE_PROLOGIO
=yes
1645 DEFAULT_wxUSE_RESOURCES
=yes
1646 DEFAULT_wxUSE_CONSTRAINTS
=yes
1647 DEFAULT_wxUSE_IPC
=yes
1648 DEFAULT_wxUSE_HELP
=yes
1649 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1650 DEFAULT_wxUSE_WXHTML_HELP
=yes
1651 DEFAULT_wxUSE_TREELAYOUT
=yes
1652 DEFAULT_wxUSE_METAFILE
=yes
1653 DEFAULT_wxUSE_MIMETYPE
=yes
1654 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1655 DEFAULT_wxUSE_PROTOCOL
=yes
1656 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1657 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1658 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1659 DEFAULT_wxUSE_URL
=yes
1661 DEFAULT_wxUSE_COMMONDLGS
=yes
1662 DEFAULT_wxUSE_CHOICEDLG
=yes
1663 DEFAULT_wxUSE_COLOURDLG
=yes
1664 DEFAULT_wxUSE_DIRDLG
=yes
1665 DEFAULT_wxUSE_FILEDLG
=yes
1666 DEFAULT_wxUSE_FINDREPLDLG
=yes
1667 DEFAULT_wxUSE_FONTDLG
=yes
1668 DEFAULT_wxUSE_MSGDLG
=yes
1669 DEFAULT_wxUSE_NUMBERDLG
=yes
1670 DEFAULT_wxUSE_TEXTDLG
=yes
1671 DEFAULT_wxUSE_SPLASH
=yes
1672 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1673 DEFAULT_wxUSE_PROGRESSDLG
=yes
1674 DEFAULT_wxUSE_WIZARDDLG
=yes
1676 DEFAULT_wxUSE_MENUS
=yes
1677 DEFAULT_wxUSE_MINIFRAME
=yes
1678 DEFAULT_wxUSE_HTML
=yes
1679 DEFAULT_wxUSE_FILESYSTEM
=yes
1680 DEFAULT_wxUSE_FS_INET
=yes
1681 DEFAULT_wxUSE_FS_ZIP
=yes
1682 DEFAULT_wxUSE_BUSYINFO
=yes
1683 DEFAULT_wxUSE_ZIPSTREAM
=yes
1684 DEFAULT_wxUSE_VALIDATORS
=yes
1686 DEFAULT_wxUSE_ACCEL
=yes
1687 DEFAULT_wxUSE_BUTTON
=yes
1688 DEFAULT_wxUSE_BMPBUTTON
=yes
1689 DEFAULT_wxUSE_CALCTRL
=yes
1690 DEFAULT_wxUSE_CARET
=yes
1691 DEFAULT_wxUSE_CHECKBOX
=yes
1692 DEFAULT_wxUSE_CHECKLST
=yes
1693 DEFAULT_wxUSE_CHOICE
=yes
1694 DEFAULT_wxUSE_COMBOBOX
=yes
1695 DEFAULT_wxUSE_GAUGE
=yes
1696 DEFAULT_wxUSE_GRID
=yes
1697 DEFAULT_wxUSE_NEW_GRID
=yes
1698 DEFAULT_wxUSE_IMAGLIST
=yes
1699 DEFAULT_wxUSE_LISTBOX
=yes
1700 DEFAULT_wxUSE_LISTCTRL
=yes
1701 DEFAULT_wxUSE_NOTEBOOK
=yes
1702 DEFAULT_wxUSE_PROPSHEET
=yes
1703 DEFAULT_wxUSE_RADIOBOX
=yes
1704 DEFAULT_wxUSE_RADIOBTN
=yes
1705 DEFAULT_wxUSE_SASH
=yes
1706 DEFAULT_wxUSE_SCROLLBAR
=yes
1707 DEFAULT_wxUSE_SLIDER
=yes
1708 DEFAULT_wxUSE_SPINBTN
=yes
1709 DEFAULT_wxUSE_SPINCTRL
=yes
1710 DEFAULT_wxUSE_SPLITTER
=yes
1711 DEFAULT_wxUSE_STATBMP
=yes
1712 DEFAULT_wxUSE_STATBOX
=yes
1713 DEFAULT_wxUSE_STATLINE
=yes
1714 DEFAULT_wxUSE_STATTEXT
=yes
1715 DEFAULT_wxUSE_STATUSBAR
=yes
1716 DEFAULT_wxUSE_TABDIALOG
=no
1717 DEFAULT_wxUSE_TEXTCTRL
=yes
1718 DEFAULT_wxUSE_TOGGLEBTN
=yes
1719 DEFAULT_wxUSE_TOOLBAR
=yes
1720 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1721 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1722 DEFAULT_wxUSE_TREECTRL
=yes
1723 DEFAULT_wxUSE_POPUPWIN
=yes
1724 DEFAULT_wxUSE_TIPWINDOW
=yes
1726 DEFAULT_wxUSE_UNICODE
=no
1727 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1728 DEFAULT_wxUSE_WCSRTOMBS
=no
1730 DEFAULT_wxUSE_PALETTE
=yes
1731 DEFAULT_wxUSE_IMAGE
=yes
1732 DEFAULT_wxUSE_GIF
=yes
1733 DEFAULT_wxUSE_PCX
=yes
1734 DEFAULT_wxUSE_IFF
=no
1735 DEFAULT_wxUSE_PNM
=yes
1736 DEFAULT_wxUSE_XPM
=yes
1737 DEFAULT_wxUSE_ICO_CUR
=yes
1742 for toolkit
in `echo $ALL_TOOLKITS`; do
1743 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1744 if test "x$LINE" != x
; then
1745 has_toolkit_in_cache
=1
1746 eval "DEFAULT_$LINE"
1747 eval "CACHE_$toolkit=1"
1753 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1754 echo "configure:1755: checking for --enable-gui" >&5
1756 # Check whether --enable-gui or --disable-gui was given.
1757 if test "${enable_gui+set}" = set; then
1758 enableval
="$enable_gui"
1760 if test "$enableval" = yes; then
1761 ac_cv_use_gui
='wxUSE_GUI=yes'
1763 ac_cv_use_gui
='wxUSE_GUI=no'
1768 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1769 if test "x$LINE" != x
; then
1770 eval "DEFAULT_$LINE"
1775 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1780 eval "$ac_cv_use_gui"
1781 if test "$no_cache" != 1; then
1782 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1785 if test "$wxUSE_GUI" = yes; then
1786 echo "$ac_t""yes" 1>&6
1788 echo "$ac_t""no" 1>&6
1792 if test "$wxUSE_GUI" = "yes"; then
1795 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1796 echo "configure:1797: checking for --enable-universal" >&5
1798 # Check whether --enable-universal or --disable-universal was given.
1799 if test "${enable_universal+set}" = set; then
1800 enableval
="$enable_universal"
1802 if test "$enableval" = yes; then
1803 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1805 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1810 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1811 if test "x$LINE" != x
; then
1812 eval "DEFAULT_$LINE"
1817 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1822 eval "$ac_cv_use_universal"
1823 if test "$no_cache" != 1; then
1824 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1827 if test "$wxUSE_UNIVERSAL" = yes; then
1828 echo "$ac_t""yes" 1>&6
1830 echo "$ac_t""no" 1>&6
1833 # Check whether --with-gtk or --without-gtk was given.
1834 if test "${with_gtk+set}" = set; then
1836 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1839 # Check whether --with-motif or --without-motif was given.
1840 if test "${with_motif+set}" = set; then
1841 withval
="$with_motif"
1842 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1845 # Check whether --with-mac or --without-mac was given.
1846 if test "${with_mac+set}" = set; then
1848 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1851 # Check whether --with-wine or --without-wine was given.
1852 if test "${with_wine+set}" = set; then
1853 withval
="$with_wine"
1854 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1857 # Check whether --with-msw or --without-msw was given.
1858 if test "${with_msw+set}" = set; then
1860 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1863 # Check whether --with-pm or --without-pm was given.
1864 if test "${with_pm+set}" = set; then
1866 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1869 # Check whether --with-mgl or --without-mgl was given.
1870 if test "${with_mgl+set}" = set; then
1872 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1875 # Check whether --with-microwin or --without-microwin was given.
1876 if test "${with_microwin+set}" = set; then
1877 withval
="$with_microwin"
1878 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1881 # Check whether --with-x11 or --without-x11 was given.
1882 if test "${with_x11+set}" = set; then
1884 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1888 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1889 echo "configure:1890: checking for --enable-nanox" >&5
1891 # Check whether --enable-nanox or --disable-nanox was given.
1892 if test "${enable_nanox+set}" = set; then
1893 enableval
="$enable_nanox"
1895 if test "$enableval" = yes; then
1896 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1898 ac_cv_use_nanox
='wxUSE_NANOX=no'
1903 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1904 if test "x$LINE" != x
; then
1905 eval "DEFAULT_$LINE"
1910 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1915 eval "$ac_cv_use_nanox"
1916 if test "$no_cache" != 1; then
1917 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1920 if test "$wxUSE_NANOX" = yes; then
1921 echo "$ac_t""yes" 1>&6
1923 echo "$ac_t""no" 1>&6
1927 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1928 if test "${enable_gtk2+set}" = set; then
1929 enableval
="$enable_gtk2"
1937 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1938 echo "configure:1939: checking for --with-libpng" >&5
1940 # Check whether --with-libpng or --without-libpng was given.
1941 if test "${with_libpng+set}" = set; then
1942 withval
="$with_libpng"
1944 if test "$withval" = yes; then
1945 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1946 elif test "$withval" = no
; then
1947 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1948 elif test "$withval" = sys
; then
1949 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1950 elif test "$withval" = builtin; then
1951 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1953 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1958 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1959 if test "x$LINE" != x
; then
1960 eval "DEFAULT_$LINE"
1965 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1970 eval "$ac_cv_use_libpng"
1971 if test "$no_cache" != 1; then
1972 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1975 if test "$wxUSE_LIBPNG" = yes; then
1976 echo "$ac_t""yes" 1>&6
1977 elif test "$wxUSE_LIBPNG" = no
; then
1978 echo "$ac_t""no" 1>&6
1979 elif test "$wxUSE_LIBPNG" = sys
; then
1980 echo "$ac_t""system version" 1>&6
1981 elif test "$wxUSE_LIBPNG" = builtin; then
1982 echo "$ac_t""builtin version" 1>&6
1984 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1988 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1989 echo "configure:1990: checking for --with-libjpeg" >&5
1991 # Check whether --with-libjpeg or --without-libjpeg was given.
1992 if test "${with_libjpeg+set}" = set; then
1993 withval
="$with_libjpeg"
1995 if test "$withval" = yes; then
1996 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1997 elif test "$withval" = no
; then
1998 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1999 elif test "$withval" = sys
; then
2000 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2001 elif test "$withval" = builtin; then
2002 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2004 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2009 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2010 if test "x$LINE" != x
; then
2011 eval "DEFAULT_$LINE"
2016 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2021 eval "$ac_cv_use_libjpeg"
2022 if test "$no_cache" != 1; then
2023 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2026 if test "$wxUSE_LIBJPEG" = yes; then
2027 echo "$ac_t""yes" 1>&6
2028 elif test "$wxUSE_LIBJPEG" = no
; then
2029 echo "$ac_t""no" 1>&6
2030 elif test "$wxUSE_LIBJPEG" = sys
; then
2031 echo "$ac_t""system version" 1>&6
2032 elif test "$wxUSE_LIBJPEG" = builtin; then
2033 echo "$ac_t""builtin version" 1>&6
2035 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2039 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2040 echo "configure:2041: checking for --with-libtiff" >&5
2042 # Check whether --with-libtiff or --without-libtiff was given.
2043 if test "${with_libtiff+set}" = set; then
2044 withval
="$with_libtiff"
2046 if test "$withval" = yes; then
2047 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2048 elif test "$withval" = no
; then
2049 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2050 elif test "$withval" = sys
; then
2051 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2052 elif test "$withval" = builtin; then
2053 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2055 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2060 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2061 if test "x$LINE" != x
; then
2062 eval "DEFAULT_$LINE"
2067 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2072 eval "$ac_cv_use_libtiff"
2073 if test "$no_cache" != 1; then
2074 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2077 if test "$wxUSE_LIBTIFF" = yes; then
2078 echo "$ac_t""yes" 1>&6
2079 elif test "$wxUSE_LIBTIFF" = no
; then
2080 echo "$ac_t""no" 1>&6
2081 elif test "$wxUSE_LIBTIFF" = sys
; then
2082 echo "$ac_t""system version" 1>&6
2083 elif test "$wxUSE_LIBTIFF" = builtin; then
2084 echo "$ac_t""builtin version" 1>&6
2086 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2090 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2091 echo "configure:2092: checking for --with-opengl" >&5
2093 # Check whether --with-opengl or --without-opengl was given.
2094 if test "${with_opengl+set}" = set; then
2095 withval
="$with_opengl"
2097 if test "$withval" = yes; then
2098 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2100 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2105 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2106 if test "x$LINE" != x
; then
2107 eval "DEFAULT_$LINE"
2112 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2117 eval "$ac_cv_use_opengl"
2118 if test "$no_cache" != 1; then
2119 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2122 if test "$wxUSE_OPENGL" = yes; then
2123 echo "$ac_t""yes" 1>&6
2125 echo "$ac_t""no" 1>&6
2132 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2133 echo "configure:2134: checking for --with-dmalloc" >&5
2135 # Check whether --with-dmalloc or --without-dmalloc was given.
2136 if test "${with_dmalloc+set}" = set; then
2137 withval
="$with_dmalloc"
2139 if test "$withval" = yes; then
2140 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2142 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2147 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2148 if test "x$LINE" != x
; then
2149 eval "DEFAULT_$LINE"
2154 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2159 eval "$ac_cv_use_dmalloc"
2160 if test "$no_cache" != 1; then
2161 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2164 if test "$wxUSE_DMALLOC" = yes; then
2165 echo "$ac_t""yes" 1>&6
2167 echo "$ac_t""no" 1>&6
2171 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2172 echo "configure:2173: checking for --with-regex" >&5
2174 # Check whether --with-regex or --without-regex was given.
2175 if test "${with_regex+set}" = set; then
2176 withval
="$with_regex"
2178 if test "$withval" = yes; then
2179 ac_cv_use_regex
='wxUSE_REGEX=yes'
2180 elif test "$withval" = no
; then
2181 ac_cv_use_regex
='wxUSE_REGEX=no'
2182 elif test "$withval" = sys
; then
2183 ac_cv_use_regex
='wxUSE_REGEX=sys'
2184 elif test "$withval" = builtin; then
2185 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2187 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2192 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2193 if test "x$LINE" != x
; then
2194 eval "DEFAULT_$LINE"
2199 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2204 eval "$ac_cv_use_regex"
2205 if test "$no_cache" != 1; then
2206 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2209 if test "$wxUSE_REGEX" = yes; then
2210 echo "$ac_t""yes" 1>&6
2211 elif test "$wxUSE_REGEX" = no
; then
2212 echo "$ac_t""no" 1>&6
2213 elif test "$wxUSE_REGEX" = sys
; then
2214 echo "$ac_t""system version" 1>&6
2215 elif test "$wxUSE_REGEX" = builtin; then
2216 echo "$ac_t""builtin version" 1>&6
2218 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2222 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2223 echo "configure:2224: checking for --with-zlib" >&5
2225 # Check whether --with-zlib or --without-zlib was given.
2226 if test "${with_zlib+set}" = set; then
2227 withval
="$with_zlib"
2229 if test "$withval" = yes; then
2230 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2231 elif test "$withval" = no
; then
2232 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2233 elif test "$withval" = sys
; then
2234 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2235 elif test "$withval" = builtin; then
2236 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2238 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2243 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2244 if test "x$LINE" != x
; then
2245 eval "DEFAULT_$LINE"
2250 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2255 eval "$ac_cv_use_zlib"
2256 if test "$no_cache" != 1; then
2257 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2260 if test "$wxUSE_ZLIB" = yes; then
2261 echo "$ac_t""yes" 1>&6
2262 elif test "$wxUSE_ZLIB" = no
; then
2263 echo "$ac_t""no" 1>&6
2264 elif test "$wxUSE_ZLIB" = sys
; then
2265 echo "$ac_t""system version" 1>&6
2266 elif test "$wxUSE_ZLIB" = builtin; then
2267 echo "$ac_t""builtin version" 1>&6
2269 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2273 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2274 echo "configure:2275: checking for --with-odbc" >&5
2276 # Check whether --with-odbc or --without-odbc was given.
2277 if test "${with_odbc+set}" = set; then
2278 withval
="$with_odbc"
2280 if test "$withval" = yes; then
2281 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2283 ac_cv_use_odbc
='wxUSE_ODBC=no'
2288 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2289 if test "x$LINE" != x
; then
2290 eval "DEFAULT_$LINE"
2295 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2300 eval "$ac_cv_use_odbc"
2301 if test "$no_cache" != 1; then
2302 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2305 if test "$wxUSE_ODBC" = yes; then
2306 echo "$ac_t""yes" 1>&6
2308 echo "$ac_t""no" 1>&6
2314 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2315 echo "configure:2316: checking for --enable-shared" >&5
2317 # Check whether --enable-shared or --disable-shared was given.
2318 if test "${enable_shared+set}" = set; then
2319 enableval
="$enable_shared"
2321 if test "$enableval" = yes; then
2322 ac_cv_use_shared
='wxUSE_SHARED=yes'
2324 ac_cv_use_shared
='wxUSE_SHARED=no'
2329 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2330 if test "x$LINE" != x
; then
2331 eval "DEFAULT_$LINE"
2336 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2341 eval "$ac_cv_use_shared"
2342 if test "$no_cache" != 1; then
2343 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2346 if test "$wxUSE_SHARED" = yes; then
2347 echo "$ac_t""yes" 1>&6
2349 echo "$ac_t""no" 1>&6
2353 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2354 echo "configure:2355: checking for --enable-soname" >&5
2356 # Check whether --enable-soname or --disable-soname was given.
2357 if test "${enable_soname+set}" = set; then
2358 enableval
="$enable_soname"
2360 if test "$enableval" = yes; then
2361 ac_cv_use_soname
='wxUSE_SONAME=yes'
2363 ac_cv_use_soname
='wxUSE_SONAME=no'
2368 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2369 if test "x$LINE" != x
; then
2370 eval "DEFAULT_$LINE"
2375 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2380 eval "$ac_cv_use_soname"
2381 if test "$no_cache" != 1; then
2382 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2385 if test "$wxUSE_SONAME" = yes; then
2386 echo "$ac_t""yes" 1>&6
2388 echo "$ac_t""no" 1>&6
2392 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2393 echo "configure:2394: checking for --enable-optimise" >&5
2395 # Check whether --enable-optimise or --disable-optimise was given.
2396 if test "${enable_optimise+set}" = set; then
2397 enableval
="$enable_optimise"
2399 if test "$enableval" = yes; then
2400 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2402 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2407 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2408 if test "x$LINE" != x
; then
2409 eval "DEFAULT_$LINE"
2414 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2419 eval "$ac_cv_use_optimise"
2420 if test "$no_cache" != 1; then
2421 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2424 if test "$wxUSE_OPTIMISE" = yes; then
2425 echo "$ac_t""yes" 1>&6
2427 echo "$ac_t""no" 1>&6
2431 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2432 echo "configure:2433: checking for --enable-debug" >&5
2434 # Check whether --enable-debug or --disable-debug was given.
2435 if test "${enable_debug+set}" = set; then
2436 enableval
="$enable_debug"
2438 if test "$enableval" = yes; then
2439 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2441 ac_cv_use_debug
='wxUSE_DEBUG=no'
2446 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2447 if test "x$LINE" != x
; then
2448 eval "DEFAULT_$LINE"
2453 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2458 eval "$ac_cv_use_debug"
2459 if test "$no_cache" != 1; then
2460 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2463 if test "$wxUSE_DEBUG" = yes; then
2464 echo "$ac_t""yes" 1>&6
2466 echo "$ac_t""no" 1>&6
2471 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2472 echo "configure:2473: checking for --enable-precomp" >&5
2474 # Check whether --enable-precomp or --disable-precomp was given.
2475 if test "${enable_precomp+set}" = set; then
2476 enableval
="$enable_precomp"
2478 if test "$enableval" = yes; then
2479 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2481 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2486 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2487 if test "x$LINE" != x
; then
2488 eval "DEFAULT_$LINE"
2493 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2498 eval "$ac_cv_use_precomp"
2499 if test "$no_cache" != 1; then
2500 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2503 if test "$wxUSE_PRECOMP" = yes; then
2504 echo "$ac_t""yes" 1>&6
2506 echo "$ac_t""no" 1>&6
2510 if test "$wxUSE_DEBUG" = "yes"; then
2511 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2512 DEFAULT_wxUSE_DEBUG_INFO
=yes
2513 elif test "$wxUSE_DEBUG" = "no"; then
2514 DEFAULT_wxUSE_DEBUG_FLAG
=no
2515 DEFAULT_wxUSE_DEBUG_INFO
=no
2519 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2520 echo "configure:2521: checking for --enable-debug_flag" >&5
2522 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2523 if test "${enable_debug_flag+set}" = set; then
2524 enableval
="$enable_debug_flag"
2526 if test "$enableval" = yes; then
2527 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2529 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2534 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2535 if test "x$LINE" != x
; then
2536 eval "DEFAULT_$LINE"
2541 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2546 eval "$ac_cv_use_debug_flag"
2547 if test "$no_cache" != 1; then
2548 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2551 if test "$wxUSE_DEBUG_FLAG" = yes; then
2552 echo "$ac_t""yes" 1>&6
2554 echo "$ac_t""no" 1>&6
2558 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2559 echo "configure:2560: checking for --enable-debug_info" >&5
2561 # Check whether --enable-debug_info or --disable-debug_info was given.
2562 if test "${enable_debug_info+set}" = set; then
2563 enableval
="$enable_debug_info"
2565 if test "$enableval" = yes; then
2566 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2568 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2573 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2574 if test "x$LINE" != x
; then
2575 eval "DEFAULT_$LINE"
2580 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2585 eval "$ac_cv_use_debug_info"
2586 if test "$no_cache" != 1; then
2587 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2590 if test "$wxUSE_DEBUG_INFO" = yes; then
2591 echo "$ac_t""yes" 1>&6
2593 echo "$ac_t""no" 1>&6
2597 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2598 echo "configure:2599: checking for --enable-debug_gdb" >&5
2600 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2601 if test "${enable_debug_gdb+set}" = set; then
2602 enableval
="$enable_debug_gdb"
2604 if test "$enableval" = yes; then
2605 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2607 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2612 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2613 if test "x$LINE" != x
; then
2614 eval "DEFAULT_$LINE"
2619 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2624 eval "$ac_cv_use_debug_gdb"
2625 if test "$no_cache" != 1; then
2626 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2629 if test "$wxUSE_DEBUG_GDB" = yes; then
2630 echo "$ac_t""yes" 1>&6
2632 echo "$ac_t""no" 1>&6
2636 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2637 echo "configure:2638: checking for --enable-debug_cntxt" >&5
2639 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2640 if test "${enable_debug_cntxt+set}" = set; then
2641 enableval
="$enable_debug_cntxt"
2643 if test "$enableval" = yes; then
2644 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2646 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2651 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2652 if test "x$LINE" != x
; then
2653 eval "DEFAULT_$LINE"
2658 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2663 eval "$ac_cv_use_debug_cntxt"
2664 if test "$no_cache" != 1; then
2665 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2668 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2669 echo "$ac_t""yes" 1>&6
2671 echo "$ac_t""no" 1>&6
2675 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2676 echo "configure:2677: checking for --enable-mem_tracing" >&5
2678 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2679 if test "${enable_mem_tracing+set}" = set; then
2680 enableval
="$enable_mem_tracing"
2682 if test "$enableval" = yes; then
2683 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2685 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2690 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2691 if test "x$LINE" != x
; then
2692 eval "DEFAULT_$LINE"
2697 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2702 eval "$ac_cv_use_mem_tracing"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2707 if test "$wxUSE_MEM_TRACING" = yes; then
2708 echo "$ac_t""yes" 1>&6
2710 echo "$ac_t""no" 1>&6
2714 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2715 echo "configure:2716: checking for --enable-profile" >&5
2717 # Check whether --enable-profile or --disable-profile was given.
2718 if test "${enable_profile+set}" = set; then
2719 enableval
="$enable_profile"
2721 if test "$enableval" = yes; then
2722 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2724 ac_cv_use_profile
='wxUSE_PROFILE=no'
2729 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2730 if test "x$LINE" != x
; then
2731 eval "DEFAULT_$LINE"
2736 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2741 eval "$ac_cv_use_profile"
2742 if test "$no_cache" != 1; then
2743 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2746 if test "$wxUSE_PROFILE" = yes; then
2747 echo "$ac_t""yes" 1>&6
2749 echo "$ac_t""no" 1>&6
2753 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2754 echo "configure:2755: checking for --enable-no_rtti" >&5
2756 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2757 if test "${enable_no_rtti+set}" = set; then
2758 enableval
="$enable_no_rtti"
2760 if test "$enableval" = yes; then
2761 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2763 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2768 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2769 if test "x$LINE" != x
; then
2770 eval "DEFAULT_$LINE"
2775 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2780 eval "$ac_cv_use_no_rtti"
2781 if test "$no_cache" != 1; then
2782 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2785 if test "$wxUSE_NO_RTTI" = yes; then
2786 echo "$ac_t""yes" 1>&6
2788 echo "$ac_t""no" 1>&6
2792 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2793 echo "configure:2794: checking for --enable-no_exceptions" >&5
2795 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2796 if test "${enable_no_exceptions+set}" = set; then
2797 enableval
="$enable_no_exceptions"
2799 if test "$enableval" = yes; then
2800 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2802 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2807 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x
; then
2809 eval "DEFAULT_$LINE"
2814 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2819 eval "$ac_cv_use_no_exceptions"
2820 if test "$no_cache" != 1; then
2821 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2824 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2825 echo "$ac_t""yes" 1>&6
2827 echo "$ac_t""no" 1>&6
2831 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2832 echo "configure:2833: checking for --enable-permissive" >&5
2834 # Check whether --enable-permissive or --disable-permissive was given.
2835 if test "${enable_permissive+set}" = set; then
2836 enableval
="$enable_permissive"
2838 if test "$enableval" = yes; then
2839 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2841 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2846 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2847 if test "x$LINE" != x
; then
2848 eval "DEFAULT_$LINE"
2853 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2858 eval "$ac_cv_use_permissive"
2859 if test "$no_cache" != 1; then
2860 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2863 if test "$wxUSE_PERMISSIVE" = yes; then
2864 echo "$ac_t""yes" 1>&6
2866 echo "$ac_t""no" 1>&6
2870 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2871 echo "configure:2872: checking for --enable-no_deps" >&5
2873 # Check whether --enable-no_deps or --disable-no_deps was given.
2874 if test "${enable_no_deps+set}" = set; then
2875 enableval
="$enable_no_deps"
2877 if test "$enableval" = yes; then
2878 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2880 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2885 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2886 if test "x$LINE" != x
; then
2887 eval "DEFAULT_$LINE"
2892 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2897 eval "$ac_cv_use_no_deps"
2898 if test "$no_cache" != 1; then
2899 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2902 if test "$wxUSE_NO_DEPS" = yes; then
2903 echo "$ac_t""yes" 1>&6
2905 echo "$ac_t""no" 1>&6
2910 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2911 echo "configure:2912: checking for --enable-compat20" >&5
2913 # Check whether --enable-compat20 or --disable-compat20 was given.
2914 if test "${enable_compat20+set}" = set; then
2915 enableval
="$enable_compat20"
2917 if test "$enableval" = yes; then
2918 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2920 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2925 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2926 if test "x$LINE" != x
; then
2927 eval "DEFAULT_$LINE"
2932 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2937 eval "$ac_cv_use_compat20"
2938 if test "$no_cache" != 1; then
2939 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2942 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2943 echo "$ac_t""yes" 1>&6
2945 echo "$ac_t""no" 1>&6
2949 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2950 echo "configure:2951: checking for --enable-compat22" >&5
2952 # Check whether --enable-compat22 or --disable-compat22 was given.
2953 if test "${enable_compat22+set}" = set; then
2954 enableval
="$enable_compat22"
2956 if test "$enableval" = yes; then
2957 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2959 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2964 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2965 if test "x$LINE" != x
; then
2966 eval "DEFAULT_$LINE"
2971 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2976 eval "$ac_cv_use_compat22"
2977 if test "$no_cache" != 1; then
2978 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2981 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2982 echo "$ac_t""yes" 1>&6
2984 echo "$ac_t""no" 1>&6
2988 # Check whether --enable-rpath or --disable-rpath was given.
2989 if test "${enable_rpath+set}" = set; then
2990 enableval
="$enable_rpath"
2991 wxRPATH_DIR
="$enableval"
2995 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
2996 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3002 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3003 echo "configure:3004: checking for --enable-intl" >&5
3005 # Check whether --enable-intl or --disable-intl was given.
3006 if test "${enable_intl+set}" = set; then
3007 enableval
="$enable_intl"
3009 if test "$enableval" = yes; then
3010 ac_cv_use_intl
='wxUSE_INTL=yes'
3012 ac_cv_use_intl
='wxUSE_INTL=no'
3017 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3018 if test "x$LINE" != x
; then
3019 eval "DEFAULT_$LINE"
3024 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3029 eval "$ac_cv_use_intl"
3030 if test "$no_cache" != 1; then
3031 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3034 if test "$wxUSE_INTL" = yes; then
3035 echo "$ac_t""yes" 1>&6
3037 echo "$ac_t""no" 1>&6
3041 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3042 echo "configure:3043: checking for --enable-config" >&5
3044 # Check whether --enable-config or --disable-config was given.
3045 if test "${enable_config+set}" = set; then
3046 enableval
="$enable_config"
3048 if test "$enableval" = yes; then
3049 ac_cv_use_config
='wxUSE_CONFIG=yes'
3051 ac_cv_use_config
='wxUSE_CONFIG=no'
3056 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3057 if test "x$LINE" != x
; then
3058 eval "DEFAULT_$LINE"
3063 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3068 eval "$ac_cv_use_config"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3073 if test "$wxUSE_CONFIG" = yes; then
3074 echo "$ac_t""yes" 1>&6
3076 echo "$ac_t""no" 1>&6
3081 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3082 echo "configure:3083: checking for --enable-protocols" >&5
3084 # Check whether --enable-protocols or --disable-protocols was given.
3085 if test "${enable_protocols+set}" = set; then
3086 enableval
="$enable_protocols"
3088 if test "$enableval" = yes; then
3089 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3091 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3096 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x
; then
3098 eval "DEFAULT_$LINE"
3103 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3108 eval "$ac_cv_use_protocols"
3109 if test "$no_cache" != 1; then
3110 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3113 if test "$wxUSE_PROTOCOL" = yes; then
3114 echo "$ac_t""yes" 1>&6
3116 echo "$ac_t""no" 1>&6
3120 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3121 echo "configure:3122: checking for --enable-ftp" >&5
3123 # Check whether --enable-ftp or --disable-ftp was given.
3124 if test "${enable_ftp+set}" = set; then
3125 enableval
="$enable_ftp"
3127 if test "$enableval" = yes; then
3128 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3130 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3135 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3136 if test "x$LINE" != x
; then
3137 eval "DEFAULT_$LINE"
3142 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3147 eval "$ac_cv_use_ftp"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3152 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3153 echo "$ac_t""yes" 1>&6
3155 echo "$ac_t""no" 1>&6
3159 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3160 echo "configure:3161: checking for --enable-http" >&5
3162 # Check whether --enable-http or --disable-http was given.
3163 if test "${enable_http+set}" = set; then
3164 enableval
="$enable_http"
3166 if test "$enableval" = yes; then
3167 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3169 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3174 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3175 if test "x$LINE" != x
; then
3176 eval "DEFAULT_$LINE"
3181 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3186 eval "$ac_cv_use_http"
3187 if test "$no_cache" != 1; then
3188 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3191 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3192 echo "$ac_t""yes" 1>&6
3194 echo "$ac_t""no" 1>&6
3198 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3199 echo "configure:3200: checking for --enable-fileproto" >&5
3201 # Check whether --enable-fileproto or --disable-fileproto was given.
3202 if test "${enable_fileproto+set}" = set; then
3203 enableval
="$enable_fileproto"
3205 if test "$enableval" = yes; then
3206 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3208 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3213 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x
; then
3215 eval "DEFAULT_$LINE"
3220 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3225 eval "$ac_cv_use_fileproto"
3226 if test "$no_cache" != 1; then
3227 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3230 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3231 echo "$ac_t""yes" 1>&6
3233 echo "$ac_t""no" 1>&6
3237 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3238 echo "configure:3239: checking for --enable-sockets" >&5
3240 # Check whether --enable-sockets or --disable-sockets was given.
3241 if test "${enable_sockets+set}" = set; then
3242 enableval
="$enable_sockets"
3244 if test "$enableval" = yes; then
3245 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3247 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3252 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3253 if test "x$LINE" != x
; then
3254 eval "DEFAULT_$LINE"
3259 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3264 eval "$ac_cv_use_sockets"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3269 if test "$wxUSE_SOCKETS" = yes; then
3270 echo "$ac_t""yes" 1>&6
3272 echo "$ac_t""no" 1>&6
3277 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3278 echo "configure:3279: checking for --enable-ipc" >&5
3280 # Check whether --enable-ipc or --disable-ipc was given.
3281 if test "${enable_ipc+set}" = set; then
3282 enableval
="$enable_ipc"
3284 if test "$enableval" = yes; then
3285 ac_cv_use_ipc
='wxUSE_IPC=yes'
3287 ac_cv_use_ipc
='wxUSE_IPC=no'
3292 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3293 if test "x$LINE" != x
; then
3294 eval "DEFAULT_$LINE"
3299 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3304 eval "$ac_cv_use_ipc"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3309 if test "$wxUSE_IPC" = yes; then
3310 echo "$ac_t""yes" 1>&6
3312 echo "$ac_t""no" 1>&6
3317 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3318 echo "configure:3319: checking for --enable-cmdline" >&5
3320 # Check whether --enable-cmdline or --disable-cmdline was given.
3321 if test "${enable_cmdline+set}" = set; then
3322 enableval
="$enable_cmdline"
3324 if test "$enableval" = yes; then
3325 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3327 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3332 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3333 if test "x$LINE" != x
; then
3334 eval "DEFAULT_$LINE"
3339 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3344 eval "$ac_cv_use_cmdline"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3349 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3350 echo "$ac_t""yes" 1>&6
3352 echo "$ac_t""no" 1>&6
3356 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3357 echo "configure:3358: checking for --enable-datetime" >&5
3359 # Check whether --enable-datetime or --disable-datetime was given.
3360 if test "${enable_datetime+set}" = set; then
3361 enableval
="$enable_datetime"
3363 if test "$enableval" = yes; then
3364 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3366 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3371 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x
; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3383 eval "$ac_cv_use_datetime"
3384 if test "$no_cache" != 1; then
3385 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3388 if test "$wxUSE_DATETIME" = yes; then
3389 echo "$ac_t""yes" 1>&6
3391 echo "$ac_t""no" 1>&6
3395 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3396 echo "configure:3397: checking for --enable-timedate" >&5
3398 # Check whether --enable-timedate or --disable-timedate was given.
3399 if test "${enable_timedate+set}" = set; then
3400 enableval
="$enable_timedate"
3402 if test "$enableval" = yes; then
3403 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3405 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3410 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3411 if test "x$LINE" != x
; then
3412 eval "DEFAULT_$LINE"
3417 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3422 eval "$ac_cv_use_timedate"
3423 if test "$no_cache" != 1; then
3424 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3427 if test "$wxUSE_TIMEDATE" = yes; then
3428 echo "$ac_t""yes" 1>&6
3430 echo "$ac_t""no" 1>&6
3434 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3435 echo "configure:3436: checking for --enable-stopwatch" >&5
3437 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3438 if test "${enable_stopwatch+set}" = set; then
3439 enableval
="$enable_stopwatch"
3441 if test "$enableval" = yes; then
3442 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3444 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3449 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x
; then
3451 eval "DEFAULT_$LINE"
3456 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3461 eval "$ac_cv_use_stopwatch"
3462 if test "$no_cache" != 1; then
3463 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3466 if test "$wxUSE_STOPWATCH" = yes; then
3467 echo "$ac_t""yes" 1>&6
3469 echo "$ac_t""no" 1>&6
3473 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3474 echo "configure:3475: checking for --enable-dialupman" >&5
3476 # Check whether --enable-dialupman or --disable-dialupman was given.
3477 if test "${enable_dialupman+set}" = set; then
3478 enableval
="$enable_dialupman"
3480 if test "$enableval" = yes; then
3481 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3483 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3488 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3489 if test "x$LINE" != x
; then
3490 eval "DEFAULT_$LINE"
3495 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3500 eval "$ac_cv_use_dialupman"
3501 if test "$no_cache" != 1; then
3502 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3505 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3506 echo "$ac_t""yes" 1>&6
3508 echo "$ac_t""no" 1>&6
3512 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3513 echo "configure:3514: checking for --enable-apple_ieee" >&5
3515 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3516 if test "${enable_apple_ieee+set}" = set; then
3517 enableval
="$enable_apple_ieee"
3519 if test "$enableval" = yes; then
3520 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3522 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3527 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3528 if test "x$LINE" != x
; then
3529 eval "DEFAULT_$LINE"
3534 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3539 eval "$ac_cv_use_apple_ieee"
3540 if test "$no_cache" != 1; then
3541 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3544 if test "$wxUSE_APPLE_IEEE" = yes; then
3545 echo "$ac_t""yes" 1>&6
3547 echo "$ac_t""no" 1>&6
3551 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3552 echo "configure:3553: checking for --enable-timer" >&5
3554 # Check whether --enable-timer or --disable-timer was given.
3555 if test "${enable_timer+set}" = set; then
3556 enableval
="$enable_timer"
3558 if test "$enableval" = yes; then
3559 ac_cv_use_timer
='wxUSE_TIMER=yes'
3561 ac_cv_use_timer
='wxUSE_TIMER=no'
3566 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3567 if test "x$LINE" != x
; then
3568 eval "DEFAULT_$LINE"
3573 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3578 eval "$ac_cv_use_timer"
3579 if test "$no_cache" != 1; then
3580 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3583 if test "$wxUSE_TIMER" = yes; then
3584 echo "$ac_t""yes" 1>&6
3586 echo "$ac_t""no" 1>&6
3590 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3591 echo "configure:3592: checking for --enable-wave" >&5
3593 # Check whether --enable-wave or --disable-wave was given.
3594 if test "${enable_wave+set}" = set; then
3595 enableval
="$enable_wave"
3597 if test "$enableval" = yes; then
3598 ac_cv_use_wave
='wxUSE_WAVE=yes'
3600 ac_cv_use_wave
='wxUSE_WAVE=no'
3605 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3606 if test "x$LINE" != x
; then
3607 eval "DEFAULT_$LINE"
3612 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3617 eval "$ac_cv_use_wave"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3622 if test "$wxUSE_WAVE" = yes; then
3623 echo "$ac_t""yes" 1>&6
3625 echo "$ac_t""no" 1>&6
3629 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3630 echo "configure:3631: checking for --enable-fraction" >&5
3632 # Check whether --enable-fraction or --disable-fraction was given.
3633 if test "${enable_fraction+set}" = set; then
3634 enableval
="$enable_fraction"
3636 if test "$enableval" = yes; then
3637 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3639 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3644 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x
; then
3646 eval "DEFAULT_$LINE"
3651 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3656 eval "$ac_cv_use_fraction"
3657 if test "$no_cache" != 1; then
3658 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3661 if test "$wxUSE_FRACTION" = yes; then
3662 echo "$ac_t""yes" 1>&6
3664 echo "$ac_t""no" 1>&6
3668 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3669 echo "configure:3670: checking for --enable-dynlib" >&5
3671 # Check whether --enable-dynlib or --disable-dynlib was given.
3672 if test "${enable_dynlib+set}" = set; then
3673 enableval
="$enable_dynlib"
3675 if test "$enableval" = yes; then
3676 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3678 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3683 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x
; then
3685 eval "DEFAULT_$LINE"
3690 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3695 eval "$ac_cv_use_dynlib"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3700 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3701 echo "$ac_t""yes" 1>&6
3703 echo "$ac_t""no" 1>&6
3707 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3708 echo "configure:3709: checking for --enable-dynamicloader" >&5
3710 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3711 if test "${enable_dynamicloader+set}" = set; then
3712 enableval
="$enable_dynamicloader"
3714 if test "$enableval" = yes; then
3715 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3717 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3722 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x
; then
3724 eval "DEFAULT_$LINE"
3729 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3734 eval "$ac_cv_use_dynamicloader"
3735 if test "$no_cache" != 1; then
3736 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3739 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3740 echo "$ac_t""yes" 1>&6
3742 echo "$ac_t""no" 1>&6
3746 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3747 echo "configure:3748: checking for --enable-longlong" >&5
3749 # Check whether --enable-longlong or --disable-longlong was given.
3750 if test "${enable_longlong+set}" = set; then
3751 enableval
="$enable_longlong"
3753 if test "$enableval" = yes; then
3754 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3756 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3761 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x
; then
3763 eval "DEFAULT_$LINE"
3768 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3773 eval "$ac_cv_use_longlong"
3774 if test "$no_cache" != 1; then
3775 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3778 if test "$wxUSE_LONGLONG" = yes; then
3779 echo "$ac_t""yes" 1>&6
3781 echo "$ac_t""no" 1>&6
3785 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3786 echo "configure:3787: checking for --enable-geometry" >&5
3788 # Check whether --enable-geometry or --disable-geometry was given.
3789 if test "${enable_geometry+set}" = set; then
3790 enableval
="$enable_geometry"
3792 if test "$enableval" = yes; then
3793 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3795 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3800 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x
; then
3802 eval "DEFAULT_$LINE"
3807 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3812 eval "$ac_cv_use_geometry"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3817 if test "$wxUSE_GEOMETRY" = yes; then
3818 echo "$ac_t""yes" 1>&6
3820 echo "$ac_t""no" 1>&6
3824 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3825 echo "configure:3826: checking for --enable-log" >&5
3827 # Check whether --enable-log or --disable-log was given.
3828 if test "${enable_log+set}" = set; then
3829 enableval
="$enable_log"
3831 if test "$enableval" = yes; then
3832 ac_cv_use_log
='wxUSE_LOG=yes'
3834 ac_cv_use_log
='wxUSE_LOG=no'
3839 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3840 if test "x$LINE" != x
; then
3841 eval "DEFAULT_$LINE"
3846 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3851 eval "$ac_cv_use_log"
3852 if test "$no_cache" != 1; then
3853 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3856 if test "$wxUSE_LOG" = yes; then
3857 echo "$ac_t""yes" 1>&6
3859 echo "$ac_t""no" 1>&6
3863 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3864 echo "configure:3865: checking for --enable-streams" >&5
3866 # Check whether --enable-streams or --disable-streams was given.
3867 if test "${enable_streams+set}" = set; then
3868 enableval
="$enable_streams"
3870 if test "$enableval" = yes; then
3871 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3873 ac_cv_use_streams
='wxUSE_STREAMS=no'
3878 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3879 if test "x$LINE" != x
; then
3880 eval "DEFAULT_$LINE"
3885 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3890 eval "$ac_cv_use_streams"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3895 if test "$wxUSE_STREAMS" = yes; then
3896 echo "$ac_t""yes" 1>&6
3898 echo "$ac_t""no" 1>&6
3902 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3903 echo "configure:3904: checking for --enable-file" >&5
3905 # Check whether --enable-file or --disable-file was given.
3906 if test "${enable_file+set}" = set; then
3907 enableval
="$enable_file"
3909 if test "$enableval" = yes; then
3910 ac_cv_use_file
='wxUSE_FILE=yes'
3912 ac_cv_use_file
='wxUSE_FILE=no'
3917 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3918 if test "x$LINE" != x
; then
3919 eval "DEFAULT_$LINE"
3924 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3929 eval "$ac_cv_use_file"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3934 if test "$wxUSE_FILE" = yes; then
3935 echo "$ac_t""yes" 1>&6
3937 echo "$ac_t""no" 1>&6
3941 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3942 echo "configure:3943: checking for --enable-ffile" >&5
3944 # Check whether --enable-ffile or --disable-ffile was given.
3945 if test "${enable_ffile+set}" = set; then
3946 enableval
="$enable_ffile"
3948 if test "$enableval" = yes; then
3949 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3951 ac_cv_use_ffile
='wxUSE_FFILE=no'
3956 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3957 if test "x$LINE" != x
; then
3958 eval "DEFAULT_$LINE"
3963 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3968 eval "$ac_cv_use_ffile"
3969 if test "$no_cache" != 1; then
3970 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3973 if test "$wxUSE_FFILE" = yes; then
3974 echo "$ac_t""yes" 1>&6
3976 echo "$ac_t""no" 1>&6
3980 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3981 echo "configure:3982: checking for --enable-textbuf" >&5
3983 # Check whether --enable-textbuf or --disable-textbuf was given.
3984 if test "${enable_textbuf+set}" = set; then
3985 enableval
="$enable_textbuf"
3987 if test "$enableval" = yes; then
3988 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3990 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3995 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x
; then
3997 eval "DEFAULT_$LINE"
4002 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4007 eval "$ac_cv_use_textbuf"
4008 if test "$no_cache" != 1; then
4009 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4012 if test "$wxUSE_TEXTBUFFER" = yes; then
4013 echo "$ac_t""yes" 1>&6
4015 echo "$ac_t""no" 1>&6
4019 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4020 echo "configure:4021: checking for --enable-textfile" >&5
4022 # Check whether --enable-textfile or --disable-textfile was given.
4023 if test "${enable_textfile+set}" = set; then
4024 enableval
="$enable_textfile"
4026 if test "$enableval" = yes; then
4027 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4029 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4034 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4035 if test "x$LINE" != x
; then
4036 eval "DEFAULT_$LINE"
4041 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4046 eval "$ac_cv_use_textfile"
4047 if test "$no_cache" != 1; then
4048 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4051 if test "$wxUSE_TEXTFILE" = yes; then
4052 echo "$ac_t""yes" 1>&6
4054 echo "$ac_t""no" 1>&6
4058 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4059 echo "configure:4060: checking for --enable-fontmap" >&5
4061 # Check whether --enable-fontmap or --disable-fontmap was given.
4062 if test "${enable_fontmap+set}" = set; then
4063 enableval
="$enable_fontmap"
4065 if test "$enableval" = yes; then
4066 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4068 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4073 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4074 if test "x$LINE" != x
; then
4075 eval "DEFAULT_$LINE"
4080 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4085 eval "$ac_cv_use_fontmap"
4086 if test "$no_cache" != 1; then
4087 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4090 if test "$wxUSE_FONTMAP" = yes; then
4091 echo "$ac_t""yes" 1>&6
4093 echo "$ac_t""no" 1>&6
4097 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4098 echo "configure:4099: checking for --enable-unicode" >&5
4100 # Check whether --enable-unicode or --disable-unicode was given.
4101 if test "${enable_unicode+set}" = set; then
4102 enableval
="$enable_unicode"
4104 if test "$enableval" = yes; then
4105 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4107 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4112 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x
; then
4114 eval "DEFAULT_$LINE"
4119 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4124 eval "$ac_cv_use_unicode"
4125 if test "$no_cache" != 1; then
4126 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4129 if test "$wxUSE_UNICODE" = yes; then
4130 echo "$ac_t""yes" 1>&6
4132 echo "$ac_t""no" 1>&6
4136 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4137 echo "configure:4138: checking for --enable-mslu" >&5
4139 # Check whether --enable-mslu or --disable-mslu was given.
4140 if test "${enable_mslu+set}" = set; then
4141 enableval
="$enable_mslu"
4143 if test "$enableval" = yes; then
4144 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4146 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4151 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x
; then
4153 eval "DEFAULT_$LINE"
4158 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4163 eval "$ac_cv_use_mslu"
4164 if test "$no_cache" != 1; then
4165 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4168 if test "$wxUSE_UNICODE_MSLU" = yes; then
4169 echo "$ac_t""yes" 1>&6
4171 echo "$ac_t""no" 1>&6
4175 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4176 echo "configure:4177: checking for --enable-wxprintfv" >&5
4178 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4179 if test "${enable_wxprintfv+set}" = set; then
4180 enableval
="$enable_wxprintfv"
4182 if test "$enableval" = yes; then
4183 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4185 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4190 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4191 if test "x$LINE" != x
; then
4192 eval "DEFAULT_$LINE"
4197 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4202 eval "$ac_cv_use_wxprintfv"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4207 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4208 echo "$ac_t""yes" 1>&6
4210 echo "$ac_t""no" 1>&6
4214 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4215 echo "configure:4216: checking for --enable-std_iostreams" >&5
4217 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4218 if test "${enable_std_iostreams+set}" = set; then
4219 enableval
="$enable_std_iostreams"
4221 if test "$enableval" = yes; then
4222 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4224 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4229 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4230 if test "x$LINE" != x
; then
4231 eval "DEFAULT_$LINE"
4236 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4241 eval "$ac_cv_use_std_iostreams"
4242 if test "$no_cache" != 1; then
4243 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4246 if test "$wxUSE_STD_IOSTREAM" = yes; then
4247 echo "$ac_t""yes" 1>&6
4249 echo "$ac_t""no" 1>&6
4253 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4254 echo "configure:4255: checking for --enable-filesystem" >&5
4256 # Check whether --enable-filesystem or --disable-filesystem was given.
4257 if test "${enable_filesystem+set}" = set; then
4258 enableval
="$enable_filesystem"
4260 if test "$enableval" = yes; then
4261 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4263 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4268 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4269 if test "x$LINE" != x
; then
4270 eval "DEFAULT_$LINE"
4275 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4280 eval "$ac_cv_use_filesystem"
4281 if test "$no_cache" != 1; then
4282 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4285 if test "$wxUSE_FILESYSTEM" = yes; then
4286 echo "$ac_t""yes" 1>&6
4288 echo "$ac_t""no" 1>&6
4292 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4293 echo "configure:4294: checking for --enable-fs_inet" >&5
4295 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4296 if test "${enable_fs_inet+set}" = set; then
4297 enableval
="$enable_fs_inet"
4299 if test "$enableval" = yes; then
4300 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4302 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4307 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4308 if test "x$LINE" != x
; then
4309 eval "DEFAULT_$LINE"
4314 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4319 eval "$ac_cv_use_fs_inet"
4320 if test "$no_cache" != 1; then
4321 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4324 if test "$wxUSE_FS_INET" = yes; then
4325 echo "$ac_t""yes" 1>&6
4327 echo "$ac_t""no" 1>&6
4331 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4332 echo "configure:4333: checking for --enable-fs_zip" >&5
4334 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4335 if test "${enable_fs_zip+set}" = set; then
4336 enableval
="$enable_fs_zip"
4338 if test "$enableval" = yes; then
4339 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4341 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4346 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4347 if test "x$LINE" != x
; then
4348 eval "DEFAULT_$LINE"
4353 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4358 eval "$ac_cv_use_fs_zip"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4363 if test "$wxUSE_FS_ZIP" = yes; then
4364 echo "$ac_t""yes" 1>&6
4366 echo "$ac_t""no" 1>&6
4370 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4371 echo "configure:4372: checking for --enable-zipstream" >&5
4373 # Check whether --enable-zipstream or --disable-zipstream was given.
4374 if test "${enable_zipstream+set}" = set; then
4375 enableval
="$enable_zipstream"
4377 if test "$enableval" = yes; then
4378 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4380 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4385 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4386 if test "x$LINE" != x
; then
4387 eval "DEFAULT_$LINE"
4392 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4397 eval "$ac_cv_use_zipstream"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4402 if test "$wxUSE_ZIPSTREAM" = yes; then
4403 echo "$ac_t""yes" 1>&6
4405 echo "$ac_t""no" 1>&6
4410 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4411 echo "configure:4412: checking for --enable-catch_segvs" >&5
4413 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4414 if test "${enable_catch_segvs+set}" = set; then
4415 enableval
="$enable_catch_segvs"
4417 if test "$enableval" = yes; then
4418 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4420 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4425 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x
; then
4427 eval "DEFAULT_$LINE"
4432 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4437 eval "$ac_cv_use_catch_segvs"
4438 if test "$no_cache" != 1; then
4439 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4442 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4443 echo "$ac_t""yes" 1>&6
4445 echo "$ac_t""no" 1>&6
4449 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4450 echo "configure:4451: checking for --enable-snglinst" >&5
4452 # Check whether --enable-snglinst or --disable-snglinst was given.
4453 if test "${enable_snglinst+set}" = set; then
4454 enableval
="$enable_snglinst"
4456 if test "$enableval" = yes; then
4457 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4459 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4464 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4465 if test "x$LINE" != x
; then
4466 eval "DEFAULT_$LINE"
4471 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4476 eval "$ac_cv_use_snglinst"
4477 if test "$no_cache" != 1; then
4478 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4481 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4482 echo "$ac_t""yes" 1>&6
4484 echo "$ac_t""no" 1>&6
4489 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4490 echo "configure:4491: checking for --enable-mimetype" >&5
4492 # Check whether --enable-mimetype or --disable-mimetype was given.
4493 if test "${enable_mimetype+set}" = set; then
4494 enableval
="$enable_mimetype"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4499 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4504 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4516 eval "$ac_cv_use_mimetype"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_MIMETYPE" = yes; then
4522 echo "$ac_t""yes" 1>&6
4524 echo "$ac_t""no" 1>&6
4528 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4529 echo "configure:4530: checking for --enable-system_options" >&5
4531 # Check whether --enable-system_options or --disable-system_options was given.
4532 if test "${enable_system_options+set}" = set; then
4533 enableval
="$enable_system_options"
4535 if test "$enableval" = yes; then
4536 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4538 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4543 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x
; then
4545 eval "DEFAULT_$LINE"
4550 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4555 eval "$ac_cv_use_system_options"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4560 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4561 echo "$ac_t""yes" 1>&6
4563 echo "$ac_t""no" 1>&6
4568 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4569 echo "configure:4570: checking for --enable-url" >&5
4571 # Check whether --enable-url or --disable-url was given.
4572 if test "${enable_url+set}" = set; then
4573 enableval
="$enable_url"
4575 if test "$enableval" = yes; then
4576 ac_cv_use_url
='wxUSE_URL=yes'
4578 ac_cv_use_url
='wxUSE_URL=no'
4583 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x
; then
4585 eval "DEFAULT_$LINE"
4590 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4595 eval "$ac_cv_use_url"
4596 if test "$no_cache" != 1; then
4597 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4600 if test "$wxUSE_URL" = yes; then
4601 echo "$ac_t""yes" 1>&6
4603 echo "$ac_t""no" 1>&6
4607 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4608 echo "configure:4609: checking for --enable-protocol" >&5
4610 # Check whether --enable-protocol or --disable-protocol was given.
4611 if test "${enable_protocol+set}" = set; then
4612 enableval
="$enable_protocol"
4614 if test "$enableval" = yes; then
4615 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4617 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4622 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4623 if test "x$LINE" != x
; then
4624 eval "DEFAULT_$LINE"
4629 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4634 eval "$ac_cv_use_protocol"
4635 if test "$no_cache" != 1; then
4636 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4639 if test "$wxUSE_PROTOCOL" = yes; then
4640 echo "$ac_t""yes" 1>&6
4642 echo "$ac_t""no" 1>&6
4646 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4647 echo "configure:4648: checking for --enable-protocol_http" >&5
4649 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4650 if test "${enable_protocol_http+set}" = set; then
4651 enableval
="$enable_protocol_http"
4653 if test "$enableval" = yes; then
4654 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4656 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4661 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4662 if test "x$LINE" != x
; then
4663 eval "DEFAULT_$LINE"
4668 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4673 eval "$ac_cv_use_protocol_http"
4674 if test "$no_cache" != 1; then
4675 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4678 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4679 echo "$ac_t""yes" 1>&6
4681 echo "$ac_t""no" 1>&6
4685 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4686 echo "configure:4687: checking for --enable-protocol_ftp" >&5
4688 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4689 if test "${enable_protocol_ftp+set}" = set; then
4690 enableval
="$enable_protocol_ftp"
4692 if test "$enableval" = yes; then
4693 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4695 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4700 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x
; then
4702 eval "DEFAULT_$LINE"
4707 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4712 eval "$ac_cv_use_protocol_ftp"
4713 if test "$no_cache" != 1; then
4714 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4717 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4718 echo "$ac_t""yes" 1>&6
4720 echo "$ac_t""no" 1>&6
4724 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4725 echo "configure:4726: checking for --enable-protocol_file" >&5
4727 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4728 if test "${enable_protocol_file+set}" = set; then
4729 enableval
="$enable_protocol_file"
4731 if test "$enableval" = yes; then
4732 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4734 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4739 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4740 if test "x$LINE" != x
; then
4741 eval "DEFAULT_$LINE"
4746 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4751 eval "$ac_cv_use_protocol_file"
4752 if test "$no_cache" != 1; then
4753 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4756 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4757 echo "$ac_t""yes" 1>&6
4759 echo "$ac_t""no" 1>&6
4766 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4767 echo "configure:4768: checking for --enable-threads" >&5
4769 # Check whether --enable-threads or --disable-threads was given.
4770 if test "${enable_threads+set}" = set; then
4771 enableval
="$enable_threads"
4773 if test "$enableval" = yes; then
4774 ac_cv_use_threads
='wxUSE_THREADS=yes'
4776 ac_cv_use_threads
='wxUSE_THREADS=no'
4781 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4782 if test "x$LINE" != x
; then
4783 eval "DEFAULT_$LINE"
4788 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4793 eval "$ac_cv_use_threads"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4798 if test "$wxUSE_THREADS" = yes; then
4799 echo "$ac_t""yes" 1>&6
4801 echo "$ac_t""no" 1>&6
4805 if test "$wxUSE_GUI" = "yes"; then
4809 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4810 echo "configure:4811: checking for --enable-docview" >&5
4812 # Check whether --enable-docview or --disable-docview was given.
4813 if test "${enable_docview+set}" = set; then
4814 enableval
="$enable_docview"
4816 if test "$enableval" = yes; then
4817 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4819 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4824 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4825 if test "x$LINE" != x
; then
4826 eval "DEFAULT_$LINE"
4831 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4836 eval "$ac_cv_use_docview"
4837 if test "$no_cache" != 1; then
4838 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4841 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4842 echo "$ac_t""yes" 1>&6
4844 echo "$ac_t""no" 1>&6
4848 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4849 echo "configure:4850: checking for --enable-help" >&5
4851 # Check whether --enable-help or --disable-help was given.
4852 if test "${enable_help+set}" = set; then
4853 enableval
="$enable_help"
4855 if test "$enableval" = yes; then
4856 ac_cv_use_help
='wxUSE_HELP=yes'
4858 ac_cv_use_help
='wxUSE_HELP=no'
4863 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4864 if test "x$LINE" != x
; then
4865 eval "DEFAULT_$LINE"
4870 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4875 eval "$ac_cv_use_help"
4876 if test "$no_cache" != 1; then
4877 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4880 if test "$wxUSE_HELP" = yes; then
4881 echo "$ac_t""yes" 1>&6
4883 echo "$ac_t""no" 1>&6
4887 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4888 echo "configure:4889: checking for --enable-mshtmlhelp" >&5
4890 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4891 if test "${enable_mshtmlhelp+set}" = set; then
4892 enableval
="$enable_mshtmlhelp"
4894 if test "$enableval" = yes; then
4895 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4897 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4902 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4903 if test "x$LINE" != x
; then
4904 eval "DEFAULT_$LINE"
4909 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4914 eval "$ac_cv_use_mshtmlhelp"
4915 if test "$no_cache" != 1; then
4916 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4919 if test "$wxUSE_MS_HTML_HELP" = yes; then
4920 echo "$ac_t""yes" 1>&6
4922 echo "$ac_t""no" 1>&6
4926 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4927 echo "configure:4928: checking for --enable-html" >&5
4929 # Check whether --enable-html or --disable-html was given.
4930 if test "${enable_html+set}" = set; then
4931 enableval
="$enable_html"
4933 if test "$enableval" = yes; then
4934 ac_cv_use_html
='wxUSE_HTML=yes'
4936 ac_cv_use_html
='wxUSE_HTML=no'
4941 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4942 if test "x$LINE" != x
; then
4943 eval "DEFAULT_$LINE"
4948 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4953 eval "$ac_cv_use_html"
4954 if test "$no_cache" != 1; then
4955 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4958 if test "$wxUSE_HTML" = yes; then
4959 echo "$ac_t""yes" 1>&6
4961 echo "$ac_t""no" 1>&6
4965 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4966 echo "configure:4967: checking for --enable-htmlhelp" >&5
4968 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4969 if test "${enable_htmlhelp+set}" = set; then
4970 enableval
="$enable_htmlhelp"
4972 if test "$enableval" = yes; then
4973 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4975 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4980 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x
; then
4982 eval "DEFAULT_$LINE"
4987 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4992 eval "$ac_cv_use_htmlhelp"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4997 if test "$wxUSE_WXHTML_HELP" = yes; then
4998 echo "$ac_t""yes" 1>&6
5000 echo "$ac_t""no" 1>&6
5004 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5005 echo "configure:5006: checking for --enable-constraints" >&5
5007 # Check whether --enable-constraints or --disable-constraints was given.
5008 if test "${enable_constraints+set}" = set; then
5009 enableval
="$enable_constraints"
5011 if test "$enableval" = yes; then
5012 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5014 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5019 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5020 if test "x$LINE" != x
; then
5021 eval "DEFAULT_$LINE"
5026 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5031 eval "$ac_cv_use_constraints"
5032 if test "$no_cache" != 1; then
5033 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5036 if test "$wxUSE_CONSTRAINTS" = yes; then
5037 echo "$ac_t""yes" 1>&6
5039 echo "$ac_t""no" 1>&6
5043 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5044 echo "configure:5045: checking for --enable-printarch" >&5
5046 # Check whether --enable-printarch or --disable-printarch was given.
5047 if test "${enable_printarch+set}" = set; then
5048 enableval
="$enable_printarch"
5050 if test "$enableval" = yes; then
5051 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5053 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5058 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5059 if test "x$LINE" != x
; then
5060 eval "DEFAULT_$LINE"
5065 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5070 eval "$ac_cv_use_printarch"
5071 if test "$no_cache" != 1; then
5072 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5075 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5076 echo "$ac_t""yes" 1>&6
5078 echo "$ac_t""no" 1>&6
5082 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5083 echo "configure:5084: checking for --enable-mdi" >&5
5085 # Check whether --enable-mdi or --disable-mdi was given.
5086 if test "${enable_mdi+set}" = set; then
5087 enableval
="$enable_mdi"
5089 if test "$enableval" = yes; then
5090 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5092 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5097 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5098 if test "x$LINE" != x
; then
5099 eval "DEFAULT_$LINE"
5104 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5109 eval "$ac_cv_use_mdi"
5110 if test "$no_cache" != 1; then
5111 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5114 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5115 echo "$ac_t""yes" 1>&6
5117 echo "$ac_t""no" 1>&6
5121 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5122 echo "configure:5123: checking for --enable-loggui" >&5
5124 # Check whether --enable-loggui or --disable-loggui was given.
5125 if test "${enable_loggui+set}" = set; then
5126 enableval
="$enable_loggui"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5131 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5136 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x
; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5148 eval "$ac_cv_use_loggui"
5149 if test "$no_cache" != 1; then
5150 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5153 if test "$wxUSE_LOGGUI" = yes; then
5154 echo "$ac_t""yes" 1>&6
5156 echo "$ac_t""no" 1>&6
5160 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5161 echo "configure:5162: checking for --enable-logwin" >&5
5163 # Check whether --enable-logwin or --disable-logwin was given.
5164 if test "${enable_logwin+set}" = set; then
5165 enableval
="$enable_logwin"
5167 if test "$enableval" = yes; then
5168 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5170 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5175 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5176 if test "x$LINE" != x
; then
5177 eval "DEFAULT_$LINE"
5182 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5187 eval "$ac_cv_use_logwin"
5188 if test "$no_cache" != 1; then
5189 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5192 if test "$wxUSE_LOGWINDOW" = yes; then
5193 echo "$ac_t""yes" 1>&6
5195 echo "$ac_t""no" 1>&6
5199 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5200 echo "configure:5201: checking for --enable-logdialog" >&5
5202 # Check whether --enable-logdialog or --disable-logdialog was given.
5203 if test "${enable_logdialog+set}" = set; then
5204 enableval
="$enable_logdialog"
5206 if test "$enableval" = yes; then
5207 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5209 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5214 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5215 if test "x$LINE" != x
; then
5216 eval "DEFAULT_$LINE"
5221 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5226 eval "$ac_cv_use_logdialog"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5231 if test "$wxUSE_LOGDIALOG" = yes; then
5232 echo "$ac_t""yes" 1>&6
5234 echo "$ac_t""no" 1>&6
5239 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5240 echo "configure:5241: checking for --enable-postscript" >&5
5242 # Check whether --enable-postscript or --disable-postscript was given.
5243 if test "${enable_postscript+set}" = set; then
5244 enableval
="$enable_postscript"
5246 if test "$enableval" = yes; then
5247 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5249 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5254 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5255 if test "x$LINE" != x
; then
5256 eval "DEFAULT_$LINE"
5261 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5266 eval "$ac_cv_use_postscript"
5267 if test "$no_cache" != 1; then
5268 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5271 if test "$wxUSE_POSTSCRIPT" = yes; then
5272 echo "$ac_t""yes" 1>&6
5274 echo "$ac_t""no" 1>&6
5281 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5282 echo "configure:5283: checking for --enable-prologio" >&5
5284 # Check whether --enable-prologio or --disable-prologio was given.
5285 if test "${enable_prologio+set}" = set; then
5286 enableval
="$enable_prologio"
5288 if test "$enableval" = yes; then
5289 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5291 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5296 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5297 if test "x$LINE" != x
; then
5298 eval "DEFAULT_$LINE"
5303 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5308 eval "$ac_cv_use_prologio"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5313 if test "$wxUSE_PROLOGIO" = yes; then
5314 echo "$ac_t""yes" 1>&6
5316 echo "$ac_t""no" 1>&6
5320 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5321 echo "configure:5322: checking for --enable-resources" >&5
5323 # Check whether --enable-resources or --disable-resources was given.
5324 if test "${enable_resources+set}" = set; then
5325 enableval
="$enable_resources"
5327 if test "$enableval" = yes; then
5328 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5330 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5335 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5336 if test "x$LINE" != x
; then
5337 eval "DEFAULT_$LINE"
5342 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5347 eval "$ac_cv_use_resources"
5348 if test "$no_cache" != 1; then
5349 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5352 if test "$wxUSE_RESOURCES" = yes; then
5353 echo "$ac_t""yes" 1>&6
5355 echo "$ac_t""no" 1>&6
5360 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5361 echo "configure:5362: checking for --enable-xresources" >&5
5363 # Check whether --enable-xresources or --disable-xresources was given.
5364 if test "${enable_xresources+set}" = set; then
5365 enableval
="$enable_xresources"
5367 if test "$enableval" = yes; then
5368 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5370 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5375 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5376 if test "x$LINE" != x
; then
5377 eval "DEFAULT_$LINE"
5382 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5387 eval "$ac_cv_use_xresources"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5392 if test "$wxUSE_X_RESOURCES" = yes; then
5393 echo "$ac_t""yes" 1>&6
5395 echo "$ac_t""no" 1>&6
5401 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5402 echo "configure:5403: checking for --enable-clipboard" >&5
5404 # Check whether --enable-clipboard or --disable-clipboard was given.
5405 if test "${enable_clipboard+set}" = set; then
5406 enableval
="$enable_clipboard"
5408 if test "$enableval" = yes; then
5409 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5411 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5416 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5417 if test "x$LINE" != x
; then
5418 eval "DEFAULT_$LINE"
5423 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5428 eval "$ac_cv_use_clipboard"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5433 if test "$wxUSE_CLIPBOARD" = yes; then
5434 echo "$ac_t""yes" 1>&6
5436 echo "$ac_t""no" 1>&6
5440 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5441 echo "configure:5442: checking for --enable-dnd" >&5
5443 # Check whether --enable-dnd or --disable-dnd was given.
5444 if test "${enable_dnd+set}" = set; then
5445 enableval
="$enable_dnd"
5447 if test "$enableval" = yes; then
5448 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5450 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5455 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x
; then
5457 eval "DEFAULT_$LINE"
5462 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5467 eval "$ac_cv_use_dnd"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5472 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5473 echo "$ac_t""yes" 1>&6
5475 echo "$ac_t""no" 1>&6
5479 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5480 echo "configure:5481: checking for --enable-metafile" >&5
5482 # Check whether --enable-metafile or --disable-metafile was given.
5483 if test "${enable_metafile+set}" = set; then
5484 enableval
="$enable_metafile"
5486 if test "$enableval" = yes; then
5487 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5489 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5494 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5495 if test "x$LINE" != x
; then
5496 eval "DEFAULT_$LINE"
5501 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5506 eval "$ac_cv_use_metafile"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5511 if test "$wxUSE_METAFILE" = yes; then
5512 echo "$ac_t""yes" 1>&6
5514 echo "$ac_t""no" 1>&6
5519 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5520 echo "configure:5521: checking for --enable-treelayout" >&5
5522 # Check whether --enable-treelayout or --disable-treelayout was given.
5523 if test "${enable_treelayout+set}" = set; then
5524 enableval
="$enable_treelayout"
5526 if test "$enableval" = yes; then
5527 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5529 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5534 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x
; then
5536 eval "DEFAULT_$LINE"
5541 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5546 eval "$ac_cv_use_treelayout"
5547 if test "$no_cache" != 1; then
5548 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5551 if test "$wxUSE_TREELAYOUT" = yes; then
5552 echo "$ac_t""yes" 1>&6
5554 echo "$ac_t""no" 1>&6
5560 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5561 echo "configure:5562: checking for --enable-controls" >&5
5563 # Check whether --enable-controls or --disable-controls was given.
5564 if test "${enable_controls+set}" = set; then
5565 enableval
="$enable_controls"
5567 if test "$enableval" = yes; then
5568 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5570 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5575 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5576 if test "x$LINE" != x
; then
5577 eval "DEFAULT_$LINE"
5582 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5587 eval "$ac_cv_use_controls"
5588 if test "$no_cache" != 1; then
5589 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5592 if test "$wxUSE_CONTROLS" = yes; then
5593 echo "$ac_t""yes" 1>&6
5595 echo "$ac_t""no" 1>&6
5599 if test "$wxUSE_CONTROLS" = "yes"; then
5600 DEFAULT_wxUSE_ACCEL
=yes
5601 DEFAULT_wxUSE_BMPBUTTON
=yes
5602 DEFAULT_wxUSE_BUTTON
=yes
5603 DEFAULT_wxUSE_CALCTRL
=no
5604 DEFAULT_wxUSE_CARET
=yes
5605 DEFAULT_wxUSE_COMBOBOX
=yes
5606 DEFAULT_wxUSE_CHECKBOX
=yes
5607 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5608 DEFAULT_wxUSE_CHOICE
=yes
5609 DEFAULT_wxUSE_GAUGE
=yes
5610 DEFAULT_wxUSE_GRID
=yes
5611 DEFAULT_wxUSE_NEW_GRID
=yes
5612 DEFAULT_wxUSE_IMAGLIST
=yes
5613 DEFAULT_wxUSE_LISTBOX
=yes
5614 DEFAULT_wxUSE_LISTCTRL
=yes
5615 DEFAULT_wxUSE_NOTEBOOK
=yes
5616 DEFAULT_wxUSE_PROPSHEET
=yes
5617 DEFAULT_wxUSE_RADIOBOX
=yes
5618 DEFAULT_wxUSE_RADIOBTN
=yes
5619 DEFAULT_wxUSE_SASH
=yes
5620 DEFAULT_wxUSE_SCROLLBAR
=yes
5621 DEFAULT_wxUSE_SLIDER
=yes
5622 DEFAULT_wxUSE_SPINBTN
=yes
5623 DEFAULT_wxUSE_SPINCTRL
=yes
5624 DEFAULT_wxUSE_SPLITTER
=yes
5625 DEFAULT_wxUSE_STATBMP
=yes
5626 DEFAULT_wxUSE_STATBOX
=yes
5627 DEFAULT_wxUSE_STATLINE
=yes
5628 DEFAULT_wxUSE_STATUSBAR
=yes
5629 DEFAULT_wxUSE_TAB_DIALOG
=yes
5630 DEFAULT_wxUSE_TOGGLEBTN
=yes
5631 DEFAULT_wxUSE_TOOLBAR
=yes
5632 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5633 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5634 DEFAULT_wxUSE_TOOLTIPS
=yes
5635 DEFAULT_wxUSE_TREECTRL
=yes
5636 DEFAULT_wxUSE_POPUPWIN
=yes
5637 DEFAULT_wxUSE_TIPWINDOW
=yes
5638 elif test "$wxUSE_CONTROLS" = "no"; then
5639 DEFAULT_wxUSE_ACCEL
=no
5640 DEFAULT_wxUSE_BMPBUTTON
=no
5641 DEFAULT_wxUSE_BUTTON
=no
5642 DEFAULT_wxUSE_CALCTRL
=no
5643 DEFAULT_wxUSE_CARET
=no
5644 DEFAULT_wxUSE_COMBOBOX
=no
5645 DEFAULT_wxUSE_CHECKBOX
=no
5646 DEFAULT_wxUSE_CHECKLISTBOX
=no
5647 DEFAULT_wxUSE_CHOICE
=no
5648 DEFAULT_wxUSE_GAUGE
=no
5649 DEFAULT_wxUSE_GRID
=no
5650 DEFAULT_wxUSE_NEW_GRID
=no
5651 DEFAULT_wxUSE_IMAGLIST
=no
5652 DEFAULT_wxUSE_LISTBOX
=no
5653 DEFAULT_wxUSE_LISTCTRL
=no
5654 DEFAULT_wxUSE_NOTEBOOK
=no
5655 DEFAULT_wxUSE_PROPSHEET
=no
5656 DEFAULT_wxUSE_RADIOBOX
=no
5657 DEFAULT_wxUSE_RADIOBTN
=no
5658 DEFAULT_wxUSE_SASH
=no
5659 DEFAULT_wxUSE_SCROLLBAR
=no
5660 DEFAULT_wxUSE_SLIDER
=no
5661 DEFAULT_wxUSE_SPINBTN
=no
5662 DEFAULT_wxUSE_SPINCTRL
=no
5663 DEFAULT_wxUSE_SPLITTER
=no
5664 DEFAULT_wxUSE_STATBMP
=no
5665 DEFAULT_wxUSE_STATBOX
=no
5666 DEFAULT_wxUSE_STATLINE
=no
5667 DEFAULT_wxUSE_STATUSBAR
=no
5668 DEFAULT_wxUSE_TAB_DIALOG
=no
5669 DEFAULT_wxUSE_TOGGLEBTN
=no
5670 DEFAULT_wxUSE_TOOLBAR
=no
5671 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5672 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5673 DEFAULT_wxUSE_TOOLTIPS
=no
5674 DEFAULT_wxUSE_TREECTRL
=no
5675 DEFAULT_wxUSE_POPUPWIN
=no
5676 DEFAULT_wxUSE_TIPWINDOW
=no
5680 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5681 echo "configure:5682: checking for --enable-accel" >&5
5683 # Check whether --enable-accel or --disable-accel was given.
5684 if test "${enable_accel+set}" = set; then
5685 enableval
="$enable_accel"
5687 if test "$enableval" = yes; then
5688 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5690 ac_cv_use_accel
='wxUSE_ACCEL=no'
5695 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x
; then
5697 eval "DEFAULT_$LINE"
5702 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5707 eval "$ac_cv_use_accel"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5712 if test "$wxUSE_ACCEL" = yes; then
5713 echo "$ac_t""yes" 1>&6
5715 echo "$ac_t""no" 1>&6
5719 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5720 echo "configure:5721: checking for --enable-button" >&5
5722 # Check whether --enable-button or --disable-button was given.
5723 if test "${enable_button+set}" = set; then
5724 enableval
="$enable_button"
5726 if test "$enableval" = yes; then
5727 ac_cv_use_button
='wxUSE_BUTTON=yes'
5729 ac_cv_use_button
='wxUSE_BUTTON=no'
5734 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5735 if test "x$LINE" != x
; then
5736 eval "DEFAULT_$LINE"
5741 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5746 eval "$ac_cv_use_button"
5747 if test "$no_cache" != 1; then
5748 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5751 if test "$wxUSE_BUTTON" = yes; then
5752 echo "$ac_t""yes" 1>&6
5754 echo "$ac_t""no" 1>&6
5758 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5759 echo "configure:5760: checking for --enable-bmpbutton" >&5
5761 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5762 if test "${enable_bmpbutton+set}" = set; then
5763 enableval
="$enable_bmpbutton"
5765 if test "$enableval" = yes; then
5766 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5768 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5773 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x
; then
5775 eval "DEFAULT_$LINE"
5780 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5785 eval "$ac_cv_use_bmpbutton"
5786 if test "$no_cache" != 1; then
5787 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5790 if test "$wxUSE_BMPBUTTON" = yes; then
5791 echo "$ac_t""yes" 1>&6
5793 echo "$ac_t""no" 1>&6
5797 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5798 echo "configure:5799: checking for --enable-calendar" >&5
5800 # Check whether --enable-calendar or --disable-calendar was given.
5801 if test "${enable_calendar+set}" = set; then
5802 enableval
="$enable_calendar"
5804 if test "$enableval" = yes; then
5805 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5807 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5812 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5813 if test "x$LINE" != x
; then
5814 eval "DEFAULT_$LINE"
5819 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5824 eval "$ac_cv_use_calendar"
5825 if test "$no_cache" != 1; then
5826 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5829 if test "$wxUSE_CALCTRL" = yes; then
5830 echo "$ac_t""yes" 1>&6
5832 echo "$ac_t""no" 1>&6
5836 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5837 echo "configure:5838: checking for --enable-caret" >&5
5839 # Check whether --enable-caret or --disable-caret was given.
5840 if test "${enable_caret+set}" = set; then
5841 enableval
="$enable_caret"
5843 if test "$enableval" = yes; then
5844 ac_cv_use_caret
='wxUSE_CARET=yes'
5846 ac_cv_use_caret
='wxUSE_CARET=no'
5851 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5852 if test "x$LINE" != x
; then
5853 eval "DEFAULT_$LINE"
5858 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5863 eval "$ac_cv_use_caret"
5864 if test "$no_cache" != 1; then
5865 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5868 if test "$wxUSE_CARET" = yes; then
5869 echo "$ac_t""yes" 1>&6
5871 echo "$ac_t""no" 1>&6
5875 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5876 echo "configure:5877: checking for --enable-checkbox" >&5
5878 # Check whether --enable-checkbox or --disable-checkbox was given.
5879 if test "${enable_checkbox+set}" = set; then
5880 enableval
="$enable_checkbox"
5882 if test "$enableval" = yes; then
5883 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5885 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5890 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5891 if test "x$LINE" != x
; then
5892 eval "DEFAULT_$LINE"
5897 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5902 eval "$ac_cv_use_checkbox"
5903 if test "$no_cache" != 1; then
5904 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5907 if test "$wxUSE_CHECKBOX" = yes; then
5908 echo "$ac_t""yes" 1>&6
5910 echo "$ac_t""no" 1>&6
5914 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5915 echo "configure:5916: checking for --enable-checklst" >&5
5917 # Check whether --enable-checklst or --disable-checklst was given.
5918 if test "${enable_checklst+set}" = set; then
5919 enableval
="$enable_checklst"
5921 if test "$enableval" = yes; then
5922 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5924 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5929 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5930 if test "x$LINE" != x
; then
5931 eval "DEFAULT_$LINE"
5936 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5941 eval "$ac_cv_use_checklst"
5942 if test "$no_cache" != 1; then
5943 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5946 if test "$wxUSE_CHECKLST" = yes; then
5947 echo "$ac_t""yes" 1>&6
5949 echo "$ac_t""no" 1>&6
5953 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5954 echo "configure:5955: checking for --enable-choice" >&5
5956 # Check whether --enable-choice or --disable-choice was given.
5957 if test "${enable_choice+set}" = set; then
5958 enableval
="$enable_choice"
5960 if test "$enableval" = yes; then
5961 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5963 ac_cv_use_choice
='wxUSE_CHOICE=no'
5968 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5969 if test "x$LINE" != x
; then
5970 eval "DEFAULT_$LINE"
5975 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5980 eval "$ac_cv_use_choice"
5981 if test "$no_cache" != 1; then
5982 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5985 if test "$wxUSE_CHOICE" = yes; then
5986 echo "$ac_t""yes" 1>&6
5988 echo "$ac_t""no" 1>&6
5992 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5993 echo "configure:5994: checking for --enable-combobox" >&5
5995 # Check whether --enable-combobox or --disable-combobox was given.
5996 if test "${enable_combobox+set}" = set; then
5997 enableval
="$enable_combobox"
5999 if test "$enableval" = yes; then
6000 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6002 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6007 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6008 if test "x$LINE" != x
; then
6009 eval "DEFAULT_$LINE"
6014 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6019 eval "$ac_cv_use_combobox"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6024 if test "$wxUSE_COMBOBOX" = yes; then
6025 echo "$ac_t""yes" 1>&6
6027 echo "$ac_t""no" 1>&6
6031 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6032 echo "configure:6033: checking for --enable-gauge" >&5
6034 # Check whether --enable-gauge or --disable-gauge was given.
6035 if test "${enable_gauge+set}" = set; then
6036 enableval
="$enable_gauge"
6038 if test "$enableval" = yes; then
6039 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6041 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6046 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x
; then
6048 eval "DEFAULT_$LINE"
6053 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6058 eval "$ac_cv_use_gauge"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6063 if test "$wxUSE_GAUGE" = yes; then
6064 echo "$ac_t""yes" 1>&6
6066 echo "$ac_t""no" 1>&6
6070 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6071 echo "configure:6072: checking for --enable-grid" >&5
6073 # Check whether --enable-grid or --disable-grid was given.
6074 if test "${enable_grid+set}" = set; then
6075 enableval
="$enable_grid"
6077 if test "$enableval" = yes; then
6078 ac_cv_use_grid
='wxUSE_GRID=yes'
6080 ac_cv_use_grid
='wxUSE_GRID=no'
6085 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x
; then
6087 eval "DEFAULT_$LINE"
6092 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6097 eval "$ac_cv_use_grid"
6098 if test "$no_cache" != 1; then
6099 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6102 if test "$wxUSE_GRID" = yes; then
6103 echo "$ac_t""yes" 1>&6
6105 echo "$ac_t""no" 1>&6
6109 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6110 echo "configure:6111: checking for --enable-newgrid" >&5
6112 # Check whether --enable-newgrid or --disable-newgrid was given.
6113 if test "${enable_newgrid+set}" = set; then
6114 enableval
="$enable_newgrid"
6116 if test "$enableval" = yes; then
6117 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6119 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6124 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6125 if test "x$LINE" != x
; then
6126 eval "DEFAULT_$LINE"
6131 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6136 eval "$ac_cv_use_newgrid"
6137 if test "$no_cache" != 1; then
6138 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6141 if test "$wxUSE_NEW_GRID" = yes; then
6142 echo "$ac_t""yes" 1>&6
6144 echo "$ac_t""no" 1>&6
6148 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6149 echo "configure:6150: checking for --enable-imaglist" >&5
6151 # Check whether --enable-imaglist or --disable-imaglist was given.
6152 if test "${enable_imaglist+set}" = set; then
6153 enableval
="$enable_imaglist"
6155 if test "$enableval" = yes; then
6156 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6158 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6163 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6164 if test "x$LINE" != x
; then
6165 eval "DEFAULT_$LINE"
6170 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6175 eval "$ac_cv_use_imaglist"
6176 if test "$no_cache" != 1; then
6177 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6180 if test "$wxUSE_IMAGLIST" = yes; then
6181 echo "$ac_t""yes" 1>&6
6183 echo "$ac_t""no" 1>&6
6187 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6188 echo "configure:6189: checking for --enable-listbox" >&5
6190 # Check whether --enable-listbox or --disable-listbox was given.
6191 if test "${enable_listbox+set}" = set; then
6192 enableval
="$enable_listbox"
6194 if test "$enableval" = yes; then
6195 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6197 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6202 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6203 if test "x$LINE" != x
; then
6204 eval "DEFAULT_$LINE"
6209 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6214 eval "$ac_cv_use_listbox"
6215 if test "$no_cache" != 1; then
6216 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6219 if test "$wxUSE_LISTBOX" = yes; then
6220 echo "$ac_t""yes" 1>&6
6222 echo "$ac_t""no" 1>&6
6226 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6227 echo "configure:6228: checking for --enable-listctrl" >&5
6229 # Check whether --enable-listctrl or --disable-listctrl was given.
6230 if test "${enable_listctrl+set}" = set; then
6231 enableval
="$enable_listctrl"
6233 if test "$enableval" = yes; then
6234 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6236 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6241 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x
; then
6243 eval "DEFAULT_$LINE"
6248 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6253 eval "$ac_cv_use_listctrl"
6254 if test "$no_cache" != 1; then
6255 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6258 if test "$wxUSE_LISTCTRL" = yes; then
6259 echo "$ac_t""yes" 1>&6
6261 echo "$ac_t""no" 1>&6
6265 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6266 echo "configure:6267: checking for --enable-notebook" >&5
6268 # Check whether --enable-notebook or --disable-notebook was given.
6269 if test "${enable_notebook+set}" = set; then
6270 enableval
="$enable_notebook"
6272 if test "$enableval" = yes; then
6273 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6275 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6280 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6281 if test "x$LINE" != x
; then
6282 eval "DEFAULT_$LINE"
6287 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6292 eval "$ac_cv_use_notebook"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6297 if test "$wxUSE_NOTEBOOK" = yes; then
6298 echo "$ac_t""yes" 1>&6
6300 echo "$ac_t""no" 1>&6
6304 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6305 echo "configure:6306: checking for --enable-propsheet" >&5
6307 # Check whether --enable-propsheet or --disable-propsheet was given.
6308 if test "${enable_propsheet+set}" = set; then
6309 enableval
="$enable_propsheet"
6311 if test "$enableval" = yes; then
6312 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6314 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6319 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x
; then
6321 eval "DEFAULT_$LINE"
6326 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6331 eval "$ac_cv_use_propsheet"
6332 if test "$no_cache" != 1; then
6333 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6336 if test "$wxUSE_PROPSHEET" = yes; then
6337 echo "$ac_t""yes" 1>&6
6339 echo "$ac_t""no" 1>&6
6343 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6344 echo "configure:6345: checking for --enable-radiobox" >&5
6346 # Check whether --enable-radiobox or --disable-radiobox was given.
6347 if test "${enable_radiobox+set}" = set; then
6348 enableval
="$enable_radiobox"
6350 if test "$enableval" = yes; then
6351 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6353 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6358 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x
; then
6360 eval "DEFAULT_$LINE"
6365 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6370 eval "$ac_cv_use_radiobox"
6371 if test "$no_cache" != 1; then
6372 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6375 if test "$wxUSE_RADIOBOX" = yes; then
6376 echo "$ac_t""yes" 1>&6
6378 echo "$ac_t""no" 1>&6
6382 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6383 echo "configure:6384: checking for --enable-radiobtn" >&5
6385 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6386 if test "${enable_radiobtn+set}" = set; then
6387 enableval
="$enable_radiobtn"
6389 if test "$enableval" = yes; then
6390 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6392 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6397 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6398 if test "x$LINE" != x
; then
6399 eval "DEFAULT_$LINE"
6404 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6409 eval "$ac_cv_use_radiobtn"
6410 if test "$no_cache" != 1; then
6411 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6414 if test "$wxUSE_RADIOBTN" = yes; then
6415 echo "$ac_t""yes" 1>&6
6417 echo "$ac_t""no" 1>&6
6421 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6422 echo "configure:6423: checking for --enable-sash" >&5
6424 # Check whether --enable-sash or --disable-sash was given.
6425 if test "${enable_sash+set}" = set; then
6426 enableval
="$enable_sash"
6428 if test "$enableval" = yes; then
6429 ac_cv_use_sash
='wxUSE_SASH=yes'
6431 ac_cv_use_sash
='wxUSE_SASH=no'
6436 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6437 if test "x$LINE" != x
; then
6438 eval "DEFAULT_$LINE"
6443 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6448 eval "$ac_cv_use_sash"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6453 if test "$wxUSE_SASH" = yes; then
6454 echo "$ac_t""yes" 1>&6
6456 echo "$ac_t""no" 1>&6
6460 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6461 echo "configure:6462: checking for --enable-scrollbar" >&5
6463 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6464 if test "${enable_scrollbar+set}" = set; then
6465 enableval
="$enable_scrollbar"
6467 if test "$enableval" = yes; then
6468 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6470 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6475 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x
; then
6477 eval "DEFAULT_$LINE"
6482 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6487 eval "$ac_cv_use_scrollbar"
6488 if test "$no_cache" != 1; then
6489 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6492 if test "$wxUSE_SCROLLBAR" = yes; then
6493 echo "$ac_t""yes" 1>&6
6495 echo "$ac_t""no" 1>&6
6499 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6500 echo "configure:6501: checking for --enable-slider" >&5
6502 # Check whether --enable-slider or --disable-slider was given.
6503 if test "${enable_slider+set}" = set; then
6504 enableval
="$enable_slider"
6506 if test "$enableval" = yes; then
6507 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6509 ac_cv_use_slider
='wxUSE_SLIDER=no'
6514 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x
; then
6516 eval "DEFAULT_$LINE"
6521 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6526 eval "$ac_cv_use_slider"
6527 if test "$no_cache" != 1; then
6528 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6531 if test "$wxUSE_SLIDER" = yes; then
6532 echo "$ac_t""yes" 1>&6
6534 echo "$ac_t""no" 1>&6
6538 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6539 echo "configure:6540: checking for --enable-spinbtn" >&5
6541 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6542 if test "${enable_spinbtn+set}" = set; then
6543 enableval
="$enable_spinbtn"
6545 if test "$enableval" = yes; then
6546 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6548 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6553 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6554 if test "x$LINE" != x
; then
6555 eval "DEFAULT_$LINE"
6560 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6565 eval "$ac_cv_use_spinbtn"
6566 if test "$no_cache" != 1; then
6567 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6570 if test "$wxUSE_SPINBTN" = yes; then
6571 echo "$ac_t""yes" 1>&6
6573 echo "$ac_t""no" 1>&6
6577 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6578 echo "configure:6579: checking for --enable-spinctrl" >&5
6580 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6581 if test "${enable_spinctrl+set}" = set; then
6582 enableval
="$enable_spinctrl"
6584 if test "$enableval" = yes; then
6585 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6587 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6592 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6593 if test "x$LINE" != x
; then
6594 eval "DEFAULT_$LINE"
6599 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6604 eval "$ac_cv_use_spinctrl"
6605 if test "$no_cache" != 1; then
6606 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6609 if test "$wxUSE_SPINCTRL" = yes; then
6610 echo "$ac_t""yes" 1>&6
6612 echo "$ac_t""no" 1>&6
6616 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6617 echo "configure:6618: checking for --enable-splitter" >&5
6619 # Check whether --enable-splitter or --disable-splitter was given.
6620 if test "${enable_splitter+set}" = set; then
6621 enableval
="$enable_splitter"
6623 if test "$enableval" = yes; then
6624 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6626 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6631 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6632 if test "x$LINE" != x
; then
6633 eval "DEFAULT_$LINE"
6638 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6643 eval "$ac_cv_use_splitter"
6644 if test "$no_cache" != 1; then
6645 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6648 if test "$wxUSE_SPLITTER" = yes; then
6649 echo "$ac_t""yes" 1>&6
6651 echo "$ac_t""no" 1>&6
6655 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6656 echo "configure:6657: checking for --enable-statbmp" >&5
6658 # Check whether --enable-statbmp or --disable-statbmp was given.
6659 if test "${enable_statbmp+set}" = set; then
6660 enableval
="$enable_statbmp"
6662 if test "$enableval" = yes; then
6663 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6665 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6670 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6671 if test "x$LINE" != x
; then
6672 eval "DEFAULT_$LINE"
6677 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6682 eval "$ac_cv_use_statbmp"
6683 if test "$no_cache" != 1; then
6684 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6687 if test "$wxUSE_STATBMP" = yes; then
6688 echo "$ac_t""yes" 1>&6
6690 echo "$ac_t""no" 1>&6
6694 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6695 echo "configure:6696: checking for --enable-statbox" >&5
6697 # Check whether --enable-statbox or --disable-statbox was given.
6698 if test "${enable_statbox+set}" = set; then
6699 enableval
="$enable_statbox"
6701 if test "$enableval" = yes; then
6702 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6704 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6709 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6710 if test "x$LINE" != x
; then
6711 eval "DEFAULT_$LINE"
6716 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6721 eval "$ac_cv_use_statbox"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6726 if test "$wxUSE_STATBOX" = yes; then
6727 echo "$ac_t""yes" 1>&6
6729 echo "$ac_t""no" 1>&6
6733 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6734 echo "configure:6735: checking for --enable-statline" >&5
6736 # Check whether --enable-statline or --disable-statline was given.
6737 if test "${enable_statline+set}" = set; then
6738 enableval
="$enable_statline"
6740 if test "$enableval" = yes; then
6741 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6743 ac_cv_use_statline
='wxUSE_STATLINE=no'
6748 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6749 if test "x$LINE" != x
; then
6750 eval "DEFAULT_$LINE"
6755 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6760 eval "$ac_cv_use_statline"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6765 if test "$wxUSE_STATLINE" = yes; then
6766 echo "$ac_t""yes" 1>&6
6768 echo "$ac_t""no" 1>&6
6772 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6773 echo "configure:6774: checking for --enable-stattext" >&5
6775 # Check whether --enable-stattext or --disable-stattext was given.
6776 if test "${enable_stattext+set}" = set; then
6777 enableval
="$enable_stattext"
6779 if test "$enableval" = yes; then
6780 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6782 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6787 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6788 if test "x$LINE" != x
; then
6789 eval "DEFAULT_$LINE"
6794 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6799 eval "$ac_cv_use_stattext"
6800 if test "$no_cache" != 1; then
6801 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6804 if test "$wxUSE_STATTEXT" = yes; then
6805 echo "$ac_t""yes" 1>&6
6807 echo "$ac_t""no" 1>&6
6811 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6812 echo "configure:6813: checking for --enable-statusbar" >&5
6814 # Check whether --enable-statusbar or --disable-statusbar was given.
6815 if test "${enable_statusbar+set}" = set; then
6816 enableval
="$enable_statusbar"
6818 if test "$enableval" = yes; then
6819 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6821 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6826 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x
; then
6828 eval "DEFAULT_$LINE"
6833 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6838 eval "$ac_cv_use_statusbar"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6843 if test "$wxUSE_STATUSBAR" = yes; then
6844 echo "$ac_t""yes" 1>&6
6846 echo "$ac_t""no" 1>&6
6850 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6851 echo "configure:6852: checking for --enable-tabdialog" >&5
6853 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6854 if test "${enable_tabdialog+set}" = set; then
6855 enableval
="$enable_tabdialog"
6857 if test "$enableval" = yes; then
6858 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6860 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6865 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x
; then
6867 eval "DEFAULT_$LINE"
6872 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6877 eval "$ac_cv_use_tabdialog"
6878 if test "$no_cache" != 1; then
6879 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6882 if test "$wxUSE_TABDIALOG" = yes; then
6883 echo "$ac_t""yes" 1>&6
6885 echo "$ac_t""no" 1>&6
6889 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6890 echo "configure:6891: checking for --enable-textctrl" >&5
6892 # Check whether --enable-textctrl or --disable-textctrl was given.
6893 if test "${enable_textctrl+set}" = set; then
6894 enableval
="$enable_textctrl"
6896 if test "$enableval" = yes; then
6897 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6899 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6904 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x
; then
6906 eval "DEFAULT_$LINE"
6911 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6916 eval "$ac_cv_use_textctrl"
6917 if test "$no_cache" != 1; then
6918 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6921 if test "$wxUSE_TEXTCTRL" = yes; then
6922 echo "$ac_t""yes" 1>&6
6924 echo "$ac_t""no" 1>&6
6928 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6929 echo "configure:6930: checking for --enable-togglebtn" >&5
6931 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6932 if test "${enable_togglebtn+set}" = set; then
6933 enableval
="$enable_togglebtn"
6935 if test "$enableval" = yes; then
6936 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6938 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6943 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6944 if test "x$LINE" != x
; then
6945 eval "DEFAULT_$LINE"
6950 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6955 eval "$ac_cv_use_togglebtn"
6956 if test "$no_cache" != 1; then
6957 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6960 if test "$wxUSE_TOGGLEBTN" = yes; then
6961 echo "$ac_t""yes" 1>&6
6963 echo "$ac_t""no" 1>&6
6967 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6968 echo "configure:6969: checking for --enable-toolbar" >&5
6970 # Check whether --enable-toolbar or --disable-toolbar was given.
6971 if test "${enable_toolbar+set}" = set; then
6972 enableval
="$enable_toolbar"
6974 if test "$enableval" = yes; then
6975 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6977 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6982 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6983 if test "x$LINE" != x
; then
6984 eval "DEFAULT_$LINE"
6989 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6994 eval "$ac_cv_use_toolbar"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6999 if test "$wxUSE_TOOLBAR" = yes; then
7000 echo "$ac_t""yes" 1>&6
7002 echo "$ac_t""no" 1>&6
7006 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7007 echo "configure:7008: checking for --enable-tbarnative" >&5
7009 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7010 if test "${enable_tbarnative+set}" = set; then
7011 enableval
="$enable_tbarnative"
7013 if test "$enableval" = yes; then
7014 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7016 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7021 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7022 if test "x$LINE" != x
; then
7023 eval "DEFAULT_$LINE"
7028 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7033 eval "$ac_cv_use_tbarnative"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7039 echo "$ac_t""yes" 1>&6
7041 echo "$ac_t""no" 1>&6
7045 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7046 echo "configure:7047: checking for --enable-tbarsmpl" >&5
7048 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7049 if test "${enable_tbarsmpl+set}" = set; then
7050 enableval
="$enable_tbarsmpl"
7052 if test "$enableval" = yes; then
7053 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7055 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7060 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x
; then
7062 eval "DEFAULT_$LINE"
7067 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7072 eval "$ac_cv_use_tbarsmpl"
7073 if test "$no_cache" != 1; then
7074 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7077 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7078 echo "$ac_t""yes" 1>&6
7080 echo "$ac_t""no" 1>&6
7084 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7085 echo "configure:7086: checking for --enable-treectrl" >&5
7087 # Check whether --enable-treectrl or --disable-treectrl was given.
7088 if test "${enable_treectrl+set}" = set; then
7089 enableval
="$enable_treectrl"
7091 if test "$enableval" = yes; then
7092 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7094 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7099 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7100 if test "x$LINE" != x
; then
7101 eval "DEFAULT_$LINE"
7106 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7111 eval "$ac_cv_use_treectrl"
7112 if test "$no_cache" != 1; then
7113 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7116 if test "$wxUSE_TREECTRL" = yes; then
7117 echo "$ac_t""yes" 1>&6
7119 echo "$ac_t""no" 1>&6
7123 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7124 echo "configure:7125: checking for --enable-tipwindow" >&5
7126 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7127 if test "${enable_tipwindow+set}" = set; then
7128 enableval
="$enable_tipwindow"
7130 if test "$enableval" = yes; then
7131 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7133 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7138 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7139 if test "x$LINE" != x
; then
7140 eval "DEFAULT_$LINE"
7145 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7150 eval "$ac_cv_use_tipwindow"
7151 if test "$no_cache" != 1; then
7152 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7155 if test "$wxUSE_TIPWINDOW" = yes; then
7156 echo "$ac_t""yes" 1>&6
7158 echo "$ac_t""no" 1>&6
7162 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7163 echo "configure:7164: checking for --enable-popupwin" >&5
7165 # Check whether --enable-popupwin or --disable-popupwin was given.
7166 if test "${enable_popupwin+set}" = set; then
7167 enableval
="$enable_popupwin"
7169 if test "$enableval" = yes; then
7170 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7172 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7177 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7178 if test "x$LINE" != x
; then
7179 eval "DEFAULT_$LINE"
7184 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7189 eval "$ac_cv_use_popupwin"
7190 if test "$no_cache" != 1; then
7191 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7194 if test "$wxUSE_POPUPWIN" = yes; then
7195 echo "$ac_t""yes" 1>&6
7197 echo "$ac_t""no" 1>&6
7203 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7204 echo "configure:7205: checking for --enable-commondlg" >&5
7206 # Check whether --enable-commondlg or --disable-commondlg was given.
7207 if test "${enable_commondlg+set}" = set; then
7208 enableval
="$enable_commondlg"
7210 if test "$enableval" = yes; then
7211 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7213 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7218 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7219 if test "x$LINE" != x
; then
7220 eval "DEFAULT_$LINE"
7225 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7230 eval "$ac_cv_use_commondlg"
7231 if test "$no_cache" != 1; then
7232 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7235 if test "$wxUSE_COMMONDLGS" = yes; then
7236 echo "$ac_t""yes" 1>&6
7238 echo "$ac_t""no" 1>&6
7242 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7243 echo "configure:7244: checking for --enable-choicedlg" >&5
7245 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7246 if test "${enable_choicedlg+set}" = set; then
7247 enableval
="$enable_choicedlg"
7249 if test "$enableval" = yes; then
7250 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7252 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7257 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7258 if test "x$LINE" != x
; then
7259 eval "DEFAULT_$LINE"
7264 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7269 eval "$ac_cv_use_choicedlg"
7270 if test "$no_cache" != 1; then
7271 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7274 if test "$wxUSE_CHOICEDLG" = yes; then
7275 echo "$ac_t""yes" 1>&6
7277 echo "$ac_t""no" 1>&6
7281 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7282 echo "configure:7283: checking for --enable-coldlg" >&5
7284 # Check whether --enable-coldlg or --disable-coldlg was given.
7285 if test "${enable_coldlg+set}" = set; then
7286 enableval
="$enable_coldlg"
7288 if test "$enableval" = yes; then
7289 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7291 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7296 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7297 if test "x$LINE" != x
; then
7298 eval "DEFAULT_$LINE"
7303 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7308 eval "$ac_cv_use_coldlg"
7309 if test "$no_cache" != 1; then
7310 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7313 if test "$wxUSE_COLOURDLG" = yes; then
7314 echo "$ac_t""yes" 1>&6
7316 echo "$ac_t""no" 1>&6
7320 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7321 echo "configure:7322: checking for --enable-filedlg" >&5
7323 # Check whether --enable-filedlg or --disable-filedlg was given.
7324 if test "${enable_filedlg+set}" = set; then
7325 enableval
="$enable_filedlg"
7327 if test "$enableval" = yes; then
7328 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7330 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7335 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x
; then
7337 eval "DEFAULT_$LINE"
7342 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7347 eval "$ac_cv_use_filedlg"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7352 if test "$wxUSE_FILEDLG" = yes; then
7353 echo "$ac_t""yes" 1>&6
7355 echo "$ac_t""no" 1>&6
7359 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7360 echo "configure:7361: checking for --enable-finddlg" >&5
7362 # Check whether --enable-finddlg or --disable-finddlg was given.
7363 if test "${enable_finddlg+set}" = set; then
7364 enableval
="$enable_finddlg"
7366 if test "$enableval" = yes; then
7367 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7369 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7374 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7375 if test "x$LINE" != x
; then
7376 eval "DEFAULT_$LINE"
7381 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7386 eval "$ac_cv_use_finddlg"
7387 if test "$no_cache" != 1; then
7388 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7391 if test "$wxUSE_FINDREPLDLG" = yes; then
7392 echo "$ac_t""yes" 1>&6
7394 echo "$ac_t""no" 1>&6
7398 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7399 echo "configure:7400: checking for --enable-fontdlg" >&5
7401 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7402 if test "${enable_fontdlg+set}" = set; then
7403 enableval
="$enable_fontdlg"
7405 if test "$enableval" = yes; then
7406 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7408 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7413 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7414 if test "x$LINE" != x
; then
7415 eval "DEFAULT_$LINE"
7420 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7425 eval "$ac_cv_use_fontdlg"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7430 if test "$wxUSE_FONTDLG" = yes; then
7431 echo "$ac_t""yes" 1>&6
7433 echo "$ac_t""no" 1>&6
7437 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7438 echo "configure:7439: checking for --enable-dirdlg" >&5
7440 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7441 if test "${enable_dirdlg+set}" = set; then
7442 enableval
="$enable_dirdlg"
7444 if test "$enableval" = yes; then
7445 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7447 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7452 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x
; then
7454 eval "DEFAULT_$LINE"
7459 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7464 eval "$ac_cv_use_dirdlg"
7465 if test "$no_cache" != 1; then
7466 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7469 if test "$wxUSE_DIRDLG" = yes; then
7470 echo "$ac_t""yes" 1>&6
7472 echo "$ac_t""no" 1>&6
7476 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7477 echo "configure:7478: checking for --enable-msgdlg" >&5
7479 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7480 if test "${enable_msgdlg+set}" = set; then
7481 enableval
="$enable_msgdlg"
7483 if test "$enableval" = yes; then
7484 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7486 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7491 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7492 if test "x$LINE" != x
; then
7493 eval "DEFAULT_$LINE"
7498 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7503 eval "$ac_cv_use_msgdlg"
7504 if test "$no_cache" != 1; then
7505 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7508 if test "$wxUSE_MSGDLG" = yes; then
7509 echo "$ac_t""yes" 1>&6
7511 echo "$ac_t""no" 1>&6
7515 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7516 echo "configure:7517: checking for --enable-numberdlg" >&5
7518 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7519 if test "${enable_numberdlg+set}" = set; then
7520 enableval
="$enable_numberdlg"
7522 if test "$enableval" = yes; then
7523 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7525 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7530 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7531 if test "x$LINE" != x
; then
7532 eval "DEFAULT_$LINE"
7537 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7542 eval "$ac_cv_use_numberdlg"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7547 if test "$wxUSE_NUMBERDLG" = yes; then
7548 echo "$ac_t""yes" 1>&6
7550 echo "$ac_t""no" 1>&6
7554 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7555 echo "configure:7556: checking for --enable-splash" >&5
7557 # Check whether --enable-splash or --disable-splash was given.
7558 if test "${enable_splash+set}" = set; then
7559 enableval
="$enable_splash"
7561 if test "$enableval" = yes; then
7562 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7564 ac_cv_use_splash
='wxUSE_SPLASH=no'
7569 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x
; then
7571 eval "DEFAULT_$LINE"
7576 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7581 eval "$ac_cv_use_splash"
7582 if test "$no_cache" != 1; then
7583 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7586 if test "$wxUSE_SPLASH" = yes; then
7587 echo "$ac_t""yes" 1>&6
7589 echo "$ac_t""no" 1>&6
7593 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7594 echo "configure:7595: checking for --enable-textdlg" >&5
7596 # Check whether --enable-textdlg or --disable-textdlg was given.
7597 if test "${enable_textdlg+set}" = set; then
7598 enableval
="$enable_textdlg"
7600 if test "$enableval" = yes; then
7601 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7603 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7608 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7609 if test "x$LINE" != x
; then
7610 eval "DEFAULT_$LINE"
7615 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7620 eval "$ac_cv_use_textdlg"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7625 if test "$wxUSE_TEXTDLG" = yes; then
7626 echo "$ac_t""yes" 1>&6
7628 echo "$ac_t""no" 1>&6
7632 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7633 echo "configure:7634: checking for --enable-tipdlg" >&5
7635 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7636 if test "${enable_tipdlg+set}" = set; then
7637 enableval
="$enable_tipdlg"
7639 if test "$enableval" = yes; then
7640 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7642 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7647 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7648 if test "x$LINE" != x
; then
7649 eval "DEFAULT_$LINE"
7654 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7659 eval "$ac_cv_use_tipdlg"
7660 if test "$no_cache" != 1; then
7661 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7664 if test "$wxUSE_STARTUP_TIPS" = yes; then
7665 echo "$ac_t""yes" 1>&6
7667 echo "$ac_t""no" 1>&6
7671 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7672 echo "configure:7673: checking for --enable-progressdlg" >&5
7674 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7675 if test "${enable_progressdlg+set}" = set; then
7676 enableval
="$enable_progressdlg"
7678 if test "$enableval" = yes; then
7679 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7681 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7686 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7687 if test "x$LINE" != x
; then
7688 eval "DEFAULT_$LINE"
7693 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7698 eval "$ac_cv_use_progressdlg"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7703 if test "$wxUSE_PROGRESSDLG" = yes; then
7704 echo "$ac_t""yes" 1>&6
7706 echo "$ac_t""no" 1>&6
7710 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7711 echo "configure:7712: checking for --enable-wizarddlg" >&5
7713 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7714 if test "${enable_wizarddlg+set}" = set; then
7715 enableval
="$enable_wizarddlg"
7717 if test "$enableval" = yes; then
7718 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7720 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7725 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x
; then
7727 eval "DEFAULT_$LINE"
7732 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7737 eval "$ac_cv_use_wizarddlg"
7738 if test "$no_cache" != 1; then
7739 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7742 if test "$wxUSE_WIZARDDLG" = yes; then
7743 echo "$ac_t""yes" 1>&6
7745 echo "$ac_t""no" 1>&6
7751 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7752 echo "configure:7753: checking for --enable-menus" >&5
7754 # Check whether --enable-menus or --disable-menus was given.
7755 if test "${enable_menus+set}" = set; then
7756 enableval
="$enable_menus"
7758 if test "$enableval" = yes; then
7759 ac_cv_use_menus
='wxUSE_MENUS=yes'
7761 ac_cv_use_menus
='wxUSE_MENUS=no'
7766 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x
; then
7768 eval "DEFAULT_$LINE"
7773 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7778 eval "$ac_cv_use_menus"
7779 if test "$no_cache" != 1; then
7780 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7783 if test "$wxUSE_MENUS" = yes; then
7784 echo "$ac_t""yes" 1>&6
7786 echo "$ac_t""no" 1>&6
7790 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7791 echo "configure:7792: checking for --enable-miniframe" >&5
7793 # Check whether --enable-miniframe or --disable-miniframe was given.
7794 if test "${enable_miniframe+set}" = set; then
7795 enableval
="$enable_miniframe"
7797 if test "$enableval" = yes; then
7798 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7800 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7805 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7806 if test "x$LINE" != x
; then
7807 eval "DEFAULT_$LINE"
7812 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7817 eval "$ac_cv_use_miniframe"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7822 if test "$wxUSE_MINIFRAME" = yes; then
7823 echo "$ac_t""yes" 1>&6
7825 echo "$ac_t""no" 1>&6
7829 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7830 echo "configure:7831: checking for --enable-tooltips" >&5
7832 # Check whether --enable-tooltips or --disable-tooltips was given.
7833 if test "${enable_tooltips+set}" = set; then
7834 enableval
="$enable_tooltips"
7836 if test "$enableval" = yes; then
7837 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7839 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7844 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7845 if test "x$LINE" != x
; then
7846 eval "DEFAULT_$LINE"
7851 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7856 eval "$ac_cv_use_tooltips"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7861 if test "$wxUSE_TOOLTIPS" = yes; then
7862 echo "$ac_t""yes" 1>&6
7864 echo "$ac_t""no" 1>&6
7868 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7869 echo "configure:7870: checking for --enable-splines" >&5
7871 # Check whether --enable-splines or --disable-splines was given.
7872 if test "${enable_splines+set}" = set; then
7873 enableval
="$enable_splines"
7875 if test "$enableval" = yes; then
7876 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7878 ac_cv_use_splines
='wxUSE_SPLINES=no'
7883 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x
; then
7885 eval "DEFAULT_$LINE"
7890 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7895 eval "$ac_cv_use_splines"
7896 if test "$no_cache" != 1; then
7897 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7900 if test "$wxUSE_SPLINES" = yes; then
7901 echo "$ac_t""yes" 1>&6
7903 echo "$ac_t""no" 1>&6
7907 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7908 echo "configure:7909: checking for --enable-validators" >&5
7910 # Check whether --enable-validators or --disable-validators was given.
7911 if test "${enable_validators+set}" = set; then
7912 enableval
="$enable_validators"
7914 if test "$enableval" = yes; then
7915 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7917 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7922 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7923 if test "x$LINE" != x
; then
7924 eval "DEFAULT_$LINE"
7929 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7934 eval "$ac_cv_use_validators"
7935 if test "$no_cache" != 1; then
7936 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7939 if test "$wxUSE_VALIDATORS" = yes; then
7940 echo "$ac_t""yes" 1>&6
7942 echo "$ac_t""no" 1>&6
7946 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7947 echo "configure:7948: checking for --enable-busyinfo" >&5
7949 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7950 if test "${enable_busyinfo+set}" = set; then
7951 enableval
="$enable_busyinfo"
7953 if test "$enableval" = yes; then
7954 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7956 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7961 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x
; then
7963 eval "DEFAULT_$LINE"
7968 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7973 eval "$ac_cv_use_busyinfo"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7978 if test "$wxUSE_BUSYINFO" = yes; then
7979 echo "$ac_t""yes" 1>&6
7981 echo "$ac_t""no" 1>&6
7985 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7986 echo "configure:7987: checking for --enable-joystick" >&5
7988 # Check whether --enable-joystick or --disable-joystick was given.
7989 if test "${enable_joystick+set}" = set; then
7990 enableval
="$enable_joystick"
7992 if test "$enableval" = yes; then
7993 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7995 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8000 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8001 if test "x$LINE" != x
; then
8002 eval "DEFAULT_$LINE"
8007 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8012 eval "$ac_cv_use_joystick"
8013 if test "$no_cache" != 1; then
8014 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8017 if test "$wxUSE_JOYSTICK" = yes; then
8018 echo "$ac_t""yes" 1>&6
8020 echo "$ac_t""no" 1>&6
8024 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8025 echo "configure:8026: checking for --enable-metafile" >&5
8027 # Check whether --enable-metafile or --disable-metafile was given.
8028 if test "${enable_metafile+set}" = set; then
8029 enableval
="$enable_metafile"
8031 if test "$enableval" = yes; then
8032 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8034 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8039 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8040 if test "x$LINE" != x
; then
8041 eval "DEFAULT_$LINE"
8046 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8051 eval "$ac_cv_use_metafile"
8052 if test "$no_cache" != 1; then
8053 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8056 if test "$wxUSE_METAFILE" = yes; then
8057 echo "$ac_t""yes" 1>&6
8059 echo "$ac_t""no" 1>&6
8063 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8064 echo "configure:8065: checking for --enable-dragimage" >&5
8066 # Check whether --enable-dragimage or --disable-dragimage was given.
8067 if test "${enable_dragimage+set}" = set; then
8068 enableval
="$enable_dragimage"
8070 if test "$enableval" = yes; then
8071 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8073 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8078 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8079 if test "x$LINE" != x
; then
8080 eval "DEFAULT_$LINE"
8085 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8090 eval "$ac_cv_use_dragimage"
8091 if test "$no_cache" != 1; then
8092 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8095 if test "$wxUSE_DRAGIMAGE" = yes; then
8096 echo "$ac_t""yes" 1>&6
8098 echo "$ac_t""no" 1>&6
8104 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8105 echo "configure:8106: checking for --enable-palette" >&5
8107 # Check whether --enable-palette or --disable-palette was given.
8108 if test "${enable_palette+set}" = set; then
8109 enableval
="$enable_palette"
8111 if test "$enableval" = yes; then
8112 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8114 ac_cv_use_palette
='wxUSE_PALETTE=no'
8119 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8120 if test "x$LINE" != x
; then
8121 eval "DEFAULT_$LINE"
8126 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8131 eval "$ac_cv_use_palette"
8132 if test "$no_cache" != 1; then
8133 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8136 if test "$wxUSE_PALETTE" = yes; then
8137 echo "$ac_t""yes" 1>&6
8139 echo "$ac_t""no" 1>&6
8143 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8144 echo "configure:8145: checking for --enable-image" >&5
8146 # Check whether --enable-image or --disable-image was given.
8147 if test "${enable_image+set}" = set; then
8148 enableval
="$enable_image"
8150 if test "$enableval" = yes; then
8151 ac_cv_use_image
='wxUSE_IMAGE=yes'
8153 ac_cv_use_image
='wxUSE_IMAGE=no'
8158 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8159 if test "x$LINE" != x
; then
8160 eval "DEFAULT_$LINE"
8165 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8170 eval "$ac_cv_use_image"
8171 if test "$no_cache" != 1; then
8172 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8175 if test "$wxUSE_IMAGE" = yes; then
8176 echo "$ac_t""yes" 1>&6
8178 echo "$ac_t""no" 1>&6
8182 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8183 echo "configure:8184: checking for --enable-gif" >&5
8185 # Check whether --enable-gif or --disable-gif was given.
8186 if test "${enable_gif+set}" = set; then
8187 enableval
="$enable_gif"
8189 if test "$enableval" = yes; then
8190 ac_cv_use_gif
='wxUSE_GIF=yes'
8192 ac_cv_use_gif
='wxUSE_GIF=no'
8197 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8198 if test "x$LINE" != x
; then
8199 eval "DEFAULT_$LINE"
8204 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8209 eval "$ac_cv_use_gif"
8210 if test "$no_cache" != 1; then
8211 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8214 if test "$wxUSE_GIF" = yes; then
8215 echo "$ac_t""yes" 1>&6
8217 echo "$ac_t""no" 1>&6
8221 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8222 echo "configure:8223: checking for --enable-pcx" >&5
8224 # Check whether --enable-pcx or --disable-pcx was given.
8225 if test "${enable_pcx+set}" = set; then
8226 enableval
="$enable_pcx"
8228 if test "$enableval" = yes; then
8229 ac_cv_use_pcx
='wxUSE_PCX=yes'
8231 ac_cv_use_pcx
='wxUSE_PCX=no'
8236 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8237 if test "x$LINE" != x
; then
8238 eval "DEFAULT_$LINE"
8243 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8248 eval "$ac_cv_use_pcx"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8253 if test "$wxUSE_PCX" = yes; then
8254 echo "$ac_t""yes" 1>&6
8256 echo "$ac_t""no" 1>&6
8260 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8261 echo "configure:8262: checking for --enable-iff" >&5
8263 # Check whether --enable-iff or --disable-iff was given.
8264 if test "${enable_iff+set}" = set; then
8265 enableval
="$enable_iff"
8267 if test "$enableval" = yes; then
8268 ac_cv_use_iff
='wxUSE_IFF=yes'
8270 ac_cv_use_iff
='wxUSE_IFF=no'
8275 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8276 if test "x$LINE" != x
; then
8277 eval "DEFAULT_$LINE"
8282 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8287 eval "$ac_cv_use_iff"
8288 if test "$no_cache" != 1; then
8289 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8292 if test "$wxUSE_IFF" = yes; then
8293 echo "$ac_t""yes" 1>&6
8295 echo "$ac_t""no" 1>&6
8299 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8300 echo "configure:8301: checking for --enable-pnm" >&5
8302 # Check whether --enable-pnm or --disable-pnm was given.
8303 if test "${enable_pnm+set}" = set; then
8304 enableval
="$enable_pnm"
8306 if test "$enableval" = yes; then
8307 ac_cv_use_pnm
='wxUSE_PNM=yes'
8309 ac_cv_use_pnm
='wxUSE_PNM=no'
8314 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8315 if test "x$LINE" != x
; then
8316 eval "DEFAULT_$LINE"
8321 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8326 eval "$ac_cv_use_pnm"
8327 if test "$no_cache" != 1; then
8328 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8331 if test "$wxUSE_PNM" = yes; then
8332 echo "$ac_t""yes" 1>&6
8334 echo "$ac_t""no" 1>&6
8338 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8339 echo "configure:8340: checking for --enable-xpm" >&5
8341 # Check whether --enable-xpm or --disable-xpm was given.
8342 if test "${enable_xpm+set}" = set; then
8343 enableval
="$enable_xpm"
8345 if test "$enableval" = yes; then
8346 ac_cv_use_xpm
='wxUSE_XPM=yes'
8348 ac_cv_use_xpm
='wxUSE_XPM=no'
8353 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8354 if test "x$LINE" != x
; then
8355 eval "DEFAULT_$LINE"
8360 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8365 eval "$ac_cv_use_xpm"
8366 if test "$no_cache" != 1; then
8367 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8370 if test "$wxUSE_XPM" = yes; then
8371 echo "$ac_t""yes" 1>&6
8373 echo "$ac_t""no" 1>&6
8377 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8378 echo "configure:8379: checking for --enable-ico_cur" >&5
8380 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8381 if test "${enable_ico_cur+set}" = set; then
8382 enableval
="$enable_ico_cur"
8384 if test "$enableval" = yes; then
8385 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8387 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8392 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8393 if test "x$LINE" != x
; then
8394 eval "DEFAULT_$LINE"
8399 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8404 eval "$ac_cv_use_ico_cur"
8405 if test "$no_cache" != 1; then
8406 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8409 if test "$wxUSE_ICO_CUR" = yes; then
8410 echo "$ac_t""yes" 1>&6
8412 echo "$ac_t""no" 1>&6
8419 *-pc-os2_emx | *-pc-os2-emx )
8430 echo "saving argument cache $wx_arg_cache_file"
8431 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8435 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8436 echo "configure:8437: checking for toolkit" >&5
8438 if test "$wxUSE_GUI" = "yes"; then
8440 if test "$USE_BEOS" = 1; then
8441 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8444 if test "$TOOLKIT_GIVEN" = 1; then
8445 for toolkit
in `echo $ALL_TOOLKITS`; do
8447 eval "value=\$${var}"
8448 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8451 for toolkit
in `echo $ALL_TOOLKITS`; do
8452 if test "$has_toolkit_in_cache" != 1; then
8453 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8455 var
=DEFAULT_wxUSE_
$toolkit
8457 eval "wxUSE_$toolkit=\$${var}"
8461 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8462 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8465 *-pc-os2_emx | *-pc-os2-emx )
8466 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8469 case "$NUM_TOOLKITS" in
8473 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8476 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8479 for toolkit
in `echo $ALL_TOOLKITS`; do
8481 eval "value=\$${var}"
8482 if test "x$value" != x
; then
8483 cache_var
=CACHE_
$toolkit
8484 eval "cache=\$${cache_var}"
8485 if test "$cache" = 1; then
8486 echo "$var=$value" >> ${wx_arg_cache_file}
8488 if test "$value" = 1; then
8489 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8490 echo "$ac_t""$toolkit_echo" 1>&6
8495 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8503 if test "$wxUSE_MSW" = 1 ; then
8514 if test "$wants_win32" = 1 ; then
8517 cat >> confdefs.h
<<\EOF
8521 cat >> confdefs.h
<<\EOF
8525 cat >> confdefs.h
<<\EOF
8526 #define __WINDOWS__ 1
8529 cat >> confdefs.h
<<\EOF
8530 #define __GNUWIN32__ 1
8533 cat >> confdefs.h
<<\EOF
8537 cat >> confdefs.h
<<\EOF
8538 #define WINVER 0x0400
8542 if test "$doesnt_want_win32" = 1 ; then
8547 if test "$USE_UNIX" = 1 ; then
8549 cat >> confdefs.h
<<\EOF
8556 cat > confcache
<<\EOF
8557 # This file is a shell script that caches the results of configure
8558 # tests run on this system so they can be shared between configure
8559 # scripts and configure runs. It is not useful on other systems.
8560 # If it contains results you don't want to keep, you may remove or edit it.
8562 # By default, configure uses ./config.cache as the cache file,
8563 # creating it if it does not exist already. You can give configure
8564 # the --cache-file=FILE option to use a different cache file; that is
8565 # what configure does when it calls configure scripts in
8566 # subdirectories, so they share the cache.
8567 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8568 # config.status only pays attention to the cache file if you give it the
8569 # --recheck option to rerun configure.
8572 # The following way of writing the cache mishandles newlines in values,
8573 # but we know of no workaround that is simple, portable, and efficient.
8574 # So, don't put newlines in cache variables' values.
8575 # Ultrix sh set writes to stderr and can't be redirected directly,
8576 # and sets the high bit in the cache file unless we assign to the vars.
8578 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8580 # `set' does not quote correctly, so add quotes (double-quote substitution
8581 # turns \\\\ into \\, and sed turns \\ into \).
8583 -e "s/'/'\\\\''/g" \
8584 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8587 # `set' quotes correctly as required by POSIX, so do not add quotes.
8588 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8591 if cmp -s $cache_file confcache
; then
8594 if test -w $cache_file; then
8595 echo "updating cache $cache_file"
8596 cat confcache
> $cache_file
8598 echo "not updating unwritable cache $cache_file"
8604 if test "$build" != "$host" ; then
8605 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8609 RANLIB
=$host_alias-ranlib
8610 DLLTOOL
=$host_alias-dlltool
8611 RESCOMP
=$host_alias-windres
8614 STRIP
=$host_alias-strip
8616 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8621 # Extract the first word of "gcc", so it can be a program name with args.
8622 set dummy gcc
; ac_word
=$2
8623 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8624 echo "configure:8625: checking for $ac_word" >&5
8625 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8626 echo $ac_n "(cached) $ac_c" 1>&6
8628 if test -n "$CC"; then
8629 ac_cv_prog_CC
="$CC" # Let the user override the test.
8631 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8633 for ac_dir
in $ac_dummy; do
8634 test -z "$ac_dir" && ac_dir
=.
8635 if test -f $ac_dir/$ac_word; then
8644 if test -n "$CC"; then
8645 echo "$ac_t""$CC" 1>&6
8647 echo "$ac_t""no" 1>&6
8650 if test -z "$CC"; then
8651 # Extract the first word of "cc", so it can be a program name with args.
8652 set dummy cc
; ac_word
=$2
8653 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8654 echo "configure:8655: checking for $ac_word" >&5
8655 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8656 echo $ac_n "(cached) $ac_c" 1>&6
8658 if test -n "$CC"; then
8659 ac_cv_prog_CC
="$CC" # Let the user override the test.
8661 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8664 for ac_dir
in $ac_dummy; do
8665 test -z "$ac_dir" && ac_dir
=.
8666 if test -f $ac_dir/$ac_word; then
8667 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8668 ac_prog_rejected
=yes
8676 if test $ac_prog_rejected = yes; then
8677 # We found a bogon in the path, so make sure we never use it.
8678 set dummy
$ac_cv_prog_CC
8680 if test $# -gt 0; then
8681 # We chose a different compiler from the bogus one.
8682 # However, it has the same basename, so the bogon will be chosen
8683 # first if we set CC to just the basename; use the full file name.
8685 set dummy
"$ac_dir/$ac_word" "$@"
8693 if test -n "$CC"; then
8694 echo "$ac_t""$CC" 1>&6
8696 echo "$ac_t""no" 1>&6
8699 if test -z "$CC"; then
8700 case "`uname -s`" in
8702 # Extract the first word of "cl", so it can be a program name with args.
8703 set dummy cl
; ac_word
=$2
8704 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8705 echo "configure:8706: checking for $ac_word" >&5
8706 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8707 echo $ac_n "(cached) $ac_c" 1>&6
8709 if test -n "$CC"; then
8710 ac_cv_prog_CC
="$CC" # Let the user override the test.
8712 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8714 for ac_dir
in $ac_dummy; do
8715 test -z "$ac_dir" && ac_dir
=.
8716 if test -f $ac_dir/$ac_word; then
8725 if test -n "$CC"; then
8726 echo "$ac_t""$CC" 1>&6
8728 echo "$ac_t""no" 1>&6
8733 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8736 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8737 echo "configure:8738: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8740 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8741 ac_cpp
='$CPP $CPPFLAGS'
8742 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8743 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8744 cross_compiling
=$ac_cv_prog_cc_cross
8746 cat > conftest.
$ac_ext << EOF
8748 #line 8749 "configure"
8749 #include "confdefs.h"
8753 if { (eval echo configure
:8754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8754 ac_cv_prog_cc_works
=yes
8755 # If we can't run a trivial program, we are probably using a cross compiler.
8756 if (.
/conftest
; exit) 2>/dev
/null
; then
8757 ac_cv_prog_cc_cross
=no
8759 ac_cv_prog_cc_cross
=yes
8762 echo "configure: failed program was:" >&5
8763 cat conftest.
$ac_ext >&5
8764 ac_cv_prog_cc_works
=no
8768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8769 ac_cpp
='$CPP $CPPFLAGS'
8770 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8771 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8772 cross_compiling
=$ac_cv_prog_cc_cross
8774 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8775 if test $ac_cv_prog_cc_works = no
; then
8776 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8778 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8779 echo "configure:8780: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8780 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8781 cross_compiling
=$ac_cv_prog_cc_cross
8783 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8784 echo "configure:8785: checking whether we are using GNU C" >&5
8785 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8786 echo $ac_n "(cached) $ac_c" 1>&6
8788 cat > conftest.c
<<EOF
8793 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8800 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8802 if test $ac_cv_prog_gcc = yes; then
8808 ac_test_CFLAGS
="${CFLAGS+set}"
8809 ac_save_CFLAGS
="$CFLAGS"
8811 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8812 echo "configure:8813: checking whether ${CC-cc} accepts -g" >&5
8813 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8814 echo $ac_n "(cached) $ac_c" 1>&6
8816 echo 'void f(){}' > conftest.c
8817 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8826 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8827 if test "$ac_test_CFLAGS" = set; then
8828 CFLAGS
="$ac_save_CFLAGS"
8829 elif test $ac_cv_prog_cc_g = yes; then
8830 if test "$GCC" = yes; then
8836 if test "$GCC" = yes; then
8844 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8845 echo "configure:8846: checking how to run the C preprocessor" >&5
8846 # On Suns, sometimes $CPP names a directory.
8847 if test -n "$CPP" && test -d "$CPP"; then
8850 if test -z "$CPP"; then
8851 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8852 echo $ac_n "(cached) $ac_c" 1>&6
8854 # This must be in double quotes, not single quotes, because CPP may get
8855 # substituted into the Makefile and "${CC-cc}" will confuse make.
8857 # On the NeXT, cc -E runs the code through the compiler's parser,
8858 # not just through cpp.
8859 cat > conftest.
$ac_ext <<EOF
8860 #line 8861 "configure"
8861 #include "confdefs.h"
8865 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8866 { (eval echo configure
:8867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8867 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8868 if test -z "$ac_err"; then
8872 echo "configure: failed program was:" >&5
8873 cat conftest.
$ac_ext >&5
8875 CPP
="${CC-cc} -E -traditional-cpp"
8876 cat > conftest.
$ac_ext <<EOF
8877 #line 8878 "configure"
8878 #include "confdefs.h"
8882 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8883 { (eval echo configure
:8884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8884 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8885 if test -z "$ac_err"; then
8889 echo "configure: failed program was:" >&5
8890 cat conftest.
$ac_ext >&5
8892 CPP
="${CC-cc} -nologo -E"
8893 cat > conftest.
$ac_ext <<EOF
8894 #line 8895 "configure"
8895 #include "confdefs.h"
8899 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8900 { (eval echo configure
:8901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8901 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8902 if test -z "$ac_err"; then
8906 echo "configure: failed program was:" >&5
8907 cat conftest.
$ac_ext >&5
8916 ac_cv_prog_CPP
="$CPP"
8918 CPP
="$ac_cv_prog_CPP"
8920 ac_cv_prog_CPP
="$CPP"
8922 echo "$ac_t""$CPP" 1>&6
8924 if test $ac_cv_prog_gcc = yes; then
8925 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8926 echo "configure:8927: checking whether ${CC-cc} needs -traditional" >&5
8927 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8928 echo $ac_n "(cached) $ac_c" 1>&6
8930 ac_pattern
="Autoconf.*'x'"
8931 cat > conftest.
$ac_ext <<EOF
8932 #line 8933 "configure"
8933 #include "confdefs.h"
8937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8938 egrep "$ac_pattern" >/dev
/null
2>&1; then
8940 ac_cv_prog_gcc_traditional
=yes
8943 ac_cv_prog_gcc_traditional
=no
8948 if test $ac_cv_prog_gcc_traditional = no
; then
8949 cat > conftest.
$ac_ext <<EOF
8950 #line 8951 "configure"
8951 #include "confdefs.h"
8955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8956 egrep "$ac_pattern" >/dev
/null
2>&1; then
8958 ac_cv_prog_gcc_traditional
=yes
8965 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8966 if test $ac_cv_prog_gcc_traditional = yes; then
8967 CC
="$CC -traditional"
8974 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8975 ac_cpp
='$CXXCPP $CPPFLAGS'
8976 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8977 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8978 cross_compiling
=$ac_cv_prog_cxx_cross
8981 CXXFLAGS
=${CXXFLAGS:=}
8982 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8984 # Extract the first word of "$ac_prog", so it can be a program name with args.
8985 set dummy
$ac_prog; ac_word
=$2
8986 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8987 echo "configure:8988: checking for $ac_word" >&5
8988 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8989 echo $ac_n "(cached) $ac_c" 1>&6
8991 if test -n "$CXX"; then
8992 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8994 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8996 for ac_dir
in $ac_dummy; do
8997 test -z "$ac_dir" && ac_dir
=.
8998 if test -f $ac_dir/$ac_word; then
8999 ac_cv_prog_CXX
="$ac_prog"
9006 CXX
="$ac_cv_prog_CXX"
9007 if test -n "$CXX"; then
9008 echo "$ac_t""$CXX" 1>&6
9010 echo "$ac_t""no" 1>&6
9013 test -n "$CXX" && break
9015 test -n "$CXX" || CXX
="gcc"
9018 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9019 echo "configure:9020: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9023 ac_cpp
='$CXXCPP $CPPFLAGS'
9024 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9025 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9026 cross_compiling
=$ac_cv_prog_cxx_cross
9028 cat > conftest.
$ac_ext << EOF
9030 #line 9031 "configure"
9031 #include "confdefs.h"
9033 int main(){return(0);}
9035 if { (eval echo configure
:9036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9036 ac_cv_prog_cxx_works
=yes
9037 # If we can't run a trivial program, we are probably using a cross compiler.
9038 if (.
/conftest
; exit) 2>/dev
/null
; then
9039 ac_cv_prog_cxx_cross
=no
9041 ac_cv_prog_cxx_cross
=yes
9044 echo "configure: failed program was:" >&5
9045 cat conftest.
$ac_ext >&5
9046 ac_cv_prog_cxx_works
=no
9050 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9051 ac_cpp
='$CXXCPP $CPPFLAGS'
9052 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9053 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9054 cross_compiling
=$ac_cv_prog_cxx_cross
9056 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9057 if test $ac_cv_prog_cxx_works = no
; then
9058 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9060 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9061 echo "configure:9062: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9062 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9063 cross_compiling
=$ac_cv_prog_cxx_cross
9065 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9066 echo "configure:9067: checking whether we are using GNU C++" >&5
9067 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9068 echo $ac_n "(cached) $ac_c" 1>&6
9070 cat > conftest.C
<<EOF
9075 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9082 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9084 if test $ac_cv_prog_gxx = yes; then
9090 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9091 ac_save_CXXFLAGS
="$CXXFLAGS"
9093 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9094 echo "configure:9095: checking whether ${CXX-g++} accepts -g" >&5
9095 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9096 echo $ac_n "(cached) $ac_c" 1>&6
9098 echo 'void f(){}' > conftest.cc
9099 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9100 ac_cv_prog_cxx_g
=yes
9108 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9109 if test "$ac_test_CXXFLAGS" = set; then
9110 CXXFLAGS
="$ac_save_CXXFLAGS"
9111 elif test $ac_cv_prog_cxx_g = yes; then
9112 if test "$GXX" = yes; then
9118 if test "$GXX" = yes; then
9127 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9128 ac_cpp
='$CPP $CPPFLAGS'
9129 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9130 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9131 cross_compiling
=$ac_cv_prog_cc_cross
9134 # Extract the first word of "ranlib", so it can be a program name with args.
9135 set dummy ranlib
; ac_word
=$2
9136 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9137 echo "configure:9138: checking for $ac_word" >&5
9138 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9139 echo $ac_n "(cached) $ac_c" 1>&6
9141 if test -n "$RANLIB"; then
9142 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9144 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9146 for ac_dir
in $ac_dummy; do
9147 test -z "$ac_dir" && ac_dir
=.
9148 if test -f $ac_dir/$ac_word; then
9149 ac_cv_prog_RANLIB
="ranlib"
9154 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9157 RANLIB
="$ac_cv_prog_RANLIB"
9158 if test -n "$RANLIB"; then
9159 echo "$ac_t""$RANLIB" 1>&6
9161 echo "$ac_t""no" 1>&6
9165 # Extract the first word of "ar", so it can be a program name with args.
9166 set dummy
ar; ac_word
=$2
9167 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9168 echo "configure:9169: checking for $ac_word" >&5
9169 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9170 echo $ac_n "(cached) $ac_c" 1>&6
9172 if test -n "$AR"; then
9173 ac_cv_prog_AR
="$AR" # Let the user override the test.
9175 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9177 for ac_dir
in $ac_dummy; do
9178 test -z "$ac_dir" && ac_dir
=.
9179 if test -f $ac_dir/$ac_word; then
9185 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9189 if test -n "$AR"; then
9190 echo "$ac_t""$AR" 1>&6
9192 echo "$ac_t""no" 1>&6
9196 # Find a good install program. We prefer a C program (faster),
9197 # so one script is as good as another. But avoid the broken or
9198 # incompatible versions:
9199 # SysV /etc/install, /usr/sbin/install
9200 # SunOS /usr/etc/install
9201 # IRIX /sbin/install
9203 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9204 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9205 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9206 # ./install, which can be erroneously created by make from ./install.sh.
9207 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9208 echo "configure:9209: checking for a BSD compatible install" >&5
9209 if test -z "$INSTALL"; then
9210 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9211 echo $ac_n "(cached) $ac_c" 1>&6
9213 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9214 for ac_dir
in $PATH; do
9215 # Account for people who put trailing slashes in PATH elements.
9217 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9219 # OSF1 and SCO ODT 3.0 have their own names for install.
9220 # Don't use installbsd from OSF since it installs stuff as root
9222 for ac_prog
in ginstall scoinst
install; do
9223 if test -f $ac_dir/$ac_prog; then
9224 if test $ac_prog = install &&
9225 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9226 # AIX install. It has an incompatible calling convention.
9229 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9240 if test "${ac_cv_path_install+set}" = set; then
9241 INSTALL
="$ac_cv_path_install"
9243 # As a last resort, use the slow shell script. We don't cache a
9244 # path for INSTALL within a source directory, because that will
9245 # break other packages using the cache if that directory is
9246 # removed, or if the path is relative.
9247 INSTALL
="$ac_install_sh"
9250 echo "$ac_t""$INSTALL" 1>&6
9252 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9253 # It thinks the first close brace ends the variable substitution.
9254 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9256 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9258 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9265 INSTALL
=`pwd`/${INSTALL} ;;
9272 INSTALL_PROGRAM
="cp -fp"
9273 INSTALL_DATA
="cp -fp"
9279 # Extract the first word of "strip", so it can be a program name with args.
9280 set dummy strip
; ac_word
=$2
9281 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9282 echo "configure:9283: checking for $ac_word" >&5
9283 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9284 echo $ac_n "(cached) $ac_c" 1>&6
9286 if test -n "$STRIP"; then
9287 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9289 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9291 for ac_dir
in $ac_dummy; do
9292 test -z "$ac_dir" && ac_dir
=.
9293 if test -f $ac_dir/$ac_word; then
9294 ac_cv_prog_STRIP
="strip"
9299 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9302 STRIP
="$ac_cv_prog_STRIP"
9303 if test -n "$STRIP"; then
9304 echo "$ac_t""$STRIP" 1>&6
9306 echo "$ac_t""no" 1>&6
9310 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9311 echo "configure:9312: checking if make is GNU make" >&5
9312 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9313 echo $ac_n "(cached) $ac_c" 1>&6
9316 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9317 egrep -s GNU
> /dev
/null
); then
9318 wx_cv_prog_makeisgnu
="yes"
9320 wx_cv_prog_makeisgnu
="no"
9325 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9327 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9335 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9336 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9337 echo "configure:9338: checking if make supports VPATH" >&5
9338 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9339 echo $ac_n "(cached) $ac_c" 1>&6
9342 cat - << EOF > confMake
9348 if test ! -d sub
; then
9351 echo dummy
> sub
/file
9352 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9354 rm -f sub
/file check final_file confMake
9356 if test "$RESULT" = 0; then
9357 wx_cv_prog_makevpath
="yes"
9359 wx_cv_prog_makevpath
="no"
9364 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9366 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9367 { echo "configure: error:
9368 You need a make-utility that is able to use the variable
9370 If your version of make does not support VPATH correctly,
9371 please install GNU-make (possibly as gmake), and start
9372 configure with the following command:
9373 export MAKE=gmake; ./configure for sh-type shells
9374 setenv MAKE gmake; ./configure for csh-type shells
9375 Also please do remember to use gmake in this case every time
9376 you are trying to compile.
9379 for ac_prog
in 'bison -y' byacc
9381 # Extract the first word of "$ac_prog", so it can be a program name with args.
9382 set dummy
$ac_prog; ac_word
=$2
9383 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9384 echo "configure:9385: checking for $ac_word" >&5
9385 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9386 echo $ac_n "(cached) $ac_c" 1>&6
9388 if test -n "$YACC"; then
9389 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9391 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9393 for ac_dir
in $ac_dummy; do
9394 test -z "$ac_dir" && ac_dir
=.
9395 if test -f $ac_dir/$ac_word; then
9396 ac_cv_prog_YACC
="$ac_prog"
9403 YACC
="$ac_cv_prog_YACC"
9404 if test -n "$YACC"; then
9405 echo "$ac_t""$YACC" 1>&6
9407 echo "$ac_t""no" 1>&6
9410 test -n "$YACC" && break
9412 test -n "$YACC" || YACC
="yacc"
9415 # Extract the first word of "flex", so it can be a program name with args.
9416 set dummy flex
; ac_word
=$2
9417 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9418 echo "configure:9419: checking for $ac_word" >&5
9419 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9420 echo $ac_n "(cached) $ac_c" 1>&6
9422 if test -n "$LEX"; then
9423 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9425 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9427 for ac_dir
in $ac_dummy; do
9428 test -z "$ac_dir" && ac_dir
=.
9429 if test -f $ac_dir/$ac_word; then
9430 ac_cv_prog_LEX
="flex"
9435 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9438 LEX
="$ac_cv_prog_LEX"
9439 if test -n "$LEX"; then
9440 echo "$ac_t""$LEX" 1>&6
9442 echo "$ac_t""no" 1>&6
9445 if test -z "$LEXLIB"
9451 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9452 echo "configure:9453: checking for yywrap in -l$ac_lib" >&5
9453 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9454 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9455 echo $ac_n "(cached) $ac_c" 1>&6
9457 ac_save_LIBS
="$LIBS"
9458 LIBS
="-l$ac_lib $LIBS"
9459 cat > conftest.
$ac_ext <<EOF
9460 #line 9461 "configure"
9461 #include "confdefs.h"
9462 /* Override any gcc2 internal prototype to avoid an error. */
9463 /* We use char because int might match the return type of a gcc2
9464 builtin and then its argument prototype would still apply. */
9471 if { (eval echo configure
:9472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9473 eval "ac_cv_lib_$ac_lib_var=yes"
9475 echo "configure: failed program was:" >&5
9476 cat conftest.
$ac_ext >&5
9478 eval "ac_cv_lib_$ac_lib_var=no"
9481 LIBS
="$ac_save_LIBS"
9484 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9485 echo "$ac_t""yes" 1>&6
9488 echo "$ac_t""no" 1>&6
9494 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9495 echo "configure:9496: checking whether ln -s works" >&5
9496 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9497 echo $ac_n "(cached) $ac_c" 1>&6
9500 if ln -s X conftestdata
2>/dev
/null
9503 ac_cv_prog_LN_S
="ln -s"
9508 LN_S
="$ac_cv_prog_LN_S"
9509 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9510 echo "$ac_t""yes" 1>&6
9512 echo "$ac_t""no" 1>&6
9517 if test "$wxUSE_MAC" != 1; then
9518 for ac_hdr
in strings.h
9520 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9521 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9522 echo "configure:9523: checking for $ac_hdr" >&5
9523 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9524 echo $ac_n "(cached) $ac_c" 1>&6
9526 cat > conftest.
$ac_ext <<EOF
9527 #line 9528 "configure"
9528 #include "confdefs.h"
9531 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9532 { (eval echo configure
:9533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9533 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9534 if test -z "$ac_err"; then
9536 eval "ac_cv_header_$ac_safe=yes"
9539 echo "configure: failed program was:" >&5
9540 cat conftest.
$ac_ext >&5
9542 eval "ac_cv_header_$ac_safe=no"
9546 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9547 echo "$ac_t""yes" 1>&6
9548 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9549 cat >> confdefs.h
<<EOF
9550 #define $ac_tr_hdr 1
9554 echo "$ac_t""no" 1>&6
9560 for ac_hdr
in stdlib.h
9562 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9563 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9564 echo "configure:9565: checking for $ac_hdr" >&5
9565 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9566 echo $ac_n "(cached) $ac_c" 1>&6
9568 cat > conftest.
$ac_ext <<EOF
9569 #line 9570 "configure"
9570 #include "confdefs.h"
9573 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9574 { (eval echo configure
:9575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9575 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9576 if test -z "$ac_err"; then
9578 eval "ac_cv_header_$ac_safe=yes"
9581 echo "configure: failed program was:" >&5
9582 cat conftest.
$ac_ext >&5
9584 eval "ac_cv_header_$ac_safe=no"
9588 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9589 echo "$ac_t""yes" 1>&6
9590 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9591 cat >> confdefs.h
<<EOF
9592 #define $ac_tr_hdr 1
9596 echo "$ac_t""no" 1>&6
9600 for ac_hdr
in malloc.h
9602 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9603 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9604 echo "configure:9605: checking for $ac_hdr" >&5
9605 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9606 echo $ac_n "(cached) $ac_c" 1>&6
9608 cat > conftest.
$ac_ext <<EOF
9609 #line 9610 "configure"
9610 #include "confdefs.h"
9613 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9614 { (eval echo configure
:9615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9615 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9616 if test -z "$ac_err"; then
9618 eval "ac_cv_header_$ac_safe=yes"
9621 echo "configure: failed program was:" >&5
9622 cat conftest.
$ac_ext >&5
9624 eval "ac_cv_header_$ac_safe=no"
9628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9629 echo "$ac_t""yes" 1>&6
9630 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9631 cat >> confdefs.h
<<EOF
9632 #define $ac_tr_hdr 1
9636 echo "$ac_t""no" 1>&6
9640 for ac_hdr
in unistd.h
9642 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9643 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9644 echo "configure:9645: checking for $ac_hdr" >&5
9645 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9646 echo $ac_n "(cached) $ac_c" 1>&6
9648 cat > conftest.
$ac_ext <<EOF
9649 #line 9650 "configure"
9650 #include "confdefs.h"
9653 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9654 { (eval echo configure
:9655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9655 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9656 if test -z "$ac_err"; then
9658 eval "ac_cv_header_$ac_safe=yes"
9661 echo "configure: failed program was:" >&5
9662 cat conftest.
$ac_ext >&5
9664 eval "ac_cv_header_$ac_safe=no"
9668 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9669 echo "$ac_t""yes" 1>&6
9670 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9671 cat >> confdefs.h
<<EOF
9672 #define $ac_tr_hdr 1
9676 echo "$ac_t""no" 1>&6
9680 for ac_hdr
in wchar.h
9682 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9683 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9684 echo "configure:9685: checking for $ac_hdr" >&5
9685 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9686 echo $ac_n "(cached) $ac_c" 1>&6
9688 cat > conftest.
$ac_ext <<EOF
9689 #line 9690 "configure"
9690 #include "confdefs.h"
9693 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9694 { (eval echo configure
:9695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9695 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9696 if test -z "$ac_err"; then
9698 eval "ac_cv_header_$ac_safe=yes"
9701 echo "configure: failed program was:" >&5
9702 cat conftest.
$ac_ext >&5
9704 eval "ac_cv_header_$ac_safe=no"
9708 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9709 echo "$ac_t""yes" 1>&6
9710 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9711 cat >> confdefs.h
<<EOF
9712 #define $ac_tr_hdr 1
9716 echo "$ac_t""no" 1>&6
9721 if test "$ac_cv_header_wchar_h" != "yes"; then
9722 for ac_hdr
in wcstr.h
9724 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9725 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9726 echo "configure:9727: checking for $ac_hdr" >&5
9727 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9728 echo $ac_n "(cached) $ac_c" 1>&6
9730 cat > conftest.
$ac_ext <<EOF
9731 #line 9732 "configure"
9732 #include "confdefs.h"
9735 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9736 { (eval echo configure
:9737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9737 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9738 if test -z "$ac_err"; then
9740 eval "ac_cv_header_$ac_safe=yes"
9743 echo "configure: failed program was:" >&5
9744 cat conftest.
$ac_ext >&5
9746 eval "ac_cv_header_$ac_safe=no"
9750 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9751 echo "$ac_t""yes" 1>&6
9752 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9753 cat >> confdefs.h
<<EOF
9754 #define $ac_tr_hdr 1
9758 echo "$ac_t""no" 1>&6
9765 for ac_hdr
in fnmatch.h
9767 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9768 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9769 echo "configure:9770: checking for $ac_hdr" >&5
9770 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9771 echo $ac_n "(cached) $ac_c" 1>&6
9773 cat > conftest.
$ac_ext <<EOF
9774 #line 9775 "configure"
9775 #include "confdefs.h"
9778 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9779 { (eval echo configure
:9780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9780 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9781 if test -z "$ac_err"; then
9783 eval "ac_cv_header_$ac_safe=yes"
9786 echo "configure: failed program was:" >&5
9787 cat conftest.
$ac_ext >&5
9789 eval "ac_cv_header_$ac_safe=no"
9793 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9794 echo "$ac_t""yes" 1>&6
9795 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9796 cat >> confdefs.h
<<EOF
9797 #define $ac_tr_hdr 1
9801 echo "$ac_t""no" 1>&6
9806 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9807 for ac_func
in fnmatch
9809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9810 echo "configure:9811: checking for $ac_func" >&5
9811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9812 echo $ac_n "(cached) $ac_c" 1>&6
9814 cat > conftest.
$ac_ext <<EOF
9815 #line 9816 "configure"
9816 #include "confdefs.h"
9817 /* System header to define __stub macros and hopefully few prototypes,
9818 which can conflict with char $ac_func(); below. */
9820 /* Override any gcc2 internal prototype to avoid an error. */
9821 /* We use char because int might match the return type of a gcc2
9822 builtin and then its argument prototype would still apply. */
9827 /* The GNU C library defines this for functions which it implements
9828 to always fail with ENOSYS. Some functions are actually named
9829 something starting with __ and the normal name is an alias. */
9830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9838 if { (eval echo configure
:9839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9840 eval "ac_cv_func_$ac_func=yes"
9842 echo "configure: failed program was:" >&5
9843 cat conftest.
$ac_ext >&5
9845 eval "ac_cv_func_$ac_func=no"
9850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9851 echo "$ac_t""yes" 1>&6
9852 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9853 cat >> confdefs.h
<<EOF
9854 #define $ac_tr_func 1
9858 echo "$ac_t""no" 1>&6
9864 for ac_hdr
in langinfo.h
9866 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9867 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9868 echo "configure:9869: checking for $ac_hdr" >&5
9869 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9870 echo $ac_n "(cached) $ac_c" 1>&6
9872 cat > conftest.
$ac_ext <<EOF
9873 #line 9874 "configure"
9874 #include "confdefs.h"
9877 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9878 { (eval echo configure
:9879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9879 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9880 if test -z "$ac_err"; then
9882 eval "ac_cv_header_$ac_safe=yes"
9885 echo "configure: failed program was:" >&5
9886 cat conftest.
$ac_ext >&5
9888 eval "ac_cv_header_$ac_safe=no"
9892 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9893 echo "$ac_t""yes" 1>&6
9894 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9895 cat >> confdefs.h
<<EOF
9896 #define $ac_tr_hdr 1
9900 echo "$ac_t""no" 1>&6
9905 if test "$wxUSE_GUI" = "yes"; then
9906 if test "$wxUSE_UNIX" = "yes"; then
9907 for ac_hdr
in X
11/XKBlib.h
9909 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9910 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9911 echo "configure:9912: checking for $ac_hdr" >&5
9912 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9913 echo $ac_n "(cached) $ac_c" 1>&6
9915 cat > conftest.
$ac_ext <<EOF
9916 #line 9917 "configure"
9917 #include "confdefs.h"
9920 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9921 { (eval echo configure
:9922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9922 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9923 if test -z "$ac_err"; then
9925 eval "ac_cv_header_$ac_safe=yes"
9928 echo "configure: failed program was:" >&5
9929 cat conftest.
$ac_ext >&5
9931 eval "ac_cv_header_$ac_safe=no"
9935 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9936 echo "$ac_t""yes" 1>&6
9937 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9938 cat >> confdefs.h
<<EOF
9939 #define $ac_tr_hdr 1
9943 echo "$ac_t""no" 1>&6
9951 echo $ac_n "checking for working const""... $ac_c" 1>&6
9952 echo "configure:9953: checking for working const" >&5
9953 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9954 echo $ac_n "(cached) $ac_c" 1>&6
9956 cat > conftest.
$ac_ext <<EOF
9957 #line 9958 "configure"
9958 #include "confdefs.h"
9962 /* Ultrix mips cc rejects this. */
9963 typedef int charset[2]; const charset x;
9964 /* SunOS 4.1.1 cc rejects this. */
9965 char const *const *ccp;
9967 /* NEC SVR4.0.2 mips cc rejects this. */
9968 struct point {int x, y;};
9969 static struct point const zero = {0,0};
9970 /* AIX XL C 1.02.0.0 rejects this.
9971 It does not let you subtract one const X* pointer from another in an arm
9972 of an if-expression whose if-part is not a constant expression */
9973 const char *g = "string";
9974 ccp = &g + (g ? g-g : 0);
9975 /* HPUX 7.0 cc rejects these. */
9978 ccp = (char const *const *) p;
9979 { /* SCO 3.2v4 cc rejects this. */
9981 char const *s = 0 ? (char *) 0 : (char const *) 0;
9985 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9987 const int *foo = &x[0];
9990 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9991 typedef const int *iptr;
9995 { /* AIX XL C 1.02.0.0 rejects this saying
9996 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9997 struct s { int j; const int *ap[3]; };
9998 struct s *b; b->j = 5;
10000 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10001 const int foo = 10;
10006 if { (eval echo configure
:10007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10010 echo "configure: failed program was:" >&5
10011 cat conftest.
$ac_ext >&5
10018 echo "$ac_t""$ac_cv_c_const" 1>&6
10019 if test $ac_cv_c_const = no
; then
10020 cat >> confdefs.h
<<\EOF
10026 echo $ac_n "checking for inline""... $ac_c" 1>&6
10027 echo "configure:10028: checking for inline" >&5
10028 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10029 echo $ac_n "(cached) $ac_c" 1>&6
10032 for ac_kw
in inline __inline__ __inline
; do
10033 cat > conftest.
$ac_ext <<EOF
10034 #line 10035 "configure"
10035 #include "confdefs.h"
10041 if { (eval echo configure
:10042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10043 ac_cv_c_inline
=$ac_kw; break
10045 echo "configure: failed program was:" >&5
10046 cat conftest.
$ac_ext >&5
10053 echo "$ac_t""$ac_cv_c_inline" 1>&6
10054 case "$ac_cv_c_inline" in
10056 no
) cat >> confdefs.h
<<\EOF
10060 *) cat >> confdefs.h
<<EOF
10061 #define inline $ac_cv_c_inline
10067 echo $ac_n "checking size of char""... $ac_c" 1>&6
10068 echo "configure:10069: checking size of char" >&5
10069 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10070 echo $ac_n "(cached) $ac_c" 1>&6
10072 if test "$cross_compiling" = yes; then
10073 ac_cv_sizeof_char
=1
10075 cat > conftest.
$ac_ext <<EOF
10076 #line 10077 "configure"
10077 #include "confdefs.h"
10079 #include <sys/types.h>
10082 FILE *f=fopen("conftestval", "w");
10084 fprintf(f, "%d\n", sizeof(char));
10088 if { (eval echo configure
:10089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10090 ac_cv_sizeof_char
=`cat conftestval`
10092 echo "configure: failed program was:" >&5
10093 cat conftest.
$ac_ext >&5
10095 ac_cv_sizeof_char
=0
10101 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10102 cat >> confdefs.h
<<EOF
10103 #define SIZEOF_CHAR $ac_cv_sizeof_char
10107 echo $ac_n "checking size of short""... $ac_c" 1>&6
10108 echo "configure:10109: checking size of short" >&5
10109 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10110 echo $ac_n "(cached) $ac_c" 1>&6
10112 if test "$cross_compiling" = yes; then
10113 ac_cv_sizeof_short
=2
10115 cat > conftest.
$ac_ext <<EOF
10116 #line 10117 "configure"
10117 #include "confdefs.h"
10119 #include <sys/types.h>
10122 FILE *f=fopen("conftestval", "w");
10124 fprintf(f, "%d\n", sizeof(short));
10128 if { (eval echo configure
:10129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10130 ac_cv_sizeof_short
=`cat conftestval`
10132 echo "configure: failed program was:" >&5
10133 cat conftest.
$ac_ext >&5
10135 ac_cv_sizeof_short
=0
10141 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10142 cat >> confdefs.h
<<EOF
10143 #define SIZEOF_SHORT $ac_cv_sizeof_short
10147 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10148 echo "configure:10149: checking size of void *" >&5
10149 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10150 echo $ac_n "(cached) $ac_c" 1>&6
10152 if test "$cross_compiling" = yes; then
10153 ac_cv_sizeof_void_p
=4
10155 cat > conftest.
$ac_ext <<EOF
10156 #line 10157 "configure"
10157 #include "confdefs.h"
10159 #include <sys/types.h>
10162 FILE *f=fopen("conftestval", "w");
10164 fprintf(f, "%d\n", sizeof(void *));
10168 if { (eval echo configure
:10169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10170 ac_cv_sizeof_void_p
=`cat conftestval`
10172 echo "configure: failed program was:" >&5
10173 cat conftest.
$ac_ext >&5
10175 ac_cv_sizeof_void_p
=0
10181 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10182 cat >> confdefs.h
<<EOF
10183 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10187 echo $ac_n "checking size of int""... $ac_c" 1>&6
10188 echo "configure:10189: checking size of int" >&5
10189 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10190 echo $ac_n "(cached) $ac_c" 1>&6
10192 if test "$cross_compiling" = yes; then
10195 cat > conftest.
$ac_ext <<EOF
10196 #line 10197 "configure"
10197 #include "confdefs.h"
10199 #include <sys/types.h>
10202 FILE *f=fopen("conftestval", "w");
10204 fprintf(f, "%d\n", sizeof(int));
10208 if { (eval echo configure
:10209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10210 ac_cv_sizeof_int
=`cat conftestval`
10212 echo "configure: failed program was:" >&5
10213 cat conftest.
$ac_ext >&5
10221 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10222 cat >> confdefs.h
<<EOF
10223 #define SIZEOF_INT $ac_cv_sizeof_int
10227 echo $ac_n "checking size of long""... $ac_c" 1>&6
10228 echo "configure:10229: checking size of long" >&5
10229 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10230 echo $ac_n "(cached) $ac_c" 1>&6
10232 if test "$cross_compiling" = yes; then
10233 ac_cv_sizeof_long
=4
10235 cat > conftest.
$ac_ext <<EOF
10236 #line 10237 "configure"
10237 #include "confdefs.h"
10239 #include <sys/types.h>
10242 FILE *f=fopen("conftestval", "w");
10244 fprintf(f, "%d\n", sizeof(long));
10248 if { (eval echo configure
:10249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10250 ac_cv_sizeof_long
=`cat conftestval`
10252 echo "configure: failed program was:" >&5
10253 cat conftest.
$ac_ext >&5
10255 ac_cv_sizeof_long
=0
10261 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10262 cat >> confdefs.h
<<EOF
10263 #define SIZEOF_LONG $ac_cv_sizeof_long
10270 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10271 echo "configure:10272: checking size of long long" >&5
10272 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10273 echo $ac_n "(cached) $ac_c" 1>&6
10275 if test "$cross_compiling" = yes; then
10276 ac_cv_sizeof_long_long
=8
10278 cat > conftest.
$ac_ext <<EOF
10279 #line 10280 "configure"
10280 #include "confdefs.h"
10282 #include <sys/types.h>
10285 FILE *f=fopen("conftestval", "w");
10287 fprintf(f, "%d\n", sizeof(long long));
10291 if { (eval echo configure
:10292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10293 ac_cv_sizeof_long_long
=`cat conftestval`
10295 echo "configure: failed program was:" >&5
10296 cat conftest.
$ac_ext >&5
10298 ac_cv_sizeof_long_long
=0
10304 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10305 cat >> confdefs.h
<<EOF
10306 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10312 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10313 echo "configure:10314: checking size of long long" >&5
10314 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10315 echo $ac_n "(cached) $ac_c" 1>&6
10317 if test "$cross_compiling" = yes; then
10318 ac_cv_sizeof_long_long
=0
10320 cat > conftest.
$ac_ext <<EOF
10321 #line 10322 "configure"
10322 #include "confdefs.h"
10324 #include <sys/types.h>
10327 FILE *f=fopen("conftestval", "w");
10329 fprintf(f, "%d\n", sizeof(long long));
10333 if { (eval echo configure
:10334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10335 ac_cv_sizeof_long_long
=`cat conftestval`
10337 echo "configure: failed program was:" >&5
10338 cat conftest.
$ac_ext >&5
10340 ac_cv_sizeof_long_long
=0
10346 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10347 cat >> confdefs.h
<<EOF
10348 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10354 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10355 echo "configure:10356: checking size of wchar_t" >&5
10356 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10357 echo $ac_n "(cached) $ac_c" 1>&6
10360 if test "$cross_compiling" = yes; then
10361 wx_cv_sizeof_wchar_t
=4
10364 cat > conftest.
$ac_ext <<EOF
10365 #line 10366 "configure"
10366 #include "confdefs.h"
10368 #ifdef HAVE_WCHAR_H
10370 # include <stddef.h>
10372 # include <wchar.h>
10374 #ifdef HAVE_STDLIB_H
10375 # include <stdlib.h>
10380 FILE *f=fopen("conftestval", "w");
10382 fprintf(f, "%i", sizeof(wchar_t));
10387 if { (eval echo configure
:10388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10389 wx_cv_sizeof_wchar_t
=`cat conftestval`
10391 echo "configure: failed program was:" >&5
10392 cat conftest.
$ac_ext >&5
10394 wx_cv_sizeof_wchar_t
=0
10402 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10404 cat >> confdefs.h
<<EOF
10405 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10409 # Check whether --enable-largefile or --disable-largefile was given.
10410 if test "${enable_largefile+set}" = set; then
10411 enableval
="$enable_largefile"
10415 if test "$enable_largefile" != no
; then
10418 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10419 echo "configure:10420: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10420 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10421 echo $ac_n "(cached) $ac_c" 1>&6
10424 cat > conftest.
$ac_ext <<EOF
10425 #line 10426 "configure"
10426 #include "confdefs.h"
10427 #define _FILE_OFFSET_BITS 64
10428 #include <sys/types.h>
10431 unsigned int field: sizeof(off_t) == 8;
10436 if { (eval echo configure
:10437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10438 ac_cv_sys_file_offset_bits
=64
10440 echo "configure: failed program was:" >&5
10441 cat conftest.
$ac_ext >&5
10443 ac_cv_sys_file_offset_bits
=no
10450 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10452 if test "$ac_cv_sys_file_offset_bits" != no
; then
10454 cat >> confdefs.h
<<EOF
10455 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10460 if test "x$wx_largefile" != "xyes"; then
10462 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10463 echo "configure:10464: checking for _LARGE_FILES value needed for large files" >&5
10464 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10465 echo $ac_n "(cached) $ac_c" 1>&6
10468 cat > conftest.
$ac_ext <<EOF
10469 #line 10470 "configure"
10470 #include "confdefs.h"
10471 #define _LARGE_FILES 1
10472 #include <sys/types.h>
10475 unsigned int field: sizeof(off_t) == 8;
10480 if { (eval echo configure
:10481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10482 ac_cv_sys_large_files
=1
10484 echo "configure: failed program was:" >&5
10485 cat conftest.
$ac_ext >&5
10487 ac_cv_sys_large_files
=no
10494 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10496 if test "$ac_cv_sys_large_files" != no
; then
10498 cat >> confdefs.h
<<EOF
10499 #define _LARGE_FILES $ac_cv_sys_large_files
10506 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10507 echo "configure:10508: checking if large file support is available" >&5
10508 if test "x$wx_largefile" = "xyes"; then
10509 cat >> confdefs.h
<<\EOF
10510 #define HAVE_LARGEFILE_SUPPORT 1
10514 echo "$ac_t""$wx_largefile" 1>&6
10518 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10519 echo "configure:10520: checking whether byte ordering is bigendian" >&5
10520 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10521 echo $ac_n "(cached) $ac_c" 1>&6
10523 ac_cv_c_bigendian
=unknown
10524 # See if sys/param.h defines the BYTE_ORDER macro.
10525 cat > conftest.
$ac_ext <<EOF
10526 #line 10527 "configure"
10527 #include "confdefs.h"
10528 #include <sys/types.h>
10529 #include <sys/param.h>
10532 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10533 bogus endian macros
10537 if { (eval echo configure
:10538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10539 # It does; now see whether it defined to BIG_ENDIAN or not.
10540 cat > conftest.
$ac_ext <<EOF
10541 #line 10542 "configure"
10542 #include "confdefs.h"
10543 #include <sys/types.h>
10544 #include <sys/param.h>
10547 #if BYTE_ORDER != BIG_ENDIAN
10552 if { (eval echo configure
:10553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10554 ac_cv_c_bigendian
=yes
10556 echo "configure: failed program was:" >&5
10557 cat conftest.
$ac_ext >&5
10559 ac_cv_c_bigendian
=no
10563 echo "configure: failed program was:" >&5
10564 cat conftest.
$ac_ext >&5
10567 if test $ac_cv_c_bigendian = unknown
; then
10568 if test "$cross_compiling" = yes; then
10569 ac_cv_c_bigendian
=unknown
10571 cat > conftest.
$ac_ext <<EOF
10572 #line 10573 "configure"
10573 #include "confdefs.h"
10575 /* Are we little or big endian? From Harbison&Steele. */
10579 char c[sizeof (long)];
10582 exit (u.c[sizeof (long) - 1] == 1);
10585 if { (eval echo configure
:10586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10587 ac_cv_c_bigendian
=no
10589 echo "configure: failed program was:" >&5
10590 cat conftest.
$ac_ext >&5
10592 ac_cv_c_bigendian
=yes
10600 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10601 if test $ac_cv_c_bigendian = unknown
; then
10602 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
10604 if test $ac_cv_c_bigendian = yes; then
10605 cat >> confdefs.h
<<\EOF
10606 #define WORDS_BIGENDIAN 1
10612 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10613 echo "configure:10614: checking how to run the C++ preprocessor" >&5
10614 if test -z "$CXXCPP"; then
10615 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10616 echo $ac_n "(cached) $ac_c" 1>&6
10619 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10620 ac_cpp
='$CXXCPP $CPPFLAGS'
10621 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10622 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10623 cross_compiling
=$ac_cv_prog_cxx_cross
10624 CXXCPP
="${CXX-g++} -E"
10625 cat > conftest.
$ac_ext <<EOF
10626 #line 10627 "configure"
10627 #include "confdefs.h"
10628 #include <stdlib.h>
10630 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10631 { (eval echo configure
:10632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10632 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10633 if test -z "$ac_err"; then
10637 echo "configure: failed program was:" >&5
10638 cat conftest.
$ac_ext >&5
10643 ac_cv_prog_CXXCPP
="$CXXCPP"
10645 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10646 ac_cpp
='$CXXCPP $CPPFLAGS'
10647 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10648 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10649 cross_compiling
=$ac_cv_prog_cxx_cross
10652 CXXCPP
="$ac_cv_prog_CXXCPP"
10653 echo "$ac_t""$CXXCPP" 1>&6
10656 if test "$cross_compiling" = "yes"; then
10657 cat >> confdefs.h
<<\EOF
10658 #define wxUSE_IOSTREAMH 1
10664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10665 ac_cpp
='$CXXCPP $CPPFLAGS'
10666 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10667 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10668 cross_compiling
=$ac_cv_prog_cxx_cross
10671 for ac_hdr
in iostream
10673 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10674 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10675 echo "configure:10676: checking for $ac_hdr" >&5
10676 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10677 echo $ac_n "(cached) $ac_c" 1>&6
10679 cat > conftest.
$ac_ext <<EOF
10680 #line 10681 "configure"
10681 #include "confdefs.h"
10684 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10685 { (eval echo configure
:10686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10686 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10687 if test -z "$ac_err"; then
10689 eval "ac_cv_header_$ac_safe=yes"
10692 echo "configure: failed program was:" >&5
10693 cat conftest.
$ac_ext >&5
10695 eval "ac_cv_header_$ac_safe=no"
10699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10700 echo "$ac_t""yes" 1>&6
10701 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10702 cat >> confdefs.h
<<EOF
10703 #define $ac_tr_hdr 1
10707 echo "$ac_t""no" 1>&6
10712 if test "$ac_cv_header_iostream" = "yes" ; then
10715 cat >> confdefs.h
<<\EOF
10716 #define wxUSE_IOSTREAMH 1
10722 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10723 ac_cpp
='$CPP $CPPFLAGS'
10724 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10725 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10726 cross_compiling
=$ac_cv_prog_cc_cross
10732 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10733 echo "configure:10734: checking if C++ compiler supports bool" >&5
10734 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10735 echo $ac_n "(cached) $ac_c" 1>&6
10740 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10741 ac_cpp
='$CXXCPP $CPPFLAGS'
10742 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10743 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10744 cross_compiling
=$ac_cv_prog_cxx_cross
10747 cat > conftest.
$ac_ext <<EOF
10748 #line 10749 "configure"
10749 #include "confdefs.h"
10760 if { (eval echo configure
:10761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10766 echo "configure: failed program was:" >&5
10767 cat conftest.
$ac_ext >&5
10777 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10778 ac_cpp
='$CPP $CPPFLAGS'
10779 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10780 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10781 cross_compiling
=$ac_cv_prog_cc_cross
10786 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10788 if test "$wx_cv_cpp_bool" = "yes"; then
10789 cat >> confdefs.h
<<\EOF
10790 #define HAVE_BOOL 1
10797 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
10798 echo "configure:10799: checking if C++ compiler supports the explicit keyword" >&5
10799 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
10800 echo $ac_n "(cached) $ac_c" 1>&6
10805 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10806 ac_cpp
='$CXXCPP $CPPFLAGS'
10807 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10808 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10809 cross_compiling
=$ac_cv_prog_cxx_cross
10812 cat > conftest.
$ac_ext <<EOF
10813 #line 10814 "configure"
10814 #include "confdefs.h"
10816 class Foo { public: explicit Foo(int) {} };
10824 if { (eval echo configure
:10825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10827 cat > conftest.
$ac_ext <<EOF
10828 #line 10829 "configure"
10829 #include "confdefs.h"
10831 class Foo { public: explicit Foo(int) {} };
10832 static void TakeFoo(const Foo& foo) { }
10841 if { (eval echo configure
:10842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10845 echo "configure: failed program was:" >&5
10846 cat conftest.
$ac_ext >&5
10854 echo "configure: failed program was:" >&5
10855 cat conftest.
$ac_ext >&5
10863 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10864 ac_cpp
='$CPP $CPPFLAGS'
10865 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10866 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10867 cross_compiling
=$ac_cv_prog_cc_cross
10872 echo "$ac_t""$wx_cv_explicit" 1>&6
10874 if test "$wx_cv_explicit" = "yes"; then
10875 cat >> confdefs.h
<<\EOF
10876 #define HAVE_EXPLICIT 1
10884 /usr/local/include \
10886 /usr/Motif-1.2/include \
10887 /usr/Motif-2.1/include \
10889 /usr/include/Motif1.2 \
10890 /opt/xpm/include/X11 \
10891 /opt/GBxpm/include/ \
10892 /opt/GBxpm/X11/include/ \
10894 /usr/Motif1.2/include \
10896 /usr/openwin/include \
10900 /usr/X11R6/include \
10901 /usr/X11R6.4/include \
10902 /usr/X11R5/include \
10903 /usr/X11R4/include \
10905 /usr/include/X11R6 \
10906 /usr/include/X11R5 \
10907 /usr/include/X11R4 \
10909 /usr/local/X11R6/include \
10910 /usr/local/X11R5/include \
10911 /usr/local/X11R4/include \
10913 /usr/local/include/X11R6 \
10914 /usr/local/include/X11R5 \
10915 /usr/local/include/X11R4 \
10919 /usr/local/X11/include \
10920 /usr/local/include/X11 \
10922 /usr/X386/include \
10923 /usr/x386/include \
10924 /usr/XFree86/include/X11 \
10926 X:/XFree86/include \
10927 X:/XFree86/include/X11 \
10930 /usr/local/include/gtk \
10931 /usr/include/glib \
10932 /usr/local/include/glib \
10935 /usr/local/include/qt \
10937 /usr/include/windows \
10938 /usr/include/wine \
10939 /usr/local/include/wine \
10941 /usr/unsupported/include \
10942 /usr/athena/include \
10943 /usr/local/x11r5/include \
10944 /usr/lpp/Xamples/include \
10946 /usr/openwin/share/include \
10950 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
10953 cat > confcache
<<\EOF
10954 # This file is a shell script that caches the results of configure
10955 # tests run on this system so they can be shared between configure
10956 # scripts and configure runs. It is not useful on other systems.
10957 # If it contains results you don't want to keep, you may remove or edit it.
10959 # By default, configure uses ./config.cache as the cache file,
10960 # creating it if it does not exist already. You can give configure
10961 # the --cache-file=FILE option to use a different cache file; that is
10962 # what configure does when it calls configure scripts in
10963 # subdirectories, so they share the cache.
10964 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10965 # config.status only pays attention to the cache file if you give it the
10966 # --recheck option to rerun configure.
10969 # The following way of writing the cache mishandles newlines in values,
10970 # but we know of no workaround that is simple, portable, and efficient.
10971 # So, don't put newlines in cache variables' values.
10972 # Ultrix sh set writes to stderr and can't be redirected directly,
10973 # and sets the high bit in the cache file unless we assign to the vars.
10975 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10977 # `set' does not quote correctly, so add quotes (double-quote substitution
10978 # turns \\\\ into \\, and sed turns \\ into \).
10980 -e "s/'/'\\\\''/g" \
10981 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10984 # `set' quotes correctly as required by POSIX, so do not add quotes.
10985 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10988 if cmp -s $cache_file confcache
; then
10991 if test -w $cache_file; then
10992 echo "updating cache $cache_file"
10993 cat confcache
> $cache_file
10995 echo "not updating unwritable cache $cache_file"
11001 if test "$USE_LINUX" = 1; then
11002 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11003 echo "configure:11004: checking for glibc 2.1 or later" >&5
11004 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11005 echo $ac_n "(cached) $ac_c" 1>&6
11008 cat > conftest.
$ac_ext <<EOF
11009 #line 11010 "configure"
11010 #include "confdefs.h"
11011 #include <features.h>
11014 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11015 #error not glibc2.1
11020 if { (eval echo configure
:11021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11023 wx_cv_lib_glibc21
=yes
11026 echo "configure: failed program was:" >&5
11027 cat conftest.
$ac_ext >&5
11030 wx_cv_lib_glibc21
=no
11038 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11039 if test "$wx_cv_lib_glibc21" = "yes"; then
11040 cat >> confdefs.h
<<\EOF
11041 #define wxHAVE_GLIBC2 1
11047 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11048 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11049 cat >> confdefs.h
<<\EOF
11050 #define _GNU_SOURCE 1
11059 if test "$wxUSE_REGEX" != "no"; then
11060 cat >> confdefs.h
<<\EOF
11061 #define wxUSE_REGEX 1
11065 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11066 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11067 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11068 echo "configure:11069: checking for regex.h" >&5
11069 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11070 echo $ac_n "(cached) $ac_c" 1>&6
11072 cat > conftest.
$ac_ext <<EOF
11073 #line 11074 "configure"
11074 #include "confdefs.h"
11077 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11078 { (eval echo configure
:11079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11079 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11080 if test -z "$ac_err"; then
11082 eval "ac_cv_header_$ac_safe=yes"
11085 echo "configure: failed program was:" >&5
11086 cat conftest.
$ac_ext >&5
11088 eval "ac_cv_header_$ac_safe=no"
11092 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11093 echo "$ac_t""yes" 1>&6
11094 for ac_func
in regcomp
11096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11097 echo "configure:11098: checking for $ac_func" >&5
11098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11099 echo $ac_n "(cached) $ac_c" 1>&6
11101 cat > conftest.
$ac_ext <<EOF
11102 #line 11103 "configure"
11103 #include "confdefs.h"
11104 /* System header to define __stub macros and hopefully few prototypes,
11105 which can conflict with char $ac_func(); below. */
11106 #include <assert.h>
11107 /* Override any gcc2 internal prototype to avoid an error. */
11108 /* We use char because int might match the return type of a gcc2
11109 builtin and then its argument prototype would still apply. */
11114 /* The GNU C library defines this for functions which it implements
11115 to always fail with ENOSYS. Some functions are actually named
11116 something starting with __ and the normal name is an alias. */
11117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11125 if { (eval echo configure
:11126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11127 eval "ac_cv_func_$ac_func=yes"
11129 echo "configure: failed program was:" >&5
11130 cat conftest.
$ac_ext >&5
11132 eval "ac_cv_func_$ac_func=no"
11137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11138 echo "$ac_t""yes" 1>&6
11139 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11140 cat >> confdefs.h
<<EOF
11141 #define $ac_tr_func 1
11145 echo "$ac_t""no" 1>&6
11150 echo "$ac_t""no" 1>&6
11154 if test "x$ac_cv_func_regcomp" != "xyes"; then
11155 if test "$wxUSE_REGEX" = "sys" ; then
11156 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11158 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11159 wxUSE_REGEX
=builtin
11166 if test "$wxUSE_REGEX" = "builtin" ; then
11167 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11174 if test "$wxUSE_ZLIB" != "no" ; then
11175 cat >> confdefs.h
<<\EOF
11176 #define wxUSE_ZLIB 1
11180 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11181 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11182 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11183 echo "configure:11184: checking for zlib.h" >&5
11184 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11185 echo $ac_n "(cached) $ac_c" 1>&6
11187 cat > conftest.
$ac_ext <<EOF
11188 #line 11189 "configure"
11189 #include "confdefs.h"
11192 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11193 { (eval echo configure
:11194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11194 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11195 if test -z "$ac_err"; then
11197 eval "ac_cv_header_$ac_safe=yes"
11200 echo "configure: failed program was:" >&5
11201 cat conftest.
$ac_ext >&5
11203 eval "ac_cv_header_$ac_safe=no"
11207 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11208 echo "$ac_t""yes" 1>&6
11209 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11210 echo "configure:11211: checking for deflate in -lz" >&5
11211 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11212 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11213 echo $ac_n "(cached) $ac_c" 1>&6
11215 ac_save_LIBS
="$LIBS"
11217 cat > conftest.
$ac_ext <<EOF
11218 #line 11219 "configure"
11219 #include "confdefs.h"
11220 /* Override any gcc2 internal prototype to avoid an error. */
11221 /* We use char because int might match the return type of a gcc2
11222 builtin and then its argument prototype would still apply. */
11229 if { (eval echo configure
:11230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11231 eval "ac_cv_lib_$ac_lib_var=yes"
11233 echo "configure: failed program was:" >&5
11234 cat conftest.
$ac_ext >&5
11236 eval "ac_cv_lib_$ac_lib_var=no"
11239 LIBS
="$ac_save_LIBS"
11242 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11243 echo "$ac_t""yes" 1>&6
11246 echo "$ac_t""no" 1>&6
11250 echo "$ac_t""no" 1>&6
11254 if test "x$ZLIB_LINK" = "x" ; then
11255 if test "$wxUSE_ZLIB" = "sys" ; then
11256 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11258 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11266 if test "$wxUSE_ZLIB" = "builtin" ; then
11267 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11274 if test "$wxUSE_LIBPNG" != "no" ; then
11275 cat >> confdefs.h
<<\EOF
11276 #define wxUSE_LIBPNG 1
11280 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11281 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11285 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11286 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11287 wxUSE_LIBPNG
=builtin
11290 if test "$wxUSE_MGL" != 1 ; then
11291 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11292 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11293 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11294 echo "configure:11295: checking for png.h" >&5
11295 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11296 echo $ac_n "(cached) $ac_c" 1>&6
11298 cat > conftest.
$ac_ext <<EOF
11299 #line 11300 "configure"
11300 #include "confdefs.h"
11303 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11304 { (eval echo configure
:11305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11305 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11306 if test -z "$ac_err"; then
11308 eval "ac_cv_header_$ac_safe=yes"
11311 echo "configure: failed program was:" >&5
11312 cat conftest.
$ac_ext >&5
11314 eval "ac_cv_header_$ac_safe=no"
11318 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11319 echo "$ac_t""yes" 1>&6
11320 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11321 echo "configure:11322: checking for png_check_sig in -lpng" >&5
11322 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11323 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11324 echo $ac_n "(cached) $ac_c" 1>&6
11326 ac_save_LIBS
="$LIBS"
11327 LIBS
="-lpng -lz -lm $LIBS"
11328 cat > conftest.
$ac_ext <<EOF
11329 #line 11330 "configure"
11330 #include "confdefs.h"
11331 /* Override any gcc2 internal prototype to avoid an error. */
11332 /* We use char because int might match the return type of a gcc2
11333 builtin and then its argument prototype would still apply. */
11334 char png_check_sig();
11340 if { (eval echo configure
:11341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11342 eval "ac_cv_lib_$ac_lib_var=yes"
11344 echo "configure: failed program was:" >&5
11345 cat conftest.
$ac_ext >&5
11347 eval "ac_cv_lib_$ac_lib_var=no"
11350 LIBS
="$ac_save_LIBS"
11353 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11354 echo "$ac_t""yes" 1>&6
11357 echo "$ac_t""no" 1>&6
11362 echo "$ac_t""no" 1>&6
11366 if test "x$PNG_LINK" = "x" ; then
11367 if test "$wxUSE_LIBPNG" = "sys" ; then
11368 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11370 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11371 wxUSE_LIBPNG
=builtin
11379 if test "$wxUSE_LIBPNG" = "builtin" ; then
11380 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11389 if test "$wxUSE_LIBJPEG" != "no" ; then
11390 cat >> confdefs.h
<<\EOF
11391 #define wxUSE_LIBJPEG 1
11395 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11396 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11400 if test "$wxUSE_MGL" != 1 ; then
11401 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11402 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11403 echo "configure:11404: checking for jpeglib.h" >&5
11404 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11405 echo $ac_n "(cached) $ac_c" 1>&6
11407 cat > conftest.
$ac_ext <<EOF
11408 #line 11409 "configure"
11409 #include "confdefs.h"
11411 #undef HAVE_STDLIB_H
11413 #include <jpeglib.h>
11420 if { (eval echo configure
:11421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11422 ac_cv_header_jpeglib_h
=yes
11424 echo "configure: failed program was:" >&5
11425 cat conftest.
$ac_ext >&5
11427 ac_cv_header_jpeglib_h
=no
11434 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11436 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11437 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11438 echo "configure:11439: checking for jpeg_read_header in -ljpeg" >&5
11439 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11440 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11441 echo $ac_n "(cached) $ac_c" 1>&6
11443 ac_save_LIBS
="$LIBS"
11444 LIBS
="-ljpeg $LIBS"
11445 cat > conftest.
$ac_ext <<EOF
11446 #line 11447 "configure"
11447 #include "confdefs.h"
11448 /* Override any gcc2 internal prototype to avoid an error. */
11449 /* We use char because int might match the return type of a gcc2
11450 builtin and then its argument prototype would still apply. */
11451 char jpeg_read_header();
11457 if { (eval echo configure
:11458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11459 eval "ac_cv_lib_$ac_lib_var=yes"
11461 echo "configure: failed program was:" >&5
11462 cat conftest.
$ac_ext >&5
11464 eval "ac_cv_lib_$ac_lib_var=no"
11467 LIBS
="$ac_save_LIBS"
11470 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11471 echo "$ac_t""yes" 1>&6
11472 JPEG_LINK
=" -ljpeg"
11474 echo "$ac_t""no" 1>&6
11479 if test "x$JPEG_LINK" = "x" ; then
11480 if test "$wxUSE_LIBJPEG" = "sys" ; then
11481 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11483 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11484 wxUSE_LIBJPEG
=builtin
11492 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11493 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11500 if test "$wxUSE_LIBTIFF" != "no" ; then
11501 cat >> confdefs.h
<<\EOF
11502 #define wxUSE_LIBTIFF 1
11506 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11507 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11508 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11509 echo "configure:11510: checking for tiffio.h" >&5
11510 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11511 echo $ac_n "(cached) $ac_c" 1>&6
11513 cat > conftest.
$ac_ext <<EOF
11514 #line 11515 "configure"
11515 #include "confdefs.h"
11516 #include <tiffio.h>
11518 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11519 { (eval echo configure
:11520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11520 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11521 if test -z "$ac_err"; then
11523 eval "ac_cv_header_$ac_safe=yes"
11526 echo "configure: failed program was:" >&5
11527 cat conftest.
$ac_ext >&5
11529 eval "ac_cv_header_$ac_safe=no"
11533 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11534 echo "$ac_t""yes" 1>&6
11535 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11536 echo "configure:11537: checking for TIFFError in -ltiff" >&5
11537 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11538 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11539 echo $ac_n "(cached) $ac_c" 1>&6
11541 ac_save_LIBS
="$LIBS"
11542 LIBS
="-ltiff -lm $LIBS"
11543 cat > conftest.
$ac_ext <<EOF
11544 #line 11545 "configure"
11545 #include "confdefs.h"
11546 /* Override any gcc2 internal prototype to avoid an error. */
11547 /* We use char because int might match the return type of a gcc2
11548 builtin and then its argument prototype would still apply. */
11555 if { (eval echo configure
:11556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11557 eval "ac_cv_lib_$ac_lib_var=yes"
11559 echo "configure: failed program was:" >&5
11560 cat conftest.
$ac_ext >&5
11562 eval "ac_cv_lib_$ac_lib_var=no"
11565 LIBS
="$ac_save_LIBS"
11568 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11569 echo "$ac_t""yes" 1>&6
11570 TIFF_LINK
=" -ltiff"
11572 echo "$ac_t""no" 1>&6
11577 echo "$ac_t""no" 1>&6
11581 if test "x$TIFF_LINK" = "x" ; then
11582 if test "$wxUSE_LIBTIFF" = "sys" ; then
11583 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11585 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11586 wxUSE_LIBTIFF
=builtin
11593 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11594 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11605 if test "$USE_WIN32" = 1 ; then
11606 for ac_hdr
in w32api.h
11608 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11609 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11610 echo "configure:11611: checking for $ac_hdr" >&5
11611 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11612 echo $ac_n "(cached) $ac_c" 1>&6
11614 cat > conftest.
$ac_ext <<EOF
11615 #line 11616 "configure"
11616 #include "confdefs.h"
11619 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11620 { (eval echo configure
:11621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11621 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11622 if test -z "$ac_err"; then
11624 eval "ac_cv_header_$ac_safe=yes"
11627 echo "configure: failed program was:" >&5
11628 cat conftest.
$ac_ext >&5
11630 eval "ac_cv_header_$ac_safe=no"
11634 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11635 echo "$ac_t""yes" 1>&6
11636 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11637 cat >> confdefs.h
<<EOF
11638 #define $ac_tr_hdr 1
11642 echo "$ac_t""no" 1>&6
11646 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11647 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11648 echo "configure:11649: checking for windows.h" >&5
11649 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11650 echo $ac_n "(cached) $ac_c" 1>&6
11652 cat > conftest.
$ac_ext <<EOF
11653 #line 11654 "configure"
11654 #include "confdefs.h"
11655 #include <windows.h>
11657 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11658 { (eval echo configure
:11659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11659 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11660 if test -z "$ac_err"; then
11662 eval "ac_cv_header_$ac_safe=yes"
11665 echo "configure: failed program was:" >&5
11666 cat conftest.
$ac_ext >&5
11668 eval "ac_cv_header_$ac_safe=no"
11672 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11673 echo "$ac_t""yes" 1>&6
11676 echo "$ac_t""no" 1>&6
11678 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11683 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11684 echo "configure:11685: checking if w32api has good enough MSIE support" >&5
11685 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11686 echo $ac_n "(cached) $ac_c" 1>&6
11689 cat > conftest.
$ac_ext <<EOF
11690 #line 11691 "configure"
11691 #include "confdefs.h"
11692 #include <w32api.h>
11695 #define wxCHECK_W32API_VERSION( major, minor ) \
11696 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11697 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11698 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11700 #if !wxCHECK_W32API_VERSION(1,1)
11701 #error You need w32api 1.1 or newer
11706 if { (eval echo configure
:11707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11709 wx_cv_w32api_win32_ie
=yes
11712 echo "configure: failed program was:" >&5
11713 cat conftest.
$ac_ext >&5
11716 wx_cv_w32api_win32_ie
=no
11723 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11724 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11725 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
11728 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11732 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11733 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11736 if test "$wxUSE_ODBC" = "yes" ; then
11737 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
11740 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11741 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
11744 if test "$wxUSE_GUI" = "yes"; then
11753 if test "$wxUSE_MSW" = 1 ; then
11759 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11763 if test "$wxUSE_GTK" = 1; then
11764 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11765 echo "configure:11766: checking for GTK+ version" >&5
11767 gtk_version_cached
=1
11768 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11769 echo $ac_n "(cached) $ac_c" 1>&6
11772 gtk_version_cached
=0
11773 echo "$ac_t""" 1>&6
11776 if test "$wxUSE_THREADS" = "yes"; then
11777 GTK_MODULES
=gthread
11781 if test "x$wxUSE_GTK2" = "xyes"; then
11782 # Check whether --enable-gtktest or --disable-gtktest was given.
11783 if test "${enable_gtktest+set}" = set; then
11784 enableval
="$enable_gtktest"
11791 pkg_config_args
=gtk
+-2.0
11792 for module
in .
$GTK_MODULES
11796 pkg_config_args
="$pkg_config_args gthread-2.0"
11803 # Extract the first word of "pkg-config", so it can be a program name with args.
11804 set dummy pkg
-config; ac_word
=$2
11805 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11806 echo "configure:11807: checking for $ac_word" >&5
11807 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11808 echo $ac_n "(cached) $ac_c" 1>&6
11810 case "$PKG_CONFIG" in
11812 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11815 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
11818 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11820 for ac_dir
in $ac_dummy; do
11821 test -z "$ac_dir" && ac_dir
=.
11822 if test -f $ac_dir/$ac_word; then
11823 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
11828 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11832 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11833 if test -n "$PKG_CONFIG"; then
11834 echo "$ac_t""$PKG_CONFIG" 1>&6
11836 echo "$ac_t""no" 1>&6
11840 if test x
$PKG_CONFIG != xno
; then
11841 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
11844 echo *** pkg
-config too old
; version
0.7 or better required.
11852 min_gtk_version
=2.0.0
11853 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
11854 echo "configure:11855: checking for GTK+ - version >= $min_gtk_version" >&5
11856 if test x
$PKG_CONFIG != xno
; then
11857 ## don't try to run the test against uninstalled libtool libs
11858 if $PKG_CONFIG --uninstalled $pkg_config_args; then
11859 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11863 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11870 if test x
"$no_gtk" = x
; then
11871 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
11872 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
11873 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11875 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11876 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11877 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11879 if test "x$enable_gtktest" = "xyes" ; then
11880 ac_save_CFLAGS
="$CFLAGS"
11881 ac_save_LIBS
="$LIBS"
11882 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11883 LIBS
="$GTK_LIBS $LIBS"
11885 if test "$cross_compiling" = yes; then
11886 echo $ac_n "cross compiling; assumed OK... $ac_c"
11888 cat > conftest.
$ac_ext <<EOF
11889 #line 11890 "configure"
11890 #include "confdefs.h"
11892 #include <gtk/gtk.h>
11894 #include <stdlib.h>
11899 int major, minor, micro;
11902 system ("touch conf.gtktest");
11904 /* HP/UX 9 (%@#!) writes to sscanf strings */
11905 tmp_version = g_strdup("$min_gtk_version");
11906 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11907 printf("%s, bad version string\n", "$min_gtk_version");
11911 if ((gtk_major_version != $gtk_config_major_version) ||
11912 (gtk_minor_version != $gtk_config_minor_version) ||
11913 (gtk_micro_version != $gtk_config_micro_version))
11915 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11916 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11917 gtk_major_version, gtk_minor_version, gtk_micro_version);
11918 printf ("*** was found! If pkg-config was correct, then it is best\n");
11919 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11920 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11921 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11922 printf("*** required on your system.\n");
11923 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
11924 printf("*** to point to the correct configuration files\n");
11926 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11927 (gtk_minor_version != GTK_MINOR_VERSION) ||
11928 (gtk_micro_version != GTK_MICRO_VERSION))
11930 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11931 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11932 printf("*** library (version %d.%d.%d)\n",
11933 gtk_major_version, gtk_minor_version, gtk_micro_version);
11937 if ((gtk_major_version > major) ||
11938 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11939 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11945 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11946 gtk_major_version, gtk_minor_version, gtk_micro_version);
11947 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11948 major, minor, micro);
11949 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11951 printf("*** If you have already installed a sufficiently new version, this error\n");
11952 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
11953 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11954 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
11955 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
11956 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11957 printf("*** so that the correct libraries are found at run-time))\n");
11964 if { (eval echo configure
:11965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11968 echo "configure: failed program was:" >&5
11969 cat conftest.
$ac_ext >&5
11976 CFLAGS
="$ac_save_CFLAGS"
11977 LIBS
="$ac_save_LIBS"
11980 if test "x$no_gtk" = x
; then
11981 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
11984 echo "$ac_t""no" 1>&6
11985 if test "$PKG_CONFIG" = "no" ; then
11986 echo "*** A new enough version of pkg-config was not found."
11987 echo "*** See http://pkgconfig.sourceforge.net"
11989 if test -f conf.gtktest
; then
11992 echo "*** Could not run GTK+ test program, checking why..."
11993 ac_save_CFLAGS
="$CFLAGS"
11994 ac_save_LIBS
="$LIBS"
11995 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11996 LIBS
="$LIBS $GTK_LIBS"
11997 cat > conftest.
$ac_ext <<EOF
11998 #line 11999 "configure"
11999 #include "confdefs.h"
12001 #include <gtk/gtk.h>
12005 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12008 if { (eval echo configure
:12009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12010 echo "*** The test program compiled, but did not run. This usually means"
12011 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12012 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12013 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12014 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12015 echo "*** is required on your system"
12017 echo "*** If you have an old version installed, it is best to remove it, although"
12018 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12020 echo "configure: failed program was:" >&5
12021 cat conftest.
$ac_ext >&5
12023 echo "*** The test program failed to compile or link. See the file config.log for the"
12024 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12027 CFLAGS
="$ac_save_CFLAGS"
12028 LIBS
="$ac_save_LIBS"
12041 if test -z "$wx_cv_lib_gtk"; then
12042 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12043 if test "${with_gtk_prefix+set}" = set; then
12044 withval
="$with_gtk_prefix"
12045 gtk_config_prefix
="$withval"
12047 gtk_config_prefix
=""
12050 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12051 if test "${with_gtk_exec_prefix+set}" = set; then
12052 withval
="$with_gtk_exec_prefix"
12053 gtk_config_exec_prefix
="$withval"
12055 gtk_config_exec_prefix
=""
12058 # Check whether --enable-gtktest or --disable-gtktest was given.
12059 if test "${enable_gtktest+set}" = set; then
12060 enableval
="$enable_gtktest"
12067 for module
in .
$GTK_MODULES
12071 gtk_config_args
="$gtk_config_args gthread"
12076 if test x
$gtk_config_exec_prefix != x
; then
12077 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12078 if test x
${GTK_CONFIG+set} != xset
; then
12079 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12082 if test x
$gtk_config_prefix != x
; then
12083 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12084 if test x
${GTK_CONFIG+set} != xset
; then
12085 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12089 # Extract the first word of "gtk-config", so it can be a program name with args.
12090 set dummy gtk
-config; ac_word
=$2
12091 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12092 echo "configure:12093: checking for $ac_word" >&5
12093 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12094 echo $ac_n "(cached) $ac_c" 1>&6
12096 case "$GTK_CONFIG" in
12098 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12101 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12104 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12106 for ac_dir
in $ac_dummy; do
12107 test -z "$ac_dir" && ac_dir
=.
12108 if test -f $ac_dir/$ac_word; then
12109 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12114 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12118 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12119 if test -n "$GTK_CONFIG"; then
12120 echo "$ac_t""$GTK_CONFIG" 1>&6
12122 echo "$ac_t""no" 1>&6
12125 min_gtk_version
=1.2.7
12126 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12127 echo "configure:12128: checking for GTK - version >= $min_gtk_version" >&5
12129 if test "$GTK_CONFIG" = "no" ; then
12132 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12133 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12134 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12136 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12138 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12140 if test "x$enable_gtktest" = "xyes" ; then
12141 ac_save_CFLAGS
="$CFLAGS"
12142 ac_save_LIBS
="$LIBS"
12143 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12144 LIBS
="$GTK_LIBS $LIBS"
12146 if test "$cross_compiling" = yes; then
12147 echo $ac_n "cross compiling; assumed OK... $ac_c"
12149 cat > conftest.
$ac_ext <<EOF
12150 #line 12151 "configure"
12151 #include "confdefs.h"
12153 #include <gtk/gtk.h>
12155 #include <stdlib.h>
12160 int major, minor, micro;
12163 system ("touch conf.gtktest");
12165 /* HP/UX 9 (%@#!) writes to sscanf strings */
12166 tmp_version = g_strdup("$min_gtk_version");
12167 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12168 printf("%s, bad version string\n", "$min_gtk_version");
12172 if ((gtk_major_version != $gtk_config_major_version) ||
12173 (gtk_minor_version != $gtk_config_minor_version) ||
12174 (gtk_micro_version != $gtk_config_micro_version))
12176 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12177 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12178 gtk_major_version, gtk_minor_version, gtk_micro_version);
12179 printf ("*** was found! If gtk-config was correct, then it is best\n");
12180 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12181 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12182 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12183 printf("*** required on your system.\n");
12184 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12185 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12186 printf("*** before re-running configure\n");
12188 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12189 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12190 (gtk_minor_version != GTK_MINOR_VERSION) ||
12191 (gtk_micro_version != GTK_MICRO_VERSION))
12193 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12194 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12195 printf("*** library (version %d.%d.%d)\n",
12196 gtk_major_version, gtk_minor_version, gtk_micro_version);
12198 #endif /* defined (GTK_MAJOR_VERSION) ... */
12201 if ((gtk_major_version > major) ||
12202 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12203 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12209 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12210 gtk_major_version, gtk_minor_version, gtk_micro_version);
12211 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12212 major, minor, micro);
12213 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12215 printf("*** If you have already installed a sufficiently new version, this error\n");
12216 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12217 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12218 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12219 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12220 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12221 printf("*** so that the correct libraries are found at run-time))\n");
12228 if { (eval echo configure
:12229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12232 echo "configure: failed program was:" >&5
12233 cat conftest.
$ac_ext >&5
12240 CFLAGS
="$ac_save_CFLAGS"
12241 LIBS
="$ac_save_LIBS"
12244 if test "x$no_gtk" = x
; then
12245 echo "$ac_t""yes" 1>&6
12246 wx_cv_lib_gtk
=1.2.7
12248 echo "$ac_t""no" 1>&6
12249 if test "$GTK_CONFIG" = "no" ; then
12250 echo "*** The gtk-config script installed by GTK could not be found"
12251 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12252 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12253 echo "*** full path to gtk-config."
12255 if test -f conf.gtktest
; then
12258 echo "*** Could not run GTK test program, checking why..."
12259 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12260 LIBS
="$LIBS $GTK_LIBS"
12261 cat > conftest.
$ac_ext <<EOF
12262 #line 12263 "configure"
12263 #include "confdefs.h"
12265 #include <gtk/gtk.h>
12269 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12272 if { (eval echo configure
:12273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12274 echo "*** The test program compiled, but did not run. This usually means"
12275 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12276 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12277 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12278 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12279 echo "*** is required on your system"
12281 echo "*** If you have an old version installed, it is best to remove it, although"
12282 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12284 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12285 echo "*** came with the system with the command"
12287 echo "*** rpm --erase --nodeps gtk gtk-devel"
12289 echo "configure: failed program was:" >&5
12290 cat conftest.
$ac_ext >&5
12292 echo "*** The test program failed to compile or link. See the file config.log for the"
12293 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12294 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12295 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12298 CFLAGS
="$ac_save_CFLAGS"
12299 LIBS
="$ac_save_LIBS"
12312 if test -z "$wx_cv_lib_gtk"; then
12313 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12314 if test "${with_gtk_prefix+set}" = set; then
12315 withval
="$with_gtk_prefix"
12316 gtk_config_prefix
="$withval"
12318 gtk_config_prefix
=""
12321 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12322 if test "${with_gtk_exec_prefix+set}" = set; then
12323 withval
="$with_gtk_exec_prefix"
12324 gtk_config_exec_prefix
="$withval"
12326 gtk_config_exec_prefix
=""
12329 # Check whether --enable-gtktest or --disable-gtktest was given.
12330 if test "${enable_gtktest+set}" = set; then
12331 enableval
="$enable_gtktest"
12338 for module
in .
$GTK_MODULES
12342 gtk_config_args
="$gtk_config_args gthread"
12347 if test x
$gtk_config_exec_prefix != x
; then
12348 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12349 if test x
${GTK_CONFIG+set} != xset
; then
12350 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12353 if test x
$gtk_config_prefix != x
; then
12354 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12355 if test x
${GTK_CONFIG+set} != xset
; then
12356 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12360 # Extract the first word of "gtk-config", so it can be a program name with args.
12361 set dummy gtk
-config; ac_word
=$2
12362 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12363 echo "configure:12364: checking for $ac_word" >&5
12364 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12365 echo $ac_n "(cached) $ac_c" 1>&6
12367 case "$GTK_CONFIG" in
12369 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12372 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12375 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12377 for ac_dir
in $ac_dummy; do
12378 test -z "$ac_dir" && ac_dir
=.
12379 if test -f $ac_dir/$ac_word; then
12380 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12385 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12389 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12390 if test -n "$GTK_CONFIG"; then
12391 echo "$ac_t""$GTK_CONFIG" 1>&6
12393 echo "$ac_t""no" 1>&6
12396 min_gtk_version
=1.2.3
12397 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12398 echo "configure:12399: checking for GTK - version >= $min_gtk_version" >&5
12400 if test "$GTK_CONFIG" = "no" ; then
12403 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12404 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12405 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12406 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12407 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12408 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12409 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12410 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12411 if test "x$enable_gtktest" = "xyes" ; then
12412 ac_save_CFLAGS
="$CFLAGS"
12413 ac_save_LIBS
="$LIBS"
12414 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12415 LIBS
="$GTK_LIBS $LIBS"
12417 if test "$cross_compiling" = yes; then
12418 echo $ac_n "cross compiling; assumed OK... $ac_c"
12420 cat > conftest.
$ac_ext <<EOF
12421 #line 12422 "configure"
12422 #include "confdefs.h"
12424 #include <gtk/gtk.h>
12426 #include <stdlib.h>
12431 int major, minor, micro;
12434 system ("touch conf.gtktest");
12436 /* HP/UX 9 (%@#!) writes to sscanf strings */
12437 tmp_version = g_strdup("$min_gtk_version");
12438 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12439 printf("%s, bad version string\n", "$min_gtk_version");
12443 if ((gtk_major_version != $gtk_config_major_version) ||
12444 (gtk_minor_version != $gtk_config_minor_version) ||
12445 (gtk_micro_version != $gtk_config_micro_version))
12447 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12448 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12449 gtk_major_version, gtk_minor_version, gtk_micro_version);
12450 printf ("*** was found! If gtk-config was correct, then it is best\n");
12451 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12452 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12453 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12454 printf("*** required on your system.\n");
12455 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12456 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12457 printf("*** before re-running configure\n");
12459 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12460 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12461 (gtk_minor_version != GTK_MINOR_VERSION) ||
12462 (gtk_micro_version != GTK_MICRO_VERSION))
12464 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12465 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12466 printf("*** library (version %d.%d.%d)\n",
12467 gtk_major_version, gtk_minor_version, gtk_micro_version);
12469 #endif /* defined (GTK_MAJOR_VERSION) ... */
12472 if ((gtk_major_version > major) ||
12473 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12474 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12480 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12481 gtk_major_version, gtk_minor_version, gtk_micro_version);
12482 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12483 major, minor, micro);
12484 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12486 printf("*** If you have already installed a sufficiently new version, this error\n");
12487 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12488 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12489 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12490 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12491 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12492 printf("*** so that the correct libraries are found at run-time))\n");
12499 if { (eval echo configure
:12500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12503 echo "configure: failed program was:" >&5
12504 cat conftest.
$ac_ext >&5
12511 CFLAGS
="$ac_save_CFLAGS"
12512 LIBS
="$ac_save_LIBS"
12515 if test "x$no_gtk" = x
; then
12516 echo "$ac_t""yes" 1>&6
12517 wx_cv_lib_gtk
=1.2.3
12519 echo "$ac_t""no" 1>&6
12520 if test "$GTK_CONFIG" = "no" ; then
12521 echo "*** The gtk-config script installed by GTK could not be found"
12522 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12523 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12524 echo "*** full path to gtk-config."
12526 if test -f conf.gtktest
; then
12529 echo "*** Could not run GTK test program, checking why..."
12530 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12531 LIBS
="$LIBS $GTK_LIBS"
12532 cat > conftest.
$ac_ext <<EOF
12533 #line 12534 "configure"
12534 #include "confdefs.h"
12536 #include <gtk/gtk.h>
12540 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12543 if { (eval echo configure
:12544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12545 echo "*** The test program compiled, but did not run. This usually means"
12546 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12547 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12548 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12549 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12550 echo "*** is required on your system"
12552 echo "*** If you have an old version installed, it is best to remove it, although"
12553 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12555 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12556 echo "*** came with the system with the command"
12558 echo "*** rpm --erase --nodeps gtk gtk-devel"
12560 echo "configure: failed program was:" >&5
12561 cat conftest.
$ac_ext >&5
12563 echo "*** The test program failed to compile or link. See the file config.log for the"
12564 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12565 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12566 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12569 CFLAGS
="$ac_save_CFLAGS"
12570 LIBS
="$ac_save_LIBS"
12583 if test -z "$wx_cv_lib_gtk"; then
12586 wx_cv_cflags_gtk
=$GTK_CFLAGS
12587 wx_cv_libs_gtk
=$GTK_LIBS
12594 if test "$gtk_version_cached" = 1; then
12595 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12598 case "$wx_cv_lib_gtk" in
12606 *) { echo "configure: error:
12607 Please check that gtk-config is in path, the directory
12608 where GTK+ libraries are installed (returned by
12609 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12610 equivalent variable and GTK+ is version 1.2.3 or above.
12615 if test "$WXGTK20" = 1; then
12616 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12620 if test -z "$PKG_CONFIG"; then
12621 # Extract the first word of "pkg-config", so it can be a program name with args.
12622 set dummy pkg
-config; ac_word
=$2
12623 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12624 echo "configure:12625: checking for $ac_word" >&5
12625 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12626 echo $ac_n "(cached) $ac_c" 1>&6
12628 case "$PKG_CONFIG" in
12630 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12633 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12636 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12638 for ac_dir
in $ac_dummy; do
12639 test -z "$ac_dir" && ac_dir
=.
12640 if test -f $ac_dir/$ac_word; then
12641 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12646 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12650 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12651 if test -n "$PKG_CONFIG"; then
12652 echo "$ac_t""$PKG_CONFIG" 1>&6
12654 echo "$ac_t""no" 1>&6
12659 if test "$PKG_CONFIG" = "no" ; then
12660 echo "*** The pkg-config script could not be found. Make sure it is"
12661 echo "*** in your path, or set the PKG_CONFIG environment variable"
12662 echo "*** to the full path to pkg-config."
12663 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12665 PKG_CONFIG_MIN_VERSION
=0.9.0
12666 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12667 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
12668 echo "configure:12669: checking for pangoft2" >&5
12670 if $PKG_CONFIG --exists "pangoft2" ; then
12671 echo "$ac_t""yes" 1>&6
12674 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
12675 echo "configure:12676: checking PANGOFT2_CFLAGS" >&5
12676 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
12677 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
12679 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
12680 echo "configure:12681: checking PANGOFT2_LIBS" >&5
12681 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
12682 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
12686 ## If we have a custom action on failure, don't print errors, but
12687 ## do set a variable so people can do so.
12688 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12695 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12696 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12700 if test $succeeded = yes; then
12702 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
12703 LIBS
="$LIBS $PANGOFT2_LIBS"
12707 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
12708 wxUSE_PRINTING_ARCHITECTURE
="no"
12716 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
12717 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
12719 AFMINSTALL
=afminstall
12723 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12724 echo "configure:12725: checking for gdk_im_open in -lgdk" >&5
12725 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12726 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12727 echo $ac_n "(cached) $ac_c" 1>&6
12729 ac_save_LIBS
="$LIBS"
12731 cat > conftest.
$ac_ext <<EOF
12732 #line 12733 "configure"
12733 #include "confdefs.h"
12734 /* Override any gcc2 internal prototype to avoid an error. */
12735 /* We use char because int might match the return type of a gcc2
12736 builtin and then its argument prototype would still apply. */
12737 char gdk_im_open();
12743 if { (eval echo configure
:12744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12745 eval "ac_cv_lib_$ac_lib_var=yes"
12747 echo "configure: failed program was:" >&5
12748 cat conftest.
$ac_ext >&5
12750 eval "ac_cv_lib_$ac_lib_var=no"
12753 LIBS
="$ac_save_LIBS"
12756 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12757 echo "$ac_t""yes" 1>&6
12758 cat >> confdefs.h
<<\EOF
12763 echo "$ac_t""no" 1>&6
12768 if test "$wxUSE_MGL" = 1; then
12769 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12770 echo "configure:12771: checking for SciTech MGL library" >&5
12771 if test "x$MGL_ROOT" = x
; then
12772 echo "$ac_t""not found" 1>&6
12773 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12775 echo "$ac_t""$MGL_ROOT" 1>&6
12780 mgl_os
=linux
/gcc
/glibc
12786 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12791 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12792 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
12793 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
12797 if test "x$mgl_lib_type" = x
; then
12798 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
12799 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
12800 mgl_lib_type
=release
12802 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12806 wxUSE_UNIVERSAL
="yes"
12808 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
12809 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12811 AFMINSTALL
=afminstall
12816 if test "$wxUSE_MICROWIN" = 1; then
12817 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12818 echo "configure:12819: checking for MicroWindows" >&5
12819 if test "x$MICROWINDOWS" = x
; then
12820 echo "$ac_t""not found" 1>&6
12821 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12823 echo "$ac_t""$MICROWINDOWS" 1>&6
12826 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
12827 echo "$ac_t""MicroWindows' libraries found." 1>&6
12829 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
12832 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
12833 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
12835 wxUSE_UNIVERSAL
="yes"
12837 AFMINSTALL
=afminstall
12839 GUIDIST
=MICROWIN_DIST
12841 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
12844 if test "$wxUSE_X11" = 1; then
12845 # If we find X, set shell vars x_includes and x_libraries to the
12846 # paths, otherwise set no_x=yes.
12847 # Uses ac_ vars as temps to allow command line to override cache and checks.
12848 # --without-x overrides everything else, but does not touch the cache.
12849 echo $ac_n "checking for X""... $ac_c" 1>&6
12850 echo "configure:12851: checking for X" >&5
12852 # Check whether --with-x or --without-x was given.
12853 if test "${with_x+set}" = set; then
12858 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12859 if test "x$with_x" = xno
; then
12860 # The user explicitly disabled X.
12863 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
12864 # Both variables are already set.
12867 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
12868 echo $ac_n "(cached) $ac_c" 1>&6
12870 # One or both of the vars are not set, and there is no cached value.
12871 ac_x_includes
=NO ac_x_libraries
=NO
12873 if mkdir conftestdir
; then
12875 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
12876 cat > Imakefile
<<'EOF'
12878 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
12880 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
12881 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12882 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
12883 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12884 for ac_extension
in a so sl
; do
12885 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
12886 test -f $ac_im_libdir/libX11.
$ac_extension; then
12887 ac_im_usrlibdir
=$ac_im_libdir; break
12890 # Screen out bogus values from the imake configuration. They are
12891 # bogus both because they are the default anyway, and because
12892 # using them would break gcc on systems where it needs fixed includes.
12893 case "$ac_im_incroot" in
12895 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
12897 case "$ac_im_usrlibdir" in
12898 /usr
/lib
| /lib
) ;;
12899 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
12906 if test "$ac_x_includes" = NO
; then
12907 # Guess where to find include files, by looking for this one X11 .h file.
12908 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
12910 # First, try using that file with no special directory specified.
12911 cat > conftest.
$ac_ext <<EOF
12912 #line 12913 "configure"
12913 #include "confdefs.h"
12914 #include <$x_direct_test_include>
12916 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12917 { (eval echo configure
:12918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12918 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12919 if test -z "$ac_err"; then
12921 # We can compile using X headers with no special include directory.
12925 echo "configure: failed program was:" >&5
12926 cat conftest.
$ac_ext >&5
12928 # Look for the header file in a standard set of common directories.
12929 # Check X11 before X11Rn because it is often a symlink to the current release.
12932 /usr
/X
11R
6/include \
12933 /usr
/X
11R
5/include \
12934 /usr
/X
11R
4/include \
12937 /usr
/include
/X11R6 \
12938 /usr
/include
/X11R5 \
12939 /usr
/include
/X11R4 \
12941 /usr
/local
/X
11/include \
12942 /usr
/local
/X
11R
6/include \
12943 /usr
/local
/X
11R
5/include \
12944 /usr
/local
/X
11R
4/include \
12946 /usr
/local
/include
/X11 \
12947 /usr
/local
/include
/X11R6 \
12948 /usr
/local
/include
/X11R5 \
12949 /usr
/local
/include
/X11R4 \
12951 /usr
/X
386/include \
12952 /usr
/x
386/include \
12953 /usr
/XFree
86/include
/X11 \
12956 /usr
/local
/include \
12957 /usr
/unsupported
/include \
12958 /usr
/athena
/include \
12959 /usr
/local
/x
11r
5/include \
12960 /usr
/lpp
/Xamples
/include \
12962 /usr
/openwin
/include \
12963 /usr
/openwin
/share
/include \
12966 if test -r "$ac_dir/$x_direct_test_include"; then
12967 ac_x_includes
=$ac_dir
12973 fi # $ac_x_includes = NO
12975 if test "$ac_x_libraries" = NO
; then
12976 # Check for the libraries.
12978 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
12979 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
12981 # See if we find them without any special options.
12982 # Don't add to $LIBS permanently.
12983 ac_save_LIBS
="$LIBS"
12984 LIBS
="-l$x_direct_test_library $LIBS"
12985 cat > conftest.
$ac_ext <<EOF
12986 #line 12987 "configure"
12987 #include "confdefs.h"
12990 ${x_direct_test_function}()
12993 if { (eval echo configure
:12994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12995 LIBS
="$ac_save_LIBS"
12996 # We can link X programs with no special library path.
12999 echo "configure: failed program was:" >&5
13000 cat conftest.
$ac_ext >&5
13002 LIBS
="$ac_save_LIBS"
13003 # First see if replacing the include by lib works.
13004 # Check X11 before X11Rn because it is often a symlink to the current release.
13005 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13016 /usr
/local
/X
11/lib \
13017 /usr
/local
/X
11R
6/lib \
13018 /usr
/local
/X
11R
5/lib \
13019 /usr
/local
/X
11R
4/lib \
13021 /usr
/local
/lib
/X11 \
13022 /usr
/local
/lib
/X11R6 \
13023 /usr
/local
/lib
/X11R5 \
13024 /usr
/local
/lib
/X11R4 \
13028 /usr
/XFree
86/lib
/X11 \
13032 /usr
/unsupported
/lib \
13034 /usr
/local
/x
11r
5/lib \
13035 /usr
/lpp
/Xamples
/lib \
13039 /usr
/openwin
/share
/lib \
13042 for ac_extension
in a so sl
; do
13043 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13044 ac_x_libraries
=$ac_dir
13051 fi # $ac_x_libraries = NO
13053 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13054 # Didn't find X anywhere. Cache the known absence of X.
13055 ac_cv_have_x
="have_x=no"
13057 # Record where we found X for the cache.
13058 ac_cv_have_x
="have_x=yes \
13059 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13063 eval "$ac_cv_have_x"
13066 if test "$have_x" != yes; then
13067 echo "$ac_t""$have_x" 1>&6
13070 # If each of the values was on the command line, it overrides each guess.
13071 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13072 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13073 # Update the cache value to reflect the command line values.
13074 ac_cv_have_x
="have_x=yes \
13075 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13076 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13079 if test "$no_x" = yes; then
13080 # Not all programs may use this symbol, but it does not hurt to define it.
13081 cat >> confdefs.h
<<\EOF
13082 #define X_DISPLAY_MISSING 1
13085 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13087 if test -n "$x_includes"; then
13088 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13091 # It would also be nice to do this for all -L options, not just this one.
13092 if test -n "$x_libraries"; then
13093 X_LIBS
="$X_LIBS -L$x_libraries"
13094 # For Solaris; some versions of Sun CC require a space after -R and
13095 # others require no space. Words are not sufficient . . . .
13096 case "`(uname -sr) 2>/dev/null`" in
13098 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13099 echo "configure:13100: checking whether -R must be followed by a space" >&5
13100 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13101 cat > conftest.
$ac_ext <<EOF
13102 #line 13103 "configure"
13103 #include "confdefs.h"
13109 if { (eval echo configure
:13110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13113 echo "configure: failed program was:" >&5
13114 cat conftest.
$ac_ext >&5
13119 if test $ac_R_nospace = yes; then
13120 echo "$ac_t""no" 1>&6
13121 X_LIBS
="$X_LIBS -R$x_libraries"
13123 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13124 cat > conftest.
$ac_ext <<EOF
13125 #line 13126 "configure"
13126 #include "confdefs.h"
13132 if { (eval echo configure
:13133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13136 echo "configure: failed program was:" >&5
13137 cat conftest.
$ac_ext >&5
13142 if test $ac_R_space = yes; then
13143 echo "$ac_t""yes" 1>&6
13144 X_LIBS
="$X_LIBS -R $x_libraries"
13146 echo "$ac_t""neither works" 1>&6
13149 LIBS
="$ac_xsave_LIBS"
13153 # Check for system-dependent libraries X programs must link with.
13154 # Do this before checking for the system-independent R6 libraries
13155 # (-lICE), since we may need -lsocket or whatever for X linking.
13157 if test "$ISC" = yes; then
13158 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13160 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13161 # libraries were built with DECnet support. And karl@cs.umb.edu says
13162 # the Alpha needs dnet_stub (dnet does not exist).
13163 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13164 echo "configure:13165: checking for dnet_ntoa in -ldnet" >&5
13165 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13166 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13167 echo $ac_n "(cached) $ac_c" 1>&6
13169 ac_save_LIBS
="$LIBS"
13170 LIBS
="-ldnet $LIBS"
13171 cat > conftest.
$ac_ext <<EOF
13172 #line 13173 "configure"
13173 #include "confdefs.h"
13174 /* Override any gcc2 internal prototype to avoid an error. */
13175 /* We use char because int might match the return type of a gcc2
13176 builtin and then its argument prototype would still apply. */
13183 if { (eval echo configure
:13184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13185 eval "ac_cv_lib_$ac_lib_var=yes"
13187 echo "configure: failed program was:" >&5
13188 cat conftest.
$ac_ext >&5
13190 eval "ac_cv_lib_$ac_lib_var=no"
13193 LIBS
="$ac_save_LIBS"
13196 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13197 echo "$ac_t""yes" 1>&6
13198 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13200 echo "$ac_t""no" 1>&6
13203 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13204 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13205 echo "configure:13206: checking for dnet_ntoa in -ldnet_stub" >&5
13206 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13207 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13208 echo $ac_n "(cached) $ac_c" 1>&6
13210 ac_save_LIBS
="$LIBS"
13211 LIBS
="-ldnet_stub $LIBS"
13212 cat > conftest.
$ac_ext <<EOF
13213 #line 13214 "configure"
13214 #include "confdefs.h"
13215 /* Override any gcc2 internal prototype to avoid an error. */
13216 /* We use char because int might match the return type of a gcc2
13217 builtin and then its argument prototype would still apply. */
13224 if { (eval echo configure
:13225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13226 eval "ac_cv_lib_$ac_lib_var=yes"
13228 echo "configure: failed program was:" >&5
13229 cat conftest.
$ac_ext >&5
13231 eval "ac_cv_lib_$ac_lib_var=no"
13234 LIBS
="$ac_save_LIBS"
13237 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13238 echo "$ac_t""yes" 1>&6
13239 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13241 echo "$ac_t""no" 1>&6
13246 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13247 # to get the SysV transport functions.
13248 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13250 # The nsl library prevents programs from opening the X display
13251 # on Irix 5.2, according to dickey@clark.net.
13252 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13253 echo "configure:13254: checking for gethostbyname" >&5
13254 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13255 echo $ac_n "(cached) $ac_c" 1>&6
13257 cat > conftest.
$ac_ext <<EOF
13258 #line 13259 "configure"
13259 #include "confdefs.h"
13260 /* System header to define __stub macros and hopefully few prototypes,
13261 which can conflict with char gethostbyname(); below. */
13262 #include <assert.h>
13263 /* Override any gcc2 internal prototype to avoid an error. */
13264 /* We use char because int might match the return type of a gcc2
13265 builtin and then its argument prototype would still apply. */
13266 char gethostbyname();
13270 /* The GNU C library defines this for functions which it implements
13271 to always fail with ENOSYS. Some functions are actually named
13272 something starting with __ and the normal name is an alias. */
13273 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13281 if { (eval echo configure
:13282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13283 eval "ac_cv_func_gethostbyname=yes"
13285 echo "configure: failed program was:" >&5
13286 cat conftest.
$ac_ext >&5
13288 eval "ac_cv_func_gethostbyname=no"
13293 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13294 echo "$ac_t""yes" 1>&6
13297 echo "$ac_t""no" 1>&6
13300 if test $ac_cv_func_gethostbyname = no
; then
13301 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13302 echo "configure:13303: checking for gethostbyname in -lnsl" >&5
13303 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13304 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13305 echo $ac_n "(cached) $ac_c" 1>&6
13307 ac_save_LIBS
="$LIBS"
13309 cat > conftest.
$ac_ext <<EOF
13310 #line 13311 "configure"
13311 #include "confdefs.h"
13312 /* Override any gcc2 internal prototype to avoid an error. */
13313 /* We use char because int might match the return type of a gcc2
13314 builtin and then its argument prototype would still apply. */
13315 char gethostbyname();
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_lib_$ac_lib_var=yes"
13325 echo "configure: failed program was:" >&5
13326 cat conftest.
$ac_ext >&5
13328 eval "ac_cv_lib_$ac_lib_var=no"
13331 LIBS
="$ac_save_LIBS"
13334 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13335 echo "$ac_t""yes" 1>&6
13336 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13338 echo "$ac_t""no" 1>&6
13343 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13344 # socket/setsockopt and other routines are undefined under SCO ODT
13345 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13346 # on later versions), says simon@lia.di.epfl.ch: it contains
13347 # gethostby* variants that don't use the nameserver (or something).
13348 # -lsocket must be given before -lnsl if both are needed.
13349 # We assume that if connect needs -lnsl, so does gethostbyname.
13350 echo $ac_n "checking for connect""... $ac_c" 1>&6
13351 echo "configure:13352: checking for connect" >&5
13352 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13353 echo $ac_n "(cached) $ac_c" 1>&6
13355 cat > conftest.
$ac_ext <<EOF
13356 #line 13357 "configure"
13357 #include "confdefs.h"
13358 /* System header to define __stub macros and hopefully few prototypes,
13359 which can conflict with char connect(); below. */
13360 #include <assert.h>
13361 /* Override any gcc2 internal prototype to avoid an error. */
13362 /* We use char because int might match the return type of a gcc2
13363 builtin and then its argument prototype would still apply. */
13368 /* The GNU C library defines this for functions which it implements
13369 to always fail with ENOSYS. Some functions are actually named
13370 something starting with __ and the normal name is an alias. */
13371 #if defined (__stub_connect) || defined (__stub___connect)
13379 if { (eval echo configure
:13380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13381 eval "ac_cv_func_connect=yes"
13383 echo "configure: failed program was:" >&5
13384 cat conftest.
$ac_ext >&5
13386 eval "ac_cv_func_connect=no"
13391 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13392 echo "$ac_t""yes" 1>&6
13395 echo "$ac_t""no" 1>&6
13398 if test $ac_cv_func_connect = no
; then
13399 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13400 echo "configure:13401: checking for connect in -lsocket" >&5
13401 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13402 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13403 echo $ac_n "(cached) $ac_c" 1>&6
13405 ac_save_LIBS
="$LIBS"
13406 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13407 cat > conftest.
$ac_ext <<EOF
13408 #line 13409 "configure"
13409 #include "confdefs.h"
13410 /* Override any gcc2 internal prototype to avoid an error. */
13411 /* We use char because int might match the return type of a gcc2
13412 builtin and then its argument prototype would still apply. */
13419 if { (eval echo configure
:13420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13421 eval "ac_cv_lib_$ac_lib_var=yes"
13423 echo "configure: failed program was:" >&5
13424 cat conftest.
$ac_ext >&5
13426 eval "ac_cv_lib_$ac_lib_var=no"
13429 LIBS
="$ac_save_LIBS"
13432 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13433 echo "$ac_t""yes" 1>&6
13434 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13436 echo "$ac_t""no" 1>&6
13441 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13442 echo $ac_n "checking for remove""... $ac_c" 1>&6
13443 echo "configure:13444: checking for remove" >&5
13444 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13445 echo $ac_n "(cached) $ac_c" 1>&6
13447 cat > conftest.
$ac_ext <<EOF
13448 #line 13449 "configure"
13449 #include "confdefs.h"
13450 /* System header to define __stub macros and hopefully few prototypes,
13451 which can conflict with char remove(); below. */
13452 #include <assert.h>
13453 /* Override any gcc2 internal prototype to avoid an error. */
13454 /* We use char because int might match the return type of a gcc2
13455 builtin and then its argument prototype would still apply. */
13460 /* The GNU C library defines this for functions which it implements
13461 to always fail with ENOSYS. Some functions are actually named
13462 something starting with __ and the normal name is an alias. */
13463 #if defined (__stub_remove) || defined (__stub___remove)
13471 if { (eval echo configure
:13472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13473 eval "ac_cv_func_remove=yes"
13475 echo "configure: failed program was:" >&5
13476 cat conftest.
$ac_ext >&5
13478 eval "ac_cv_func_remove=no"
13483 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13484 echo "$ac_t""yes" 1>&6
13487 echo "$ac_t""no" 1>&6
13490 if test $ac_cv_func_remove = no
; then
13491 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13492 echo "configure:13493: checking for remove in -lposix" >&5
13493 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13494 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13495 echo $ac_n "(cached) $ac_c" 1>&6
13497 ac_save_LIBS
="$LIBS"
13498 LIBS
="-lposix $LIBS"
13499 cat > conftest.
$ac_ext <<EOF
13500 #line 13501 "configure"
13501 #include "confdefs.h"
13502 /* Override any gcc2 internal prototype to avoid an error. */
13503 /* We use char because int might match the return type of a gcc2
13504 builtin and then its argument prototype would still apply. */
13511 if { (eval echo configure
:13512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13513 eval "ac_cv_lib_$ac_lib_var=yes"
13515 echo "configure: failed program was:" >&5
13516 cat conftest.
$ac_ext >&5
13518 eval "ac_cv_lib_$ac_lib_var=no"
13521 LIBS
="$ac_save_LIBS"
13524 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13525 echo "$ac_t""yes" 1>&6
13526 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
13528 echo "$ac_t""no" 1>&6
13533 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13534 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13535 echo "configure:13536: checking for shmat" >&5
13536 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13537 echo $ac_n "(cached) $ac_c" 1>&6
13539 cat > conftest.
$ac_ext <<EOF
13540 #line 13541 "configure"
13541 #include "confdefs.h"
13542 /* System header to define __stub macros and hopefully few prototypes,
13543 which can conflict with char shmat(); below. */
13544 #include <assert.h>
13545 /* Override any gcc2 internal prototype to avoid an error. */
13546 /* We use char because int might match the return type of a gcc2
13547 builtin and then its argument prototype would still apply. */
13552 /* The GNU C library defines this for functions which it implements
13553 to always fail with ENOSYS. Some functions are actually named
13554 something starting with __ and the normal name is an alias. */
13555 #if defined (__stub_shmat) || defined (__stub___shmat)
13563 if { (eval echo configure
:13564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13565 eval "ac_cv_func_shmat=yes"
13567 echo "configure: failed program was:" >&5
13568 cat conftest.
$ac_ext >&5
13570 eval "ac_cv_func_shmat=no"
13575 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13576 echo "$ac_t""yes" 1>&6
13579 echo "$ac_t""no" 1>&6
13582 if test $ac_cv_func_shmat = no
; then
13583 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13584 echo "configure:13585: checking for shmat in -lipc" >&5
13585 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13586 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13587 echo $ac_n "(cached) $ac_c" 1>&6
13589 ac_save_LIBS
="$LIBS"
13591 cat > conftest.
$ac_ext <<EOF
13592 #line 13593 "configure"
13593 #include "confdefs.h"
13594 /* Override any gcc2 internal prototype to avoid an error. */
13595 /* We use char because int might match the return type of a gcc2
13596 builtin and then its argument prototype would still apply. */
13603 if { (eval echo configure
:13604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13605 eval "ac_cv_lib_$ac_lib_var=yes"
13607 echo "configure: failed program was:" >&5
13608 cat conftest.
$ac_ext >&5
13610 eval "ac_cv_lib_$ac_lib_var=no"
13613 LIBS
="$ac_save_LIBS"
13616 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13617 echo "$ac_t""yes" 1>&6
13618 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
13620 echo "$ac_t""no" 1>&6
13626 # Check for libraries that X11R6 Xt/Xaw programs need.
13627 ac_save_LDFLAGS
="$LDFLAGS"
13628 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
13629 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13630 # check for ICE first), but we must link in the order -lSM -lICE or
13631 # we get undefined symbols. So assume we have SM if we have ICE.
13632 # These have to be linked with before -lX11, unlike the other
13633 # libraries we check for below, so use a different variable.
13634 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13635 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13636 echo "configure:13637: checking for IceConnectionNumber in -lICE" >&5
13637 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13639 echo $ac_n "(cached) $ac_c" 1>&6
13641 ac_save_LIBS
="$LIBS"
13642 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
13643 cat > conftest.
$ac_ext <<EOF
13644 #line 13645 "configure"
13645 #include "confdefs.h"
13646 /* Override any gcc2 internal prototype to avoid an error. */
13647 /* We use char because int might match the return type of a gcc2
13648 builtin and then its argument prototype would still apply. */
13649 char IceConnectionNumber();
13652 IceConnectionNumber()
13655 if { (eval echo configure
:13656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13657 eval "ac_cv_lib_$ac_lib_var=yes"
13659 echo "configure: failed program was:" >&5
13660 cat conftest.
$ac_ext >&5
13662 eval "ac_cv_lib_$ac_lib_var=no"
13665 LIBS
="$ac_save_LIBS"
13668 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13669 echo "$ac_t""yes" 1>&6
13670 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
13672 echo "$ac_t""no" 1>&6
13675 LDFLAGS
="$ac_save_LDFLAGS"
13680 if test "$no_x" = "yes"; then
13681 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13684 GUI_TK_LIBRARY
="$X_LIBS"
13685 TOOLKIT_INCLUDE
="$X_CFLAGS"
13686 AFMINSTALL
=afminstall
13687 COMPILED_X_PROGRAM
=0
13689 if test "$wxUSE_NANOX" = "yes"; then
13690 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13691 echo "configure:13692: checking for MicroWindows/NanoX distribution" >&5
13692 if test "x$MICROWIN" = x
; then
13693 echo "$ac_t""not found" 1>&6
13694 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13696 echo "$ac_t""$MICROWIN" 1>&6
13697 cat >> confdefs.h
<<\EOF
13698 #define wxUSE_NANOX 1
13705 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13706 echo "configure:13707: checking for Xpm library" >&5
13709 for ac_dir
in $SEARCH_LIB;
13711 for ac_extension
in a so sl dylib
; do
13712 if test -f "$ac_dir/libXpm.$ac_extension"; then
13713 ac_find_libraries
=$ac_dir
13719 if test "$ac_find_libraries" != "" ; then
13721 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13723 if test $result = 0; then
13726 ac_path_to_link
=" -L$ac_find_libraries"
13729 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13731 cat >> confdefs.h
<<\EOF
13732 #define wxHAVE_LIB_XPM 1
13735 echo "$ac_t""found at $ac_find_libraries" 1>&6
13737 cat > conftest.
$ac_ext <<EOF
13738 #line 13739 "configure"
13739 #include "confdefs.h"
13741 #include <X11/xpm.h>
13746 version = XpmLibraryVersion();
13750 if { (eval echo configure
:13751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13754 cat >> confdefs.h
<<\EOF
13755 #define wxHAVE_LIB_XPM 1
13758 echo "$ac_t""found in default search path" 1>&6
13759 COMPILED_X_PROGRAM
=0
13762 echo "configure: failed program was:" >&5
13763 cat conftest.
$ac_ext >&5
13766 echo "$ac_t""no" 1>&6
13767 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13774 wxUSE_UNIVERSAL
="yes"
13776 if test "$wxUSE_NANOX" = "yes"; then
13777 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13778 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"
13779 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13781 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
13784 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
13789 if test "$wxUSE_WINE" = 1; then
13790 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
13791 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13792 echo "configure:13793: checking for windows.h" >&5
13793 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13794 echo $ac_n "(cached) $ac_c" 1>&6
13796 cat > conftest.
$ac_ext <<EOF
13797 #line 13798 "configure"
13798 #include "confdefs.h"
13799 #include <windows.h>
13801 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13802 { (eval echo configure
:13803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13803 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13804 if test -z "$ac_err"; then
13806 eval "ac_cv_header_$ac_safe=yes"
13809 echo "configure: failed program was:" >&5
13810 cat conftest.
$ac_ext >&5
13812 eval "ac_cv_header_$ac_safe=no"
13816 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13817 echo "$ac_t""yes" 1>&6
13820 echo "$ac_t""no" 1>&6
13822 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13828 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13829 echo "configure:13830: checking for Xpm library" >&5
13832 for ac_dir
in $SEARCH_LIB;
13834 for ac_extension
in a so sl dylib
; do
13835 if test -f "$ac_dir/libXpm.$ac_extension"; then
13836 ac_find_libraries
=$ac_dir
13842 if test "$ac_find_libraries" != "" ; then
13843 GUI_TK_LIBRARY
="-L$ac_find_libraries"
13845 cat >> confdefs.h
<<\EOF
13846 #define wxHAVE_LIB_XPM 1
13849 echo "$ac_t""found at $ac_find_libraries" 1>&6
13851 echo "$ac_t""no" 1>&6
13852 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13856 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
13857 echo "configure:13858: checking for Mesa library" >&5
13860 for ac_dir
in $SEARCH_LIB;
13862 for ac_extension
in a so sl dylib
; do
13863 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13864 ac_find_libraries
=$ac_dir
13870 if test "$ac_find_libraries" != "" ; then
13871 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
13872 mesa_link
=" -lMesaGL"
13873 echo "$ac_t""found at $ac_find_libraries" 1>&6
13875 { echo "configure: error: no" 1>&2; exit 1; }
13878 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
13881 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
13884 if test "$wxUSE_MOTIF" = 1; then
13885 if test "$no_x" = yes; then
13886 # Not all programs may use this symbol, but it does not hurt to define it.
13887 cat >> confdefs.h
<<\EOF
13888 #define X_DISPLAY_MISSING 1
13891 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13893 if test -n "$x_includes"; then
13894 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13897 # It would also be nice to do this for all -L options, not just this one.
13898 if test -n "$x_libraries"; then
13899 X_LIBS
="$X_LIBS -L$x_libraries"
13900 # For Solaris; some versions of Sun CC require a space after -R and
13901 # others require no space. Words are not sufficient . . . .
13902 case "`(uname -sr) 2>/dev/null`" in
13904 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13905 echo "configure:13906: checking whether -R must be followed by a space" >&5
13906 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13907 cat > conftest.
$ac_ext <<EOF
13908 #line 13909 "configure"
13909 #include "confdefs.h"
13915 if { (eval echo configure
:13916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13919 echo "configure: failed program was:" >&5
13920 cat conftest.
$ac_ext >&5
13925 if test $ac_R_nospace = yes; then
13926 echo "$ac_t""no" 1>&6
13927 X_LIBS
="$X_LIBS -R$x_libraries"
13929 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13930 cat > conftest.
$ac_ext <<EOF
13931 #line 13932 "configure"
13932 #include "confdefs.h"
13938 if { (eval echo configure
:13939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13942 echo "configure: failed program was:" >&5
13943 cat conftest.
$ac_ext >&5
13948 if test $ac_R_space = yes; then
13949 echo "$ac_t""yes" 1>&6
13950 X_LIBS
="$X_LIBS -R $x_libraries"
13952 echo "$ac_t""neither works" 1>&6
13955 LIBS
="$ac_xsave_LIBS"
13959 # Check for system-dependent libraries X programs must link with.
13960 # Do this before checking for the system-independent R6 libraries
13961 # (-lICE), since we may need -lsocket or whatever for X linking.
13963 if test "$ISC" = yes; then
13964 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13966 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13967 # libraries were built with DECnet support. And karl@cs.umb.edu says
13968 # the Alpha needs dnet_stub (dnet does not exist).
13969 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13970 echo "configure:13971: checking for dnet_ntoa in -ldnet" >&5
13971 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13972 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13973 echo $ac_n "(cached) $ac_c" 1>&6
13975 ac_save_LIBS
="$LIBS"
13976 LIBS
="-ldnet $LIBS"
13977 cat > conftest.
$ac_ext <<EOF
13978 #line 13979 "configure"
13979 #include "confdefs.h"
13980 /* Override any gcc2 internal prototype to avoid an error. */
13981 /* We use char because int might match the return type of a gcc2
13982 builtin and then its argument prototype would still apply. */
13989 if { (eval echo configure
:13990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13991 eval "ac_cv_lib_$ac_lib_var=yes"
13993 echo "configure: failed program was:" >&5
13994 cat conftest.
$ac_ext >&5
13996 eval "ac_cv_lib_$ac_lib_var=no"
13999 LIBS
="$ac_save_LIBS"
14002 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14003 echo "$ac_t""yes" 1>&6
14004 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14006 echo "$ac_t""no" 1>&6
14009 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14010 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14011 echo "configure:14012: checking for dnet_ntoa in -ldnet_stub" >&5
14012 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14013 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14014 echo $ac_n "(cached) $ac_c" 1>&6
14016 ac_save_LIBS
="$LIBS"
14017 LIBS
="-ldnet_stub $LIBS"
14018 cat > conftest.
$ac_ext <<EOF
14019 #line 14020 "configure"
14020 #include "confdefs.h"
14021 /* Override any gcc2 internal prototype to avoid an error. */
14022 /* We use char because int might match the return type of a gcc2
14023 builtin and then its argument prototype would still apply. */
14030 if { (eval echo configure
:14031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14032 eval "ac_cv_lib_$ac_lib_var=yes"
14034 echo "configure: failed program was:" >&5
14035 cat conftest.
$ac_ext >&5
14037 eval "ac_cv_lib_$ac_lib_var=no"
14040 LIBS
="$ac_save_LIBS"
14043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14044 echo "$ac_t""yes" 1>&6
14045 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14047 echo "$ac_t""no" 1>&6
14052 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14053 # to get the SysV transport functions.
14054 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14056 # The nsl library prevents programs from opening the X display
14057 # on Irix 5.2, according to dickey@clark.net.
14058 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14059 echo "configure:14060: checking for gethostbyname" >&5
14060 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14061 echo $ac_n "(cached) $ac_c" 1>&6
14063 cat > conftest.
$ac_ext <<EOF
14064 #line 14065 "configure"
14065 #include "confdefs.h"
14066 /* System header to define __stub macros and hopefully few prototypes,
14067 which can conflict with char gethostbyname(); below. */
14068 #include <assert.h>
14069 /* Override any gcc2 internal prototype to avoid an error. */
14070 /* We use char because int might match the return type of a gcc2
14071 builtin and then its argument prototype would still apply. */
14072 char gethostbyname();
14076 /* The GNU C library defines this for functions which it implements
14077 to always fail with ENOSYS. Some functions are actually named
14078 something starting with __ and the normal name is an alias. */
14079 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14087 if { (eval echo configure
:14088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14089 eval "ac_cv_func_gethostbyname=yes"
14091 echo "configure: failed program was:" >&5
14092 cat conftest.
$ac_ext >&5
14094 eval "ac_cv_func_gethostbyname=no"
14099 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14100 echo "$ac_t""yes" 1>&6
14103 echo "$ac_t""no" 1>&6
14106 if test $ac_cv_func_gethostbyname = no
; then
14107 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14108 echo "configure:14109: checking for gethostbyname in -lnsl" >&5
14109 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14110 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14111 echo $ac_n "(cached) $ac_c" 1>&6
14113 ac_save_LIBS
="$LIBS"
14115 cat > conftest.
$ac_ext <<EOF
14116 #line 14117 "configure"
14117 #include "confdefs.h"
14118 /* Override any gcc2 internal prototype to avoid an error. */
14119 /* We use char because int might match the return type of a gcc2
14120 builtin and then its argument prototype would still apply. */
14121 char gethostbyname();
14127 if { (eval echo configure
:14128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14129 eval "ac_cv_lib_$ac_lib_var=yes"
14131 echo "configure: failed program was:" >&5
14132 cat conftest.
$ac_ext >&5
14134 eval "ac_cv_lib_$ac_lib_var=no"
14137 LIBS
="$ac_save_LIBS"
14140 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14141 echo "$ac_t""yes" 1>&6
14142 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14144 echo "$ac_t""no" 1>&6
14149 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14150 # socket/setsockopt and other routines are undefined under SCO ODT
14151 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14152 # on later versions), says simon@lia.di.epfl.ch: it contains
14153 # gethostby* variants that don't use the nameserver (or something).
14154 # -lsocket must be given before -lnsl if both are needed.
14155 # We assume that if connect needs -lnsl, so does gethostbyname.
14156 echo $ac_n "checking for connect""... $ac_c" 1>&6
14157 echo "configure:14158: checking for connect" >&5
14158 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14159 echo $ac_n "(cached) $ac_c" 1>&6
14161 cat > conftest.
$ac_ext <<EOF
14162 #line 14163 "configure"
14163 #include "confdefs.h"
14164 /* System header to define __stub macros and hopefully few prototypes,
14165 which can conflict with char connect(); below. */
14166 #include <assert.h>
14167 /* Override any gcc2 internal prototype to avoid an error. */
14168 /* We use char because int might match the return type of a gcc2
14169 builtin and then its argument prototype would still apply. */
14174 /* The GNU C library defines this for functions which it implements
14175 to always fail with ENOSYS. Some functions are actually named
14176 something starting with __ and the normal name is an alias. */
14177 #if defined (__stub_connect) || defined (__stub___connect)
14185 if { (eval echo configure
:14186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14187 eval "ac_cv_func_connect=yes"
14189 echo "configure: failed program was:" >&5
14190 cat conftest.
$ac_ext >&5
14192 eval "ac_cv_func_connect=no"
14197 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14198 echo "$ac_t""yes" 1>&6
14201 echo "$ac_t""no" 1>&6
14204 if test $ac_cv_func_connect = no
; then
14205 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14206 echo "configure:14207: checking for connect in -lsocket" >&5
14207 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14208 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14209 echo $ac_n "(cached) $ac_c" 1>&6
14211 ac_save_LIBS
="$LIBS"
14212 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14213 cat > conftest.
$ac_ext <<EOF
14214 #line 14215 "configure"
14215 #include "confdefs.h"
14216 /* Override any gcc2 internal prototype to avoid an error. */
14217 /* We use char because int might match the return type of a gcc2
14218 builtin and then its argument prototype would still apply. */
14225 if { (eval echo configure
:14226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14227 eval "ac_cv_lib_$ac_lib_var=yes"
14229 echo "configure: failed program was:" >&5
14230 cat conftest.
$ac_ext >&5
14232 eval "ac_cv_lib_$ac_lib_var=no"
14235 LIBS
="$ac_save_LIBS"
14238 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14239 echo "$ac_t""yes" 1>&6
14240 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14242 echo "$ac_t""no" 1>&6
14247 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14248 echo $ac_n "checking for remove""... $ac_c" 1>&6
14249 echo "configure:14250: checking for remove" >&5
14250 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14251 echo $ac_n "(cached) $ac_c" 1>&6
14253 cat > conftest.
$ac_ext <<EOF
14254 #line 14255 "configure"
14255 #include "confdefs.h"
14256 /* System header to define __stub macros and hopefully few prototypes,
14257 which can conflict with char remove(); below. */
14258 #include <assert.h>
14259 /* Override any gcc2 internal prototype to avoid an error. */
14260 /* We use char because int might match the return type of a gcc2
14261 builtin and then its argument prototype would still apply. */
14266 /* The GNU C library defines this for functions which it implements
14267 to always fail with ENOSYS. Some functions are actually named
14268 something starting with __ and the normal name is an alias. */
14269 #if defined (__stub_remove) || defined (__stub___remove)
14277 if { (eval echo configure
:14278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14279 eval "ac_cv_func_remove=yes"
14281 echo "configure: failed program was:" >&5
14282 cat conftest.
$ac_ext >&5
14284 eval "ac_cv_func_remove=no"
14289 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14290 echo "$ac_t""yes" 1>&6
14293 echo "$ac_t""no" 1>&6
14296 if test $ac_cv_func_remove = no
; then
14297 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14298 echo "configure:14299: checking for remove in -lposix" >&5
14299 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14300 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14301 echo $ac_n "(cached) $ac_c" 1>&6
14303 ac_save_LIBS
="$LIBS"
14304 LIBS
="-lposix $LIBS"
14305 cat > conftest.
$ac_ext <<EOF
14306 #line 14307 "configure"
14307 #include "confdefs.h"
14308 /* Override any gcc2 internal prototype to avoid an error. */
14309 /* We use char because int might match the return type of a gcc2
14310 builtin and then its argument prototype would still apply. */
14317 if { (eval echo configure
:14318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14319 eval "ac_cv_lib_$ac_lib_var=yes"
14321 echo "configure: failed program was:" >&5
14322 cat conftest.
$ac_ext >&5
14324 eval "ac_cv_lib_$ac_lib_var=no"
14327 LIBS
="$ac_save_LIBS"
14330 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14331 echo "$ac_t""yes" 1>&6
14332 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14334 echo "$ac_t""no" 1>&6
14339 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14340 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14341 echo "configure:14342: checking for shmat" >&5
14342 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14343 echo $ac_n "(cached) $ac_c" 1>&6
14345 cat > conftest.
$ac_ext <<EOF
14346 #line 14347 "configure"
14347 #include "confdefs.h"
14348 /* System header to define __stub macros and hopefully few prototypes,
14349 which can conflict with char shmat(); below. */
14350 #include <assert.h>
14351 /* Override any gcc2 internal prototype to avoid an error. */
14352 /* We use char because int might match the return type of a gcc2
14353 builtin and then its argument prototype would still apply. */
14358 /* The GNU C library defines this for functions which it implements
14359 to always fail with ENOSYS. Some functions are actually named
14360 something starting with __ and the normal name is an alias. */
14361 #if defined (__stub_shmat) || defined (__stub___shmat)
14369 if { (eval echo configure
:14370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14371 eval "ac_cv_func_shmat=yes"
14373 echo "configure: failed program was:" >&5
14374 cat conftest.
$ac_ext >&5
14376 eval "ac_cv_func_shmat=no"
14381 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14382 echo "$ac_t""yes" 1>&6
14385 echo "$ac_t""no" 1>&6
14388 if test $ac_cv_func_shmat = no
; then
14389 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14390 echo "configure:14391: checking for shmat in -lipc" >&5
14391 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14392 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14393 echo $ac_n "(cached) $ac_c" 1>&6
14395 ac_save_LIBS
="$LIBS"
14397 cat > conftest.
$ac_ext <<EOF
14398 #line 14399 "configure"
14399 #include "confdefs.h"
14400 /* Override any gcc2 internal prototype to avoid an error. */
14401 /* We use char because int might match the return type of a gcc2
14402 builtin and then its argument prototype would still apply. */
14409 if { (eval echo configure
:14410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14411 eval "ac_cv_lib_$ac_lib_var=yes"
14413 echo "configure: failed program was:" >&5
14414 cat conftest.
$ac_ext >&5
14416 eval "ac_cv_lib_$ac_lib_var=no"
14419 LIBS
="$ac_save_LIBS"
14422 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14423 echo "$ac_t""yes" 1>&6
14424 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14426 echo "$ac_t""no" 1>&6
14432 # Check for libraries that X11R6 Xt/Xaw programs need.
14433 ac_save_LDFLAGS
="$LDFLAGS"
14434 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14435 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14436 # check for ICE first), but we must link in the order -lSM -lICE or
14437 # we get undefined symbols. So assume we have SM if we have ICE.
14438 # These have to be linked with before -lX11, unlike the other
14439 # libraries we check for below, so use a different variable.
14440 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14441 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14442 echo "configure:14443: checking for IceConnectionNumber in -lICE" >&5
14443 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14444 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14445 echo $ac_n "(cached) $ac_c" 1>&6
14447 ac_save_LIBS
="$LIBS"
14448 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14449 cat > conftest.
$ac_ext <<EOF
14450 #line 14451 "configure"
14451 #include "confdefs.h"
14452 /* Override any gcc2 internal prototype to avoid an error. */
14453 /* We use char because int might match the return type of a gcc2
14454 builtin and then its argument prototype would still apply. */
14455 char IceConnectionNumber();
14458 IceConnectionNumber()
14461 if { (eval echo configure
:14462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14463 eval "ac_cv_lib_$ac_lib_var=yes"
14465 echo "configure: failed program was:" >&5
14466 cat conftest.
$ac_ext >&5
14468 eval "ac_cv_lib_$ac_lib_var=no"
14471 LIBS
="$ac_save_LIBS"
14474 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14475 echo "$ac_t""yes" 1>&6
14476 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14478 echo "$ac_t""no" 1>&6
14481 LDFLAGS
="$ac_save_LDFLAGS"
14486 if test "$no_x" = "yes"; then
14487 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14490 GUI_TK_LIBRARY
="$X_LIBS"
14491 TOOLKIT_INCLUDE
="$X_CFLAGS"
14492 AFMINSTALL
=afminstall
14493 COMPILED_X_PROGRAM
=0
14495 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14496 echo "configure:14497: checking for Motif/Lesstif headers" >&5
14499 for ac_dir
in $SEARCH_INCLUDE;
14501 if test -f "$ac_dir/Xm/Xm.h"; then
14502 ac_find_includes
=$ac_dir
14507 if test "$ac_find_includes" != "" ; then
14508 echo "$ac_t""found $ac_find_includes" 1>&6
14510 cat > conftest.
$ac_ext <<EOF
14511 #line 14512 "configure"
14512 #include "confdefs.h"
14519 version = xmUseVersion;
14523 if { (eval echo configure
:14524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14526 echo "$ac_t""found in default search path" 1>&6
14527 COMPILED_X_PROGRAM
=1
14530 echo "configure: failed program was:" >&5
14531 cat conftest.
$ac_ext >&5
14534 echo "$ac_t""no" 1>&6
14535 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14542 if test "$COMPILED_X_PROGRAM" = 0; then
14543 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14544 echo "configure:14545: checking for Motif/Lesstif library" >&5
14547 for ac_dir
in $SEARCH_LIB;
14549 for ac_extension
in a so sl dylib
; do
14550 if test -f "$ac_dir/libXm.$ac_extension"; then
14551 ac_find_libraries
=$ac_dir
14557 if test "$ac_find_libraries" != "" ; then
14559 ac_path_to_include
=$ac_find_includes
14560 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
14562 if test $result = 0; then
14563 ac_path_to_include
=""
14565 ac_path_to_include
=" -I$ac_find_includes"
14569 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14571 if test $result = 0; then
14574 ac_path_to_link
=" -L$ac_find_libraries"
14578 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14579 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
14580 echo "$ac_t""found at $ac_find_libraries" 1>&6
14582 cat > conftest.
$ac_ext <<EOF
14583 #line 14584 "configure"
14584 #include "confdefs.h"
14591 version = xmUseVersion;
14595 if { (eval echo configure
:14596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14598 echo "$ac_t""found in default search path" 1>&6
14599 COMPILED_X_PROGRAM
=1
14602 echo "configure: failed program was:" >&5
14603 cat conftest.
$ac_ext >&5
14606 echo "$ac_t""no" 1>&6
14607 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14616 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14617 echo "configure:14618: checking for Xpm library" >&5
14620 for ac_dir
in $SEARCH_LIB;
14622 for ac_extension
in a so sl dylib
; do
14623 if test -f "$ac_dir/libXpm.$ac_extension"; then
14624 ac_find_libraries
=$ac_dir
14630 if test "$ac_find_libraries" != "" ; then
14632 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14634 if test $result = 0; then
14637 ac_path_to_link
=" -L$ac_find_libraries"
14640 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14642 cat >> confdefs.h
<<\EOF
14643 #define wxHAVE_LIB_XPM 1
14646 echo "$ac_t""found at $ac_find_libraries" 1>&6
14648 cat > conftest.
$ac_ext <<EOF
14649 #line 14650 "configure"
14650 #include "confdefs.h"
14652 #include <X11/xpm.h>
14657 version = XpmLibraryVersion();
14661 if { (eval echo configure
:14662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14665 cat >> confdefs.h
<<\EOF
14666 #define wxHAVE_LIB_XPM 1
14669 echo "$ac_t""found in default search path" 1>&6
14670 COMPILED_X_PROGRAM
=0
14673 echo "configure: failed program was:" >&5
14674 cat conftest.
$ac_ext >&5
14677 echo "$ac_t""no" 1>&6
14678 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14685 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
14686 echo "configure:14687: checking if we need -lXp and/or -lSM -lICE" >&5
14690 for libp
in "" " -lXp"; do
14691 if test "$libs_found" = "0"; then
14692 for libsm_ice
in " -lSM -lICE"; do
14693 if test "$libs_found" = "0"; then
14695 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
14696 cat > conftest.
$ac_ext <<EOF
14697 #line 14698 "configure"
14698 #include "confdefs.h"
14701 #include <Xm/List.h>
14705 XmString string = NULL;
14708 XmListAddItem(w, string, position);
14712 if { (eval echo configure
:14713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14716 libsm_ice_link
="$libsm_ice"
14717 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
14721 echo "configure: failed program was:" >&5
14722 cat conftest.
$ac_ext >&5
14734 if test "$libs_found" = "0"; then
14735 echo "$ac_t""can't find the right libraries" 1>&6
14736 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
14739 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
14740 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14745 if test "$wxUSE_MAC" = 1; then
14746 if test "$wxUSE_PRECOMP" = "yes"; then
14747 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
14749 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
14751 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
14752 CFLAGS
="$CFLAGS -fpascal-strings"
14753 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
14755 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14760 if test "$wxUSE_PM" = 1; then
14765 if test "$TOOLKIT" = "PM" ; then
14768 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14771 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14773 if test "$wxUSE_UNIVERSAL" = "yes"; then
14774 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14776 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14777 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14779 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14780 if test "$wxUSE_X11" = 1; then
14781 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14783 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14785 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14788 ALL_OBJECTS
="\$(GUIOBJS)"
14789 ALL_SOURCES
="\$(ALL_SOURCES)"
14790 ALL_HEADERS
="\$(ALL_HEADERS)"
14793 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14795 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14796 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
14799 if test "$wxUSE_HTML" = "yes"; then
14800 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
14803 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14804 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
14806 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14807 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
14809 if test "$wxUSE_LIBPNG" = "builtin" ; then
14810 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
14813 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14814 DISTDIR
="wx\$(TOOLKIT)"
14820 if test "$USE_WIN32" = 1 ; then
14821 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
14822 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
14826 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
14827 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
14830 ALL_SOURCES
="\$(ALL_SOURCES)"
14831 ALL_HEADERS
="\$(ALL_HEADERS)"
14833 PORT_FILES
="\${top_srcdir}/src/files.lst"
14835 GUIDIST
="BASE_DIST"
14840 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
14841 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
14844 if test "$wxUSE_REGEX" = "builtin" ; then
14845 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
14847 if test "$wxUSE_ZLIB" = "builtin" ; then
14848 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
14852 if test "$wxUSE_OPENGL" = "yes"; then
14853 if test "$wxUSE_MAC" = 1; then
14854 OPENGL_LIBS
="-framework OpenGL -framework AGL"
14855 elif test "$wxUSE_MSW" = 1; then
14856 OPENGL_LIBS
="-lopengl32 -lglu32"
14858 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14859 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14860 echo "configure:14861: checking for GL/gl.h" >&5
14861 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14862 echo $ac_n "(cached) $ac_c" 1>&6
14864 cat > conftest.
$ac_ext <<EOF
14865 #line 14866 "configure"
14866 #include "confdefs.h"
14869 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14870 { (eval echo configure
:14871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14871 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14872 if test -z "$ac_err"; then
14874 eval "ac_cv_header_$ac_safe=yes"
14877 echo "configure: failed program was:" >&5
14878 cat conftest.
$ac_ext >&5
14880 eval "ac_cv_header_$ac_safe=no"
14884 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14885 echo "$ac_t""yes" 1>&6
14887 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
14888 echo "configure:14889: checking for -lGL" >&5
14891 for ac_dir
in $SEARCH_LIB;
14893 for ac_extension
in a so sl dylib
; do
14894 if test -f "$ac_dir/libGL.$ac_extension"; then
14895 ac_find_libraries
=$ac_dir
14901 if test "$ac_find_libraries" != "" ; then
14903 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14905 if test $result = 0; then
14908 ac_path_to_link
=" -L$ac_find_libraries"
14911 if test "$ac_path_to_link" = " -L/usr/lib" ; then
14912 LDFLAGS_GL
="$LDFLAGS"
14914 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14916 OPENGL_LIBS
="-lGL -lGLU"
14917 echo "$ac_t""yes" 1>&6
14919 echo "$ac_t""no" 1>&6
14920 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
14921 echo "configure:14922: checking for -lMesaGL" >&5
14924 for ac_dir
in $SEARCH_LIB;
14926 for ac_extension
in a so sl dylib
; do
14927 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14928 ac_find_libraries
=$ac_dir
14934 if test "$ac_find_libraries" != "" ; then
14936 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14938 if test $result = 0; then
14941 ac_path_to_link
=" -L$ac_find_libraries"
14944 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14945 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
14946 echo "$ac_t""yes" 1>&6
14948 echo "$ac_t""no" 1>&6
14953 echo "$ac_t""no" 1>&6
14957 if test "x$OPENGL_LIBS" = "x"; then
14958 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
14962 if test "$wxUSE_OPENGL" = "yes"; then
14963 cat >> confdefs.h
<<\EOF
14964 #define wxUSE_OPENGL 1
14967 cat >> confdefs.h
<<\EOF
14968 #define wxUSE_GLCANVAS 1
14971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
14975 if test -z "$TOOLKIT_VPATH" ; then
14976 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
14979 if test -n "$TOOLKIT" ; then
14980 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
14983 lib_unicode_suffix
=
14984 if test "$wxUSE_UNICODE" = "yes"; then
14985 lib_unicode_suffix
=u
14989 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
14993 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
14994 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
14996 if test "$cross_compiling" = "yes"; then
14997 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
14998 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15001 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15002 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15004 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15005 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15007 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15008 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15009 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15010 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15013 *-*-cygwin* | *-*-mingw32* )
15017 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15018 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15019 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15020 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15021 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15023 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15024 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15029 if test "$wxUSE_MAC" = 1; then
15030 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
15031 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
15036 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
15037 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
15039 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
15040 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
15042 if test "$wxUSE_OPENGL" = "yes"; then
15043 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
15044 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
15049 if test "$wxUSE_SHARED" = "yes"; then
15051 *-pc-os2_emx | *-pc-os2-emx | \
15054 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
15059 if test "$wxUSE_SHARED" = "yes"; then
15061 if test "$wxUSE_OPENGL" = "yes"; then
15062 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
15063 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
15065 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
15066 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
15069 if test "$GCC" = "yes"; then
15073 SHARED_LD
="${CXX} -shared -o"
15077 if test "$GCC" == "yes"; then
15078 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
15080 LDFLAGS
="$LDFLAGS -L/usr/lib"
15082 SHARED_LD
="${CXX} -b -o"
15086 if test "$wxUSE_OPENGL" = "yes"; then
15087 WX_ALL_INSTALLED
="preinstall_gl"
15088 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15090 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15095 if test "$GCC" != "yes"; then
15096 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
15097 echo "configure:15098: checking for Intel compiler" >&5
15098 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
15099 echo $ac_n "(cached) $ac_c" 1>&6
15102 cat > conftest.
$ac_ext <<EOF
15103 #line 15104 "configure"
15104 #include "confdefs.h"
15108 #ifndef __INTEL_COMPILER
15114 if { (eval echo configure
:15115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15118 echo "configure: failed program was:" >&5
15119 cat conftest.
$ac_ext >&5
15128 echo "$ac_t""$wx_cv_prog_icc" 1>&6
15129 if test "$wx_cv_prog_icc" = "yes"; then
15134 if test "$wxUSE_SONAME" = "yes" ; then
15135 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
15136 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
15137 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
15142 if test "$GCC" = yes ; then
15143 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
15145 SHARED_LD
="${CXX} -G -o"
15147 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
15148 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
15153 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
15154 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
15155 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
15156 PIC_FLAG
="-dynamic -fPIC"
15157 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
15158 SONAME_FLAGS_GL
=${SONAME_FLAGS}
15162 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
15163 set dummy makeC
++SharedLib
; ac_word
=$2
15164 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15165 echo "configure:15166: checking for $ac_word" >&5
15166 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
15167 echo $ac_n "(cached) $ac_c" 1>&6
15169 if test -n "$AIX_CXX_LD"; then
15170 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
15172 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15174 for ac_dir
in $ac_dummy; do
15175 test -z "$ac_dir" && ac_dir
=.
15176 if test -f $ac_dir/$ac_word; then
15177 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
15182 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
15185 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
15186 if test -n "$AIX_CXX_LD"; then
15187 echo "$ac_t""$AIX_CXX_LD" 1>&6
15189 echo "$ac_t""no" 1>&6
15193 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
15196 *-*-cygwin* | *-*-mingw32* )
15198 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
15200 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
15201 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
15203 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
15205 if test "$wxUSE_OPENGL" = "yes"; then
15206 WX_ALL_INSTALLED
="preinstall_gl"
15207 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15209 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15214 SHARED_LD
="${LD} -shared -o"
15217 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
15219 *-*-irix5* | *-*-irix6* | \
15226 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
15229 if test "x$WX_TARGET_LIBRARY" = "x"; then
15230 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
15231 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
15234 WX_TARGET_LIBRARY_TYPE
="so"
15235 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
15238 if test "$wxUSE_SHARED" = "no"; then
15240 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
15241 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15244 if test "$wxUSE_MAC" = 1; then
15245 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15248 if test "$wxUSE_OPENGL" = "yes"; then
15249 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
15250 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
15252 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
15255 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
15256 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
15258 WX_TARGET_LIBRARY_TYPE
="a"
15259 INSTALL_LIBRARY
='$(INSTALL_DATA)'
15262 if test "$wxUSE_MAC" = 1; then
15263 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
15264 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
15265 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
15266 # Extract the first word of "Rez", so it can be a program name with args.
15267 set dummy Rez
; ac_word
=$2
15268 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15269 echo "configure:15270: checking for $ac_word" >&5
15270 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
15271 echo $ac_n "(cached) $ac_c" 1>&6
15273 if test -n "$RESCOMP"; then
15274 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
15276 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15278 for ac_dir
in $ac_dummy; do
15279 test -z "$ac_dir" && ac_dir
=.
15280 if test -f $ac_dir/$ac_word; then
15281 ac_cv_prog_RESCOMP
="Rez"
15286 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
15289 RESCOMP
="$ac_cv_prog_RESCOMP"
15290 if test -n "$RESCOMP"; then
15291 echo "$ac_t""$RESCOMP" 1>&6
15293 echo "$ac_t""no" 1>&6
15296 # Extract the first word of "DeRez", so it can be a program name with args.
15297 set dummy DeRez
; ac_word
=$2
15298 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15299 echo "configure:15300: checking for $ac_word" >&5
15300 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
15301 echo $ac_n "(cached) $ac_c" 1>&6
15303 if test -n "$DEREZ"; then
15304 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
15306 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15308 for ac_dir
in $ac_dummy; do
15309 test -z "$ac_dir" && ac_dir
=.
15310 if test -f $ac_dir/$ac_word; then
15311 ac_cv_prog_DEREZ
="DeRez"
15316 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
15319 DEREZ
="$ac_cv_prog_DEREZ"
15320 if test -n "$DEREZ"; then
15321 echo "$ac_t""$DEREZ" 1>&6
15323 echo "$ac_t""no" 1>&6
15326 MACOSX_BUNDLE
="bundle"
15327 if test "$wxUSE_SHARED" = "yes"; then
15328 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
15329 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
15331 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
15332 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
15335 if test "$wxUSE_PM" = 1; then
15336 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
15341 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
15342 echo "configure:15343: checking for ANSI C header files" >&5
15343 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
15344 echo $ac_n "(cached) $ac_c" 1>&6
15346 cat > conftest.
$ac_ext <<EOF
15347 #line 15348 "configure"
15348 #include "confdefs.h"
15349 #include <stdlib.h>
15350 #include <stdarg.h>
15351 #include <string.h>
15354 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15355 { (eval echo configure
:15356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15356 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15357 if test -z "$ac_err"; then
15359 ac_cv_header_stdc
=yes
15362 echo "configure: failed program was:" >&5
15363 cat conftest.
$ac_ext >&5
15365 ac_cv_header_stdc
=no
15369 if test $ac_cv_header_stdc = yes; then
15370 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15371 cat > conftest.
$ac_ext <<EOF
15372 #line 15373 "configure"
15373 #include "confdefs.h"
15374 #include <string.h>
15376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15377 egrep "memchr" >/dev
/null
2>&1; then
15381 ac_cv_header_stdc
=no
15387 if test $ac_cv_header_stdc = yes; then
15388 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15389 cat > conftest.
$ac_ext <<EOF
15390 #line 15391 "configure"
15391 #include "confdefs.h"
15392 #include <stdlib.h>
15394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15395 egrep "free" >/dev
/null
2>&1; then
15399 ac_cv_header_stdc
=no
15405 if test $ac_cv_header_stdc = yes; then
15406 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15407 if test "$cross_compiling" = yes; then
15410 cat > conftest.
$ac_ext <<EOF
15411 #line 15412 "configure"
15412 #include "confdefs.h"
15414 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15415 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15416 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15417 int main () { int i; for (i = 0; i < 256; i++)
15418 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15422 if { (eval echo configure
:15423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15426 echo "configure: failed program was:" >&5
15427 cat conftest.
$ac_ext >&5
15429 ac_cv_header_stdc
=no
15437 echo "$ac_t""$ac_cv_header_stdc" 1>&6
15438 if test $ac_cv_header_stdc = yes; then
15439 cat >> confdefs.h
<<\EOF
15440 #define STDC_HEADERS 1
15445 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15446 echo "configure:15447: checking for mode_t" >&5
15447 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
15448 echo $ac_n "(cached) $ac_c" 1>&6
15450 cat > conftest.
$ac_ext <<EOF
15451 #line 15452 "configure"
15452 #include "confdefs.h"
15453 #include <sys/types.h>
15455 #include <stdlib.h>
15456 #include <stddef.h>
15459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15460 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15462 ac_cv_type_mode_t
=yes
15465 ac_cv_type_mode_t
=no
15470 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15471 if test $ac_cv_type_mode_t = no
; then
15472 cat >> confdefs.h
<<\EOF
15478 echo $ac_n "checking for off_t""... $ac_c" 1>&6
15479 echo "configure:15480: checking for off_t" >&5
15480 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
15481 echo $ac_n "(cached) $ac_c" 1>&6
15483 cat > conftest.
$ac_ext <<EOF
15484 #line 15485 "configure"
15485 #include "confdefs.h"
15486 #include <sys/types.h>
15488 #include <stdlib.h>
15489 #include <stddef.h>
15492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15493 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15495 ac_cv_type_off_t
=yes
15498 ac_cv_type_off_t
=no
15503 echo "$ac_t""$ac_cv_type_off_t" 1>&6
15504 if test $ac_cv_type_off_t = no
; then
15505 cat >> confdefs.h
<<\EOF
15511 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15512 echo "configure:15513: checking for pid_t" >&5
15513 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
15514 echo $ac_n "(cached) $ac_c" 1>&6
15516 cat > conftest.
$ac_ext <<EOF
15517 #line 15518 "configure"
15518 #include "confdefs.h"
15519 #include <sys/types.h>
15521 #include <stdlib.h>
15522 #include <stddef.h>
15525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15526 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15528 ac_cv_type_pid_t
=yes
15531 ac_cv_type_pid_t
=no
15536 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15537 if test $ac_cv_type_pid_t = no
; then
15538 cat >> confdefs.h
<<\EOF
15544 echo $ac_n "checking for size_t""... $ac_c" 1>&6
15545 echo "configure:15546: checking for size_t" >&5
15546 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
15547 echo $ac_n "(cached) $ac_c" 1>&6
15549 cat > conftest.
$ac_ext <<EOF
15550 #line 15551 "configure"
15551 #include "confdefs.h"
15552 #include <sys/types.h>
15554 #include <stdlib.h>
15555 #include <stddef.h>
15558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15559 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15561 ac_cv_type_size_t
=yes
15564 ac_cv_type_size_t
=no
15569 echo "$ac_t""$ac_cv_type_size_t" 1>&6
15570 if test $ac_cv_type_size_t = no
; then
15571 cat >> confdefs.h
<<\EOF
15572 #define size_t unsigned
15577 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15578 echo "configure:15579: checking for uid_t in sys/types.h" >&5
15579 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15580 echo $ac_n "(cached) $ac_c" 1>&6
15582 cat > conftest.
$ac_ext <<EOF
15583 #line 15584 "configure"
15584 #include "confdefs.h"
15585 #include <sys/types.h>
15587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15588 egrep "uid_t" >/dev
/null
2>&1; then
15590 ac_cv_type_uid_t
=yes
15593 ac_cv_type_uid_t
=no
15599 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15600 if test $ac_cv_type_uid_t = no
; then
15601 cat >> confdefs.h
<<\EOF
15605 cat >> confdefs.h
<<\EOF
15614 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15615 ac_cpp
='$CXXCPP $CPPFLAGS'
15616 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15617 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15618 cross_compiling
=$ac_cv_prog_cxx_cross
15620 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15621 echo "configure:15622: checking if size_t is unsigned int" >&5
15622 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15623 echo $ac_n "(cached) $ac_c" 1>&6
15625 cat > conftest.
$ac_ext <<EOF
15626 #line 15627 "configure"
15627 #include "confdefs.h"
15628 #include <stddef.h>
15633 struct Foo { void foo(size_t); void foo(unsigned int); };
15639 if { (eval echo configure
:15640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15641 wx_cv_size_t_is_uint
=no
15643 echo "configure: failed program was:" >&5
15644 cat conftest.
$ac_ext >&5
15646 wx_cv_size_t_is_uint
=yes
15653 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15655 if test "$wx_cv_size_t_is_uint" = "yes"; then
15656 cat >> confdefs.h
<<\EOF
15657 #define wxSIZE_T_IS_UINT 1
15661 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15662 echo "configure:15663: checking if size_t is unsigned long" >&5
15663 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15664 echo $ac_n "(cached) $ac_c" 1>&6
15666 cat > conftest.
$ac_ext <<EOF
15667 #line 15668 "configure"
15668 #include "confdefs.h"
15669 #include <stddef.h>
15674 struct Foo { void foo(size_t); void foo(unsigned long); };
15680 if { (eval echo configure
:15681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15682 wx_cv_size_t_is_ulong
=no
15684 echo "configure: failed program was:" >&5
15685 cat conftest.
$ac_ext >&5
15687 wx_cv_size_t_is_ulong
=yes
15694 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15696 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15697 cat >> confdefs.h
<<\EOF
15698 #define wxSIZE_T_IS_ULONG 1
15705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15706 ac_cpp
='$CPP $CPPFLAGS'
15707 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15708 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15709 cross_compiling
=$ac_cv_prog_cc_cross
15713 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15714 echo "configure:15715: checking for pw_gecos in struct passwd" >&5
15715 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15716 echo $ac_n "(cached) $ac_c" 1>&6
15719 cat > conftest.
$ac_ext <<EOF
15720 #line 15721 "configure"
15721 #include "confdefs.h"
15731 if { (eval echo configure
:15732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15734 wx_cv_struct_pw_gecos
=yes
15737 echo "configure: failed program was:" >&5
15738 cat conftest.
$ac_ext >&5
15741 wx_cv_struct_pw_gecos
=no
15750 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15752 if test "$wx_cv_struct_pw_gecos" = "yes"; then
15753 cat >> confdefs.h
<<\EOF
15754 #define HAVE_PW_GECOS 1
15761 if test "$wx_cv_sizeof_wchar_t" != "0"; then
15763 for ac_func
in wcslen
15765 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15766 echo "configure:15767: checking for $ac_func" >&5
15767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15768 echo $ac_n "(cached) $ac_c" 1>&6
15770 cat > conftest.
$ac_ext <<EOF
15771 #line 15772 "configure"
15772 #include "confdefs.h"
15773 /* System header to define __stub macros and hopefully few prototypes,
15774 which can conflict with char $ac_func(); below. */
15775 #include <assert.h>
15776 /* Override any gcc2 internal prototype to avoid an error. */
15777 /* We use char because int might match the return type of a gcc2
15778 builtin and then its argument prototype would still apply. */
15783 /* The GNU C library defines this for functions which it implements
15784 to always fail with ENOSYS. Some functions are actually named
15785 something starting with __ and the normal name is an alias. */
15786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15794 if { (eval echo configure
:15795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15796 eval "ac_cv_func_$ac_func=yes"
15798 echo "configure: failed program was:" >&5
15799 cat conftest.
$ac_ext >&5
15801 eval "ac_cv_func_$ac_func=no"
15806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15807 echo "$ac_t""yes" 1>&6
15808 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15809 cat >> confdefs.h
<<EOF
15810 #define $ac_tr_func 1
15813 cat >> confdefs.h
<<\EOF
15814 #define HAVE_WCSLEN 1
15820 echo "$ac_t""no" 1>&6
15825 if test "$WCHAR_OK" = 0; then
15826 if test "$TOOLKIT" = "MSW"; then
15827 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15828 echo "configure:15829: checking for wcslen in -lmsvcrt" >&5
15829 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15830 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15831 echo $ac_n "(cached) $ac_c" 1>&6
15833 ac_save_LIBS
="$LIBS"
15834 LIBS
="-lmsvcrt $LIBS"
15835 cat > conftest.
$ac_ext <<EOF
15836 #line 15837 "configure"
15837 #include "confdefs.h"
15838 /* Override any gcc2 internal prototype to avoid an error. */
15839 /* We use char because int might match the return type of a gcc2
15840 builtin and then its argument prototype would still apply. */
15847 if { (eval echo configure
:15848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15849 eval "ac_cv_lib_$ac_lib_var=yes"
15851 echo "configure: failed program was:" >&5
15852 cat conftest.
$ac_ext >&5
15854 eval "ac_cv_lib_$ac_lib_var=no"
15857 LIBS
="$ac_save_LIBS"
15860 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15861 echo "$ac_t""yes" 1>&6
15863 cat >> confdefs.h
<<\EOF
15864 #define HAVE_WCSLEN 1
15870 echo "$ac_t""no" 1>&6
15874 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15875 echo "configure:15876: checking for wcslen in -lw" >&5
15876 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15877 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15878 echo $ac_n "(cached) $ac_c" 1>&6
15880 ac_save_LIBS
="$LIBS"
15882 cat > conftest.
$ac_ext <<EOF
15883 #line 15884 "configure"
15884 #include "confdefs.h"
15885 /* Override any gcc2 internal prototype to avoid an error. */
15886 /* We use char because int might match the return type of a gcc2
15887 builtin and then its argument prototype would still apply. */
15894 if { (eval echo configure
:15895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15896 eval "ac_cv_lib_$ac_lib_var=yes"
15898 echo "configure: failed program was:" >&5
15899 cat conftest.
$ac_ext >&5
15901 eval "ac_cv_lib_$ac_lib_var=no"
15904 LIBS
="$ac_save_LIBS"
15907 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15908 echo "$ac_t""yes" 1>&6
15910 cat >> confdefs.h
<<\EOF
15911 #define HAVE_WCSLEN 1
15918 echo "$ac_t""no" 1>&6
15925 if test "$WCHAR_OK" = 1; then
15926 cat >> confdefs.h
<<\EOF
15927 #define wxUSE_WCHAR_T 1
15931 for ac_func
in wcsrtombs
15933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15934 echo "configure:15935: checking for $ac_func" >&5
15935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15936 echo $ac_n "(cached) $ac_c" 1>&6
15938 cat > conftest.
$ac_ext <<EOF
15939 #line 15940 "configure"
15940 #include "confdefs.h"
15941 /* System header to define __stub macros and hopefully few prototypes,
15942 which can conflict with char $ac_func(); below. */
15943 #include <assert.h>
15944 /* Override any gcc2 internal prototype to avoid an error. */
15945 /* We use char because int might match the return type of a gcc2
15946 builtin and then its argument prototype would still apply. */
15951 /* The GNU C library defines this for functions which it implements
15952 to always fail with ENOSYS. Some functions are actually named
15953 something starting with __ and the normal name is an alias. */
15954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15962 if { (eval echo configure
:15963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15964 eval "ac_cv_func_$ac_func=yes"
15966 echo "configure: failed program was:" >&5
15967 cat conftest.
$ac_ext >&5
15969 eval "ac_cv_func_$ac_func=no"
15974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15975 echo "$ac_t""yes" 1>&6
15976 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15977 cat >> confdefs.h
<<EOF
15978 #define $ac_tr_func 1
15982 echo "$ac_t""no" 1>&6
15987 if test "$USE_DARWIN" = 1; then
15988 cat >> confdefs.h
<<\EOF
15989 #define wxUSE_WCHAR_T 1
15993 echo "configure: warning: Wide character support is unavailable" 1>&2
15997 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15998 echo "configure:15999: checking for vprintf" >&5
15999 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
16000 echo $ac_n "(cached) $ac_c" 1>&6
16002 cat > conftest.
$ac_ext <<EOF
16003 #line 16004 "configure"
16004 #include "confdefs.h"
16005 /* System header to define __stub macros and hopefully few prototypes,
16006 which can conflict with char vprintf(); below. */
16007 #include <assert.h>
16008 /* Override any gcc2 internal prototype to avoid an error. */
16009 /* We use char because int might match the return type of a gcc2
16010 builtin and then its argument prototype would still apply. */
16015 /* The GNU C library defines this for functions which it implements
16016 to always fail with ENOSYS. Some functions are actually named
16017 something starting with __ and the normal name is an alias. */
16018 #if defined (__stub_vprintf) || defined (__stub___vprintf)
16026 if { (eval echo configure
:16027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16028 eval "ac_cv_func_vprintf=yes"
16030 echo "configure: failed program was:" >&5
16031 cat conftest.
$ac_ext >&5
16033 eval "ac_cv_func_vprintf=no"
16038 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
16039 echo "$ac_t""yes" 1>&6
16040 cat >> confdefs.h
<<\EOF
16041 #define HAVE_VPRINTF 1
16045 echo "$ac_t""no" 1>&6
16048 if test "$ac_cv_func_vprintf" != yes; then
16049 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
16050 echo "configure:16051: checking for _doprnt" >&5
16051 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
16052 echo $ac_n "(cached) $ac_c" 1>&6
16054 cat > conftest.
$ac_ext <<EOF
16055 #line 16056 "configure"
16056 #include "confdefs.h"
16057 /* System header to define __stub macros and hopefully few prototypes,
16058 which can conflict with char _doprnt(); below. */
16059 #include <assert.h>
16060 /* Override any gcc2 internal prototype to avoid an error. */
16061 /* We use char because int might match the return type of a gcc2
16062 builtin and then its argument prototype would still apply. */
16067 /* The GNU C library defines this for functions which it implements
16068 to always fail with ENOSYS. Some functions are actually named
16069 something starting with __ and the normal name is an alias. */
16070 #if defined (__stub__doprnt) || defined (__stub____doprnt)
16078 if { (eval echo configure
:16079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16080 eval "ac_cv_func__doprnt=yes"
16082 echo "configure: failed program was:" >&5
16083 cat conftest.
$ac_ext >&5
16085 eval "ac_cv_func__doprnt=no"
16090 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
16091 echo "$ac_t""yes" 1>&6
16092 cat >> confdefs.h
<<\EOF
16093 #define HAVE_DOPRNT 1
16097 echo "$ac_t""no" 1>&6
16107 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
16108 echo "configure:16109: checking for vsnprintf" >&5
16109 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
16110 echo $ac_n "(cached) $ac_c" 1>&6
16113 cat > conftest.
$ac_ext <<EOF
16114 #line 16115 "configure"
16115 #include "confdefs.h"
16118 #include <stdarg.h>
16122 int wx_test_vsnprintf(const char *, ...);
16124 wx_test_vsnprintf("%s");
16128 int wx_test_vsnprintf(const char *fmt, ...)
16133 va_start(argp, fmt);
16134 vsnprintf(s, 42, fmt, argp);
16139 if { (eval echo configure
:16140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16142 wx_cv_func_vsnprintf
=yes
16145 echo "configure: failed program was:" >&5
16146 cat conftest.
$ac_ext >&5
16149 cat > conftest.
$ac_ext <<EOF
16150 #line 16151 "configure"
16151 #include "confdefs.h"
16154 #include <stdarg.h>
16158 int wx_test_vsnprintf(const char *, ...);
16160 wx_test_vsnprintf("%s");
16164 int wx_test_vsnprintf(const char *fmt, ...)
16169 va_start(argp, fmt);
16170 _vsnprintf(s, 42, fmt, argp);
16175 if { (eval echo configure
:16176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16178 wx_cv_func_vsnprintf
=yes
16181 echo "configure: failed program was:" >&5
16182 cat conftest.
$ac_ext >&5
16185 wx_cv_func_vsnprintf
=no
16195 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
16197 if test "$wx_cv_func_vsnprintf" = yes; then
16198 cat >> confdefs.h
<<\EOF
16199 #define HAVE_VSNPRINTF 1
16203 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
16206 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
16207 echo "configure:16208: checking for vsscanf" >&5
16208 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
16209 echo $ac_n "(cached) $ac_c" 1>&6
16212 cat > conftest.
$ac_ext <<EOF
16213 #line 16214 "configure"
16214 #include "confdefs.h"
16217 #include <stdarg.h>
16221 int wx_test_vsscanf(const char *, ...);
16223 wx_test_vsscanf("%d");
16227 int wx_test_vsscanf(const char *fmt, ...)
16230 va_start(argp, fmt);
16231 vsscanf("42", fmt, argp);
16236 if { (eval echo configure
:16237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16239 wx_cv_func_vsscanf
=yes
16242 echo "configure: failed program was:" >&5
16243 cat conftest.
$ac_ext >&5
16246 wx_cv_func_vsscanf
=no
16253 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
16255 if test "$wx_cv_func_vsscanf" = yes; then
16256 cat >> confdefs.h
<<\EOF
16257 #define HAVE_VSSCANF 1
16262 if test "$TOOLKIT" != "MSW"; then
16267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16268 ac_cpp
='$CXXCPP $CPPFLAGS'
16269 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16270 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16271 cross_compiling
=$ac_cv_prog_cxx_cross
16275 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16276 if test "${with_libiconv_prefix+set}" = set; then
16277 withval
="$with_libiconv_prefix"
16279 for dir
in `echo "$withval" | tr : ' '`; do
16280 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
16281 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
16287 echo $ac_n "checking for iconv""... $ac_c" 1>&6
16288 echo "configure:16289: checking for iconv" >&5
16289 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
16290 echo $ac_n "(cached) $ac_c" 1>&6
16293 am_cv_func_iconv
="no, consider installing GNU libiconv"
16295 cat > conftest.
$ac_ext <<EOF
16296 #line 16297 "configure"
16297 #include "confdefs.h"
16298 #include <stdlib.h>
16301 iconv_t cd = iconv_open("","");
16302 iconv(cd,NULL,NULL,NULL,NULL);
16306 if { (eval echo configure
:16307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16308 am_cv_func_iconv
=yes
16310 echo "configure: failed program was:" >&5
16311 cat conftest.
$ac_ext >&5
16314 if test "$am_cv_func_iconv" != yes; then
16315 am_save_LIBS
="$LIBS"
16316 LIBS
="$LIBS -liconv"
16317 cat > conftest.
$ac_ext <<EOF
16318 #line 16319 "configure"
16319 #include "confdefs.h"
16320 #include <stdlib.h>
16323 iconv_t cd = iconv_open("","");
16324 iconv(cd,NULL,NULL,NULL,NULL);
16328 if { (eval echo configure
:16329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16330 am_cv_lib_iconv
=yes
16331 am_cv_func_iconv
=yes
16333 echo "configure: failed program was:" >&5
16334 cat conftest.
$ac_ext >&5
16337 LIBS
="$am_save_LIBS"
16342 echo "$ac_t""$am_cv_func_iconv" 1>&6
16343 if test "$am_cv_func_iconv" = yes; then
16344 cat >> confdefs.h
<<\EOF
16345 #define HAVE_ICONV 1
16348 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
16349 echo "configure:16350: checking if iconv needs const" >&5
16350 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16351 echo $ac_n "(cached) $ac_c" 1>&6
16353 cat > conftest.
$ac_ext <<EOF
16354 #line 16355 "configure"
16355 #include "confdefs.h"
16357 #include <stdlib.h>
16363 #if defined(__STDC__) || defined(__cplusplus)
16364 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16373 if { (eval echo configure
:16374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16375 wx_cv_func_iconv_const
="no"
16377 echo "configure: failed program was:" >&5
16378 cat conftest.
$ac_ext >&5
16380 wx_cv_func_iconv_const
="yes"
16387 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16390 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16391 iconv_const
="const"
16394 cat >> confdefs.h
<<EOF
16395 #define ICONV_CONST $iconv_const
16400 if test "$am_cv_lib_iconv" = yes; then
16405 LIBS
="$LIBICONV $LIBS"
16407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16408 ac_cpp
='$CPP $CPPFLAGS'
16409 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16410 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16411 cross_compiling
=$ac_cv_prog_cc_cross
16414 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16415 for ac_func
in sigaction
16417 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16418 echo "configure:16419: checking for $ac_func" >&5
16419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16420 echo $ac_n "(cached) $ac_c" 1>&6
16422 cat > conftest.
$ac_ext <<EOF
16423 #line 16424 "configure"
16424 #include "confdefs.h"
16425 /* System header to define __stub macros and hopefully few prototypes,
16426 which can conflict with char $ac_func(); below. */
16427 #include <assert.h>
16428 /* Override any gcc2 internal prototype to avoid an error. */
16429 /* We use char because int might match the return type of a gcc2
16430 builtin and then its argument prototype would still apply. */
16435 /* The GNU C library defines this for functions which it implements
16436 to always fail with ENOSYS. Some functions are actually named
16437 something starting with __ and the normal name is an alias. */
16438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16446 if { (eval echo configure
:16447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16448 eval "ac_cv_func_$ac_func=yes"
16450 echo "configure: failed program was:" >&5
16451 cat conftest.
$ac_ext >&5
16453 eval "ac_cv_func_$ac_func=no"
16458 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16459 echo "$ac_t""yes" 1>&6
16460 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16461 cat >> confdefs.h
<<EOF
16462 #define $ac_tr_func 1
16466 echo "$ac_t""no" 1>&6
16471 if test "$ac_cv_func_sigaction" = "no"; then
16472 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16473 wxUSE_ON_FATAL_EXCEPTION
=no
16476 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16480 ac_cpp
='$CXXCPP $CPPFLAGS'
16481 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16482 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16483 cross_compiling
=$ac_cv_prog_cxx_cross
16486 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16487 echo "configure:16488: checking for sa_handler type" >&5
16488 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16489 echo $ac_n "(cached) $ac_c" 1>&6
16492 cat > conftest.
$ac_ext <<EOF
16493 #line 16494 "configure"
16494 #include "confdefs.h"
16495 #include <signal.h>
16498 extern void testSigHandler(int);
16500 struct sigaction sa;
16501 sa.sa_handler = testSigHandler;
16505 if { (eval echo configure
:16506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16508 wx_cv_type_sa_handler
=int
16511 echo "configure: failed program was:" >&5
16512 cat conftest.
$ac_ext >&5
16515 wx_cv_type_sa_handler
=void
16522 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16526 ac_cpp
='$CPP $CPPFLAGS'
16527 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16528 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16529 cross_compiling
=$ac_cv_prog_cc_cross
16532 cat >> confdefs.h
<<EOF
16533 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16539 for ac_func
in vfork
16541 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16542 echo "configure:16543: checking for $ac_func" >&5
16543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16544 echo $ac_n "(cached) $ac_c" 1>&6
16546 cat > conftest.
$ac_ext <<EOF
16547 #line 16548 "configure"
16548 #include "confdefs.h"
16549 /* System header to define __stub macros and hopefully few prototypes,
16550 which can conflict with char $ac_func(); below. */
16551 #include <assert.h>
16552 /* Override any gcc2 internal prototype to avoid an error. */
16553 /* We use char because int might match the return type of a gcc2
16554 builtin and then its argument prototype would still apply. */
16559 /* The GNU C library defines this for functions which it implements
16560 to always fail with ENOSYS. Some functions are actually named
16561 something starting with __ and the normal name is an alias. */
16562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16570 if { (eval echo configure
:16571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16572 eval "ac_cv_func_$ac_func=yes"
16574 echo "configure: failed program was:" >&5
16575 cat conftest.
$ac_ext >&5
16577 eval "ac_cv_func_$ac_func=no"
16582 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16583 echo "$ac_t""yes" 1>&6
16584 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16585 cat >> confdefs.h
<<EOF
16586 #define $ac_tr_func 1
16590 echo "$ac_t""no" 1>&6
16595 for ac_func
in mkstemp mktemp
16597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16598 echo "configure:16599: checking for $ac_func" >&5
16599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16600 echo $ac_n "(cached) $ac_c" 1>&6
16602 cat > conftest.
$ac_ext <<EOF
16603 #line 16604 "configure"
16604 #include "confdefs.h"
16605 /* System header to define __stub macros and hopefully few prototypes,
16606 which can conflict with char $ac_func(); below. */
16607 #include <assert.h>
16608 /* Override any gcc2 internal prototype to avoid an error. */
16609 /* We use char because int might match the return type of a gcc2
16610 builtin and then its argument prototype would still apply. */
16615 /* The GNU C library defines this for functions which it implements
16616 to always fail with ENOSYS. Some functions are actually named
16617 something starting with __ and the normal name is an alias. */
16618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16626 if { (eval echo configure
:16627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16628 eval "ac_cv_func_$ac_func=yes"
16630 echo "configure: failed program was:" >&5
16631 cat conftest.
$ac_ext >&5
16633 eval "ac_cv_func_$ac_func=no"
16638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16639 echo "$ac_t""yes" 1>&6
16640 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16641 cat >> confdefs.h
<<EOF
16642 #define $ac_tr_func 1
16646 echo "$ac_t""no" 1>&6
16651 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16652 echo "configure:16653: checking for statfs" >&5
16653 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16654 echo $ac_n "(cached) $ac_c" 1>&6
16656 cat > conftest.
$ac_ext <<EOF
16657 #line 16658 "configure"
16658 #include "confdefs.h"
16660 #if defined(__BSD__)
16661 #include <sys/param.h>
16662 #include <sys/mount.h>
16664 #include <sys/vfs.h>
16678 if { (eval echo configure
:16679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16681 wx_cv_func_statfs
=yes
16684 echo "configure: failed program was:" >&5
16685 cat conftest.
$ac_ext >&5
16688 wx_cv_func_statfs
=no
16696 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16698 if test "$wx_cv_func_statfs" = "yes"; then
16699 cat >> confdefs.h
<<\EOF
16700 #define HAVE_STATFS 1
16704 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16705 echo "configure:16706: checking for statvfs" >&5
16706 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16707 echo $ac_n "(cached) $ac_c" 1>&6
16709 cat > conftest.
$ac_ext <<EOF
16710 #line 16711 "configure"
16711 #include "confdefs.h"
16713 #include <sys/statvfs.h>
16726 if { (eval echo configure
:16727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16729 wx_cv_func_statvfs
=yes
16732 echo "configure: failed program was:" >&5
16733 cat conftest.
$ac_ext >&5
16736 wx_cv_func_statvfs
=no
16744 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16746 if test "$wx_cv_func_statvfs" = "yes"; then
16747 cat >> confdefs.h
<<\EOF
16748 #define HAVE_STATVFS 1
16752 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16756 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16757 for ac_func
in fcntl flock
16759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16760 echo "configure:16761: checking for $ac_func" >&5
16761 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16762 echo $ac_n "(cached) $ac_c" 1>&6
16764 cat > conftest.
$ac_ext <<EOF
16765 #line 16766 "configure"
16766 #include "confdefs.h"
16767 /* System header to define __stub macros and hopefully few prototypes,
16768 which can conflict with char $ac_func(); below. */
16769 #include <assert.h>
16770 /* Override any gcc2 internal prototype to avoid an error. */
16771 /* We use char because int might match the return type of a gcc2
16772 builtin and then its argument prototype would still apply. */
16777 /* The GNU C library defines this for functions which it implements
16778 to always fail with ENOSYS. Some functions are actually named
16779 something starting with __ and the normal name is an alias. */
16780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16788 if { (eval echo configure
:16789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16790 eval "ac_cv_func_$ac_func=yes"
16792 echo "configure: failed program was:" >&5
16793 cat conftest.
$ac_ext >&5
16795 eval "ac_cv_func_$ac_func=no"
16800 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16801 echo "$ac_t""yes" 1>&6
16802 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16803 cat >> confdefs.h
<<EOF
16804 #define $ac_tr_func 1
16808 echo "$ac_t""no" 1>&6
16813 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16814 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16815 wxUSE_SNGLINST_CHECKER
=no
16819 for ac_func
in timegm
16821 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16822 echo "configure:16823: checking for $ac_func" >&5
16823 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16824 echo $ac_n "(cached) $ac_c" 1>&6
16826 cat > conftest.
$ac_ext <<EOF
16827 #line 16828 "configure"
16828 #include "confdefs.h"
16829 /* System header to define __stub macros and hopefully few prototypes,
16830 which can conflict with char $ac_func(); below. */
16831 #include <assert.h>
16832 /* Override any gcc2 internal prototype to avoid an error. */
16833 /* We use char because int might match the return type of a gcc2
16834 builtin and then its argument prototype would still apply. */
16839 /* The GNU C library defines this for functions which it implements
16840 to always fail with ENOSYS. Some functions are actually named
16841 something starting with __ and the normal name is an alias. */
16842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16850 if { (eval echo configure
:16851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16852 eval "ac_cv_func_$ac_func=yes"
16854 echo "configure: failed program was:" >&5
16855 cat conftest.
$ac_ext >&5
16857 eval "ac_cv_func_$ac_func=no"
16862 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16863 echo "$ac_t""yes" 1>&6
16864 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16865 cat >> confdefs.h
<<EOF
16866 #define $ac_tr_func 1
16870 echo "$ac_t""no" 1>&6
16875 for ac_func
in putenv setenv
16877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16878 echo "configure:16879: checking for $ac_func" >&5
16879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16880 echo $ac_n "(cached) $ac_c" 1>&6
16882 cat > conftest.
$ac_ext <<EOF
16883 #line 16884 "configure"
16884 #include "confdefs.h"
16885 /* System header to define __stub macros and hopefully few prototypes,
16886 which can conflict with char $ac_func(); below. */
16887 #include <assert.h>
16888 /* Override any gcc2 internal prototype to avoid an error. */
16889 /* We use char because int might match the return type of a gcc2
16890 builtin and then its argument prototype would still apply. */
16895 /* The GNU C library defines this for functions which it implements
16896 to always fail with ENOSYS. Some functions are actually named
16897 something starting with __ and the normal name is an alias. */
16898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16906 if { (eval echo configure
:16907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16908 eval "ac_cv_func_$ac_func=yes"
16910 echo "configure: failed program was:" >&5
16911 cat conftest.
$ac_ext >&5
16913 eval "ac_cv_func_$ac_func=no"
16918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16919 echo "$ac_t""yes" 1>&6
16920 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16921 cat >> confdefs.h
<<EOF
16922 #define $ac_tr_func 1
16926 echo "$ac_t""no" 1>&6
16931 HAVE_SOME_SLEEP_FUNC
=0
16932 if test "$USE_BEOS" = 1; then
16933 cat >> confdefs.h
<<\EOF
16934 #define HAVE_SLEEP 1
16937 HAVE_SOME_SLEEP_FUNC
=1
16940 if test "$USE_DARWIN" = 1; then
16941 cat >> confdefs.h
<<\EOF
16942 #define HAVE_USLEEP 1
16945 HAVE_SOME_SLEEP_FUNC
=1
16948 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16950 for ac_func
in nanosleep
16952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16953 echo "configure:16954: checking for $ac_func" >&5
16954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16955 echo $ac_n "(cached) $ac_c" 1>&6
16957 cat > conftest.
$ac_ext <<EOF
16958 #line 16959 "configure"
16959 #include "confdefs.h"
16960 /* System header to define __stub macros and hopefully few prototypes,
16961 which can conflict with char $ac_func(); below. */
16962 #include <assert.h>
16963 /* Override any gcc2 internal prototype to avoid an error. */
16964 /* We use char because int might match the return type of a gcc2
16965 builtin and then its argument prototype would still apply. */
16970 /* The GNU C library defines this for functions which it implements
16971 to always fail with ENOSYS. Some functions are actually named
16972 something starting with __ and the normal name is an alias. */
16973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16981 if { (eval echo configure
:16982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16983 eval "ac_cv_func_$ac_func=yes"
16985 echo "configure: failed program was:" >&5
16986 cat conftest.
$ac_ext >&5
16988 eval "ac_cv_func_$ac_func=no"
16993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16994 echo "$ac_t""yes" 1>&6
16995 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16996 cat >> confdefs.h
<<EOF
16997 #define $ac_tr_func 1
16999 cat >> confdefs.h
<<\EOF
17000 #define HAVE_NANOSLEEP 1
17004 echo "$ac_t""no" 1>&6
17005 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
17006 echo "configure:17007: checking for nanosleep in -lposix4" >&5
17007 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
17008 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17009 echo $ac_n "(cached) $ac_c" 1>&6
17011 ac_save_LIBS
="$LIBS"
17012 LIBS
="-lposix4 $LIBS"
17013 cat > conftest.
$ac_ext <<EOF
17014 #line 17015 "configure"
17015 #include "confdefs.h"
17016 /* Override any gcc2 internal prototype to avoid an error. */
17017 /* We use char because int might match the return type of a gcc2
17018 builtin and then its argument prototype would still apply. */
17025 if { (eval echo configure
:17026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17027 eval "ac_cv_lib_$ac_lib_var=yes"
17029 echo "configure: failed program was:" >&5
17030 cat conftest.
$ac_ext >&5
17032 eval "ac_cv_lib_$ac_lib_var=no"
17035 LIBS
="$ac_save_LIBS"
17038 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17039 echo "$ac_t""yes" 1>&6
17041 cat >> confdefs.h
<<\EOF
17042 #define HAVE_NANOSLEEP 1
17045 POSIX4_LINK
=" -lposix4"
17048 echo "$ac_t""no" 1>&6
17050 for ac_func
in usleep
17052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17053 echo "configure:17054: checking for $ac_func" >&5
17054 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17055 echo $ac_n "(cached) $ac_c" 1>&6
17057 cat > conftest.
$ac_ext <<EOF
17058 #line 17059 "configure"
17059 #include "confdefs.h"
17060 /* System header to define __stub macros and hopefully few prototypes,
17061 which can conflict with char $ac_func(); below. */
17062 #include <assert.h>
17063 /* Override any gcc2 internal prototype to avoid an error. */
17064 /* We use char because int might match the return type of a gcc2
17065 builtin and then its argument prototype would still apply. */
17070 /* The GNU C library defines this for functions which it implements
17071 to always fail with ENOSYS. Some functions are actually named
17072 something starting with __ and the normal name is an alias. */
17073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17081 if { (eval echo configure
:17082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17083 eval "ac_cv_func_$ac_func=yes"
17085 echo "configure: failed program was:" >&5
17086 cat conftest.
$ac_ext >&5
17088 eval "ac_cv_func_$ac_func=no"
17093 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17094 echo "$ac_t""yes" 1>&6
17095 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17096 cat >> confdefs.h
<<EOF
17097 #define $ac_tr_func 1
17099 cat >> confdefs.h
<<\EOF
17100 #define HAVE_USLEEP 1
17104 echo "$ac_t""no" 1>&6
17105 echo "configure: warning: wxSleep() function will not work" 1>&2
17121 for ac_func
in uname gethostname
17123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17124 echo "configure:17125: checking for $ac_func" >&5
17125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17126 echo $ac_n "(cached) $ac_c" 1>&6
17128 cat > conftest.
$ac_ext <<EOF
17129 #line 17130 "configure"
17130 #include "confdefs.h"
17131 /* System header to define __stub macros and hopefully few prototypes,
17132 which can conflict with char $ac_func(); below. */
17133 #include <assert.h>
17134 /* Override any gcc2 internal prototype to avoid an error. */
17135 /* We use char because int might match the return type of a gcc2
17136 builtin and then its argument prototype would still apply. */
17141 /* The GNU C library defines this for functions which it implements
17142 to always fail with ENOSYS. Some functions are actually named
17143 something starting with __ and the normal name is an alias. */
17144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17152 if { (eval echo configure
:17153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17154 eval "ac_cv_func_$ac_func=yes"
17156 echo "configure: failed program was:" >&5
17157 cat conftest.
$ac_ext >&5
17159 eval "ac_cv_func_$ac_func=no"
17164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17165 echo "$ac_t""yes" 1>&6
17166 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17167 cat >> confdefs.h
<<EOF
17168 #define $ac_tr_func 1
17172 echo "$ac_t""no" 1>&6
17179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17180 ac_cpp
='$CXXCPP $CPPFLAGS'
17181 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17182 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17183 cross_compiling
=$ac_cv_prog_cxx_cross
17186 for ac_func
in strtok_r
17188 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17189 echo "configure:17190: checking for $ac_func" >&5
17190 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17191 echo $ac_n "(cached) $ac_c" 1>&6
17193 cat > conftest.
$ac_ext <<EOF
17194 #line 17195 "configure"
17195 #include "confdefs.h"
17196 /* System header to define __stub macros and hopefully few prototypes,
17197 which can conflict with char $ac_func(); below. */
17198 #include <assert.h>
17199 /* Override any gcc2 internal prototype to avoid an error. */
17203 /* We use char because int might match the return type of a gcc2
17204 builtin and then its argument prototype would still apply. */
17209 /* The GNU C library defines this for functions which it implements
17210 to always fail with ENOSYS. Some functions are actually named
17211 something starting with __ and the normal name is an alias. */
17212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17220 if { (eval echo configure
:17221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17222 eval "ac_cv_func_$ac_func=yes"
17224 echo "configure: failed program was:" >&5
17225 cat conftest.
$ac_ext >&5
17227 eval "ac_cv_func_$ac_func=no"
17232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17233 echo "$ac_t""yes" 1>&6
17234 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17235 cat >> confdefs.h
<<EOF
17236 #define $ac_tr_func 1
17240 echo "$ac_t""no" 1>&6
17246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17247 ac_cpp
='$CPP $CPPFLAGS'
17248 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17249 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17250 cross_compiling
=$ac_cv_prog_cc_cross
17254 for ac_func
in inet_addr
17256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17257 echo "configure:17258: checking for $ac_func" >&5
17258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17259 echo $ac_n "(cached) $ac_c" 1>&6
17261 cat > conftest.
$ac_ext <<EOF
17262 #line 17263 "configure"
17263 #include "confdefs.h"
17264 /* System header to define __stub macros and hopefully few prototypes,
17265 which can conflict with char $ac_func(); below. */
17266 #include <assert.h>
17267 /* Override any gcc2 internal prototype to avoid an error. */
17268 /* We use char because int might match the return type of a gcc2
17269 builtin and then its argument prototype would still apply. */
17274 /* The GNU C library defines this for functions which it implements
17275 to always fail with ENOSYS. Some functions are actually named
17276 something starting with __ and the normal name is an alias. */
17277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17285 if { (eval echo configure
:17286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17287 eval "ac_cv_func_$ac_func=yes"
17289 echo "configure: failed program was:" >&5
17290 cat conftest.
$ac_ext >&5
17292 eval "ac_cv_func_$ac_func=no"
17297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17298 echo "$ac_t""yes" 1>&6
17299 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17300 cat >> confdefs.h
<<EOF
17301 #define $ac_tr_func 1
17303 cat >> confdefs.h
<<\EOF
17304 #define HAVE_INET_ADDR 1
17308 echo "$ac_t""no" 1>&6
17309 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
17310 echo "configure:17311: checking for inet_addr in -lnsl" >&5
17311 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
17312 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17313 echo $ac_n "(cached) $ac_c" 1>&6
17315 ac_save_LIBS
="$LIBS"
17317 cat > conftest.
$ac_ext <<EOF
17318 #line 17319 "configure"
17319 #include "confdefs.h"
17320 /* Override any gcc2 internal prototype to avoid an error. */
17321 /* We use char because int might match the return type of a gcc2
17322 builtin and then its argument prototype would still apply. */
17329 if { (eval echo configure
:17330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17331 eval "ac_cv_lib_$ac_lib_var=yes"
17333 echo "configure: failed program was:" >&5
17334 cat conftest.
$ac_ext >&5
17336 eval "ac_cv_lib_$ac_lib_var=no"
17339 LIBS
="$ac_save_LIBS"
17342 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17343 echo "$ac_t""yes" 1>&6
17346 echo "$ac_t""no" 1>&6
17347 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
17348 echo "configure:17349: checking for inet_addr in -lresolv" >&5
17349 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17350 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17351 echo $ac_n "(cached) $ac_c" 1>&6
17353 ac_save_LIBS
="$LIBS"
17354 LIBS
="-lresolv $LIBS"
17355 cat > conftest.
$ac_ext <<EOF
17356 #line 17357 "configure"
17357 #include "confdefs.h"
17358 /* Override any gcc2 internal prototype to avoid an error. */
17359 /* We use char because int might match the return type of a gcc2
17360 builtin and then its argument prototype would still apply. */
17367 if { (eval echo configure
:17368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17369 eval "ac_cv_lib_$ac_lib_var=yes"
17371 echo "configure: failed program was:" >&5
17372 cat conftest.
$ac_ext >&5
17374 eval "ac_cv_lib_$ac_lib_var=no"
17377 LIBS
="$ac_save_LIBS"
17380 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17381 echo "$ac_t""yes" 1>&6
17384 echo "$ac_t""no" 1>&6
17385 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17386 echo "configure:17387: checking for inet_addr in -lsocket" >&5
17387 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17388 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17389 echo $ac_n "(cached) $ac_c" 1>&6
17391 ac_save_LIBS
="$LIBS"
17392 LIBS
="-lsocket $LIBS"
17393 cat > conftest.
$ac_ext <<EOF
17394 #line 17395 "configure"
17395 #include "confdefs.h"
17396 /* Override any gcc2 internal prototype to avoid an error. */
17397 /* We use char because int might match the return type of a gcc2
17398 builtin and then its argument prototype would still apply. */
17405 if { (eval echo configure
:17406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17407 eval "ac_cv_lib_$ac_lib_var=yes"
17409 echo "configure: failed program was:" >&5
17410 cat conftest.
$ac_ext >&5
17412 eval "ac_cv_lib_$ac_lib_var=no"
17415 LIBS
="$ac_save_LIBS"
17418 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17419 echo "$ac_t""yes" 1>&6
17423 echo "$ac_t""no" 1>&6
17438 for ac_func
in inet_aton
17440 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17441 echo "configure:17442: checking for $ac_func" >&5
17442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17443 echo $ac_n "(cached) $ac_c" 1>&6
17445 cat > conftest.
$ac_ext <<EOF
17446 #line 17447 "configure"
17447 #include "confdefs.h"
17448 /* System header to define __stub macros and hopefully few prototypes,
17449 which can conflict with char $ac_func(); below. */
17450 #include <assert.h>
17451 /* Override any gcc2 internal prototype to avoid an error. */
17452 /* We use char because int might match the return type of a gcc2
17453 builtin and then its argument prototype would still apply. */
17458 /* The GNU C library defines this for functions which it implements
17459 to always fail with ENOSYS. Some functions are actually named
17460 something starting with __ and the normal name is an alias. */
17461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17469 if { (eval echo configure
:17470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17471 eval "ac_cv_func_$ac_func=yes"
17473 echo "configure: failed program was:" >&5
17474 cat conftest.
$ac_ext >&5
17476 eval "ac_cv_func_$ac_func=no"
17481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17482 echo "$ac_t""yes" 1>&6
17483 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17484 cat >> confdefs.h
<<EOF
17485 #define $ac_tr_func 1
17487 cat >> confdefs.h
<<\EOF
17488 #define HAVE_INET_ATON 1
17492 echo "$ac_t""no" 1>&6
17493 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17494 echo "configure:17495: checking for inet_aton in -l$INET_LINK" >&5
17495 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17496 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17497 echo $ac_n "(cached) $ac_c" 1>&6
17499 ac_save_LIBS
="$LIBS"
17500 LIBS
="-l$INET_LINK $LIBS"
17501 cat > conftest.
$ac_ext <<EOF
17502 #line 17503 "configure"
17503 #include "confdefs.h"
17504 /* Override any gcc2 internal prototype to avoid an error. */
17505 /* We use char because int might match the return type of a gcc2
17506 builtin and then its argument prototype would still apply. */
17513 if { (eval echo configure
:17514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17515 eval "ac_cv_lib_$ac_lib_var=yes"
17517 echo "configure: failed program was:" >&5
17518 cat conftest.
$ac_ext >&5
17520 eval "ac_cv_lib_$ac_lib_var=no"
17523 LIBS
="$ac_save_LIBS"
17526 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17527 echo "$ac_t""yes" 1>&6
17528 cat >> confdefs.h
<<\EOF
17529 #define HAVE_INET_ATON 1
17533 echo "$ac_t""no" 1>&6
17541 if test "x$INET_LINK" != "x"; then
17542 cat >> confdefs.h
<<\EOF
17543 #define HAVE_INET_ADDR 1
17546 INET_LINK
=" -l$INET_LINK"
17552 cat > confcache
<<\EOF
17553 # This file is a shell script that caches the results of configure
17554 # tests run on this system so they can be shared between configure
17555 # scripts and configure runs. It is not useful on other systems.
17556 # If it contains results you don't want to keep, you may remove or edit it.
17558 # By default, configure uses ./config.cache as the cache file,
17559 # creating it if it does not exist already. You can give configure
17560 # the --cache-file=FILE option to use a different cache file; that is
17561 # what configure does when it calls configure scripts in
17562 # subdirectories, so they share the cache.
17563 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17564 # config.status only pays attention to the cache file if you give it the
17565 # --recheck option to rerun configure.
17568 # The following way of writing the cache mishandles newlines in values,
17569 # but we know of no workaround that is simple, portable, and efficient.
17570 # So, don't put newlines in cache variables' values.
17571 # Ultrix sh set writes to stderr and can't be redirected directly,
17572 # and sets the high bit in the cache file unless we assign to the vars.
17574 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17576 # `set' does not quote correctly, so add quotes (double-quote substitution
17577 # turns \\\\ into \\, and sed turns \\ into \).
17579 -e "s/'/'\\\\''/g" \
17580 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17583 # `set' quotes correctly as required by POSIX, so do not add quotes.
17584 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17587 if cmp -s $cache_file confcache
; then
17590 if test -w $cache_file; then
17591 echo "updating cache $cache_file"
17592 cat confcache
> $cache_file
17594 echo "not updating unwritable cache $cache_file"
17602 if test "$TOOLKIT" != "MSW"; then
17608 if test "$wxUSE_THREADS" = "yes" ; then
17609 if test "$wxUSE_WINE" = 1 ; then
17610 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17612 elif test "$USE_BEOS" = 1; then
17613 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17618 if test "$wxUSE_THREADS" = "yes" ; then
17621 THREAD_OPTS
="-pthread"
17623 *-*-solaris2* | *-*-sunos4* )
17624 if test "x$GCC" = "xyes"; then
17625 THREAD_OPTS
="-pthreads $THREAD_OPTS"
17627 THREAD_OPTS
="-mt $THREAD_OPTS"
17631 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
17633 *-*-darwin* | *-*-cygwin* )
17637 THREAD_OPTS
="pthreads"
17641 THREAD_OPTS
="$THREAD_OPTS pthread none"
17644 for flag
in $THREAD_OPTS; do
17647 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17648 echo "configure:17649: checking whether pthreads work without any flags" >&5
17652 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17653 echo "configure:17654: checking whether pthreads work with $flag" >&5
17654 THREADS_CFLAGS
="$flag"
17658 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17659 echo "configure:17660: checking for the pthreads library -l$flag" >&5
17660 THREADS_LINK
="-l$flag"
17665 save_CFLAGS
="$CFLAGS"
17666 LIBS
="$THREADS_LINK $LIBS"
17667 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
17669 cat > conftest.
$ac_ext <<EOF
17670 #line 17671 "configure"
17671 #include "confdefs.h"
17672 #include <pthread.h>
17674 pthread_create(0,0,0,0);
17677 if { (eval echo configure
:17678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17681 echo "configure: failed program was:" >&5
17682 cat conftest.
$ac_ext >&5
17687 CFLAGS
="$save_CFLAGS"
17689 echo "$ac_t""$THREADS_OK" 1>&6
17690 if test "x$THREADS_OK" = "xyes"; then
17698 if test "x$THREADS_OK" != "xyes"; then
17700 echo "configure: warning: No thread support on this system... disabled" 1>&2
17702 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17704 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17705 echo "configure:17706: checking if more special flags are required for pthreads" >&5
17708 *-aix* | *-freebsd*)
17709 flag
="-D_THREAD_SAFE"
17711 *solaris
* | alpha
*-osf*)
17712 flag
="-D_REENTRANT"
17715 echo "$ac_t""${flag}" 1>&6
17716 if test "x$flag" != xno
; then
17717 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
17720 if test "x$THREADS_CFLAGS" != "x"; then
17721 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
17722 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
17727 if test "$wxUSE_THREADS" = "yes" ; then
17728 for ac_func
in thr_setconcurrency
17730 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17731 echo "configure:17732: checking for $ac_func" >&5
17732 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17733 echo $ac_n "(cached) $ac_c" 1>&6
17735 cat > conftest.
$ac_ext <<EOF
17736 #line 17737 "configure"
17737 #include "confdefs.h"
17738 /* System header to define __stub macros and hopefully few prototypes,
17739 which can conflict with char $ac_func(); below. */
17740 #include <assert.h>
17741 /* Override any gcc2 internal prototype to avoid an error. */
17742 /* We use char because int might match the return type of a gcc2
17743 builtin and then its argument prototype would still apply. */
17748 /* The GNU C library defines this for functions which it implements
17749 to always fail with ENOSYS. Some functions are actually named
17750 something starting with __ and the normal name is an alias. */
17751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17759 if { (eval echo configure
:17760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17761 eval "ac_cv_func_$ac_func=yes"
17763 echo "configure: failed program was:" >&5
17764 cat conftest.
$ac_ext >&5
17766 eval "ac_cv_func_$ac_func=no"
17771 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17772 echo "$ac_t""yes" 1>&6
17773 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17774 cat >> confdefs.h
<<EOF
17775 #define $ac_tr_func 1
17779 echo "$ac_t""no" 1>&6
17784 for ac_hdr
in sched.h
17786 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17787 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17788 echo "configure:17789: checking for $ac_hdr" >&5
17789 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17790 echo $ac_n "(cached) $ac_c" 1>&6
17792 cat > conftest.
$ac_ext <<EOF
17793 #line 17794 "configure"
17794 #include "confdefs.h"
17797 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17798 { (eval echo configure
:17799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17799 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17800 if test -z "$ac_err"; then
17802 eval "ac_cv_header_$ac_safe=yes"
17805 echo "configure: failed program was:" >&5
17806 cat conftest.
$ac_ext >&5
17808 eval "ac_cv_header_$ac_safe=no"
17812 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17813 echo "$ac_t""yes" 1>&6
17814 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17815 cat >> confdefs.h
<<EOF
17816 #define $ac_tr_hdr 1
17820 echo "$ac_t""no" 1>&6
17824 if test "$ac_cv_header_sched_h" = "yes"; then
17825 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17826 echo "configure:17827: checking for sched_yield" >&5
17827 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17828 echo $ac_n "(cached) $ac_c" 1>&6
17830 cat > conftest.
$ac_ext <<EOF
17831 #line 17832 "configure"
17832 #include "confdefs.h"
17833 /* System header to define __stub macros and hopefully few prototypes,
17834 which can conflict with char sched_yield(); below. */
17835 #include <assert.h>
17836 /* Override any gcc2 internal prototype to avoid an error. */
17837 /* We use char because int might match the return type of a gcc2
17838 builtin and then its argument prototype would still apply. */
17839 char sched_yield();
17843 /* The GNU C library defines this for functions which it implements
17844 to always fail with ENOSYS. Some functions are actually named
17845 something starting with __ and the normal name is an alias. */
17846 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17854 if { (eval echo configure
:17855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17856 eval "ac_cv_func_sched_yield=yes"
17858 echo "configure: failed program was:" >&5
17859 cat conftest.
$ac_ext >&5
17861 eval "ac_cv_func_sched_yield=no"
17866 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17867 echo "$ac_t""yes" 1>&6
17868 cat >> confdefs.h
<<\EOF
17869 #define HAVE_SCHED_YIELD 1
17873 echo "$ac_t""no" 1>&6
17875 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17876 echo "configure:17877: checking for sched_yield in -lposix4" >&5
17877 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17878 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17879 echo $ac_n "(cached) $ac_c" 1>&6
17881 ac_save_LIBS
="$LIBS"
17882 LIBS
="-lposix4 $LIBS"
17883 cat > conftest.
$ac_ext <<EOF
17884 #line 17885 "configure"
17885 #include "confdefs.h"
17886 /* Override any gcc2 internal prototype to avoid an error. */
17887 /* We use char because int might match the return type of a gcc2
17888 builtin and then its argument prototype would still apply. */
17889 char sched_yield();
17895 if { (eval echo configure
:17896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17897 eval "ac_cv_lib_$ac_lib_var=yes"
17899 echo "configure: failed program was:" >&5
17900 cat conftest.
$ac_ext >&5
17902 eval "ac_cv_lib_$ac_lib_var=no"
17905 LIBS
="$ac_save_LIBS"
17908 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17909 echo "$ac_t""yes" 1>&6
17910 cat >> confdefs.h
<<\EOF
17911 #define HAVE_SCHED_YIELD 1
17913 POSIX4_LINK
=" -lposix4"
17915 echo "$ac_t""no" 1>&6
17916 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17927 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17928 echo "configure:17929: checking for pthread_attr_getschedpolicy" >&5
17929 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17930 echo $ac_n "(cached) $ac_c" 1>&6
17932 cat > conftest.
$ac_ext <<EOF
17933 #line 17934 "configure"
17934 #include "confdefs.h"
17935 /* System header to define __stub macros and hopefully few prototypes,
17936 which can conflict with char pthread_attr_getschedpolicy(); below. */
17937 #include <assert.h>
17938 /* Override any gcc2 internal prototype to avoid an error. */
17939 /* We use char because int might match the return type of a gcc2
17940 builtin and then its argument prototype would still apply. */
17941 char pthread_attr_getschedpolicy();
17945 /* The GNU C library defines this for functions which it implements
17946 to always fail with ENOSYS. Some functions are actually named
17947 something starting with __ and the normal name is an alias. */
17948 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17951 pthread_attr_getschedpolicy();
17956 if { (eval echo configure
:17957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17958 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17960 echo "configure: failed program was:" >&5
17961 cat conftest.
$ac_ext >&5
17963 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17968 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17969 echo "$ac_t""yes" 1>&6
17970 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17971 echo "configure:17972: checking for pthread_attr_setschedparam" >&5
17972 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17973 echo $ac_n "(cached) $ac_c" 1>&6
17975 cat > conftest.
$ac_ext <<EOF
17976 #line 17977 "configure"
17977 #include "confdefs.h"
17978 /* System header to define __stub macros and hopefully few prototypes,
17979 which can conflict with char pthread_attr_setschedparam(); below. */
17980 #include <assert.h>
17981 /* Override any gcc2 internal prototype to avoid an error. */
17982 /* We use char because int might match the return type of a gcc2
17983 builtin and then its argument prototype would still apply. */
17984 char pthread_attr_setschedparam();
17988 /* The GNU C library defines this for functions which it implements
17989 to always fail with ENOSYS. Some functions are actually named
17990 something starting with __ and the normal name is an alias. */
17991 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17994 pthread_attr_setschedparam();
17999 if { (eval echo configure
:18000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18001 eval "ac_cv_func_pthread_attr_setschedparam=yes"
18003 echo "configure: failed program was:" >&5
18004 cat conftest.
$ac_ext >&5
18006 eval "ac_cv_func_pthread_attr_setschedparam=no"
18011 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
18012 echo "$ac_t""yes" 1>&6
18013 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
18014 echo "configure:18015: checking for sched_get_priority_max" >&5
18015 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
18016 echo $ac_n "(cached) $ac_c" 1>&6
18018 cat > conftest.
$ac_ext <<EOF
18019 #line 18020 "configure"
18020 #include "confdefs.h"
18021 /* System header to define __stub macros and hopefully few prototypes
18023 echo "$ac_t""no" 1>&6
18024 which can conflict with char sched_get_priority_max(); below. */
18025 #include <assert.h>
18026 /* Override any gcc2 internal prototype to avoid an error. */
18027 /* We use char because int might match the return type of a gcc2
18028 builtin and then its argument prototype would still apply. */
18029 char sched_get_priority_max();
18033 /* The GNU C library defines this for functions which it implements
18034 to always fail with ENOSYS. Some functions are actually named
18035 something starting with __ and the normal name is an alias. */
18036 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
18039 sched_get_priority_max();
18044 if { (eval echo configure
:18045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18046 eval "ac_cv_func_sched_get_priority_max=yes"
18048 echo "configure: failed program was:" >&5
18049 cat conftest.
$ac_ext >&5
18051 eval "ac_cv_func_sched_get_priority_max=no"
18056 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
18057 echo "$ac_t""yes" 1>&6
18060 echo "$ac_t""no" 1>&6
18061 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
18062 echo "configure:18063: checking for sched_get_priority_max in -lposix4" >&5
18063 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
18064 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18065 echo $ac_n "(cached) $ac_c" 1>&6
18067 ac_save_LIBS
="$LIBS"
18068 LIBS
="-lposix4 $LIBS"
18069 cat > conftest.
$ac_ext <<EOF
18070 #line 18071 "configure"
18071 #include "confdefs.h"
18072 /* Override any gcc2 internal prototype to avoid an error. */
18073 /* We use char because int might match the return type of a gcc2
18074 builtin and then its argument prototype would still apply. */
18075 char sched_get_priority_max();
18078 sched_get_priority_max()
18081 if { (eval echo configure
:18082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18083 eval "ac_cv_lib_$ac_lib_var=yes"
18085 echo "configure: failed program was:" >&5
18086 cat conftest.
$ac_ext >&5
18088 eval "ac_cv_lib_$ac_lib_var=no"
18091 LIBS
="$ac_save_LIBS"
18094 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18095 echo "$ac_t""yes" 1>&6
18098 POSIX4_LINK
=" -lposix4"
18101 echo "$ac_t""no" 1>&6
18109 echo "$ac_t""no" 1>&6
18116 if test "$HAVE_PRIOR_FUNCS" = 1; then
18117 cat >> confdefs.h
<<\EOF
18118 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
18122 echo "configure: warning: Setting thread priority will not work" 1>&2
18125 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
18126 echo "configure:18127: checking for pthread_cancel" >&5
18127 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
18128 echo $ac_n "(cached) $ac_c" 1>&6
18130 cat > conftest.
$ac_ext <<EOF
18131 #line 18132 "configure"
18132 #include "confdefs.h"
18133 /* System header to define __stub macros and hopefully few prototypes,
18134 which can conflict with char pthread_cancel(); below. */
18135 #include <assert.h>
18136 /* Override any gcc2 internal prototype to avoid an error. */
18137 /* We use char because int might match the return type of a gcc2
18138 builtin and then its argument prototype would still apply. */
18139 char pthread_cancel();
18143 /* The GNU C library defines this for functions which it implements
18144 to always fail with ENOSYS. Some functions are actually named
18145 something starting with __ and the normal name is an alias. */
18146 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
18154 if { (eval echo configure
:18155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18156 eval "ac_cv_func_pthread_cancel=yes"
18158 echo "configure: failed program was:" >&5
18159 cat conftest.
$ac_ext >&5
18161 eval "ac_cv_func_pthread_cancel=no"
18166 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
18167 echo "$ac_t""yes" 1>&6
18168 cat >> confdefs.h
<<\EOF
18169 #define HAVE_PTHREAD_CANCEL 1
18173 echo "$ac_t""no" 1>&6
18174 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
18178 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
18179 echo "configure:18180: checking for pthread_cleanup_push/pop" >&5
18180 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
18181 echo $ac_n "(cached) $ac_c" 1>&6
18184 cat > conftest.
$ac_ext <<EOF
18185 #line 18186 "configure"
18186 #include "confdefs.h"
18187 #include <pthread.h>
18190 pthread_cleanup_push(NULL, NULL);
18191 pthread_cleanup_pop(0);
18195 if { (eval echo configure
:18196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18198 wx_cv_func_pthread_cleanup_push
=yes
18201 echo "configure: failed program was:" >&5
18202 cat conftest.
$ac_ext >&5
18205 wx_cv_func_pthread_cleanup_push
=no
18212 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
18214 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
18215 cat >> confdefs.h
<<\EOF
18216 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
18222 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
18223 echo "configure:18224: checking for pthread_mutexattr_t" >&5
18224 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
18225 echo $ac_n "(cached) $ac_c" 1>&6
18228 cat > conftest.
$ac_ext <<EOF
18229 #line 18230 "configure"
18230 #include "confdefs.h"
18231 #include <pthread.h>
18234 pthread_mutexattr_t attr;
18235 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
18239 if { (eval echo configure
:18240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18242 wx_cv_type_pthread_mutexattr_t
=yes
18245 echo "configure: failed program was:" >&5
18246 cat conftest.
$ac_ext >&5
18249 wx_cv_type_pthread_mutexattr_t
=no
18257 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
18259 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
18260 cat >> confdefs.h
<<\EOF
18261 #define HAVE_PTHREAD_MUTEXATTR_T 1
18265 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
18266 echo "configure:18267: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
18267 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
18268 echo $ac_n "(cached) $ac_c" 1>&6
18271 cat > conftest.
$ac_ext <<EOF
18272 #line 18273 "configure"
18273 #include "confdefs.h"
18274 #include <pthread.h>
18277 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
18281 if { (eval echo configure
:18282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18284 wx_cv_type_pthread_rec_mutex_init
=yes
18287 echo "configure: failed program was:" >&5
18288 cat conftest.
$ac_ext >&5
18291 wx_cv_type_pthread_rec_mutex_init
=no
18299 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
18300 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
18301 cat >> confdefs.h
<<\EOF
18302 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
18306 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
18313 if test "$wxUSE_THREADS" = "yes"; then
18314 cat >> confdefs.h
<<\EOF
18315 #define wxUSE_THREADS 1
18319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
18321 if test "$ac_cv_func_strtok_r" = "yes"; then
18322 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
18323 echo "configure:18324: checking if -D_REENTRANT is needed" >&5
18324 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
18325 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
18326 echo "$ac_t""yes" 1>&6
18328 echo "$ac_t""no" 1>&6
18333 if test "$WXGTK20" = 1 ; then
18334 cat >> confdefs.h
<<EOF
18335 #define __WXGTK20__ $WXGTK20
18341 if test "$WXGTK12" = 1 ; then
18342 cat >> confdefs.h
<<EOF
18343 #define __WXGTK12__ $WXGTK12
18348 if test "$WXGTK127" = 1 ; then
18349 cat >> confdefs.h
<<EOF
18350 #define __WXGTK127__ $WXGTK127
18357 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18362 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18363 wxUSE_DEBUG_INFO
=yes
18367 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18368 cat >> confdefs.h
<<\EOF
18372 WXDEBUG_DEFINE
="-D__WXDEBUG__"
18374 if test "$wxUSE_GTK" = 1 ; then
18375 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
18379 if test "$wxUSE_MEM_TRACING" = "yes" ; then
18380 cat >> confdefs.h
<<\EOF
18381 #define wxUSE_MEMORY_TRACING 1
18384 cat >> confdefs.h
<<\EOF
18385 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18388 cat >> confdefs.h
<<\EOF
18389 #define wxUSE_DEBUG_NEW_ALWAYS 1
18392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
18395 if test "$wxUSE_DMALLOC" = "yes" ; then
18396 DMALLOC_LIBS
="-ldmalloc"
18400 if test "$wxUSE_PROFILE" = "yes" ; then
18405 CODE_GEN_FLAGS_CXX
=
18406 if test "$GCC" = "yes" ; then
18407 if test "$wxUSE_NO_RTTI" = "yes" ; then
18408 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
18410 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18411 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18413 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18414 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
18416 if test "$USE_WIN32" = 1 ; then
18417 # I'm not even really sure what this was ever added to solve,
18418 # but someone added it for mingw native builds, so I guess
18419 # they had a reason, right??
18420 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18425 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
18430 if test "$wxUSE_OPTIMISE" = "no" ; then
18433 if test "$GCC" = yes ; then
18436 i586
-*-*|i686
-*-* )
18437 OPTIMISE
="${OPTIMISE} "
18445 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18446 cat >> confdefs.h
<<\EOF
18447 #define WXWIN_COMPATIBILITY_2 1
18451 WXWIN_COMPATIBILITY_2_2
="yes"
18454 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18455 cat >> confdefs.h
<<\EOF
18456 #define WXWIN_COMPATIBILITY_2_2 1
18462 if test "$wxUSE_GUI" = "yes"; then
18463 cat >> confdefs.h
<<\EOF
18464 #define wxUSE_GUI 1
18469 cat >> confdefs.h
<<\EOF
18470 #define wxUSE_NOGUI 1
18476 if test "$wxUSE_UNIX" = "yes"; then
18477 cat >> confdefs.h
<<\EOF
18478 #define wxUSE_UNIX 1
18484 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18485 cat >> confdefs.h
<<\EOF
18486 #define wxUSE_APPLE_IEEE 1
18491 if test "$wxUSE_TIMER" = "yes"; then
18492 cat >> confdefs.h
<<\EOF
18493 #define wxUSE_TIMER 1
18498 if test "$wxUSE_WAVE" = "yes"; then
18499 cat >> confdefs.h
<<\EOF
18500 #define wxUSE_WAVE 1
18505 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18506 cat >> confdefs.h
<<\EOF
18507 #define wxUSE_CMDLINE_PARSER 1
18512 if test "$wxUSE_STOPWATCH" = "yes"; then
18513 cat >> confdefs.h
<<\EOF
18514 #define wxUSE_STOPWATCH 1
18519 if test "$wxUSE_DATETIME" = "yes"; then
18520 cat >> confdefs.h
<<\EOF
18521 #define wxUSE_DATETIME 1
18526 if test "$wxUSE_TIMEDATE" = "yes"; then
18527 cat >> confdefs.h
<<\EOF
18528 #define wxUSE_TIMEDATE 1
18533 if test "$wxUSE_FILE" = "yes"; then
18534 cat >> confdefs.h
<<\EOF
18535 #define wxUSE_FILE 1
18540 if test "$wxUSE_FFILE" = "yes"; then
18541 cat >> confdefs.h
<<\EOF
18542 #define wxUSE_FFILE 1
18547 if test "$wxUSE_FILESYSTEM" = "yes"; then
18548 cat >> confdefs.h
<<\EOF
18549 #define wxUSE_FILESYSTEM 1
18554 if test "$wxUSE_FS_INET" = "yes"; then
18555 cat >> confdefs.h
<<\EOF
18556 #define wxUSE_FS_INET 1
18561 if test "$wxUSE_FS_ZIP" = "yes"; then
18562 cat >> confdefs.h
<<\EOF
18563 #define wxUSE_FS_ZIP 1
18568 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18569 cat >> confdefs.h
<<\EOF
18570 #define wxUSE_ZIPSTREAM 1
18575 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18576 cat >> confdefs.h
<<\EOF
18577 #define wxUSE_ON_FATAL_EXCEPTION 1
18582 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18583 cat >> confdefs.h
<<\EOF
18584 #define wxUSE_SNGLINST_CHECKER 1
18589 if test "$wxUSE_BUSYINFO" = "yes"; then
18590 cat >> confdefs.h
<<\EOF
18591 #define wxUSE_BUSYINFO 1
18596 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18597 cat >> confdefs.h
<<\EOF
18598 #define wxUSE_STD_IOSTREAM 1
18603 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18604 cat >> confdefs.h
<<\EOF
18605 #define wxUSE_TEXTBUFFER 1
18610 if test "$wxUSE_TEXTFILE" = "yes"; then
18611 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18612 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18614 cat >> confdefs.h
<<\EOF
18615 #define wxUSE_TEXTFILE 1
18621 if test "$wxUSE_CONFIG" = "yes" ; then
18622 if test "$wxUSE_TEXTFILE" != "yes"; then
18623 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18625 cat >> confdefs.h
<<\EOF
18626 #define wxUSE_CONFIG 1
18629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18633 if test "$wxUSE_INTL" = "yes" ; then
18634 if test "$wxUSE_FILE" != "yes"; then
18635 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18637 cat >> confdefs.h
<<\EOF
18638 #define wxUSE_INTL 1
18641 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18642 GUIDIST
="$GUIDIST INTL_DIST"
18646 if test "$wxUSE_LOG" = "yes"; then
18647 cat >> confdefs.h
<<\EOF
18648 #define wxUSE_LOG 1
18652 if test "$wxUSE_LOGGUI" = "yes"; then
18653 cat >> confdefs.h
<<\EOF
18654 #define wxUSE_LOGGUI 1
18659 if test "$wxUSE_LOGWINDOW" = "yes"; then
18660 cat >> confdefs.h
<<\EOF
18661 #define wxUSE_LOGWINDOW 1
18666 if test "$wxUSE_LOGDIALOG" = "yes"; then
18667 cat >> confdefs.h
<<\EOF
18668 #define wxUSE_LOG_DIALOG 1
18674 if test "$wxUSE_LONGLONG" = "yes"; then
18675 cat >> confdefs.h
<<\EOF
18676 #define wxUSE_LONGLONG 1
18681 if test "$wxUSE_GEOMETRY" = "yes"; then
18682 cat >> confdefs.h
<<\EOF
18683 #define wxUSE_GEOMETRY 1
18688 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18689 cat >> confdefs.h
<<\EOF
18690 #define wxUSE_DIALUP_MANAGER 1
18693 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18696 if test "$wxUSE_STREAMS" = "yes" ; then
18697 cat >> confdefs.h
<<\EOF
18698 #define wxUSE_STREAMS 1
18704 if test "$wxUSE_DATETIME" = "yes"; then
18705 for ac_func
in strptime
18707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18708 echo "configure:18709: checking for $ac_func" >&5
18709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18710 echo $ac_n "(cached) $ac_c" 1>&6
18712 cat > conftest.
$ac_ext <<EOF
18713 #line 18714 "configure"
18714 #include "confdefs.h"
18715 /* System header to define __stub macros and hopefully few prototypes,
18716 which can conflict with char $ac_func(); below. */
18717 #include <assert.h>
18718 /* Override any gcc2 internal prototype to avoid an error. */
18719 /* We use char because int might match the return type of a gcc2
18720 builtin and then its argument prototype would still apply. */
18725 /* The GNU C library defines this for functions which it implements
18726 to always fail with ENOSYS. Some functions are actually named
18727 something starting with __ and the normal name is an alias. */
18728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18736 if { (eval echo configure
:18737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18738 eval "ac_cv_func_$ac_func=yes"
18740 echo "configure: failed program was:" >&5
18741 cat conftest.
$ac_ext >&5
18743 eval "ac_cv_func_$ac_func=no"
18748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18749 echo "$ac_t""yes" 1>&6
18750 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18751 cat >> confdefs.h
<<EOF
18752 #define $ac_tr_func 1
18756 echo "$ac_t""no" 1>&6
18761 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18762 echo "configure:18763: checking for timezone variable in <time.h>" >&5
18763 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18764 echo $ac_n "(cached) $ac_c" 1>&6
18767 cat > conftest.
$ac_ext <<EOF
18768 #line 18769 "configure"
18769 #include "confdefs.h"
18780 if { (eval echo configure
:18781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18783 wx_cv_var_timezone
=timezone
18786 echo "configure: failed program was:" >&5
18787 cat conftest.
$ac_ext >&5
18790 cat > conftest.
$ac_ext <<EOF
18791 #line 18792 "configure"
18792 #include "confdefs.h"
18803 if { (eval echo configure
:18804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18806 wx_cv_var_timezone
=_timezone
18809 echo "configure: failed program was:" >&5
18810 cat conftest.
$ac_ext >&5
18813 cat > conftest.
$ac_ext <<EOF
18814 #line 18815 "configure"
18815 #include "confdefs.h"
18826 if { (eval echo configure
:18827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18829 wx_cv_var_timezone
=__timezone
18832 echo "configure: failed program was:" >&5
18833 cat conftest.
$ac_ext >&5
18836 if test "$USE_DOS" = 0 ; then
18837 echo "configure: warning: no timezone variable" 1>&2
18855 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18857 if test "x$wx_cv_var_timezone" != x
; then
18858 cat >> confdefs.h
<<EOF
18859 #define WX_TIMEZONE $wx_cv_var_timezone
18864 for ac_func
in localtime
18866 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18867 echo "configure:18868: checking for $ac_func" >&5
18868 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18869 echo $ac_n "(cached) $ac_c" 1>&6
18871 cat > conftest.
$ac_ext <<EOF
18872 #line 18873 "configure"
18873 #include "confdefs.h"
18874 /* System header to define __stub macros and hopefully few prototypes,
18875 which can conflict with char $ac_func(); below. */
18876 #include <assert.h>
18877 /* Override any gcc2 internal prototype to avoid an error. */
18878 /* We use char because int might match the return type of a gcc2
18879 builtin and then its argument prototype would still apply. */
18884 /* The GNU C library defines this for functions which it implements
18885 to always fail with ENOSYS. Some functions are actually named
18886 something starting with __ and the normal name is an alias. */
18887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18895 if { (eval echo configure
:18896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18897 eval "ac_cv_func_$ac_func=yes"
18899 echo "configure: failed program was:" >&5
18900 cat conftest.
$ac_ext >&5
18902 eval "ac_cv_func_$ac_func=no"
18907 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18908 echo "$ac_t""yes" 1>&6
18909 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18910 cat >> confdefs.h
<<EOF
18911 #define $ac_tr_func 1
18915 echo "$ac_t""no" 1>&6
18920 if test "$ac_cv_func_localtime" = "yes"; then
18921 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18922 echo "configure:18923: checking for tm_gmtoff in struct tm" >&5
18923 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18924 echo $ac_n "(cached) $ac_c" 1>&6
18927 cat > conftest.
$ac_ext <<EOF
18928 #line 18929 "configure"
18929 #include "confdefs.h"
18940 if { (eval echo configure
:18941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18943 wx_cv_struct_tm_has_gmtoff
=yes
18946 echo "configure: failed program was:" >&5
18947 cat conftest.
$ac_ext >&5
18949 wx_cv_struct_tm_has_gmtoff
=no
18956 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18959 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18960 cat >> confdefs.h
<<\EOF
18961 #define WX_GMTOFF_IN_TM 1
18966 for ac_func
in gettimeofday ftime
18968 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18969 echo "configure:18970: checking for $ac_func" >&5
18970 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18971 echo $ac_n "(cached) $ac_c" 1>&6
18973 cat > conftest.
$ac_ext <<EOF
18974 #line 18975 "configure"
18975 #include "confdefs.h"
18976 /* System header to define __stub macros and hopefully few prototypes,
18977 which can conflict with char $ac_func(); below. */
18978 #include <assert.h>
18979 /* Override any gcc2 internal prototype to avoid an error. */
18980 /* We use char because int might match the return type of a gcc2
18981 builtin and then its argument prototype would still apply. */
18986 /* The GNU C library defines this for functions which it implements
18987 to always fail with ENOSYS. Some functions are actually named
18988 something starting with __ and the normal name is an alias. */
18989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18997 if { (eval echo configure
:18998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18999 eval "ac_cv_func_$ac_func=yes"
19001 echo "configure: failed program was:" >&5
19002 cat conftest.
$ac_ext >&5
19004 eval "ac_cv_func_$ac_func=no"
19009 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19010 echo "$ac_t""yes" 1>&6
19011 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19012 cat >> confdefs.h
<<EOF
19013 #define $ac_tr_func 1
19017 echo "$ac_t""no" 1>&6
19022 if test "$ac_cv_func_gettimeofday" = "yes"; then
19023 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
19024 echo "configure:19025: checking whether gettimeofday takes two arguments" >&5
19025 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
19026 echo $ac_n "(cached) $ac_c" 1>&6
19031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19032 ac_cpp
='$CXXCPP $CPPFLAGS'
19033 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19034 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19035 cross_compiling
=$ac_cv_prog_cxx_cross
19038 cat > conftest.
$ac_ext <<EOF
19039 #line 19040 "configure"
19040 #include "confdefs.h"
19042 #include <sys/time.h>
19043 #include <unistd.h>
19048 gettimeofday(&tv, NULL);
19052 if { (eval echo configure
:19053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19054 wx_cv_func_gettimeofday_has_2_args
=yes
19056 echo "configure: failed program was:" >&5
19057 cat conftest.
$ac_ext >&5
19059 cat > conftest.
$ac_ext <<EOF
19060 #line 19061 "configure"
19061 #include "confdefs.h"
19063 #include <sys/time.h>
19064 #include <unistd.h>
19073 if { (eval echo configure
:19074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19075 wx_cv_func_gettimeofday_has_2_args
=no
19077 echo "configure: failed program was:" >&5
19078 cat conftest.
$ac_ext >&5
19081 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
19082 wx_cv_func_gettimeofday_has_2_args
=unknown
19091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19092 ac_cpp
='$CPP $CPPFLAGS'
19093 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19094 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19095 cross_compiling
=$ac_cv_prog_cc_cross
19100 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
19102 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
19103 cat >> confdefs.h
<<\EOF
19104 #define WX_GETTIMEOFDAY_NO_TZ 1
19110 cat >> confdefs.h
<<\EOF
19111 #define wxUSE_TIMEDATE 1
19114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
19118 if test "$wxUSE_SOCKETS" = "yes"; then
19119 if test "$wxUSE_X11" = "1"; then
19120 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
19124 if test "$wxUSE_MGL" = "1"; then
19125 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
19130 if test "$wxUSE_SOCKETS" = "yes"; then
19131 if test "$TOOLKIT" != "MSW"; then
19132 echo $ac_n "checking for socket""... $ac_c" 1>&6
19133 echo "configure:19134: checking for socket" >&5
19134 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
19135 echo $ac_n "(cached) $ac_c" 1>&6
19137 cat > conftest.
$ac_ext <<EOF
19138 #line 19139 "configure"
19139 #include "confdefs.h"
19140 /* System header to define __stub macros and hopefully few prototypes,
19141 which can conflict with char socket(); below. */
19142 #include <assert.h>
19143 /* Override any gcc2 internal prototype to avoid an error. */
19144 /* We use char because int might match the return type of a gcc2
19145 builtin and then its argument prototype would still apply. */
19150 /* The GNU C library defines this for functions which it implements
19151 to always fail with ENOSYS. Some functions are actually named
19152 something starting with __ and the normal name is an alias. */
19153 #if defined (__stub_socket) || defined (__stub___socket)
19161 if { (eval echo configure
:19162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19163 eval "ac_cv_func_socket=yes"
19165 echo "configure: failed program was:" >&5
19166 cat conftest.
$ac_ext >&5
19168 eval "ac_cv_func_socket=no"
19173 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
19174 echo "$ac_t""yes" 1>&6
19177 echo "$ac_t""no" 1>&6
19178 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
19179 echo "configure:19180: checking for socket in -lsocket" >&5
19180 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
19181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19182 echo $ac_n "(cached) $ac_c" 1>&6
19184 ac_save_LIBS
="$LIBS"
19185 LIBS
="-lsocket $LIBS"
19186 cat > conftest.
$ac_ext <<EOF
19187 #line 19188 "configure"
19188 #include "confdefs.h"
19189 /* Override any gcc2 internal prototype to avoid an error. */
19190 /* We use char because int might match the return type of a gcc2
19191 builtin and then its argument prototype would still apply. */
19198 if { (eval echo configure
:19199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19200 eval "ac_cv_lib_$ac_lib_var=yes"
19202 echo "configure: failed program was:" >&5
19203 cat conftest.
$ac_ext >&5
19205 eval "ac_cv_lib_$ac_lib_var=no"
19208 LIBS
="$ac_save_LIBS"
19211 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19212 echo "$ac_t""yes" 1>&6
19213 if test "$INET_LINK" != " -lsocket"; then
19214 INET_LINK
="$INET_LINK -lsocket"
19217 echo "$ac_t""no" 1>&6
19219 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
19231 if test "$wxUSE_SOCKETS" = "yes" ; then
19232 if test "$TOOLKIT" != "MSW"; then
19233 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
19234 echo "configure:19235: checking what is the type of the third argument of getsockname" >&5
19235 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
19236 echo $ac_n "(cached) $ac_c" 1>&6
19241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19242 ac_cpp
='$CXXCPP $CPPFLAGS'
19243 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19244 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19245 cross_compiling
=$ac_cv_prog_cxx_cross
19248 cat > conftest.
$ac_ext <<EOF
19249 #line 19250 "configure"
19250 #include "confdefs.h"
19252 #include <sys/types.h>
19253 #include <sys/socket.h>
19258 getsockname(0, 0, &len);
19262 if { (eval echo configure
:19263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19264 wx_cv_type_getsockname3
=socklen_t
19266 echo "configure: failed program was:" >&5
19267 cat conftest.
$ac_ext >&5
19269 cat > conftest.
$ac_ext <<EOF
19270 #line 19271 "configure"
19271 #include "confdefs.h"
19273 #include <sys/types.h>
19274 #include <sys/socket.h>
19279 getsockname(0, 0, &len);
19283 if { (eval echo configure
:19284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19285 wx_cv_type_getsockname3
=size_t
19287 echo "configure: failed program was:" >&5
19288 cat conftest.
$ac_ext >&5
19290 cat > conftest.
$ac_ext <<EOF
19291 #line 19292 "configure"
19292 #include "confdefs.h"
19294 #include <sys/types.h>
19295 #include <sys/socket.h>
19300 getsockname(0, 0, &len);
19304 if { (eval echo configure
:19305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19306 wx_cv_type_getsockname3
=int
19308 echo "configure: failed program was:" >&5
19309 cat conftest.
$ac_ext >&5
19311 wx_cv_type_getsockname3
=unknown
19323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19324 ac_cpp
='$CPP $CPPFLAGS'
19325 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19326 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19327 cross_compiling
=$ac_cv_prog_cc_cross
19332 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
19334 if test "$wx_cv_type_getsockname3" = "unknown"; then
19336 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
19338 cat >> confdefs.h
<<EOF
19339 #define SOCKLEN_T $wx_cv_type_getsockname3
19346 if test "$wxUSE_SOCKETS" = "yes" ; then
19347 cat >> confdefs.h
<<\EOF
19348 #define wxUSE_SOCKETS 1
19351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
19355 if test "$wxUSE_GUI" = "yes"; then
19357 if test "$TOOLKIT" = "MAC"; then
19358 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19361 if test "$TOOLKIT" = "MOTIF"; then
19362 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19365 if test "$TOOLKIT" = "X11"; then
19366 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19370 if test "$TOOLKIT" != "MSW"; then
19371 if test "$wxUSE_JOYSTICK" = "yes"; then
19372 for ac_hdr
in linux
/joystick.h
19374 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19375 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19376 echo "configure:19377: checking for $ac_hdr" >&5
19377 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19378 echo $ac_n "(cached) $ac_c" 1>&6
19380 cat > conftest.
$ac_ext <<EOF
19381 #line 19382 "configure"
19382 #include "confdefs.h"
19385 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19386 { (eval echo configure
:19387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19387 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19388 if test -z "$ac_err"; then
19390 eval "ac_cv_header_$ac_safe=yes"
19393 echo "configure: failed program was:" >&5
19394 cat conftest.
$ac_ext >&5
19396 eval "ac_cv_header_$ac_safe=no"
19400 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19401 echo "$ac_t""yes" 1>&6
19402 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19403 cat >> confdefs.h
<<EOF
19404 #define $ac_tr_hdr 1
19408 echo "$ac_t""no" 1>&6
19412 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19414 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19419 if test "$wxUSE_JOYSTICK" = "yes"; then
19420 cat >> confdefs.h
<<\EOF
19421 #define wxUSE_JOYSTICK 1
19424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
19429 if test "$TOOLKIT" != "MSW"; then
19433 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19434 if test "$USE_DARWIN" = 1; then
19437 for ac_func
in dlopen
19439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19440 echo "configure:19441: checking for $ac_func" >&5
19441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19442 echo $ac_n "(cached) $ac_c" 1>&6
19444 cat > conftest.
$ac_ext <<EOF
19445 #line 19446 "configure"
19446 #include "confdefs.h"
19447 /* System header to define __stub macros and hopefully few prototypes,
19448 which can conflict with char $ac_func(); below. */
19449 #include <assert.h>
19450 /* Override any gcc2 internal prototype to avoid an error. */
19451 /* We use char because int might match the return type of a gcc2
19452 builtin and then its argument prototype would still apply. */
19457 /* The GNU C library defines this for functions which it implements
19458 to always fail with ENOSYS. Some functions are actually named
19459 something starting with __ and the normal name is an alias. */
19460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19468 if { (eval echo configure
:19469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19470 eval "ac_cv_func_$ac_func=yes"
19472 echo "configure: failed program was:" >&5
19473 cat conftest.
$ac_ext >&5
19475 eval "ac_cv_func_$ac_func=no"
19480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19481 echo "$ac_t""yes" 1>&6
19482 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19483 cat >> confdefs.h
<<EOF
19484 #define $ac_tr_func 1
19487 cat >> confdefs.h
<<\EOF
19488 #define HAVE_DLOPEN 1
19494 echo "$ac_t""no" 1>&6
19495 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19496 echo "configure:19497: checking for dlopen in -ldl" >&5
19497 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19498 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19499 echo $ac_n "(cached) $ac_c" 1>&6
19501 ac_save_LIBS
="$LIBS"
19503 cat > conftest.
$ac_ext <<EOF
19504 #line 19505 "configure"
19505 #include "confdefs.h"
19506 /* Override any gcc2 internal prototype to avoid an error. */
19507 /* We use char because int might match the return type of a gcc2
19508 builtin and then its argument prototype would still apply. */
19515 if { (eval echo configure
:19516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19517 eval "ac_cv_lib_$ac_lib_var=yes"
19519 echo "configure: failed program was:" >&5
19520 cat conftest.
$ac_ext >&5
19522 eval "ac_cv_lib_$ac_lib_var=no"
19525 LIBS
="$ac_save_LIBS"
19528 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19529 echo "$ac_t""yes" 1>&6
19531 cat >> confdefs.h
<<\EOF
19532 #define HAVE_DLOPEN 1
19536 DL_LINK
=" -ldl$DL_LINK"
19539 echo "$ac_t""no" 1>&6
19541 for ac_func
in shl_load
19543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19544 echo "configure:19545: checking for $ac_func" >&5
19545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19546 echo $ac_n "(cached) $ac_c" 1>&6
19548 cat > conftest.
$ac_ext <<EOF
19549 #line 19550 "configure"
19550 #include "confdefs.h"
19551 /* System header to define __stub macros and hopefully few prototypes,
19552 which can conflict with char $ac_func(); below. */
19553 #include <assert.h>
19554 /* Override any gcc2 internal prototype to avoid an error. */
19555 /* We use char because int might match the return type of a gcc2
19556 builtin and then its argument prototype would still apply. */
19561 /* The GNU C library defines this for functions which it implements
19562 to always fail with ENOSYS. Some functions are actually named
19563 something starting with __ and the normal name is an alias. */
19564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19572 if { (eval echo configure
:19573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19574 eval "ac_cv_func_$ac_func=yes"
19576 echo "configure: failed program was:" >&5
19577 cat conftest.
$ac_ext >&5
19579 eval "ac_cv_func_$ac_func=no"
19584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19585 echo "$ac_t""yes" 1>&6
19586 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19587 cat >> confdefs.h
<<EOF
19588 #define $ac_tr_func 1
19591 cat >> confdefs.h
<<\EOF
19592 #define HAVE_SHL_LOAD 1
19598 echo "$ac_t""no" 1>&6
19599 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19600 echo "configure:19601: checking for dld in -lshl_load" >&5
19601 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19602 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19603 echo $ac_n "(cached) $ac_c" 1>&6
19605 ac_save_LIBS
="$LIBS"
19606 LIBS
="-lshl_load $LIBS"
19607 cat > conftest.
$ac_ext <<EOF
19608 #line 19609 "configure"
19609 #include "confdefs.h"
19610 /* Override any gcc2 internal prototype to avoid an error. */
19611 /* We use char because int might match the return type of a gcc2
19612 builtin and then its argument prototype would still apply. */
19619 if { (eval echo configure
:19620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19621 eval "ac_cv_lib_$ac_lib_var=yes"
19623 echo "configure: failed program was:" >&5
19624 cat conftest.
$ac_ext >&5
19626 eval "ac_cv_lib_$ac_lib_var=no"
19629 LIBS
="$ac_save_LIBS"
19632 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19633 echo "$ac_t""yes" 1>&6
19636 DL_LINK
=" -ldld$DL_LINK"
19639 echo "$ac_t""no" 1>&6
19654 if test "$HAVE_DL_FUNCS" = 1; then
19655 for ac_func
in dlerror
19657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19658 echo "configure:19659: checking for $ac_func" >&5
19659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19660 echo $ac_n "(cached) $ac_c" 1>&6
19662 cat > conftest.
$ac_ext <<EOF
19663 #line 19664 "configure"
19664 #include "confdefs.h"
19665 /* System header to define __stub macros and hopefully few prototypes,
19666 which can conflict with char $ac_func(); below. */
19667 #include <assert.h>
19668 /* Override any gcc2 internal prototype to avoid an error. */
19669 /* We use char because int might match the return type of a gcc2
19670 builtin and then its argument prototype would still apply. */
19675 /* The GNU C library defines this for functions which it implements
19676 to always fail with ENOSYS. Some functions are actually named
19677 something starting with __ and the normal name is an alias. */
19678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19686 if { (eval echo configure
:19687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19688 eval "ac_cv_func_$ac_func=yes"
19690 echo "configure: failed program was:" >&5
19691 cat conftest.
$ac_ext >&5
19693 eval "ac_cv_func_$ac_func=no"
19698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19699 echo "$ac_t""yes" 1>&6
19700 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19701 cat >> confdefs.h
<<EOF
19702 #define $ac_tr_func 1
19704 cat >> confdefs.h
<<\EOF
19705 #define HAVE_DLERROR 1
19709 echo "$ac_t""no" 1>&6
19710 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19711 echo "configure:19712: checking for dlerror in -ldl" >&5
19712 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19713 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19714 echo $ac_n "(cached) $ac_c" 1>&6
19716 ac_save_LIBS
="$LIBS"
19718 cat > conftest.
$ac_ext <<EOF
19719 #line 19720 "configure"
19720 #include "confdefs.h"
19721 /* Override any gcc2 internal prototype to avoid an error. */
19722 /* We use char because int might match the return type of a gcc2
19723 builtin and then its argument prototype would still apply. */
19730 if { (eval echo configure
:19731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19732 eval "ac_cv_lib_$ac_lib_var=yes"
19734 echo "configure: failed program was:" >&5
19735 cat conftest.
$ac_ext >&5
19737 eval "ac_cv_lib_$ac_lib_var=no"
19740 LIBS
="$ac_save_LIBS"
19743 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19744 echo "$ac_t""yes" 1>&6
19745 cat >> confdefs.h
<<\EOF
19746 #define HAVE_DLERROR 1
19750 echo "$ac_t""no" 1>&6
19759 if test "$HAVE_DL_FUNCS" = 0; then
19760 if test "$HAVE_SHL_FUNCS" = 0; then
19761 if test "$USE_UNIX" = 1; then
19762 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19763 wxUSE_DYNAMIC_LOADER
=no
19764 wxUSE_DYNLIB_CLASS
=no
19766 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19773 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19774 cat >> confdefs.h
<<\EOF
19775 #define wxUSE_DYNAMIC_LOADER 1
19778 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19779 cat >> confdefs.h
<<\EOF
19780 #define wxUSE_DYNLIB_CLASS 1
19786 if test "$wxUSE_FONTMAP" = "yes" ; then
19787 cat >> confdefs.h
<<\EOF
19788 #define wxUSE_FONTMAP 1
19793 if test "$wxUSE_UNICODE" = "yes" ; then
19794 cat >> confdefs.h
<<\EOF
19795 #define wxUSE_UNICODE 1
19799 if test "$wxUSE_MSW" != 1; then
19800 wxUSE_UNICODE_MSLU
=no
19803 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19804 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19805 echo "configure:19806: checking for main in -lunicows" >&5
19806 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19807 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19808 echo $ac_n "(cached) $ac_c" 1>&6
19810 ac_save_LIBS
="$LIBS"
19811 LIBS
="-lunicows $LIBS"
19812 cat > conftest.
$ac_ext <<EOF
19813 #line 19814 "configure"
19814 #include "confdefs.h"
19820 if { (eval echo configure
:19821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19822 eval "ac_cv_lib_$ac_lib_var=yes"
19824 echo "configure: failed program was:" >&5
19825 cat conftest.
$ac_ext >&5
19827 eval "ac_cv_lib_$ac_lib_var=no"
19830 LIBS
="$ac_save_LIBS"
19833 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19834 echo "$ac_t""yes" 1>&6
19836 cat >> confdefs.h
<<\EOF
19837 #define wxUSE_UNICODE_MSLU 1
19842 echo "$ac_t""no" 1>&6
19844 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19845 Applications will only run on Windows NT/2000/XP!" 1>&2
19846 wxUSE_UNICODE_MSLU
=no
19853 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19854 cat >> confdefs.h
<<\EOF
19855 #define wxUSE_EXPERIMENTAL_PRINTF 1
19863 if test "$wxUSE_ODBC" = "yes" ; then
19864 cat >> confdefs.h
<<\EOF
19865 #define wxUSE_ODBC 1
19868 WXODBCFLAG
="-D_IODBC_"
19869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19873 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19874 cat >> confdefs.h
<<\EOF
19875 #define wxUSE_POSTSCRIPT 1
19880 cat >> confdefs.h
<<\EOF
19881 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19885 cat >> confdefs.h
<<\EOF
19886 #define wxUSE_NORMALIZED_PS_FONTS 1
19891 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19892 cat >> confdefs.h
<<\EOF
19893 #define wxUSE_CONSTRAINTS 1
19896 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19899 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19900 if test "$wxUSE_UNIVERSAL" = "yes"; then
19901 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19902 wxUSE_MDI_ARCHITECTURE
=no
19905 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19906 cat >> confdefs.h
<<\EOF
19907 #define wxUSE_MDI_ARCHITECTURE 1
19910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19914 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19915 cat >> confdefs.h
<<\EOF
19916 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19920 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19925 if test "$wxUSE_HELP" = "yes"; then
19926 cat >> confdefs.h
<<\EOF
19927 #define wxUSE_HELP 1
19930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19932 if test "$wxUSE_MSW" = 1; then
19933 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19934 cat >> confdefs.h
<<\EOF
19935 #define wxUSE_MS_HTML_HELP 1
19941 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19942 if test "$wxUSE_HTML" = "yes"; then
19943 cat >> confdefs.h
<<\EOF
19944 #define wxUSE_WXHTML_HELP 1
19948 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19949 wxUSE_WXHTML_HELP
=no
19954 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19955 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19956 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19958 cat >> confdefs.h
<<\EOF
19959 #define wxUSE_PRINTING_ARCHITECTURE 1
19963 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19966 if test "$wxUSE_PROLOGIO" = "yes" ; then
19967 cat >> confdefs.h
<<\EOF
19968 #define wxUSE_PROLOGIO 1
19973 if test "$wxUSE_RESOURCES" = "yes" ; then
19974 if test "$wxUSE_NANOX" = "yes"; then
19975 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19977 cat >> confdefs.h
<<\EOF
19978 #define wxUSE_RESOURCES 1
19981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19985 if test "$wxUSE_X_RESOURCES" = "yes"; then
19986 cat >> confdefs.h
<<\EOF
19987 #define wxUSE_X_RESOURCES 1
19993 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19994 -o "$wxUSE_CLIPBOARD" = "yes" \
19995 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19996 for ac_hdr
in ole2.h
19998 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19999 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20000 echo "configure:20001: checking for $ac_hdr" >&5
20001 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20002 echo $ac_n "(cached) $ac_c" 1>&6
20004 cat > conftest.
$ac_ext <<EOF
20005 #line 20006 "configure"
20006 #include "confdefs.h"
20009 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20010 { (eval echo configure
:20011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20011 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20012 if test -z "$ac_err"; then
20014 eval "ac_cv_header_$ac_safe=yes"
20017 echo "configure: failed program was:" >&5
20018 cat conftest.
$ac_ext >&5
20020 eval "ac_cv_header_$ac_safe=no"
20024 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20025 echo "$ac_t""yes" 1>&6
20026 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20027 cat >> confdefs.h
<<EOF
20028 #define $ac_tr_hdr 1
20032 echo "$ac_t""no" 1>&6
20037 if test "$ac_cv_header_ole2_h" = "yes" ; then
20038 if test "$GCC" = yes ; then
20039 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
20040 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
20041 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
20042 cat >> confdefs.h
<<\EOF
20043 #define wxUSE_OLE 1
20049 cat >> confdefs.h
<<\EOF
20050 #define wxUSE_DATAOBJ 1
20054 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
20057 wxUSE_DRAG_AND_DROP
=no
20061 if test "$wxUSE_METAFILE" = "yes"; then
20062 cat >> confdefs.h
<<\EOF
20063 #define wxUSE_METAFILE 1
20067 cat >> confdefs.h
<<\EOF
20068 #define wxUSE_ENH_METAFILE 1
20074 if test "$wxUSE_IPC" = "yes"; then
20075 if test "$wxUSE_SOCKETS" != "yes"; then
20076 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
20079 cat >> confdefs.h
<<\EOF
20080 #define wxUSE_IPC 1
20085 if test "$wxUSE_CLIPBOARD" = "yes"; then
20086 if test "$wxUSE_MGL" = 1; then
20087 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
20091 if test "$wxUSE_CLIPBOARD" = "yes"; then
20092 cat >> confdefs.h
<<\EOF
20093 #define wxUSE_CLIPBOARD 1
20097 cat >> confdefs.h
<<\EOF
20098 #define wxUSE_DATAOBJ 1
20104 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
20105 if test "$wxUSE_GTK" = 1; then
20106 if test "$WXGTK12" != 1; then
20107 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
20108 wxUSE_DRAG_AND_DROP
=no
20112 if test "$wxUSE_MOTIF" = 1; then
20113 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
20114 wxUSE_DRAG_AND_DROP
=no
20117 if test "$wxUSE_X11" = 1; then
20118 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
20119 wxUSE_DRAG_AND_DROP
=no
20122 if test "$wxUSE_MGL" = 1; then
20123 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
20124 wxUSE_DRAG_AND_DROP
=no
20127 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
20128 cat >> confdefs.h
<<\EOF
20129 #define wxUSE_DRAG_AND_DROP 1
20132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
20137 if test "$wxUSE_SPLINES" = "yes" ; then
20138 cat >> confdefs.h
<<\EOF
20139 #define wxUSE_SPLINES 1
20146 if test "$wxUSE_CONTROLS" = "yes"; then
20150 if test "$wxUSE_ACCEL" = "yes"; then
20151 cat >> confdefs.h
<<\EOF
20152 #define wxUSE_ACCEL 1
20158 if test "$wxUSE_BUTTON" = "yes"; then
20159 cat >> confdefs.h
<<\EOF
20160 #define wxUSE_BUTTON 1
20166 if test "$wxUSE_BMPBUTTON" = "yes"; then
20167 cat >> confdefs.h
<<\EOF
20168 #define wxUSE_BMPBUTTON 1
20174 if test "$wxUSE_CALCTRL" = "yes"; then
20175 cat >> confdefs.h
<<\EOF
20176 #define wxUSE_CALENDARCTRL 1
20180 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
20183 if test "$wxUSE_CARET" = "yes"; then
20184 cat >> confdefs.h
<<\EOF
20185 #define wxUSE_CARET 1
20189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
20192 if test "$wxUSE_COMBOBOX" = "yes"; then
20193 cat >> confdefs.h
<<\EOF
20194 #define wxUSE_COMBOBOX 1
20200 if test "$wxUSE_CHOICE" = "yes"; then
20201 cat >> confdefs.h
<<\EOF
20202 #define wxUSE_CHOICE 1
20208 if test "$wxUSE_CHECKBOX" = "yes"; then
20209 cat >> confdefs.h
<<\EOF
20210 #define wxUSE_CHECKBOX 1
20216 if test "$wxUSE_CHECKLST" = "yes"; then
20217 cat >> confdefs.h
<<\EOF
20218 #define wxUSE_CHECKLISTBOX 1
20222 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
20225 if test "$wxUSE_GAUGE" = "yes"; then
20226 cat >> confdefs.h
<<\EOF
20227 #define wxUSE_GAUGE 1
20233 if test "$wxUSE_NEW_GRID" = "yes"; then
20235 cat >> confdefs.h
<<\EOF
20236 #define wxUSE_NEW_GRID 1
20240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
20243 if test "$wxUSE_GRID" = "yes"; then
20244 cat >> confdefs.h
<<\EOF
20245 #define wxUSE_GRID 1
20249 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
20252 if test "$wxUSE_IMAGLIST" = "yes"; then
20253 cat >> confdefs.h
<<\EOF
20254 #define wxUSE_IMAGLIST 1
20259 if test "$wxUSE_LISTBOX" = "yes"; then
20260 cat >> confdefs.h
<<\EOF
20261 #define wxUSE_LISTBOX 1
20267 if test "$wxUSE_LISTCTRL" = "yes"; then
20268 if test "$wxUSE_IMAGLIST" = "yes"; then
20269 cat >> confdefs.h
<<\EOF
20270 #define wxUSE_LISTCTRL 1
20274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
20276 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
20280 if test "$wxUSE_NOTEBOOK" = "yes"; then
20281 cat >> confdefs.h
<<\EOF
20282 #define wxUSE_NOTEBOOK 1
20286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
20289 if test "$wxUSE_PROPSHEET" = "yes"; then
20290 cat >> confdefs.h
<<\EOF
20291 #define wxUSE_PROPSHEET 1
20295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
20298 if test "$wxUSE_RADIOBOX" = "yes"; then
20299 cat >> confdefs.h
<<\EOF
20300 #define wxUSE_RADIOBOX 1
20306 if test "$wxUSE_RADIOBTN" = "yes"; then
20307 cat >> confdefs.h
<<\EOF
20308 #define wxUSE_RADIOBTN 1
20314 if test "$wxUSE_SASH" = "yes"; then
20315 cat >> confdefs.h
<<\EOF
20316 #define wxUSE_SASH 1
20319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
20322 if test "$wxUSE_SCROLLBAR" = "yes"; then
20323 cat >> confdefs.h
<<\EOF
20324 #define wxUSE_SCROLLBAR 1
20328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
20331 if test "$wxUSE_SLIDER" = "yes"; then
20332 cat >> confdefs.h
<<\EOF
20333 #define wxUSE_SLIDER 1
20339 if test "$wxUSE_SPINBTN" = "yes"; then
20340 cat >> confdefs.h
<<\EOF
20341 #define wxUSE_SPINBTN 1
20347 if test "$wxUSE_SPINCTRL" = "yes"; then
20348 cat >> confdefs.h
<<\EOF
20349 #define wxUSE_SPINCTRL 1
20355 if test "$wxUSE_SPLITTER" = "yes"; then
20356 cat >> confdefs.h
<<\EOF
20357 #define wxUSE_SPLITTER 1
20360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
20363 if test "$wxUSE_STATBMP" = "yes"; then
20364 cat >> confdefs.h
<<\EOF
20365 #define wxUSE_STATBMP 1
20371 if test "$wxUSE_STATBOX" = "yes"; then
20372 cat >> confdefs.h
<<\EOF
20373 #define wxUSE_STATBOX 1
20379 if test "$wxUSE_STATTEXT" = "yes"; then
20380 cat >> confdefs.h
<<\EOF
20381 #define wxUSE_STATTEXT 1
20387 if test "$wxUSE_STATLINE" = "yes"; then
20388 if test "$wxUSE_WINE" = 1 ; then
20389 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20391 cat >> confdefs.h
<<\EOF
20392 #define wxUSE_STATLINE 1
20399 if test "$wxUSE_STATUSBAR" = "yes"; then
20400 cat >> confdefs.h
<<\EOF
20401 #define wxUSE_STATUSBAR 1
20406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
20409 if test "$wxUSE_TABDIALOG" = "yes"; then
20410 cat >> confdefs.h
<<\EOF
20411 #define wxUSE_TAB_DIALOG 1
20414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
20417 if test "$wxUSE_TEXTCTRL" = "yes"; then
20418 cat >> confdefs.h
<<\EOF
20419 #define wxUSE_TEXTCTRL 1
20423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
20426 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20427 if test "$wxUSE_MAC" = 1; then
20428 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20431 if test "$wxUSE_UNIVERSAL" = "yes"; then
20432 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20436 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20437 cat >> confdefs.h
<<\EOF
20438 #define wxUSE_TOGGLEBTN 1
20445 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20446 cat >> confdefs.h
<<\EOF
20447 #define wxUSE_TOOLBAR_SIMPLE 1
20450 wxUSE_TOOLBAR
="yes"
20454 if test "$wxUSE_TOOLBAR" = "yes"; then
20455 cat >> confdefs.h
<<\EOF
20456 #define wxUSE_TOOLBAR 1
20461 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20462 wxUSE_TOOLBAR_NATIVE
="yes"
20465 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20466 cat >> confdefs.h
<<\EOF
20467 #define wxUSE_TOOLBAR_NATIVE 1
20473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
20476 if test "$wxUSE_TOOLTIPS" = "yes"; then
20477 if test "$wxUSE_MOTIF" = 1; then
20478 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20480 if test "$wxUSE_WINE" = 1; then
20481 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20483 if test "$wxUSE_UNIVERSAL" = "yes"; then
20484 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20486 cat >> confdefs.h
<<\EOF
20487 #define wxUSE_TOOLTIPS 1
20495 if test "$wxUSE_TREECTRL" = "yes"; then
20496 if test "$wxUSE_IMAGLIST" = "yes"; then
20497 cat >> confdefs.h
<<\EOF
20498 #define wxUSE_TREECTRL 1
20502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20504 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20508 if test "$wxUSE_POPUPWIN" = "yes"; then
20509 if test "$wxUSE_MAC" = 1; then
20510 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20512 if test "$wxUSE_MOTIF" = 1; then
20513 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20515 if test "$wxUSE_PM" = 1; then
20516 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20518 cat >> confdefs.h
<<\EOF
20519 #define wxUSE_POPUPWIN 1
20529 if test "$wxUSE_TIPWINDOW" = "yes"; then
20530 if test "$wxUSE_PM" = 1; then
20531 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20533 cat >> confdefs.h
<<\EOF
20534 #define wxUSE_TIPWINDOW 1
20540 if test "$USES_CONTROLS" = 1; then
20541 cat >> confdefs.h
<<\EOF
20542 #define wxUSE_CONTROLS 1
20548 if test "$wxUSE_TREELAYOUT" = "yes"; then
20549 cat >> confdefs.h
<<\EOF
20550 #define wxUSE_TREELAYOUT 1
20553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20556 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20557 cat >> confdefs.h
<<\EOF
20558 #define wxUSE_DRAGIMAGE 1
20561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20564 if test "$wxUSE_MENUS" = "yes"; then
20565 cat >> confdefs.h
<<\EOF
20566 #define wxUSE_MENUS 1
20569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20572 if test "$wxUSE_METAFILE" = "yes"; then
20573 cat >> confdefs.h
<<\EOF
20574 #define wxUSE_METAFILE 1
20579 if test "$wxUSE_MIMETYPE" = "yes"; then
20580 cat >> confdefs.h
<<\EOF
20581 #define wxUSE_MIMETYPE 1
20586 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20587 cat >> confdefs.h
<<\EOF
20588 #define wxUSE_SYSTEM_OPTIONS 1
20591 if test "$TOOLKIT" = "MSW"; then
20592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
20597 if test "$wxUSE_PROTOCOL" = "yes"; then
20598 if test "$wxUSE_SOCKETS" != "yes"; then
20599 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20603 if test "$wxUSE_PROTOCOL" = "yes"; then
20604 cat >> confdefs.h
<<\EOF
20605 #define wxUSE_PROTOCOL 1
20609 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20610 cat >> confdefs.h
<<\EOF
20611 #define wxUSE_PROTOCOL_HTTP 1
20615 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20616 cat >> confdefs.h
<<\EOF
20617 #define wxUSE_PROTOCOL_FTP 1
20621 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20622 cat >> confdefs.h
<<\EOF
20623 #define wxUSE_PROTOCOL_FILE 1
20630 if test "$wxUSE_URL" = "yes"; then
20631 if test "$wxUSE_PROTOCOL" != "yes"; then
20632 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20635 if test "$wxUSE_URL" = "yes"; then
20636 cat >> confdefs.h
<<\EOF
20637 #define wxUSE_URL 1
20643 if test "$wxUSE_MINIFRAME" = "yes"; then
20644 cat >> confdefs.h
<<\EOF
20645 #define wxUSE_MINIFRAME 1
20648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20651 if test "$wxUSE_HTML" = "yes"; then
20652 cat >> confdefs.h
<<\EOF
20653 #define wxUSE_HTML 1
20656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20659 if test "$wxUSE_VALIDATORS" = "yes"; then
20660 cat >> confdefs.h
<<\EOF
20661 #define wxUSE_VALIDATORS 1
20664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20667 if test "$wxUSE_PALETTE" = "yes" ; then
20668 cat >> confdefs.h
<<\EOF
20669 #define wxUSE_PALETTE 1
20674 if test "$wxUSE_IMAGE" = "yes" ; then
20675 cat >> confdefs.h
<<\EOF
20676 #define wxUSE_IMAGE 1
20681 if test "$wxUSE_GIF" = "yes" ; then
20682 cat >> confdefs.h
<<\EOF
20683 #define wxUSE_GIF 1
20688 if test "$wxUSE_PCX" = "yes" ; then
20689 cat >> confdefs.h
<<\EOF
20690 #define wxUSE_PCX 1
20695 if test "$wxUSE_IFF" = "yes" ; then
20696 cat >> confdefs.h
<<\EOF
20697 #define wxUSE_IFF 1
20702 if test "$wxUSE_PNM" = "yes" ; then
20703 cat >> confdefs.h
<<\EOF
20704 #define wxUSE_PNM 1
20709 if test "$wxUSE_XPM" = "yes" ; then
20710 cat >> confdefs.h
<<\EOF
20711 #define wxUSE_XPM 1
20716 if test "$wxUSE_ICO_CUR" = "yes" ; then
20717 cat >> confdefs.h
<<\EOF
20718 #define wxUSE_ICO_CUR 1
20723 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20724 LIBS
=" -lunicows $LIBS"
20728 if test "$wxUSE_CHOICEDLG" = "yes"; then
20729 cat >> confdefs.h
<<\EOF
20730 #define wxUSE_CHOICEDLG 1
20735 if test "$wxUSE_COLOURDLG" = "yes"; then
20736 cat >> confdefs.h
<<\EOF
20737 #define wxUSE_COLOURDLG 1
20742 if test "$wxUSE_FILEDLG" = "yes"; then
20743 cat >> confdefs.h
<<\EOF
20744 #define wxUSE_FILEDLG 1
20749 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20750 cat >> confdefs.h
<<\EOF
20751 #define wxUSE_FINDREPLDLG 1
20756 if test "$wxUSE_FONTDLG" = "yes"; then
20757 cat >> confdefs.h
<<\EOF
20758 #define wxUSE_FONTDLG 1
20763 if test "$wxUSE_DIRDLG" = "yes"; then
20764 if test "$wxUSE_TREECTRL" != "yes"; then
20765 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20767 cat >> confdefs.h
<<\EOF
20768 #define wxUSE_DIRDLG 1
20774 if test "$wxUSE_MSGDLG" = "yes"; then
20775 cat >> confdefs.h
<<\EOF
20776 #define wxUSE_MSGDLG 1
20781 if test "$wxUSE_NUMBERDLG" = "yes"; then
20782 cat >> confdefs.h
<<\EOF
20783 #define wxUSE_NUMBERDLG 1
20788 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20789 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20790 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20792 cat >> confdefs.h
<<\EOF
20793 #define wxUSE_PROGRESSDLG 1
20799 if test "$wxUSE_SPLASH" = "yes"; then
20800 cat >> confdefs.h
<<\EOF
20801 #define wxUSE_SPLASH 1
20806 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20807 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20808 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20810 cat >> confdefs.h
<<\EOF
20811 #define wxUSE_STARTUP_TIPS 1
20817 if test "$wxUSE_TEXTDLG" = "yes"; then
20818 cat >> confdefs.h
<<\EOF
20819 #define wxUSE_TEXTDLG 1
20824 if test "$wxUSE_WIZARDDLG" = "yes"; then
20825 cat >> confdefs.h
<<\EOF
20826 #define wxUSE_WIZARDDLG 1
20829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20833 if test "$cross_compiling" = "yes"; then
20836 OSINFO
=`uname -s -r -m`
20837 OSINFO
="\"$OSINFO\""
20840 cat >> confdefs.h
<<EOF
20841 #define WXWIN_OS_DESCRIPTION $OSINFO
20846 if test "x$prefix" != "xNONE"; then
20849 wxPREFIX
=$ac_default_prefix
20852 cat >> confdefs.h
<<EOF
20853 #define wxINSTALL_PREFIX "$wxPREFIX"
20860 if test "$wxUSE_MAC" = 1 ; then
20861 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20865 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20867 if test "$wxUSE_GUI" = "yes"; then
20869 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
20873 drawing dynamic erase event exec font image \
20874 minimal richedit rotate widgets"
20876 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20878 SAMPLES_SUBDIRS
="console"
20882 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
20883 -I\${top_srcdir}/include \
20884 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
20887 if test "$wxUSE_GTK" = 1; then
20890 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20893 if test "$GXX" = yes ; then
20894 CXXWARNINGS
="-Wall"
20896 if test "$wxUSE_NO_DEPS" = "no" ; then
20897 CFLAGS
="-MMD $CFLAGS"
20898 CXXFLAGS
="-MMD $CXXFLAGS"
20902 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20904 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20905 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20906 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
20908 LDFLAGS
="$LDFLAGS $PROFILE"
20910 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
21001 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
21002 echo "configure:21003: checking whether ${MAKE-make} sets \${MAKE}" >&5
21003 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
21004 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
21005 echo $ac_n "(cached) $ac_c" 1>&6
21007 cat > conftestmake
<<\EOF
21009 @
echo 'ac_maketemp="${MAKE}"'
21011 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21012 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
21013 if test -n "$ac_maketemp"; then
21014 eval ac_cv_prog_make_
${ac_make}_set
=yes
21016 eval ac_cv_prog_make_
${ac_make}_set
=no
21020 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
21021 echo "$ac_t""yes" 1>&6
21024 echo "$ac_t""no" 1>&6
21025 SET_MAKE
="MAKE=${MAKE-make}"
21029 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
21030 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
21035 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
21036 wx_cv_if_gnu_make
=$IF_GNU_MAKE
21037 wx_cv_path_ifs
=$PATH_IFS
21038 wx_cv_program_ext
=$PROGRAM_EXT
21039 wx_cv_target_library
=$WX_TARGET_LIBRARY
21040 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
21041 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
21042 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
21043 wx_cv_path_ifs wx_cv_program_ext \
21044 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
21046 subdirs
="demos samples utils contrib"
21050 cat > confcache
<<\EOF
21051 # This file is a shell script that caches the results of configure
21052 # tests run on this system so they can be shared between configure
21053 # scripts and configure runs. It is not useful on other systems.
21054 # If it contains results you don't want to keep, you may remove or edit it.
21056 # By default, configure uses ./config.cache as the cache file,
21057 # creating it if it does not exist already. You can give configure
21058 # the --cache-file=FILE option to use a different cache file; that is
21059 # what configure does when it calls configure scripts in
21060 # subdirectories, so they share the cache.
21061 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21062 # config.status only pays attention to the cache file if you give it the
21063 # --recheck option to rerun configure.
21066 # The following way of writing the cache mishandles newlines in values,
21067 # but we know of no workaround that is simple, portable, and efficient.
21068 # So, don't put newlines in cache variables' values.
21069 # Ultrix sh set writes to stderr and can't be redirected directly,
21070 # and sets the high bit in the cache file unless we assign to the vars.
21072 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21074 # `set' does not quote correctly, so add quotes (double-quote substitution
21075 # turns \\\\ into \\, and sed turns \\ into \).
21077 -e "s/'/'\\\\''/g" \
21078 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21081 # `set' quotes correctly as required by POSIX, so do not add quotes.
21082 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21085 if cmp -s $cache_file confcache
; then
21088 if test -w $cache_file; then
21089 echo "updating cache $cache_file"
21090 cat confcache
> $cache_file
21092 echo "not updating unwritable cache $cache_file"
21097 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
21099 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21100 # Let make expand exec_prefix.
21101 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21103 # Any assignment to VPATH causes Sun make to only execute
21104 # the first set of double-colon rules, so remove it if not needed.
21105 # If there is a colon in the path, we need to keep it.
21106 if test "x$srcdir" = x.
; then
21107 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
21110 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
21112 DEFS
=-DHAVE_CONFIG_H
21114 # Without the "./", some shells look in PATH for config.status.
21115 : ${CONFIG_STATUS=./config.status}
21117 echo creating
$CONFIG_STATUS
21118 rm -f $CONFIG_STATUS
21119 cat > $CONFIG_STATUS <<EOF
21121 # Generated automatically by configure.
21122 # Run this file to recreate the current configuration.
21123 # This directory was configured as follows,
21124 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21126 # $0 $ac_configure_args
21128 # Compiler output produced by configure, useful for debugging
21129 # configure, is in ./config.log if it exists.
21131 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
21134 case "\$ac_option" in
21135 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21136 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
21137 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
21138 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
21139 echo "$CONFIG_STATUS generated by autoconf version 2.13"
21141 -help | --help | --hel | --he | --h)
21142 echo "\$ac_cs_usage"; exit 0 ;;
21143 *) echo "\$ac_cs_usage"; exit 1 ;;
21147 ac_given_srcdir=$srcdir
21148 ac_given_INSTALL="$INSTALL"
21150 trap 'rm -fr `echo "
21156 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
21158 cat >> $CONFIG_STATUS <<EOF
21160 # Protect against being on the right side of a sed subst in config.status.
21161 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
21162 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
21166 s%@CFLAGS@%$CFLAGS%g
21167 s%@CPPFLAGS@%$CPPFLAGS%g
21168 s%@CXXFLAGS@%$CXXFLAGS%g
21169 s%@FFLAGS@%$FFLAGS%g
21171 s%@LDFLAGS@%$LDFLAGS%g
21173 s%@exec_prefix@%$exec_prefix%g
21174 s%@prefix@%$prefix%g
21175 s%@program_transform_name@%$program_transform_name%g
21176 s%@bindir@%$bindir%g
21177 s%@sbindir@%$sbindir%g
21178 s%@libexecdir@%$libexecdir%g
21179 s%@datadir@%$datadir%g
21180 s%@sysconfdir@%$sysconfdir%g
21181 s%@sharedstatedir@%$sharedstatedir%g
21182 s%@localstatedir@%$localstatedir%g
21183 s%@libdir@%$libdir%g
21184 s%@includedir@%$includedir%g
21185 s%@oldincludedir@%$oldincludedir%g
21186 s%@infodir@%$infodir%g
21187 s%@mandir@%$mandir%g
21189 s%@host_alias@%$host_alias%g
21190 s%@host_cpu@%$host_cpu%g
21191 s%@host_vendor@%$host_vendor%g
21192 s%@host_os@%$host_os%g
21193 s%@target@%$target%g
21194 s%@target_alias@%$target_alias%g
21195 s%@target_cpu@%$target_cpu%g
21196 s%@target_vendor@%$target_vendor%g
21197 s%@target_os@%$target_os%g
21199 s%@build_alias@%$build_alias%g
21200 s%@build_cpu@%$build_cpu%g
21201 s%@build_vendor@%$build_vendor%g
21202 s%@build_os@%$build_os%g
21206 s%@RANLIB@%$RANLIB%g
21208 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21209 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21210 s%@INSTALL_DATA@%$INSTALL_DATA%g
21212 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
21215 s%@LEXLIB@%$LEXLIB%g
21217 s%@CXXCPP@%$CXXCPP%g
21218 s%@PKG_CONFIG@%$PKG_CONFIG%g
21219 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
21220 s%@GTK_LIBS@%$GTK_LIBS%g
21221 s%@GTK_CONFIG@%$GTK_CONFIG%g
21222 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
21223 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
21224 s%@X_CFLAGS@%$X_CFLAGS%g
21225 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
21226 s%@X_LIBS@%$X_LIBS%g
21227 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
21228 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
21229 s%@RESCOMP@%$RESCOMP%g
21231 s%@LIBICONV@%$LIBICONV%g
21232 s%@LEX_STEM@%$LEX_STEM%g
21233 s%@PATH_IFS@%$PATH_IFS%g
21234 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
21235 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
21236 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
21237 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
21238 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
21239 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
21240 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
21241 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
21242 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
21243 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
21244 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
21245 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
21246 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
21247 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
21248 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
21249 s%@WX_ALL@%$WX_ALL%g
21250 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
21251 s%@SHARED_LD@%$SHARED_LD%g
21252 s%@PIC_FLAG@%$PIC_FLAG%g
21253 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
21254 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
21255 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
21256 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
21257 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
21258 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
21259 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
21260 s%@USE_GUI@%$USE_GUI%g
21261 s%@AFMINSTALL@%$AFMINSTALL%g
21262 s%@TOOLKIT@%$TOOLKIT%g
21263 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
21264 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
21265 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
21266 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
21267 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
21268 s%@cross_compiling@%$cross_compiling%g
21269 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
21270 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
21271 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
21272 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
21273 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
21274 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
21275 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
21276 s%@ALL_HEADERS@%$ALL_HEADERS%g
21277 s%@ALL_SOURCES@%$ALL_SOURCES%g
21278 s%@GUIDIST@%$GUIDIST%g
21279 s%@PORT_FILES@%$PORT_FILES%g
21280 s%@DISTDIR@%$DISTDIR%g
21281 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
21282 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
21283 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
21284 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
21285 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
21286 s%@EXTRADEFS@%$EXTRADEFS%g
21287 s%@RESFLAGS@%$RESFLAGS%g
21288 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
21289 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
21290 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
21291 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
21292 s%@LIBWXMACRES@%$LIBWXMACRES%g
21293 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
21294 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
21295 s%@DLLTOOL@%$DLLTOOL%g
21299 s%@MAKEINFO@%$MAKEINFO%g
21300 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
21301 s%@SET_MAKE@%$SET_MAKE%g
21302 s%@subdirs@%$subdirs%g
21307 cat >> $CONFIG_STATUS <<\EOF
21309 # Split the substitutions into bite-sized pieces for seds with
21310 # small command number limits, like on Digital OSF/1 and HP-UX.
21311 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
21312 ac_file
=1 # Number of current file.
21313 ac_beg
=1 # First line for current file.
21314 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
21317 while $ac_more_lines; do
21318 if test $ac_beg -gt 1; then
21319 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
21321 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
21323 if test ! -s conftest.s
$ac_file; then
21324 ac_more_lines
=false
21325 rm -f conftest.s
$ac_file
21327 if test -z "$ac_sed_cmds"; then
21328 ac_sed_cmds
="sed -f conftest.s$ac_file"
21330 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
21332 ac_file
=`expr $ac_file + 1`
21334 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
21337 if test -z "$ac_sed_cmds"; then
21342 cat >> $CONFIG_STATUS <<EOF
21344 CONFIG_FILES=\${CONFIG_FILES-"wx-config
21351 cat >> $CONFIG_STATUS <<\EOF
21352 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
21353 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21355 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21356 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21357 *) ac_file_in
="${ac_file}.in" ;;
21360 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21362 # Remove last slash and all that follows it. Not all systems have dirname.
21363 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21364 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
21365 # The file is in a subdirectory.
21366 test ! -d "$ac_dir" && mkdir "$ac_dir"
21367 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
21368 # A "../" for each directory in $ac_dir_suffix.
21369 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21371 ac_dir_suffix
= ac_dots
=
21374 case "$ac_given_srcdir" in
21376 if test -z "$ac_dots"; then top_srcdir
=.
21377 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21378 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
21379 *) # Relative path.
21380 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21381 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21384 case "$ac_given_INSTALL" in
21385 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
21386 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
21389 echo creating
"$ac_file"
21391 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21393 *Makefile
*) ac_comsub
="1i\\
21394 # $configure_input" ;;
21398 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21400 s%@configure_input@%$configure_input%g
21401 s%@srcdir@%$srcdir%g
21402 s%@top_srcdir@%$top_srcdir%g
21403 s%@INSTALL@%$INSTALL%g
21404 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21408 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21409 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21411 # ac_d sets the value in "#define NAME VALUE" lines.
21412 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21413 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
21416 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21417 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21418 ac_uB
='\([ ]\)%\1#\2define\3'
21421 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21422 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21423 ac_eB
='$%\1#\2define\3'
21427 if test "${CONFIG_HEADERS+set}" != set; then
21429 cat >> $CONFIG_STATUS <<EOF
21430 CONFIG_HEADERS="setup.h:setup.h.in"
21432 cat >> $CONFIG_STATUS <<\EOF
21434 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21435 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21437 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21438 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21439 *) ac_file_in
="${ac_file}.in" ;;
21442 echo creating
$ac_file
21444 rm -f conftest.frag conftest.
in conftest.out
21445 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21446 cat $ac_file_inputs > conftest.
in
21450 # Transform confdefs.h into a sed script conftest.vals that substitutes
21451 # the proper values into config.h.in to produce config.h. And first:
21452 # Protect against being on the right side of a sed subst in config.status.
21453 # Protect against being in an unquoted here document in config.status.
21454 rm -f conftest.vals
21455 cat > conftest.hdr
<<\EOF
21458 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21462 sed -n -f conftest.hdr confdefs.h > conftest.vals
21465 # This sed command replaces #undef with comments. This is necessary, for
21466 # example, in the case of _POSIX_SOURCE, which is predefined and required
21467 # on some systems where configure will not decide to define it.
21468 cat >> conftest.vals <<\EOF
21469 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21472 # Break up conftest.vals because some shells have a limit on
21473 # the size of here documents, and old seds have small limits too.
21475 rm -f conftest.tail
21478 ac_lines=`grep -c . conftest.vals
`
21479 # grep -c gives empty output for an empty file on some AIX systems.
21480 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21481 # Write a limited-size here document to conftest.frag.
21482 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21483 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21485 sed -f conftest.frag conftest.in > conftest.out
21487 mv conftest.out conftest.in
21488 ' >> $CONFIG_STATUS
21489 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21490 rm -f conftest.vals
21491 mv conftest.tail conftest.vals
21493 rm -f conftest.vals
21495 cat >> $CONFIG_STATUS <<\EOF
21496 rm -f conftest.frag conftest.h
21497 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21498 cat conftest.in >> conftest.h
21500 if cmp -s $ac_file conftest.h 2>/dev/null; then
21501 echo "$ac_file is unchanged"
21504 # Remove last slash and all that follows it. Not all systems have dirname.
21505 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21506 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21507 # The file is in a subdirectory.
21508 test ! -d "$ac_dir" && mkdir "$ac_dir"
21511 mv conftest.h $ac_file
21516 cat >> $CONFIG_STATUS <<EOF
21518 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21523 cat >> $CONFIG_STATUS <<\EOF
21525 if test ! -h wx-config; then
21527 mv wx-config wx${TOOLCHAIN_NAME}-config
21528 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21531 if test ! -d lib; then
21534 if test ! -d lib/wx; then
21537 if test ! -d lib/wx/include; then
21538 mkdir lib/wx/include
21540 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21541 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21543 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21544 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21546 if test -f setup.h; then
21547 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21552 chmod +x $CONFIG_STATUS
21553 rm -fr confdefs* $ac_clean_files
21554 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21556 if test "$no_recursion" != yes; then
21558 # Remove --cache-file and --srcdir arguments so they do not pile up.
21559 ac_sub_configure_args=
21561 for ac_arg in $ac_configure_args; do
21562 if test -n "$ac_prev"; then
21567 -cache-file | --cache-file | --cache-fil | --cache-fi \
21568 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21569 ac_prev=cache_file ;;
21570 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21571 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21573 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21575 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21577 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21581 for ac_config_dir in demos samples utils contrib; do
21583 # Do not complain, so a configure script can configure whichever
21584 # parts of a large source tree are present.
21585 if test ! -d $srcdir/$ac_config_dir; then
21589 echo configuring in $ac_config_dir
21594 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21596 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21604 # A "../" for each directory in /$ac_config_dir.
21605 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21608 .) # No --srcdir option. We are building in place.
21609 ac_sub_srcdir=$srcdir ;;
21610 /*) # Absolute path.
21611 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21612 *) # Relative path.
21613 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21616 # Check for guested configure; otherwise get Cygnus style configure.
21617 if test -f $ac_sub_srcdir/configure; then
21618 ac_sub_configure=$ac_sub_srcdir/configure
21619 elif test -f $ac_sub_srcdir/configure.in; then
21620 ac_sub_configure=$ac_configure
21622 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21626 # The recursion is here.
21627 if test -n "$ac_sub_configure"; then
21629 # Make the cache file name correct relative to the subdirectory.
21630 case "$cache_file" in
21631 /*) ac_sub_cache_file=$cache_file ;;
21632 *) # Relative path.
21633 ac_sub_cache_file="$ac_dots$cache_file" ;;
21635 case "$ac_given_INSTALL" in
21636 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21637 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21640 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21641 # The eval makes quoting arguments work.
21642 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21645 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }