3 # From configure.in Id: configure.in
62 # Configure paths for GTK+
63 # Owen Taylor 1997-2001
67 # Configure paths for GTK+
77 # Guess values for system-dependent variables and create Makefiles.
78 # Generated automatically using autoconf version 2.13
79 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
81 # This configure script is free software; the Free Software Foundation
82 # gives unlimited permission to copy, distribute and modify it.
86 ac_default_prefix
=/usr
/local
87 # Any additions from configure.in:
89 --enable-gui use GUI classes"
91 --enable-universal use wxWindows GUI controls instead of native ones"
95 --with-motif use Motif/Lesstif"
97 --with-mac use Mac OS X"
101 --with-msw use MS-Windows"
103 --with-pm use OS/2 Presentation Manager"
105 --with-mgl use SciTech MGL"
107 --with-microwin use MicroWindows"
111 --enable-nanox use NanoX"
113 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
115 --with-libpng use libpng (PNG image format)"
117 --with-libjpeg use libjpeg (JPEG file format)"
119 --with-libtiff use libtiff (TIFF file format)"
121 --with-opengl use OpenGL (or Mesa)"
123 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
125 --with-regex enable support for wxRegEx class"
127 --with-zlib use zlib for LZW compression"
129 --with-odbc use the IODBC and wxODBC classes"
131 --enable-shared create shared library code"
133 --enable-soname set the DT_SONAME field in ELF shared libraries"
135 --enable-optimise create optimised code"
137 --enable-debug same as debug_flag and debug_info"
139 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
141 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
143 --enable-debug_info create code with debugging information"
145 --enable-debug_gdb create code with extra GDB debugging information"
147 --enable-debug_cntxt use wxDebugContext"
149 --enable-mem_tracing create code with memory tracing"
151 --enable-profile create code with profiling information"
153 --enable-no_rtti create code without RTTI information"
155 --enable-no_exceptions create code without C++ exceptions handling"
157 --enable-permissive compile code disregarding strict ANSI"
159 --enable-no_deps create code without dependency information"
161 --enable-compat20 enable wxWindows 2.0 compatibility"
163 --enable-compat22 enable wxWindows 2.2 compatibility"
165 --disable-compat24 disable wxWindows 2.4 compatibility"
167 --enable-rpath=DIR output the rpath flag from wx-config"
169 --enable-intl use internationalization system"
171 --enable-config use wxConfig (and derived) classes"
173 --enable-protocols use wxProtocol and derived classes"
175 --enable-ftp use wxFTP (requires wxProtocol"
177 --enable-http use wxHTTP (requires wxProtocol"
179 --enable-fileproto use wxFileProto class (requires wxProtocol"
181 --enable-sockets use socket/network classes"
183 --enable-ole use OLE classes"
185 --enable-dataobj use data object classes"
187 --enable-ipc use interprocess communication (wxSocket etc.)"
189 --enable-cmdline use wxCmdLineParser class"
191 --enable-datetime use wxDateTime class"
193 --enable-timedate use obsolete wxDate/wxTime classes"
195 --enable-stopwatch use wxStopWatch class"
197 --enable-dialupman use dialup network classes"
199 --enable-apple_ieee use the Apple IEEE codec"
201 --enable-timer use wxTimer class"
203 --enable-wave use wxWave class"
205 --enable-fraction use wxFraction class"
207 --enable-dynlib use wxLibrary class for DLL loading"
209 --enable-dynamicloader use (new) wxDynamicLibrary class"
211 --enable-longlong use wxLongLong class"
213 --enable-geometry use geometry class"
215 --enable-log use logging system"
217 --enable-streams use wxStream etc classes"
219 --enable-file use wxFile classes"
221 --enable-ffile use wxFFile classes"
223 --enable-textbuf use wxTextBuffer class"
225 --enable-textfile use wxTextFile class"
227 --enable-fontmap use font encodings conversion classes"
229 --enable-unicode compile wxString with Unicode support"
231 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
233 --enable-wxprintfv use wxWindows implementation of vprintf()"
235 --enable-std_iostreams use standard C++ stream classes"
237 --enable-filesystem use virtual file systems classes"
239 --enable-fs_inet use virtual HTTP/FTP filesystems"
241 --enable-fs_zip use virtual ZIP filesystems"
243 --enable-zipstream use wxZipInputStream"
245 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
247 --enable-snglinst use wxSingleInstanceChecker class"
249 --enable-mimetype use wxMimeTypesManager"
251 --enable-sysoptions use wxSystemOptions"
253 --enable-url use wxURL class"
255 --enable-protocol use wxProtocol class"
257 --enable-protocol-http HTTP support in wxProtocol"
259 --enable-protocol-ftp FTP support in wxProtocol"
261 --enable-protocol-file FILE support in wxProtocol"
263 --enable-threads use threads"
265 --enable-docview use document view architecture"
267 --enable-help use help subsystem"
269 --enable-mshtmlhelp use MS HTML Help (win32)"
271 --enable-html use wxHTML sub-library"
273 --enable-htmlhelp use wxHTML-based help"
275 --enable-constraints use layout-constraints system"
277 --enable-printarch use printing architecture"
279 --enable-mdi use multiple document interface architecture"
281 --enable-loggui use standard GUI logger"
283 --enable-logwin use wxLogWindow"
285 --enable-logdialog use wxLogDialog"
287 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
289 --enable-prologio use Prolog IO library"
291 --enable-resources use wxWindows resources"
293 --enable-xresources use X resources for save (default for gtk+)"
295 --enable-clipboard use wxClipboard classes"
297 --enable-dnd use Drag'n'Drop classes"
299 --enable-metafile use win32 metafiles"
301 --enable-treelayout use wxTreeLayout classes"
303 --enable-controls use all usual controls"
305 --enable-accel use accelerators"
307 --enable-button use wxButton class"
309 --enable-bmpbutton use wxBitmapButton class"
311 --enable-calendar use wxCalendarCtrl class"
313 --enable-caret use wxCaret class"
315 --enable-checkbox use wxCheckBox class"
317 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
319 --enable-choice use wxChoice class"
321 --enable-combobox use wxComboBox classes"
323 --enable-gauge use wxGauge class"
325 --enable-grid use wxGrid class"
327 --enable-newgrid use new wxGrid class"
329 --enable-imaglist use wxImageList class"
331 --enable-listbox use wxListBox class"
333 --enable-listctrl use wxListCtrl class"
335 --enable-notebook use wxNotebook class"
337 --enable-propsheet use wxPropertySheet class"
339 --enable-radiobox use wxRadioBox class"
341 --enable-radiobtn use wxRadioButton class"
343 --enable-sash use wxSashWindow class"
345 --enable-scrollbar use wxScrollBar class and scrollable windows"
347 --enable-slider use wxSlider class"
349 --enable-spinbtn use wxSpinButton class"
351 --enable-spinctrl use wxSpinCtrl class"
353 --enable-splitter use wxSplitterWindow class"
355 --enable-statbmp use wxStaticBitmap class"
357 --enable-statbox use wxStaticBox class"
359 --enable-statline use wxStaticLine class"
361 --enable-stattext use wxStaticText class"
363 --enable-statusbar use wxStatusBar class"
365 --enable-tabdialog use wxTabControl class"
367 --enable-textctrl use wxTextCtrl class"
369 --enable-togglebtn use wxToggleButton class"
371 --enable-toolbar use wxToolBar class"
373 --enable-tbarnative use native wxToolBar class"
375 --enable-tbarsmpl use wxToolBarSimple class"
377 --enable-treectrl use wxTreeCtrl class"
379 --enable-tipwindow use wxTipWindow class"
381 --enable-popupwin use wxPopUpWindow class"
383 --enable-commondlg use all common dialogs"
385 --enable-choicedlg use wxChoiceDialog"
387 --enable-coldlg use wxColourDialog"
389 --enable-filedlg use wxFileDialog"
391 --enable-finddlg use wxFindReplaceDialog"
393 --enable-fontdlg use wxFontDialog"
395 --enable-dirdlg use wxDirDialog"
397 --enable-msgdlg use wxMessageDialog"
399 --enable-numberdlg use wxNumberEntryDialog"
401 --enable-splash use wxSplashScreen"
403 --enable-textdlg use wxTextDialog"
405 --enable-tipdlg use startup tips"
407 --enable-progressdlg use wxProgressDialog"
409 --enable-wizarddlg use wxWizard"
411 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
413 --enable-miniframe use wxMiniFrame class"
415 --enable-tooltips use wxToolTip class"
417 --enable-splines use spline drawing code"
419 --enable-validators use wxValidator and derived classes"
421 --enable-busyinfo use wxBusyInfo"
423 --enable-joystick use wxJoystick (Linux only)"
425 --enable-metafiles use wxMetaFile (Windows only)"
427 --enable-dragimage use wxDragImage"
429 --enable-palette use wxPalette class"
431 --enable-image use wxImage class"
433 --enable-gif use gif images (GIF file format)"
435 --enable-pcx use pcx images (PCX file format)"
437 --enable-iff use iff images (IFF file format)"
439 --enable-pnm use pnm images (PNM file format)"
441 --enable-xpm use xpm images (XPM file format)"
443 --enable-icocur use Windows ICO and CUR formats"
445 --disable-largefile omit support for large files"
447 --disable-gtktest do not try to compile and run a test GTK+ program"
449 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
451 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
453 --disable-gtktest Do not try to compile and run a test GTK program"
455 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
457 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
459 --disable-gtktest Do not try to compile and run a test GTK program"
461 --with-x use the X Window System"
463 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
465 # Initialize some variables set by options.
466 # The variables have the same names as the options, with
467 # dashes changed to underlines.
469 cache_file
=.
/config.cache
478 program_transform_name
=s
,x
,x
,
486 bindir
='${exec_prefix}/bin'
487 sbindir
='${exec_prefix}/sbin'
488 libexecdir
='${exec_prefix}/libexec'
489 datadir
='${prefix}/share'
490 sysconfdir
='${prefix}/etc'
491 sharedstatedir
='${prefix}/com'
492 localstatedir
='${prefix}/var'
493 libdir
='${exec_prefix}/lib'
494 includedir
='${prefix}/include'
495 oldincludedir
='/usr/include'
496 infodir
='${prefix}/info'
497 mandir
='${prefix}/man'
499 # Initialize some other variables.
502 SHELL
=${CONFIG_SHELL-/bin/sh}
503 # Maximum number of lines to put in a shell here document.
510 # If the previous option needs an argument, assign it.
511 if test -n "$ac_prev"; then
512 eval "$ac_prev=\$ac_option"
518 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
522 # Accept the important Cygnus configure options, so we can diagnose typos.
526 -bindir | --bindir | --bindi | --bind | --bin | --bi)
528 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 bindir
="$ac_optarg" ;;
531 -build | --build | --buil | --bui | --bu)
533 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
534 build
="$ac_optarg" ;;
536 -cache-file | --cache-file | --cache-fil | --cache-fi \
537 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
538 ac_prev
=cache_file
;;
539 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
540 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
541 cache_file
="$ac_optarg" ;;
543 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
545 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547 datadir
="$ac_optarg" ;;
549 -disable-* | --disable-*)
550 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
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'`
556 eval "enable_${ac_feature}=no" ;;
558 -enable-* | --enable-*)
559 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
560 # Reject names that are not valid shell variable names.
561 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
562 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
564 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
569 eval "enable_${ac_feature}='$ac_optarg'" ;;
571 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
573 | --exec | --exe | --ex)
574 ac_prev
=exec_prefix
;;
575 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
576 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
577 | --exec=* | --exe=* | --ex=*)
578 exec_prefix
="$ac_optarg" ;;
580 -gas | --gas | --ga | --g)
581 # Obsolete; use --with-gas.
584 -help | --help | --hel | --he)
585 # Omit some internal or obsolete options to make the list less imposing.
586 # This message is too long to be a string in the A/UX 3.1 sh.
588 Usage: configure [options] [host]
589 Options: [defaults in brackets after descriptions]
591 --cache-file=FILE cache test results in FILE
592 --help print this message
593 --no-create do not create output files
594 --quiet, --silent do not print \`checking...' messages
595 --version print the version of autoconf that created configure
596 Directory and file names:
597 --prefix=PREFIX install architecture-independent files in PREFIX
599 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
601 --bindir=DIR user executables in DIR [EPREFIX/bin]
602 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
603 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
604 --datadir=DIR read-only architecture-independent data in DIR
606 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
607 --sharedstatedir=DIR modifiable architecture-independent data in DIR
609 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
610 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
611 --includedir=DIR C header files in DIR [PREFIX/include]
612 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
613 --infodir=DIR info documentation in DIR [PREFIX/info]
614 --mandir=DIR man documentation in DIR [PREFIX/man]
615 --srcdir=DIR find the sources in DIR [configure dir or ..]
616 --program-prefix=PREFIX prepend PREFIX to installed program names
617 --program-suffix=SUFFIX append SUFFIX to installed program names
618 --program-transform-name=PROGRAM
619 run sed PROGRAM on installed program names
623 --build=BUILD configure for building on BUILD [BUILD=HOST]
624 --host=HOST configure for HOST [guessed]
625 --target=TARGET configure for TARGET [TARGET=HOST]
626 Features and packages:
627 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
628 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
629 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
630 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
631 --x-includes=DIR X include files are in DIR
632 --x-libraries=DIR X library files are in DIR
634 if test -n "$ac_help"; then
635 echo "--enable and --with options recognized:$ac_help"
639 -host | --host | --hos | --ho)
641 -host=* | --host=* | --hos=* | --ho=*)
644 -includedir | --includedir | --includedi | --included | --include \
645 | --includ | --inclu | --incl | --inc)
646 ac_prev
=includedir
;;
647 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
648 | --includ=* | --inclu=* | --incl=* | --inc=*)
649 includedir
="$ac_optarg" ;;
651 -infodir | --infodir | --infodi | --infod | --info | --inf)
653 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
654 infodir
="$ac_optarg" ;;
656 -libdir | --libdir | --libdi | --libd)
658 -libdir=* | --libdir=* | --libdi=* | --libd=*)
659 libdir
="$ac_optarg" ;;
661 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
662 | --libexe | --libex | --libe)
663 ac_prev
=libexecdir
;;
664 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
665 | --libexe=* | --libex=* | --libe=*)
666 libexecdir
="$ac_optarg" ;;
668 -localstatedir | --localstatedir | --localstatedi | --localstated \
669 | --localstate | --localstat | --localsta | --localst \
670 | --locals | --local | --loca | --loc | --lo)
671 ac_prev
=localstatedir
;;
672 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
673 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
674 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
675 localstatedir
="$ac_optarg" ;;
677 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
679 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
680 mandir
="$ac_optarg" ;;
683 # Obsolete; use --without-fp.
686 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
690 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
691 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
694 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
695 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
696 | --oldin | --oldi | --old | --ol | --o)
697 ac_prev
=oldincludedir
;;
698 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
699 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
700 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
701 oldincludedir
="$ac_optarg" ;;
703 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
705 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
706 prefix
="$ac_optarg" ;;
708 -program-prefix | --program-prefix | --program-prefi | --program-pref \
709 | --program-pre | --program-pr | --program-p)
710 ac_prev
=program_prefix
;;
711 -program-prefix=* | --program-prefix=* | --program-prefi=* \
712 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
713 program_prefix
="$ac_optarg" ;;
715 -program-suffix | --program-suffix | --program-suffi | --program-suff \
716 | --program-suf | --program-su | --program-s)
717 ac_prev
=program_suffix
;;
718 -program-suffix=* | --program-suffix=* | --program-suffi=* \
719 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
720 program_suffix
="$ac_optarg" ;;
722 -program-transform-name | --program-transform-name \
723 | --program-transform-nam | --program-transform-na \
724 | --program-transform-n | --program-transform- \
725 | --program-transform | --program-transfor \
726 | --program-transfo | --program-transf \
727 | --program-trans | --program-tran \
728 | --progr-tra | --program-tr | --program-t)
729 ac_prev
=program_transform_name
;;
730 -program-transform-name=* | --program-transform-name=* \
731 | --program-transform-nam=* | --program-transform-na=* \
732 | --program-transform-n=* | --program-transform-=* \
733 | --program-transform=* | --program-transfor=* \
734 | --program-transfo=* | --program-transf=* \
735 | --program-trans=* | --program-tran=* \
736 | --progr-tra=* | --program-tr=* | --program-t=*)
737 program_transform_name
="$ac_optarg" ;;
739 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
740 | -silent | --silent | --silen | --sile | --sil)
743 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
745 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
747 sbindir
="$ac_optarg" ;;
749 -sharedstatedir | --sharedstatedir | --sharedstatedi \
750 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
751 | --sharedst | --shareds | --shared | --share | --shar \
753 ac_prev
=sharedstatedir
;;
754 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
755 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
756 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
758 sharedstatedir
="$ac_optarg" ;;
760 -site | --site | --sit)
762 -site=* | --site=* | --sit=*)
765 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
767 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
768 srcdir
="$ac_optarg" ;;
770 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
771 | --syscon | --sysco | --sysc | --sys | --sy)
772 ac_prev
=sysconfdir
;;
773 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
774 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
775 sysconfdir
="$ac_optarg" ;;
777 -target | --target | --targe | --targ | --tar | --ta | --t)
779 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
780 target
="$ac_optarg" ;;
782 -v | -verbose | --verbose | --verbos | --verbo | --verb)
785 -version | --version | --versio | --versi | --vers)
786 echo "configure generated by autoconf version 2.13"
790 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
791 # Reject names that are not valid shell variable names.
792 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
793 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
795 ac_package
=`echo $ac_package| sed 's/-/_/g'`
800 eval "with_${ac_package}='$ac_optarg'" ;;
802 -without-* | --without-*)
803 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
804 # Reject names that are not valid shell variable names.
805 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
806 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
808 ac_package
=`echo $ac_package| sed 's/-/_/g'`
809 eval "with_${ac_package}=no" ;;
812 # Obsolete; use --with-x.
815 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
816 | --x-incl | --x-inc | --x-in | --x-i)
817 ac_prev
=x_includes
;;
818 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
819 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
820 x_includes
="$ac_optarg" ;;
822 -x-libraries | --x-libraries | --x-librarie | --x-librari \
823 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
824 ac_prev
=x_libraries
;;
825 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
826 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
827 x_libraries
="$ac_optarg" ;;
829 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
833 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
834 echo "configure: warning: $ac_option: invalid host type" 1>&2
836 if test "x$nonopt" != xNONE
; then
837 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
845 if test -n "$ac_prev"; then
846 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
849 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
851 # File descriptor usage:
854 # 2 errors and warnings
855 # 3 some systems may open it to /dev/tty
856 # 4 used on the Kubota Titan
857 # 6 checking for... messages and results
858 # 5 compiler messages saved in config.log
859 if test "$silent" = yes; then
867 This file contains any messages produced by compilers while
868 running configure, to aid debugging if configure makes a mistake.
871 # Strip out --no-create and --no-recursion so they do not pile up.
872 # Also quote any args containing shell metacharacters.
877 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
878 | --no-cr | --no-c) ;;
879 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
880 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
881 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
882 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
883 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
888 # Only set these to C if already set. These must not be set unconditionally
889 # because not all systems understand e.g. LANG=C (notably SCO).
890 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
891 # Non-C LC_CTYPE values break the ctype check.
892 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
893 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
894 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
895 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
897 # confdefs.h avoids OS command line length limits that DEFS can exceed.
898 rm -rf conftest
* confdefs.h
899 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
902 # A filename unique to this package, relative to the directory that
903 # configure is in, which we can look for to find out if srcdir is correct.
904 ac_unique_file
=wx
-config.
in
906 # Find the source files, if location was not specified.
907 if test -z "$srcdir"; then
908 ac_srcdir_defaulted
=yes
909 # Try the directory containing this script, then its parent.
911 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
912 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
914 if test ! -r $srcdir/$ac_unique_file; then
918 ac_srcdir_defaulted
=no
920 if test ! -r $srcdir/$ac_unique_file; then
921 if test "$ac_srcdir_defaulted" = yes; then
922 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
924 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
927 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
929 # Prefer explicitly selected file to automatically selected ones.
930 if test -z "$CONFIG_SITE"; then
931 if test "x$prefix" != xNONE
; then
932 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
934 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
937 for ac_site_file
in $CONFIG_SITE; do
938 if test -r "$ac_site_file"; then
939 echo "loading site script $ac_site_file"
944 if test -r "$cache_file"; then
945 echo "loading cache $cache_file"
948 echo "creating cache $cache_file"
953 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
954 ac_cpp
='$CPP $CPPFLAGS'
955 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
956 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
957 cross_compiling
=$ac_cv_prog_cc_cross
961 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
962 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
963 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
970 ac_n
= ac_c
='\c' ac_t
=
976 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
977 if test -f $ac_dir/install-sh; then
979 ac_install_sh
="$ac_aux_dir/install-sh -c"
981 elif test -f $ac_dir/install.sh
; then
983 ac_install_sh
="$ac_aux_dir/install.sh -c"
987 if test -z "$ac_aux_dir"; then
988 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
990 ac_config_guess
=$ac_aux_dir/config.guess
991 ac_config_sub
=$ac_aux_dir/config.sub
992 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
995 # Do some error checking and defaulting for the host and target type.
997 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
1000 # 1. You are not allowed to specify --host, --target, and nonopt at the
1002 # 2. Host defaults to nonopt.
1003 # 3. If nonopt is not specified, then host defaults to the current host,
1004 # as determined by config.guess.
1005 # 4. Target and build default to nonopt.
1006 # 5. If nonopt is not specified, then target and build default to host.
1008 # The aliases save the names the user supplied, while $host etc.
1009 # will get canonicalized.
1010 case $host---$target---$nonopt in
1011 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1012 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1016 # Make sure we can run config.sub.
1017 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1018 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1021 echo $ac_n "checking host system type""... $ac_c" 1>&6
1022 echo "configure:1023: checking host system type" >&5
1025 case "$host_alias" in
1029 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1030 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1032 *) host_alias
=$nonopt ;;
1036 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1037 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1038 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1039 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1040 echo "$ac_t""$host" 1>&6
1042 echo $ac_n "checking target system type""... $ac_c" 1>&6
1043 echo "configure:1044: checking target system type" >&5
1045 target_alias
=$target
1046 case "$target_alias" in
1049 NONE
) target_alias
=$host_alias ;;
1050 *) target_alias
=$nonopt ;;
1054 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1055 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1056 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1057 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1058 echo "$ac_t""$target" 1>&6
1060 echo $ac_n "checking build system type""... $ac_c" 1>&6
1061 echo "configure:1062: checking build system type" >&5
1064 case "$build_alias" in
1067 NONE
) build_alias
=$host_alias ;;
1068 *) build_alias
=$nonopt ;;
1072 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1073 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1074 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1075 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1076 echo "$ac_t""$build" 1>&6
1078 test "$host_alias" != "$target_alias" &&
1079 test "$program_prefix$program_suffix$program_transform_name" = \
1081 program_prefix
=${target_alias}-
1085 WX_MAJOR_VERSION_NUMBER
=2
1086 WX_MINOR_VERSION_NUMBER
=5
1089 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1090 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1092 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1126 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1128 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1133 DEFAULT_wxUSE_MICROWIN
=0
1134 DEFAULT_wxUSE_MOTIF
=0
1139 DEFAULT_DEFAULT_wxUSE_GTK
=0
1140 DEFAULT_DEFAULT_wxUSE_MAC
=0
1141 DEFAULT_DEFAULT_wxUSE_MGL
=0
1142 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1143 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1144 DEFAULT_DEFAULT_wxUSE_MSW
=0
1145 DEFAULT_DEFAULT_wxUSE_PM
=0
1146 DEFAULT_DEFAULT_wxUSE_X11
=0
1154 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1155 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1157 cat >> confdefs.h
<<\EOF
1164 cat >> confdefs.h
<<\EOF
1169 if test "x$TMP" = "xalpha"; then
1171 cat >> confdefs.h
<<\EOF
1176 DEFAULT_DEFAULT_wxUSE_GTK
=1
1178 *-*-irix5* | *-*-irix6* )
1181 cat >> confdefs.h
<<\EOF
1185 cat >> confdefs.h
<<\EOF
1189 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1195 cat >> confdefs.h
<<\EOF
1199 cat >> confdefs.h
<<\EOF
1200 #define __SOLARIS__ 1
1203 cat >> confdefs.h
<<\EOF
1207 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1208 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1214 cat >> confdefs.h
<<\EOF
1218 cat >> confdefs.h
<<\EOF
1222 cat >> confdefs.h
<<\EOF
1226 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1231 cat >> confdefs.h
<<\EOF
1232 #define __FREEBSD__ 1
1235 cat >> confdefs.h
<<\EOF
1239 DEFAULT_DEFAULT_wxUSE_GTK
=1
1244 cat >> confdefs.h
<<\EOF
1245 #define __OPENBSD__ 1
1248 cat >> confdefs.h
<<\EOF
1252 DEFAULT_DEFAULT_wxUSE_GTK
=1
1257 cat >> confdefs.h
<<\EOF
1258 #define __NETBSD__ 1
1261 cat >> confdefs.h
<<\EOF
1265 DEFAULT_DEFAULT_wxUSE_GTK
=1
1270 cat >> confdefs.h
<<\EOF
1274 cat >> confdefs.h
<<\EOF
1278 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1279 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1284 cat >> confdefs.h
<<\EOF
1288 cat >> confdefs.h
<<\EOF
1292 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1297 cat >> confdefs.h
<<\EOF
1301 cat >> confdefs.h
<<\EOF
1305 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1312 cat >> confdefs.h
<<\EOF
1316 cat >> confdefs.h
<<\EOF
1320 cat >> confdefs.h
<<\EOF
1324 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1327 *-*-cygwin* | *-*-mingw32* )
1331 DEFAULT_DEFAULT_wxUSE_MSW
=1
1337 cat >> confdefs.h
<<\EOF
1342 DEFAULT_DEFAULT_wxUSE_MGL
=1
1343 LIBS
="$LIBS -lstdc++"
1346 *-pc-os2_emx | *-pc-os2-emx )
1347 cat >> confdefs.h
<<\EOF
1352 DEFAULT_DEFAULT_wxUSE_PM
=1
1359 cat >> confdefs.h
<<\EOF
1363 cat >> confdefs.h
<<\EOF
1364 #define __DARWIN__ 1
1367 cat >> confdefs.h
<<\EOF
1368 #define __POWERPC__ 1
1371 cat >> confdefs.h
<<\EOF
1372 #define TARGET_CARBON 1
1375 DEFAULT_DEFAULT_wxUSE_MAC
=1
1380 cat >> confdefs.h
<<\EOF
1387 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1393 wx_arg_cache_file
="configarg.cache"
1394 echo "loading argument cache $wx_arg_cache_file"
1395 rm -f ${wx_arg_cache_file}.tmp
1396 touch ${wx_arg_cache_file}.tmp
1397 touch ${wx_arg_cache_file}
1401 if test $DEBUG_CONFIGURE = 1; then
1402 DEFAULT_wxUSE_UNIVERSAL
=no
1404 DEFAULT_wxUSE_NANOX
=no
1406 DEFAULT_wxUSE_THREADS
=yes
1408 DEFAULT_wxUSE_SHARED
=yes
1409 DEFAULT_wxUSE_SONAME
=no
1410 DEFAULT_wxUSE_OPTIMISE
=no
1411 DEFAULT_wxUSE_PROFILE
=no
1412 DEFAULT_wxUSE_NO_DEPS
=no
1413 DEFAULT_wxUSE_NO_RTTI
=no
1414 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1415 DEFAULT_wxUSE_PERMISSIVE
=no
1416 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1417 DEFAULT_wxUSE_DEBUG_INFO
=yes
1418 DEFAULT_wxUSE_DEBUG_GDB
=yes
1419 DEFAULT_wxUSE_MEM_TRACING
=no
1420 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1421 DEFAULT_wxUSE_DMALLOC
=no
1422 DEFAULT_wxUSE_PRECOMP
=no
1423 DEFAULT_wxUSE_APPLE_IEEE
=no
1425 DEFAULT_wxUSE_LOG
=yes
1426 DEFAULT_wxUSE_LOGWINDOW
=no
1427 DEFAULT_wxUSE_LOGGUI
=no
1428 DEFAULT_wxUSE_LOGDIALOG
=no
1430 DEFAULT_wxUSE_GUI
=yes
1431 DEFAULT_wxUSE_CONTROLS
=no
1433 DEFAULT_wxUSE_REGEX
=no
1434 DEFAULT_wxUSE_ZLIB
=no
1435 DEFAULT_wxUSE_LIBPNG
=no
1436 DEFAULT_wxUSE_LIBJPEG
=no
1437 DEFAULT_wxUSE_LIBTIFF
=no
1438 DEFAULT_wxUSE_ODBC
=no
1439 DEFAULT_wxUSE_OPENGL
=no
1441 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1442 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1443 DEFAULT_wxUSE_STD_IOSTREAM
=no
1444 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1445 DEFAULT_wxUSE_DATETIME
=no
1446 DEFAULT_wxUSE_TIMEDATE
=no
1447 DEFAULT_wxUSE_TIMER
=no
1448 DEFAULT_wxUSE_STOPWATCH
=no
1449 DEFAULT_wxUSE_FILE
=no
1450 DEFAULT_wxUSE_FFILE
=no
1451 DEFAULT_wxUSE_TEXTBUFFER
=no
1452 DEFAULT_wxUSE_TEXTFILE
=no
1453 DEFAULT_wxUSE_WAVE
=no
1454 DEFAULT_wxUSE_INTL
=no
1455 DEFAULT_wxUSE_CONFIG
=no
1456 DEFAULT_wxUSE_FONTMAP
=no
1457 DEFAULT_wxUSE_STREAMS
=no
1458 DEFAULT_wxUSE_SOCKETS
=no
1459 DEFAULT_wxUSE_OLE
=no
1460 DEFAULT_wxUSE_DATAOBJ
=no
1461 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1462 DEFAULT_wxUSE_JOYSTICK
=no
1463 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1464 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1465 DEFAULT_wxUSE_LONGLONG
=no
1466 DEFAULT_wxUSE_GEOMETRY
=no
1468 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1469 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1470 DEFAULT_wxUSE_POSTSCRIPT
=no
1472 DEFAULT_wxUSE_X_RESOURCES
=no
1473 DEFAULT_wxUSE_CLIPBOARD
=no
1474 DEFAULT_wxUSE_TOOLTIPS
=no
1475 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1476 DEFAULT_wxUSE_DRAGIMAGE
=no
1477 DEFAULT_wxUSE_SPLINES
=no
1479 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1480 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1481 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1483 DEFAULT_wxUSE_PROLOGIO
=no
1484 DEFAULT_wxUSE_RESOURCES
=no
1485 DEFAULT_wxUSE_CONSTRAINTS
=no
1486 DEFAULT_wxUSE_IPC
=no
1487 DEFAULT_wxUSE_HELP
=no
1488 DEFAULT_wxUSE_MS_HTML_HELP
=no
1489 DEFAULT_wxUSE_WXHTML_HELP
=no
1490 DEFAULT_wxUSE_TREELAYOUT
=no
1491 DEFAULT_wxUSE_METAFILE
=no
1492 DEFAULT_wxUSE_MIMETYPE
=no
1493 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1494 DEFAULT_wxUSE_PROTOCOL
=no
1495 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1496 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1497 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1498 DEFAULT_wxUSE_URL
=no
1500 DEFAULT_wxUSE_COMMONDLGS
=no
1501 DEFAULT_wxUSE_CHOICEDLG
=no
1502 DEFAULT_wxUSE_COLOURDLG
=no
1503 DEFAULT_wxUSE_DIRDLG
=no
1504 DEFAULT_wxUSE_FILEDLG
=no
1505 DEFAULT_wxUSE_FINDREPLDLG
=no
1506 DEFAULT_wxUSE_FONTDLG
=no
1507 DEFAULT_wxUSE_MSGDLG
=no
1508 DEFAULT_wxUSE_NUMBERDLG
=no
1509 DEFAULT_wxUSE_TEXTDLG
=no
1510 DEFAULT_wxUSE_SPLASH
=no
1511 DEFAULT_wxUSE_STARTUP_TIPS
=no
1512 DEFAULT_wxUSE_PROGRESSDLG
=no
1513 DEFAULT_wxUSE_WIZARDDLG
=no
1515 DEFAULT_wxUSE_MENUS
=no
1516 DEFAULT_wxUSE_MINIFRAME
=no
1517 DEFAULT_wxUSE_HTML
=no
1518 DEFAULT_wxUSE_FILESYSTEM
=no
1519 DEFAULT_wxUSE_FS_INET
=no
1520 DEFAULT_wxUSE_FS_ZIP
=no
1521 DEFAULT_wxUSE_BUSYINFO
=no
1522 DEFAULT_wxUSE_ZIPSTREAM
=no
1523 DEFAULT_wxUSE_VALIDATORS
=no
1525 DEFAULT_wxUSE_ACCEL
=no
1526 DEFAULT_wxUSE_BUTTON
=no
1527 DEFAULT_wxUSE_BMPBUTTON
=no
1528 DEFAULT_wxUSE_CALCTRL
=no
1529 DEFAULT_wxUSE_CARET
=no
1530 DEFAULT_wxUSE_CHECKBOX
=no
1531 DEFAULT_wxUSE_CHECKLST
=no
1532 DEFAULT_wxUSE_CHOICE
=no
1533 DEFAULT_wxUSE_COMBOBOX
=no
1534 DEFAULT_wxUSE_GAUGE
=no
1535 DEFAULT_wxUSE_GRID
=no
1536 DEFAULT_wxUSE_NEW_GRID
=no
1537 DEFAULT_wxUSE_IMAGLIST
=no
1538 DEFAULT_wxUSE_LISTBOX
=no
1539 DEFAULT_wxUSE_LISTCTRL
=no
1540 DEFAULT_wxUSE_NOTEBOOK
=no
1541 DEFAULT_wxUSE_PROPSHEET
=no
1542 DEFAULT_wxUSE_RADIOBOX
=no
1543 DEFAULT_wxUSE_RADIOBTN
=no
1544 DEFAULT_wxUSE_SASH
=no
1545 DEFAULT_wxUSE_SCROLLBAR
=no
1546 DEFAULT_wxUSE_SLIDER
=no
1547 DEFAULT_wxUSE_SPINBTN
=no
1548 DEFAULT_wxUSE_SPINCTRL
=no
1549 DEFAULT_wxUSE_SPLITTER
=no
1550 DEFAULT_wxUSE_STATBMP
=no
1551 DEFAULT_wxUSE_STATBOX
=no
1552 DEFAULT_wxUSE_STATLINE
=no
1553 DEFAULT_wxUSE_STATTEXT
=no
1554 DEFAULT_wxUSE_STATUSBAR
=yes
1555 DEFAULT_wxUSE_TABDIALOG
=no
1556 DEFAULT_wxUSE_TEXTCTRL
=no
1557 DEFAULT_wxUSE_TOGGLEBTN
=no
1558 DEFAULT_wxUSE_TOOLBAR
=no
1559 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1560 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1561 DEFAULT_wxUSE_TREECTRL
=no
1562 DEFAULT_wxUSE_POPUPWIN
=no
1563 DEFAULT_wxUSE_TIPWINDOW
=no
1565 DEFAULT_wxUSE_UNICODE
=no
1566 DEFAULT_wxUSE_UNICODE_MSLU
=no
1567 DEFAULT_wxUSE_WCSRTOMBS
=no
1569 DEFAULT_wxUSE_PALETTE
=no
1570 DEFAULT_wxUSE_IMAGE
=no
1571 DEFAULT_wxUSE_GIF
=no
1572 DEFAULT_wxUSE_PCX
=no
1573 DEFAULT_wxUSE_PNM
=no
1574 DEFAULT_wxUSE_IFF
=no
1575 DEFAULT_wxUSE_XPM
=no
1576 DEFAULT_wxUSE_ICO_CUR
=no
1578 DEFAULT_wxUSE_UNIVERSAL
=no
1580 DEFAULT_wxUSE_NANOX
=no
1582 DEFAULT_wxUSE_THREADS
=yes
1584 DEFAULT_wxUSE_SHARED
=yes
1585 DEFAULT_wxUSE_SONAME
=no
1586 DEFAULT_wxUSE_OPTIMISE
=yes
1587 DEFAULT_wxUSE_PROFILE
=no
1588 DEFAULT_wxUSE_NO_DEPS
=no
1589 DEFAULT_wxUSE_NO_RTTI
=no
1590 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1591 DEFAULT_wxUSE_PERMISSIVE
=no
1592 DEFAULT_wxUSE_DEBUG_FLAG
=no
1593 DEFAULT_wxUSE_DEBUG_INFO
=no
1594 DEFAULT_wxUSE_DEBUG_GDB
=no
1595 DEFAULT_wxUSE_MEM_TRACING
=no
1596 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1597 DEFAULT_wxUSE_DMALLOC
=no
1598 DEFAULT_wxUSE_PRECOMP
=no
1599 DEFAULT_wxUSE_APPLE_IEEE
=yes
1601 DEFAULT_wxUSE_LOG
=yes
1602 DEFAULT_wxUSE_LOGWINDOW
=yes
1603 DEFAULT_wxUSE_LOGGUI
=yes
1604 DEFAULT_wxUSE_LOGDIALOG
=yes
1606 DEFAULT_wxUSE_GUI
=yes
1608 DEFAULT_wxUSE_REGEX
=yes
1609 DEFAULT_wxUSE_ZLIB
=yes
1610 DEFAULT_wxUSE_LIBPNG
=yes
1611 DEFAULT_wxUSE_LIBJPEG
=yes
1612 DEFAULT_wxUSE_LIBTIFF
=yes
1613 DEFAULT_wxUSE_ODBC
=no
1614 DEFAULT_wxUSE_OPENGL
=no
1616 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1617 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1618 DEFAULT_wxUSE_STD_IOSTREAM
=no
1619 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1620 DEFAULT_wxUSE_DATETIME
=yes
1621 DEFAULT_wxUSE_TIMEDATE
=no
1622 DEFAULT_wxUSE_TIMER
=yes
1623 DEFAULT_wxUSE_STOPWATCH
=yes
1624 DEFAULT_wxUSE_FILE
=yes
1625 DEFAULT_wxUSE_FFILE
=yes
1626 DEFAULT_wxUSE_TEXTBUFFER
=yes
1627 DEFAULT_wxUSE_TEXTFILE
=yes
1628 DEFAULT_wxUSE_WAVE
=no
1629 DEFAULT_wxUSE_INTL
=yes
1630 DEFAULT_wxUSE_CONFIG
=yes
1631 DEFAULT_wxUSE_FONTMAP
=yes
1632 DEFAULT_wxUSE_STREAMS
=yes
1633 DEFAULT_wxUSE_SOCKETS
=yes
1634 DEFAULT_wxUSE_OLE
=yes
1635 DEFAULT_wxUSE_DATAOBJ
=yes
1636 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1637 DEFAULT_wxUSE_JOYSTICK
=yes
1638 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1639 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1640 DEFAULT_wxUSE_LONGLONG
=yes
1641 DEFAULT_wxUSE_GEOMETRY
=yes
1643 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1644 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1645 DEFAULT_wxUSE_POSTSCRIPT
=yes
1647 DEFAULT_wxUSE_X_RESOURCES
=no
1648 DEFAULT_wxUSE_CLIPBOARD
=yes
1649 DEFAULT_wxUSE_TOOLTIPS
=yes
1650 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1651 DEFAULT_wxUSE_DRAGIMAGE
=yes
1652 DEFAULT_wxUSE_SPLINES
=yes
1654 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1655 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1656 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1658 DEFAULT_wxUSE_PROLOGIO
=no
1659 DEFAULT_wxUSE_RESOURCES
=no
1660 DEFAULT_wxUSE_CONSTRAINTS
=yes
1661 DEFAULT_wxUSE_IPC
=yes
1662 DEFAULT_wxUSE_HELP
=yes
1663 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1664 DEFAULT_wxUSE_WXHTML_HELP
=yes
1665 DEFAULT_wxUSE_TREELAYOUT
=yes
1666 DEFAULT_wxUSE_METAFILE
=yes
1667 DEFAULT_wxUSE_MIMETYPE
=yes
1668 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1669 DEFAULT_wxUSE_PROTOCOL
=yes
1670 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1671 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1672 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1673 DEFAULT_wxUSE_URL
=yes
1675 DEFAULT_wxUSE_COMMONDLGS
=yes
1676 DEFAULT_wxUSE_CHOICEDLG
=yes
1677 DEFAULT_wxUSE_COLOURDLG
=yes
1678 DEFAULT_wxUSE_DIRDLG
=yes
1679 DEFAULT_wxUSE_FILEDLG
=yes
1680 DEFAULT_wxUSE_FINDREPLDLG
=yes
1681 DEFAULT_wxUSE_FONTDLG
=yes
1682 DEFAULT_wxUSE_MSGDLG
=yes
1683 DEFAULT_wxUSE_NUMBERDLG
=yes
1684 DEFAULT_wxUSE_TEXTDLG
=yes
1685 DEFAULT_wxUSE_SPLASH
=yes
1686 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1687 DEFAULT_wxUSE_PROGRESSDLG
=yes
1688 DEFAULT_wxUSE_WIZARDDLG
=yes
1690 DEFAULT_wxUSE_MENUS
=yes
1691 DEFAULT_wxUSE_MINIFRAME
=yes
1692 DEFAULT_wxUSE_HTML
=yes
1693 DEFAULT_wxUSE_FILESYSTEM
=yes
1694 DEFAULT_wxUSE_FS_INET
=yes
1695 DEFAULT_wxUSE_FS_ZIP
=yes
1696 DEFAULT_wxUSE_BUSYINFO
=yes
1697 DEFAULT_wxUSE_ZIPSTREAM
=yes
1698 DEFAULT_wxUSE_VALIDATORS
=yes
1700 DEFAULT_wxUSE_ACCEL
=yes
1701 DEFAULT_wxUSE_BUTTON
=yes
1702 DEFAULT_wxUSE_BMPBUTTON
=yes
1703 DEFAULT_wxUSE_CALCTRL
=yes
1704 DEFAULT_wxUSE_CARET
=yes
1705 DEFAULT_wxUSE_CHECKBOX
=yes
1706 DEFAULT_wxUSE_CHECKLST
=yes
1707 DEFAULT_wxUSE_CHOICE
=yes
1708 DEFAULT_wxUSE_COMBOBOX
=yes
1709 DEFAULT_wxUSE_GAUGE
=yes
1710 DEFAULT_wxUSE_GRID
=yes
1711 DEFAULT_wxUSE_NEW_GRID
=yes
1712 DEFAULT_wxUSE_IMAGLIST
=yes
1713 DEFAULT_wxUSE_LISTBOX
=yes
1714 DEFAULT_wxUSE_LISTCTRL
=yes
1715 DEFAULT_wxUSE_NOTEBOOK
=yes
1716 DEFAULT_wxUSE_PROPSHEET
=yes
1717 DEFAULT_wxUSE_RADIOBOX
=yes
1718 DEFAULT_wxUSE_RADIOBTN
=yes
1719 DEFAULT_wxUSE_SASH
=yes
1720 DEFAULT_wxUSE_SCROLLBAR
=yes
1721 DEFAULT_wxUSE_SLIDER
=yes
1722 DEFAULT_wxUSE_SPINBTN
=yes
1723 DEFAULT_wxUSE_SPINCTRL
=yes
1724 DEFAULT_wxUSE_SPLITTER
=yes
1725 DEFAULT_wxUSE_STATBMP
=yes
1726 DEFAULT_wxUSE_STATBOX
=yes
1727 DEFAULT_wxUSE_STATLINE
=yes
1728 DEFAULT_wxUSE_STATTEXT
=yes
1729 DEFAULT_wxUSE_STATUSBAR
=yes
1730 DEFAULT_wxUSE_TABDIALOG
=no
1731 DEFAULT_wxUSE_TEXTCTRL
=yes
1732 DEFAULT_wxUSE_TOGGLEBTN
=yes
1733 DEFAULT_wxUSE_TOOLBAR
=yes
1734 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1735 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1736 DEFAULT_wxUSE_TREECTRL
=yes
1737 DEFAULT_wxUSE_POPUPWIN
=yes
1738 DEFAULT_wxUSE_TIPWINDOW
=yes
1740 DEFAULT_wxUSE_UNICODE
=no
1741 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1742 DEFAULT_wxUSE_WCSRTOMBS
=no
1744 DEFAULT_wxUSE_PALETTE
=yes
1745 DEFAULT_wxUSE_IMAGE
=yes
1746 DEFAULT_wxUSE_GIF
=yes
1747 DEFAULT_wxUSE_PCX
=yes
1748 DEFAULT_wxUSE_IFF
=no
1749 DEFAULT_wxUSE_PNM
=yes
1750 DEFAULT_wxUSE_XPM
=yes
1751 DEFAULT_wxUSE_ICO_CUR
=yes
1756 for toolkit
in `echo $ALL_TOOLKITS`; do
1757 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1758 if test "x$LINE" != "x" ; then
1759 has_toolkit_in_cache
=1
1760 eval "DEFAULT_$LINE"
1761 eval "CACHE_$toolkit=1"
1768 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1769 echo "configure:1770: checking for --${enablestring:-enable}-gui" >&5
1771 # Check whether --enable-gui or --disable-gui was given.
1772 if test "${enable_gui+set}" = set; then
1773 enableval
="$enable_gui"
1775 if test "$enableval" = yes; then
1776 ac_cv_use_gui
='wxUSE_GUI=yes'
1778 ac_cv_use_gui
='wxUSE_GUI=no'
1783 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1784 if test "x$LINE" != x
; then
1785 eval "DEFAULT_$LINE"
1790 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1795 eval "$ac_cv_use_gui"
1796 if test "$no_cache" != 1; then
1797 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1800 if test "$wxUSE_GUI" = yes; then
1801 echo "$ac_t""yes" 1>&6
1803 echo "$ac_t""no" 1>&6
1807 if test "$wxUSE_GUI" = "yes"; then
1811 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1812 echo "configure:1813: checking for --${enablestring:-enable}-universal" >&5
1814 # Check whether --enable-universal or --disable-universal was given.
1815 if test "${enable_universal+set}" = set; then
1816 enableval
="$enable_universal"
1818 if test "$enableval" = yes; then
1819 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1821 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1826 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1827 if test "x$LINE" != x
; then
1828 eval "DEFAULT_$LINE"
1833 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1838 eval "$ac_cv_use_universal"
1839 if test "$no_cache" != 1; then
1840 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1843 if test "$wxUSE_UNIVERSAL" = yes; then
1844 echo "$ac_t""yes" 1>&6
1846 echo "$ac_t""no" 1>&6
1849 # Check whether --with-gtk or --without-gtk was given.
1850 if test "${with_gtk+set}" = set; then
1852 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1855 # Check whether --with-motif or --without-motif was given.
1856 if test "${with_motif+set}" = set; then
1857 withval
="$with_motif"
1858 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1861 # Check whether --with-mac or --without-mac was given.
1862 if test "${with_mac+set}" = set; then
1864 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1867 # Check whether --with-wine or --without-wine was given.
1868 if test "${with_wine+set}" = set; then
1869 withval
="$with_wine"
1870 wxUSE_WINE
="$withval" CACHE_WINE
=1
1873 # Check whether --with-msw or --without-msw was given.
1874 if test "${with_msw+set}" = set; then
1876 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1879 # Check whether --with-pm or --without-pm was given.
1880 if test "${with_pm+set}" = set; then
1882 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1885 # Check whether --with-mgl or --without-mgl was given.
1886 if test "${with_mgl+set}" = set; then
1888 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1891 # Check whether --with-microwin or --without-microwin was given.
1892 if test "${with_microwin+set}" = set; then
1893 withval
="$with_microwin"
1894 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1897 # Check whether --with-x11 or --without-x11 was given.
1898 if test "${with_x11+set}" = set; then
1900 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1905 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1906 echo "configure:1907: checking for --${enablestring:-enable}-nanox" >&5
1908 # Check whether --enable-nanox or --disable-nanox was given.
1909 if test "${enable_nanox+set}" = set; then
1910 enableval
="$enable_nanox"
1912 if test "$enableval" = yes; then
1913 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1915 ac_cv_use_nanox
='wxUSE_NANOX=no'
1920 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1921 if test "x$LINE" != x
; then
1922 eval "DEFAULT_$LINE"
1927 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1932 eval "$ac_cv_use_nanox"
1933 if test "$no_cache" != 1; then
1934 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1937 if test "$wxUSE_NANOX" = yes; then
1938 echo "$ac_t""yes" 1>&6
1940 echo "$ac_t""no" 1>&6
1946 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1947 echo "configure:1948: checking for --${enablestring:-enable}-gtk2" >&5
1949 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1950 if test "${enable_gtk2+set}" = set; then
1951 enableval
="$enable_gtk2"
1953 if test "$enableval" = yes; then
1954 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1956 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1961 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1962 if test "x$LINE" != x
; then
1963 eval "DEFAULT_$LINE"
1968 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1973 eval "$ac_cv_use_gtk2"
1974 if test "$no_cache" != 1; then
1975 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1978 if test "$wxUSE_GTK2" = yes; then
1979 echo "$ac_t""yes" 1>&6
1981 echo "$ac_t""no" 1>&6
1986 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1987 echo "configure:1988: checking for --with-libpng" >&5
1989 # Check whether --with-libpng or --without-libpng was given.
1990 if test "${with_libpng+set}" = set; then
1991 withval
="$with_libpng"
1993 if test "$withval" = yes; then
1994 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1995 elif test "$withval" = no
; then
1996 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1997 elif test "$withval" = sys
; then
1998 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1999 elif test "$withval" = builtin; then
2000 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2002 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2007 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2008 if test "x$LINE" != x
; then
2009 eval "DEFAULT_$LINE"
2014 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2019 eval "$ac_cv_use_libpng"
2020 if test "$no_cache" != 1; then
2021 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2024 if test "$wxUSE_LIBPNG" = yes; then
2025 echo "$ac_t""yes" 1>&6
2026 elif test "$wxUSE_LIBPNG" = no
; then
2027 echo "$ac_t""no" 1>&6
2028 elif test "$wxUSE_LIBPNG" = sys
; then
2029 echo "$ac_t""system version" 1>&6
2030 elif test "$wxUSE_LIBPNG" = builtin; then
2031 echo "$ac_t""builtin version" 1>&6
2033 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2037 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2038 echo "configure:2039: checking for --with-libjpeg" >&5
2040 # Check whether --with-libjpeg or --without-libjpeg was given.
2041 if test "${with_libjpeg+set}" = set; then
2042 withval
="$with_libjpeg"
2044 if test "$withval" = yes; then
2045 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2046 elif test "$withval" = no
; then
2047 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2048 elif test "$withval" = sys
; then
2049 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2050 elif test "$withval" = builtin; then
2051 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2053 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2058 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2059 if test "x$LINE" != x
; then
2060 eval "DEFAULT_$LINE"
2065 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2070 eval "$ac_cv_use_libjpeg"
2071 if test "$no_cache" != 1; then
2072 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2075 if test "$wxUSE_LIBJPEG" = yes; then
2076 echo "$ac_t""yes" 1>&6
2077 elif test "$wxUSE_LIBJPEG" = no
; then
2078 echo "$ac_t""no" 1>&6
2079 elif test "$wxUSE_LIBJPEG" = sys
; then
2080 echo "$ac_t""system version" 1>&6
2081 elif test "$wxUSE_LIBJPEG" = builtin; then
2082 echo "$ac_t""builtin version" 1>&6
2084 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2088 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2089 echo "configure:2090: checking for --with-libtiff" >&5
2091 # Check whether --with-libtiff or --without-libtiff was given.
2092 if test "${with_libtiff+set}" = set; then
2093 withval
="$with_libtiff"
2095 if test "$withval" = yes; then
2096 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2097 elif test "$withval" = no
; then
2098 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2099 elif test "$withval" = sys
; then
2100 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2101 elif test "$withval" = builtin; then
2102 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2104 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2109 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2110 if test "x$LINE" != x
; then
2111 eval "DEFAULT_$LINE"
2116 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2121 eval "$ac_cv_use_libtiff"
2122 if test "$no_cache" != 1; then
2123 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2126 if test "$wxUSE_LIBTIFF" = yes; then
2127 echo "$ac_t""yes" 1>&6
2128 elif test "$wxUSE_LIBTIFF" = no
; then
2129 echo "$ac_t""no" 1>&6
2130 elif test "$wxUSE_LIBTIFF" = sys
; then
2131 echo "$ac_t""system version" 1>&6
2132 elif test "$wxUSE_LIBTIFF" = builtin; then
2133 echo "$ac_t""builtin version" 1>&6
2135 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2139 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2140 echo "configure:2141: checking for --with-opengl" >&5
2142 # Check whether --with-opengl or --without-opengl was given.
2143 if test "${with_opengl+set}" = set; then
2144 withval
="$with_opengl"
2146 if test "$withval" = yes; then
2147 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2149 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2154 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2155 if test "x$LINE" != x
; then
2156 eval "DEFAULT_$LINE"
2161 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2166 eval "$ac_cv_use_opengl"
2167 if test "$no_cache" != 1; then
2168 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2171 if test "$wxUSE_OPENGL" = yes; then
2172 echo "$ac_t""yes" 1>&6
2174 echo "$ac_t""no" 1>&6
2181 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2182 echo "configure:2183: checking for --with-dmalloc" >&5
2184 # Check whether --with-dmalloc or --without-dmalloc was given.
2185 if test "${with_dmalloc+set}" = set; then
2186 withval
="$with_dmalloc"
2188 if test "$withval" = yes; then
2189 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2191 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2196 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2197 if test "x$LINE" != x
; then
2198 eval "DEFAULT_$LINE"
2203 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2208 eval "$ac_cv_use_dmalloc"
2209 if test "$no_cache" != 1; then
2210 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2213 if test "$wxUSE_DMALLOC" = yes; then
2214 echo "$ac_t""yes" 1>&6
2216 echo "$ac_t""no" 1>&6
2220 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2221 echo "configure:2222: checking for --with-regex" >&5
2223 # Check whether --with-regex or --without-regex was given.
2224 if test "${with_regex+set}" = set; then
2225 withval
="$with_regex"
2227 if test "$withval" = yes; then
2228 ac_cv_use_regex
='wxUSE_REGEX=yes'
2229 elif test "$withval" = no
; then
2230 ac_cv_use_regex
='wxUSE_REGEX=no'
2231 elif test "$withval" = sys
; then
2232 ac_cv_use_regex
='wxUSE_REGEX=sys'
2233 elif test "$withval" = builtin; then
2234 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2236 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2241 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2242 if test "x$LINE" != x
; then
2243 eval "DEFAULT_$LINE"
2248 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2253 eval "$ac_cv_use_regex"
2254 if test "$no_cache" != 1; then
2255 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2258 if test "$wxUSE_REGEX" = yes; then
2259 echo "$ac_t""yes" 1>&6
2260 elif test "$wxUSE_REGEX" = no
; then
2261 echo "$ac_t""no" 1>&6
2262 elif test "$wxUSE_REGEX" = sys
; then
2263 echo "$ac_t""system version" 1>&6
2264 elif test "$wxUSE_REGEX" = builtin; then
2265 echo "$ac_t""builtin version" 1>&6
2267 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2271 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2272 echo "configure:2273: checking for --with-zlib" >&5
2274 # Check whether --with-zlib or --without-zlib was given.
2275 if test "${with_zlib+set}" = set; then
2276 withval
="$with_zlib"
2278 if test "$withval" = yes; then
2279 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2280 elif test "$withval" = no
; then
2281 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2282 elif test "$withval" = sys
; then
2283 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2284 elif test "$withval" = builtin; then
2285 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2287 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2292 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2293 if test "x$LINE" != x
; then
2294 eval "DEFAULT_$LINE"
2299 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2304 eval "$ac_cv_use_zlib"
2305 if test "$no_cache" != 1; then
2306 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2309 if test "$wxUSE_ZLIB" = yes; then
2310 echo "$ac_t""yes" 1>&6
2311 elif test "$wxUSE_ZLIB" = no
; then
2312 echo "$ac_t""no" 1>&6
2313 elif test "$wxUSE_ZLIB" = sys
; then
2314 echo "$ac_t""system version" 1>&6
2315 elif test "$wxUSE_ZLIB" = builtin; then
2316 echo "$ac_t""builtin version" 1>&6
2318 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2322 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2323 echo "configure:2324: checking for --with-odbc" >&5
2325 # Check whether --with-odbc or --without-odbc was given.
2326 if test "${with_odbc+set}" = set; then
2327 withval
="$with_odbc"
2329 if test "$withval" = yes; then
2330 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2332 ac_cv_use_odbc
='wxUSE_ODBC=no'
2337 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2338 if test "x$LINE" != x
; then
2339 eval "DEFAULT_$LINE"
2344 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2349 eval "$ac_cv_use_odbc"
2350 if test "$no_cache" != 1; then
2351 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2354 if test "$wxUSE_ODBC" = yes; then
2355 echo "$ac_t""yes" 1>&6
2357 echo "$ac_t""no" 1>&6
2364 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2365 echo "configure:2366: checking for --${enablestring:-enable}-shared" >&5
2367 # Check whether --enable-shared or --disable-shared was given.
2368 if test "${enable_shared+set}" = set; then
2369 enableval
="$enable_shared"
2371 if test "$enableval" = yes; then
2372 ac_cv_use_shared
='wxUSE_SHARED=yes'
2374 ac_cv_use_shared
='wxUSE_SHARED=no'
2379 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2380 if test "x$LINE" != x
; then
2381 eval "DEFAULT_$LINE"
2386 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2391 eval "$ac_cv_use_shared"
2392 if test "$no_cache" != 1; then
2393 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2396 if test "$wxUSE_SHARED" = yes; then
2397 echo "$ac_t""yes" 1>&6
2399 echo "$ac_t""no" 1>&6
2404 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2405 echo "configure:2406: checking for --${enablestring:-enable}-soname" >&5
2407 # Check whether --enable-soname or --disable-soname was given.
2408 if test "${enable_soname+set}" = set; then
2409 enableval
="$enable_soname"
2411 if test "$enableval" = yes; then
2412 ac_cv_use_soname
='wxUSE_SONAME=yes'
2414 ac_cv_use_soname
='wxUSE_SONAME=no'
2419 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2420 if test "x$LINE" != x
; then
2421 eval "DEFAULT_$LINE"
2426 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2431 eval "$ac_cv_use_soname"
2432 if test "$no_cache" != 1; then
2433 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2436 if test "$wxUSE_SONAME" = yes; then
2437 echo "$ac_t""yes" 1>&6
2439 echo "$ac_t""no" 1>&6
2444 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2445 echo "configure:2446: checking for --${enablestring:-enable}-optimise" >&5
2447 # Check whether --enable-optimise or --disable-optimise was given.
2448 if test "${enable_optimise+set}" = set; then
2449 enableval
="$enable_optimise"
2451 if test "$enableval" = yes; then
2452 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2454 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2459 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2460 if test "x$LINE" != x
; then
2461 eval "DEFAULT_$LINE"
2466 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2471 eval "$ac_cv_use_optimise"
2472 if test "$no_cache" != 1; then
2473 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2476 if test "$wxUSE_OPTIMISE" = yes; then
2477 echo "$ac_t""yes" 1>&6
2479 echo "$ac_t""no" 1>&6
2484 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2485 echo "configure:2486: checking for --${enablestring:-enable}-debug" >&5
2487 # Check whether --enable-debug or --disable-debug was given.
2488 if test "${enable_debug+set}" = set; then
2489 enableval
="$enable_debug"
2491 if test "$enableval" = yes; then
2492 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2494 ac_cv_use_debug
='wxUSE_DEBUG=no'
2499 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2500 if test "x$LINE" != x
; then
2501 eval "DEFAULT_$LINE"
2506 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2511 eval "$ac_cv_use_debug"
2512 if test "$no_cache" != 1; then
2513 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2516 if test "$wxUSE_DEBUG" = yes; then
2517 echo "$ac_t""yes" 1>&6
2519 echo "$ac_t""no" 1>&6
2525 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2526 echo "configure:2527: checking for --${enablestring:-enable}-precomp" >&5
2528 # Check whether --enable-precomp or --disable-precomp was given.
2529 if test "${enable_precomp+set}" = set; then
2530 enableval
="$enable_precomp"
2532 if test "$enableval" = yes; then
2533 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2535 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2540 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2541 if test "x$LINE" != x
; then
2542 eval "DEFAULT_$LINE"
2547 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2552 eval "$ac_cv_use_precomp"
2553 if test "$no_cache" != 1; then
2554 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2557 if test "$wxUSE_PRECOMP" = yes; then
2558 echo "$ac_t""yes" 1>&6
2560 echo "$ac_t""no" 1>&6
2564 if test "$wxUSE_DEBUG" = "yes"; then
2565 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2566 DEFAULT_wxUSE_DEBUG_INFO
=yes
2567 elif test "$wxUSE_DEBUG" = "no"; then
2568 DEFAULT_wxUSE_DEBUG_FLAG
=no
2569 DEFAULT_wxUSE_DEBUG_INFO
=no
2574 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2575 echo "configure:2576: checking for --${enablestring:-enable}-debug_flag" >&5
2577 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2578 if test "${enable_debug_flag+set}" = set; then
2579 enableval
="$enable_debug_flag"
2581 if test "$enableval" = yes; then
2582 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2584 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2589 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2590 if test "x$LINE" != x
; then
2591 eval "DEFAULT_$LINE"
2596 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2601 eval "$ac_cv_use_debug_flag"
2602 if test "$no_cache" != 1; then
2603 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2606 if test "$wxUSE_DEBUG_FLAG" = yes; then
2607 echo "$ac_t""yes" 1>&6
2609 echo "$ac_t""no" 1>&6
2614 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2615 echo "configure:2616: checking for --${enablestring:-enable}-debug_info" >&5
2617 # Check whether --enable-debug_info or --disable-debug_info was given.
2618 if test "${enable_debug_info+set}" = set; then
2619 enableval
="$enable_debug_info"
2621 if test "$enableval" = yes; then
2622 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2624 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2629 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2630 if test "x$LINE" != x
; then
2631 eval "DEFAULT_$LINE"
2636 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2641 eval "$ac_cv_use_debug_info"
2642 if test "$no_cache" != 1; then
2643 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2646 if test "$wxUSE_DEBUG_INFO" = yes; then
2647 echo "$ac_t""yes" 1>&6
2649 echo "$ac_t""no" 1>&6
2654 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2655 echo "configure:2656: checking for --${enablestring:-enable}-debug_gdb" >&5
2657 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2658 if test "${enable_debug_gdb+set}" = set; then
2659 enableval
="$enable_debug_gdb"
2661 if test "$enableval" = yes; then
2662 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2664 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2669 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2670 if test "x$LINE" != x
; then
2671 eval "DEFAULT_$LINE"
2676 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2681 eval "$ac_cv_use_debug_gdb"
2682 if test "$no_cache" != 1; then
2683 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2686 if test "$wxUSE_DEBUG_GDB" = yes; then
2687 echo "$ac_t""yes" 1>&6
2689 echo "$ac_t""no" 1>&6
2694 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2695 echo "configure:2696: checking for --${enablestring:-enable}-debug_cntxt" >&5
2697 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2698 if test "${enable_debug_cntxt+set}" = set; then
2699 enableval
="$enable_debug_cntxt"
2701 if test "$enableval" = yes; then
2702 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2704 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2709 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2710 if test "x$LINE" != x
; then
2711 eval "DEFAULT_$LINE"
2716 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2721 eval "$ac_cv_use_debug_cntxt"
2722 if test "$no_cache" != 1; then
2723 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2726 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2727 echo "$ac_t""yes" 1>&6
2729 echo "$ac_t""no" 1>&6
2734 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2735 echo "configure:2736: checking for --${enablestring:-enable}-mem_tracing" >&5
2737 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2738 if test "${enable_mem_tracing+set}" = set; then
2739 enableval
="$enable_mem_tracing"
2741 if test "$enableval" = yes; then
2742 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2744 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2749 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2750 if test "x$LINE" != x
; then
2751 eval "DEFAULT_$LINE"
2756 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2761 eval "$ac_cv_use_mem_tracing"
2762 if test "$no_cache" != 1; then
2763 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2766 if test "$wxUSE_MEM_TRACING" = yes; then
2767 echo "$ac_t""yes" 1>&6
2769 echo "$ac_t""no" 1>&6
2774 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2775 echo "configure:2776: checking for --${enablestring:-enable}-profile" >&5
2777 # Check whether --enable-profile or --disable-profile was given.
2778 if test "${enable_profile+set}" = set; then
2779 enableval
="$enable_profile"
2781 if test "$enableval" = yes; then
2782 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2784 ac_cv_use_profile
='wxUSE_PROFILE=no'
2789 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x
; then
2791 eval "DEFAULT_$LINE"
2796 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2801 eval "$ac_cv_use_profile"
2802 if test "$no_cache" != 1; then
2803 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2806 if test "$wxUSE_PROFILE" = yes; then
2807 echo "$ac_t""yes" 1>&6
2809 echo "$ac_t""no" 1>&6
2814 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2815 echo "configure:2816: checking for --${enablestring:-enable}-no_rtti" >&5
2817 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2818 if test "${enable_no_rtti+set}" = set; then
2819 enableval
="$enable_no_rtti"
2821 if test "$enableval" = yes; then
2822 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2824 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2829 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x
; then
2831 eval "DEFAULT_$LINE"
2836 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2841 eval "$ac_cv_use_no_rtti"
2842 if test "$no_cache" != 1; then
2843 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2846 if test "$wxUSE_NO_RTTI" = yes; then
2847 echo "$ac_t""yes" 1>&6
2849 echo "$ac_t""no" 1>&6
2854 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2855 echo "configure:2856: checking for --${enablestring:-enable}-no_exceptions" >&5
2857 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2858 if test "${enable_no_exceptions+set}" = set; then
2859 enableval
="$enable_no_exceptions"
2861 if test "$enableval" = yes; then
2862 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2864 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2869 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x
; then
2871 eval "DEFAULT_$LINE"
2876 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2881 eval "$ac_cv_use_no_exceptions"
2882 if test "$no_cache" != 1; then
2883 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2886 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2887 echo "$ac_t""yes" 1>&6
2889 echo "$ac_t""no" 1>&6
2894 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2895 echo "configure:2896: checking for --${enablestring:-enable}-permissive" >&5
2897 # Check whether --enable-permissive or --disable-permissive was given.
2898 if test "${enable_permissive+set}" = set; then
2899 enableval
="$enable_permissive"
2901 if test "$enableval" = yes; then
2902 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2904 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2909 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2910 if test "x$LINE" != x
; then
2911 eval "DEFAULT_$LINE"
2916 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2921 eval "$ac_cv_use_permissive"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2926 if test "$wxUSE_PERMISSIVE" = yes; then
2927 echo "$ac_t""yes" 1>&6
2929 echo "$ac_t""no" 1>&6
2934 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2935 echo "configure:2936: checking for --${enablestring:-enable}-no_deps" >&5
2937 # Check whether --enable-no_deps or --disable-no_deps was given.
2938 if test "${enable_no_deps+set}" = set; then
2939 enableval
="$enable_no_deps"
2941 if test "$enableval" = yes; then
2942 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2944 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2949 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2950 if test "x$LINE" != x
; then
2951 eval "DEFAULT_$LINE"
2956 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2961 eval "$ac_cv_use_no_deps"
2962 if test "$no_cache" != 1; then
2963 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2966 if test "$wxUSE_NO_DEPS" = yes; then
2967 echo "$ac_t""yes" 1>&6
2969 echo "$ac_t""no" 1>&6
2975 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2976 echo "configure:2977: checking for --${enablestring:-enable}-compat20" >&5
2978 # Check whether --enable-compat20 or --disable-compat20 was given.
2979 if test "${enable_compat20+set}" = set; then
2980 enableval
="$enable_compat20"
2982 if test "$enableval" = yes; then
2983 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2985 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2990 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2991 if test "x$LINE" != x
; then
2992 eval "DEFAULT_$LINE"
2997 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3002 eval "$ac_cv_use_compat20"
3003 if test "$no_cache" != 1; then
3004 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3007 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3008 echo "$ac_t""yes" 1>&6
3010 echo "$ac_t""no" 1>&6
3015 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3016 echo "configure:3017: checking for --${enablestring:-enable}-compat22" >&5
3018 # Check whether --enable-compat22 or --disable-compat22 was given.
3019 if test "${enable_compat22+set}" = set; then
3020 enableval
="$enable_compat22"
3022 if test "$enableval" = yes; then
3023 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3025 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3030 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3031 if test "x$LINE" != x
; then
3032 eval "DEFAULT_$LINE"
3037 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3042 eval "$ac_cv_use_compat22"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3047 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3048 echo "$ac_t""yes" 1>&6
3050 echo "$ac_t""no" 1>&6
3054 enablestring
=disable
3055 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3056 echo "configure:3057: checking for --${enablestring:-enable}-compat24" >&5
3058 # Check whether --enable-compat24 or --disable-compat24 was given.
3059 if test "${enable_compat24+set}" = set; then
3060 enableval
="$enable_compat24"
3062 if test "$enableval" = yes; then
3063 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3065 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3070 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x
; then
3072 eval "DEFAULT_$LINE"
3077 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3082 eval "$ac_cv_use_compat24"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3087 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3088 echo "$ac_t""yes" 1>&6
3090 echo "$ac_t""no" 1>&6
3094 # Check whether --enable-rpath or --disable-rpath was given.
3095 if test "${enable_rpath+set}" = set; then
3096 enableval
="$enable_rpath"
3097 wxRPATH_DIR
="$enableval"
3101 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3102 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3109 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3110 echo "configure:3111: checking for --${enablestring:-enable}-intl" >&5
3112 # Check whether --enable-intl or --disable-intl was given.
3113 if test "${enable_intl+set}" = set; then
3114 enableval
="$enable_intl"
3116 if test "$enableval" = yes; then
3117 ac_cv_use_intl
='wxUSE_INTL=yes'
3119 ac_cv_use_intl
='wxUSE_INTL=no'
3124 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3125 if test "x$LINE" != x
; then
3126 eval "DEFAULT_$LINE"
3131 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3136 eval "$ac_cv_use_intl"
3137 if test "$no_cache" != 1; then
3138 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3141 if test "$wxUSE_INTL" = yes; then
3142 echo "$ac_t""yes" 1>&6
3144 echo "$ac_t""no" 1>&6
3149 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3150 echo "configure:3151: checking for --${enablestring:-enable}-config" >&5
3152 # Check whether --enable-config or --disable-config was given.
3153 if test "${enable_config+set}" = set; then
3154 enableval
="$enable_config"
3156 if test "$enableval" = yes; then
3157 ac_cv_use_config
='wxUSE_CONFIG=yes'
3159 ac_cv_use_config
='wxUSE_CONFIG=no'
3164 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3165 if test "x$LINE" != x
; then
3166 eval "DEFAULT_$LINE"
3171 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3176 eval "$ac_cv_use_config"
3177 if test "$no_cache" != 1; then
3178 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3181 if test "$wxUSE_CONFIG" = yes; then
3182 echo "$ac_t""yes" 1>&6
3184 echo "$ac_t""no" 1>&6
3190 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3191 echo "configure:3192: checking for --${enablestring:-enable}-protocols" >&5
3193 # Check whether --enable-protocols or --disable-protocols was given.
3194 if test "${enable_protocols+set}" = set; then
3195 enableval
="$enable_protocols"
3197 if test "$enableval" = yes; then
3198 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3200 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3205 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3206 if test "x$LINE" != x
; then
3207 eval "DEFAULT_$LINE"
3212 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3217 eval "$ac_cv_use_protocols"
3218 if test "$no_cache" != 1; then
3219 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3222 if test "$wxUSE_PROTOCOL" = yes; then
3223 echo "$ac_t""yes" 1>&6
3225 echo "$ac_t""no" 1>&6
3230 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3231 echo "configure:3232: checking for --${enablestring:-enable}-ftp" >&5
3233 # Check whether --enable-ftp or --disable-ftp was given.
3234 if test "${enable_ftp+set}" = set; then
3235 enableval
="$enable_ftp"
3237 if test "$enableval" = yes; then
3238 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3240 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3245 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x
; then
3247 eval "DEFAULT_$LINE"
3252 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3257 eval "$ac_cv_use_ftp"
3258 if test "$no_cache" != 1; then
3259 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3262 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3263 echo "$ac_t""yes" 1>&6
3265 echo "$ac_t""no" 1>&6
3270 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3271 echo "configure:3272: checking for --${enablestring:-enable}-http" >&5
3273 # Check whether --enable-http or --disable-http was given.
3274 if test "${enable_http+set}" = set; then
3275 enableval
="$enable_http"
3277 if test "$enableval" = yes; then
3278 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3280 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3285 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x
; then
3287 eval "DEFAULT_$LINE"
3292 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3297 eval "$ac_cv_use_http"
3298 if test "$no_cache" != 1; then
3299 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3302 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3303 echo "$ac_t""yes" 1>&6
3305 echo "$ac_t""no" 1>&6
3310 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3311 echo "configure:3312: checking for --${enablestring:-enable}-fileproto" >&5
3313 # Check whether --enable-fileproto or --disable-fileproto was given.
3314 if test "${enable_fileproto+set}" = set; then
3315 enableval
="$enable_fileproto"
3317 if test "$enableval" = yes; then
3318 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3320 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3325 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x
; then
3327 eval "DEFAULT_$LINE"
3332 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3337 eval "$ac_cv_use_fileproto"
3338 if test "$no_cache" != 1; then
3339 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3342 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3343 echo "$ac_t""yes" 1>&6
3345 echo "$ac_t""no" 1>&6
3350 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3351 echo "configure:3352: checking for --${enablestring:-enable}-sockets" >&5
3353 # Check whether --enable-sockets or --disable-sockets was given.
3354 if test "${enable_sockets+set}" = set; then
3355 enableval
="$enable_sockets"
3357 if test "$enableval" = yes; then
3358 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3360 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3365 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x
; then
3367 eval "DEFAULT_$LINE"
3372 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3377 eval "$ac_cv_use_sockets"
3378 if test "$no_cache" != 1; then
3379 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3382 if test "$wxUSE_SOCKETS" = yes; then
3383 echo "$ac_t""yes" 1>&6
3385 echo "$ac_t""no" 1>&6
3390 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3391 echo "configure:3392: checking for --${enablestring:-enable}-ole" >&5
3393 # Check whether --enable-ole or --disable-ole was given.
3394 if test "${enable_ole+set}" = set; then
3395 enableval
="$enable_ole"
3397 if test "$enableval" = yes; then
3398 ac_cv_use_ole
='wxUSE_OLE=yes'
3400 ac_cv_use_ole
='wxUSE_OLE=no'
3405 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x
; then
3407 eval "DEFAULT_$LINE"
3412 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3417 eval "$ac_cv_use_ole"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_OLE" = yes; then
3423 echo "$ac_t""yes" 1>&6
3425 echo "$ac_t""no" 1>&6
3430 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3431 echo "configure:3432: checking for --${enablestring:-enable}-dataobj" >&5
3433 # Check whether --enable-dataobj or --disable-dataobj was given.
3434 if test "${enable_dataobj+set}" = set; then
3435 enableval
="$enable_dataobj"
3437 if test "$enableval" = yes; then
3438 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3440 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3445 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x
; then
3447 eval "DEFAULT_$LINE"
3452 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3457 eval "$ac_cv_use_dataobj"
3458 if test "$no_cache" != 1; then
3459 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3462 if test "$wxUSE_DATAOBJ" = yes; then
3463 echo "$ac_t""yes" 1>&6
3465 echo "$ac_t""no" 1>&6
3471 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3472 echo "configure:3473: checking for --${enablestring:-enable}-ipc" >&5
3474 # Check whether --enable-ipc or --disable-ipc was given.
3475 if test "${enable_ipc+set}" = set; then
3476 enableval
="$enable_ipc"
3478 if test "$enableval" = yes; then
3479 ac_cv_use_ipc
='wxUSE_IPC=yes'
3481 ac_cv_use_ipc
='wxUSE_IPC=no'
3486 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3487 if test "x$LINE" != x
; then
3488 eval "DEFAULT_$LINE"
3493 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3498 eval "$ac_cv_use_ipc"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3503 if test "$wxUSE_IPC" = yes; then
3504 echo "$ac_t""yes" 1>&6
3506 echo "$ac_t""no" 1>&6
3512 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3513 echo "configure:3514: checking for --${enablestring:-enable}-cmdline" >&5
3515 # Check whether --enable-cmdline or --disable-cmdline was given.
3516 if test "${enable_cmdline+set}" = set; then
3517 enableval
="$enable_cmdline"
3519 if test "$enableval" = yes; then
3520 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3522 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3527 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3528 if test "x$LINE" != x
; then
3529 eval "DEFAULT_$LINE"
3534 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3539 eval "$ac_cv_use_cmdline"
3540 if test "$no_cache" != 1; then
3541 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3544 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3545 echo "$ac_t""yes" 1>&6
3547 echo "$ac_t""no" 1>&6
3552 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3553 echo "configure:3554: checking for --${enablestring:-enable}-datetime" >&5
3555 # Check whether --enable-datetime or --disable-datetime was given.
3556 if test "${enable_datetime+set}" = set; then
3557 enableval
="$enable_datetime"
3559 if test "$enableval" = yes; then
3560 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3562 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3567 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x
; then
3569 eval "DEFAULT_$LINE"
3574 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3579 eval "$ac_cv_use_datetime"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3584 if test "$wxUSE_DATETIME" = yes; then
3585 echo "$ac_t""yes" 1>&6
3587 echo "$ac_t""no" 1>&6
3592 echo $ac_n "checking for --${enablestring:-enable}-timedate""... $ac_c" 1>&6
3593 echo "configure:3594: checking for --${enablestring:-enable}-timedate" >&5
3595 # Check whether --enable-timedate or --disable-timedate was given.
3596 if test "${enable_timedate+set}" = set; then
3597 enableval
="$enable_timedate"
3599 if test "$enableval" = yes; then
3600 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3602 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3607 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3608 if test "x$LINE" != x
; then
3609 eval "DEFAULT_$LINE"
3614 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3619 eval "$ac_cv_use_timedate"
3620 if test "$no_cache" != 1; then
3621 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3624 if test "$wxUSE_TIMEDATE" = yes; then
3625 echo "$ac_t""yes" 1>&6
3627 echo "$ac_t""no" 1>&6
3632 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3633 echo "configure:3634: checking for --${enablestring:-enable}-stopwatch" >&5
3635 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3636 if test "${enable_stopwatch+set}" = set; then
3637 enableval
="$enable_stopwatch"
3639 if test "$enableval" = yes; then
3640 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3642 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3647 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3648 if test "x$LINE" != x
; then
3649 eval "DEFAULT_$LINE"
3654 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3659 eval "$ac_cv_use_stopwatch"
3660 if test "$no_cache" != 1; then
3661 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3664 if test "$wxUSE_STOPWATCH" = yes; then
3665 echo "$ac_t""yes" 1>&6
3667 echo "$ac_t""no" 1>&6
3672 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3673 echo "configure:3674: checking for --${enablestring:-enable}-dialupman" >&5
3675 # Check whether --enable-dialupman or --disable-dialupman was given.
3676 if test "${enable_dialupman+set}" = set; then
3677 enableval
="$enable_dialupman"
3679 if test "$enableval" = yes; then
3680 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3682 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3687 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3688 if test "x$LINE" != x
; then
3689 eval "DEFAULT_$LINE"
3694 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3699 eval "$ac_cv_use_dialupman"
3700 if test "$no_cache" != 1; then
3701 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3704 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3705 echo "$ac_t""yes" 1>&6
3707 echo "$ac_t""no" 1>&6
3712 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3713 echo "configure:3714: checking for --${enablestring:-enable}-apple_ieee" >&5
3715 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3716 if test "${enable_apple_ieee+set}" = set; then
3717 enableval
="$enable_apple_ieee"
3719 if test "$enableval" = yes; then
3720 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3722 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3727 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3728 if test "x$LINE" != x
; then
3729 eval "DEFAULT_$LINE"
3734 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3739 eval "$ac_cv_use_apple_ieee"
3740 if test "$no_cache" != 1; then
3741 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3744 if test "$wxUSE_APPLE_IEEE" = yes; then
3745 echo "$ac_t""yes" 1>&6
3747 echo "$ac_t""no" 1>&6
3752 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3753 echo "configure:3754: checking for --${enablestring:-enable}-timer" >&5
3755 # Check whether --enable-timer or --disable-timer was given.
3756 if test "${enable_timer+set}" = set; then
3757 enableval
="$enable_timer"
3759 if test "$enableval" = yes; then
3760 ac_cv_use_timer
='wxUSE_TIMER=yes'
3762 ac_cv_use_timer
='wxUSE_TIMER=no'
3767 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x
; then
3769 eval "DEFAULT_$LINE"
3774 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3779 eval "$ac_cv_use_timer"
3780 if test "$no_cache" != 1; then
3781 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3784 if test "$wxUSE_TIMER" = yes; then
3785 echo "$ac_t""yes" 1>&6
3787 echo "$ac_t""no" 1>&6
3792 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3793 echo "configure:3794: checking for --${enablestring:-enable}-wave" >&5
3795 # Check whether --enable-wave or --disable-wave was given.
3796 if test "${enable_wave+set}" = set; then
3797 enableval
="$enable_wave"
3799 if test "$enableval" = yes; then
3800 ac_cv_use_wave
='wxUSE_WAVE=yes'
3802 ac_cv_use_wave
='wxUSE_WAVE=no'
3807 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3808 if test "x$LINE" != x
; then
3809 eval "DEFAULT_$LINE"
3814 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3819 eval "$ac_cv_use_wave"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3824 if test "$wxUSE_WAVE" = yes; then
3825 echo "$ac_t""yes" 1>&6
3827 echo "$ac_t""no" 1>&6
3832 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3833 echo "configure:3834: checking for --${enablestring:-enable}-fraction" >&5
3835 # Check whether --enable-fraction or --disable-fraction was given.
3836 if test "${enable_fraction+set}" = set; then
3837 enableval
="$enable_fraction"
3839 if test "$enableval" = yes; then
3840 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3842 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3847 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3848 if test "x$LINE" != x
; then
3849 eval "DEFAULT_$LINE"
3854 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3859 eval "$ac_cv_use_fraction"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3864 if test "$wxUSE_FRACTION" = yes; then
3865 echo "$ac_t""yes" 1>&6
3867 echo "$ac_t""no" 1>&6
3872 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3873 echo "configure:3874: checking for --${enablestring:-enable}-dynlib" >&5
3875 # Check whether --enable-dynlib or --disable-dynlib was given.
3876 if test "${enable_dynlib+set}" = set; then
3877 enableval
="$enable_dynlib"
3879 if test "$enableval" = yes; then
3880 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3882 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3887 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3888 if test "x$LINE" != x
; then
3889 eval "DEFAULT_$LINE"
3894 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3899 eval "$ac_cv_use_dynlib"
3900 if test "$no_cache" != 1; then
3901 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3904 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3905 echo "$ac_t""yes" 1>&6
3907 echo "$ac_t""no" 1>&6
3912 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3913 echo "configure:3914: checking for --${enablestring:-enable}-dynamicloader" >&5
3915 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3916 if test "${enable_dynamicloader+set}" = set; then
3917 enableval
="$enable_dynamicloader"
3919 if test "$enableval" = yes; then
3920 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3922 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3927 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x
; then
3929 eval "DEFAULT_$LINE"
3934 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3939 eval "$ac_cv_use_dynamicloader"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3944 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3945 echo "$ac_t""yes" 1>&6
3947 echo "$ac_t""no" 1>&6
3952 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3953 echo "configure:3954: checking for --${enablestring:-enable}-longlong" >&5
3955 # Check whether --enable-longlong or --disable-longlong was given.
3956 if test "${enable_longlong+set}" = set; then
3957 enableval
="$enable_longlong"
3959 if test "$enableval" = yes; then
3960 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3962 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3967 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x
; then
3969 eval "DEFAULT_$LINE"
3974 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3979 eval "$ac_cv_use_longlong"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3984 if test "$wxUSE_LONGLONG" = yes; then
3985 echo "$ac_t""yes" 1>&6
3987 echo "$ac_t""no" 1>&6
3992 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
3993 echo "configure:3994: checking for --${enablestring:-enable}-geometry" >&5
3995 # Check whether --enable-geometry or --disable-geometry was given.
3996 if test "${enable_geometry+set}" = set; then
3997 enableval
="$enable_geometry"
3999 if test "$enableval" = yes; then
4000 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
4002 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
4007 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x
; then
4009 eval "DEFAULT_$LINE"
4014 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4019 eval "$ac_cv_use_geometry"
4020 if test "$no_cache" != 1; then
4021 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4024 if test "$wxUSE_GEOMETRY" = yes; then
4025 echo "$ac_t""yes" 1>&6
4027 echo "$ac_t""no" 1>&6
4032 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4033 echo "configure:4034: checking for --${enablestring:-enable}-log" >&5
4035 # Check whether --enable-log or --disable-log was given.
4036 if test "${enable_log+set}" = set; then
4037 enableval
="$enable_log"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_log
='wxUSE_LOG=yes'
4042 ac_cv_use_log
='wxUSE_LOG=no'
4047 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4059 eval "$ac_cv_use_log"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4064 if test "$wxUSE_LOG" = yes; then
4065 echo "$ac_t""yes" 1>&6
4067 echo "$ac_t""no" 1>&6
4072 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4073 echo "configure:4074: checking for --${enablestring:-enable}-streams" >&5
4075 # Check whether --enable-streams or --disable-streams was given.
4076 if test "${enable_streams+set}" = set; then
4077 enableval
="$enable_streams"
4079 if test "$enableval" = yes; then
4080 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4082 ac_cv_use_streams
='wxUSE_STREAMS=no'
4087 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x
; then
4089 eval "DEFAULT_$LINE"
4094 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4099 eval "$ac_cv_use_streams"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4104 if test "$wxUSE_STREAMS" = yes; then
4105 echo "$ac_t""yes" 1>&6
4107 echo "$ac_t""no" 1>&6
4112 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4113 echo "configure:4114: checking for --${enablestring:-enable}-file" >&5
4115 # Check whether --enable-file or --disable-file was given.
4116 if test "${enable_file+set}" = set; then
4117 enableval
="$enable_file"
4119 if test "$enableval" = yes; then
4120 ac_cv_use_file
='wxUSE_FILE=yes'
4122 ac_cv_use_file
='wxUSE_FILE=no'
4127 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4128 if test "x$LINE" != x
; then
4129 eval "DEFAULT_$LINE"
4134 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4139 eval "$ac_cv_use_file"
4140 if test "$no_cache" != 1; then
4141 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4144 if test "$wxUSE_FILE" = yes; then
4145 echo "$ac_t""yes" 1>&6
4147 echo "$ac_t""no" 1>&6
4152 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4153 echo "configure:4154: checking for --${enablestring:-enable}-ffile" >&5
4155 # Check whether --enable-ffile or --disable-ffile was given.
4156 if test "${enable_ffile+set}" = set; then
4157 enableval
="$enable_ffile"
4159 if test "$enableval" = yes; then
4160 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4162 ac_cv_use_ffile
='wxUSE_FFILE=no'
4167 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4168 if test "x$LINE" != x
; then
4169 eval "DEFAULT_$LINE"
4174 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4179 eval "$ac_cv_use_ffile"
4180 if test "$no_cache" != 1; then
4181 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4184 if test "$wxUSE_FFILE" = yes; then
4185 echo "$ac_t""yes" 1>&6
4187 echo "$ac_t""no" 1>&6
4192 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4193 echo "configure:4194: checking for --${enablestring:-enable}-textbuf" >&5
4195 # Check whether --enable-textbuf or --disable-textbuf was given.
4196 if test "${enable_textbuf+set}" = set; then
4197 enableval
="$enable_textbuf"
4199 if test "$enableval" = yes; then
4200 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4202 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4207 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4208 if test "x$LINE" != x
; then
4209 eval "DEFAULT_$LINE"
4214 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4219 eval "$ac_cv_use_textbuf"
4220 if test "$no_cache" != 1; then
4221 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4224 if test "$wxUSE_TEXTBUFFER" = yes; then
4225 echo "$ac_t""yes" 1>&6
4227 echo "$ac_t""no" 1>&6
4232 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4233 echo "configure:4234: checking for --${enablestring:-enable}-textfile" >&5
4235 # Check whether --enable-textfile or --disable-textfile was given.
4236 if test "${enable_textfile+set}" = set; then
4237 enableval
="$enable_textfile"
4239 if test "$enableval" = yes; then
4240 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4242 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4247 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4248 if test "x$LINE" != x
; then
4249 eval "DEFAULT_$LINE"
4254 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4259 eval "$ac_cv_use_textfile"
4260 if test "$no_cache" != 1; then
4261 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4264 if test "$wxUSE_TEXTFILE" = yes; then
4265 echo "$ac_t""yes" 1>&6
4267 echo "$ac_t""no" 1>&6
4272 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4273 echo "configure:4274: checking for --${enablestring:-enable}-fontmap" >&5
4275 # Check whether --enable-fontmap or --disable-fontmap was given.
4276 if test "${enable_fontmap+set}" = set; then
4277 enableval
="$enable_fontmap"
4279 if test "$enableval" = yes; then
4280 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4282 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4287 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x
; then
4289 eval "DEFAULT_$LINE"
4294 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4299 eval "$ac_cv_use_fontmap"
4300 if test "$no_cache" != 1; then
4301 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4304 if test "$wxUSE_FONTMAP" = yes; then
4305 echo "$ac_t""yes" 1>&6
4307 echo "$ac_t""no" 1>&6
4312 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4313 echo "configure:4314: checking for --${enablestring:-enable}-unicode" >&5
4315 # Check whether --enable-unicode or --disable-unicode was given.
4316 if test "${enable_unicode+set}" = set; then
4317 enableval
="$enable_unicode"
4319 if test "$enableval" = yes; then
4320 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4322 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4327 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x
; then
4329 eval "DEFAULT_$LINE"
4334 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4339 eval "$ac_cv_use_unicode"
4340 if test "$no_cache" != 1; then
4341 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4344 if test "$wxUSE_UNICODE" = yes; then
4345 echo "$ac_t""yes" 1>&6
4347 echo "$ac_t""no" 1>&6
4352 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4353 echo "configure:4354: checking for --${enablestring:-enable}-mslu" >&5
4355 # Check whether --enable-mslu or --disable-mslu was given.
4356 if test "${enable_mslu+set}" = set; then
4357 enableval
="$enable_mslu"
4359 if test "$enableval" = yes; then
4360 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4362 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4367 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x
; then
4369 eval "DEFAULT_$LINE"
4374 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4379 eval "$ac_cv_use_mslu"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_UNICODE_MSLU" = yes; then
4385 echo "$ac_t""yes" 1>&6
4387 echo "$ac_t""no" 1>&6
4392 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4393 echo "configure:4394: checking for --${enablestring:-enable}-wxprintfv" >&5
4395 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4396 if test "${enable_wxprintfv+set}" = set; then
4397 enableval
="$enable_wxprintfv"
4399 if test "$enableval" = yes; then
4400 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4402 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4407 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4408 if test "x$LINE" != x
; then
4409 eval "DEFAULT_$LINE"
4414 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4419 eval "$ac_cv_use_wxprintfv"
4420 if test "$no_cache" != 1; then
4421 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4424 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4425 echo "$ac_t""yes" 1>&6
4427 echo "$ac_t""no" 1>&6
4432 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4433 echo "configure:4434: checking for --${enablestring:-enable}-std_iostreams" >&5
4435 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4436 if test "${enable_std_iostreams+set}" = set; then
4437 enableval
="$enable_std_iostreams"
4439 if test "$enableval" = yes; then
4440 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4442 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4447 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x
; then
4449 eval "DEFAULT_$LINE"
4454 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4459 eval "$ac_cv_use_std_iostreams"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4464 if test "$wxUSE_STD_IOSTREAM" = yes; then
4465 echo "$ac_t""yes" 1>&6
4467 echo "$ac_t""no" 1>&6
4472 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4473 echo "configure:4474: checking for --${enablestring:-enable}-filesystem" >&5
4475 # Check whether --enable-filesystem or --disable-filesystem was given.
4476 if test "${enable_filesystem+set}" = set; then
4477 enableval
="$enable_filesystem"
4479 if test "$enableval" = yes; then
4480 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4482 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4487 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4488 if test "x$LINE" != x
; then
4489 eval "DEFAULT_$LINE"
4494 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4499 eval "$ac_cv_use_filesystem"
4500 if test "$no_cache" != 1; then
4501 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4504 if test "$wxUSE_FILESYSTEM" = yes; then
4505 echo "$ac_t""yes" 1>&6
4507 echo "$ac_t""no" 1>&6
4512 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4513 echo "configure:4514: checking for --${enablestring:-enable}-fs_inet" >&5
4515 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4516 if test "${enable_fs_inet+set}" = set; then
4517 enableval
="$enable_fs_inet"
4519 if test "$enableval" = yes; then
4520 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4522 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4527 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x
; then
4529 eval "DEFAULT_$LINE"
4534 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4539 eval "$ac_cv_use_fs_inet"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4544 if test "$wxUSE_FS_INET" = yes; then
4545 echo "$ac_t""yes" 1>&6
4547 echo "$ac_t""no" 1>&6
4552 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4553 echo "configure:4554: checking for --${enablestring:-enable}-fs_zip" >&5
4555 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4556 if test "${enable_fs_zip+set}" = set; then
4557 enableval
="$enable_fs_zip"
4559 if test "$enableval" = yes; then
4560 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4562 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4567 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4568 if test "x$LINE" != x
; then
4569 eval "DEFAULT_$LINE"
4574 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4579 eval "$ac_cv_use_fs_zip"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4584 if test "$wxUSE_FS_ZIP" = yes; then
4585 echo "$ac_t""yes" 1>&6
4587 echo "$ac_t""no" 1>&6
4592 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4593 echo "configure:4594: checking for --${enablestring:-enable}-zipstream" >&5
4595 # Check whether --enable-zipstream or --disable-zipstream was given.
4596 if test "${enable_zipstream+set}" = set; then
4597 enableval
="$enable_zipstream"
4599 if test "$enableval" = yes; then
4600 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4602 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4607 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4608 if test "x$LINE" != x
; then
4609 eval "DEFAULT_$LINE"
4614 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4619 eval "$ac_cv_use_zipstream"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4624 if test "$wxUSE_ZIPSTREAM" = yes; then
4625 echo "$ac_t""yes" 1>&6
4627 echo "$ac_t""no" 1>&6
4633 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4634 echo "configure:4635: checking for --${enablestring:-enable}-catch_segvs" >&5
4636 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4637 if test "${enable_catch_segvs+set}" = set; then
4638 enableval
="$enable_catch_segvs"
4640 if test "$enableval" = yes; then
4641 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4643 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4648 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4649 if test "x$LINE" != x
; then
4650 eval "DEFAULT_$LINE"
4655 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4660 eval "$ac_cv_use_catch_segvs"
4661 if test "$no_cache" != 1; then
4662 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4665 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4666 echo "$ac_t""yes" 1>&6
4668 echo "$ac_t""no" 1>&6
4673 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4674 echo "configure:4675: checking for --${enablestring:-enable}-snglinst" >&5
4676 # Check whether --enable-snglinst or --disable-snglinst was given.
4677 if test "${enable_snglinst+set}" = set; then
4678 enableval
="$enable_snglinst"
4680 if test "$enableval" = yes; then
4681 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4683 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4688 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4689 if test "x$LINE" != x
; then
4690 eval "DEFAULT_$LINE"
4695 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4700 eval "$ac_cv_use_snglinst"
4701 if test "$no_cache" != 1; then
4702 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4705 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4706 echo "$ac_t""yes" 1>&6
4708 echo "$ac_t""no" 1>&6
4714 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4715 echo "configure:4716: checking for --${enablestring:-enable}-mimetype" >&5
4717 # Check whether --enable-mimetype or --disable-mimetype was given.
4718 if test "${enable_mimetype+set}" = set; then
4719 enableval
="$enable_mimetype"
4721 if test "$enableval" = yes; then
4722 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4724 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4729 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4730 if test "x$LINE" != x
; then
4731 eval "DEFAULT_$LINE"
4736 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4741 eval "$ac_cv_use_mimetype"
4742 if test "$no_cache" != 1; then
4743 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4746 if test "$wxUSE_MIMETYPE" = yes; then
4747 echo "$ac_t""yes" 1>&6
4749 echo "$ac_t""no" 1>&6
4754 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4755 echo "configure:4756: checking for --${enablestring:-enable}-system_options" >&5
4757 # Check whether --enable-system_options or --disable-system_options was given.
4758 if test "${enable_system_options+set}" = set; then
4759 enableval
="$enable_system_options"
4761 if test "$enableval" = yes; then
4762 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4764 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4769 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4770 if test "x$LINE" != x
; then
4771 eval "DEFAULT_$LINE"
4776 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4781 eval "$ac_cv_use_system_options"
4782 if test "$no_cache" != 1; then
4783 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4786 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4787 echo "$ac_t""yes" 1>&6
4789 echo "$ac_t""no" 1>&6
4795 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4796 echo "configure:4797: checking for --${enablestring:-enable}-url" >&5
4798 # Check whether --enable-url or --disable-url was given.
4799 if test "${enable_url+set}" = set; then
4800 enableval
="$enable_url"
4802 if test "$enableval" = yes; then
4803 ac_cv_use_url
='wxUSE_URL=yes'
4805 ac_cv_use_url
='wxUSE_URL=no'
4810 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4811 if test "x$LINE" != x
; then
4812 eval "DEFAULT_$LINE"
4817 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4822 eval "$ac_cv_use_url"
4823 if test "$no_cache" != 1; then
4824 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4827 if test "$wxUSE_URL" = yes; then
4828 echo "$ac_t""yes" 1>&6
4830 echo "$ac_t""no" 1>&6
4835 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4836 echo "configure:4837: checking for --${enablestring:-enable}-protocol" >&5
4838 # Check whether --enable-protocol or --disable-protocol was given.
4839 if test "${enable_protocol+set}" = set; then
4840 enableval
="$enable_protocol"
4842 if test "$enableval" = yes; then
4843 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4845 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4850 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4851 if test "x$LINE" != x
; then
4852 eval "DEFAULT_$LINE"
4857 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4862 eval "$ac_cv_use_protocol"
4863 if test "$no_cache" != 1; then
4864 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4867 if test "$wxUSE_PROTOCOL" = yes; then
4868 echo "$ac_t""yes" 1>&6
4870 echo "$ac_t""no" 1>&6
4875 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4876 echo "configure:4877: checking for --${enablestring:-enable}-protocol_http" >&5
4878 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4879 if test "${enable_protocol_http+set}" = set; then
4880 enableval
="$enable_protocol_http"
4882 if test "$enableval" = yes; then
4883 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4885 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4890 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x
; then
4892 eval "DEFAULT_$LINE"
4897 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4902 eval "$ac_cv_use_protocol_http"
4903 if test "$no_cache" != 1; then
4904 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4907 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4908 echo "$ac_t""yes" 1>&6
4910 echo "$ac_t""no" 1>&6
4915 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4916 echo "configure:4917: checking for --${enablestring:-enable}-protocol_ftp" >&5
4918 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4919 if test "${enable_protocol_ftp+set}" = set; then
4920 enableval
="$enable_protocol_ftp"
4922 if test "$enableval" = yes; then
4923 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4925 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4930 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4931 if test "x$LINE" != x
; then
4932 eval "DEFAULT_$LINE"
4937 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4942 eval "$ac_cv_use_protocol_ftp"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4947 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4948 echo "$ac_t""yes" 1>&6
4950 echo "$ac_t""no" 1>&6
4955 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4956 echo "configure:4957: checking for --${enablestring:-enable}-protocol_file" >&5
4958 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4959 if test "${enable_protocol_file+set}" = set; then
4960 enableval
="$enable_protocol_file"
4962 if test "$enableval" = yes; then
4963 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4965 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4970 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x
; then
4972 eval "DEFAULT_$LINE"
4977 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4982 eval "$ac_cv_use_protocol_file"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4987 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4988 echo "$ac_t""yes" 1>&6
4990 echo "$ac_t""no" 1>&6
4998 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
4999 echo "configure:5000: checking for --${enablestring:-enable}-threads" >&5
5001 # Check whether --enable-threads or --disable-threads was given.
5002 if test "${enable_threads+set}" = set; then
5003 enableval
="$enable_threads"
5005 if test "$enableval" = yes; then
5006 ac_cv_use_threads
='wxUSE_THREADS=yes'
5008 ac_cv_use_threads
='wxUSE_THREADS=no'
5013 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x
; then
5015 eval "DEFAULT_$LINE"
5020 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5025 eval "$ac_cv_use_threads"
5026 if test "$no_cache" != 1; then
5027 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5030 if test "$wxUSE_THREADS" = yes; then
5031 echo "$ac_t""yes" 1>&6
5033 echo "$ac_t""no" 1>&6
5037 if test "$wxUSE_GUI" = "yes"; then
5042 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5043 echo "configure:5044: checking for --${enablestring:-enable}-docview" >&5
5045 # Check whether --enable-docview or --disable-docview was given.
5046 if test "${enable_docview+set}" = set; then
5047 enableval
="$enable_docview"
5049 if test "$enableval" = yes; then
5050 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5052 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5057 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x
; then
5059 eval "DEFAULT_$LINE"
5064 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5069 eval "$ac_cv_use_docview"
5070 if test "$no_cache" != 1; then
5071 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5074 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5075 echo "$ac_t""yes" 1>&6
5077 echo "$ac_t""no" 1>&6
5082 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5083 echo "configure:5084: checking for --${enablestring:-enable}-help" >&5
5085 # Check whether --enable-help or --disable-help was given.
5086 if test "${enable_help+set}" = set; then
5087 enableval
="$enable_help"
5089 if test "$enableval" = yes; then
5090 ac_cv_use_help
='wxUSE_HELP=yes'
5092 ac_cv_use_help
='wxUSE_HELP=no'
5097 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5098 if test "x$LINE" != x
; then
5099 eval "DEFAULT_$LINE"
5104 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5109 eval "$ac_cv_use_help"
5110 if test "$no_cache" != 1; then
5111 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5114 if test "$wxUSE_HELP" = yes; then
5115 echo "$ac_t""yes" 1>&6
5117 echo "$ac_t""no" 1>&6
5122 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5123 echo "configure:5124: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5125 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5126 if test "${enable_mshtmlhelp+set}" = set; then
5127 enableval
="$enable_mshtmlhelp"
5129 if test "$enableval" = yes; then
5130 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5132 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5137 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5138 if test "x$LINE" != x
; then
5139 eval "DEFAULT_$LINE"
5144 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5149 eval "$ac_cv_use_mshtmlhelp"
5150 if test "$no_cache" != 1; then
5151 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5154 if test "$wxUSE_MS_HTML_HELP" = yes; then
5155 echo "$ac_t""yes" 1>&6
5157 echo "$ac_t""no" 1>&6
5162 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5163 echo "configure:5164: checking for --${enablestring:-enable}-html" >&5
5165 # Check whether --enable-html or --disable-html was given.
5166 if test "${enable_html+set}" = set; then
5167 enableval
="$enable_html"
5169 if test "$enableval" = yes; then
5170 ac_cv_use_html
='wxUSE_HTML=yes'
5172 ac_cv_use_html
='wxUSE_HTML=no'
5177 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x
; then
5179 eval "DEFAULT_$LINE"
5184 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5189 eval "$ac_cv_use_html"
5190 if test "$no_cache" != 1; then
5191 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5194 if test "$wxUSE_HTML" = yes; then
5195 echo "$ac_t""yes" 1>&6
5197 echo "$ac_t""no" 1>&6
5202 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5203 echo "configure:5204: checking for --${enablestring:-enable}-htmlhelp" >&5
5205 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5206 if test "${enable_htmlhelp+set}" = set; then
5207 enableval
="$enable_htmlhelp"
5209 if test "$enableval" = yes; then
5210 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5212 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5217 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5218 if test "x$LINE" != x
; then
5219 eval "DEFAULT_$LINE"
5224 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5229 eval "$ac_cv_use_htmlhelp"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5234 if test "$wxUSE_WXHTML_HELP" = yes; then
5235 echo "$ac_t""yes" 1>&6
5237 echo "$ac_t""no" 1>&6
5242 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5243 echo "configure:5244: checking for --${enablestring:-enable}-constraints" >&5
5245 # Check whether --enable-constraints or --disable-constraints was given.
5246 if test "${enable_constraints+set}" = set; then
5247 enableval
="$enable_constraints"
5249 if test "$enableval" = yes; then
5250 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5252 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5257 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5258 if test "x$LINE" != x
; then
5259 eval "DEFAULT_$LINE"
5264 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5269 eval "$ac_cv_use_constraints"
5270 if test "$no_cache" != 1; then
5271 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5274 if test "$wxUSE_CONSTRAINTS" = yes; then
5275 echo "$ac_t""yes" 1>&6
5277 echo "$ac_t""no" 1>&6
5282 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5283 echo "configure:5284: checking for --${enablestring:-enable}-printarch" >&5
5285 # Check whether --enable-printarch or --disable-printarch was given.
5286 if test "${enable_printarch+set}" = set; then
5287 enableval
="$enable_printarch"
5289 if test "$enableval" = yes; then
5290 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5292 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5297 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x
; then
5299 eval "DEFAULT_$LINE"
5304 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5309 eval "$ac_cv_use_printarch"
5310 if test "$no_cache" != 1; then
5311 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5314 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5315 echo "$ac_t""yes" 1>&6
5317 echo "$ac_t""no" 1>&6
5322 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5323 echo "configure:5324: checking for --${enablestring:-enable}-mdi" >&5
5325 # Check whether --enable-mdi or --disable-mdi was given.
5326 if test "${enable_mdi+set}" = set; then
5327 enableval
="$enable_mdi"
5329 if test "$enableval" = yes; then
5330 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5332 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5337 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5338 if test "x$LINE" != x
; then
5339 eval "DEFAULT_$LINE"
5344 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5349 eval "$ac_cv_use_mdi"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5354 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5355 echo "$ac_t""yes" 1>&6
5357 echo "$ac_t""no" 1>&6
5362 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5363 echo "configure:5364: checking for --${enablestring:-enable}-loggui" >&5
5365 # Check whether --enable-loggui or --disable-loggui was given.
5366 if test "${enable_loggui+set}" = set; then
5367 enableval
="$enable_loggui"
5369 if test "$enableval" = yes; then
5370 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5372 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5377 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5378 if test "x$LINE" != x
; then
5379 eval "DEFAULT_$LINE"
5384 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5389 eval "$ac_cv_use_loggui"
5390 if test "$no_cache" != 1; then
5391 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5394 if test "$wxUSE_LOGGUI" = yes; then
5395 echo "$ac_t""yes" 1>&6
5397 echo "$ac_t""no" 1>&6
5402 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5403 echo "configure:5404: checking for --${enablestring:-enable}-logwin" >&5
5405 # Check whether --enable-logwin or --disable-logwin was given.
5406 if test "${enable_logwin+set}" = set; then
5407 enableval
="$enable_logwin"
5409 if test "$enableval" = yes; then
5410 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5412 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5417 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x
; then
5419 eval "DEFAULT_$LINE"
5424 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5429 eval "$ac_cv_use_logwin"
5430 if test "$no_cache" != 1; then
5431 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5434 if test "$wxUSE_LOGWINDOW" = yes; then
5435 echo "$ac_t""yes" 1>&6
5437 echo "$ac_t""no" 1>&6
5442 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5443 echo "configure:5444: checking for --${enablestring:-enable}-logdialog" >&5
5445 # Check whether --enable-logdialog or --disable-logdialog was given.
5446 if test "${enable_logdialog+set}" = set; then
5447 enableval
="$enable_logdialog"
5449 if test "$enableval" = yes; then
5450 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5452 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5457 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5458 if test "x$LINE" != x
; then
5459 eval "DEFAULT_$LINE"
5464 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5469 eval "$ac_cv_use_logdialog"
5470 if test "$no_cache" != 1; then
5471 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5474 if test "$wxUSE_LOGDIALOG" = yes; then
5475 echo "$ac_t""yes" 1>&6
5477 echo "$ac_t""no" 1>&6
5483 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5484 echo "configure:5485: checking for --${enablestring:-enable}-postscript" >&5
5486 # Check whether --enable-postscript or --disable-postscript was given.
5487 if test "${enable_postscript+set}" = set; then
5488 enableval
="$enable_postscript"
5490 if test "$enableval" = yes; then
5491 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5493 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5498 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5499 if test "x$LINE" != x
; then
5500 eval "DEFAULT_$LINE"
5505 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5510 eval "$ac_cv_use_postscript"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5515 if test "$wxUSE_POSTSCRIPT" = yes; then
5516 echo "$ac_t""yes" 1>&6
5518 echo "$ac_t""no" 1>&6
5526 echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6
5527 echo "configure:5528: checking for --${enablestring:-enable}-prologio" >&5
5529 # Check whether --enable-prologio or --disable-prologio was given.
5530 if test "${enable_prologio+set}" = set; then
5531 enableval
="$enable_prologio"
5533 if test "$enableval" = yes; then
5534 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5536 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5541 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5542 if test "x$LINE" != x
; then
5543 eval "DEFAULT_$LINE"
5548 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5553 eval "$ac_cv_use_prologio"
5554 if test "$no_cache" != 1; then
5555 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5558 if test "$wxUSE_PROLOGIO" = yes; then
5559 echo "$ac_t""yes" 1>&6
5561 echo "$ac_t""no" 1>&6
5566 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5567 echo "configure:5568: checking for --${enablestring:-enable}-resources" >&5
5569 # Check whether --enable-resources or --disable-resources was given.
5570 if test "${enable_resources+set}" = set; then
5571 enableval
="$enable_resources"
5573 if test "$enableval" = yes; then
5574 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5576 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5581 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x
; then
5583 eval "DEFAULT_$LINE"
5588 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5593 eval "$ac_cv_use_resources"
5594 if test "$no_cache" != 1; then
5595 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5598 if test "$wxUSE_RESOURCES" = yes; then
5599 echo "$ac_t""yes" 1>&6
5601 echo "$ac_t""no" 1>&6
5607 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5608 echo "configure:5609: checking for --${enablestring:-enable}-xresources" >&5
5610 # Check whether --enable-xresources or --disable-xresources was given.
5611 if test "${enable_xresources+set}" = set; then
5612 enableval
="$enable_xresources"
5614 if test "$enableval" = yes; then
5615 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5617 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5622 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x
; then
5624 eval "DEFAULT_$LINE"
5629 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5634 eval "$ac_cv_use_xresources"
5635 if test "$no_cache" != 1; then
5636 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5639 if test "$wxUSE_X_RESOURCES" = yes; then
5640 echo "$ac_t""yes" 1>&6
5642 echo "$ac_t""no" 1>&6
5649 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5650 echo "configure:5651: checking for --${enablestring:-enable}-clipboard" >&5
5652 # Check whether --enable-clipboard or --disable-clipboard was given.
5653 if test "${enable_clipboard+set}" = set; then
5654 enableval
="$enable_clipboard"
5656 if test "$enableval" = yes; then
5657 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5659 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5664 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5665 if test "x$LINE" != x
; then
5666 eval "DEFAULT_$LINE"
5671 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5676 eval "$ac_cv_use_clipboard"
5677 if test "$no_cache" != 1; then
5678 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5681 if test "$wxUSE_CLIPBOARD" = yes; then
5682 echo "$ac_t""yes" 1>&6
5684 echo "$ac_t""no" 1>&6
5689 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5690 echo "configure:5691: checking for --${enablestring:-enable}-dnd" >&5
5692 # Check whether --enable-dnd or --disable-dnd was given.
5693 if test "${enable_dnd+set}" = set; then
5694 enableval
="$enable_dnd"
5696 if test "$enableval" = yes; then
5697 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5699 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5704 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5705 if test "x$LINE" != x
; then
5706 eval "DEFAULT_$LINE"
5711 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5716 eval "$ac_cv_use_dnd"
5717 if test "$no_cache" != 1; then
5718 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5721 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5722 echo "$ac_t""yes" 1>&6
5724 echo "$ac_t""no" 1>&6
5729 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5730 echo "configure:5731: checking for --${enablestring:-enable}-metafile" >&5
5732 # Check whether --enable-metafile or --disable-metafile was given.
5733 if test "${enable_metafile+set}" = set; then
5734 enableval
="$enable_metafile"
5736 if test "$enableval" = yes; then
5737 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5739 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5744 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5745 if test "x$LINE" != x
; then
5746 eval "DEFAULT_$LINE"
5751 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5756 eval "$ac_cv_use_metafile"
5757 if test "$no_cache" != 1; then
5758 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5761 if test "$wxUSE_METAFILE" = yes; then
5762 echo "$ac_t""yes" 1>&6
5764 echo "$ac_t""no" 1>&6
5770 echo $ac_n "checking for --${enablestring:-enable}-treelayout""... $ac_c" 1>&6
5771 echo "configure:5772: checking for --${enablestring:-enable}-treelayout" >&5
5773 # Check whether --enable-treelayout or --disable-treelayout was given.
5774 if test "${enable_treelayout+set}" = set; then
5775 enableval
="$enable_treelayout"
5777 if test "$enableval" = yes; then
5778 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5780 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5785 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5786 if test "x$LINE" != x
; then
5787 eval "DEFAULT_$LINE"
5792 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5797 eval "$ac_cv_use_treelayout"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5802 if test "$wxUSE_TREELAYOUT" = yes; then
5803 echo "$ac_t""yes" 1>&6
5805 echo "$ac_t""no" 1>&6
5812 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5813 echo "configure:5814: checking for --${enablestring:-enable}-controls" >&5
5815 # Check whether --enable-controls or --disable-controls was given.
5816 if test "${enable_controls+set}" = set; then
5817 enableval
="$enable_controls"
5819 if test "$enableval" = yes; then
5820 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5822 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5827 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x
; then
5829 eval "DEFAULT_$LINE"
5834 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5839 eval "$ac_cv_use_controls"
5840 if test "$no_cache" != 1; then
5841 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5844 if test "$wxUSE_CONTROLS" = yes; then
5845 echo "$ac_t""yes" 1>&6
5847 echo "$ac_t""no" 1>&6
5851 if test "$wxUSE_CONTROLS" = "yes"; then
5852 DEFAULT_wxUSE_ACCEL
=yes
5853 DEFAULT_wxUSE_BMPBUTTON
=yes
5854 DEFAULT_wxUSE_BUTTON
=yes
5855 DEFAULT_wxUSE_CALCTRL
=no
5856 DEFAULT_wxUSE_CARET
=yes
5857 DEFAULT_wxUSE_COMBOBOX
=yes
5858 DEFAULT_wxUSE_CHECKBOX
=yes
5859 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5860 DEFAULT_wxUSE_CHOICE
=yes
5861 DEFAULT_wxUSE_GAUGE
=yes
5862 DEFAULT_wxUSE_GRID
=yes
5863 DEFAULT_wxUSE_NEW_GRID
=yes
5864 DEFAULT_wxUSE_IMAGLIST
=yes
5865 DEFAULT_wxUSE_LISTBOX
=yes
5866 DEFAULT_wxUSE_LISTCTRL
=yes
5867 DEFAULT_wxUSE_NOTEBOOK
=yes
5868 DEFAULT_wxUSE_PROPSHEET
=yes
5869 DEFAULT_wxUSE_RADIOBOX
=yes
5870 DEFAULT_wxUSE_RADIOBTN
=yes
5871 DEFAULT_wxUSE_SASH
=yes
5872 DEFAULT_wxUSE_SCROLLBAR
=yes
5873 DEFAULT_wxUSE_SLIDER
=yes
5874 DEFAULT_wxUSE_SPINBTN
=yes
5875 DEFAULT_wxUSE_SPINCTRL
=yes
5876 DEFAULT_wxUSE_SPLITTER
=yes
5877 DEFAULT_wxUSE_STATBMP
=yes
5878 DEFAULT_wxUSE_STATBOX
=yes
5879 DEFAULT_wxUSE_STATLINE
=yes
5880 DEFAULT_wxUSE_STATUSBAR
=yes
5881 DEFAULT_wxUSE_TAB_DIALOG
=yes
5882 DEFAULT_wxUSE_TOGGLEBTN
=yes
5883 DEFAULT_wxUSE_TOOLBAR
=yes
5884 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5885 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5886 DEFAULT_wxUSE_TOOLTIPS
=yes
5887 DEFAULT_wxUSE_TREECTRL
=yes
5888 DEFAULT_wxUSE_POPUPWIN
=yes
5889 DEFAULT_wxUSE_TIPWINDOW
=yes
5890 elif test "$wxUSE_CONTROLS" = "no"; then
5891 DEFAULT_wxUSE_ACCEL
=no
5892 DEFAULT_wxUSE_BMPBUTTON
=no
5893 DEFAULT_wxUSE_BUTTON
=no
5894 DEFAULT_wxUSE_CALCTRL
=no
5895 DEFAULT_wxUSE_CARET
=no
5896 DEFAULT_wxUSE_COMBOBOX
=no
5897 DEFAULT_wxUSE_CHECKBOX
=no
5898 DEFAULT_wxUSE_CHECKLISTBOX
=no
5899 DEFAULT_wxUSE_CHOICE
=no
5900 DEFAULT_wxUSE_GAUGE
=no
5901 DEFAULT_wxUSE_GRID
=no
5902 DEFAULT_wxUSE_NEW_GRID
=no
5903 DEFAULT_wxUSE_IMAGLIST
=no
5904 DEFAULT_wxUSE_LISTBOX
=no
5905 DEFAULT_wxUSE_LISTCTRL
=no
5906 DEFAULT_wxUSE_NOTEBOOK
=no
5907 DEFAULT_wxUSE_PROPSHEET
=no
5908 DEFAULT_wxUSE_RADIOBOX
=no
5909 DEFAULT_wxUSE_RADIOBTN
=no
5910 DEFAULT_wxUSE_SASH
=no
5911 DEFAULT_wxUSE_SCROLLBAR
=no
5912 DEFAULT_wxUSE_SLIDER
=no
5913 DEFAULT_wxUSE_SPINBTN
=no
5914 DEFAULT_wxUSE_SPINCTRL
=no
5915 DEFAULT_wxUSE_SPLITTER
=no
5916 DEFAULT_wxUSE_STATBMP
=no
5917 DEFAULT_wxUSE_STATBOX
=no
5918 DEFAULT_wxUSE_STATLINE
=no
5919 DEFAULT_wxUSE_STATUSBAR
=no
5920 DEFAULT_wxUSE_TAB_DIALOG
=no
5921 DEFAULT_wxUSE_TOGGLEBTN
=no
5922 DEFAULT_wxUSE_TOOLBAR
=no
5923 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5924 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5925 DEFAULT_wxUSE_TOOLTIPS
=no
5926 DEFAULT_wxUSE_TREECTRL
=no
5927 DEFAULT_wxUSE_POPUPWIN
=no
5928 DEFAULT_wxUSE_TIPWINDOW
=no
5933 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5934 echo "configure:5935: checking for --${enablestring:-enable}-accel" >&5
5936 # Check whether --enable-accel or --disable-accel was given.
5937 if test "${enable_accel+set}" = set; then
5938 enableval
="$enable_accel"
5940 if test "$enableval" = yes; then
5941 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5943 ac_cv_use_accel
='wxUSE_ACCEL=no'
5948 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x
; then
5950 eval "DEFAULT_$LINE"
5955 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5960 eval "$ac_cv_use_accel"
5961 if test "$no_cache" != 1; then
5962 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5965 if test "$wxUSE_ACCEL" = yes; then
5966 echo "$ac_t""yes" 1>&6
5968 echo "$ac_t""no" 1>&6
5973 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5974 echo "configure:5975: checking for --${enablestring:-enable}-button" >&5
5976 # Check whether --enable-button or --disable-button was given.
5977 if test "${enable_button+set}" = set; then
5978 enableval
="$enable_button"
5980 if test "$enableval" = yes; then
5981 ac_cv_use_button
='wxUSE_BUTTON=yes'
5983 ac_cv_use_button
='wxUSE_BUTTON=no'
5988 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5989 if test "x$LINE" != x
; then
5990 eval "DEFAULT_$LINE"
5995 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6000 eval "$ac_cv_use_button"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6005 if test "$wxUSE_BUTTON" = yes; then
6006 echo "$ac_t""yes" 1>&6
6008 echo "$ac_t""no" 1>&6
6013 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
6014 echo "configure:6015: checking for --${enablestring:-enable}-bmpbutton" >&5
6016 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6017 if test "${enable_bmpbutton+set}" = set; then
6018 enableval
="$enable_bmpbutton"
6020 if test "$enableval" = yes; then
6021 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6023 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6028 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6029 if test "x$LINE" != x
; then
6030 eval "DEFAULT_$LINE"
6035 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6040 eval "$ac_cv_use_bmpbutton"
6041 if test "$no_cache" != 1; then
6042 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6045 if test "$wxUSE_BMPBUTTON" = yes; then
6046 echo "$ac_t""yes" 1>&6
6048 echo "$ac_t""no" 1>&6
6053 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
6054 echo "configure:6055: checking for --${enablestring:-enable}-calendar" >&5
6056 # Check whether --enable-calendar or --disable-calendar was given.
6057 if test "${enable_calendar+set}" = set; then
6058 enableval
="$enable_calendar"
6060 if test "$enableval" = yes; then
6061 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6063 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6068 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6069 if test "x$LINE" != x
; then
6070 eval "DEFAULT_$LINE"
6075 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6080 eval "$ac_cv_use_calendar"
6081 if test "$no_cache" != 1; then
6082 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6085 if test "$wxUSE_CALCTRL" = yes; then
6086 echo "$ac_t""yes" 1>&6
6088 echo "$ac_t""no" 1>&6
6093 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6094 echo "configure:6095: checking for --${enablestring:-enable}-caret" >&5
6096 # Check whether --enable-caret or --disable-caret was given.
6097 if test "${enable_caret+set}" = set; then
6098 enableval
="$enable_caret"
6100 if test "$enableval" = yes; then
6101 ac_cv_use_caret
='wxUSE_CARET=yes'
6103 ac_cv_use_caret
='wxUSE_CARET=no'
6108 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x
; then
6110 eval "DEFAULT_$LINE"
6115 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6120 eval "$ac_cv_use_caret"
6121 if test "$no_cache" != 1; then
6122 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6125 if test "$wxUSE_CARET" = yes; then
6126 echo "$ac_t""yes" 1>&6
6128 echo "$ac_t""no" 1>&6
6133 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6134 echo "configure:6135: checking for --${enablestring:-enable}-checkbox" >&5
6136 # Check whether --enable-checkbox or --disable-checkbox was given.
6137 if test "${enable_checkbox+set}" = set; then
6138 enableval
="$enable_checkbox"
6140 if test "$enableval" = yes; then
6141 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6143 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6148 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x
; then
6150 eval "DEFAULT_$LINE"
6155 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6160 eval "$ac_cv_use_checkbox"
6161 if test "$no_cache" != 1; then
6162 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6165 if test "$wxUSE_CHECKBOX" = yes; then
6166 echo "$ac_t""yes" 1>&6
6168 echo "$ac_t""no" 1>&6
6173 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6174 echo "configure:6175: checking for --${enablestring:-enable}-checklst" >&5
6176 # Check whether --enable-checklst or --disable-checklst was given.
6177 if test "${enable_checklst+set}" = set; then
6178 enableval
="$enable_checklst"
6180 if test "$enableval" = yes; then
6181 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6183 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6188 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x
; then
6190 eval "DEFAULT_$LINE"
6195 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6200 eval "$ac_cv_use_checklst"
6201 if test "$no_cache" != 1; then
6202 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6205 if test "$wxUSE_CHECKLST" = yes; then
6206 echo "$ac_t""yes" 1>&6
6208 echo "$ac_t""no" 1>&6
6213 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6214 echo "configure:6215: checking for --${enablestring:-enable}-choice" >&5
6216 # Check whether --enable-choice or --disable-choice was given.
6217 if test "${enable_choice+set}" = set; then
6218 enableval
="$enable_choice"
6220 if test "$enableval" = yes; then
6221 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6223 ac_cv_use_choice
='wxUSE_CHOICE=no'
6228 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6229 if test "x$LINE" != x
; then
6230 eval "DEFAULT_$LINE"
6235 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6240 eval "$ac_cv_use_choice"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6245 if test "$wxUSE_CHOICE" = yes; then
6246 echo "$ac_t""yes" 1>&6
6248 echo "$ac_t""no" 1>&6
6253 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6254 echo "configure:6255: checking for --${enablestring:-enable}-combobox" >&5
6256 # Check whether --enable-combobox or --disable-combobox was given.
6257 if test "${enable_combobox+set}" = set; then
6258 enableval
="$enable_combobox"
6260 if test "$enableval" = yes; then
6261 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6263 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6268 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6269 if test "x$LINE" != x
; then
6270 eval "DEFAULT_$LINE"
6275 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6280 eval "$ac_cv_use_combobox"
6281 if test "$no_cache" != 1; then
6282 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6285 if test "$wxUSE_COMBOBOX" = yes; then
6286 echo "$ac_t""yes" 1>&6
6288 echo "$ac_t""no" 1>&6
6293 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6294 echo "configure:6295: checking for --${enablestring:-enable}-gauge" >&5
6296 # Check whether --enable-gauge or --disable-gauge was given.
6297 if test "${enable_gauge+set}" = set; then
6298 enableval
="$enable_gauge"
6300 if test "$enableval" = yes; then
6301 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6303 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6308 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6309 if test "x$LINE" != x
; then
6310 eval "DEFAULT_$LINE"
6315 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6320 eval "$ac_cv_use_gauge"
6321 if test "$no_cache" != 1; then
6322 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6325 if test "$wxUSE_GAUGE" = yes; then
6326 echo "$ac_t""yes" 1>&6
6328 echo "$ac_t""no" 1>&6
6333 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6334 echo "configure:6335: checking for --${enablestring:-enable}-grid" >&5
6336 # Check whether --enable-grid or --disable-grid was given.
6337 if test "${enable_grid+set}" = set; then
6338 enableval
="$enable_grid"
6340 if test "$enableval" = yes; then
6341 ac_cv_use_grid
='wxUSE_GRID=yes'
6343 ac_cv_use_grid
='wxUSE_GRID=no'
6348 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6349 if test "x$LINE" != x
; then
6350 eval "DEFAULT_$LINE"
6355 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6360 eval "$ac_cv_use_grid"
6361 if test "$no_cache" != 1; then
6362 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6365 if test "$wxUSE_GRID" = yes; then
6366 echo "$ac_t""yes" 1>&6
6368 echo "$ac_t""no" 1>&6
6373 echo $ac_n "checking for --${enablestring:-enable}-newgrid""... $ac_c" 1>&6
6374 echo "configure:6375: checking for --${enablestring:-enable}-newgrid" >&5
6376 # Check whether --enable-newgrid or --disable-newgrid was given.
6377 if test "${enable_newgrid+set}" = set; then
6378 enableval
="$enable_newgrid"
6380 if test "$enableval" = yes; then
6381 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6383 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6388 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x
; then
6390 eval "DEFAULT_$LINE"
6395 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6400 eval "$ac_cv_use_newgrid"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6405 if test "$wxUSE_NEW_GRID" = yes; then
6406 echo "$ac_t""yes" 1>&6
6408 echo "$ac_t""no" 1>&6
6413 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6414 echo "configure:6415: checking for --${enablestring:-enable}-imaglist" >&5
6416 # Check whether --enable-imaglist or --disable-imaglist was given.
6417 if test "${enable_imaglist+set}" = set; then
6418 enableval
="$enable_imaglist"
6420 if test "$enableval" = yes; then
6421 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6423 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6428 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6429 if test "x$LINE" != x
; then
6430 eval "DEFAULT_$LINE"
6435 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6440 eval "$ac_cv_use_imaglist"
6441 if test "$no_cache" != 1; then
6442 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6445 if test "$wxUSE_IMAGLIST" = yes; then
6446 echo "$ac_t""yes" 1>&6
6448 echo "$ac_t""no" 1>&6
6453 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6454 echo "configure:6455: checking for --${enablestring:-enable}-listbox" >&5
6456 # Check whether --enable-listbox or --disable-listbox was given.
6457 if test "${enable_listbox+set}" = set; then
6458 enableval
="$enable_listbox"
6460 if test "$enableval" = yes; then
6461 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6463 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6468 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6469 if test "x$LINE" != x
; then
6470 eval "DEFAULT_$LINE"
6475 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6480 eval "$ac_cv_use_listbox"
6481 if test "$no_cache" != 1; then
6482 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6485 if test "$wxUSE_LISTBOX" = yes; then
6486 echo "$ac_t""yes" 1>&6
6488 echo "$ac_t""no" 1>&6
6493 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6494 echo "configure:6495: checking for --${enablestring:-enable}-listctrl" >&5
6496 # Check whether --enable-listctrl or --disable-listctrl was given.
6497 if test "${enable_listctrl+set}" = set; then
6498 enableval
="$enable_listctrl"
6500 if test "$enableval" = yes; then
6501 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6503 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6508 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6509 if test "x$LINE" != x
; then
6510 eval "DEFAULT_$LINE"
6515 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6520 eval "$ac_cv_use_listctrl"
6521 if test "$no_cache" != 1; then
6522 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6525 if test "$wxUSE_LISTCTRL" = yes; then
6526 echo "$ac_t""yes" 1>&6
6528 echo "$ac_t""no" 1>&6
6533 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6534 echo "configure:6535: checking for --${enablestring:-enable}-notebook" >&5
6536 # Check whether --enable-notebook or --disable-notebook was given.
6537 if test "${enable_notebook+set}" = set; then
6538 enableval
="$enable_notebook"
6540 if test "$enableval" = yes; then
6541 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6543 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6548 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6549 if test "x$LINE" != x
; then
6550 eval "DEFAULT_$LINE"
6555 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6560 eval "$ac_cv_use_notebook"
6561 if test "$no_cache" != 1; then
6562 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6565 if test "$wxUSE_NOTEBOOK" = yes; then
6566 echo "$ac_t""yes" 1>&6
6568 echo "$ac_t""no" 1>&6
6573 echo $ac_n "checking for --${enablestring:-enable}-propsheet""... $ac_c" 1>&6
6574 echo "configure:6575: checking for --${enablestring:-enable}-propsheet" >&5
6576 # Check whether --enable-propsheet or --disable-propsheet was given.
6577 if test "${enable_propsheet+set}" = set; then
6578 enableval
="$enable_propsheet"
6580 if test "$enableval" = yes; then
6581 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6583 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6588 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6589 if test "x$LINE" != x
; then
6590 eval "DEFAULT_$LINE"
6595 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6600 eval "$ac_cv_use_propsheet"
6601 if test "$no_cache" != 1; then
6602 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6605 if test "$wxUSE_PROPSHEET" = yes; then
6606 echo "$ac_t""yes" 1>&6
6608 echo "$ac_t""no" 1>&6
6613 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6614 echo "configure:6615: checking for --${enablestring:-enable}-radiobox" >&5
6616 # Check whether --enable-radiobox or --disable-radiobox was given.
6617 if test "${enable_radiobox+set}" = set; then
6618 enableval
="$enable_radiobox"
6620 if test "$enableval" = yes; then
6621 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6623 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6628 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x
; then
6630 eval "DEFAULT_$LINE"
6635 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6640 eval "$ac_cv_use_radiobox"
6641 if test "$no_cache" != 1; then
6642 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6645 if test "$wxUSE_RADIOBOX" = yes; then
6646 echo "$ac_t""yes" 1>&6
6648 echo "$ac_t""no" 1>&6
6653 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6654 echo "configure:6655: checking for --${enablestring:-enable}-radiobtn" >&5
6656 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6657 if test "${enable_radiobtn+set}" = set; then
6658 enableval
="$enable_radiobtn"
6660 if test "$enableval" = yes; then
6661 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6663 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6668 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6669 if test "x$LINE" != x
; then
6670 eval "DEFAULT_$LINE"
6675 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6680 eval "$ac_cv_use_radiobtn"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6685 if test "$wxUSE_RADIOBTN" = yes; then
6686 echo "$ac_t""yes" 1>&6
6688 echo "$ac_t""no" 1>&6
6693 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6694 echo "configure:6695: checking for --${enablestring:-enable}-sash" >&5
6696 # Check whether --enable-sash or --disable-sash was given.
6697 if test "${enable_sash+set}" = set; then
6698 enableval
="$enable_sash"
6700 if test "$enableval" = yes; then
6701 ac_cv_use_sash
='wxUSE_SASH=yes'
6703 ac_cv_use_sash
='wxUSE_SASH=no'
6708 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x
; then
6710 eval "DEFAULT_$LINE"
6715 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6720 eval "$ac_cv_use_sash"
6721 if test "$no_cache" != 1; then
6722 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6725 if test "$wxUSE_SASH" = yes; then
6726 echo "$ac_t""yes" 1>&6
6728 echo "$ac_t""no" 1>&6
6733 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6734 echo "configure:6735: checking for --${enablestring:-enable}-scrollbar" >&5
6736 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6737 if test "${enable_scrollbar+set}" = set; then
6738 enableval
="$enable_scrollbar"
6740 if test "$enableval" = yes; then
6741 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6743 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6748 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6749 if test "x$LINE" != x
; then
6750 eval "DEFAULT_$LINE"
6755 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6760 eval "$ac_cv_use_scrollbar"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6765 if test "$wxUSE_SCROLLBAR" = yes; then
6766 echo "$ac_t""yes" 1>&6
6768 echo "$ac_t""no" 1>&6
6773 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6774 echo "configure:6775: checking for --${enablestring:-enable}-slider" >&5
6776 # Check whether --enable-slider or --disable-slider was given.
6777 if test "${enable_slider+set}" = set; then
6778 enableval
="$enable_slider"
6780 if test "$enableval" = yes; then
6781 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6783 ac_cv_use_slider
='wxUSE_SLIDER=no'
6788 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x
; then
6790 eval "DEFAULT_$LINE"
6795 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6800 eval "$ac_cv_use_slider"
6801 if test "$no_cache" != 1; then
6802 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6805 if test "$wxUSE_SLIDER" = yes; then
6806 echo "$ac_t""yes" 1>&6
6808 echo "$ac_t""no" 1>&6
6813 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6814 echo "configure:6815: checking for --${enablestring:-enable}-spinbtn" >&5
6816 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6817 if test "${enable_spinbtn+set}" = set; then
6818 enableval
="$enable_spinbtn"
6820 if test "$enableval" = yes; then
6821 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6823 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6828 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6829 if test "x$LINE" != x
; then
6830 eval "DEFAULT_$LINE"
6835 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6840 eval "$ac_cv_use_spinbtn"
6841 if test "$no_cache" != 1; then
6842 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6845 if test "$wxUSE_SPINBTN" = yes; then
6846 echo "$ac_t""yes" 1>&6
6848 echo "$ac_t""no" 1>&6
6853 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6854 echo "configure:6855: checking for --${enablestring:-enable}-spinctrl" >&5
6856 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6857 if test "${enable_spinctrl+set}" = set; then
6858 enableval
="$enable_spinctrl"
6860 if test "$enableval" = yes; then
6861 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6863 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6868 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x
; then
6870 eval "DEFAULT_$LINE"
6875 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6880 eval "$ac_cv_use_spinctrl"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6885 if test "$wxUSE_SPINCTRL" = yes; then
6886 echo "$ac_t""yes" 1>&6
6888 echo "$ac_t""no" 1>&6
6893 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6894 echo "configure:6895: checking for --${enablestring:-enable}-splitter" >&5
6896 # Check whether --enable-splitter or --disable-splitter was given.
6897 if test "${enable_splitter+set}" = set; then
6898 enableval
="$enable_splitter"
6900 if test "$enableval" = yes; then
6901 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6903 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6908 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6909 if test "x$LINE" != x
; then
6910 eval "DEFAULT_$LINE"
6915 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6920 eval "$ac_cv_use_splitter"
6921 if test "$no_cache" != 1; then
6922 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6925 if test "$wxUSE_SPLITTER" = yes; then
6926 echo "$ac_t""yes" 1>&6
6928 echo "$ac_t""no" 1>&6
6933 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6934 echo "configure:6935: checking for --${enablestring:-enable}-statbmp" >&5
6936 # Check whether --enable-statbmp or --disable-statbmp was given.
6937 if test "${enable_statbmp+set}" = set; then
6938 enableval
="$enable_statbmp"
6940 if test "$enableval" = yes; then
6941 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6943 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6948 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x
; then
6950 eval "DEFAULT_$LINE"
6955 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6960 eval "$ac_cv_use_statbmp"
6961 if test "$no_cache" != 1; then
6962 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6965 if test "$wxUSE_STATBMP" = yes; then
6966 echo "$ac_t""yes" 1>&6
6968 echo "$ac_t""no" 1>&6
6973 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6974 echo "configure:6975: checking for --${enablestring:-enable}-statbox" >&5
6976 # Check whether --enable-statbox or --disable-statbox was given.
6977 if test "${enable_statbox+set}" = set; then
6978 enableval
="$enable_statbox"
6980 if test "$enableval" = yes; then
6981 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6983 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6988 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6989 if test "x$LINE" != x
; then
6990 eval "DEFAULT_$LINE"
6995 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7000 eval "$ac_cv_use_statbox"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7005 if test "$wxUSE_STATBOX" = yes; then
7006 echo "$ac_t""yes" 1>&6
7008 echo "$ac_t""no" 1>&6
7013 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
7014 echo "configure:7015: checking for --${enablestring:-enable}-statline" >&5
7016 # Check whether --enable-statline or --disable-statline was given.
7017 if test "${enable_statline+set}" = set; then
7018 enableval
="$enable_statline"
7020 if test "$enableval" = yes; then
7021 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7023 ac_cv_use_statline
='wxUSE_STATLINE=no'
7028 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7029 if test "x$LINE" != x
; then
7030 eval "DEFAULT_$LINE"
7035 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7040 eval "$ac_cv_use_statline"
7041 if test "$no_cache" != 1; then
7042 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7045 if test "$wxUSE_STATLINE" = yes; then
7046 echo "$ac_t""yes" 1>&6
7048 echo "$ac_t""no" 1>&6
7053 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
7054 echo "configure:7055: checking for --${enablestring:-enable}-stattext" >&5
7056 # Check whether --enable-stattext or --disable-stattext was given.
7057 if test "${enable_stattext+set}" = set; then
7058 enableval
="$enable_stattext"
7060 if test "$enableval" = yes; then
7061 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7063 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7068 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x
; then
7070 eval "DEFAULT_$LINE"
7075 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7080 eval "$ac_cv_use_stattext"
7081 if test "$no_cache" != 1; then
7082 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7085 if test "$wxUSE_STATTEXT" = yes; then
7086 echo "$ac_t""yes" 1>&6
7088 echo "$ac_t""no" 1>&6
7093 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
7094 echo "configure:7095: checking for --${enablestring:-enable}-statusbar" >&5
7096 # Check whether --enable-statusbar or --disable-statusbar was given.
7097 if test "${enable_statusbar+set}" = set; then
7098 enableval
="$enable_statusbar"
7100 if test "$enableval" = yes; then
7101 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7103 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7108 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7109 if test "x$LINE" != x
; then
7110 eval "DEFAULT_$LINE"
7115 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7120 eval "$ac_cv_use_statusbar"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7125 if test "$wxUSE_STATUSBAR" = yes; then
7126 echo "$ac_t""yes" 1>&6
7128 echo "$ac_t""no" 1>&6
7133 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7134 echo "configure:7135: checking for --${enablestring:-enable}-tabdialog" >&5
7136 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7137 if test "${enable_tabdialog+set}" = set; then
7138 enableval
="$enable_tabdialog"
7140 if test "$enableval" = yes; then
7141 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7143 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7148 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7149 if test "x$LINE" != x
; then
7150 eval "DEFAULT_$LINE"
7155 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7160 eval "$ac_cv_use_tabdialog"
7161 if test "$no_cache" != 1; then
7162 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7165 if test "$wxUSE_TABDIALOG" = yes; then
7166 echo "$ac_t""yes" 1>&6
7168 echo "$ac_t""no" 1>&6
7173 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7174 echo "configure:7175: checking for --${enablestring:-enable}-textctrl" >&5
7176 # Check whether --enable-textctrl or --disable-textctrl was given.
7177 if test "${enable_textctrl+set}" = set; then
7178 enableval
="$enable_textctrl"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7183 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7188 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7200 eval "$ac_cv_use_textctrl"
7201 if test "$no_cache" != 1; then
7202 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7205 if test "$wxUSE_TEXTCTRL" = yes; then
7206 echo "$ac_t""yes" 1>&6
7208 echo "$ac_t""no" 1>&6
7213 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7214 echo "configure:7215: checking for --${enablestring:-enable}-togglebtn" >&5
7216 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7217 if test "${enable_togglebtn+set}" = set; then
7218 enableval
="$enable_togglebtn"
7220 if test "$enableval" = yes; then
7221 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7223 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7228 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7229 if test "x$LINE" != x
; then
7230 eval "DEFAULT_$LINE"
7235 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7240 eval "$ac_cv_use_togglebtn"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_TOGGLEBTN" = yes; then
7246 echo "$ac_t""yes" 1>&6
7248 echo "$ac_t""no" 1>&6
7253 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7254 echo "configure:7255: checking for --${enablestring:-enable}-toolbar" >&5
7256 # Check whether --enable-toolbar or --disable-toolbar was given.
7257 if test "${enable_toolbar+set}" = set; then
7258 enableval
="$enable_toolbar"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7263 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7268 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x
; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7280 eval "$ac_cv_use_toolbar"
7281 if test "$no_cache" != 1; then
7282 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7285 if test "$wxUSE_TOOLBAR" = yes; then
7286 echo "$ac_t""yes" 1>&6
7288 echo "$ac_t""no" 1>&6
7293 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7294 echo "configure:7295: checking for --${enablestring:-enable}-tbarnative" >&5
7296 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7297 if test "${enable_tbarnative+set}" = set; then
7298 enableval
="$enable_tbarnative"
7300 if test "$enableval" = yes; then
7301 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7303 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7308 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7309 if test "x$LINE" != x
; then
7310 eval "DEFAULT_$LINE"
7315 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7320 eval "$ac_cv_use_tbarnative"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7325 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7326 echo "$ac_t""yes" 1>&6
7328 echo "$ac_t""no" 1>&6
7333 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7334 echo "configure:7335: checking for --${enablestring:-enable}-tbarsmpl" >&5
7336 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7337 if test "${enable_tbarsmpl+set}" = set; then
7338 enableval
="$enable_tbarsmpl"
7340 if test "$enableval" = yes; then
7341 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7343 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7348 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7349 if test "x$LINE" != x
; then
7350 eval "DEFAULT_$LINE"
7355 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7360 eval "$ac_cv_use_tbarsmpl"
7361 if test "$no_cache" != 1; then
7362 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7365 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7366 echo "$ac_t""yes" 1>&6
7368 echo "$ac_t""no" 1>&6
7373 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7374 echo "configure:7375: checking for --${enablestring:-enable}-treectrl" >&5
7376 # Check whether --enable-treectrl or --disable-treectrl was given.
7377 if test "${enable_treectrl+set}" = set; then
7378 enableval
="$enable_treectrl"
7380 if test "$enableval" = yes; then
7381 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7383 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7388 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x
; then
7390 eval "DEFAULT_$LINE"
7395 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7400 eval "$ac_cv_use_treectrl"
7401 if test "$no_cache" != 1; then
7402 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7405 if test "$wxUSE_TREECTRL" = yes; then
7406 echo "$ac_t""yes" 1>&6
7408 echo "$ac_t""no" 1>&6
7413 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7414 echo "configure:7415: checking for --${enablestring:-enable}-tipwindow" >&5
7416 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7417 if test "${enable_tipwindow+set}" = set; then
7418 enableval
="$enable_tipwindow"
7420 if test "$enableval" = yes; then
7421 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7423 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7428 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7429 if test "x$LINE" != x
; then
7430 eval "DEFAULT_$LINE"
7435 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7440 eval "$ac_cv_use_tipwindow"
7441 if test "$no_cache" != 1; then
7442 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7445 if test "$wxUSE_TIPWINDOW" = yes; then
7446 echo "$ac_t""yes" 1>&6
7448 echo "$ac_t""no" 1>&6
7453 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7454 echo "configure:7455: checking for --${enablestring:-enable}-popupwin" >&5
7456 # Check whether --enable-popupwin or --disable-popupwin was given.
7457 if test "${enable_popupwin+set}" = set; then
7458 enableval
="$enable_popupwin"
7460 if test "$enableval" = yes; then
7461 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7463 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7468 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7469 if test "x$LINE" != x
; then
7470 eval "DEFAULT_$LINE"
7475 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7480 eval "$ac_cv_use_popupwin"
7481 if test "$no_cache" != 1; then
7482 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7485 if test "$wxUSE_POPUPWIN" = yes; then
7486 echo "$ac_t""yes" 1>&6
7488 echo "$ac_t""no" 1>&6
7495 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7496 echo "configure:7497: checking for --${enablestring:-enable}-commondlg" >&5
7498 # Check whether --enable-commondlg or --disable-commondlg was given.
7499 if test "${enable_commondlg+set}" = set; then
7500 enableval
="$enable_commondlg"
7502 if test "$enableval" = yes; then
7503 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7505 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7510 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7511 if test "x$LINE" != x
; then
7512 eval "DEFAULT_$LINE"
7517 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7522 eval "$ac_cv_use_commondlg"
7523 if test "$no_cache" != 1; then
7524 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7527 if test "$wxUSE_COMMONDLGS" = yes; then
7528 echo "$ac_t""yes" 1>&6
7530 echo "$ac_t""no" 1>&6
7535 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7536 echo "configure:7537: checking for --${enablestring:-enable}-choicedlg" >&5
7538 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7539 if test "${enable_choicedlg+set}" = set; then
7540 enableval
="$enable_choicedlg"
7542 if test "$enableval" = yes; then
7543 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7545 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7550 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7551 if test "x$LINE" != x
; then
7552 eval "DEFAULT_$LINE"
7557 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7562 eval "$ac_cv_use_choicedlg"
7563 if test "$no_cache" != 1; then
7564 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7567 if test "$wxUSE_CHOICEDLG" = yes; then
7568 echo "$ac_t""yes" 1>&6
7570 echo "$ac_t""no" 1>&6
7575 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7576 echo "configure:7577: checking for --${enablestring:-enable}-coldlg" >&5
7578 # Check whether --enable-coldlg or --disable-coldlg was given.
7579 if test "${enable_coldlg+set}" = set; then
7580 enableval
="$enable_coldlg"
7582 if test "$enableval" = yes; then
7583 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7585 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7590 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7591 if test "x$LINE" != x
; then
7592 eval "DEFAULT_$LINE"
7597 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7602 eval "$ac_cv_use_coldlg"
7603 if test "$no_cache" != 1; then
7604 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7607 if test "$wxUSE_COLOURDLG" = yes; then
7608 echo "$ac_t""yes" 1>&6
7610 echo "$ac_t""no" 1>&6
7615 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7616 echo "configure:7617: checking for --${enablestring:-enable}-filedlg" >&5
7618 # Check whether --enable-filedlg or --disable-filedlg was given.
7619 if test "${enable_filedlg+set}" = set; then
7620 enableval
="$enable_filedlg"
7622 if test "$enableval" = yes; then
7623 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7625 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7630 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7631 if test "x$LINE" != x
; then
7632 eval "DEFAULT_$LINE"
7637 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7642 eval "$ac_cv_use_filedlg"
7643 if test "$no_cache" != 1; then
7644 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7647 if test "$wxUSE_FILEDLG" = yes; then
7648 echo "$ac_t""yes" 1>&6
7650 echo "$ac_t""no" 1>&6
7655 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7656 echo "configure:7657: checking for --${enablestring:-enable}-finddlg" >&5
7658 # Check whether --enable-finddlg or --disable-finddlg was given.
7659 if test "${enable_finddlg+set}" = set; then
7660 enableval
="$enable_finddlg"
7662 if test "$enableval" = yes; then
7663 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7665 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7670 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7671 if test "x$LINE" != x
; then
7672 eval "DEFAULT_$LINE"
7677 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7682 eval "$ac_cv_use_finddlg"
7683 if test "$no_cache" != 1; then
7684 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7687 if test "$wxUSE_FINDREPLDLG" = yes; then
7688 echo "$ac_t""yes" 1>&6
7690 echo "$ac_t""no" 1>&6
7695 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7696 echo "configure:7697: checking for --${enablestring:-enable}-fontdlg" >&5
7698 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7699 if test "${enable_fontdlg+set}" = set; then
7700 enableval
="$enable_fontdlg"
7702 if test "$enableval" = yes; then
7703 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7705 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7710 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7711 if test "x$LINE" != x
; then
7712 eval "DEFAULT_$LINE"
7717 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7722 eval "$ac_cv_use_fontdlg"
7723 if test "$no_cache" != 1; then
7724 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7727 if test "$wxUSE_FONTDLG" = yes; then
7728 echo "$ac_t""yes" 1>&6
7730 echo "$ac_t""no" 1>&6
7735 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7736 echo "configure:7737: checking for --${enablestring:-enable}-dirdlg" >&5
7738 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7739 if test "${enable_dirdlg+set}" = set; then
7740 enableval
="$enable_dirdlg"
7742 if test "$enableval" = yes; then
7743 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7745 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7750 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7751 if test "x$LINE" != x
; then
7752 eval "DEFAULT_$LINE"
7757 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7762 eval "$ac_cv_use_dirdlg"
7763 if test "$no_cache" != 1; then
7764 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7767 if test "$wxUSE_DIRDLG" = yes; then
7768 echo "$ac_t""yes" 1>&6
7770 echo "$ac_t""no" 1>&6
7775 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7776 echo "configure:7777: checking for --${enablestring:-enable}-msgdlg" >&5
7778 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7779 if test "${enable_msgdlg+set}" = set; then
7780 enableval
="$enable_msgdlg"
7782 if test "$enableval" = yes; then
7783 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7785 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7790 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x
; then
7792 eval "DEFAULT_$LINE"
7797 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7802 eval "$ac_cv_use_msgdlg"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7807 if test "$wxUSE_MSGDLG" = yes; then
7808 echo "$ac_t""yes" 1>&6
7810 echo "$ac_t""no" 1>&6
7815 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7816 echo "configure:7817: checking for --${enablestring:-enable}-numberdlg" >&5
7818 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7819 if test "${enable_numberdlg+set}" = set; then
7820 enableval
="$enable_numberdlg"
7822 if test "$enableval" = yes; then
7823 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7825 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7830 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7831 if test "x$LINE" != x
; then
7832 eval "DEFAULT_$LINE"
7837 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7842 eval "$ac_cv_use_numberdlg"
7843 if test "$no_cache" != 1; then
7844 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7847 if test "$wxUSE_NUMBERDLG" = yes; then
7848 echo "$ac_t""yes" 1>&6
7850 echo "$ac_t""no" 1>&6
7855 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7856 echo "configure:7857: checking for --${enablestring:-enable}-splash" >&5
7858 # Check whether --enable-splash or --disable-splash was given.
7859 if test "${enable_splash+set}" = set; then
7860 enableval
="$enable_splash"
7862 if test "$enableval" = yes; then
7863 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7865 ac_cv_use_splash
='wxUSE_SPLASH=no'
7870 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7871 if test "x$LINE" != x
; then
7872 eval "DEFAULT_$LINE"
7877 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7882 eval "$ac_cv_use_splash"
7883 if test "$no_cache" != 1; then
7884 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7887 if test "$wxUSE_SPLASH" = yes; then
7888 echo "$ac_t""yes" 1>&6
7890 echo "$ac_t""no" 1>&6
7895 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7896 echo "configure:7897: checking for --${enablestring:-enable}-textdlg" >&5
7898 # Check whether --enable-textdlg or --disable-textdlg was given.
7899 if test "${enable_textdlg+set}" = set; then
7900 enableval
="$enable_textdlg"
7902 if test "$enableval" = yes; then
7903 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7905 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7910 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7911 if test "x$LINE" != x
; then
7912 eval "DEFAULT_$LINE"
7917 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7922 eval "$ac_cv_use_textdlg"
7923 if test "$no_cache" != 1; then
7924 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7927 if test "$wxUSE_TEXTDLG" = yes; then
7928 echo "$ac_t""yes" 1>&6
7930 echo "$ac_t""no" 1>&6
7935 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7936 echo "configure:7937: checking for --${enablestring:-enable}-tipdlg" >&5
7938 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7939 if test "${enable_tipdlg+set}" = set; then
7940 enableval
="$enable_tipdlg"
7942 if test "$enableval" = yes; then
7943 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7945 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7950 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7951 if test "x$LINE" != x
; then
7952 eval "DEFAULT_$LINE"
7957 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7962 eval "$ac_cv_use_tipdlg"
7963 if test "$no_cache" != 1; then
7964 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7967 if test "$wxUSE_STARTUP_TIPS" = yes; then
7968 echo "$ac_t""yes" 1>&6
7970 echo "$ac_t""no" 1>&6
7975 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7976 echo "configure:7977: checking for --${enablestring:-enable}-progressdlg" >&5
7978 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7979 if test "${enable_progressdlg+set}" = set; then
7980 enableval
="$enable_progressdlg"
7982 if test "$enableval" = yes; then
7983 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7985 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7990 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7991 if test "x$LINE" != x
; then
7992 eval "DEFAULT_$LINE"
7997 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8002 eval "$ac_cv_use_progressdlg"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8007 if test "$wxUSE_PROGRESSDLG" = yes; then
8008 echo "$ac_t""yes" 1>&6
8010 echo "$ac_t""no" 1>&6
8015 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
8016 echo "configure:8017: checking for --${enablestring:-enable}-wizarddlg" >&5
8018 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8019 if test "${enable_wizarddlg+set}" = set; then
8020 enableval
="$enable_wizarddlg"
8022 if test "$enableval" = yes; then
8023 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8025 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8030 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x
; then
8032 eval "DEFAULT_$LINE"
8037 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8042 eval "$ac_cv_use_wizarddlg"
8043 if test "$no_cache" != 1; then
8044 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8047 if test "$wxUSE_WIZARDDLG" = yes; then
8048 echo "$ac_t""yes" 1>&6
8050 echo "$ac_t""no" 1>&6
8057 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
8058 echo "configure:8059: checking for --${enablestring:-enable}-menus" >&5
8060 # Check whether --enable-menus or --disable-menus was given.
8061 if test "${enable_menus+set}" = set; then
8062 enableval
="$enable_menus"
8064 if test "$enableval" = yes; then
8065 ac_cv_use_menus
='wxUSE_MENUS=yes'
8067 ac_cv_use_menus
='wxUSE_MENUS=no'
8072 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8073 if test "x$LINE" != x
; then
8074 eval "DEFAULT_$LINE"
8079 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8084 eval "$ac_cv_use_menus"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8089 if test "$wxUSE_MENUS" = yes; then
8090 echo "$ac_t""yes" 1>&6
8092 echo "$ac_t""no" 1>&6
8097 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
8098 echo "configure:8099: checking for --${enablestring:-enable}-miniframe" >&5
8100 # Check whether --enable-miniframe or --disable-miniframe was given.
8101 if test "${enable_miniframe+set}" = set; then
8102 enableval
="$enable_miniframe"
8104 if test "$enableval" = yes; then
8105 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8107 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8112 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8113 if test "x$LINE" != x
; then
8114 eval "DEFAULT_$LINE"
8119 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8124 eval "$ac_cv_use_miniframe"
8125 if test "$no_cache" != 1; then
8126 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8129 if test "$wxUSE_MINIFRAME" = yes; then
8130 echo "$ac_t""yes" 1>&6
8132 echo "$ac_t""no" 1>&6
8137 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8138 echo "configure:8139: checking for --${enablestring:-enable}-tooltips" >&5
8140 # Check whether --enable-tooltips or --disable-tooltips was given.
8141 if test "${enable_tooltips+set}" = set; then
8142 enableval
="$enable_tooltips"
8144 if test "$enableval" = yes; then
8145 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8147 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8152 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8153 if test "x$LINE" != x
; then
8154 eval "DEFAULT_$LINE"
8159 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8164 eval "$ac_cv_use_tooltips"
8165 if test "$no_cache" != 1; then
8166 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8169 if test "$wxUSE_TOOLTIPS" = yes; then
8170 echo "$ac_t""yes" 1>&6
8172 echo "$ac_t""no" 1>&6
8177 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8178 echo "configure:8179: checking for --${enablestring:-enable}-splines" >&5
8180 # Check whether --enable-splines or --disable-splines was given.
8181 if test "${enable_splines+set}" = set; then
8182 enableval
="$enable_splines"
8184 if test "$enableval" = yes; then
8185 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8187 ac_cv_use_splines
='wxUSE_SPLINES=no'
8192 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8193 if test "x$LINE" != x
; then
8194 eval "DEFAULT_$LINE"
8199 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8204 eval "$ac_cv_use_splines"
8205 if test "$no_cache" != 1; then
8206 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8209 if test "$wxUSE_SPLINES" = yes; then
8210 echo "$ac_t""yes" 1>&6
8212 echo "$ac_t""no" 1>&6
8217 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8218 echo "configure:8219: checking for --${enablestring:-enable}-validators" >&5
8220 # Check whether --enable-validators or --disable-validators was given.
8221 if test "${enable_validators+set}" = set; then
8222 enableval
="$enable_validators"
8224 if test "$enableval" = yes; then
8225 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8227 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8232 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8233 if test "x$LINE" != x
; then
8234 eval "DEFAULT_$LINE"
8239 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8244 eval "$ac_cv_use_validators"
8245 if test "$no_cache" != 1; then
8246 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8249 if test "$wxUSE_VALIDATORS" = yes; then
8250 echo "$ac_t""yes" 1>&6
8252 echo "$ac_t""no" 1>&6
8257 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8258 echo "configure:8259: checking for --${enablestring:-enable}-busyinfo" >&5
8260 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8261 if test "${enable_busyinfo+set}" = set; then
8262 enableval
="$enable_busyinfo"
8264 if test "$enableval" = yes; then
8265 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8267 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8272 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8273 if test "x$LINE" != x
; then
8274 eval "DEFAULT_$LINE"
8279 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8284 eval "$ac_cv_use_busyinfo"
8285 if test "$no_cache" != 1; then
8286 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8289 if test "$wxUSE_BUSYINFO" = yes; then
8290 echo "$ac_t""yes" 1>&6
8292 echo "$ac_t""no" 1>&6
8297 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8298 echo "configure:8299: checking for --${enablestring:-enable}-joystick" >&5
8300 # Check whether --enable-joystick or --disable-joystick was given.
8301 if test "${enable_joystick+set}" = set; then
8302 enableval
="$enable_joystick"
8304 if test "$enableval" = yes; then
8305 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8307 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8312 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8313 if test "x$LINE" != x
; then
8314 eval "DEFAULT_$LINE"
8319 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8324 eval "$ac_cv_use_joystick"
8325 if test "$no_cache" != 1; then
8326 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8329 if test "$wxUSE_JOYSTICK" = yes; then
8330 echo "$ac_t""yes" 1>&6
8332 echo "$ac_t""no" 1>&6
8337 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8338 echo "configure:8339: checking for --${enablestring:-enable}-metafile" >&5
8340 # Check whether --enable-metafile or --disable-metafile was given.
8341 if test "${enable_metafile+set}" = set; then
8342 enableval
="$enable_metafile"
8344 if test "$enableval" = yes; then
8345 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8347 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8352 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x
; then
8354 eval "DEFAULT_$LINE"
8359 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8364 eval "$ac_cv_use_metafile"
8365 if test "$no_cache" != 1; then
8366 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8369 if test "$wxUSE_METAFILE" = yes; then
8370 echo "$ac_t""yes" 1>&6
8372 echo "$ac_t""no" 1>&6
8377 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8378 echo "configure:8379: checking for --${enablestring:-enable}-dragimage" >&5
8380 # Check whether --enable-dragimage or --disable-dragimage was given.
8381 if test "${enable_dragimage+set}" = set; then
8382 enableval
="$enable_dragimage"
8384 if test "$enableval" = yes; then
8385 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8387 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8392 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8393 if test "x$LINE" != x
; then
8394 eval "DEFAULT_$LINE"
8399 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8404 eval "$ac_cv_use_dragimage"
8405 if test "$no_cache" != 1; then
8406 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8409 if test "$wxUSE_DRAGIMAGE" = yes; then
8410 echo "$ac_t""yes" 1>&6
8412 echo "$ac_t""no" 1>&6
8419 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8420 echo "configure:8421: checking for --${enablestring:-enable}-palette" >&5
8422 # Check whether --enable-palette or --disable-palette was given.
8423 if test "${enable_palette+set}" = set; then
8424 enableval
="$enable_palette"
8426 if test "$enableval" = yes; then
8427 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8429 ac_cv_use_palette
='wxUSE_PALETTE=no'
8434 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8435 if test "x$LINE" != x
; then
8436 eval "DEFAULT_$LINE"
8441 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8446 eval "$ac_cv_use_palette"
8447 if test "$no_cache" != 1; then
8448 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8451 if test "$wxUSE_PALETTE" = yes; then
8452 echo "$ac_t""yes" 1>&6
8454 echo "$ac_t""no" 1>&6
8459 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8460 echo "configure:8461: checking for --${enablestring:-enable}-image" >&5
8462 # Check whether --enable-image or --disable-image was given.
8463 if test "${enable_image+set}" = set; then
8464 enableval
="$enable_image"
8466 if test "$enableval" = yes; then
8467 ac_cv_use_image
='wxUSE_IMAGE=yes'
8469 ac_cv_use_image
='wxUSE_IMAGE=no'
8474 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8475 if test "x$LINE" != x
; then
8476 eval "DEFAULT_$LINE"
8481 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8486 eval "$ac_cv_use_image"
8487 if test "$no_cache" != 1; then
8488 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8491 if test "$wxUSE_IMAGE" = yes; then
8492 echo "$ac_t""yes" 1>&6
8494 echo "$ac_t""no" 1>&6
8499 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8500 echo "configure:8501: checking for --${enablestring:-enable}-gif" >&5
8502 # Check whether --enable-gif or --disable-gif was given.
8503 if test "${enable_gif+set}" = set; then
8504 enableval
="$enable_gif"
8506 if test "$enableval" = yes; then
8507 ac_cv_use_gif
='wxUSE_GIF=yes'
8509 ac_cv_use_gif
='wxUSE_GIF=no'
8514 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x
; then
8516 eval "DEFAULT_$LINE"
8521 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8526 eval "$ac_cv_use_gif"
8527 if test "$no_cache" != 1; then
8528 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8531 if test "$wxUSE_GIF" = yes; then
8532 echo "$ac_t""yes" 1>&6
8534 echo "$ac_t""no" 1>&6
8539 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8540 echo "configure:8541: checking for --${enablestring:-enable}-pcx" >&5
8542 # Check whether --enable-pcx or --disable-pcx was given.
8543 if test "${enable_pcx+set}" = set; then
8544 enableval
="$enable_pcx"
8546 if test "$enableval" = yes; then
8547 ac_cv_use_pcx
='wxUSE_PCX=yes'
8549 ac_cv_use_pcx
='wxUSE_PCX=no'
8554 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8555 if test "x$LINE" != x
; then
8556 eval "DEFAULT_$LINE"
8561 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8566 eval "$ac_cv_use_pcx"
8567 if test "$no_cache" != 1; then
8568 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8571 if test "$wxUSE_PCX" = yes; then
8572 echo "$ac_t""yes" 1>&6
8574 echo "$ac_t""no" 1>&6
8579 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8580 echo "configure:8581: checking for --${enablestring:-enable}-iff" >&5
8582 # Check whether --enable-iff or --disable-iff was given.
8583 if test "${enable_iff+set}" = set; then
8584 enableval
="$enable_iff"
8586 if test "$enableval" = yes; then
8587 ac_cv_use_iff
='wxUSE_IFF=yes'
8589 ac_cv_use_iff
='wxUSE_IFF=no'
8594 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8595 if test "x$LINE" != x
; then
8596 eval "DEFAULT_$LINE"
8601 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8606 eval "$ac_cv_use_iff"
8607 if test "$no_cache" != 1; then
8608 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8611 if test "$wxUSE_IFF" = yes; then
8612 echo "$ac_t""yes" 1>&6
8614 echo "$ac_t""no" 1>&6
8619 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8620 echo "configure:8621: checking for --${enablestring:-enable}-pnm" >&5
8622 # Check whether --enable-pnm or --disable-pnm was given.
8623 if test "${enable_pnm+set}" = set; then
8624 enableval
="$enable_pnm"
8626 if test "$enableval" = yes; then
8627 ac_cv_use_pnm
='wxUSE_PNM=yes'
8629 ac_cv_use_pnm
='wxUSE_PNM=no'
8634 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x
; then
8636 eval "DEFAULT_$LINE"
8641 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8646 eval "$ac_cv_use_pnm"
8647 if test "$no_cache" != 1; then
8648 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8651 if test "$wxUSE_PNM" = yes; then
8652 echo "$ac_t""yes" 1>&6
8654 echo "$ac_t""no" 1>&6
8659 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8660 echo "configure:8661: checking for --${enablestring:-enable}-xpm" >&5
8662 # Check whether --enable-xpm or --disable-xpm was given.
8663 if test "${enable_xpm+set}" = set; then
8664 enableval
="$enable_xpm"
8666 if test "$enableval" = yes; then
8667 ac_cv_use_xpm
='wxUSE_XPM=yes'
8669 ac_cv_use_xpm
='wxUSE_XPM=no'
8674 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8675 if test "x$LINE" != x
; then
8676 eval "DEFAULT_$LINE"
8681 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8686 eval "$ac_cv_use_xpm"
8687 if test "$no_cache" != 1; then
8688 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8691 if test "$wxUSE_XPM" = yes; then
8692 echo "$ac_t""yes" 1>&6
8694 echo "$ac_t""no" 1>&6
8699 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8700 echo "configure:8701: checking for --${enablestring:-enable}-ico_cur" >&5
8702 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8703 if test "${enable_ico_cur+set}" = set; then
8704 enableval
="$enable_ico_cur"
8706 if test "$enableval" = yes; then
8707 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8709 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8714 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8715 if test "x$LINE" != x
; then
8716 eval "DEFAULT_$LINE"
8721 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8726 eval "$ac_cv_use_ico_cur"
8727 if test "$no_cache" != 1; then
8728 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8731 if test "$wxUSE_ICO_CUR" = yes; then
8732 echo "$ac_t""yes" 1>&6
8734 echo "$ac_t""no" 1>&6
8741 *-pc-os2_emx | *-pc-os2-emx )
8753 echo "saving argument cache $wx_arg_cache_file"
8754 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8758 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8759 echo "configure:8760: checking for toolkit" >&5
8761 # In Wine, we need to default to MSW, not GTK or MOTIF
8762 if test "$wxUSE_WINE" = "yes"; then
8763 DEFAULT_DEFAULT_wxUSE_GTK
=0
8764 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8765 DEFAULT_DEFAULT_wxUSE_MSW
=1
8768 if test "$wxUSE_GUI" = "yes"; then
8770 if test "$USE_BEOS" = 1; then
8771 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8774 if test "$TOOLKIT_GIVEN" = 1; then
8775 for toolkit
in `echo $ALL_TOOLKITS`; do
8777 eval "value=\$${var}"
8778 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8781 for toolkit
in `echo $ALL_TOOLKITS`; do
8782 if test "$has_toolkit_in_cache" != 1; then
8783 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8785 var
=DEFAULT_wxUSE_
$toolkit
8787 eval "wxUSE_$toolkit=\$${var}"
8791 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8792 + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8795 *-pc-os2_emx | *-pc-os2-emx )
8796 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8799 case "$NUM_TOOLKITS" in
8803 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8806 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8809 for toolkit
in `echo $ALL_TOOLKITS`; do
8811 eval "value=\$${var}"
8812 if test "x$value" != x
; then
8813 cache_var
=CACHE_
$toolkit
8814 eval "cache=\$${cache_var}"
8815 if test "$cache" = 1; then
8816 echo "$var=$value" >> ${wx_arg_cache_file}
8818 if test "$value" = 1; then
8819 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8820 echo "$ac_t""$toolkit_echo" 1>&6
8825 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8832 if test "$wxUSE_MSW" = 1 ; then
8843 if test "$wxUSE_WINE" = "yes"; then
8850 if test "$wants_win32" = 1 ; then
8853 cat >> confdefs.h
<<\EOF
8857 cat >> confdefs.h
<<\EOF
8861 cat >> confdefs.h
<<\EOF
8862 #define __WINDOWS__ 1
8865 cat >> confdefs.h
<<\EOF
8866 #define __GNUWIN32__ 1
8869 cat >> confdefs.h
<<\EOF
8873 cat >> confdefs.h
<<\EOF
8874 #define WINVER 0x0400
8878 if test "$doesnt_want_win32" = 1 ; then
8883 if test "$USE_UNIX" = 1 ; then
8885 cat >> confdefs.h
<<\EOF
8892 cat > confcache
<<\EOF
8893 # This file is a shell script that caches the results of configure
8894 # tests run on this system so they can be shared between configure
8895 # scripts and configure runs. It is not useful on other systems.
8896 # If it contains results you don't want to keep, you may remove or edit it.
8898 # By default, configure uses ./config.cache as the cache file,
8899 # creating it if it does not exist already. You can give configure
8900 # the --cache-file=FILE option to use a different cache file; that is
8901 # what configure does when it calls configure scripts in
8902 # subdirectories, so they share the cache.
8903 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8904 # config.status only pays attention to the cache file if you give it the
8905 # --recheck option to rerun configure.
8908 # The following way of writing the cache mishandles newlines in values,
8909 # but we know of no workaround that is simple, portable, and efficient.
8910 # So, don't put newlines in cache variables' values.
8911 # Ultrix sh set writes to stderr and can't be redirected directly,
8912 # and sets the high bit in the cache file unless we assign to the vars.
8914 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8916 # `set' does not quote correctly, so add quotes (double-quote substitution
8917 # turns \\\\ into \\, and sed turns \\ into \).
8919 -e "s/'/'\\\\''/g" \
8920 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8923 # `set' quotes correctly as required by POSIX, so do not add quotes.
8924 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8927 if cmp -s $cache_file confcache
; then
8930 if test -w $cache_file; then
8931 echo "updating cache $cache_file"
8932 cat confcache
> $cache_file
8934 echo "not updating unwritable cache $cache_file"
8940 if test "$build" != "$host" ; then
8941 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8945 RANLIB
=$host_alias-ranlib
8946 DLLTOOL
=$host_alias-dlltool
8947 RESCOMP
=$host_alias-windres
8950 STRIP
=$host_alias-strip
8952 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8957 # Extract the first word of "gcc", so it can be a program name with args.
8958 set dummy gcc
; ac_word
=$2
8959 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8960 echo "configure:8961: checking for $ac_word" >&5
8961 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8962 echo $ac_n "(cached) $ac_c" 1>&6
8964 if test -n "$CC"; then
8965 ac_cv_prog_CC
="$CC" # Let the user override the test.
8967 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8969 for ac_dir
in $ac_dummy; do
8970 test -z "$ac_dir" && ac_dir
=.
8971 if test -f $ac_dir/$ac_word; then
8980 if test -n "$CC"; then
8981 echo "$ac_t""$CC" 1>&6
8983 echo "$ac_t""no" 1>&6
8986 if test -z "$CC"; then
8987 # Extract the first word of "cc", so it can be a program name with args.
8988 set dummy cc
; ac_word
=$2
8989 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8990 echo "configure:8991: checking for $ac_word" >&5
8991 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8992 echo $ac_n "(cached) $ac_c" 1>&6
8994 if test -n "$CC"; then
8995 ac_cv_prog_CC
="$CC" # Let the user override the test.
8997 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9000 for ac_dir
in $ac_dummy; do
9001 test -z "$ac_dir" && ac_dir
=.
9002 if test -f $ac_dir/$ac_word; then
9003 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
9004 ac_prog_rejected
=yes
9012 if test $ac_prog_rejected = yes; then
9013 # We found a bogon in the path, so make sure we never use it.
9014 set dummy
$ac_cv_prog_CC
9016 if test $# -gt 0; then
9017 # We chose a different compiler from the bogus one.
9018 # However, it has the same basename, so the bogon will be chosen
9019 # first if we set CC to just the basename; use the full file name.
9021 set dummy
"$ac_dir/$ac_word" "$@"
9029 if test -n "$CC"; then
9030 echo "$ac_t""$CC" 1>&6
9032 echo "$ac_t""no" 1>&6
9035 if test -z "$CC"; then
9036 case "`uname -s`" in
9038 # Extract the first word of "cl", so it can be a program name with args.
9039 set dummy cl
; ac_word
=$2
9040 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9041 echo "configure:9042: checking for $ac_word" >&5
9042 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9043 echo $ac_n "(cached) $ac_c" 1>&6
9045 if test -n "$CC"; then
9046 ac_cv_prog_CC
="$CC" # Let the user override the test.
9048 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9050 for ac_dir
in $ac_dummy; do
9051 test -z "$ac_dir" && ac_dir
=.
9052 if test -f $ac_dir/$ac_word; then
9061 if test -n "$CC"; then
9062 echo "$ac_t""$CC" 1>&6
9064 echo "$ac_t""no" 1>&6
9069 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9072 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9073 echo "configure:9074: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9076 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9077 ac_cpp
='$CPP $CPPFLAGS'
9078 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9079 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9080 cross_compiling
=$ac_cv_prog_cc_cross
9082 cat > conftest.
$ac_ext << EOF
9084 #line 9085 "configure"
9085 #include "confdefs.h"
9089 if { (eval echo configure
:9090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9090 ac_cv_prog_cc_works
=yes
9091 # If we can't run a trivial program, we are probably using a cross compiler.
9092 if (.
/conftest
; exit) 2>/dev
/null
; then
9093 ac_cv_prog_cc_cross
=no
9095 ac_cv_prog_cc_cross
=yes
9098 echo "configure: failed program was:" >&5
9099 cat conftest.
$ac_ext >&5
9100 ac_cv_prog_cc_works
=no
9104 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9105 ac_cpp
='$CPP $CPPFLAGS'
9106 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9107 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9108 cross_compiling
=$ac_cv_prog_cc_cross
9110 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9111 if test $ac_cv_prog_cc_works = no
; then
9112 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9114 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9115 echo "configure:9116: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9116 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9117 cross_compiling
=$ac_cv_prog_cc_cross
9119 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9120 echo "configure:9121: checking whether we are using GNU C" >&5
9121 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9122 echo $ac_n "(cached) $ac_c" 1>&6
9124 cat > conftest.c
<<EOF
9129 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9136 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9138 if test $ac_cv_prog_gcc = yes; then
9144 ac_test_CFLAGS
="${CFLAGS+set}"
9145 ac_save_CFLAGS
="$CFLAGS"
9147 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9148 echo "configure:9149: checking whether ${CC-cc} accepts -g" >&5
9149 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9150 echo $ac_n "(cached) $ac_c" 1>&6
9152 echo 'void f(){}' > conftest.c
9153 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9162 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9163 if test "$ac_test_CFLAGS" = set; then
9164 CFLAGS
="$ac_save_CFLAGS"
9165 elif test $ac_cv_prog_cc_g = yes; then
9166 if test "$GCC" = yes; then
9172 if test "$GCC" = yes; then
9180 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9181 echo "configure:9182: checking how to run the C preprocessor" >&5
9182 # On Suns, sometimes $CPP names a directory.
9183 if test -n "$CPP" && test -d "$CPP"; then
9186 if test -z "$CPP"; then
9187 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9188 echo $ac_n "(cached) $ac_c" 1>&6
9190 # This must be in double quotes, not single quotes, because CPP may get
9191 # substituted into the Makefile and "${CC-cc}" will confuse make.
9193 # On the NeXT, cc -E runs the code through the compiler's parser,
9194 # not just through cpp.
9195 cat > conftest.
$ac_ext <<EOF
9196 #line 9197 "configure"
9197 #include "confdefs.h"
9201 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9202 { (eval echo configure
:9203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9203 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9204 if test -z "$ac_err"; then
9208 echo "configure: failed program was:" >&5
9209 cat conftest.
$ac_ext >&5
9211 CPP
="${CC-cc} -E -traditional-cpp"
9212 cat > conftest.
$ac_ext <<EOF
9213 #line 9214 "configure"
9214 #include "confdefs.h"
9218 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9219 { (eval echo configure
:9220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9220 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9221 if test -z "$ac_err"; then
9225 echo "configure: failed program was:" >&5
9226 cat conftest.
$ac_ext >&5
9228 CPP
="${CC-cc} -nologo -E"
9229 cat > conftest.
$ac_ext <<EOF
9230 #line 9231 "configure"
9231 #include "confdefs.h"
9235 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9236 { (eval echo configure
:9237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9237 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9238 if test -z "$ac_err"; then
9242 echo "configure: failed program was:" >&5
9243 cat conftest.
$ac_ext >&5
9252 ac_cv_prog_CPP
="$CPP"
9254 CPP
="$ac_cv_prog_CPP"
9256 ac_cv_prog_CPP
="$CPP"
9258 echo "$ac_t""$CPP" 1>&6
9260 if test $ac_cv_prog_gcc = yes; then
9261 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9262 echo "configure:9263: checking whether ${CC-cc} needs -traditional" >&5
9263 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9264 echo $ac_n "(cached) $ac_c" 1>&6
9266 ac_pattern
="Autoconf.*'x'"
9267 cat > conftest.
$ac_ext <<EOF
9268 #line 9269 "configure"
9269 #include "confdefs.h"
9273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9274 egrep "$ac_pattern" >/dev
/null
2>&1; then
9276 ac_cv_prog_gcc_traditional
=yes
9279 ac_cv_prog_gcc_traditional
=no
9284 if test $ac_cv_prog_gcc_traditional = no
; then
9285 cat > conftest.
$ac_ext <<EOF
9286 #line 9287 "configure"
9287 #include "confdefs.h"
9291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9292 egrep "$ac_pattern" >/dev
/null
2>&1; then
9294 ac_cv_prog_gcc_traditional
=yes
9301 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9302 if test $ac_cv_prog_gcc_traditional = yes; then
9303 CC
="$CC -traditional"
9310 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9311 ac_cpp
='$CXXCPP $CPPFLAGS'
9312 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9313 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9314 cross_compiling
=$ac_cv_prog_cxx_cross
9317 CXXFLAGS
=${CXXFLAGS:=}
9318 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9320 # Extract the first word of "$ac_prog", so it can be a program name with args.
9321 set dummy
$ac_prog; ac_word
=$2
9322 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9323 echo "configure:9324: checking for $ac_word" >&5
9324 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9325 echo $ac_n "(cached) $ac_c" 1>&6
9327 if test -n "$CXX"; then
9328 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9330 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9332 for ac_dir
in $ac_dummy; do
9333 test -z "$ac_dir" && ac_dir
=.
9334 if test -f $ac_dir/$ac_word; then
9335 ac_cv_prog_CXX
="$ac_prog"
9342 CXX
="$ac_cv_prog_CXX"
9343 if test -n "$CXX"; then
9344 echo "$ac_t""$CXX" 1>&6
9346 echo "$ac_t""no" 1>&6
9349 test -n "$CXX" && break
9351 test -n "$CXX" || CXX
="gcc"
9354 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9355 echo "configure:9356: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9358 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9359 ac_cpp
='$CXXCPP $CPPFLAGS'
9360 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9361 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9362 cross_compiling
=$ac_cv_prog_cxx_cross
9364 cat > conftest.
$ac_ext << EOF
9366 #line 9367 "configure"
9367 #include "confdefs.h"
9369 int main(){return(0);}
9371 if { (eval echo configure
:9372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9372 ac_cv_prog_cxx_works
=yes
9373 # If we can't run a trivial program, we are probably using a cross compiler.
9374 if (.
/conftest
; exit) 2>/dev
/null
; then
9375 ac_cv_prog_cxx_cross
=no
9377 ac_cv_prog_cxx_cross
=yes
9380 echo "configure: failed program was:" >&5
9381 cat conftest.
$ac_ext >&5
9382 ac_cv_prog_cxx_works
=no
9386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9387 ac_cpp
='$CXXCPP $CPPFLAGS'
9388 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9389 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9390 cross_compiling
=$ac_cv_prog_cxx_cross
9392 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9393 if test $ac_cv_prog_cxx_works = no
; then
9394 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9396 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9397 echo "configure:9398: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9398 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9399 cross_compiling
=$ac_cv_prog_cxx_cross
9401 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9402 echo "configure:9403: checking whether we are using GNU C++" >&5
9403 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9404 echo $ac_n "(cached) $ac_c" 1>&6
9406 cat > conftest.C
<<EOF
9411 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9418 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9420 if test $ac_cv_prog_gxx = yes; then
9426 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9427 ac_save_CXXFLAGS
="$CXXFLAGS"
9429 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9430 echo "configure:9431: checking whether ${CXX-g++} accepts -g" >&5
9431 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9432 echo $ac_n "(cached) $ac_c" 1>&6
9434 echo 'void f(){}' > conftest.cc
9435 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9436 ac_cv_prog_cxx_g
=yes
9444 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9445 if test "$ac_test_CXXFLAGS" = set; then
9446 CXXFLAGS
="$ac_save_CXXFLAGS"
9447 elif test $ac_cv_prog_cxx_g = yes; then
9448 if test "$GXX" = yes; then
9454 if test "$GXX" = yes; then
9463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9464 ac_cpp
='$CPP $CPPFLAGS'
9465 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9466 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9467 cross_compiling
=$ac_cv_prog_cc_cross
9470 # Extract the first word of "ranlib", so it can be a program name with args.
9471 set dummy ranlib
; ac_word
=$2
9472 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9473 echo "configure:9474: checking for $ac_word" >&5
9474 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9475 echo $ac_n "(cached) $ac_c" 1>&6
9477 if test -n "$RANLIB"; then
9478 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9480 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9482 for ac_dir
in $ac_dummy; do
9483 test -z "$ac_dir" && ac_dir
=.
9484 if test -f $ac_dir/$ac_word; then
9485 ac_cv_prog_RANLIB
="ranlib"
9490 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9493 RANLIB
="$ac_cv_prog_RANLIB"
9494 if test -n "$RANLIB"; then
9495 echo "$ac_t""$RANLIB" 1>&6
9497 echo "$ac_t""no" 1>&6
9501 # Extract the first word of "ar", so it can be a program name with args.
9502 set dummy
ar; ac_word
=$2
9503 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9504 echo "configure:9505: checking for $ac_word" >&5
9505 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9506 echo $ac_n "(cached) $ac_c" 1>&6
9508 if test -n "$AR"; then
9509 ac_cv_prog_AR
="$AR" # Let the user override the test.
9511 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9513 for ac_dir
in $ac_dummy; do
9514 test -z "$ac_dir" && ac_dir
=.
9515 if test -f $ac_dir/$ac_word; then
9521 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9525 if test -n "$AR"; then
9526 echo "$ac_t""$AR" 1>&6
9528 echo "$ac_t""no" 1>&6
9532 # Find a good install program. We prefer a C program (faster),
9533 # so one script is as good as another. But avoid the broken or
9534 # incompatible versions:
9535 # SysV /etc/install, /usr/sbin/install
9536 # SunOS /usr/etc/install
9537 # IRIX /sbin/install
9539 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9540 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9541 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9542 # ./install, which can be erroneously created by make from ./install.sh.
9543 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9544 echo "configure:9545: checking for a BSD compatible install" >&5
9545 if test -z "$INSTALL"; then
9546 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9547 echo $ac_n "(cached) $ac_c" 1>&6
9549 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9550 for ac_dir
in $PATH; do
9551 # Account for people who put trailing slashes in PATH elements.
9553 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9555 # OSF1 and SCO ODT 3.0 have their own names for install.
9556 # Don't use installbsd from OSF since it installs stuff as root
9558 for ac_prog
in ginstall scoinst
install; do
9559 if test -f $ac_dir/$ac_prog; then
9560 if test $ac_prog = install &&
9561 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9562 # AIX install. It has an incompatible calling convention.
9565 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9576 if test "${ac_cv_path_install+set}" = set; then
9577 INSTALL
="$ac_cv_path_install"
9579 # As a last resort, use the slow shell script. We don't cache a
9580 # path for INSTALL within a source directory, because that will
9581 # break other packages using the cache if that directory is
9582 # removed, or if the path is relative.
9583 INSTALL
="$ac_install_sh"
9586 echo "$ac_t""$INSTALL" 1>&6
9588 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9589 # It thinks the first close brace ends the variable substitution.
9590 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9592 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9594 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9600 ?
:* ) # Drive letter, considered as absolute.
9603 INSTALL
=`pwd`/${INSTALL} ;;
9611 *) INSTALL_DIR
="$INSTALL -d"
9619 INSTALL_PROGRAM
="cp -fp"
9620 INSTALL_DATA
="cp -fp"
9626 # Extract the first word of "strip", so it can be a program name with args.
9627 set dummy strip
; ac_word
=$2
9628 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9629 echo "configure:9630: checking for $ac_word" >&5
9630 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9631 echo $ac_n "(cached) $ac_c" 1>&6
9633 if test -n "$STRIP"; then
9634 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9636 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9638 for ac_dir
in $ac_dummy; do
9639 test -z "$ac_dir" && ac_dir
=.
9640 if test -f $ac_dir/$ac_word; then
9641 ac_cv_prog_STRIP
="strip"
9646 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9649 STRIP
="$ac_cv_prog_STRIP"
9650 if test -n "$STRIP"; then
9651 echo "$ac_t""$STRIP" 1>&6
9653 echo "$ac_t""no" 1>&6
9657 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9658 echo "configure:9659: checking if make is GNU make" >&5
9659 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9660 echo $ac_n "(cached) $ac_c" 1>&6
9663 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9664 egrep -s GNU
> /dev
/null
); then
9665 wx_cv_prog_makeisgnu
="yes"
9667 wx_cv_prog_makeisgnu
="no"
9672 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9674 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9682 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9683 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9684 echo "configure:9685: checking if make supports VPATH" >&5
9685 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9686 echo $ac_n "(cached) $ac_c" 1>&6
9689 cat - << EOF > confMake
9695 if test ! -d sub
; then
9698 echo dummy
> sub
/file
9699 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9701 rm -f sub
/file check final_file confMake
9703 if test "$RESULT" = 0; then
9704 wx_cv_prog_makevpath
="yes"
9706 wx_cv_prog_makevpath
="no"
9711 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9713 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9714 { echo "configure: error:
9715 You need a make-utility that is able to use the variable
9717 If your version of make does not support VPATH correctly,
9718 please install GNU-make (possibly as gmake), and start
9719 configure with the following command:
9720 export MAKE=gmake; ./configure for sh-type shells
9721 setenv MAKE gmake; ./configure for csh-type shells
9722 Also please do remember to use gmake in this case every time
9723 you are trying to compile.
9726 for ac_prog
in 'bison -y' byacc
9728 # Extract the first word of "$ac_prog", so it can be a program name with args.
9729 set dummy
$ac_prog; ac_word
=$2
9730 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9731 echo "configure:9732: checking for $ac_word" >&5
9732 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9733 echo $ac_n "(cached) $ac_c" 1>&6
9735 if test -n "$YACC"; then
9736 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9738 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9740 for ac_dir
in $ac_dummy; do
9741 test -z "$ac_dir" && ac_dir
=.
9742 if test -f $ac_dir/$ac_word; then
9743 ac_cv_prog_YACC
="$ac_prog"
9750 YACC
="$ac_cv_prog_YACC"
9751 if test -n "$YACC"; then
9752 echo "$ac_t""$YACC" 1>&6
9754 echo "$ac_t""no" 1>&6
9757 test -n "$YACC" && break
9759 test -n "$YACC" || YACC
="yacc"
9762 # Extract the first word of "flex", so it can be a program name with args.
9763 set dummy flex
; ac_word
=$2
9764 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9765 echo "configure:9766: checking for $ac_word" >&5
9766 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9767 echo $ac_n "(cached) $ac_c" 1>&6
9769 if test -n "$LEX"; then
9770 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9772 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9774 for ac_dir
in $ac_dummy; do
9775 test -z "$ac_dir" && ac_dir
=.
9776 if test -f $ac_dir/$ac_word; then
9777 ac_cv_prog_LEX
="flex"
9782 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9785 LEX
="$ac_cv_prog_LEX"
9786 if test -n "$LEX"; then
9787 echo "$ac_t""$LEX" 1>&6
9789 echo "$ac_t""no" 1>&6
9792 if test -z "$LEXLIB"
9798 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9799 echo "configure:9800: checking for yywrap in -l$ac_lib" >&5
9800 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9801 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9802 echo $ac_n "(cached) $ac_c" 1>&6
9804 ac_save_LIBS
="$LIBS"
9805 LIBS
="-l$ac_lib $LIBS"
9806 cat > conftest.
$ac_ext <<EOF
9807 #line 9808 "configure"
9808 #include "confdefs.h"
9809 /* Override any gcc2 internal prototype to avoid an error. */
9810 /* We use char because int might match the return type of a gcc2
9811 builtin and then its argument prototype would still apply. */
9818 if { (eval echo configure
:9819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9820 eval "ac_cv_lib_$ac_lib_var=yes"
9822 echo "configure: failed program was:" >&5
9823 cat conftest.
$ac_ext >&5
9825 eval "ac_cv_lib_$ac_lib_var=no"
9828 LIBS
="$ac_save_LIBS"
9831 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9832 echo "$ac_t""yes" 1>&6
9835 echo "$ac_t""no" 1>&6
9841 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9842 echo "configure:9843: checking whether ln -s works" >&5
9843 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9844 echo $ac_n "(cached) $ac_c" 1>&6
9847 if ln -s X conftestdata
2>/dev
/null
9850 ac_cv_prog_LN_S
="ln -s"
9855 LN_S
="$ac_cv_prog_LN_S"
9856 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9857 echo "$ac_t""yes" 1>&6
9859 echo "$ac_t""no" 1>&6
9864 *-pc-os2_emx | *-pc-os2-emx )
9865 LIBS
="$LIBS -lstdcpp"
9866 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9867 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9868 echo "configure:9869: checking for drand48 in -lcExt" >&5
9869 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9870 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9871 echo $ac_n "(cached) $ac_c" 1>&6
9873 ac_save_LIBS
="$LIBS"
9875 cat > conftest.
$ac_ext <<EOF
9876 #line 9877 "configure"
9877 #include "confdefs.h"
9878 /* Override any gcc2 internal prototype to avoid an error. */
9879 /* We use char because int might match the return type of a gcc2
9880 builtin and then its argument prototype would still apply. */
9887 if { (eval echo configure
:9888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9889 eval "ac_cv_lib_$ac_lib_var=yes"
9891 echo "configure: failed program was:" >&5
9892 cat conftest.
$ac_ext >&5
9894 eval "ac_cv_lib_$ac_lib_var=no"
9897 LIBS
="$ac_save_LIBS"
9900 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9901 echo "$ac_t""yes" 1>&6
9904 echo "$ac_t""no" 1>&6
9908 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9914 if test "$wxUSE_MAC" != 1; then
9915 for ac_hdr
in strings.h
9917 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9918 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9919 echo "configure:9920: checking for $ac_hdr" >&5
9920 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9921 echo $ac_n "(cached) $ac_c" 1>&6
9923 cat > conftest.
$ac_ext <<EOF
9924 #line 9925 "configure"
9925 #include "confdefs.h"
9928 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9929 { (eval echo configure
:9930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9930 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9931 if test -z "$ac_err"; then
9933 eval "ac_cv_header_$ac_safe=yes"
9936 echo "configure: failed program was:" >&5
9937 cat conftest.
$ac_ext >&5
9939 eval "ac_cv_header_$ac_safe=no"
9943 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9944 echo "$ac_t""yes" 1>&6
9945 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9946 cat >> confdefs.h
<<EOF
9947 #define $ac_tr_hdr 1
9951 echo "$ac_t""no" 1>&6
9957 for ac_hdr
in stdlib.h
9959 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9960 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9961 echo "configure:9962: checking for $ac_hdr" >&5
9962 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9963 echo $ac_n "(cached) $ac_c" 1>&6
9965 cat > conftest.
$ac_ext <<EOF
9966 #line 9967 "configure"
9967 #include "confdefs.h"
9970 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9971 { (eval echo configure
:9972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9972 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9973 if test -z "$ac_err"; then
9975 eval "ac_cv_header_$ac_safe=yes"
9978 echo "configure: failed program was:" >&5
9979 cat conftest.
$ac_ext >&5
9981 eval "ac_cv_header_$ac_safe=no"
9985 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9986 echo "$ac_t""yes" 1>&6
9987 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9988 cat >> confdefs.h
<<EOF
9989 #define $ac_tr_hdr 1
9993 echo "$ac_t""no" 1>&6
9997 for ac_hdr
in malloc.h
9999 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10000 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10001 echo "configure:10002: checking for $ac_hdr" >&5
10002 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10003 echo $ac_n "(cached) $ac_c" 1>&6
10005 cat > conftest.
$ac_ext <<EOF
10006 #line 10007 "configure"
10007 #include "confdefs.h"
10010 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10011 { (eval echo configure
:10012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10012 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10013 if test -z "$ac_err"; then
10015 eval "ac_cv_header_$ac_safe=yes"
10018 echo "configure: failed program was:" >&5
10019 cat conftest.
$ac_ext >&5
10021 eval "ac_cv_header_$ac_safe=no"
10025 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10026 echo "$ac_t""yes" 1>&6
10027 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10028 cat >> confdefs.h
<<EOF
10029 #define $ac_tr_hdr 1
10033 echo "$ac_t""no" 1>&6
10037 for ac_hdr
in unistd.h
10039 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10040 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10041 echo "configure:10042: checking for $ac_hdr" >&5
10042 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10043 echo $ac_n "(cached) $ac_c" 1>&6
10045 cat > conftest.
$ac_ext <<EOF
10046 #line 10047 "configure"
10047 #include "confdefs.h"
10050 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10051 { (eval echo configure
:10052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10052 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10053 if test -z "$ac_err"; then
10055 eval "ac_cv_header_$ac_safe=yes"
10058 echo "configure: failed program was:" >&5
10059 cat conftest.
$ac_ext >&5
10061 eval "ac_cv_header_$ac_safe=no"
10065 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10066 echo "$ac_t""yes" 1>&6
10067 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10068 cat >> confdefs.h
<<EOF
10069 #define $ac_tr_hdr 1
10073 echo "$ac_t""no" 1>&6
10077 for ac_hdr
in wchar.h
10079 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10080 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10081 echo "configure:10082: checking for $ac_hdr" >&5
10082 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10083 echo $ac_n "(cached) $ac_c" 1>&6
10085 cat > conftest.
$ac_ext <<EOF
10086 #line 10087 "configure"
10087 #include "confdefs.h"
10090 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10091 { (eval echo configure
:10092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10092 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10093 if test -z "$ac_err"; then
10095 eval "ac_cv_header_$ac_safe=yes"
10098 echo "configure: failed program was:" >&5
10099 cat conftest.
$ac_ext >&5
10101 eval "ac_cv_header_$ac_safe=no"
10105 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10106 echo "$ac_t""yes" 1>&6
10107 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10108 cat >> confdefs.h
<<EOF
10109 #define $ac_tr_hdr 1
10113 echo "$ac_t""no" 1>&6
10118 if test "$ac_cv_header_wchar_h" != "yes"; then
10119 for ac_hdr
in wcstr.h
10121 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10122 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10123 echo "configure:10124: checking for $ac_hdr" >&5
10124 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10125 echo $ac_n "(cached) $ac_c" 1>&6
10127 cat > conftest.
$ac_ext <<EOF
10128 #line 10129 "configure"
10129 #include "confdefs.h"
10132 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10133 { (eval echo configure
:10134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10134 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10135 if test -z "$ac_err"; then
10137 eval "ac_cv_header_$ac_safe=yes"
10140 echo "configure: failed program was:" >&5
10141 cat conftest.
$ac_ext >&5
10143 eval "ac_cv_header_$ac_safe=no"
10147 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10148 echo "$ac_t""yes" 1>&6
10149 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10150 cat >> confdefs.h
<<EOF
10151 #define $ac_tr_hdr 1
10155 echo "$ac_t""no" 1>&6
10161 for ac_hdr
in fnmatch.h
10163 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10164 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10165 echo "configure:10166: checking for $ac_hdr" >&5
10166 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10167 echo $ac_n "(cached) $ac_c" 1>&6
10169 cat > conftest.
$ac_ext <<EOF
10170 #line 10171 "configure"
10171 #include "confdefs.h"
10174 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10175 { (eval echo configure
:10176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10176 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10177 if test -z "$ac_err"; then
10179 eval "ac_cv_header_$ac_safe=yes"
10182 echo "configure: failed program was:" >&5
10183 cat conftest.
$ac_ext >&5
10185 eval "ac_cv_header_$ac_safe=no"
10189 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10190 echo "$ac_t""yes" 1>&6
10191 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10192 cat >> confdefs.h
<<EOF
10193 #define $ac_tr_hdr 1
10197 echo "$ac_t""no" 1>&6
10202 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10203 for ac_func
in fnmatch
10205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10206 echo "configure:10207: checking for $ac_func" >&5
10207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10208 echo $ac_n "(cached) $ac_c" 1>&6
10210 cat > conftest.
$ac_ext <<EOF
10211 #line 10212 "configure"
10212 #include "confdefs.h"
10213 /* System header to define __stub macros and hopefully few prototypes,
10214 which can conflict with char $ac_func(); below. */
10215 #include <assert.h>
10216 /* Override any gcc2 internal prototype to avoid an error. */
10217 /* We use char because int might match the return type of a gcc2
10218 builtin and then its argument prototype would still apply. */
10223 /* The GNU C library defines this for functions which it implements
10224 to always fail with ENOSYS. Some functions are actually named
10225 something starting with __ and the normal name is an alias. */
10226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10234 if { (eval echo configure
:10235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10236 eval "ac_cv_func_$ac_func=yes"
10238 echo "configure: failed program was:" >&5
10239 cat conftest.
$ac_ext >&5
10241 eval "ac_cv_func_$ac_func=no"
10246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10247 echo "$ac_t""yes" 1>&6
10248 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10249 cat >> confdefs.h
<<EOF
10250 #define $ac_tr_func 1
10254 echo "$ac_t""no" 1>&6
10260 for ac_hdr
in langinfo.h
10262 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10263 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10264 echo "configure:10265: checking for $ac_hdr" >&5
10265 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10266 echo $ac_n "(cached) $ac_c" 1>&6
10268 cat > conftest.
$ac_ext <<EOF
10269 #line 10270 "configure"
10270 #include "confdefs.h"
10273 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10274 { (eval echo configure
:10275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10275 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10276 if test -z "$ac_err"; then
10278 eval "ac_cv_header_$ac_safe=yes"
10281 echo "configure: failed program was:" >&5
10282 cat conftest.
$ac_ext >&5
10284 eval "ac_cv_header_$ac_safe=no"
10288 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10289 echo "$ac_t""yes" 1>&6
10290 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10291 cat >> confdefs.h
<<EOF
10292 #define $ac_tr_hdr 1
10296 echo "$ac_t""no" 1>&6
10302 *-pc-os2_emx | *-pc-os2-emx )
10303 if test $ac_cv_header_langinfo_h = "yes"; then
10304 LIBS
="$LIBS -lintl"
10309 if test "$wxUSE_GUI" = "yes"; then
10310 if test "$wxUSE_UNIX" = "yes"; then
10311 for ac_hdr
in X
11/XKBlib.h
10313 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10314 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10315 echo "configure:10316: checking for $ac_hdr" >&5
10316 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10317 echo $ac_n "(cached) $ac_c" 1>&6
10319 cat > conftest.
$ac_ext <<EOF
10320 #line 10321 "configure"
10321 #include "confdefs.h"
10324 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10325 { (eval echo configure
:10326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10326 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10327 if test -z "$ac_err"; then
10329 eval "ac_cv_header_$ac_safe=yes"
10332 echo "configure: failed program was:" >&5
10333 cat conftest.
$ac_ext >&5
10335 eval "ac_cv_header_$ac_safe=no"
10339 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10340 echo "$ac_t""yes" 1>&6
10341 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10342 cat >> confdefs.h
<<EOF
10343 #define $ac_tr_hdr 1
10347 echo "$ac_t""no" 1>&6
10355 echo $ac_n "checking for working const""... $ac_c" 1>&6
10356 echo "configure:10357: checking for working const" >&5
10357 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10358 echo $ac_n "(cached) $ac_c" 1>&6
10360 cat > conftest.
$ac_ext <<EOF
10361 #line 10362 "configure"
10362 #include "confdefs.h"
10366 /* Ultrix mips cc rejects this. */
10367 typedef int charset[2]; const charset x;
10368 /* SunOS 4.1.1 cc rejects this. */
10369 char const *const *ccp;
10371 /* NEC SVR4.0.2 mips cc rejects this. */
10372 struct point {int x, y;};
10373 static struct point const zero = {0,0};
10374 /* AIX XL C 1.02.0.0 rejects this.
10375 It does not let you subtract one const X* pointer from another in an arm
10376 of an if-expression whose if-part is not a constant expression */
10377 const char *g = "string";
10378 ccp = &g + (g ? g-g : 0);
10379 /* HPUX 7.0 cc rejects these. */
10382 ccp = (char const *const *) p;
10383 { /* SCO 3.2v4 cc rejects this. */
10385 char const *s = 0 ? (char *) 0 : (char const *) 0;
10389 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10390 int x[] = {25, 17};
10391 const int *foo = &x[0];
10394 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10395 typedef const int *iptr;
10399 { /* AIX XL C 1.02.0.0 rejects this saying
10400 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10401 struct s { int j; const int *ap[3]; };
10402 struct s *b; b->j = 5;
10404 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10405 const int foo = 10;
10410 if { (eval echo configure
:10411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10414 echo "configure: failed program was:" >&5
10415 cat conftest.
$ac_ext >&5
10422 echo "$ac_t""$ac_cv_c_const" 1>&6
10423 if test $ac_cv_c_const = no
; then
10424 cat >> confdefs.h
<<\EOF
10430 echo $ac_n "checking for inline""... $ac_c" 1>&6
10431 echo "configure:10432: checking for inline" >&5
10432 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10433 echo $ac_n "(cached) $ac_c" 1>&6
10436 for ac_kw
in inline __inline__ __inline
; do
10437 cat > conftest.
$ac_ext <<EOF
10438 #line 10439 "configure"
10439 #include "confdefs.h"
10445 if { (eval echo configure
:10446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10447 ac_cv_c_inline
=$ac_kw; break
10449 echo "configure: failed program was:" >&5
10450 cat conftest.
$ac_ext >&5
10457 echo "$ac_t""$ac_cv_c_inline" 1>&6
10458 case "$ac_cv_c_inline" in
10460 no
) cat >> confdefs.h
<<\EOF
10464 *) cat >> confdefs.h
<<EOF
10465 #define inline $ac_cv_c_inline
10471 echo $ac_n "checking size of char""... $ac_c" 1>&6
10472 echo "configure:10473: checking size of char" >&5
10473 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10474 echo $ac_n "(cached) $ac_c" 1>&6
10476 if test "$cross_compiling" = yes; then
10477 ac_cv_sizeof_char
=1
10479 cat > conftest.
$ac_ext <<EOF
10480 #line 10481 "configure"
10481 #include "confdefs.h"
10483 #include <sys/types.h>
10486 FILE *f=fopen("conftestval", "w");
10488 fprintf(f, "%d\n", sizeof(char));
10492 if { (eval echo configure
:10493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10494 ac_cv_sizeof_char
=`cat conftestval`
10496 echo "configure: failed program was:" >&5
10497 cat conftest.
$ac_ext >&5
10499 ac_cv_sizeof_char
=0
10505 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10506 cat >> confdefs.h
<<EOF
10507 #define SIZEOF_CHAR $ac_cv_sizeof_char
10511 echo $ac_n "checking size of short""... $ac_c" 1>&6
10512 echo "configure:10513: checking size of short" >&5
10513 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10514 echo $ac_n "(cached) $ac_c" 1>&6
10516 if test "$cross_compiling" = yes; then
10517 ac_cv_sizeof_short
=2
10519 cat > conftest.
$ac_ext <<EOF
10520 #line 10521 "configure"
10521 #include "confdefs.h"
10523 #include <sys/types.h>
10526 FILE *f=fopen("conftestval", "w");
10528 fprintf(f, "%d\n", sizeof(short));
10532 if { (eval echo configure
:10533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10534 ac_cv_sizeof_short
=`cat conftestval`
10536 echo "configure: failed program was:" >&5
10537 cat conftest.
$ac_ext >&5
10539 ac_cv_sizeof_short
=0
10545 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10546 cat >> confdefs.h
<<EOF
10547 #define SIZEOF_SHORT $ac_cv_sizeof_short
10551 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10552 echo "configure:10553: checking size of void *" >&5
10553 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10554 echo $ac_n "(cached) $ac_c" 1>&6
10556 if test "$cross_compiling" = yes; then
10557 ac_cv_sizeof_void_p
=4
10559 cat > conftest.
$ac_ext <<EOF
10560 #line 10561 "configure"
10561 #include "confdefs.h"
10563 #include <sys/types.h>
10566 FILE *f=fopen("conftestval", "w");
10568 fprintf(f, "%d\n", sizeof(void *));
10572 if { (eval echo configure
:10573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10574 ac_cv_sizeof_void_p
=`cat conftestval`
10576 echo "configure: failed program was:" >&5
10577 cat conftest.
$ac_ext >&5
10579 ac_cv_sizeof_void_p
=0
10585 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10586 cat >> confdefs.h
<<EOF
10587 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10591 echo $ac_n "checking size of int""... $ac_c" 1>&6
10592 echo "configure:10593: checking size of int" >&5
10593 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10594 echo $ac_n "(cached) $ac_c" 1>&6
10596 if test "$cross_compiling" = yes; then
10599 cat > conftest.
$ac_ext <<EOF
10600 #line 10601 "configure"
10601 #include "confdefs.h"
10603 #include <sys/types.h>
10606 FILE *f=fopen("conftestval", "w");
10608 fprintf(f, "%d\n", sizeof(int));
10612 if { (eval echo configure
:10613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10614 ac_cv_sizeof_int
=`cat conftestval`
10616 echo "configure: failed program was:" >&5
10617 cat conftest.
$ac_ext >&5
10625 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10626 cat >> confdefs.h
<<EOF
10627 #define SIZEOF_INT $ac_cv_sizeof_int
10631 echo $ac_n "checking size of long""... $ac_c" 1>&6
10632 echo "configure:10633: checking size of long" >&5
10633 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10634 echo $ac_n "(cached) $ac_c" 1>&6
10636 if test "$cross_compiling" = yes; then
10637 ac_cv_sizeof_long
=4
10639 cat > conftest.
$ac_ext <<EOF
10640 #line 10641 "configure"
10641 #include "confdefs.h"
10643 #include <sys/types.h>
10646 FILE *f=fopen("conftestval", "w");
10648 fprintf(f, "%d\n", sizeof(long));
10652 if { (eval echo configure
:10653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10654 ac_cv_sizeof_long
=`cat conftestval`
10656 echo "configure: failed program was:" >&5
10657 cat conftest.
$ac_ext >&5
10659 ac_cv_sizeof_long
=0
10665 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10666 cat >> confdefs.h
<<EOF
10667 #define SIZEOF_LONG $ac_cv_sizeof_long
10674 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10675 echo "configure:10676: checking size of long long" >&5
10676 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10677 echo $ac_n "(cached) $ac_c" 1>&6
10679 if test "$cross_compiling" = yes; then
10680 ac_cv_sizeof_long_long
=8
10682 cat > conftest.
$ac_ext <<EOF
10683 #line 10684 "configure"
10684 #include "confdefs.h"
10686 #include <sys/types.h>
10689 FILE *f=fopen("conftestval", "w");
10691 fprintf(f, "%d\n", sizeof(long long));
10695 if { (eval echo configure
:10696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10697 ac_cv_sizeof_long_long
=`cat conftestval`
10699 echo "configure: failed program was:" >&5
10700 cat conftest.
$ac_ext >&5
10702 ac_cv_sizeof_long_long
=0
10708 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10709 cat >> confdefs.h
<<EOF
10710 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10716 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10717 echo "configure:10718: checking size of long long" >&5
10718 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10719 echo $ac_n "(cached) $ac_c" 1>&6
10721 if test "$cross_compiling" = yes; then
10722 ac_cv_sizeof_long_long
=0
10724 cat > conftest.
$ac_ext <<EOF
10725 #line 10726 "configure"
10726 #include "confdefs.h"
10728 #include <sys/types.h>
10731 FILE *f=fopen("conftestval", "w");
10733 fprintf(f, "%d\n", sizeof(long long));
10737 if { (eval echo configure
:10738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10739 ac_cv_sizeof_long_long
=`cat conftestval`
10741 echo "configure: failed program was:" >&5
10742 cat conftest.
$ac_ext >&5
10744 ac_cv_sizeof_long_long
=0
10750 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10751 cat >> confdefs.h
<<EOF
10752 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10756 if test "$ac_cv_sizeof_long_long" != "0"; then
10757 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10761 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10762 echo "configure:10763: checking size of long long" >&5
10763 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10764 echo $ac_n "(cached) $ac_c" 1>&6
10766 if test "$cross_compiling" = yes; then
10767 ac_cv_sizeof_long_long
=0
10769 cat > conftest.
$ac_ext <<EOF
10770 #line 10771 "configure"
10771 #include "confdefs.h"
10773 #include <sys/types.h>
10776 FILE *f=fopen("conftestval", "w");
10778 fprintf(f, "%d\n", sizeof(long long));
10782 if { (eval echo configure
:10783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10784 ac_cv_sizeof_long_long
=`cat conftestval`
10786 echo "configure: failed program was:" >&5
10787 cat conftest.
$ac_ext >&5
10789 ac_cv_sizeof_long_long
=0
10795 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10796 cat >> confdefs.h
<<EOF
10797 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10803 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10804 echo "configure:10805: checking size of wchar_t" >&5
10805 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10806 echo $ac_n "(cached) $ac_c" 1>&6
10809 if test "$cross_compiling" = yes; then
10813 wx_cv_sizeof_wchar_t
=0
10816 wx_cv_sizeof_wchar_t
=4
10822 cat > conftest.
$ac_ext <<EOF
10823 #line 10824 "configure"
10824 #include "confdefs.h"
10826 /* DJGPP only has fake wchar_t: */
10828 # error "fake wchar_t"
10830 #ifdef HAVE_WCHAR_H
10832 # include <stddef.h>
10834 # include <wchar.h>
10836 #ifdef HAVE_STDLIB_H
10837 # include <stdlib.h>
10842 FILE *f=fopen("conftestval", "w");
10844 fprintf(f, "%i", sizeof(wchar_t));
10849 if { (eval echo configure
:10850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10851 wx_cv_sizeof_wchar_t
=`cat conftestval`
10853 echo "configure: failed program was:" >&5
10854 cat conftest.
$ac_ext >&5
10856 wx_cv_sizeof_wchar_t
=0
10864 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10866 cat >> confdefs.h
<<EOF
10867 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10871 # Check whether --enable-largefile or --disable-largefile was given.
10872 if test "${enable_largefile+set}" = set; then
10873 enableval
="$enable_largefile"
10877 if test "$enable_largefile" != no
; then
10880 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10881 echo "configure:10882: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10882 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10883 echo $ac_n "(cached) $ac_c" 1>&6
10886 cat > conftest.
$ac_ext <<EOF
10887 #line 10888 "configure"
10888 #include "confdefs.h"
10889 #define _FILE_OFFSET_BITS 64
10890 #include <sys/types.h>
10893 unsigned int field: sizeof(off_t) == 8;
10898 if { (eval echo configure
:10899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10900 ac_cv_sys_file_offset_bits
=64
10902 echo "configure: failed program was:" >&5
10903 cat conftest.
$ac_ext >&5
10905 ac_cv_sys_file_offset_bits
=no
10912 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10914 if test "$ac_cv_sys_file_offset_bits" != no
; then
10916 cat >> confdefs.h
<<EOF
10917 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10922 if test "x$wx_largefile" != "xyes"; then
10924 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10925 echo "configure:10926: checking for _LARGE_FILES value needed for large files" >&5
10926 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10927 echo $ac_n "(cached) $ac_c" 1>&6
10930 cat > conftest.
$ac_ext <<EOF
10931 #line 10932 "configure"
10932 #include "confdefs.h"
10933 #define _LARGE_FILES 1
10934 #include <sys/types.h>
10937 unsigned int field: sizeof(off_t) == 8;
10942 if { (eval echo configure
:10943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10944 ac_cv_sys_large_files
=1
10946 echo "configure: failed program was:" >&5
10947 cat conftest.
$ac_ext >&5
10949 ac_cv_sys_large_files
=no
10956 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10958 if test "$ac_cv_sys_large_files" != no
; then
10960 cat >> confdefs.h
<<EOF
10961 #define _LARGE_FILES $ac_cv_sys_large_files
10968 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10969 echo "configure:10970: checking if large file support is available" >&5
10970 if test "x$wx_largefile" = "xyes"; then
10971 cat >> confdefs.h
<<\EOF
10972 #define HAVE_LARGEFILE_SUPPORT 1
10976 echo "$ac_t""$wx_largefile" 1>&6
10980 if test "x$wx_largefile" = "xyes"; then
10981 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10982 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10984 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
10986 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10989 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10990 echo "configure:10991: checking whether byte ordering is bigendian" >&5
10991 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10992 echo $ac_n "(cached) $ac_c" 1>&6
10994 ac_cv_c_bigendian
=unknown
10995 # See if sys/param.h defines the BYTE_ORDER macro.
10996 cat > conftest.
$ac_ext <<EOF
10997 #line 10998 "configure"
10998 #include "confdefs.h"
10999 #include <sys/types.h>
11000 #include <sys/param.h>
11003 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
11004 bogus endian macros
11008 if { (eval echo configure
:11009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11010 # It does; now see whether it defined to BIG_ENDIAN or not.
11011 cat > conftest.
$ac_ext <<EOF
11012 #line 11013 "configure"
11013 #include "confdefs.h"
11014 #include <sys/types.h>
11015 #include <sys/param.h>
11018 #if BYTE_ORDER != BIG_ENDIAN
11023 if { (eval echo configure
:11024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11025 ac_cv_c_bigendian
=yes
11027 echo "configure: failed program was:" >&5
11028 cat conftest.
$ac_ext >&5
11030 ac_cv_c_bigendian
=no
11034 echo "configure: failed program was:" >&5
11035 cat conftest.
$ac_ext >&5
11038 if test $ac_cv_c_bigendian = unknown
; then
11039 if test "$cross_compiling" = yes; then
11040 ac_cv_c_bigendian
=unknown
11042 cat > conftest.
$ac_ext <<EOF
11043 #line 11044 "configure"
11044 #include "confdefs.h"
11046 /* Are we little or big endian? From Harbison&Steele. */
11050 char c[sizeof (long)];
11053 exit (u.c[sizeof (long) - 1] == 1);
11056 if { (eval echo configure
:11057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11058 ac_cv_c_bigendian
=no
11060 echo "configure: failed program was:" >&5
11061 cat conftest.
$ac_ext >&5
11063 ac_cv_c_bigendian
=yes
11071 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11072 if test $ac_cv_c_bigendian = unknown
; then
11073 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
11075 if test $ac_cv_c_bigendian = yes; then
11076 cat >> confdefs.h
<<\EOF
11077 #define WORDS_BIGENDIAN 1
11083 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11084 echo "configure:11085: checking how to run the C++ preprocessor" >&5
11085 if test -z "$CXXCPP"; then
11086 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11087 echo $ac_n "(cached) $ac_c" 1>&6
11090 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11091 ac_cpp
='$CXXCPP $CPPFLAGS'
11092 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11093 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11094 cross_compiling
=$ac_cv_prog_cxx_cross
11095 CXXCPP
="${CXX-g++} -E"
11096 cat > conftest.
$ac_ext <<EOF
11097 #line 11098 "configure"
11098 #include "confdefs.h"
11099 #include <stdlib.h>
11101 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11102 { (eval echo configure
:11103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11103 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11104 if test -z "$ac_err"; then
11108 echo "configure: failed program was:" >&5
11109 cat conftest.
$ac_ext >&5
11114 ac_cv_prog_CXXCPP
="$CXXCPP"
11116 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11117 ac_cpp
='$CXXCPP $CPPFLAGS'
11118 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11119 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11120 cross_compiling
=$ac_cv_prog_cxx_cross
11123 CXXCPP
="$ac_cv_prog_CXXCPP"
11124 echo "$ac_t""$CXXCPP" 1>&6
11127 if test "$cross_compiling" = "yes"; then
11128 cat >> confdefs.h
<<\EOF
11129 #define wxUSE_IOSTREAMH 1
11135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11136 ac_cpp
='$CXXCPP $CPPFLAGS'
11137 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11138 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11139 cross_compiling
=$ac_cv_prog_cxx_cross
11142 for ac_hdr
in iostream
11144 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11145 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11146 echo "configure:11147: checking for $ac_hdr" >&5
11147 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11148 echo $ac_n "(cached) $ac_c" 1>&6
11150 cat > conftest.
$ac_ext <<EOF
11151 #line 11152 "configure"
11152 #include "confdefs.h"
11155 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11156 { (eval echo configure
:11157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11157 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11158 if test -z "$ac_err"; then
11160 eval "ac_cv_header_$ac_safe=yes"
11163 echo "configure: failed program was:" >&5
11164 cat conftest.
$ac_ext >&5
11166 eval "ac_cv_header_$ac_safe=no"
11170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11171 echo "$ac_t""yes" 1>&6
11172 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11173 cat >> confdefs.h
<<EOF
11174 #define $ac_tr_hdr 1
11178 echo "$ac_t""no" 1>&6
11183 if test "$ac_cv_header_iostream" = "yes" ; then
11186 cat >> confdefs.h
<<\EOF
11187 #define wxUSE_IOSTREAMH 1
11193 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11194 ac_cpp
='$CPP $CPPFLAGS'
11195 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11196 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11197 cross_compiling
=$ac_cv_prog_cc_cross
11203 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11204 echo "configure:11205: checking if C++ compiler supports bool" >&5
11205 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11206 echo $ac_n "(cached) $ac_c" 1>&6
11211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11212 ac_cpp
='$CXXCPP $CPPFLAGS'
11213 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11214 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11215 cross_compiling
=$ac_cv_prog_cxx_cross
11218 cat > conftest.
$ac_ext <<EOF
11219 #line 11220 "configure"
11220 #include "confdefs.h"
11231 if { (eval echo configure
:11232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11237 echo "configure: failed program was:" >&5
11238 cat conftest.
$ac_ext >&5
11248 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11249 ac_cpp
='$CPP $CPPFLAGS'
11250 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11251 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11252 cross_compiling
=$ac_cv_prog_cc_cross
11257 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11259 if test "$wx_cv_cpp_bool" = "yes"; then
11260 cat >> confdefs.h
<<\EOF
11261 #define HAVE_BOOL 1
11268 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11269 echo "configure:11270: checking if C++ compiler supports the explicit keyword" >&5
11270 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11271 echo $ac_n "(cached) $ac_c" 1>&6
11276 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11277 ac_cpp
='$CXXCPP $CPPFLAGS'
11278 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11279 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11280 cross_compiling
=$ac_cv_prog_cxx_cross
11283 cat > conftest.
$ac_ext <<EOF
11284 #line 11285 "configure"
11285 #include "confdefs.h"
11287 class Foo { public: explicit Foo(int) {} };
11295 if { (eval echo configure
:11296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11298 cat > conftest.
$ac_ext <<EOF
11299 #line 11300 "configure"
11300 #include "confdefs.h"
11302 class Foo { public: explicit Foo(int) {} };
11303 static void TakeFoo(const Foo& foo) { }
11312 if { (eval echo configure
:11313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11316 echo "configure: failed program was:" >&5
11317 cat conftest.
$ac_ext >&5
11325 echo "configure: failed program was:" >&5
11326 cat conftest.
$ac_ext >&5
11334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11335 ac_cpp
='$CPP $CPPFLAGS'
11336 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11337 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11338 cross_compiling
=$ac_cv_prog_cc_cross
11343 echo "$ac_t""$wx_cv_explicit" 1>&6
11345 if test "$wx_cv_explicit" = "yes"; then
11346 cat >> confdefs.h
<<\EOF
11347 #define HAVE_EXPLICIT 1
11355 /usr/local/include \
11357 /usr/Motif-1.2/include \
11358 /usr/Motif-2.1/include \
11360 /usr/include/Motif1.2 \
11361 /opt/xpm/include/X11 \
11362 /opt/GBxpm/include/ \
11363 /opt/GBxpm/X11/include/ \
11365 /usr/Motif1.2/include \
11367 /usr/openwin/include \
11371 /usr/X11R6/include \
11372 /usr/X11R6.4/include \
11373 /usr/X11R5/include \
11374 /usr/X11R4/include \
11376 /usr/include/X11R6 \
11377 /usr/include/X11R5 \
11378 /usr/include/X11R4 \
11380 /usr/local/X11R6/include \
11381 /usr/local/X11R5/include \
11382 /usr/local/X11R4/include \
11384 /usr/local/include/X11R6 \
11385 /usr/local/include/X11R5 \
11386 /usr/local/include/X11R4 \
11390 /usr/local/X11/include \
11391 /usr/local/include/X11 \
11393 /usr/X386/include \
11394 /usr/x386/include \
11395 /usr/XFree86/include/X11 \
11397 X:/XFree86/include \
11398 X:/XFree86/include/X11 \
11401 /usr/local/include/gtk \
11402 /usr/include/glib \
11403 /usr/local/include/glib \
11406 /usr/local/include/qt \
11408 /usr/include/windows \
11409 /usr/include/wine \
11410 /usr/local/include/wine \
11412 /usr/unsupported/include \
11413 /usr/athena/include \
11414 /usr/local/x11r5/include \
11415 /usr/lpp/Xamples/include \
11417 /usr/openwin/share/include"
11419 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11422 cat > confcache
<<\EOF
11423 # This file is a shell script that caches the results of configure
11424 # tests run on this system so they can be shared between configure
11425 # scripts and configure runs. It is not useful on other systems.
11426 # If it contains results you don't want to keep, you may remove or edit it.
11428 # By default, configure uses ./config.cache as the cache file,
11429 # creating it if it does not exist already. You can give configure
11430 # the --cache-file=FILE option to use a different cache file; that is
11431 # what configure does when it calls configure scripts in
11432 # subdirectories, so they share the cache.
11433 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11434 # config.status only pays attention to the cache file if you give it the
11435 # --recheck option to rerun configure.
11438 # The following way of writing the cache mishandles newlines in values,
11439 # but we know of no workaround that is simple, portable, and efficient.
11440 # So, don't put newlines in cache variables' values.
11441 # Ultrix sh set writes to stderr and can't be redirected directly,
11442 # and sets the high bit in the cache file unless we assign to the vars.
11444 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11446 # `set' does not quote correctly, so add quotes (double-quote substitution
11447 # turns \\\\ into \\, and sed turns \\ into \).
11449 -e "s/'/'\\\\''/g" \
11450 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11453 # `set' quotes correctly as required by POSIX, so do not add quotes.
11454 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11457 if cmp -s $cache_file confcache
; then
11460 if test -w $cache_file; then
11461 echo "updating cache $cache_file"
11462 cat confcache
> $cache_file
11464 echo "not updating unwritable cache $cache_file"
11470 if test "$USE_LINUX" = 1; then
11471 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11472 echo "configure:11473: checking for glibc 2.1 or later" >&5
11473 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11474 echo $ac_n "(cached) $ac_c" 1>&6
11477 cat > conftest.
$ac_ext <<EOF
11478 #line 11479 "configure"
11479 #include "confdefs.h"
11480 #include <features.h>
11483 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11484 #error not glibc2.1
11489 if { (eval echo configure
:11490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11492 wx_cv_lib_glibc21
=yes
11495 echo "configure: failed program was:" >&5
11496 cat conftest.
$ac_ext >&5
11499 wx_cv_lib_glibc21
=no
11507 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11508 if test "$wx_cv_lib_glibc21" = "yes"; then
11509 cat >> confdefs.h
<<\EOF
11510 #define wxHAVE_GLIBC2 1
11516 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11517 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11518 cat >> confdefs.h
<<\EOF
11519 #define _GNU_SOURCE 1
11528 if test "$wxUSE_REGEX" != "no"; then
11529 cat >> confdefs.h
<<\EOF
11530 #define wxUSE_REGEX 1
11534 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11535 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11536 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11537 echo "configure:11538: checking for regex.h" >&5
11538 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11539 echo $ac_n "(cached) $ac_c" 1>&6
11541 cat > conftest.
$ac_ext <<EOF
11542 #line 11543 "configure"
11543 #include "confdefs.h"
11546 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11547 { (eval echo configure
:11548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11548 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11549 if test -z "$ac_err"; then
11551 eval "ac_cv_header_$ac_safe=yes"
11554 echo "configure: failed program was:" >&5
11555 cat conftest.
$ac_ext >&5
11557 eval "ac_cv_header_$ac_safe=no"
11561 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11562 echo "$ac_t""yes" 1>&6
11563 for ac_func
in regcomp
11565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11566 echo "configure:11567: checking for $ac_func" >&5
11567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11568 echo $ac_n "(cached) $ac_c" 1>&6
11570 cat > conftest.
$ac_ext <<EOF
11571 #line 11572 "configure"
11572 #include "confdefs.h"
11573 /* System header to define __stub macros and hopefully few prototypes,
11574 which can conflict with char $ac_func(); below. */
11575 #include <assert.h>
11576 /* Override any gcc2 internal prototype to avoid an error. */
11577 /* We use char because int might match the return type of a gcc2
11578 builtin and then its argument prototype would still apply. */
11583 /* The GNU C library defines this for functions which it implements
11584 to always fail with ENOSYS. Some functions are actually named
11585 something starting with __ and the normal name is an alias. */
11586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11594 if { (eval echo configure
:11595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11596 eval "ac_cv_func_$ac_func=yes"
11598 echo "configure: failed program was:" >&5
11599 cat conftest.
$ac_ext >&5
11601 eval "ac_cv_func_$ac_func=no"
11606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11607 echo "$ac_t""yes" 1>&6
11608 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11609 cat >> confdefs.h
<<EOF
11610 #define $ac_tr_func 1
11614 echo "$ac_t""no" 1>&6
11619 echo "$ac_t""no" 1>&6
11623 if test "x$ac_cv_func_regcomp" != "xyes"; then
11624 if test "$wxUSE_REGEX" = "sys" ; then
11625 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11627 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11628 wxUSE_REGEX
=builtin
11635 if test "$wxUSE_REGEX" = "builtin" ; then
11636 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11643 if test "$wxUSE_ZLIB" != "no" ; then
11644 cat >> confdefs.h
<<\EOF
11645 #define wxUSE_ZLIB 1
11649 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11650 if test "$USE_DARWIN" = 1; then
11651 system_zlib_h_ok
="yes"
11653 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11654 echo "configure:11655: checking for zlib.h >= 1.1.4" >&5
11655 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11656 echo $ac_n "(cached) $ac_c" 1>&6
11658 if test "$cross_compiling" = yes; then
11659 unset ac_cv_header_zlib_h
11662 cat > conftest.
$ac_ext <<EOF
11663 #line 11664 "configure"
11664 #include "confdefs.h"
11672 FILE *f=fopen("conftestval", "w");
11675 ZLIB_VERSION[0] == '1' &&
11676 (ZLIB_VERSION[2] > '1' ||
11677 (ZLIB_VERSION[2] == '1' &&
11678 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11684 if { (eval echo configure
:11685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11686 ac_cv_header_zlib_h
=`cat conftestval`
11688 echo "configure: failed program was:" >&5
11689 cat conftest.
$ac_ext >&5
11691 ac_cv_header_zlib_h
=no
11699 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11700 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11701 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11702 echo "configure:11703: checking for zlib.h" >&5
11703 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11704 echo $ac_n "(cached) $ac_c" 1>&6
11706 cat > conftest.
$ac_ext <<EOF
11707 #line 11708 "configure"
11708 #include "confdefs.h"
11711 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11712 { (eval echo configure
:11713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11713 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11714 if test -z "$ac_err"; then
11716 eval "ac_cv_header_$ac_safe=yes"
11719 echo "configure: failed program was:" >&5
11720 cat conftest.
$ac_ext >&5
11722 eval "ac_cv_header_$ac_safe=no"
11726 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11727 echo "$ac_t""yes" 1>&6
11730 echo "$ac_t""no" 1>&6
11734 system_zlib_h_ok
=$ac_cv_header_zlib_h
11737 if test "$system_zlib_h_ok" = "yes"; then
11738 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11739 echo "configure:11740: checking for deflate in -lz" >&5
11740 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11741 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11742 echo $ac_n "(cached) $ac_c" 1>&6
11744 ac_save_LIBS
="$LIBS"
11746 cat > conftest.
$ac_ext <<EOF
11747 #line 11748 "configure"
11748 #include "confdefs.h"
11749 /* Override any gcc2 internal prototype to avoid an error. */
11750 /* We use char because int might match the return type of a gcc2
11751 builtin and then its argument prototype would still apply. */
11758 if { (eval echo configure
:11759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11760 eval "ac_cv_lib_$ac_lib_var=yes"
11762 echo "configure: failed program was:" >&5
11763 cat conftest.
$ac_ext >&5
11765 eval "ac_cv_lib_$ac_lib_var=no"
11768 LIBS
="$ac_save_LIBS"
11771 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11772 echo "$ac_t""yes" 1>&6
11775 echo "$ac_t""no" 1>&6
11780 if test "x$ZLIB_LINK" = "x" ; then
11781 if test "$wxUSE_ZLIB" = "sys" ; then
11782 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11784 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11792 if test "$wxUSE_ZLIB" = "builtin" ; then
11793 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11800 if test "$wxUSE_LIBPNG" != "no" ; then
11801 cat >> confdefs.h
<<\EOF
11802 #define wxUSE_LIBPNG 1
11806 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11807 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11811 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11812 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11813 wxUSE_LIBPNG
=builtin
11816 if test "$wxUSE_MGL" != 1 ; then
11817 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11818 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11819 echo "configure:11820: checking for png.h > 0.90" >&5
11820 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11821 echo $ac_n "(cached) $ac_c" 1>&6
11823 if test "$cross_compiling" = yes; then
11824 unset ac_cv_header_png_h
11827 cat > conftest.
$ac_ext <<EOF
11828 #line 11829 "configure"
11829 #include "confdefs.h"
11836 FILE *f=fopen("conftestval", "w");
11839 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11844 if { (eval echo configure
:11845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11846 ac_cv_header_png_h
=`cat conftestval`
11848 echo "configure: failed program was:" >&5
11849 cat conftest.
$ac_ext >&5
11851 ac_cv_header_png_h
=no
11859 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11860 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11861 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11862 echo "configure:11863: checking for png.h" >&5
11863 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11864 echo $ac_n "(cached) $ac_c" 1>&6
11866 cat > conftest.
$ac_ext <<EOF
11867 #line 11868 "configure"
11868 #include "confdefs.h"
11871 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11872 { (eval echo configure
:11873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11873 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11874 if test -z "$ac_err"; then
11876 eval "ac_cv_header_$ac_safe=yes"
11879 echo "configure: failed program was:" >&5
11880 cat conftest.
$ac_ext >&5
11882 eval "ac_cv_header_$ac_safe=no"
11886 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11887 echo "$ac_t""yes" 1>&6
11890 echo "$ac_t""no" 1>&6
11894 if test "$ac_cv_header_png_h" = "yes"; then
11895 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11896 echo "configure:11897: checking for png_check_sig in -lpng" >&5
11897 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11898 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11899 echo $ac_n "(cached) $ac_c" 1>&6
11901 ac_save_LIBS
="$LIBS"
11902 LIBS
="-lpng -lz -lm $LIBS"
11903 cat > conftest.
$ac_ext <<EOF
11904 #line 11905 "configure"
11905 #include "confdefs.h"
11906 /* Override any gcc2 internal prototype to avoid an error. */
11907 /* We use char because int might match the return type of a gcc2
11908 builtin and then its argument prototype would still apply. */
11909 char png_check_sig();
11915 if { (eval echo configure
:11916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11917 eval "ac_cv_lib_$ac_lib_var=yes"
11919 echo "configure: failed program was:" >&5
11920 cat conftest.
$ac_ext >&5
11922 eval "ac_cv_lib_$ac_lib_var=no"
11925 LIBS
="$ac_save_LIBS"
11928 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11929 echo "$ac_t""yes" 1>&6
11932 echo "$ac_t""no" 1>&6
11937 if test "x$PNG_LINK" = "x" ; then
11938 if test "$wxUSE_LIBPNG" = "sys" ; then
11939 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11941 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
11942 wxUSE_LIBPNG
=builtin
11950 if test "$wxUSE_LIBPNG" = "builtin" ; then
11951 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11960 if test "$wxUSE_LIBJPEG" != "no" ; then
11961 cat >> confdefs.h
<<\EOF
11962 #define wxUSE_LIBJPEG 1
11966 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11967 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11971 if test "$wxUSE_MGL" != 1 ; then
11972 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11973 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11974 echo "configure:11975: checking for jpeglib.h" >&5
11975 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11976 echo $ac_n "(cached) $ac_c" 1>&6
11978 cat > conftest.
$ac_ext <<EOF
11979 #line 11980 "configure"
11980 #include "confdefs.h"
11982 #undef HAVE_STDLIB_H
11984 #include <jpeglib.h>
11991 if { (eval echo configure
:11992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11993 ac_cv_header_jpeglib_h
=yes
11995 echo "configure: failed program was:" >&5
11996 cat conftest.
$ac_ext >&5
11998 ac_cv_header_jpeglib_h
=no
12005 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
12007 if test "$ac_cv_header_jpeglib_h" = "yes"; then
12008 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
12009 echo "configure:12010: checking for jpeg_read_header in -ljpeg" >&5
12010 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
12011 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12012 echo $ac_n "(cached) $ac_c" 1>&6
12014 ac_save_LIBS
="$LIBS"
12015 LIBS
="-ljpeg $LIBS"
12016 cat > conftest.
$ac_ext <<EOF
12017 #line 12018 "configure"
12018 #include "confdefs.h"
12019 /* Override any gcc2 internal prototype to avoid an error. */
12020 /* We use char because int might match the return type of a gcc2
12021 builtin and then its argument prototype would still apply. */
12022 char jpeg_read_header();
12028 if { (eval echo configure
:12029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12030 eval "ac_cv_lib_$ac_lib_var=yes"
12032 echo "configure: failed program was:" >&5
12033 cat conftest.
$ac_ext >&5
12035 eval "ac_cv_lib_$ac_lib_var=no"
12038 LIBS
="$ac_save_LIBS"
12041 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12042 echo "$ac_t""yes" 1>&6
12043 JPEG_LINK
=" -ljpeg"
12045 echo "$ac_t""no" 1>&6
12050 if test "x$JPEG_LINK" = "x" ; then
12051 if test "$wxUSE_LIBJPEG" = "sys" ; then
12052 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
12054 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
12055 wxUSE_LIBJPEG
=builtin
12063 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12064 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12071 TIFF_PREREQ_LINKS
=-lm
12072 if test "$wxUSE_LIBTIFF" != "no" ; then
12073 cat >> confdefs.h
<<\EOF
12074 #define wxUSE_LIBTIFF 1
12078 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12079 if test "$wxUSE_LIBJPEG" = "sys"; then
12080 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12082 if test "$wxUSE_ZLIB" = "sys"; then
12083 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12085 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12086 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12087 echo "configure:12088: checking for tiffio.h" >&5
12088 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12089 echo $ac_n "(cached) $ac_c" 1>&6
12091 cat > conftest.
$ac_ext <<EOF
12092 #line 12093 "configure"
12093 #include "confdefs.h"
12094 #include <tiffio.h>
12096 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12097 { (eval echo configure
:12098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12098 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12099 if test -z "$ac_err"; then
12101 eval "ac_cv_header_$ac_safe=yes"
12104 echo "configure: failed program was:" >&5
12105 cat conftest.
$ac_ext >&5
12107 eval "ac_cv_header_$ac_safe=no"
12111 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12112 echo "$ac_t""yes" 1>&6
12113 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12114 echo "configure:12115: checking for TIFFError in -ltiff" >&5
12115 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12116 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12117 echo $ac_n "(cached) $ac_c" 1>&6
12119 ac_save_LIBS
="$LIBS"
12120 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12121 cat > conftest.
$ac_ext <<EOF
12122 #line 12123 "configure"
12123 #include "confdefs.h"
12124 /* Override any gcc2 internal prototype to avoid an error. */
12125 /* We use char because int might match the return type of a gcc2
12126 builtin and then its argument prototype would still apply. */
12133 if { (eval echo configure
:12134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12135 eval "ac_cv_lib_$ac_lib_var=yes"
12137 echo "configure: failed program was:" >&5
12138 cat conftest.
$ac_ext >&5
12140 eval "ac_cv_lib_$ac_lib_var=no"
12143 LIBS
="$ac_save_LIBS"
12146 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12147 echo "$ac_t""yes" 1>&6
12148 TIFF_LINK
=" -ltiff"
12150 echo "$ac_t""no" 1>&6
12155 echo "$ac_t""no" 1>&6
12159 if test "x$TIFF_LINK" = "x" ; then
12160 if test "$wxUSE_LIBTIFF" = "sys" ; then
12161 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12163 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12164 wxUSE_LIBTIFF
=builtin
12171 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12172 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12184 if test "$USE_WIN32" = 1 ; then
12185 for ac_hdr
in w32api.h
12187 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12188 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12189 echo "configure:12190: checking for $ac_hdr" >&5
12190 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12191 echo $ac_n "(cached) $ac_c" 1>&6
12193 cat > conftest.
$ac_ext <<EOF
12194 #line 12195 "configure"
12195 #include "confdefs.h"
12198 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12199 { (eval echo configure
:12200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12200 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12201 if test -z "$ac_err"; then
12203 eval "ac_cv_header_$ac_safe=yes"
12206 echo "configure: failed program was:" >&5
12207 cat conftest.
$ac_ext >&5
12209 eval "ac_cv_header_$ac_safe=no"
12213 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12214 echo "$ac_t""yes" 1>&6
12215 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12216 cat >> confdefs.h
<<EOF
12217 #define $ac_tr_hdr 1
12221 echo "$ac_t""no" 1>&6
12225 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12226 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12227 echo "configure:12228: checking for windows.h" >&5
12228 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12229 echo $ac_n "(cached) $ac_c" 1>&6
12231 cat > conftest.
$ac_ext <<EOF
12232 #line 12233 "configure"
12233 #include "confdefs.h"
12234 #include <windows.h>
12236 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12237 { (eval echo configure
:12238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12238 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12239 if test -z "$ac_err"; then
12241 eval "ac_cv_header_$ac_safe=yes"
12244 echo "configure: failed program was:" >&5
12245 cat conftest.
$ac_ext >&5
12247 eval "ac_cv_header_$ac_safe=no"
12251 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12252 echo "$ac_t""yes" 1>&6
12255 echo "$ac_t""no" 1>&6
12257 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12262 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12263 echo "configure:12264: checking if w32api has good enough MSIE support" >&5
12264 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12265 echo $ac_n "(cached) $ac_c" 1>&6
12268 cat > conftest.
$ac_ext <<EOF
12269 #line 12270 "configure"
12270 #include "confdefs.h"
12271 #include <w32api.h>
12274 #define wxCHECK_W32API_VERSION( major, minor ) \
12275 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12276 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12277 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12279 #if !wxCHECK_W32API_VERSION(1,1)
12280 #error You need w32api 1.1 or newer
12285 if { (eval echo configure
:12286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12288 wx_cv_w32api_win32_ie
=yes
12291 echo "configure: failed program was:" >&5
12292 cat conftest.
$ac_ext >&5
12295 wx_cv_w32api_win32_ie
=no
12302 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12303 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12304 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12307 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12311 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12312 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12315 if test "$wxUSE_ODBC" = "yes" ; then
12316 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12319 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12320 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12322 WIN32INSTALL
=win32install
12325 if test "$USE_DARWIN" = 1; then
12326 if test "$wxUSE_PRECOMP" = "yes"; then
12327 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12329 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12333 if test "$wxUSE_GUI" = "yes"; then
12342 if test "$wxUSE_MSW" = 1 ; then
12346 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12349 if test "$wxUSE_GTK" = 1; then
12350 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12351 echo "configure:12352: checking for GTK+ version" >&5
12353 gtk_version_cached
=1
12354 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12355 echo $ac_n "(cached) $ac_c" 1>&6
12358 gtk_version_cached
=0
12359 echo "$ac_t""" 1>&6
12362 if test "$wxUSE_THREADS" = "yes"; then
12363 GTK_MODULES
=gthread
12367 if test "x$wxUSE_GTK2" = "xyes"; then
12368 # Check whether --enable-gtktest or --disable-gtktest was given.
12369 if test "${enable_gtktest+set}" = set; then
12370 enableval
="$enable_gtktest"
12377 pkg_config_args
=gtk
+-2.0
12378 for module
in .
$GTK_MODULES
12382 pkg_config_args
="$pkg_config_args gthread-2.0"
12389 # Extract the first word of "pkg-config", so it can be a program name with args.
12390 set dummy pkg
-config; ac_word
=$2
12391 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12392 echo "configure:12393: checking for $ac_word" >&5
12393 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12394 echo $ac_n "(cached) $ac_c" 1>&6
12396 case "$PKG_CONFIG" in
12398 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12401 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12404 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12406 for ac_dir
in $ac_dummy; do
12407 test -z "$ac_dir" && ac_dir
=.
12408 if test -f $ac_dir/$ac_word; then
12409 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12414 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12418 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12419 if test -n "$PKG_CONFIG"; then
12420 echo "$ac_t""$PKG_CONFIG" 1>&6
12422 echo "$ac_t""no" 1>&6
12426 if test x
$PKG_CONFIG != xno
; then
12427 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12430 echo *** pkg
-config too old
; version
0.7 or better required.
12438 min_gtk_version
=2.0.0
12439 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12440 echo "configure:12441: checking for GTK+ - version >= $min_gtk_version" >&5
12442 if test x
$PKG_CONFIG != xno
; then
12443 ## don't try to run the test against uninstalled libtool libs
12444 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12445 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12449 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12456 if test x
"$no_gtk" = x
; then
12457 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12458 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12459 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12460 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12461 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12463 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12464 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12465 if test "x$enable_gtktest" = "xyes" ; then
12466 ac_save_CFLAGS
="$CFLAGS"
12467 ac_save_LIBS
="$LIBS"
12468 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12469 LIBS
="$GTK_LIBS $LIBS"
12471 if test "$cross_compiling" = yes; then
12472 echo $ac_n "cross compiling; assumed OK... $ac_c"
12474 cat > conftest.
$ac_ext <<EOF
12475 #line 12476 "configure"
12476 #include "confdefs.h"
12478 #include <gtk/gtk.h>
12480 #include <stdlib.h>
12485 int major, minor, micro;
12488 system ("touch conf.gtktest");
12490 /* HP/UX 9 (%@#!) writes to sscanf strings */
12491 tmp_version = g_strdup("$min_gtk_version");
12492 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12493 printf("%s, bad version string\n", "$min_gtk_version");
12497 if ((gtk_major_version != $gtk_config_major_version) ||
12498 (gtk_minor_version != $gtk_config_minor_version) ||
12499 (gtk_micro_version != $gtk_config_micro_version))
12501 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12502 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12503 gtk_major_version, gtk_minor_version, gtk_micro_version);
12504 printf ("*** was found! If pkg-config was correct, then it is best\n");
12505 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12506 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12507 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12508 printf("*** required on your system.\n");
12509 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12510 printf("*** to point to the correct configuration files\n");
12512 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12513 (gtk_minor_version != GTK_MINOR_VERSION) ||
12514 (gtk_micro_version != GTK_MICRO_VERSION))
12516 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12517 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12518 printf("*** library (version %d.%d.%d)\n",
12519 gtk_major_version, gtk_minor_version, gtk_micro_version);
12523 if ((gtk_major_version > major) ||
12524 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12525 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12531 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12532 gtk_major_version, gtk_minor_version, gtk_micro_version);
12533 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12534 major, minor, micro);
12535 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12537 printf("*** If you have already installed a sufficiently new version, this error\n");
12538 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12539 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12540 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12541 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12542 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12543 printf("*** so that the correct libraries are found at run-time))\n");
12550 if { (eval echo configure
:12551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12554 echo "configure: failed program was:" >&5
12555 cat conftest.
$ac_ext >&5
12562 CFLAGS
="$ac_save_CFLAGS"
12563 LIBS
="$ac_save_LIBS"
12566 if test "x$no_gtk" = x
; then
12567 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12570 echo "$ac_t""no" 1>&6
12571 if test "$PKG_CONFIG" = "no" ; then
12572 echo "*** A new enough version of pkg-config was not found."
12573 echo "*** See http://pkgconfig.sourceforge.net"
12575 if test -f conf.gtktest
; then
12578 echo "*** Could not run GTK+ test program, checking why..."
12579 ac_save_CFLAGS
="$CFLAGS"
12580 ac_save_LIBS
="$LIBS"
12581 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12582 LIBS
="$LIBS $GTK_LIBS"
12583 cat > conftest.
$ac_ext <<EOF
12584 #line 12585 "configure"
12585 #include "confdefs.h"
12587 #include <gtk/gtk.h>
12591 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12594 if { (eval echo configure
:12595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12596 echo "*** The test program compiled, but did not run. This usually means"
12597 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12598 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12599 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12600 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12601 echo "*** is required on your system"
12603 echo "*** If you have an old version installed, it is best to remove it, although"
12604 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12606 echo "configure: failed program was:" >&5
12607 cat conftest.
$ac_ext >&5
12609 echo "*** The test program failed to compile or link. See the file config.log for the"
12610 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12613 CFLAGS
="$ac_save_CFLAGS"
12614 LIBS
="$ac_save_LIBS"
12626 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12627 if test "${with_gtk_prefix+set}" = set; then
12628 withval
="$with_gtk_prefix"
12629 gtk_config_prefix
="$withval"
12631 gtk_config_prefix
=""
12634 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12635 if test "${with_gtk_exec_prefix+set}" = set; then
12636 withval
="$with_gtk_exec_prefix"
12637 gtk_config_exec_prefix
="$withval"
12639 gtk_config_exec_prefix
=""
12642 # Check whether --enable-gtktest or --disable-gtktest was given.
12643 if test "${enable_gtktest+set}" = set; then
12644 enableval
="$enable_gtktest"
12651 for module
in .
$GTK_MODULES
12655 gtk_config_args
="$gtk_config_args gthread"
12660 if test x
$gtk_config_exec_prefix != x
; then
12661 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12662 if test x
${GTK_CONFIG+set} != xset
; then
12663 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12666 if test x
$gtk_config_prefix != x
; then
12667 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12668 if test x
${GTK_CONFIG+set} != xset
; then
12669 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12673 # Extract the first word of "gtk-config", so it can be a program name with args.
12674 set dummy gtk
-config; ac_word
=$2
12675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12676 echo "configure:12677: checking for $ac_word" >&5
12677 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12678 echo $ac_n "(cached) $ac_c" 1>&6
12680 case "$GTK_CONFIG" in
12682 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12685 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12688 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12690 for ac_dir
in $ac_dummy; do
12691 test -z "$ac_dir" && ac_dir
=.
12692 if test -f $ac_dir/$ac_word; then
12693 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12698 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12702 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12703 if test -n "$GTK_CONFIG"; then
12704 echo "$ac_t""$GTK_CONFIG" 1>&6
12706 echo "$ac_t""no" 1>&6
12709 min_gtk_version
=1.2.7
12710 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12711 echo "configure:12712: checking for GTK - version >= $min_gtk_version" >&5
12713 if test "$GTK_CONFIG" = "no" ; then
12716 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12717 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12718 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12720 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12721 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12722 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12723 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12724 if test "x$enable_gtktest" = "xyes" ; then
12725 ac_save_CFLAGS
="$CFLAGS"
12726 ac_save_LIBS
="$LIBS"
12727 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12728 LIBS
="$GTK_LIBS $LIBS"
12730 if test "$cross_compiling" = yes; then
12731 echo $ac_n "cross compiling; assumed OK... $ac_c"
12733 cat > conftest.
$ac_ext <<EOF
12734 #line 12735 "configure"
12735 #include "confdefs.h"
12737 #include <gtk/gtk.h>
12739 #include <stdlib.h>
12744 int major, minor, micro;
12747 system ("touch conf.gtktest");
12749 /* HP/UX 9 (%@#!) writes to sscanf strings */
12750 tmp_version = g_strdup("$min_gtk_version");
12751 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12752 printf("%s, bad version string\n", "$min_gtk_version");
12756 if ((gtk_major_version != $gtk_config_major_version) ||
12757 (gtk_minor_version != $gtk_config_minor_version) ||
12758 (gtk_micro_version != $gtk_config_micro_version))
12760 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12761 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12762 gtk_major_version, gtk_minor_version, gtk_micro_version);
12763 printf ("*** was found! If gtk-config was correct, then it is best\n");
12764 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12765 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12766 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12767 printf("*** required on your system.\n");
12768 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12769 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12770 printf("*** before re-running configure\n");
12772 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12773 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12774 (gtk_minor_version != GTK_MINOR_VERSION) ||
12775 (gtk_micro_version != GTK_MICRO_VERSION))
12777 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12778 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12779 printf("*** library (version %d.%d.%d)\n",
12780 gtk_major_version, gtk_minor_version, gtk_micro_version);
12782 #endif /* defined (GTK_MAJOR_VERSION) ... */
12785 if ((gtk_major_version > major) ||
12786 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12787 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12793 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12794 gtk_major_version, gtk_minor_version, gtk_micro_version);
12795 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12796 major, minor, micro);
12797 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12799 printf("*** If you have already installed a sufficiently new version, this error\n");
12800 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12801 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12802 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12803 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12804 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12805 printf("*** so that the correct libraries are found at run-time))\n");
12812 if { (eval echo configure
:12813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12816 echo "configure: failed program was:" >&5
12817 cat conftest.
$ac_ext >&5
12824 CFLAGS
="$ac_save_CFLAGS"
12825 LIBS
="$ac_save_LIBS"
12828 if test "x$no_gtk" = x
; then
12829 echo "$ac_t""yes" 1>&6
12830 wx_cv_lib_gtk
=1.2.7
12832 echo "$ac_t""no" 1>&6
12833 if test "$GTK_CONFIG" = "no" ; then
12834 echo "*** The gtk-config script installed by GTK could not be found"
12835 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12836 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12837 echo "*** full path to gtk-config."
12839 if test -f conf.gtktest
; then
12842 echo "*** Could not run GTK test program, checking why..."
12843 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12844 LIBS
="$LIBS $GTK_LIBS"
12845 cat > conftest.
$ac_ext <<EOF
12846 #line 12847 "configure"
12847 #include "confdefs.h"
12849 #include <gtk/gtk.h>
12853 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12856 if { (eval echo configure
:12857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12858 echo "*** The test program compiled, but did not run. This usually means"
12859 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12860 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12861 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12862 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12863 echo "*** is required on your system"
12865 echo "*** If you have an old version installed, it is best to remove it, although"
12866 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12868 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12869 echo "*** came with the system with the command"
12871 echo "*** rpm --erase --nodeps gtk gtk-devel"
12873 echo "configure: failed program was:" >&5
12874 cat conftest.
$ac_ext >&5
12876 echo "*** The test program failed to compile or link. See the file config.log for the"
12877 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12878 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12879 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12882 CFLAGS
="$ac_save_CFLAGS"
12883 LIBS
="$ac_save_LIBS"
12895 if test -z "$wx_cv_lib_gtk"; then
12896 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12897 if test "${with_gtk_prefix+set}" = set; then
12898 withval
="$with_gtk_prefix"
12899 gtk_config_prefix
="$withval"
12901 gtk_config_prefix
=""
12904 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12905 if test "${with_gtk_exec_prefix+set}" = set; then
12906 withval
="$with_gtk_exec_prefix"
12907 gtk_config_exec_prefix
="$withval"
12909 gtk_config_exec_prefix
=""
12912 # Check whether --enable-gtktest or --disable-gtktest was given.
12913 if test "${enable_gtktest+set}" = set; then
12914 enableval
="$enable_gtktest"
12921 for module
in .
$GTK_MODULES
12925 gtk_config_args
="$gtk_config_args gthread"
12930 if test x
$gtk_config_exec_prefix != x
; then
12931 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12932 if test x
${GTK_CONFIG+set} != xset
; then
12933 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12936 if test x
$gtk_config_prefix != x
; then
12937 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12938 if test x
${GTK_CONFIG+set} != xset
; then
12939 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12943 # Extract the first word of "gtk-config", so it can be a program name with args.
12944 set dummy gtk
-config; ac_word
=$2
12945 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12946 echo "configure:12947: checking for $ac_word" >&5
12947 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12948 echo $ac_n "(cached) $ac_c" 1>&6
12950 case "$GTK_CONFIG" in
12952 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12955 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12958 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12960 for ac_dir
in $ac_dummy; do
12961 test -z "$ac_dir" && ac_dir
=.
12962 if test -f $ac_dir/$ac_word; then
12963 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12968 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12972 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12973 if test -n "$GTK_CONFIG"; then
12974 echo "$ac_t""$GTK_CONFIG" 1>&6
12976 echo "$ac_t""no" 1>&6
12979 min_gtk_version
=1.2.3
12980 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12981 echo "configure:12982: checking for GTK - version >= $min_gtk_version" >&5
12983 if test "$GTK_CONFIG" = "no" ; then
12986 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12987 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12988 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12990 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12992 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12993 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12994 if test "x$enable_gtktest" = "xyes" ; then
12995 ac_save_CFLAGS
="$CFLAGS"
12996 ac_save_LIBS
="$LIBS"
12997 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12998 LIBS
="$GTK_LIBS $LIBS"
13000 if test "$cross_compiling" = yes; then
13001 echo $ac_n "cross compiling; assumed OK... $ac_c"
13003 cat > conftest.
$ac_ext <<EOF
13004 #line 13005 "configure"
13005 #include "confdefs.h"
13007 #include <gtk/gtk.h>
13009 #include <stdlib.h>
13014 int major, minor, micro;
13017 system ("touch conf.gtktest");
13019 /* HP/UX 9 (%@#!) writes to sscanf strings */
13020 tmp_version = g_strdup("$min_gtk_version");
13021 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13022 printf("%s, bad version string\n", "$min_gtk_version");
13026 if ((gtk_major_version != $gtk_config_major_version) ||
13027 (gtk_minor_version != $gtk_config_minor_version) ||
13028 (gtk_micro_version != $gtk_config_micro_version))
13030 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
13031 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
13032 gtk_major_version, gtk_minor_version, gtk_micro_version);
13033 printf ("*** was found! If gtk-config was correct, then it is best\n");
13034 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
13035 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13036 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13037 printf("*** required on your system.\n");
13038 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
13039 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
13040 printf("*** before re-running configure\n");
13042 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
13043 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
13044 (gtk_minor_version != GTK_MINOR_VERSION) ||
13045 (gtk_micro_version != GTK_MICRO_VERSION))
13047 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
13048 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
13049 printf("*** library (version %d.%d.%d)\n",
13050 gtk_major_version, gtk_minor_version, gtk_micro_version);
13052 #endif /* defined (GTK_MAJOR_VERSION) ... */
13055 if ((gtk_major_version > major) ||
13056 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
13057 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
13063 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
13064 gtk_major_version, gtk_minor_version, gtk_micro_version);
13065 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13066 major, minor, micro);
13067 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13069 printf("*** If you have already installed a sufficiently new version, this error\n");
13070 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13071 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13072 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13073 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13074 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13075 printf("*** so that the correct libraries are found at run-time))\n");
13082 if { (eval echo configure
:13083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13086 echo "configure: failed program was:" >&5
13087 cat conftest.
$ac_ext >&5
13094 CFLAGS
="$ac_save_CFLAGS"
13095 LIBS
="$ac_save_LIBS"
13098 if test "x$no_gtk" = x
; then
13099 echo "$ac_t""yes" 1>&6
13100 wx_cv_lib_gtk
=1.2.3
13102 echo "$ac_t""no" 1>&6
13103 if test "$GTK_CONFIG" = "no" ; then
13104 echo "*** The gtk-config script installed by GTK could not be found"
13105 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13106 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13107 echo "*** full path to gtk-config."
13109 if test -f conf.gtktest
; then
13112 echo "*** Could not run GTK test program, checking why..."
13113 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13114 LIBS
="$LIBS $GTK_LIBS"
13115 cat > conftest.
$ac_ext <<EOF
13116 #line 13117 "configure"
13117 #include "confdefs.h"
13119 #include <gtk/gtk.h>
13123 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13126 if { (eval echo configure
:13127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13128 echo "*** The test program compiled, but did not run. This usually means"
13129 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13130 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13131 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13132 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13133 echo "*** is required on your system"
13135 echo "*** If you have an old version installed, it is best to remove it, although"
13136 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13138 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13139 echo "*** came with the system with the command"
13141 echo "*** rpm --erase --nodeps gtk gtk-devel"
13143 echo "configure: failed program was:" >&5
13144 cat conftest.
$ac_ext >&5
13146 echo "*** The test program failed to compile or link. See the file config.log for the"
13147 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13148 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13149 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13152 CFLAGS
="$ac_save_CFLAGS"
13153 LIBS
="$ac_save_LIBS"
13167 if test -z "$wx_cv_lib_gtk"; then
13170 wx_cv_cflags_gtk
=$GTK_CFLAGS
13171 wx_cv_libs_gtk
=$GTK_LIBS
13178 if test "$gtk_version_cached" = 1; then
13179 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13182 case "$wx_cv_lib_gtk" in
13191 *) { echo "configure: error:
13192 Please check that gtk-config is in path, the directory
13193 where GTK+ libraries are installed (returned by
13194 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13195 equivalent variable and GTK+ is version 1.2.3 or above.
13200 if test "$WXGTK20" = 1; then
13201 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13205 if test -z "$PKG_CONFIG"; then
13206 # Extract the first word of "pkg-config", so it can be a program name with args.
13207 set dummy pkg
-config; ac_word
=$2
13208 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13209 echo "configure:13210: checking for $ac_word" >&5
13210 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13211 echo $ac_n "(cached) $ac_c" 1>&6
13213 case "$PKG_CONFIG" in
13215 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13218 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13221 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13223 for ac_dir
in $ac_dummy; do
13224 test -z "$ac_dir" && ac_dir
=.
13225 if test -f $ac_dir/$ac_word; then
13226 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13231 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13235 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13236 if test -n "$PKG_CONFIG"; then
13237 echo "$ac_t""$PKG_CONFIG" 1>&6
13239 echo "$ac_t""no" 1>&6
13244 if test "$PKG_CONFIG" = "no" ; then
13245 echo "*** The pkg-config script could not be found. Make sure it is"
13246 echo "*** in your path, or set the PKG_CONFIG environment variable"
13247 echo "*** to the full path to pkg-config."
13248 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13250 PKG_CONFIG_MIN_VERSION
=0.9.0
13251 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13252 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13253 echo "configure:13254: checking for pangoft2" >&5
13255 if $PKG_CONFIG --exists "pangoft2" ; then
13256 echo "$ac_t""yes" 1>&6
13259 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13260 echo "configure:13261: checking PANGOFT2_CFLAGS" >&5
13261 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13262 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13264 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13265 echo "configure:13266: checking PANGOFT2_LIBS" >&5
13266 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13267 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13271 ## If we have a custom action on failure, don't print errors, but
13272 ## do set a variable so people can do so.
13273 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13280 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13281 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13285 if test $succeeded = yes; then
13287 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13288 LIBS
="$LIBS $PANGOFT2_LIBS"
13292 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13293 wxUSE_PRINTING_ARCHITECTURE
="no"
13300 if test "$wxUSE_UNICODE" = "yes"; then
13301 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13306 if test "$USE_DARWIN" != 1; then
13307 for ac_func
in poll
13309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13310 echo "configure:13311: checking for $ac_func" >&5
13311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13312 echo $ac_n "(cached) $ac_c" 1>&6
13314 cat > conftest.
$ac_ext <<EOF
13315 #line 13316 "configure"
13316 #include "confdefs.h"
13317 /* System header to define __stub macros and hopefully few prototypes,
13318 which can conflict with char $ac_func(); below. */
13319 #include <assert.h>
13320 /* Override any gcc2 internal prototype to avoid an error. */
13321 /* We use char because int might match the return type of a gcc2
13322 builtin and then its argument prototype would still apply. */
13327 /* The GNU C library defines this for functions which it implements
13328 to always fail with ENOSYS. Some functions are actually named
13329 something starting with __ and the normal name is an alias. */
13330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13338 if { (eval echo configure
:13339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13340 eval "ac_cv_func_$ac_func=yes"
13342 echo "configure: failed program was:" >&5
13343 cat conftest.
$ac_ext >&5
13345 eval "ac_cv_func_$ac_func=no"
13350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13351 echo "$ac_t""yes" 1>&6
13352 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13353 cat >> confdefs.h
<<EOF
13354 #define $ac_tr_func 1
13358 echo "$ac_t""no" 1>&6
13364 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13365 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13367 AFMINSTALL
=afminstall
13371 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13372 echo "configure:13373: checking for gdk_im_open in -lgdk" >&5
13373 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13374 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13375 echo $ac_n "(cached) $ac_c" 1>&6
13377 ac_save_LIBS
="$LIBS"
13379 cat > conftest.
$ac_ext <<EOF
13380 #line 13381 "configure"
13381 #include "confdefs.h"
13382 /* Override any gcc2 internal prototype to avoid an error. */
13383 /* We use char because int might match the return type of a gcc2
13384 builtin and then its argument prototype would still apply. */
13385 char gdk_im_open();
13391 if { (eval echo configure
:13392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13393 eval "ac_cv_lib_$ac_lib_var=yes"
13395 echo "configure: failed program was:" >&5
13396 cat conftest.
$ac_ext >&5
13398 eval "ac_cv_lib_$ac_lib_var=no"
13401 LIBS
="$ac_save_LIBS"
13404 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13405 echo "$ac_t""yes" 1>&6
13406 cat >> confdefs.h
<<\EOF
13411 echo "$ac_t""no" 1>&6
13416 if test "$wxUSE_MGL" = 1; then
13417 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13418 echo "configure:13419: checking for SciTech MGL library" >&5
13419 if test "x$MGL_ROOT" = x
; then
13420 echo "$ac_t""not found" 1>&6
13421 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13423 echo "$ac_t""$MGL_ROOT" 1>&6
13426 echo $ac_n "checking for libmgl location""... $ac_c" 1>&6
13427 echo "configure:13428: checking for libmgl location" >&5
13430 if test "x$wxUSE_SHARED" = xyes
; then
13431 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
13433 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
13437 mgl_os_candidates
="dos32/dj2"
13440 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13446 for mgl_os_i
in $mgl_os_candidates ; do
13447 if test "x$mgl_os" = x
; then
13448 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13449 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
13450 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
13455 if test "x$mgl_lib_type" = x
; then
13456 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
13457 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
13458 mgl_lib_type
=release
13465 if test "x$mgl_os" = x
; then
13466 echo "$ac_t""not found" 1>&6
13467 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13469 echo "$ac_t"""$MGL_ROOT/lib
/$mgl_lib_type/$mgl_os"" 1>&6
13471 wxUSE_UNIVERSAL
="yes"
13473 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13474 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13476 AFMINSTALL
=afminstall
13481 if test "$wxUSE_MICROWIN" = 1; then
13482 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13483 echo "configure:13484: checking for MicroWindows" >&5
13484 if test "x$MICROWINDOWS" = x
; then
13485 echo "$ac_t""not found" 1>&6
13486 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13488 echo "$ac_t""$MICROWINDOWS" 1>&6
13491 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13492 echo "$ac_t""MicroWindows' libraries found." 1>&6
13494 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13497 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13498 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13500 wxUSE_UNIVERSAL
="yes"
13502 AFMINSTALL
=afminstall
13504 GUIDIST
=MICROWIN_DIST
13506 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13509 if test "$wxUSE_X11" = 1; then
13510 # If we find X, set shell vars x_includes and x_libraries to the
13511 # paths, otherwise set no_x=yes.
13512 # Uses ac_ vars as temps to allow command line to override cache and checks.
13513 # --without-x overrides everything else, but does not touch the cache.
13514 echo $ac_n "checking for X""... $ac_c" 1>&6
13515 echo "configure:13516: checking for X" >&5
13517 # Check whether --with-x or --without-x was given.
13518 if test "${with_x+set}" = set; then
13523 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13524 if test "x$with_x" = xno
; then
13525 # The user explicitly disabled X.
13528 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13529 # Both variables are already set.
13532 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13533 echo $ac_n "(cached) $ac_c" 1>&6
13535 # One or both of the vars are not set, and there is no cached value.
13536 ac_x_includes
=NO ac_x_libraries
=NO
13538 if mkdir conftestdir
; then
13540 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13541 cat > Imakefile
<<'EOF'
13543 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13545 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13546 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13547 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13548 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13549 for ac_extension
in a so sl
; do
13550 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13551 test -f $ac_im_libdir/libX11.
$ac_extension; then
13552 ac_im_usrlibdir
=$ac_im_libdir; break
13555 # Screen out bogus values from the imake configuration. They are
13556 # bogus both because they are the default anyway, and because
13557 # using them would break gcc on systems where it needs fixed includes.
13558 case "$ac_im_incroot" in
13560 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13562 case "$ac_im_usrlibdir" in
13563 /usr
/lib
| /lib
) ;;
13564 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13571 if test "$ac_x_includes" = NO
; then
13572 # Guess where to find include files, by looking for this one X11 .h file.
13573 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13575 # First, try using that file with no special directory specified.
13576 cat > conftest.
$ac_ext <<EOF
13577 #line 13578 "configure"
13578 #include "confdefs.h"
13579 #include <$x_direct_test_include>
13581 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13582 { (eval echo configure
:13583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13583 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13584 if test -z "$ac_err"; then
13586 # We can compile using X headers with no special include directory.
13590 echo "configure: failed program was:" >&5
13591 cat conftest.
$ac_ext >&5
13593 # Look for the header file in a standard set of common directories.
13594 # Check X11 before X11Rn because it is often a symlink to the current release.
13597 /usr
/X
11R
6/include \
13598 /usr
/X
11R
5/include \
13599 /usr
/X
11R
4/include \
13602 /usr
/include
/X11R6 \
13603 /usr
/include
/X11R5 \
13604 /usr
/include
/X11R4 \
13606 /usr
/local
/X
11/include \
13607 /usr
/local
/X
11R
6/include \
13608 /usr
/local
/X
11R
5/include \
13609 /usr
/local
/X
11R
4/include \
13611 /usr
/local
/include
/X11 \
13612 /usr
/local
/include
/X11R6 \
13613 /usr
/local
/include
/X11R5 \
13614 /usr
/local
/include
/X11R4 \
13616 /usr
/X
386/include \
13617 /usr
/x
386/include \
13618 /usr
/XFree
86/include
/X11 \
13621 /usr
/local
/include \
13622 /usr
/unsupported
/include \
13623 /usr
/athena
/include \
13624 /usr
/local
/x
11r
5/include \
13625 /usr
/lpp
/Xamples
/include \
13627 /usr
/openwin
/include \
13628 /usr
/openwin
/share
/include \
13631 if test -r "$ac_dir/$x_direct_test_include"; then
13632 ac_x_includes
=$ac_dir
13638 fi # $ac_x_includes = NO
13640 if test "$ac_x_libraries" = NO
; then
13641 # Check for the libraries.
13643 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13644 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13646 # See if we find them without any special options.
13647 # Don't add to $LIBS permanently.
13648 ac_save_LIBS
="$LIBS"
13649 LIBS
="-l$x_direct_test_library $LIBS"
13650 cat > conftest.
$ac_ext <<EOF
13651 #line 13652 "configure"
13652 #include "confdefs.h"
13655 ${x_direct_test_function}()
13658 if { (eval echo configure
:13659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13660 LIBS
="$ac_save_LIBS"
13661 # We can link X programs with no special library path.
13664 echo "configure: failed program was:" >&5
13665 cat conftest.
$ac_ext >&5
13667 LIBS
="$ac_save_LIBS"
13668 # First see if replacing the include by lib works.
13669 # Check X11 before X11Rn because it is often a symlink to the current release.
13670 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13681 /usr
/local
/X
11/lib \
13682 /usr
/local
/X
11R
6/lib \
13683 /usr
/local
/X
11R
5/lib \
13684 /usr
/local
/X
11R
4/lib \
13686 /usr
/local
/lib
/X11 \
13687 /usr
/local
/lib
/X11R6 \
13688 /usr
/local
/lib
/X11R5 \
13689 /usr
/local
/lib
/X11R4 \
13693 /usr
/XFree
86/lib
/X11 \
13697 /usr
/unsupported
/lib \
13699 /usr
/local
/x
11r
5/lib \
13700 /usr
/lpp
/Xamples
/lib \
13704 /usr
/openwin
/share
/lib \
13707 for ac_extension
in a so sl
; do
13708 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13709 ac_x_libraries
=$ac_dir
13716 fi # $ac_x_libraries = NO
13718 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13719 # Didn't find X anywhere. Cache the known absence of X.
13720 ac_cv_have_x
="have_x=no"
13722 # Record where we found X for the cache.
13723 ac_cv_have_x
="have_x=yes \
13724 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13728 eval "$ac_cv_have_x"
13731 if test "$have_x" != yes; then
13732 echo "$ac_t""$have_x" 1>&6
13735 # If each of the values was on the command line, it overrides each guess.
13736 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13737 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13738 # Update the cache value to reflect the command line values.
13739 ac_cv_have_x
="have_x=yes \
13740 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13741 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13744 if test "$no_x" = yes; then
13745 # Not all programs may use this symbol, but it does not hurt to define it.
13746 cat >> confdefs.h
<<\EOF
13747 #define X_DISPLAY_MISSING 1
13750 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13752 if test -n "$x_includes"; then
13753 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13756 # It would also be nice to do this for all -L options, not just this one.
13757 if test -n "$x_libraries"; then
13758 X_LIBS
="$X_LIBS -L$x_libraries"
13759 # For Solaris; some versions of Sun CC require a space after -R and
13760 # others require no space. Words are not sufficient . . . .
13761 case "`(uname -sr) 2>/dev/null`" in
13763 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13764 echo "configure:13765: checking whether -R must be followed by a space" >&5
13765 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13766 cat > conftest.
$ac_ext <<EOF
13767 #line 13768 "configure"
13768 #include "confdefs.h"
13774 if { (eval echo configure
:13775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13778 echo "configure: failed program was:" >&5
13779 cat conftest.
$ac_ext >&5
13784 if test $ac_R_nospace = yes; then
13785 echo "$ac_t""no" 1>&6
13786 X_LIBS
="$X_LIBS -R$x_libraries"
13788 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13789 cat > conftest.
$ac_ext <<EOF
13790 #line 13791 "configure"
13791 #include "confdefs.h"
13797 if { (eval echo configure
:13798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13801 echo "configure: failed program was:" >&5
13802 cat conftest.
$ac_ext >&5
13807 if test $ac_R_space = yes; then
13808 echo "$ac_t""yes" 1>&6
13809 X_LIBS
="$X_LIBS -R $x_libraries"
13811 echo "$ac_t""neither works" 1>&6
13814 LIBS
="$ac_xsave_LIBS"
13818 # Check for system-dependent libraries X programs must link with.
13819 # Do this before checking for the system-independent R6 libraries
13820 # (-lICE), since we may need -lsocket or whatever for X linking.
13822 if test "$ISC" = yes; then
13823 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13825 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13826 # libraries were built with DECnet support. And karl@cs.umb.edu says
13827 # the Alpha needs dnet_stub (dnet does not exist).
13828 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13829 echo "configure:13830: checking for dnet_ntoa in -ldnet" >&5
13830 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13832 echo $ac_n "(cached) $ac_c" 1>&6
13834 ac_save_LIBS
="$LIBS"
13835 LIBS
="-ldnet $LIBS"
13836 cat > conftest.
$ac_ext <<EOF
13837 #line 13838 "configure"
13838 #include "confdefs.h"
13839 /* Override any gcc2 internal prototype to avoid an error. */
13840 /* We use char because int might match the return type of a gcc2
13841 builtin and then its argument prototype would still apply. */
13848 if { (eval echo configure
:13849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13850 eval "ac_cv_lib_$ac_lib_var=yes"
13852 echo "configure: failed program was:" >&5
13853 cat conftest.
$ac_ext >&5
13855 eval "ac_cv_lib_$ac_lib_var=no"
13858 LIBS
="$ac_save_LIBS"
13861 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13862 echo "$ac_t""yes" 1>&6
13863 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13865 echo "$ac_t""no" 1>&6
13868 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13869 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13870 echo "configure:13871: checking for dnet_ntoa in -ldnet_stub" >&5
13871 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13872 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13873 echo $ac_n "(cached) $ac_c" 1>&6
13875 ac_save_LIBS
="$LIBS"
13876 LIBS
="-ldnet_stub $LIBS"
13877 cat > conftest.
$ac_ext <<EOF
13878 #line 13879 "configure"
13879 #include "confdefs.h"
13880 /* Override any gcc2 internal prototype to avoid an error. */
13881 /* We use char because int might match the return type of a gcc2
13882 builtin and then its argument prototype would still apply. */
13889 if { (eval echo configure
:13890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13891 eval "ac_cv_lib_$ac_lib_var=yes"
13893 echo "configure: failed program was:" >&5
13894 cat conftest.
$ac_ext >&5
13896 eval "ac_cv_lib_$ac_lib_var=no"
13899 LIBS
="$ac_save_LIBS"
13902 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13903 echo "$ac_t""yes" 1>&6
13904 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13906 echo "$ac_t""no" 1>&6
13911 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13912 # to get the SysV transport functions.
13913 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13915 # The nsl library prevents programs from opening the X display
13916 # on Irix 5.2, according to dickey@clark.net.
13917 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13918 echo "configure:13919: checking for gethostbyname" >&5
13919 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13920 echo $ac_n "(cached) $ac_c" 1>&6
13922 cat > conftest.
$ac_ext <<EOF
13923 #line 13924 "configure"
13924 #include "confdefs.h"
13925 /* System header to define __stub macros and hopefully few prototypes,
13926 which can conflict with char gethostbyname(); below. */
13927 #include <assert.h>
13928 /* Override any gcc2 internal prototype to avoid an error. */
13929 /* We use char because int might match the return type of a gcc2
13930 builtin and then its argument prototype would still apply. */
13931 char gethostbyname();
13935 /* The GNU C library defines this for functions which it implements
13936 to always fail with ENOSYS. Some functions are actually named
13937 something starting with __ and the normal name is an alias. */
13938 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13946 if { (eval echo configure
:13947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13948 eval "ac_cv_func_gethostbyname=yes"
13950 echo "configure: failed program was:" >&5
13951 cat conftest.
$ac_ext >&5
13953 eval "ac_cv_func_gethostbyname=no"
13958 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13959 echo "$ac_t""yes" 1>&6
13962 echo "$ac_t""no" 1>&6
13965 if test $ac_cv_func_gethostbyname = no
; then
13966 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13967 echo "configure:13968: checking for gethostbyname in -lnsl" >&5
13968 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13969 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13970 echo $ac_n "(cached) $ac_c" 1>&6
13972 ac_save_LIBS
="$LIBS"
13974 cat > conftest.
$ac_ext <<EOF
13975 #line 13976 "configure"
13976 #include "confdefs.h"
13977 /* Override any gcc2 internal prototype to avoid an error. */
13978 /* We use char because int might match the return type of a gcc2
13979 builtin and then its argument prototype would still apply. */
13980 char gethostbyname();
13986 if { (eval echo configure
:13987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13988 eval "ac_cv_lib_$ac_lib_var=yes"
13990 echo "configure: failed program was:" >&5
13991 cat conftest.
$ac_ext >&5
13993 eval "ac_cv_lib_$ac_lib_var=no"
13996 LIBS
="$ac_save_LIBS"
13999 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14000 echo "$ac_t""yes" 1>&6
14001 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14003 echo "$ac_t""no" 1>&6
14008 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14009 # socket/setsockopt and other routines are undefined under SCO ODT
14010 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14011 # on later versions), says simon@lia.di.epfl.ch: it contains
14012 # gethostby* variants that don't use the nameserver (or something).
14013 # -lsocket must be given before -lnsl if both are needed.
14014 # We assume that if connect needs -lnsl, so does gethostbyname.
14015 echo $ac_n "checking for connect""... $ac_c" 1>&6
14016 echo "configure:14017: checking for connect" >&5
14017 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14018 echo $ac_n "(cached) $ac_c" 1>&6
14020 cat > conftest.
$ac_ext <<EOF
14021 #line 14022 "configure"
14022 #include "confdefs.h"
14023 /* System header to define __stub macros and hopefully few prototypes,
14024 which can conflict with char connect(); below. */
14025 #include <assert.h>
14026 /* Override any gcc2 internal prototype to avoid an error. */
14027 /* We use char because int might match the return type of a gcc2
14028 builtin and then its argument prototype would still apply. */
14033 /* The GNU C library defines this for functions which it implements
14034 to always fail with ENOSYS. Some functions are actually named
14035 something starting with __ and the normal name is an alias. */
14036 #if defined (__stub_connect) || defined (__stub___connect)
14044 if { (eval echo configure
:14045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14046 eval "ac_cv_func_connect=yes"
14048 echo "configure: failed program was:" >&5
14049 cat conftest.
$ac_ext >&5
14051 eval "ac_cv_func_connect=no"
14056 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14057 echo "$ac_t""yes" 1>&6
14060 echo "$ac_t""no" 1>&6
14063 if test $ac_cv_func_connect = no
; then
14064 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14065 echo "configure:14066: checking for connect in -lsocket" >&5
14066 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14067 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14068 echo $ac_n "(cached) $ac_c" 1>&6
14070 ac_save_LIBS
="$LIBS"
14071 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14072 cat > conftest.
$ac_ext <<EOF
14073 #line 14074 "configure"
14074 #include "confdefs.h"
14075 /* Override any gcc2 internal prototype to avoid an error. */
14076 /* We use char because int might match the return type of a gcc2
14077 builtin and then its argument prototype would still apply. */
14084 if { (eval echo configure
:14085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14086 eval "ac_cv_lib_$ac_lib_var=yes"
14088 echo "configure: failed program was:" >&5
14089 cat conftest.
$ac_ext >&5
14091 eval "ac_cv_lib_$ac_lib_var=no"
14094 LIBS
="$ac_save_LIBS"
14097 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14098 echo "$ac_t""yes" 1>&6
14099 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14101 echo "$ac_t""no" 1>&6
14106 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14107 echo $ac_n "checking for remove""... $ac_c" 1>&6
14108 echo "configure:14109: checking for remove" >&5
14109 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14110 echo $ac_n "(cached) $ac_c" 1>&6
14112 cat > conftest.
$ac_ext <<EOF
14113 #line 14114 "configure"
14114 #include "confdefs.h"
14115 /* System header to define __stub macros and hopefully few prototypes,
14116 which can conflict with char remove(); below. */
14117 #include <assert.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. */
14125 /* The GNU C library defines this for functions which it implements
14126 to always fail with ENOSYS. Some functions are actually named
14127 something starting with __ and the normal name is an alias. */
14128 #if defined (__stub_remove) || defined (__stub___remove)
14136 if { (eval echo configure
:14137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14138 eval "ac_cv_func_remove=yes"
14140 echo "configure: failed program was:" >&5
14141 cat conftest.
$ac_ext >&5
14143 eval "ac_cv_func_remove=no"
14148 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14149 echo "$ac_t""yes" 1>&6
14152 echo "$ac_t""no" 1>&6
14155 if test $ac_cv_func_remove = no
; then
14156 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14157 echo "configure:14158: checking for remove in -lposix" >&5
14158 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14159 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14160 echo $ac_n "(cached) $ac_c" 1>&6
14162 ac_save_LIBS
="$LIBS"
14163 LIBS
="-lposix $LIBS"
14164 cat > conftest.
$ac_ext <<EOF
14165 #line 14166 "configure"
14166 #include "confdefs.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. */
14176 if { (eval echo configure
:14177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14178 eval "ac_cv_lib_$ac_lib_var=yes"
14180 echo "configure: failed program was:" >&5
14181 cat conftest.
$ac_ext >&5
14183 eval "ac_cv_lib_$ac_lib_var=no"
14186 LIBS
="$ac_save_LIBS"
14189 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14190 echo "$ac_t""yes" 1>&6
14191 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14193 echo "$ac_t""no" 1>&6
14198 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14199 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14200 echo "configure:14201: checking for shmat" >&5
14201 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14202 echo $ac_n "(cached) $ac_c" 1>&6
14204 cat > conftest.
$ac_ext <<EOF
14205 #line 14206 "configure"
14206 #include "confdefs.h"
14207 /* System header to define __stub macros and hopefully few prototypes,
14208 which can conflict with char shmat(); below. */
14209 #include <assert.h>
14210 /* Override any gcc2 internal prototype to avoid an error. */
14211 /* We use char because int might match the return type of a gcc2
14212 builtin and then its argument prototype would still apply. */
14217 /* The GNU C library defines this for functions which it implements
14218 to always fail with ENOSYS. Some functions are actually named
14219 something starting with __ and the normal name is an alias. */
14220 #if defined (__stub_shmat) || defined (__stub___shmat)
14228 if { (eval echo configure
:14229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14230 eval "ac_cv_func_shmat=yes"
14232 echo "configure: failed program was:" >&5
14233 cat conftest.
$ac_ext >&5
14235 eval "ac_cv_func_shmat=no"
14240 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14241 echo "$ac_t""yes" 1>&6
14244 echo "$ac_t""no" 1>&6
14247 if test $ac_cv_func_shmat = no
; then
14248 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14249 echo "configure:14250: checking for shmat in -lipc" >&5
14250 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14251 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14252 echo $ac_n "(cached) $ac_c" 1>&6
14254 ac_save_LIBS
="$LIBS"
14256 cat > conftest.
$ac_ext <<EOF
14257 #line 14258 "configure"
14258 #include "confdefs.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. */
14268 if { (eval echo configure
:14269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14270 eval "ac_cv_lib_$ac_lib_var=yes"
14272 echo "configure: failed program was:" >&5
14273 cat conftest.
$ac_ext >&5
14275 eval "ac_cv_lib_$ac_lib_var=no"
14278 LIBS
="$ac_save_LIBS"
14281 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14282 echo "$ac_t""yes" 1>&6
14283 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14285 echo "$ac_t""no" 1>&6
14291 # Check for libraries that X11R6 Xt/Xaw programs need.
14292 ac_save_LDFLAGS
="$LDFLAGS"
14293 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14294 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14295 # check for ICE first), but we must link in the order -lSM -lICE or
14296 # we get undefined symbols. So assume we have SM if we have ICE.
14297 # These have to be linked with before -lX11, unlike the other
14298 # libraries we check for below, so use a different variable.
14299 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14300 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14301 echo "configure:14302: checking for IceConnectionNumber in -lICE" >&5
14302 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14304 echo $ac_n "(cached) $ac_c" 1>&6
14306 ac_save_LIBS
="$LIBS"
14307 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14308 cat > conftest.
$ac_ext <<EOF
14309 #line 14310 "configure"
14310 #include "confdefs.h"
14311 /* Override any gcc2 internal prototype to avoid an error. */
14312 /* We use char because int might match the return type of a gcc2
14313 builtin and then its argument prototype would still apply. */
14314 char IceConnectionNumber();
14317 IceConnectionNumber()
14320 if { (eval echo configure
:14321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14322 eval "ac_cv_lib_$ac_lib_var=yes"
14324 echo "configure: failed program was:" >&5
14325 cat conftest.
$ac_ext >&5
14327 eval "ac_cv_lib_$ac_lib_var=no"
14330 LIBS
="$ac_save_LIBS"
14333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14334 echo "$ac_t""yes" 1>&6
14335 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14337 echo "$ac_t""no" 1>&6
14340 LDFLAGS
="$ac_save_LDFLAGS"
14345 if test "$no_x" = "yes"; then
14346 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14349 GUI_TK_LIBRARY
="$X_LIBS"
14350 TOOLKIT_INCLUDE
="$X_CFLAGS"
14351 AFMINSTALL
=afminstall
14352 COMPILED_X_PROGRAM
=0
14354 if test "$wxUSE_NANOX" = "yes"; then
14355 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14356 echo "configure:14357: checking for MicroWindows/NanoX distribution" >&5
14357 if test "x$MICROWIN" = x
; then
14358 echo "$ac_t""not found" 1>&6
14359 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14361 echo "$ac_t""$MICROWIN" 1>&6
14362 cat >> confdefs.h
<<\EOF
14363 #define wxUSE_NANOX 1
14370 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14371 echo "configure:14372: checking for Xpm library" >&5
14374 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14376 for ac_extension
in a so sl dylib
; do
14377 if test -f "$ac_dir/libXpm.$ac_extension"; then
14378 ac_find_libraries
=$ac_dir
14384 if test "$ac_find_libraries" != "" ; then
14386 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14388 if test $result = 0; then
14391 ac_path_to_link
=" -L$ac_find_libraries"
14394 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14396 cat >> confdefs.h
<<\EOF
14397 #define wxHAVE_LIB_XPM 1
14400 echo "$ac_t""found at $ac_find_libraries" 1>&6
14402 cat > conftest.
$ac_ext <<EOF
14403 #line 14404 "configure"
14404 #include "confdefs.h"
14406 #include <X11/xpm.h>
14411 version = XpmLibraryVersion();
14415 if { (eval echo configure
:14416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14419 cat >> confdefs.h
<<\EOF
14420 #define wxHAVE_LIB_XPM 1
14423 echo "$ac_t""found in default search path" 1>&6
14424 COMPILED_X_PROGRAM
=0
14427 echo "configure: failed program was:" >&5
14428 cat conftest.
$ac_ext >&5
14431 echo "$ac_t""no" 1>&6
14432 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14439 if test "$wxUSE_UNICODE" = "yes"; then
14443 if test -z "$PKG_CONFIG"; then
14444 # Extract the first word of "pkg-config", so it can be a program name with args.
14445 set dummy pkg
-config; ac_word
=$2
14446 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14447 echo "configure:14448: checking for $ac_word" >&5
14448 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14449 echo $ac_n "(cached) $ac_c" 1>&6
14451 case "$PKG_CONFIG" in
14453 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14456 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14459 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14461 for ac_dir
in $ac_dummy; do
14462 test -z "$ac_dir" && ac_dir
=.
14463 if test -f $ac_dir/$ac_word; then
14464 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14469 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14473 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14474 if test -n "$PKG_CONFIG"; then
14475 echo "$ac_t""$PKG_CONFIG" 1>&6
14477 echo "$ac_t""no" 1>&6
14482 if test "$PKG_CONFIG" = "no" ; then
14483 echo "*** The pkg-config script could not be found. Make sure it is"
14484 echo "*** in your path, or set the PKG_CONFIG environment variable"
14485 echo "*** to the full path to pkg-config."
14486 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14488 PKG_CONFIG_MIN_VERSION
=0.9.0
14489 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14490 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14491 echo "configure:14492: checking for pangox" >&5
14493 if $PKG_CONFIG --exists "pangox" ; then
14494 echo "$ac_t""yes" 1>&6
14497 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14498 echo "configure:14499: checking PANGOX_CFLAGS" >&5
14499 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14500 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14502 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14503 echo "configure:14504: checking PANGOX_LIBS" >&5
14504 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14505 echo "$ac_t""$PANGOX_LIBS" 1>&6
14509 ## If we have a custom action on failure, don't print errors, but
14510 ## do set a variable so people can do so.
14511 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14518 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14519 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14523 if test $succeeded = yes; then
14525 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14526 LIBS
="$LIBS $PANGOX_LIBS"
14530 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14538 if test -z "$PKG_CONFIG"; then
14539 # Extract the first word of "pkg-config", so it can be a program name with args.
14540 set dummy pkg
-config; ac_word
=$2
14541 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14542 echo "configure:14543: checking for $ac_word" >&5
14543 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14544 echo $ac_n "(cached) $ac_c" 1>&6
14546 case "$PKG_CONFIG" in
14548 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14551 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14554 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14556 for ac_dir
in $ac_dummy; do
14557 test -z "$ac_dir" && ac_dir
=.
14558 if test -f $ac_dir/$ac_word; then
14559 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14564 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14568 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14569 if test -n "$PKG_CONFIG"; then
14570 echo "$ac_t""$PKG_CONFIG" 1>&6
14572 echo "$ac_t""no" 1>&6
14577 if test "$PKG_CONFIG" = "no" ; then
14578 echo "*** The pkg-config script could not be found. Make sure it is"
14579 echo "*** in your path, or set the PKG_CONFIG environment variable"
14580 echo "*** to the full path to pkg-config."
14581 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14583 PKG_CONFIG_MIN_VERSION
=0.9.0
14584 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14585 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14586 echo "configure:14587: checking for pangoft2" >&5
14588 if $PKG_CONFIG --exists "pangoft2" ; then
14589 echo "$ac_t""yes" 1>&6
14592 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14593 echo "configure:14594: checking PANGOFT2_CFLAGS" >&5
14594 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14595 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14597 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14598 echo "configure:14599: checking PANGOFT2_LIBS" >&5
14599 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14600 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14604 ## If we have a custom action on failure, don't print errors, but
14605 ## do set a variable so people can do so.
14606 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14613 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14614 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14618 if test $succeeded = yes; then
14620 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14621 LIBS
="$LIBS $PANGOFT2_LIBS"
14625 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14626 wxUSE_PRINTING_ARCHITECTURE
="no"
14634 if test -z "$PKG_CONFIG"; then
14635 # Extract the first word of "pkg-config", so it can be a program name with args.
14636 set dummy pkg
-config; ac_word
=$2
14637 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14638 echo "configure:14639: checking for $ac_word" >&5
14639 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14640 echo $ac_n "(cached) $ac_c" 1>&6
14642 case "$PKG_CONFIG" in
14644 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14647 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14650 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14652 for ac_dir
in $ac_dummy; do
14653 test -z "$ac_dir" && ac_dir
=.
14654 if test -f $ac_dir/$ac_word; then
14655 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14660 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14664 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14665 if test -n "$PKG_CONFIG"; then
14666 echo "$ac_t""$PKG_CONFIG" 1>&6
14668 echo "$ac_t""no" 1>&6
14673 if test "$PKG_CONFIG" = "no" ; then
14674 echo "*** The pkg-config script could not be found. Make sure it is"
14675 echo "*** in your path, or set the PKG_CONFIG environment variable"
14676 echo "*** to the full path to pkg-config."
14677 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14679 PKG_CONFIG_MIN_VERSION
=0.9.0
14680 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14681 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14682 echo "configure:14683: checking for pangoxft" >&5
14684 if $PKG_CONFIG --exists "pangoxft" ; then
14685 echo "$ac_t""yes" 1>&6
14688 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14689 echo "configure:14690: checking PANGOXFT_CFLAGS" >&5
14690 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14691 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14693 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14694 echo "configure:14695: checking PANGOXFT_LIBS" >&5
14695 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14696 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14700 ## If we have a custom action on failure, don't print errors, but
14701 ## do set a variable so people can do so.
14702 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14709 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14710 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14714 if test $succeeded = yes; then
14716 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14717 LIBS
="$LIBS $PANGOXFT_LIBS"
14721 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14728 wxUSE_UNIVERSAL
="yes"
14730 if test "$wxUSE_NANOX" = "yes"; then
14731 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14732 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"
14733 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14735 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14738 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14743 if test "$wxUSE_MOTIF" = 1; then
14744 if test "$no_x" = yes; then
14745 # Not all programs may use this symbol, but it does not hurt to define it.
14746 cat >> confdefs.h
<<\EOF
14747 #define X_DISPLAY_MISSING 1
14750 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14752 if test -n "$x_includes"; then
14753 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14756 # It would also be nice to do this for all -L options, not just this one.
14757 if test -n "$x_libraries"; then
14758 X_LIBS
="$X_LIBS -L$x_libraries"
14759 # For Solaris; some versions of Sun CC require a space after -R and
14760 # others require no space. Words are not sufficient . . . .
14761 case "`(uname -sr) 2>/dev/null`" in
14763 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14764 echo "configure:14765: checking whether -R must be followed by a space" >&5
14765 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14766 cat > conftest.
$ac_ext <<EOF
14767 #line 14768 "configure"
14768 #include "confdefs.h"
14774 if { (eval echo configure
:14775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14778 echo "configure: failed program was:" >&5
14779 cat conftest.
$ac_ext >&5
14784 if test $ac_R_nospace = yes; then
14785 echo "$ac_t""no" 1>&6
14786 X_LIBS
="$X_LIBS -R$x_libraries"
14788 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14789 cat > conftest.
$ac_ext <<EOF
14790 #line 14791 "configure"
14791 #include "confdefs.h"
14797 if { (eval echo configure
:14798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14801 echo "configure: failed program was:" >&5
14802 cat conftest.
$ac_ext >&5
14807 if test $ac_R_space = yes; then
14808 echo "$ac_t""yes" 1>&6
14809 X_LIBS
="$X_LIBS -R $x_libraries"
14811 echo "$ac_t""neither works" 1>&6
14814 LIBS
="$ac_xsave_LIBS"
14818 # Check for system-dependent libraries X programs must link with.
14819 # Do this before checking for the system-independent R6 libraries
14820 # (-lICE), since we may need -lsocket or whatever for X linking.
14822 if test "$ISC" = yes; then
14823 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14825 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14826 # libraries were built with DECnet support. And karl@cs.umb.edu says
14827 # the Alpha needs dnet_stub (dnet does not exist).
14828 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14829 echo "configure:14830: checking for dnet_ntoa in -ldnet" >&5
14830 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14832 echo $ac_n "(cached) $ac_c" 1>&6
14834 ac_save_LIBS
="$LIBS"
14835 LIBS
="-ldnet $LIBS"
14836 cat > conftest.
$ac_ext <<EOF
14837 #line 14838 "configure"
14838 #include "confdefs.h"
14839 /* Override any gcc2 internal prototype to avoid an error. */
14840 /* We use char because int might match the return type of a gcc2
14841 builtin and then its argument prototype would still apply. */
14848 if { (eval echo configure
:14849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14850 eval "ac_cv_lib_$ac_lib_var=yes"
14852 echo "configure: failed program was:" >&5
14853 cat conftest.
$ac_ext >&5
14855 eval "ac_cv_lib_$ac_lib_var=no"
14858 LIBS
="$ac_save_LIBS"
14861 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14862 echo "$ac_t""yes" 1>&6
14863 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14865 echo "$ac_t""no" 1>&6
14868 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14869 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14870 echo "configure:14871: checking for dnet_ntoa in -ldnet_stub" >&5
14871 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14872 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14873 echo $ac_n "(cached) $ac_c" 1>&6
14875 ac_save_LIBS
="$LIBS"
14876 LIBS
="-ldnet_stub $LIBS"
14877 cat > conftest.
$ac_ext <<EOF
14878 #line 14879 "configure"
14879 #include "confdefs.h"
14880 /* Override any gcc2 internal prototype to avoid an error. */
14881 /* We use char because int might match the return type of a gcc2
14882 builtin and then its argument prototype would still apply. */
14889 if { (eval echo configure
:14890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14891 eval "ac_cv_lib_$ac_lib_var=yes"
14893 echo "configure: failed program was:" >&5
14894 cat conftest.
$ac_ext >&5
14896 eval "ac_cv_lib_$ac_lib_var=no"
14899 LIBS
="$ac_save_LIBS"
14902 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14903 echo "$ac_t""yes" 1>&6
14904 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14906 echo "$ac_t""no" 1>&6
14911 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14912 # to get the SysV transport functions.
14913 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14915 # The nsl library prevents programs from opening the X display
14916 # on Irix 5.2, according to dickey@clark.net.
14917 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14918 echo "configure:14919: checking for gethostbyname" >&5
14919 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14920 echo $ac_n "(cached) $ac_c" 1>&6
14922 cat > conftest.
$ac_ext <<EOF
14923 #line 14924 "configure"
14924 #include "confdefs.h"
14925 /* System header to define __stub macros and hopefully few prototypes,
14926 which can conflict with char gethostbyname(); below. */
14927 #include <assert.h>
14928 /* Override any gcc2 internal prototype to avoid an error. */
14929 /* We use char because int might match the return type of a gcc2
14930 builtin and then its argument prototype would still apply. */
14931 char gethostbyname();
14935 /* The GNU C library defines this for functions which it implements
14936 to always fail with ENOSYS. Some functions are actually named
14937 something starting with __ and the normal name is an alias. */
14938 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14946 if { (eval echo configure
:14947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14948 eval "ac_cv_func_gethostbyname=yes"
14950 echo "configure: failed program was:" >&5
14951 cat conftest.
$ac_ext >&5
14953 eval "ac_cv_func_gethostbyname=no"
14958 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14959 echo "$ac_t""yes" 1>&6
14962 echo "$ac_t""no" 1>&6
14965 if test $ac_cv_func_gethostbyname = no
; then
14966 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14967 echo "configure:14968: checking for gethostbyname in -lnsl" >&5
14968 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14969 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14970 echo $ac_n "(cached) $ac_c" 1>&6
14972 ac_save_LIBS
="$LIBS"
14974 cat > conftest.
$ac_ext <<EOF
14975 #line 14976 "configure"
14976 #include "confdefs.h"
14977 /* Override any gcc2 internal prototype to avoid an error. */
14978 /* We use char because int might match the return type of a gcc2
14979 builtin and then its argument prototype would still apply. */
14980 char gethostbyname();
14986 if { (eval echo configure
:14987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14988 eval "ac_cv_lib_$ac_lib_var=yes"
14990 echo "configure: failed program was:" >&5
14991 cat conftest.
$ac_ext >&5
14993 eval "ac_cv_lib_$ac_lib_var=no"
14996 LIBS
="$ac_save_LIBS"
14999 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15000 echo "$ac_t""yes" 1>&6
15001 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15003 echo "$ac_t""no" 1>&6
15008 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15009 # socket/setsockopt and other routines are undefined under SCO ODT
15010 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15011 # on later versions), says simon@lia.di.epfl.ch: it contains
15012 # gethostby* variants that don't use the nameserver (or something).
15013 # -lsocket must be given before -lnsl if both are needed.
15014 # We assume that if connect needs -lnsl, so does gethostbyname.
15015 echo $ac_n "checking for connect""... $ac_c" 1>&6
15016 echo "configure:15017: checking for connect" >&5
15017 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
15018 echo $ac_n "(cached) $ac_c" 1>&6
15020 cat > conftest.
$ac_ext <<EOF
15021 #line 15022 "configure"
15022 #include "confdefs.h"
15023 /* System header to define __stub macros and hopefully few prototypes,
15024 which can conflict with char connect(); below. */
15025 #include <assert.h>
15026 /* Override any gcc2 internal prototype to avoid an error. */
15027 /* We use char because int might match the return type of a gcc2
15028 builtin and then its argument prototype would still apply. */
15033 /* The GNU C library defines this for functions which it implements
15034 to always fail with ENOSYS. Some functions are actually named
15035 something starting with __ and the normal name is an alias. */
15036 #if defined (__stub_connect) || defined (__stub___connect)
15044 if { (eval echo configure
:15045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15046 eval "ac_cv_func_connect=yes"
15048 echo "configure: failed program was:" >&5
15049 cat conftest.
$ac_ext >&5
15051 eval "ac_cv_func_connect=no"
15056 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15057 echo "$ac_t""yes" 1>&6
15060 echo "$ac_t""no" 1>&6
15063 if test $ac_cv_func_connect = no
; then
15064 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15065 echo "configure:15066: checking for connect in -lsocket" >&5
15066 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15067 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15068 echo $ac_n "(cached) $ac_c" 1>&6
15070 ac_save_LIBS
="$LIBS"
15071 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15072 cat > conftest.
$ac_ext <<EOF
15073 #line 15074 "configure"
15074 #include "confdefs.h"
15075 /* Override any gcc2 internal prototype to avoid an error. */
15076 /* We use char because int might match the return type of a gcc2
15077 builtin and then its argument prototype would still apply. */
15084 if { (eval echo configure
:15085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15086 eval "ac_cv_lib_$ac_lib_var=yes"
15088 echo "configure: failed program was:" >&5
15089 cat conftest.
$ac_ext >&5
15091 eval "ac_cv_lib_$ac_lib_var=no"
15094 LIBS
="$ac_save_LIBS"
15097 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15098 echo "$ac_t""yes" 1>&6
15099 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15101 echo "$ac_t""no" 1>&6
15106 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15107 echo $ac_n "checking for remove""... $ac_c" 1>&6
15108 echo "configure:15109: checking for remove" >&5
15109 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15110 echo $ac_n "(cached) $ac_c" 1>&6
15112 cat > conftest.
$ac_ext <<EOF
15113 #line 15114 "configure"
15114 #include "confdefs.h"
15115 /* System header to define __stub macros and hopefully few prototypes,
15116 which can conflict with char remove(); below. */
15117 #include <assert.h>
15118 /* Override any gcc2 internal prototype to avoid an error. */
15119 /* We use char because int might match the return type of a gcc2
15120 builtin and then its argument prototype would still apply. */
15125 /* The GNU C library defines this for functions which it implements
15126 to always fail with ENOSYS. Some functions are actually named
15127 something starting with __ and the normal name is an alias. */
15128 #if defined (__stub_remove) || defined (__stub___remove)
15136 if { (eval echo configure
:15137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15138 eval "ac_cv_func_remove=yes"
15140 echo "configure: failed program was:" >&5
15141 cat conftest.
$ac_ext >&5
15143 eval "ac_cv_func_remove=no"
15148 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15149 echo "$ac_t""yes" 1>&6
15152 echo "$ac_t""no" 1>&6
15155 if test $ac_cv_func_remove = no
; then
15156 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15157 echo "configure:15158: checking for remove in -lposix" >&5
15158 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15159 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15160 echo $ac_n "(cached) $ac_c" 1>&6
15162 ac_save_LIBS
="$LIBS"
15163 LIBS
="-lposix $LIBS"
15164 cat > conftest.
$ac_ext <<EOF
15165 #line 15166 "configure"
15166 #include "confdefs.h"
15167 /* Override any gcc2 internal prototype to avoid an error. */
15168 /* We use char because int might match the return type of a gcc2
15169 builtin and then its argument prototype would still apply. */
15176 if { (eval echo configure
:15177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15178 eval "ac_cv_lib_$ac_lib_var=yes"
15180 echo "configure: failed program was:" >&5
15181 cat conftest.
$ac_ext >&5
15183 eval "ac_cv_lib_$ac_lib_var=no"
15186 LIBS
="$ac_save_LIBS"
15189 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15190 echo "$ac_t""yes" 1>&6
15191 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15193 echo "$ac_t""no" 1>&6
15198 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15199 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15200 echo "configure:15201: checking for shmat" >&5
15201 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15202 echo $ac_n "(cached) $ac_c" 1>&6
15204 cat > conftest.
$ac_ext <<EOF
15205 #line 15206 "configure"
15206 #include "confdefs.h"
15207 /* System header to define __stub macros and hopefully few prototypes,
15208 which can conflict with char shmat(); below. */
15209 #include <assert.h>
15210 /* Override any gcc2 internal prototype to avoid an error. */
15211 /* We use char because int might match the return type of a gcc2
15212 builtin and then its argument prototype would still apply. */
15217 /* The GNU C library defines this for functions which it implements
15218 to always fail with ENOSYS. Some functions are actually named
15219 something starting with __ and the normal name is an alias. */
15220 #if defined (__stub_shmat) || defined (__stub___shmat)
15228 if { (eval echo configure
:15229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15230 eval "ac_cv_func_shmat=yes"
15232 echo "configure: failed program was:" >&5
15233 cat conftest.
$ac_ext >&5
15235 eval "ac_cv_func_shmat=no"
15240 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15241 echo "$ac_t""yes" 1>&6
15244 echo "$ac_t""no" 1>&6
15247 if test $ac_cv_func_shmat = no
; then
15248 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15249 echo "configure:15250: checking for shmat in -lipc" >&5
15250 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15251 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15252 echo $ac_n "(cached) $ac_c" 1>&6
15254 ac_save_LIBS
="$LIBS"
15256 cat > conftest.
$ac_ext <<EOF
15257 #line 15258 "configure"
15258 #include "confdefs.h"
15259 /* Override any gcc2 internal prototype to avoid an error. */
15260 /* We use char because int might match the return type of a gcc2
15261 builtin and then its argument prototype would still apply. */
15268 if { (eval echo configure
:15269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15270 eval "ac_cv_lib_$ac_lib_var=yes"
15272 echo "configure: failed program was:" >&5
15273 cat conftest.
$ac_ext >&5
15275 eval "ac_cv_lib_$ac_lib_var=no"
15278 LIBS
="$ac_save_LIBS"
15281 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15282 echo "$ac_t""yes" 1>&6
15283 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15285 echo "$ac_t""no" 1>&6
15291 # Check for libraries that X11R6 Xt/Xaw programs need.
15292 ac_save_LDFLAGS
="$LDFLAGS"
15293 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15294 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15295 # check for ICE first), but we must link in the order -lSM -lICE or
15296 # we get undefined symbols. So assume we have SM if we have ICE.
15297 # These have to be linked with before -lX11, unlike the other
15298 # libraries we check for below, so use a different variable.
15299 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15300 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15301 echo "configure:15302: checking for IceConnectionNumber in -lICE" >&5
15302 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15304 echo $ac_n "(cached) $ac_c" 1>&6
15306 ac_save_LIBS
="$LIBS"
15307 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15308 cat > conftest.
$ac_ext <<EOF
15309 #line 15310 "configure"
15310 #include "confdefs.h"
15311 /* Override any gcc2 internal prototype to avoid an error. */
15312 /* We use char because int might match the return type of a gcc2
15313 builtin and then its argument prototype would still apply. */
15314 char IceConnectionNumber();
15317 IceConnectionNumber()
15320 if { (eval echo configure
:15321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15322 eval "ac_cv_lib_$ac_lib_var=yes"
15324 echo "configure: failed program was:" >&5
15325 cat conftest.
$ac_ext >&5
15327 eval "ac_cv_lib_$ac_lib_var=no"
15330 LIBS
="$ac_save_LIBS"
15333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15334 echo "$ac_t""yes" 1>&6
15335 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15337 echo "$ac_t""no" 1>&6
15340 LDFLAGS
="$ac_save_LDFLAGS"
15345 if test "$no_x" = "yes"; then
15346 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15349 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15350 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15351 AFMINSTALL
=afminstall
15352 COMPILED_X_PROGRAM
=0
15354 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15355 echo "configure:15356: checking for Motif/Lesstif headers" >&5
15358 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15360 if test -f "$ac_dir/Xm/Xm.h"; then
15361 ac_find_includes
=$ac_dir
15366 if test "$ac_find_includes" != "" ; then
15367 echo "$ac_t""found in $ac_find_includes" 1>&6
15369 if test "x$ac_find_includes" = "x/usr/include"; then
15370 ac_path_to_include
=""
15372 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15374 if test $result = 0; then
15375 ac_path_to_include
=""
15377 ac_path_to_include
=" -I$ac_find_includes"
15381 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15383 cat > conftest.
$ac_ext <<EOF
15384 #line 15385 "configure"
15385 #include "confdefs.h"
15392 version = xmUseVersion;
15396 if { (eval echo configure
:15397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15399 echo "$ac_t""found in default search path" 1>&6
15400 COMPILED_X_PROGRAM
=1
15403 echo "configure: failed program was:" >&5
15404 cat conftest.
$ac_ext >&5
15407 echo "$ac_t""no" 1>&6
15408 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15415 if test "$COMPILED_X_PROGRAM" = 0; then
15416 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15417 echo "configure:15418: checking for Motif/Lesstif library" >&5
15420 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15422 for ac_extension
in a so sl dylib
; do
15423 if test -f "$ac_dir/libXm.$ac_extension"; then
15424 ac_find_libraries
=$ac_dir
15430 if test "$ac_find_libraries" != "" ; then
15431 echo "$ac_t""found at $ac_find_libraries" 1>&6
15434 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15436 if test $result = 0; then
15439 ac_path_to_link
=" -L$ac_find_libraries"
15442 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15444 save_CFLAGS
=$CFLAGS
15445 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15447 cat > conftest.
$ac_ext <<EOF
15448 #line 15449 "configure"
15449 #include "confdefs.h"
15456 version = xmUseVersion;
15460 if { (eval echo configure
:15461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15463 echo "$ac_t""found in default search path" 1>&6
15464 COMPILED_X_PROGRAM
=1
15467 echo "configure: failed program was:" >&5
15468 cat conftest.
$ac_ext >&5
15471 echo "$ac_t""no" 1>&6
15472 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15478 CFLAGS
=$save_CFLAGS
15483 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15484 echo "configure:15485: checking for Xpm library" >&5
15487 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15489 for ac_extension
in a so sl dylib
; do
15490 if test -f "$ac_dir/libXpm.$ac_extension"; then
15491 ac_find_libraries
=$ac_dir
15497 if test "$ac_find_libraries" != "" ; then
15499 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15501 if test $result = 0; then
15504 ac_path_to_link
=" -L$ac_find_libraries"
15507 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15510 cat >> confdefs.h
<<\EOF
15511 #define wxHAVE_LIB_XPM 1
15514 echo "$ac_t""found at $ac_find_libraries" 1>&6
15516 save_CFLAGS
=$CFLAGS
15517 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15519 cat > conftest.
$ac_ext <<EOF
15520 #line 15521 "configure"
15521 #include "confdefs.h"
15523 #include <X11/xpm.h>
15528 version = XpmLibraryVersion();
15532 if { (eval echo configure
:15533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15536 cat >> confdefs.h
<<\EOF
15537 #define wxHAVE_LIB_XPM 1
15540 echo "$ac_t""found in default search path" 1>&6
15541 COMPILED_X_PROGRAM
=0
15544 echo "configure: failed program was:" >&5
15545 cat conftest.
$ac_ext >&5
15548 echo "$ac_t""no" 1>&6
15549 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15555 CFLAGS
=$save_CFLAGS
15558 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15559 echo "configure:15560: checking if we need -lXp and/or -lSM -lICE" >&5
15563 for libp
in "" " -lXp"; do
15564 if test "$libs_found" = "0"; then
15565 for libsm_ice
in " -lSM -lICE"; do
15566 if test "$libs_found" = "0"; then
15568 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15569 save_CFLAGS
=$CFLAGS
15570 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15572 cat > conftest.
$ac_ext <<EOF
15573 #line 15574 "configure"
15574 #include "confdefs.h"
15577 #include <Xm/List.h>
15581 XmString string = NULL;
15584 XmListAddItem(w, string, position);
15588 if { (eval echo configure
:15589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15592 libsm_ice_link
="$libsm_ice"
15593 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15597 echo "configure: failed program was:" >&5
15598 cat conftest.
$ac_ext >&5
15606 CFLAGS
=$save_CFLAGS
15612 if test "$libs_found" = "0"; then
15613 echo "$ac_t""can't find the right libraries" 1>&6
15614 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15617 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15618 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15623 if test "$wxUSE_MAC" = 1; then
15624 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15626 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15631 if test "$wxUSE_PM" = 1; then
15634 echo "configure: warning: OS/2 PM requires old resource format, re-enabled" 1>&2
15635 wxUSE_PROLOGIO
="yes"
15636 wxUSE_RESOURCES
="yes"
15637 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15641 if test "$TOOLKIT" = "PM" ; then
15644 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15647 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15649 if test "$wxUSE_UNIVERSAL" = "yes"; then
15650 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15652 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15653 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15655 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15656 if test "$wxUSE_X11" = 1; then
15657 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15659 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15661 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15664 ALL_OBJECTS
="\$(GUIOBJS)"
15665 ALL_SOURCES
="\$(ALL_SOURCES)"
15666 ALL_HEADERS
="\$(ALL_HEADERS)"
15669 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15671 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15672 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15675 if test "$wxUSE_HTML" = "yes"; then
15676 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15679 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15680 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15682 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15683 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15685 if test "$wxUSE_LIBPNG" = "builtin" ; then
15686 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15689 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15690 DISTDIR
="wx\$(TOOLKIT)"
15696 if test "$USE_WIN32" = 1 ; then
15697 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15698 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15702 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15703 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15706 ALL_SOURCES
="\$(ALL_SOURCES)"
15707 ALL_HEADERS
="\$(ALL_HEADERS)"
15709 PORT_FILES
="\${top_srcdir}/src/files.lst"
15711 GUIDIST
="BASE_DIST"
15716 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15717 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15720 if test "$wxUSE_REGEX" = "builtin" ; then
15721 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15723 if test "$wxUSE_ZLIB" = "builtin" ; then
15724 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15728 if test "$wxUSE_OPENGL" = "yes"; then
15729 if test "$wxUSE_MAC" = 1; then
15730 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15731 elif test "$wxUSE_MSW" = 1; then
15732 OPENGL_LIBS
="-lopengl32 -lglu32"
15734 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15735 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15736 echo "configure:15737: checking for GL/gl.h" >&5
15737 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15738 echo $ac_n "(cached) $ac_c" 1>&6
15740 cat > conftest.
$ac_ext <<EOF
15741 #line 15742 "configure"
15742 #include "confdefs.h"
15745 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15746 { (eval echo configure
:15747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15747 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15748 if test -z "$ac_err"; then
15750 eval "ac_cv_header_$ac_safe=yes"
15753 echo "configure: failed program was:" >&5
15754 cat conftest.
$ac_ext >&5
15756 eval "ac_cv_header_$ac_safe=no"
15760 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15761 echo "$ac_t""yes" 1>&6
15763 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15764 echo "configure:15765: checking for -lGL" >&5
15767 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15769 for ac_extension
in a so sl dylib
; do
15770 if test -f "$ac_dir/libGL.$ac_extension"; then
15771 ac_find_libraries
=$ac_dir
15777 if test "$ac_find_libraries" != "" ; then
15779 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15781 if test $result = 0; then
15784 ac_path_to_link
=" -L$ac_find_libraries"
15787 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15788 LDFLAGS_GL
="$LDFLAGS"
15790 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15792 OPENGL_LIBS
="-lGL -lGLU"
15793 echo "$ac_t""yes" 1>&6
15795 echo "$ac_t""no" 1>&6
15796 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15797 echo "configure:15798: checking for -lMesaGL" >&5
15800 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15802 for ac_extension
in a so sl dylib
; do
15803 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15804 ac_find_libraries
=$ac_dir
15810 if test "$ac_find_libraries" != "" ; then
15812 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15814 if test $result = 0; then
15817 ac_path_to_link
=" -L$ac_find_libraries"
15820 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15821 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15822 echo "$ac_t""yes" 1>&6
15824 echo "$ac_t""no" 1>&6
15829 echo "$ac_t""no" 1>&6
15833 if test "x$OPENGL_LIBS" = "x"; then
15834 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15838 if test "$wxUSE_OPENGL" = "yes"; then
15839 cat >> confdefs.h
<<\EOF
15840 #define wxUSE_OPENGL 1
15843 cat >> confdefs.h
<<\EOF
15844 #define wxUSE_GLCANVAS 1
15847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15851 if test -z "$TOOLKIT_VPATH" ; then
15852 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15855 if test -n "$TOOLKIT" ; then
15856 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15859 lib_unicode_suffix
=
15860 if test "$wxUSE_UNICODE" = "yes"; then
15861 lib_unicode_suffix
=u
15865 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15869 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
15871 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15872 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15874 if test "$cross_compiling" = "yes"; then
15875 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
15876 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15879 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15880 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15881 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
15883 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15884 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15886 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15887 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15888 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15889 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15892 *-*-cygwin* | *-*-mingw32* )
15896 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15897 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15898 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15899 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15900 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15902 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15903 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15909 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15910 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15912 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
15913 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15914 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
15915 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15917 if test "$wxUSE_MAC" = 1; then
15918 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
15919 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
15924 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
15925 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
15927 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
15928 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
15930 if test "$wxUSE_OPENGL" = "yes"; then
15931 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
15932 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
15937 if test "$wxUSE_SHARED" = "yes"; then
15939 *-pc-os2_emx | *-pc-os2-emx | \
15942 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
15947 if test "$wxUSE_SHARED" = "yes"; then
15949 if test "$wxUSE_OPENGL" = "yes"; then
15950 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
15951 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
15953 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
15954 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
15957 if test "$GCC" = "yes"; then
15963 found_versioning
=no
15966 if test $found_versioning = no
; then
15967 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
15968 echo "configure:15969: checking if the linker accepts --version-script" >&5
15969 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
15970 echo $ac_n "(cached) $ac_c" 1>&6
15973 echo "VER_1 { *; };" >conftest.sym
15974 echo "int main() { return 0; }" >conftest.cpp
15977 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
15978 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:15979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
15979 if test -s conftest.stderr
; then
15980 wx_cv_version_script
=no
15982 wx_cv_version_script
=yes
15985 wx_cv_version_script
=no
15987 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
15991 echo "$ac_t""$wx_cv_version_script" 1>&6
15992 if test $wx_cv_version_script = yes ; then
15993 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
15998 SHARED_LD
="${CXX} -shared -o"
16002 if test "$GCC" = "yes"; then
16003 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
16005 LDFLAGS
="$LDFLAGS -L/usr/lib"
16007 SHARED_LD
="${CXX} -b -o"
16011 if test "$wxUSE_OPENGL" = "yes"; then
16012 WX_ALL_INSTALLED
="preinstall_gl"
16013 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16015 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16020 if test "$GCC" != "yes"; then
16021 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
16022 echo "configure:16023: checking for Intel compiler" >&5
16023 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
16024 echo $ac_n "(cached) $ac_c" 1>&6
16027 cat > conftest.
$ac_ext <<EOF
16028 #line 16029 "configure"
16029 #include "confdefs.h"
16033 #ifndef __INTEL_COMPILER
16039 if { (eval echo configure
:16040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16043 echo "configure: failed program was:" >&5
16044 cat conftest.
$ac_ext >&5
16053 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16054 if test "$wx_cv_prog_icc" = "yes"; then
16059 if test "$wxUSE_SONAME" = "yes" ; then
16060 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16061 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16062 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16067 if test "$GCC" = yes ; then
16068 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16070 SHARED_LD
="${CXX} -G -o"
16072 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16073 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16078 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16079 CFLAGS
="$CFLAGS -fno-common"
16080 CXXFLAGS
="$CXXFLAGS -fno-common"
16081 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16082 PIC_FLAG
="-dynamic -fPIC"
16083 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16084 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16088 if test "$GCC" != "yes"; then
16089 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16090 set dummy makeC
++SharedLib
; ac_word
=$2
16091 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16092 echo "configure:16093: checking for $ac_word" >&5
16093 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16094 echo $ac_n "(cached) $ac_c" 1>&6
16096 if test -n "$AIX_CXX_LD"; then
16097 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16099 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16101 for ac_dir
in $ac_dummy; do
16102 test -z "$ac_dir" && ac_dir
=.
16103 if test -f $ac_dir/$ac_word; then
16104 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16109 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16112 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16113 if test -n "$AIX_CXX_LD"; then
16114 echo "$ac_t""$AIX_CXX_LD" 1>&6
16116 echo "$ac_t""no" 1>&6
16120 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16124 *-*-cygwin* | *-*-mingw32* )
16125 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16127 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16128 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16130 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16132 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16133 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16135 if test "$wxUSE_OPENGL" = "yes"; then
16136 LIBS
="${LIBS} ${OPENGL_LIBS}"
16141 SHARED_LD
="${LD} -shared -o"
16145 if test "$GCC" != "yes"; then
16150 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16158 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16161 if test "x$WX_TARGET_LIBRARY" = "x"; then
16162 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16163 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16166 WX_TARGET_LIBRARY_TYPE
="so"
16167 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16170 if test "$wxUSE_SHARED" = "no"; then
16172 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16173 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16176 if test "$wxUSE_MAC" = 1; then
16177 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16180 if test "$wxUSE_OPENGL" = "yes"; then
16181 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16182 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16184 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16187 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16188 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16190 WX_TARGET_LIBRARY_TYPE
="a"
16191 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16201 if test "$wxUSE_MAC" = 1; then
16202 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16203 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16204 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16205 # Extract the first word of "Rez", so it can be a program name with args.
16206 set dummy Rez
; ac_word
=$2
16207 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16208 echo "configure:16209: checking for $ac_word" >&5
16209 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16210 echo $ac_n "(cached) $ac_c" 1>&6
16212 if test -n "$RESCOMP"; then
16213 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16215 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16217 for ac_dir
in $ac_dummy; do
16218 test -z "$ac_dir" && ac_dir
=.
16219 if test -f $ac_dir/$ac_word; then
16220 ac_cv_prog_RESCOMP
="Rez"
16225 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16228 RESCOMP
="$ac_cv_prog_RESCOMP"
16229 if test -n "$RESCOMP"; then
16230 echo "$ac_t""$RESCOMP" 1>&6
16232 echo "$ac_t""no" 1>&6
16235 # Extract the first word of "DeRez", so it can be a program name with args.
16236 set dummy DeRez
; ac_word
=$2
16237 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16238 echo "configure:16239: checking for $ac_word" >&5
16239 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16240 echo $ac_n "(cached) $ac_c" 1>&6
16242 if test -n "$DEREZ"; then
16243 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16245 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16247 for ac_dir
in $ac_dummy; do
16248 test -z "$ac_dir" && ac_dir
=.
16249 if test -f $ac_dir/$ac_word; then
16250 ac_cv_prog_DEREZ
="DeRez"
16255 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16258 DEREZ
="$ac_cv_prog_DEREZ"
16259 if test -n "$DEREZ"; then
16260 echo "$ac_t""$DEREZ" 1>&6
16262 echo "$ac_t""no" 1>&6
16265 # Extract the first word of "SetFile", so it can be a program name with args.
16266 set dummy SetFile
; ac_word
=$2
16267 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16268 echo "configure:16269: checking for $ac_word" >&5
16269 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16270 echo $ac_n "(cached) $ac_c" 1>&6
16272 if test -n "$SETFILE"; then
16273 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16275 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16277 for ac_dir
in $ac_dummy; do
16278 test -z "$ac_dir" && ac_dir
=.
16279 if test -f $ac_dir/$ac_word; then
16280 ac_cv_prog_SETFILE
="SetFile"
16285 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16288 SETFILE
="$ac_cv_prog_SETFILE"
16289 if test -n "$SETFILE"; then
16290 echo "$ac_t""$SETFILE" 1>&6
16292 echo "$ac_t""no" 1>&6
16295 MACOSX_BUNDLE
="bundle"
16296 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16297 MACSETFILE
="\$(SETFILE)"
16298 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16300 if test "$wxUSE_PM" = 1; then
16301 MACRESCOMP
="emxbind -ep"
16306 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16307 echo "configure:16308: checking for ANSI C header files" >&5
16308 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16309 echo $ac_n "(cached) $ac_c" 1>&6
16311 cat > conftest.
$ac_ext <<EOF
16312 #line 16313 "configure"
16313 #include "confdefs.h"
16314 #include <stdlib.h>
16315 #include <stdarg.h>
16316 #include <string.h>
16319 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16320 { (eval echo configure
:16321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16321 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16322 if test -z "$ac_err"; then
16324 ac_cv_header_stdc
=yes
16327 echo "configure: failed program was:" >&5
16328 cat conftest.
$ac_ext >&5
16330 ac_cv_header_stdc
=no
16334 if test $ac_cv_header_stdc = yes; then
16335 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16336 cat > conftest.
$ac_ext <<EOF
16337 #line 16338 "configure"
16338 #include "confdefs.h"
16339 #include <string.h>
16341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16342 egrep "memchr" >/dev
/null
2>&1; then
16346 ac_cv_header_stdc
=no
16352 if test $ac_cv_header_stdc = yes; then
16353 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16354 cat > conftest.
$ac_ext <<EOF
16355 #line 16356 "configure"
16356 #include "confdefs.h"
16357 #include <stdlib.h>
16359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16360 egrep "free" >/dev
/null
2>&1; then
16364 ac_cv_header_stdc
=no
16370 if test $ac_cv_header_stdc = yes; then
16371 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16372 if test "$cross_compiling" = yes; then
16375 cat > conftest.
$ac_ext <<EOF
16376 #line 16377 "configure"
16377 #include "confdefs.h"
16379 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16380 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16381 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16382 int main () { int i; for (i = 0; i < 256; i++)
16383 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16387 if { (eval echo configure
:16388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16391 echo "configure: failed program was:" >&5
16392 cat conftest.
$ac_ext >&5
16394 ac_cv_header_stdc
=no
16402 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16403 if test $ac_cv_header_stdc = yes; then
16404 cat >> confdefs.h
<<\EOF
16405 #define STDC_HEADERS 1
16410 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16411 echo "configure:16412: checking for mode_t" >&5
16412 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16413 echo $ac_n "(cached) $ac_c" 1>&6
16415 cat > conftest.
$ac_ext <<EOF
16416 #line 16417 "configure"
16417 #include "confdefs.h"
16418 #include <sys/types.h>
16420 #include <stdlib.h>
16421 #include <stddef.h>
16424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16425 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16427 ac_cv_type_mode_t
=yes
16430 ac_cv_type_mode_t
=no
16435 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16436 if test $ac_cv_type_mode_t = no
; then
16437 cat >> confdefs.h
<<\EOF
16443 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16444 echo "configure:16445: checking for off_t" >&5
16445 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16446 echo $ac_n "(cached) $ac_c" 1>&6
16448 cat > conftest.
$ac_ext <<EOF
16449 #line 16450 "configure"
16450 #include "confdefs.h"
16451 #include <sys/types.h>
16453 #include <stdlib.h>
16454 #include <stddef.h>
16457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16458 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16460 ac_cv_type_off_t
=yes
16463 ac_cv_type_off_t
=no
16468 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16469 if test $ac_cv_type_off_t = no
; then
16470 cat >> confdefs.h
<<\EOF
16476 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16477 echo "configure:16478: checking for pid_t" >&5
16478 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16479 echo $ac_n "(cached) $ac_c" 1>&6
16481 cat > conftest.
$ac_ext <<EOF
16482 #line 16483 "configure"
16483 #include "confdefs.h"
16484 #include <sys/types.h>
16486 #include <stdlib.h>
16487 #include <stddef.h>
16490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16491 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16493 ac_cv_type_pid_t
=yes
16496 ac_cv_type_pid_t
=no
16501 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16502 if test $ac_cv_type_pid_t = no
; then
16503 cat >> confdefs.h
<<\EOF
16509 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16510 echo "configure:16511: checking for size_t" >&5
16511 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16512 echo $ac_n "(cached) $ac_c" 1>&6
16514 cat > conftest.
$ac_ext <<EOF
16515 #line 16516 "configure"
16516 #include "confdefs.h"
16517 #include <sys/types.h>
16519 #include <stdlib.h>
16520 #include <stddef.h>
16523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16524 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16526 ac_cv_type_size_t
=yes
16529 ac_cv_type_size_t
=no
16534 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16535 if test $ac_cv_type_size_t = no
; then
16536 cat >> confdefs.h
<<\EOF
16537 #define size_t unsigned
16542 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16543 echo "configure:16544: checking for uid_t in sys/types.h" >&5
16544 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16545 echo $ac_n "(cached) $ac_c" 1>&6
16547 cat > conftest.
$ac_ext <<EOF
16548 #line 16549 "configure"
16549 #include "confdefs.h"
16550 #include <sys/types.h>
16552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16553 egrep "uid_t" >/dev
/null
2>&1; then
16555 ac_cv_type_uid_t
=yes
16558 ac_cv_type_uid_t
=no
16564 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16565 if test $ac_cv_type_uid_t = no
; then
16566 cat >> confdefs.h
<<\EOF
16570 cat >> confdefs.h
<<\EOF
16579 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16580 ac_cpp
='$CXXCPP $CPPFLAGS'
16581 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16582 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16583 cross_compiling
=$ac_cv_prog_cxx_cross
16585 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16586 echo "configure:16587: checking if size_t is unsigned int" >&5
16587 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16588 echo $ac_n "(cached) $ac_c" 1>&6
16590 cat > conftest.
$ac_ext <<EOF
16591 #line 16592 "configure"
16592 #include "confdefs.h"
16593 #include <stddef.h>
16598 struct Foo { void foo(size_t); void foo(unsigned int); };
16604 if { (eval echo configure
:16605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16606 wx_cv_size_t_is_uint
=no
16608 echo "configure: failed program was:" >&5
16609 cat conftest.
$ac_ext >&5
16611 wx_cv_size_t_is_uint
=yes
16618 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16620 if test "$wx_cv_size_t_is_uint" = "yes"; then
16621 cat >> confdefs.h
<<\EOF
16622 #define wxSIZE_T_IS_UINT 1
16626 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16627 echo "configure:16628: checking if size_t is unsigned long" >&5
16628 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16629 echo $ac_n "(cached) $ac_c" 1>&6
16631 cat > conftest.
$ac_ext <<EOF
16632 #line 16633 "configure"
16633 #include "confdefs.h"
16634 #include <stddef.h>
16639 struct Foo { void foo(size_t); void foo(unsigned long); };
16645 if { (eval echo configure
:16646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16647 wx_cv_size_t_is_ulong
=no
16649 echo "configure: failed program was:" >&5
16650 cat conftest.
$ac_ext >&5
16652 wx_cv_size_t_is_ulong
=yes
16659 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16661 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16662 cat >> confdefs.h
<<\EOF
16663 #define wxSIZE_T_IS_ULONG 1
16670 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16671 ac_cpp
='$CPP $CPPFLAGS'
16672 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16673 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16674 cross_compiling
=$ac_cv_prog_cc_cross
16678 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16679 echo "configure:16680: checking for pw_gecos in struct passwd" >&5
16680 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16681 echo $ac_n "(cached) $ac_c" 1>&6
16684 cat > conftest.
$ac_ext <<EOF
16685 #line 16686 "configure"
16686 #include "confdefs.h"
16696 if { (eval echo configure
:16697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16699 wx_cv_struct_pw_gecos
=yes
16702 echo "configure: failed program was:" >&5
16703 cat conftest.
$ac_ext >&5
16706 wx_cv_struct_pw_gecos
=no
16715 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16717 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16718 cat >> confdefs.h
<<\EOF
16719 #define HAVE_PW_GECOS 1
16725 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16726 cat >> confdefs.h
<<\EOF
16727 #define wxUSE_WCHAR_T 1
16733 for ac_func
in wcslen
16735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16736 echo "configure:16737: checking for $ac_func" >&5
16737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16738 echo $ac_n "(cached) $ac_c" 1>&6
16740 cat > conftest.
$ac_ext <<EOF
16741 #line 16742 "configure"
16742 #include "confdefs.h"
16743 /* System header to define __stub macros and hopefully few prototypes,
16744 which can conflict with char $ac_func(); below. */
16745 #include <assert.h>
16746 /* Override any gcc2 internal prototype to avoid an error. */
16747 /* We use char because int might match the return type of a gcc2
16748 builtin and then its argument prototype would still apply. */
16753 /* The GNU C library defines this for functions which it implements
16754 to always fail with ENOSYS. Some functions are actually named
16755 something starting with __ and the normal name is an alias. */
16756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16764 if { (eval echo configure
:16765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16766 eval "ac_cv_func_$ac_func=yes"
16768 echo "configure: failed program was:" >&5
16769 cat conftest.
$ac_ext >&5
16771 eval "ac_cv_func_$ac_func=no"
16776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16777 echo "$ac_t""yes" 1>&6
16778 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16779 cat >> confdefs.h
<<EOF
16780 #define $ac_tr_func 1
16784 echo "$ac_t""no" 1>&6
16789 if test "$WCSLEN_FOUND" = 0; then
16790 if test "$TOOLKIT" = "MSW"; then
16791 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16792 echo "configure:16793: checking for wcslen in -lmsvcrt" >&5
16793 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16794 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16795 echo $ac_n "(cached) $ac_c" 1>&6
16797 ac_save_LIBS
="$LIBS"
16798 LIBS
="-lmsvcrt $LIBS"
16799 cat > conftest.
$ac_ext <<EOF
16800 #line 16801 "configure"
16801 #include "confdefs.h"
16802 /* Override any gcc2 internal prototype to avoid an error. */
16803 /* We use char because int might match the return type of a gcc2
16804 builtin and then its argument prototype would still apply. */
16811 if { (eval echo configure
:16812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16813 eval "ac_cv_lib_$ac_lib_var=yes"
16815 echo "configure: failed program was:" >&5
16816 cat conftest.
$ac_ext >&5
16818 eval "ac_cv_lib_$ac_lib_var=no"
16821 LIBS
="$ac_save_LIBS"
16824 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16825 echo "$ac_t""yes" 1>&6
16828 echo "$ac_t""no" 1>&6
16832 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
16833 echo "configure:16834: checking for wcslen in -lw" >&5
16834 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
16835 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16836 echo $ac_n "(cached) $ac_c" 1>&6
16838 ac_save_LIBS
="$LIBS"
16840 cat > conftest.
$ac_ext <<EOF
16841 #line 16842 "configure"
16842 #include "confdefs.h"
16843 /* Override any gcc2 internal prototype to avoid an error. */
16844 /* We use char because int might match the return type of a gcc2
16845 builtin and then its argument prototype would still apply. */
16852 if { (eval echo configure
:16853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16854 eval "ac_cv_lib_$ac_lib_var=yes"
16856 echo "configure: failed program was:" >&5
16857 cat conftest.
$ac_ext >&5
16859 eval "ac_cv_lib_$ac_lib_var=no"
16862 LIBS
="$ac_save_LIBS"
16865 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16866 echo "$ac_t""yes" 1>&6
16872 echo "$ac_t""no" 1>&6
16878 if test "$WCSLEN_FOUND" = 1; then
16879 cat >> confdefs.h
<<\EOF
16880 #define HAVE_WCSLEN 1
16885 for ac_func
in wcsrtombs
16887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16888 echo "configure:16889: checking for $ac_func" >&5
16889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16890 echo $ac_n "(cached) $ac_c" 1>&6
16892 cat > conftest.
$ac_ext <<EOF
16893 #line 16894 "configure"
16894 #include "confdefs.h"
16895 /* System header to define __stub macros and hopefully few prototypes,
16896 which can conflict with char $ac_func(); below. */
16897 #include <assert.h>
16898 /* Override any gcc2 internal prototype to avoid an error. */
16899 /* We use char because int might match the return type of a gcc2
16900 builtin and then its argument prototype would still apply. */
16905 /* The GNU C library defines this for functions which it implements
16906 to always fail with ENOSYS. Some functions are actually named
16907 something starting with __ and the normal name is an alias. */
16908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16916 if { (eval echo configure
:16917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16918 eval "ac_cv_func_$ac_func=yes"
16920 echo "configure: failed program was:" >&5
16921 cat conftest.
$ac_ext >&5
16923 eval "ac_cv_func_$ac_func=no"
16928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16929 echo "$ac_t""yes" 1>&6
16930 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16931 cat >> confdefs.h
<<EOF
16932 #define $ac_tr_func 1
16936 echo "$ac_t""no" 1>&6
16941 echo "configure: warning: Wide character support is unavailable" 1>&2
16946 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16947 ac_cpp
='$CXXCPP $CPPFLAGS'
16948 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16949 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16950 cross_compiling
=$ac_cv_prog_cxx_cross
16953 for ac_func
in vsnprintf
16955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16956 echo "configure:16957: checking for $ac_func" >&5
16957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16958 echo $ac_n "(cached) $ac_c" 1>&6
16960 cat > conftest.
$ac_ext <<EOF
16961 #line 16962 "configure"
16962 #include "confdefs.h"
16963 /* System header to define __stub macros and hopefully few prototypes,
16964 which can conflict with char $ac_func(); below. */
16965 #include <assert.h>
16966 /* Override any gcc2 internal prototype to avoid an error. */
16970 /* We use char because int might match the return type of a gcc2
16971 builtin and then its argument prototype would still apply. */
16976 /* The GNU C library defines this for functions which it implements
16977 to always fail with ENOSYS. Some functions are actually named
16978 something starting with __ and the normal name is an alias. */
16979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16987 if { (eval echo configure
:16988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16989 eval "ac_cv_func_$ac_func=yes"
16991 echo "configure: failed program was:" >&5
16992 cat conftest.
$ac_ext >&5
16994 eval "ac_cv_func_$ac_func=no"
16999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17000 echo "$ac_t""yes" 1>&6
17001 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17002 cat >> confdefs.h
<<EOF
17003 #define $ac_tr_func 1
17007 echo "$ac_t""no" 1>&6
17012 if test "$ac_cv_func_vsnprintf" = "yes"; then
17013 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
17014 echo "configure:17015: checking for vsnprintf declaration" >&5
17015 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
17016 echo $ac_n "(cached) $ac_c" 1>&6
17019 cat > conftest.
$ac_ext <<EOF
17020 #line 17021 "configure"
17021 #include "confdefs.h"
17024 #include <stdarg.h>
17030 vsnprintf(buf, 10u, "%s", ap);
17034 if { (eval echo configure
:17035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17036 wx_cv_func_vsnprintf_decl
=yes
17038 echo "configure: failed program was:" >&5
17039 cat conftest.
$ac_ext >&5
17041 wx_cv_func_vsnprintf_decl
=no
17049 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17051 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17052 cat >> confdefs.h
<<\EOF
17053 #define HAVE_VSNPRINTF_DECL 1
17059 if test "$wxUSE_UNICODE" = yes; then
17060 for ac_func
in fputwc wprintf vswprintf
17062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17063 echo "configure:17064: checking for $ac_func" >&5
17064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17065 echo $ac_n "(cached) $ac_c" 1>&6
17067 cat > conftest.
$ac_ext <<EOF
17068 #line 17069 "configure"
17069 #include "confdefs.h"
17070 /* System header to define __stub macros and hopefully few prototypes,
17071 which can conflict with char $ac_func(); below. */
17072 #include <assert.h>
17073 /* Override any gcc2 internal prototype to avoid an error. */
17077 /* We use char because int might match the return type of a gcc2
17078 builtin and then its argument prototype would still apply. */
17083 /* The GNU C library defines this for functions which it implements
17084 to always fail with ENOSYS. Some functions are actually named
17085 something starting with __ and the normal name is an alias. */
17086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17094 if { (eval echo configure
:17095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17096 eval "ac_cv_func_$ac_func=yes"
17098 echo "configure: failed program was:" >&5
17099 cat conftest.
$ac_ext >&5
17101 eval "ac_cv_func_$ac_func=no"
17106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17107 echo "$ac_t""yes" 1>&6
17108 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17109 cat >> confdefs.h
<<EOF
17110 #define $ac_tr_func 1
17114 echo "$ac_t""no" 1>&6
17119 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17120 echo "configure:17121: checking for _vsnwprintf" >&5
17121 cat > conftest.
$ac_ext <<EOF
17122 #line 17123 "configure"
17123 #include "confdefs.h"
17129 if { (eval echo configure
:17130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17131 echo "$ac_t""yes" 1>&6
17132 cat >> confdefs.h
<<\EOF
17133 #define HAVE__VSNWPRINTF 1
17137 echo "configure: failed program was:" >&5
17138 cat conftest.
$ac_ext >&5
17140 echo "$ac_t""no" 1>&6
17146 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17147 ac_cpp
='$CPP $CPPFLAGS'
17148 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17149 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17150 cross_compiling
=$ac_cv_prog_cc_cross
17155 if test "$TOOLKIT" != "MSW"; then
17160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17161 ac_cpp
='$CXXCPP $CPPFLAGS'
17162 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17163 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17164 cross_compiling
=$ac_cv_prog_cxx_cross
17168 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17169 if test "${with_libiconv_prefix+set}" = set; then
17170 withval
="$with_libiconv_prefix"
17172 for dir
in `echo "$withval" | tr : ' '`; do
17173 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17174 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17180 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17181 echo "configure:17182: checking for iconv" >&5
17182 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17183 echo $ac_n "(cached) $ac_c" 1>&6
17186 am_cv_func_iconv
="no, consider installing GNU libiconv"
17188 cat > conftest.
$ac_ext <<EOF
17189 #line 17190 "configure"
17190 #include "confdefs.h"
17191 #include <stdlib.h>
17194 iconv_t cd = iconv_open("","");
17195 iconv(cd,NULL,NULL,NULL,NULL);
17199 if { (eval echo configure
:17200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17201 am_cv_func_iconv
=yes
17203 echo "configure: failed program was:" >&5
17204 cat conftest.
$ac_ext >&5
17207 if test "$am_cv_func_iconv" != yes; then
17208 am_save_LIBS
="$LIBS"
17209 LIBS
="$LIBS -liconv"
17210 cat > conftest.
$ac_ext <<EOF
17211 #line 17212 "configure"
17212 #include "confdefs.h"
17213 #include <stdlib.h>
17216 iconv_t cd = iconv_open("","");
17217 iconv(cd,NULL,NULL,NULL,NULL);
17221 if { (eval echo configure
:17222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17223 am_cv_lib_iconv
=yes
17224 am_cv_func_iconv
=yes
17226 echo "configure: failed program was:" >&5
17227 cat conftest.
$ac_ext >&5
17230 LIBS
="$am_save_LIBS"
17235 echo "$ac_t""$am_cv_func_iconv" 1>&6
17236 if test "$am_cv_func_iconv" = yes; then
17237 cat >> confdefs.h
<<\EOF
17238 #define HAVE_ICONV 1
17241 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17242 echo "configure:17243: checking if iconv needs const" >&5
17243 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17244 echo $ac_n "(cached) $ac_c" 1>&6
17246 cat > conftest.
$ac_ext <<EOF
17247 #line 17248 "configure"
17248 #include "confdefs.h"
17250 #include <stdlib.h>
17256 #if defined(__STDC__) || defined(__cplusplus)
17257 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17266 if { (eval echo configure
:17267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17268 wx_cv_func_iconv_const
="no"
17270 echo "configure: failed program was:" >&5
17271 cat conftest.
$ac_ext >&5
17273 wx_cv_func_iconv_const
="yes"
17280 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17283 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17284 iconv_const
="const"
17287 cat >> confdefs.h
<<EOF
17288 #define ICONV_CONST $iconv_const
17293 if test "$am_cv_lib_iconv" = yes; then
17298 LIBS
="$LIBICONV $LIBS"
17300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17301 ac_cpp
='$CPP $CPPFLAGS'
17302 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17303 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17304 cross_compiling
=$ac_cv_prog_cc_cross
17307 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17308 for ac_func
in sigaction
17310 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17311 echo "configure:17312: checking for $ac_func" >&5
17312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17313 echo $ac_n "(cached) $ac_c" 1>&6
17315 cat > conftest.
$ac_ext <<EOF
17316 #line 17317 "configure"
17317 #include "confdefs.h"
17318 /* System header to define __stub macros and hopefully few prototypes,
17319 which can conflict with char $ac_func(); below. */
17320 #include <assert.h>
17321 /* Override any gcc2 internal prototype to avoid an error. */
17322 /* We use char because int might match the return type of a gcc2
17323 builtin and then its argument prototype would still apply. */
17328 /* The GNU C library defines this for functions which it implements
17329 to always fail with ENOSYS. Some functions are actually named
17330 something starting with __ and the normal name is an alias. */
17331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17339 if { (eval echo configure
:17340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17341 eval "ac_cv_func_$ac_func=yes"
17343 echo "configure: failed program was:" >&5
17344 cat conftest.
$ac_ext >&5
17346 eval "ac_cv_func_$ac_func=no"
17351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17352 echo "$ac_t""yes" 1>&6
17353 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17354 cat >> confdefs.h
<<EOF
17355 #define $ac_tr_func 1
17359 echo "$ac_t""no" 1>&6
17364 if test "$ac_cv_func_sigaction" = "no"; then
17365 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17366 wxUSE_ON_FATAL_EXCEPTION
=no
17369 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17372 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17373 ac_cpp
='$CXXCPP $CPPFLAGS'
17374 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17375 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17376 cross_compiling
=$ac_cv_prog_cxx_cross
17379 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17380 echo "configure:17381: checking for sa_handler type" >&5
17381 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17382 echo $ac_n "(cached) $ac_c" 1>&6
17385 cat > conftest.
$ac_ext <<EOF
17386 #line 17387 "configure"
17387 #include "confdefs.h"
17388 #include <signal.h>
17391 extern void testSigHandler(int);
17393 struct sigaction sa;
17394 sa.sa_handler = testSigHandler;
17398 if { (eval echo configure
:17399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17401 wx_cv_type_sa_handler
=int
17404 echo "configure: failed program was:" >&5
17405 cat conftest.
$ac_ext >&5
17408 wx_cv_type_sa_handler
=void
17415 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17418 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17419 ac_cpp
='$CPP $CPPFLAGS'
17420 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17421 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17422 cross_compiling
=$ac_cv_prog_cc_cross
17425 cat >> confdefs.h
<<EOF
17426 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17432 for ac_func
in mkstemp mktemp
17434 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17435 echo "configure:17436: checking for $ac_func" >&5
17436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17437 echo $ac_n "(cached) $ac_c" 1>&6
17439 cat > conftest.
$ac_ext <<EOF
17440 #line 17441 "configure"
17441 #include "confdefs.h"
17442 /* System header to define __stub macros and hopefully few prototypes,
17443 which can conflict with char $ac_func(); below. */
17444 #include <assert.h>
17445 /* Override any gcc2 internal prototype to avoid an error. */
17446 /* We use char because int might match the return type of a gcc2
17447 builtin and then its argument prototype would still apply. */
17452 /* The GNU C library defines this for functions which it implements
17453 to always fail with ENOSYS. Some functions are actually named
17454 something starting with __ and the normal name is an alias. */
17455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17463 if { (eval echo configure
:17464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17465 eval "ac_cv_func_$ac_func=yes"
17467 echo "configure: failed program was:" >&5
17468 cat conftest.
$ac_ext >&5
17470 eval "ac_cv_func_$ac_func=no"
17475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17476 echo "$ac_t""yes" 1>&6
17477 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17478 cat >> confdefs.h
<<EOF
17479 #define $ac_tr_func 1
17483 echo "$ac_t""no" 1>&6
17488 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17489 echo "configure:17490: checking for statfs" >&5
17490 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17491 echo $ac_n "(cached) $ac_c" 1>&6
17493 cat > conftest.
$ac_ext <<EOF
17494 #line 17495 "configure"
17495 #include "confdefs.h"
17497 #if defined(__BSD__)
17498 #include <sys/param.h>
17499 #include <sys/mount.h>
17501 #include <sys/vfs.h>
17515 if { (eval echo configure
:17516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17518 wx_cv_func_statfs
=yes
17521 echo "configure: failed program was:" >&5
17522 cat conftest.
$ac_ext >&5
17525 wx_cv_func_statfs
=no
17533 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17535 if test "$wx_cv_func_statfs" = "yes"; then
17536 wx_cv_type_statvfs_t
="struct statfs"
17537 cat >> confdefs.h
<<\EOF
17538 #define HAVE_STATFS 1
17542 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17543 echo "configure:17544: checking for statvfs" >&5
17544 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17545 echo $ac_n "(cached) $ac_c" 1>&6
17547 cat > conftest.
$ac_ext <<EOF
17548 #line 17549 "configure"
17549 #include "confdefs.h"
17551 #include <stddef.h>
17552 #include <sys/statvfs.h>
17556 statvfs("/", NULL);
17560 if { (eval echo configure
:17561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17562 wx_cv_func_statvfs
=yes
17564 echo "configure: failed program was:" >&5
17565 cat conftest.
$ac_ext >&5
17567 wx_cv_func_statvfs
=no
17574 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17576 if test "$wx_cv_func_statvfs" = "yes"; then
17579 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17580 ac_cpp
='$CXXCPP $CPPFLAGS'
17581 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17582 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17583 cross_compiling
=$ac_cv_prog_cxx_cross
17586 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17587 echo "configure:17588: checking for statvfs argument type" >&5
17588 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17589 echo $ac_n "(cached) $ac_c" 1>&6
17591 cat > conftest.
$ac_ext <<EOF
17592 #line 17593 "configure"
17593 #include "confdefs.h"
17595 #include <sys/statvfs.h>
17608 if { (eval echo configure
:17609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17610 wx_cv_type_statvfs_t
=statvfs_t
17612 echo "configure: failed program was:" >&5
17613 cat conftest.
$ac_ext >&5
17616 cat > conftest.
$ac_ext <<EOF
17617 #line 17618 "configure"
17618 #include "confdefs.h"
17620 #include <sys/statvfs.h>
17633 if { (eval echo configure
:17634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17635 wx_cv_type_statvfs_t
="struct statvfs"
17637 echo "configure: failed program was:" >&5
17638 cat conftest.
$ac_ext >&5
17640 wx_cv_type_statvfs_t
="unknown"
17651 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17655 ac_cpp
='$CPP $CPPFLAGS'
17656 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17657 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17658 cross_compiling
=$ac_cv_prog_cc_cross
17661 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17662 cat >> confdefs.h
<<\EOF
17663 #define HAVE_STATVFS 1
17668 wx_cv_type_statvfs_t
="unknown"
17672 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17673 cat >> confdefs.h
<<EOF
17674 #define WX_STATFS_T $wx_cv_type_statvfs_t
17678 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17681 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17682 for ac_func
in fcntl flock
17684 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17685 echo "configure:17686: checking for $ac_func" >&5
17686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17687 echo $ac_n "(cached) $ac_c" 1>&6
17689 cat > conftest.
$ac_ext <<EOF
17690 #line 17691 "configure"
17691 #include "confdefs.h"
17692 /* System header to define __stub macros and hopefully few prototypes,
17693 which can conflict with char $ac_func(); below. */
17694 #include <assert.h>
17695 /* Override any gcc2 internal prototype to avoid an error. */
17696 /* We use char because int might match the return type of a gcc2
17697 builtin and then its argument prototype would still apply. */
17702 /* The GNU C library defines this for functions which it implements
17703 to always fail with ENOSYS. Some functions are actually named
17704 something starting with __ and the normal name is an alias. */
17705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17713 if { (eval echo configure
:17714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17715 eval "ac_cv_func_$ac_func=yes"
17717 echo "configure: failed program was:" >&5
17718 cat conftest.
$ac_ext >&5
17720 eval "ac_cv_func_$ac_func=no"
17725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17726 echo "$ac_t""yes" 1>&6
17727 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17728 cat >> confdefs.h
<<EOF
17729 #define $ac_tr_func 1
17733 echo "$ac_t""no" 1>&6
17738 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17739 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17740 wxUSE_SNGLINST_CHECKER
=no
17744 for ac_func
in timegm
17746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17747 echo "configure:17748: checking for $ac_func" >&5
17748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17749 echo $ac_n "(cached) $ac_c" 1>&6
17751 cat > conftest.
$ac_ext <<EOF
17752 #line 17753 "configure"
17753 #include "confdefs.h"
17754 /* System header to define __stub macros and hopefully few prototypes,
17755 which can conflict with char $ac_func(); below. */
17756 #include <assert.h>
17757 /* Override any gcc2 internal prototype to avoid an error. */
17758 /* We use char because int might match the return type of a gcc2
17759 builtin and then its argument prototype would still apply. */
17764 /* The GNU C library defines this for functions which it implements
17765 to always fail with ENOSYS. Some functions are actually named
17766 something starting with __ and the normal name is an alias. */
17767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17775 if { (eval echo configure
:17776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17777 eval "ac_cv_func_$ac_func=yes"
17779 echo "configure: failed program was:" >&5
17780 cat conftest.
$ac_ext >&5
17782 eval "ac_cv_func_$ac_func=no"
17787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17788 echo "$ac_t""yes" 1>&6
17789 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17790 cat >> confdefs.h
<<EOF
17791 #define $ac_tr_func 1
17795 echo "$ac_t""no" 1>&6
17800 for ac_func
in putenv setenv
17802 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17803 echo "configure:17804: checking for $ac_func" >&5
17804 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17805 echo $ac_n "(cached) $ac_c" 1>&6
17807 cat > conftest.
$ac_ext <<EOF
17808 #line 17809 "configure"
17809 #include "confdefs.h"
17810 /* System header to define __stub macros and hopefully few prototypes,
17811 which can conflict with char $ac_func(); below. */
17812 #include <assert.h>
17813 /* Override any gcc2 internal prototype to avoid an error. */
17814 /* We use char because int might match the return type of a gcc2
17815 builtin and then its argument prototype would still apply. */
17820 /* The GNU C library defines this for functions which it implements
17821 to always fail with ENOSYS. Some functions are actually named
17822 something starting with __ and the normal name is an alias. */
17823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17831 if { (eval echo configure
:17832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17833 eval "ac_cv_func_$ac_func=yes"
17835 echo "configure: failed program was:" >&5
17836 cat conftest.
$ac_ext >&5
17838 eval "ac_cv_func_$ac_func=no"
17843 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17844 echo "$ac_t""yes" 1>&6
17845 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17846 cat >> confdefs.h
<<EOF
17847 #define $ac_tr_func 1
17851 echo "$ac_t""no" 1>&6
17856 HAVE_SOME_SLEEP_FUNC
=0
17857 if test "$USE_BEOS" = 1; then
17858 cat >> confdefs.h
<<\EOF
17859 #define HAVE_SLEEP 1
17862 HAVE_SOME_SLEEP_FUNC
=1
17865 if test "$USE_DARWIN" = 1; then
17866 cat >> confdefs.h
<<\EOF
17867 #define HAVE_USLEEP 1
17870 HAVE_SOME_SLEEP_FUNC
=1
17873 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
17875 for ac_func
in nanosleep
17877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17878 echo "configure:17879: checking for $ac_func" >&5
17879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17880 echo $ac_n "(cached) $ac_c" 1>&6
17882 cat > conftest.
$ac_ext <<EOF
17883 #line 17884 "configure"
17884 #include "confdefs.h"
17885 /* System header to define __stub macros and hopefully few prototypes,
17886 which can conflict with char $ac_func(); below. */
17887 #include <assert.h>
17888 /* Override any gcc2 internal prototype to avoid an error. */
17889 /* We use char because int might match the return type of a gcc2
17890 builtin and then its argument prototype would still apply. */
17895 /* The GNU C library defines this for functions which it implements
17896 to always fail with ENOSYS. Some functions are actually named
17897 something starting with __ and the normal name is an alias. */
17898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17906 if { (eval echo configure
:17907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17908 eval "ac_cv_func_$ac_func=yes"
17910 echo "configure: failed program was:" >&5
17911 cat conftest.
$ac_ext >&5
17913 eval "ac_cv_func_$ac_func=no"
17918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17919 echo "$ac_t""yes" 1>&6
17920 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17921 cat >> confdefs.h
<<EOF
17922 #define $ac_tr_func 1
17924 cat >> confdefs.h
<<\EOF
17925 #define HAVE_NANOSLEEP 1
17929 echo "$ac_t""no" 1>&6
17930 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
17931 echo "configure:17932: checking for nanosleep in -lposix4" >&5
17932 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
17933 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17934 echo $ac_n "(cached) $ac_c" 1>&6
17936 ac_save_LIBS
="$LIBS"
17937 LIBS
="-lposix4 $LIBS"
17938 cat > conftest.
$ac_ext <<EOF
17939 #line 17940 "configure"
17940 #include "confdefs.h"
17941 /* Override any gcc2 internal prototype to avoid an error. */
17942 /* We use char because int might match the return type of a gcc2
17943 builtin and then its argument prototype would still apply. */
17950 if { (eval echo configure
:17951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17952 eval "ac_cv_lib_$ac_lib_var=yes"
17954 echo "configure: failed program was:" >&5
17955 cat conftest.
$ac_ext >&5
17957 eval "ac_cv_lib_$ac_lib_var=no"
17960 LIBS
="$ac_save_LIBS"
17963 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17964 echo "$ac_t""yes" 1>&6
17966 cat >> confdefs.h
<<\EOF
17967 #define HAVE_NANOSLEEP 1
17970 POSIX4_LINK
=" -lposix4"
17973 echo "$ac_t""no" 1>&6
17975 for ac_func
in usleep
17977 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17978 echo "configure:17979: checking for $ac_func" >&5
17979 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17980 echo $ac_n "(cached) $ac_c" 1>&6
17982 cat > conftest.
$ac_ext <<EOF
17983 #line 17984 "configure"
17984 #include "confdefs.h"
17985 /* System header to define __stub macros and hopefully few prototypes,
17986 which can conflict with char $ac_func(); below. */
17987 #include <assert.h>
17988 /* Override any gcc2 internal prototype to avoid an error. */
17989 /* We use char because int might match the return type of a gcc2
17990 builtin and then its argument prototype would still apply. */
17995 /* The GNU C library defines this for functions which it implements
17996 to always fail with ENOSYS. Some functions are actually named
17997 something starting with __ and the normal name is an alias. */
17998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18006 if { (eval echo configure
:18007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18008 eval "ac_cv_func_$ac_func=yes"
18010 echo "configure: failed program was:" >&5
18011 cat conftest.
$ac_ext >&5
18013 eval "ac_cv_func_$ac_func=no"
18018 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18019 echo "$ac_t""yes" 1>&6
18020 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18021 cat >> confdefs.h
<<EOF
18022 #define $ac_tr_func 1
18024 cat >> confdefs.h
<<\EOF
18025 #define HAVE_USLEEP 1
18029 echo "$ac_t""no" 1>&6
18030 echo "configure: warning: wxSleep() function will not work" 1>&2
18046 for ac_func
in uname gethostname
18048 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18049 echo "configure:18050: checking for $ac_func" >&5
18050 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18051 echo $ac_n "(cached) $ac_c" 1>&6
18053 cat > conftest.
$ac_ext <<EOF
18054 #line 18055 "configure"
18055 #include "confdefs.h"
18056 /* System header to define __stub macros and hopefully few prototypes,
18057 which can conflict with char $ac_func(); below. */
18058 #include <assert.h>
18059 /* Override any gcc2 internal prototype to avoid an error. */
18060 /* We use char because int might match the return type of a gcc2
18061 builtin and then its argument prototype would still apply. */
18066 /* The GNU C library defines this for functions which it implements
18067 to always fail with ENOSYS. Some functions are actually named
18068 something starting with __ and the normal name is an alias. */
18069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18077 if { (eval echo configure
:18078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18079 eval "ac_cv_func_$ac_func=yes"
18081 echo "configure: failed program was:" >&5
18082 cat conftest.
$ac_ext >&5
18084 eval "ac_cv_func_$ac_func=no"
18089 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18090 echo "$ac_t""yes" 1>&6
18091 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18092 cat >> confdefs.h
<<EOF
18093 #define $ac_tr_func 1
18097 echo "$ac_t""no" 1>&6
18104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18105 ac_cpp
='$CXXCPP $CPPFLAGS'
18106 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18107 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18108 cross_compiling
=$ac_cv_prog_cxx_cross
18111 for ac_func
in strtok_r
18113 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18114 echo "configure:18115: checking for $ac_func" >&5
18115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18116 echo $ac_n "(cached) $ac_c" 1>&6
18118 cat > conftest.
$ac_ext <<EOF
18119 #line 18120 "configure"
18120 #include "confdefs.h"
18121 /* System header to define __stub macros and hopefully few prototypes,
18122 which can conflict with char $ac_func(); below. */
18123 #include <assert.h>
18124 /* Override any gcc2 internal prototype to avoid an error. */
18128 /* We use char because int might match the return type of a gcc2
18129 builtin and then its argument prototype would still apply. */
18134 /* The GNU C library defines this for functions which it implements
18135 to always fail with ENOSYS. Some functions are actually named
18136 something starting with __ and the normal name is an alias. */
18137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18145 if { (eval echo configure
:18146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18147 eval "ac_cv_func_$ac_func=yes"
18149 echo "configure: failed program was:" >&5
18150 cat conftest.
$ac_ext >&5
18152 eval "ac_cv_func_$ac_func=no"
18157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18158 echo "$ac_t""yes" 1>&6
18159 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18160 cat >> confdefs.h
<<EOF
18161 #define $ac_tr_func 1
18165 echo "$ac_t""no" 1>&6
18171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18172 ac_cpp
='$CPP $CPPFLAGS'
18173 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18174 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18175 cross_compiling
=$ac_cv_prog_cc_cross
18179 for ac_func
in inet_addr
18181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18182 echo "configure:18183: checking for $ac_func" >&5
18183 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18184 echo $ac_n "(cached) $ac_c" 1>&6
18186 cat > conftest.
$ac_ext <<EOF
18187 #line 18188 "configure"
18188 #include "confdefs.h"
18189 /* System header to define __stub macros and hopefully few prototypes,
18190 which can conflict with char $ac_func(); below. */
18191 #include <assert.h>
18192 /* Override any gcc2 internal prototype to avoid an error. */
18193 /* We use char because int might match the return type of a gcc2
18194 builtin and then its argument prototype would still apply. */
18199 /* The GNU C library defines this for functions which it implements
18200 to always fail with ENOSYS. Some functions are actually named
18201 something starting with __ and the normal name is an alias. */
18202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18210 if { (eval echo configure
:18211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18212 eval "ac_cv_func_$ac_func=yes"
18214 echo "configure: failed program was:" >&5
18215 cat conftest.
$ac_ext >&5
18217 eval "ac_cv_func_$ac_func=no"
18222 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18223 echo "$ac_t""yes" 1>&6
18224 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18225 cat >> confdefs.h
<<EOF
18226 #define $ac_tr_func 1
18228 cat >> confdefs.h
<<\EOF
18229 #define HAVE_INET_ADDR 1
18233 echo "$ac_t""no" 1>&6
18234 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18235 echo "configure:18236: checking for inet_addr in -lnsl" >&5
18236 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18237 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18238 echo $ac_n "(cached) $ac_c" 1>&6
18240 ac_save_LIBS
="$LIBS"
18242 cat > conftest.
$ac_ext <<EOF
18243 #line 18244 "configure"
18244 #include "confdefs.h"
18245 /* Override any gcc2 internal prototype to avoid an error. */
18246 /* We use char because int might match the return type of a gcc2
18247 builtin and then its argument prototype would still apply. */
18254 if { (eval echo configure
:18255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18256 eval "ac_cv_lib_$ac_lib_var=yes"
18258 echo "configure: failed program was:" >&5
18259 cat conftest.
$ac_ext >&5
18261 eval "ac_cv_lib_$ac_lib_var=no"
18264 LIBS
="$ac_save_LIBS"
18267 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18268 echo "$ac_t""yes" 1>&6
18271 echo "$ac_t""no" 1>&6
18272 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18273 echo "configure:18274: checking for inet_addr in -lresolv" >&5
18274 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18275 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18276 echo $ac_n "(cached) $ac_c" 1>&6
18278 ac_save_LIBS
="$LIBS"
18279 LIBS
="-lresolv $LIBS"
18280 cat > conftest.
$ac_ext <<EOF
18281 #line 18282 "configure"
18282 #include "confdefs.h"
18283 /* Override any gcc2 internal prototype to avoid an error. */
18284 /* We use char because int might match the return type of a gcc2
18285 builtin and then its argument prototype would still apply. */
18292 if { (eval echo configure
:18293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18294 eval "ac_cv_lib_$ac_lib_var=yes"
18296 echo "configure: failed program was:" >&5
18297 cat conftest.
$ac_ext >&5
18299 eval "ac_cv_lib_$ac_lib_var=no"
18302 LIBS
="$ac_save_LIBS"
18305 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18306 echo "$ac_t""yes" 1>&6
18309 echo "$ac_t""no" 1>&6
18310 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18311 echo "configure:18312: checking for inet_addr in -lsocket" >&5
18312 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18313 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18314 echo $ac_n "(cached) $ac_c" 1>&6
18316 ac_save_LIBS
="$LIBS"
18317 LIBS
="-lsocket $LIBS"
18318 cat > conftest.
$ac_ext <<EOF
18319 #line 18320 "configure"
18320 #include "confdefs.h"
18321 /* Override any gcc2 internal prototype to avoid an error. */
18322 /* We use char because int might match the return type of a gcc2
18323 builtin and then its argument prototype would still apply. */
18330 if { (eval echo configure
:18331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18332 eval "ac_cv_lib_$ac_lib_var=yes"
18334 echo "configure: failed program was:" >&5
18335 cat conftest.
$ac_ext >&5
18337 eval "ac_cv_lib_$ac_lib_var=no"
18340 LIBS
="$ac_save_LIBS"
18343 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18344 echo "$ac_t""yes" 1>&6
18348 echo "$ac_t""no" 1>&6
18363 for ac_func
in inet_aton
18365 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18366 echo "configure:18367: checking for $ac_func" >&5
18367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18368 echo $ac_n "(cached) $ac_c" 1>&6
18370 cat > conftest.
$ac_ext <<EOF
18371 #line 18372 "configure"
18372 #include "confdefs.h"
18373 /* System header to define __stub macros and hopefully few prototypes,
18374 which can conflict with char $ac_func(); below. */
18375 #include <assert.h>
18376 /* Override any gcc2 internal prototype to avoid an error. */
18377 /* We use char because int might match the return type of a gcc2
18378 builtin and then its argument prototype would still apply. */
18383 /* The GNU C library defines this for functions which it implements
18384 to always fail with ENOSYS. Some functions are actually named
18385 something starting with __ and the normal name is an alias. */
18386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18394 if { (eval echo configure
:18395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18396 eval "ac_cv_func_$ac_func=yes"
18398 echo "configure: failed program was:" >&5
18399 cat conftest.
$ac_ext >&5
18401 eval "ac_cv_func_$ac_func=no"
18406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18407 echo "$ac_t""yes" 1>&6
18408 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18409 cat >> confdefs.h
<<EOF
18410 #define $ac_tr_func 1
18412 cat >> confdefs.h
<<\EOF
18413 #define HAVE_INET_ATON 1
18417 echo "$ac_t""no" 1>&6
18418 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18419 echo "configure:18420: checking for inet_aton in -l$INET_LINK" >&5
18420 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18421 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18422 echo $ac_n "(cached) $ac_c" 1>&6
18424 ac_save_LIBS
="$LIBS"
18425 LIBS
="-l$INET_LINK $LIBS"
18426 cat > conftest.
$ac_ext <<EOF
18427 #line 18428 "configure"
18428 #include "confdefs.h"
18429 /* Override any gcc2 internal prototype to avoid an error. */
18430 /* We use char because int might match the return type of a gcc2
18431 builtin and then its argument prototype would still apply. */
18438 if { (eval echo configure
:18439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18440 eval "ac_cv_lib_$ac_lib_var=yes"
18442 echo "configure: failed program was:" >&5
18443 cat conftest.
$ac_ext >&5
18445 eval "ac_cv_lib_$ac_lib_var=no"
18448 LIBS
="$ac_save_LIBS"
18451 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18452 echo "$ac_t""yes" 1>&6
18453 cat >> confdefs.h
<<\EOF
18454 #define HAVE_INET_ATON 1
18458 echo "$ac_t""no" 1>&6
18466 if test "x$INET_LINK" != "x"; then
18467 cat >> confdefs.h
<<\EOF
18468 #define HAVE_INET_ADDR 1
18471 INET_LINK
=" -l$INET_LINK"
18477 cat > confcache
<<\EOF
18478 # This file is a shell script that caches the results of configure
18479 # tests run on this system so they can be shared between configure
18480 # scripts and configure runs. It is not useful on other systems.
18481 # If it contains results you don't want to keep, you may remove or edit it.
18483 # By default, configure uses ./config.cache as the cache file,
18484 # creating it if it does not exist already. You can give configure
18485 # the --cache-file=FILE option to use a different cache file; that is
18486 # what configure does when it calls configure scripts in
18487 # subdirectories, so they share the cache.
18488 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18489 # config.status only pays attention to the cache file if you give it the
18490 # --recheck option to rerun configure.
18493 # The following way of writing the cache mishandles newlines in values,
18494 # but we know of no workaround that is simple, portable, and efficient.
18495 # So, don't put newlines in cache variables' values.
18496 # Ultrix sh set writes to stderr and can't be redirected directly,
18497 # and sets the high bit in the cache file unless we assign to the vars.
18499 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18501 # `set' does not quote correctly, so add quotes (double-quote substitution
18502 # turns \\\\ into \\, and sed turns \\ into \).
18504 -e "s/'/'\\\\''/g" \
18505 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18508 # `set' quotes correctly as required by POSIX, so do not add quotes.
18509 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18512 if cmp -s $cache_file confcache
; then
18515 if test -w $cache_file; then
18516 echo "updating cache $cache_file"
18517 cat confcache
> $cache_file
18519 echo "not updating unwritable cache $cache_file"
18527 if test "$TOOLKIT" != "MSW"; then
18533 if test "$wxUSE_THREADS" = "yes" ; then
18534 if test "$USE_BEOS" = 1; then
18535 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18540 if test "$wxUSE_THREADS" = "yes" ; then
18543 THREAD_OPTS
="-pthread"
18545 *-*-solaris2* | *-*-sunos4* )
18546 if test "x$GCC" = "xyes"; then
18547 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18549 THREAD_OPTS
="-mt $THREAD_OPTS"
18553 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18555 *-*-darwin* | *-*-cygwin* )
18559 THREAD_OPTS
="pthreads"
18562 if test "x$GCC" != "xyes"; then
18567 THREAD_OPTS
="$THREAD_OPTS pthread none"
18570 for flag
in $THREAD_OPTS; do
18573 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18574 echo "configure:18575: checking whether pthreads work without any flags" >&5
18578 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18579 echo "configure:18580: checking whether pthreads work with $flag" >&5
18580 THREADS_CFLAGS
="$flag"
18584 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18585 echo "configure:18586: checking for the pthreads library -l$flag" >&5
18586 THREADS_LINK
="-l$flag"
18591 save_CFLAGS
="$CFLAGS"
18592 LIBS
="$THREADS_LINK $LIBS"
18593 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18595 cat > conftest.
$ac_ext <<EOF
18596 #line 18597 "configure"
18597 #include "confdefs.h"
18598 #include <pthread.h>
18600 pthread_create(0,0,0,0);
18603 if { (eval echo configure
:18604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18607 echo "configure: failed program was:" >&5
18608 cat conftest.
$ac_ext >&5
18613 CFLAGS
="$save_CFLAGS"
18615 echo "$ac_t""$THREADS_OK" 1>&6
18616 if test "x$THREADS_OK" = "xyes"; then
18624 if test "x$THREADS_OK" != "xyes"; then
18626 echo "configure: warning: No thread support on this system... disabled" 1>&2
18628 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18629 LIBS
="$THREADS_LINK $LIBS"
18631 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18632 echo "configure:18633: checking if more special flags are required for pthreads" >&5
18636 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18637 flag
="-D_THREAD_SAFE"
18640 flag
="-D_THREAD_SAFE"
18643 flag
="-D_REENTRANT"
18644 if test "x$GCC" != "xyes"; then
18645 flag
="$flag -D_RWSTD_MULTI_THREAD"
18648 *solaris
* | alpha
*-osf*)
18649 flag
="-D_REENTRANT"
18652 echo "$ac_t""${flag}" 1>&6
18653 if test "x$flag" != xno
; then
18654 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18657 if test "x$THREADS_CFLAGS" != "x"; then
18658 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18659 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18664 if test "$wxUSE_THREADS" = "yes" ; then
18665 for ac_func
in thr_setconcurrency
18667 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18668 echo "configure:18669: checking for $ac_func" >&5
18669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18670 echo $ac_n "(cached) $ac_c" 1>&6
18672 cat > conftest.
$ac_ext <<EOF
18673 #line 18674 "configure"
18674 #include "confdefs.h"
18675 /* System header to define __stub macros and hopefully few prototypes,
18676 which can conflict with char $ac_func(); below. */
18677 #include <assert.h>
18678 /* Override any gcc2 internal prototype to avoid an error. */
18679 /* We use char because int might match the return type of a gcc2
18680 builtin and then its argument prototype would still apply. */
18685 /* The GNU C library defines this for functions which it implements
18686 to always fail with ENOSYS. Some functions are actually named
18687 something starting with __ and the normal name is an alias. */
18688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18696 if { (eval echo configure
:18697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18698 eval "ac_cv_func_$ac_func=yes"
18700 echo "configure: failed program was:" >&5
18701 cat conftest.
$ac_ext >&5
18703 eval "ac_cv_func_$ac_func=no"
18708 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18709 echo "$ac_t""yes" 1>&6
18710 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18711 cat >> confdefs.h
<<EOF
18712 #define $ac_tr_func 1
18716 echo "$ac_t""no" 1>&6
18721 for ac_hdr
in sched.h
18723 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18724 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18725 echo "configure:18726: checking for $ac_hdr" >&5
18726 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18727 echo $ac_n "(cached) $ac_c" 1>&6
18729 cat > conftest.
$ac_ext <<EOF
18730 #line 18731 "configure"
18731 #include "confdefs.h"
18734 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18735 { (eval echo configure
:18736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18736 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18737 if test -z "$ac_err"; then
18739 eval "ac_cv_header_$ac_safe=yes"
18742 echo "configure: failed program was:" >&5
18743 cat conftest.
$ac_ext >&5
18745 eval "ac_cv_header_$ac_safe=no"
18749 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18750 echo "$ac_t""yes" 1>&6
18751 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18752 cat >> confdefs.h
<<EOF
18753 #define $ac_tr_hdr 1
18757 echo "$ac_t""no" 1>&6
18761 if test "$ac_cv_header_sched_h" = "yes"; then
18762 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18763 echo "configure:18764: checking for sched_yield" >&5
18764 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18765 echo $ac_n "(cached) $ac_c" 1>&6
18767 cat > conftest.
$ac_ext <<EOF
18768 #line 18769 "configure"
18769 #include "confdefs.h"
18770 /* System header to define __stub macros and hopefully few prototypes,
18771 which can conflict with char sched_yield(); below. */
18772 #include <assert.h>
18773 /* Override any gcc2 internal prototype to avoid an error. */
18774 /* We use char because int might match the return type of a gcc2
18775 builtin and then its argument prototype would still apply. */
18776 char sched_yield();
18780 /* The GNU C library defines this for functions which it implements
18781 to always fail with ENOSYS. Some functions are actually named
18782 something starting with __ and the normal name is an alias. */
18783 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
18791 if { (eval echo configure
:18792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18793 eval "ac_cv_func_sched_yield=yes"
18795 echo "configure: failed program was:" >&5
18796 cat conftest.
$ac_ext >&5
18798 eval "ac_cv_func_sched_yield=no"
18803 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18804 echo "$ac_t""yes" 1>&6
18805 cat >> confdefs.h
<<\EOF
18806 #define HAVE_SCHED_YIELD 1
18810 echo "$ac_t""no" 1>&6
18812 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
18813 echo "configure:18814: checking for sched_yield in -lposix4" >&5
18814 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
18815 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18816 echo $ac_n "(cached) $ac_c" 1>&6
18818 ac_save_LIBS
="$LIBS"
18819 LIBS
="-lposix4 $LIBS"
18820 cat > conftest.
$ac_ext <<EOF
18821 #line 18822 "configure"
18822 #include "confdefs.h"
18823 /* Override any gcc2 internal prototype to avoid an error. */
18824 /* We use char because int might match the return type of a gcc2
18825 builtin and then its argument prototype would still apply. */
18826 char sched_yield();
18832 if { (eval echo configure
:18833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18834 eval "ac_cv_lib_$ac_lib_var=yes"
18836 echo "configure: failed program was:" >&5
18837 cat conftest.
$ac_ext >&5
18839 eval "ac_cv_lib_$ac_lib_var=no"
18842 LIBS
="$ac_save_LIBS"
18845 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18846 echo "$ac_t""yes" 1>&6
18847 cat >> confdefs.h
<<\EOF
18848 #define HAVE_SCHED_YIELD 1
18850 POSIX4_LINK
=" -lposix4"
18852 echo "$ac_t""no" 1>&6
18853 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
18864 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
18865 echo "configure:18866: checking for pthread_attr_getschedpolicy" >&5
18866 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
18867 echo $ac_n "(cached) $ac_c" 1>&6
18869 cat > conftest.
$ac_ext <<EOF
18870 #line 18871 "configure"
18871 #include "confdefs.h"
18872 /* System header to define __stub macros and hopefully few prototypes,
18873 which can conflict with char pthread_attr_getschedpolicy(); below. */
18874 #include <assert.h>
18875 /* Override any gcc2 internal prototype to avoid an error. */
18876 /* We use char because int might match the return type of a gcc2
18877 builtin and then its argument prototype would still apply. */
18878 char pthread_attr_getschedpolicy();
18882 /* The GNU C library defines this for functions which it implements
18883 to always fail with ENOSYS. Some functions are actually named
18884 something starting with __ and the normal name is an alias. */
18885 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
18888 pthread_attr_getschedpolicy();
18893 if { (eval echo configure
:18894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18895 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
18897 echo "configure: failed program was:" >&5
18898 cat conftest.
$ac_ext >&5
18900 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
18905 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
18906 echo "$ac_t""yes" 1>&6
18907 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
18908 echo "configure:18909: checking for pthread_attr_setschedparam" >&5
18909 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
18910 echo $ac_n "(cached) $ac_c" 1>&6
18912 cat > conftest.
$ac_ext <<EOF
18913 #line 18914 "configure"
18914 #include "confdefs.h"
18915 /* System header to define __stub macros and hopefully few prototypes,
18916 which can conflict with char pthread_attr_setschedparam(); below. */
18917 #include <assert.h>
18918 /* Override any gcc2 internal prototype to avoid an error. */
18919 /* We use char because int might match the return type of a gcc2
18920 builtin and then its argument prototype would still apply. */
18921 char pthread_attr_setschedparam();
18925 /* The GNU C library defines this for functions which it implements
18926 to always fail with ENOSYS. Some functions are actually named
18927 something starting with __ and the normal name is an alias. */
18928 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
18931 pthread_attr_setschedparam();
18936 if { (eval echo configure
:18937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18938 eval "ac_cv_func_pthread_attr_setschedparam=yes"
18940 echo "configure: failed program was:" >&5
18941 cat conftest.
$ac_ext >&5
18943 eval "ac_cv_func_pthread_attr_setschedparam=no"
18948 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
18949 echo "$ac_t""yes" 1>&6
18950 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
18951 echo "configure:18952: checking for sched_get_priority_max" >&5
18952 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
18953 echo $ac_n "(cached) $ac_c" 1>&6
18955 cat > conftest.
$ac_ext <<EOF
18956 #line 18957 "configure"
18957 #include "confdefs.h"
18958 /* System header to define __stub macros and hopefully few prototypes
18960 echo "$ac_t""no" 1>&6
18961 which can conflict with char sched_get_priority_max(); below. */
18962 #include <assert.h>
18963 /* Override any gcc2 internal prototype to avoid an error. */
18964 /* We use char because int might match the return type of a gcc2
18965 builtin and then its argument prototype would still apply. */
18966 char sched_get_priority_max();
18970 /* The GNU C library defines this for functions which it implements
18971 to always fail with ENOSYS. Some functions are actually named
18972 something starting with __ and the normal name is an alias. */
18973 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
18976 sched_get_priority_max();
18981 if { (eval echo configure
:18982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18983 eval "ac_cv_func_sched_get_priority_max=yes"
18985 echo "configure: failed program was:" >&5
18986 cat conftest.
$ac_ext >&5
18988 eval "ac_cv_func_sched_get_priority_max=no"
18993 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
18994 echo "$ac_t""yes" 1>&6
18997 echo "$ac_t""no" 1>&6
18998 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
18999 echo "configure:19000: checking for sched_get_priority_max in -lposix4" >&5
19000 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
19001 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19002 echo $ac_n "(cached) $ac_c" 1>&6
19004 ac_save_LIBS
="$LIBS"
19005 LIBS
="-lposix4 $LIBS"
19006 cat > conftest.
$ac_ext <<EOF
19007 #line 19008 "configure"
19008 #include "confdefs.h"
19009 /* Override any gcc2 internal prototype to avoid an error. */
19010 /* We use char because int might match the return type of a gcc2
19011 builtin and then its argument prototype would still apply. */
19012 char sched_get_priority_max();
19015 sched_get_priority_max()
19018 if { (eval echo configure
:19019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19020 eval "ac_cv_lib_$ac_lib_var=yes"
19022 echo "configure: failed program was:" >&5
19023 cat conftest.
$ac_ext >&5
19025 eval "ac_cv_lib_$ac_lib_var=no"
19028 LIBS
="$ac_save_LIBS"
19031 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19032 echo "$ac_t""yes" 1>&6
19035 POSIX4_LINK
=" -lposix4"
19038 echo "$ac_t""no" 1>&6
19046 echo "$ac_t""no" 1>&6
19053 if test "$HAVE_PRIOR_FUNCS" = 1; then
19054 cat >> confdefs.h
<<\EOF
19055 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19059 echo "configure: warning: Setting thread priority will not work" 1>&2
19062 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19063 echo "configure:19064: checking for pthread_cancel" >&5
19064 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
19065 echo $ac_n "(cached) $ac_c" 1>&6
19067 cat > conftest.
$ac_ext <<EOF
19068 #line 19069 "configure"
19069 #include "confdefs.h"
19070 /* System header to define __stub macros and hopefully few prototypes,
19071 which can conflict with char pthread_cancel(); below. */
19072 #include <assert.h>
19073 /* Override any gcc2 internal prototype to avoid an error. */
19074 /* We use char because int might match the return type of a gcc2
19075 builtin and then its argument prototype would still apply. */
19076 char pthread_cancel();
19080 /* The GNU C library defines this for functions which it implements
19081 to always fail with ENOSYS. Some functions are actually named
19082 something starting with __ and the normal name is an alias. */
19083 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19091 if { (eval echo configure
:19092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19093 eval "ac_cv_func_pthread_cancel=yes"
19095 echo "configure: failed program was:" >&5
19096 cat conftest.
$ac_ext >&5
19098 eval "ac_cv_func_pthread_cancel=no"
19103 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19104 echo "$ac_t""yes" 1>&6
19105 cat >> confdefs.h
<<\EOF
19106 #define HAVE_PTHREAD_CANCEL 1
19110 echo "$ac_t""no" 1>&6
19111 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19115 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19116 echo "configure:19117: checking for pthread_cleanup_push/pop" >&5
19117 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19118 echo $ac_n "(cached) $ac_c" 1>&6
19121 cat > conftest.
$ac_ext <<EOF
19122 #line 19123 "configure"
19123 #include "confdefs.h"
19124 #include <pthread.h>
19127 pthread_cleanup_push(NULL, NULL);
19128 pthread_cleanup_pop(0);
19132 if { (eval echo configure
:19133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19135 wx_cv_func_pthread_cleanup_push
=yes
19138 echo "configure: failed program was:" >&5
19139 cat conftest.
$ac_ext >&5
19142 wx_cv_func_pthread_cleanup_push
=no
19149 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19151 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19152 cat >> confdefs.h
<<\EOF
19153 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19159 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19160 echo "configure:19161: checking for pthread_mutexattr_t" >&5
19161 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19162 echo $ac_n "(cached) $ac_c" 1>&6
19165 cat > conftest.
$ac_ext <<EOF
19166 #line 19167 "configure"
19167 #include "confdefs.h"
19168 #include <pthread.h>
19171 pthread_mutexattr_t attr;
19172 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19176 if { (eval echo configure
:19177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19179 wx_cv_type_pthread_mutexattr_t
=yes
19182 echo "configure: failed program was:" >&5
19183 cat conftest.
$ac_ext >&5
19186 wx_cv_type_pthread_mutexattr_t
=no
19194 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19196 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19197 cat >> confdefs.h
<<\EOF
19198 #define HAVE_PTHREAD_MUTEXATTR_T 1
19202 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19203 echo "configure:19204: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19204 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19205 echo $ac_n "(cached) $ac_c" 1>&6
19208 cat > conftest.
$ac_ext <<EOF
19209 #line 19210 "configure"
19210 #include "confdefs.h"
19211 #include <pthread.h>
19214 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19218 if { (eval echo configure
:19219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19221 wx_cv_type_pthread_rec_mutex_init
=yes
19224 echo "configure: failed program was:" >&5
19225 cat conftest.
$ac_ext >&5
19228 wx_cv_type_pthread_rec_mutex_init
=no
19236 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19237 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19238 cat >> confdefs.h
<<\EOF
19239 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19243 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19249 if test "$wxUSE_THREADS" = "yes" ; then
19252 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19253 echo "configure:19254: checking if compiler supports -mthreads" >&5
19254 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19255 echo $ac_n "(cached) $ac_c" 1>&6
19258 CFLAGS_OLD
="$CFLAGS"
19259 CFLAGS
="$CFLAGS -mthreads"
19260 cat > conftest.
$ac_ext <<EOF
19261 #line 19262 "configure"
19262 #include "confdefs.h"
19268 if { (eval echo configure
:19269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19270 wx_cv_cflags_mthread
=yes
19272 echo "configure: failed program was:" >&5
19273 cat conftest.
$ac_ext >&5
19275 wx_cv_cflags_mthread
=no
19283 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19285 if test "$wx_cv_cflags_mthread" = "yes"; then
19286 CXXFLAGS
="$CXXFLAGS -mthreads"
19287 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19288 LDFLAGS
="$LDFLAGS -mthreads"
19290 CFLAGS
="$CFLAGS_OLD"
19297 if test "$wxUSE_THREADS" = "yes"; then
19298 cat >> confdefs.h
<<\EOF
19299 #define wxUSE_THREADS 1
19303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19305 if test "$ac_cv_func_strtok_r" = "yes"; then
19306 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19307 echo "configure:19308: checking if -D_REENTRANT is needed" >&5
19308 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19309 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19310 echo "$ac_t""yes" 1>&6
19312 echo "$ac_t""no" 1>&6
19317 if test "$WXGTK20" = 1 ; then
19318 cat >> confdefs.h
<<EOF
19319 #define __WXGTK20__ $WXGTK20
19325 if test "$WXGTK12" = 1 ; then
19326 cat >> confdefs.h
<<EOF
19327 #define __WXGTK12__ $WXGTK12
19332 if test "$WXGTK127" = 1 ; then
19333 cat >> confdefs.h
<<EOF
19334 #define __WXGTK127__ $WXGTK127
19341 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19346 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19347 wxUSE_DEBUG_INFO
=yes
19351 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19352 cat >> confdefs.h
<<\EOF
19356 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19358 if test "$wxUSE_GTK" = 1 ; then
19359 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19363 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19364 cat >> confdefs.h
<<\EOF
19365 #define wxUSE_MEMORY_TRACING 1
19368 cat >> confdefs.h
<<\EOF
19369 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19372 cat >> confdefs.h
<<\EOF
19373 #define wxUSE_DEBUG_NEW_ALWAYS 1
19376 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19379 if test "$wxUSE_DMALLOC" = "yes" ; then
19380 DMALLOC_LIBS
="-ldmalloc"
19384 if test "$wxUSE_PROFILE" = "yes" ; then
19389 CODE_GEN_FLAGS_CXX
=
19390 if test "$GCC" = "yes" ; then
19391 if test "$wxUSE_NO_RTTI" = "yes" ; then
19392 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19394 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19395 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19397 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19398 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19400 if test "$USE_WIN32" = 1 ; then
19401 # I'm not even really sure what this was ever added to solve,
19402 # but someone added it for mingw native builds, so I guess
19403 # they had a reason, right??
19404 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19409 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19412 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19418 if test "$wxUSE_OPTIMISE" = "no" ; then
19419 if test "$GCC" = yes ; then
19423 if test "$GCC" = yes ; then
19427 i586
-*-*|i686
-*-* )
19428 OPTIMISE
="${OPTIMISE} "
19437 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19438 cat >> confdefs.h
<<\EOF
19439 #define WXWIN_COMPATIBILITY_2 1
19443 WXWIN_COMPATIBILITY_2_2
="yes"
19446 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19447 cat >> confdefs.h
<<\EOF
19448 #define WXWIN_COMPATIBILITY_2_2 1
19452 WXWIN_COMPATIBILITY_2_4
="yes"
19455 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19456 cat >> confdefs.h
<<\EOF
19457 #define WXWIN_COMPATIBILITY_2_4 1
19463 if test "$wxUSE_GUI" = "yes"; then
19464 cat >> confdefs.h
<<\EOF
19465 #define wxUSE_GUI 1
19470 cat >> confdefs.h
<<\EOF
19471 #define wxUSE_NOGUI 1
19477 if test "$wxUSE_UNIX" = "yes"; then
19478 cat >> confdefs.h
<<\EOF
19479 #define wxUSE_UNIX 1
19485 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19486 cat >> confdefs.h
<<\EOF
19487 #define wxUSE_APPLE_IEEE 1
19492 if test "$wxUSE_TIMER" = "yes"; then
19493 cat >> confdefs.h
<<\EOF
19494 #define wxUSE_TIMER 1
19499 if test "$wxUSE_WAVE" = "yes"; then
19500 cat >> confdefs.h
<<\EOF
19501 #define wxUSE_WAVE 1
19506 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19507 cat >> confdefs.h
<<\EOF
19508 #define wxUSE_CMDLINE_PARSER 1
19513 if test "$wxUSE_STOPWATCH" = "yes"; then
19514 cat >> confdefs.h
<<\EOF
19515 #define wxUSE_STOPWATCH 1
19520 if test "$wxUSE_DATETIME" = "yes"; then
19521 cat >> confdefs.h
<<\EOF
19522 #define wxUSE_DATETIME 1
19527 if test "$wxUSE_TIMEDATE" = "yes"; then
19528 cat >> confdefs.h
<<\EOF
19529 #define wxUSE_TIMEDATE 1
19534 if test "$wxUSE_FILE" = "yes"; then
19535 cat >> confdefs.h
<<\EOF
19536 #define wxUSE_FILE 1
19541 if test "$wxUSE_FFILE" = "yes"; then
19542 cat >> confdefs.h
<<\EOF
19543 #define wxUSE_FFILE 1
19548 if test "$wxUSE_FILESYSTEM" = "yes"; then
19549 cat >> confdefs.h
<<\EOF
19550 #define wxUSE_FILESYSTEM 1
19555 if test "$wxUSE_FS_INET" = "yes"; then
19556 cat >> confdefs.h
<<\EOF
19557 #define wxUSE_FS_INET 1
19562 if test "$wxUSE_FS_ZIP" = "yes"; then
19563 cat >> confdefs.h
<<\EOF
19564 #define wxUSE_FS_ZIP 1
19569 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19570 cat >> confdefs.h
<<\EOF
19571 #define wxUSE_ZIPSTREAM 1
19576 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19577 cat >> confdefs.h
<<\EOF
19578 #define wxUSE_ON_FATAL_EXCEPTION 1
19583 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19584 cat >> confdefs.h
<<\EOF
19585 #define wxUSE_SNGLINST_CHECKER 1
19590 if test "$wxUSE_BUSYINFO" = "yes"; then
19591 cat >> confdefs.h
<<\EOF
19592 #define wxUSE_BUSYINFO 1
19597 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19598 cat >> confdefs.h
<<\EOF
19599 #define wxUSE_STD_IOSTREAM 1
19604 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19605 cat >> confdefs.h
<<\EOF
19606 #define wxUSE_TEXTBUFFER 1
19611 if test "$wxUSE_TEXTFILE" = "yes"; then
19612 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19613 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19615 cat >> confdefs.h
<<\EOF
19616 #define wxUSE_TEXTFILE 1
19622 if test "$wxUSE_CONFIG" = "yes" ; then
19623 if test "$wxUSE_TEXTFILE" != "yes"; then
19624 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19626 cat >> confdefs.h
<<\EOF
19627 #define wxUSE_CONFIG 1
19630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19634 if test "$wxUSE_INTL" = "yes" ; then
19635 if test "$wxUSE_FILE" != "yes"; then
19636 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19638 cat >> confdefs.h
<<\EOF
19639 #define wxUSE_INTL 1
19642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19643 GUIDIST
="$GUIDIST INTL_DIST"
19647 if test "$wxUSE_LOG" = "yes"; then
19648 cat >> confdefs.h
<<\EOF
19649 #define wxUSE_LOG 1
19653 if test "$wxUSE_LOGGUI" = "yes"; then
19654 cat >> confdefs.h
<<\EOF
19655 #define wxUSE_LOGGUI 1
19660 if test "$wxUSE_LOGWINDOW" = "yes"; then
19661 cat >> confdefs.h
<<\EOF
19662 #define wxUSE_LOGWINDOW 1
19667 if test "$wxUSE_LOGDIALOG" = "yes"; then
19668 cat >> confdefs.h
<<\EOF
19669 #define wxUSE_LOG_DIALOG 1
19675 if test "$wxUSE_LONGLONG" = "yes"; then
19676 cat >> confdefs.h
<<\EOF
19677 #define wxUSE_LONGLONG 1
19682 if test "$wxUSE_GEOMETRY" = "yes"; then
19683 cat >> confdefs.h
<<\EOF
19684 #define wxUSE_GEOMETRY 1
19689 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19690 cat >> confdefs.h
<<\EOF
19691 #define wxUSE_DIALUP_MANAGER 1
19694 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19697 if test "$wxUSE_STREAMS" = "yes" ; then
19698 cat >> confdefs.h
<<\EOF
19699 #define wxUSE_STREAMS 1
19705 if test "$wxUSE_DATETIME" = "yes"; then
19706 for ac_func
in strptime
19708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19709 echo "configure:19710: checking for $ac_func" >&5
19710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19711 echo $ac_n "(cached) $ac_c" 1>&6
19713 cat > conftest.
$ac_ext <<EOF
19714 #line 19715 "configure"
19715 #include "confdefs.h"
19716 /* System header to define __stub macros and hopefully few prototypes,
19717 which can conflict with char $ac_func(); below. */
19718 #include <assert.h>
19719 /* Override any gcc2 internal prototype to avoid an error. */
19720 /* We use char because int might match the return type of a gcc2
19721 builtin and then its argument prototype would still apply. */
19726 /* The GNU C library defines this for functions which it implements
19727 to always fail with ENOSYS. Some functions are actually named
19728 something starting with __ and the normal name is an alias. */
19729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19737 if { (eval echo configure
:19738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19739 eval "ac_cv_func_$ac_func=yes"
19741 echo "configure: failed program was:" >&5
19742 cat conftest.
$ac_ext >&5
19744 eval "ac_cv_func_$ac_func=no"
19749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19750 echo "$ac_t""yes" 1>&6
19751 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19752 cat >> confdefs.h
<<EOF
19753 #define $ac_tr_func 1
19757 echo "$ac_t""no" 1>&6
19762 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19763 echo "configure:19764: checking for timezone variable in <time.h>" >&5
19764 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19765 echo $ac_n "(cached) $ac_c" 1>&6
19768 cat > conftest.
$ac_ext <<EOF
19769 #line 19770 "configure"
19770 #include "confdefs.h"
19781 if { (eval echo configure
:19782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19784 wx_cv_var_timezone
=timezone
19787 echo "configure: failed program was:" >&5
19788 cat conftest.
$ac_ext >&5
19791 cat > conftest.
$ac_ext <<EOF
19792 #line 19793 "configure"
19793 #include "confdefs.h"
19804 if { (eval echo configure
:19805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19807 wx_cv_var_timezone
=_timezone
19810 echo "configure: failed program was:" >&5
19811 cat conftest.
$ac_ext >&5
19814 cat > conftest.
$ac_ext <<EOF
19815 #line 19816 "configure"
19816 #include "confdefs.h"
19827 if { (eval echo configure
:19828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19830 wx_cv_var_timezone
=__timezone
19833 echo "configure: failed program was:" >&5
19834 cat conftest.
$ac_ext >&5
19837 if test "$USE_DOS" = 0 ; then
19838 echo "configure: warning: no timezone variable" 1>&2
19856 echo "$ac_t""$wx_cv_var_timezone" 1>&6
19858 if test "x$wx_cv_var_timezone" != x
; then
19859 cat >> confdefs.h
<<EOF
19860 #define WX_TIMEZONE $wx_cv_var_timezone
19865 for ac_func
in localtime
19867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19868 echo "configure:19869: checking for $ac_func" >&5
19869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19870 echo $ac_n "(cached) $ac_c" 1>&6
19872 cat > conftest.
$ac_ext <<EOF
19873 #line 19874 "configure"
19874 #include "confdefs.h"
19875 /* System header to define __stub macros and hopefully few prototypes,
19876 which can conflict with char $ac_func(); below. */
19877 #include <assert.h>
19878 /* Override any gcc2 internal prototype to avoid an error. */
19879 /* We use char because int might match the return type of a gcc2
19880 builtin and then its argument prototype would still apply. */
19885 /* The GNU C library defines this for functions which it implements
19886 to always fail with ENOSYS. Some functions are actually named
19887 something starting with __ and the normal name is an alias. */
19888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19896 if { (eval echo configure
:19897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19898 eval "ac_cv_func_$ac_func=yes"
19900 echo "configure: failed program was:" >&5
19901 cat conftest.
$ac_ext >&5
19903 eval "ac_cv_func_$ac_func=no"
19908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19909 echo "$ac_t""yes" 1>&6
19910 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19911 cat >> confdefs.h
<<EOF
19912 #define $ac_tr_func 1
19916 echo "$ac_t""no" 1>&6
19921 if test "$ac_cv_func_localtime" = "yes"; then
19922 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
19923 echo "configure:19924: checking for tm_gmtoff in struct tm" >&5
19924 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
19925 echo $ac_n "(cached) $ac_c" 1>&6
19928 cat > conftest.
$ac_ext <<EOF
19929 #line 19930 "configure"
19930 #include "confdefs.h"
19941 if { (eval echo configure
:19942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19944 wx_cv_struct_tm_has_gmtoff
=yes
19947 echo "configure: failed program was:" >&5
19948 cat conftest.
$ac_ext >&5
19950 wx_cv_struct_tm_has_gmtoff
=no
19957 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
19960 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
19961 cat >> confdefs.h
<<\EOF
19962 #define WX_GMTOFF_IN_TM 1
19967 for ac_func
in gettimeofday ftime
19969 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19970 echo "configure:19971: checking for $ac_func" >&5
19971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19972 echo $ac_n "(cached) $ac_c" 1>&6
19974 cat > conftest.
$ac_ext <<EOF
19975 #line 19976 "configure"
19976 #include "confdefs.h"
19977 /* System header to define __stub macros and hopefully few prototypes,
19978 which can conflict with char $ac_func(); below. */
19979 #include <assert.h>
19980 /* Override any gcc2 internal prototype to avoid an error. */
19981 /* We use char because int might match the return type of a gcc2
19982 builtin and then its argument prototype would still apply. */
19987 /* The GNU C library defines this for functions which it implements
19988 to always fail with ENOSYS. Some functions are actually named
19989 something starting with __ and the normal name is an alias. */
19990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19998 if { (eval echo configure
:19999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20000 eval "ac_cv_func_$ac_func=yes"
20002 echo "configure: failed program was:" >&5
20003 cat conftest.
$ac_ext >&5
20005 eval "ac_cv_func_$ac_func=no"
20010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20011 echo "$ac_t""yes" 1>&6
20012 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20013 cat >> confdefs.h
<<EOF
20014 #define $ac_tr_func 1
20018 echo "$ac_t""no" 1>&6
20023 if test "$ac_cv_func_gettimeofday" = "yes"; then
20024 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
20025 echo "configure:20026: checking whether gettimeofday takes two arguments" >&5
20026 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
20027 echo $ac_n "(cached) $ac_c" 1>&6
20032 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20033 ac_cpp
='$CXXCPP $CPPFLAGS'
20034 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20035 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20036 cross_compiling
=$ac_cv_prog_cxx_cross
20039 cat > conftest.
$ac_ext <<EOF
20040 #line 20041 "configure"
20041 #include "confdefs.h"
20043 #include <sys/time.h>
20044 #include <unistd.h>
20049 gettimeofday(&tv, NULL);
20053 if { (eval echo configure
:20054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20055 wx_cv_func_gettimeofday_has_2_args
=yes
20057 echo "configure: failed program was:" >&5
20058 cat conftest.
$ac_ext >&5
20060 cat > conftest.
$ac_ext <<EOF
20061 #line 20062 "configure"
20062 #include "confdefs.h"
20064 #include <sys/time.h>
20065 #include <unistd.h>
20074 if { (eval echo configure
:20075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20076 wx_cv_func_gettimeofday_has_2_args
=no
20078 echo "configure: failed program was:" >&5
20079 cat conftest.
$ac_ext >&5
20082 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20083 wx_cv_func_gettimeofday_has_2_args
=unknown
20092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20093 ac_cpp
='$CPP $CPPFLAGS'
20094 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20095 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20096 cross_compiling
=$ac_cv_prog_cc_cross
20101 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20103 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20104 cat >> confdefs.h
<<\EOF
20105 #define WX_GETTIMEOFDAY_NO_TZ 1
20111 cat >> confdefs.h
<<\EOF
20112 #define wxUSE_TIMEDATE 1
20115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20119 if test "$wxUSE_SOCKETS" = "yes"; then
20120 if test "$wxUSE_MGL" = "1"; then
20121 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20126 if test "$wxUSE_SOCKETS" = "yes"; then
20127 if test "$TOOLKIT" != "MSW"; then
20128 echo $ac_n "checking for socket""... $ac_c" 1>&6
20129 echo "configure:20130: checking for socket" >&5
20130 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20131 echo $ac_n "(cached) $ac_c" 1>&6
20133 cat > conftest.
$ac_ext <<EOF
20134 #line 20135 "configure"
20135 #include "confdefs.h"
20136 /* System header to define __stub macros and hopefully few prototypes,
20137 which can conflict with char socket(); below. */
20138 #include <assert.h>
20139 /* Override any gcc2 internal prototype to avoid an error. */
20140 /* We use char because int might match the return type of a gcc2
20141 builtin and then its argument prototype would still apply. */
20146 /* The GNU C library defines this for functions which it implements
20147 to always fail with ENOSYS. Some functions are actually named
20148 something starting with __ and the normal name is an alias. */
20149 #if defined (__stub_socket) || defined (__stub___socket)
20157 if { (eval echo configure
:20158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20159 eval "ac_cv_func_socket=yes"
20161 echo "configure: failed program was:" >&5
20162 cat conftest.
$ac_ext >&5
20164 eval "ac_cv_func_socket=no"
20169 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20170 echo "$ac_t""yes" 1>&6
20173 echo "$ac_t""no" 1>&6
20174 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20175 echo "configure:20176: checking for socket in -lsocket" >&5
20176 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20177 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20178 echo $ac_n "(cached) $ac_c" 1>&6
20180 ac_save_LIBS
="$LIBS"
20181 LIBS
="-lsocket $LIBS"
20182 cat > conftest.
$ac_ext <<EOF
20183 #line 20184 "configure"
20184 #include "confdefs.h"
20185 /* Override any gcc2 internal prototype to avoid an error. */
20186 /* We use char because int might match the return type of a gcc2
20187 builtin and then its argument prototype would still apply. */
20194 if { (eval echo configure
:20195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20196 eval "ac_cv_lib_$ac_lib_var=yes"
20198 echo "configure: failed program was:" >&5
20199 cat conftest.
$ac_ext >&5
20201 eval "ac_cv_lib_$ac_lib_var=no"
20204 LIBS
="$ac_save_LIBS"
20207 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20208 echo "$ac_t""yes" 1>&6
20209 if test "$INET_LINK" != " -lsocket"; then
20210 INET_LINK
="$INET_LINK -lsocket"
20213 echo "$ac_t""no" 1>&6
20215 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20227 if test "$wxUSE_SOCKETS" = "yes" ; then
20228 if test "$TOOLKIT" != "MSW"; then
20229 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20230 echo "configure:20231: checking what is the type of the third argument of getsockname" >&5
20231 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20232 echo $ac_n "(cached) $ac_c" 1>&6
20237 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20238 ac_cpp
='$CXXCPP $CPPFLAGS'
20239 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20240 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20241 cross_compiling
=$ac_cv_prog_cxx_cross
20244 cat > conftest.
$ac_ext <<EOF
20245 #line 20246 "configure"
20246 #include "confdefs.h"
20248 #include <sys/types.h>
20249 #include <sys/socket.h>
20254 getsockname(0, 0, &len);
20258 if { (eval echo configure
:20259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20260 wx_cv_type_getsockname3
=socklen_t
20262 echo "configure: failed program was:" >&5
20263 cat conftest.
$ac_ext >&5
20265 cat > conftest.
$ac_ext <<EOF
20266 #line 20267 "configure"
20267 #include "confdefs.h"
20269 #include <sys/types.h>
20270 #include <sys/socket.h>
20275 getsockname(0, 0, &len);
20279 if { (eval echo configure
:20280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20281 wx_cv_type_getsockname3
=size_t
20283 echo "configure: failed program was:" >&5
20284 cat conftest.
$ac_ext >&5
20286 cat > conftest.
$ac_ext <<EOF
20287 #line 20288 "configure"
20288 #include "confdefs.h"
20290 #include <sys/types.h>
20291 #include <sys/socket.h>
20296 getsockname(0, 0, &len);
20300 if { (eval echo configure
:20301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20302 wx_cv_type_getsockname3
=int
20304 echo "configure: failed program was:" >&5
20305 cat conftest.
$ac_ext >&5
20307 wx_cv_type_getsockname3
=unknown
20319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20320 ac_cpp
='$CPP $CPPFLAGS'
20321 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20322 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20323 cross_compiling
=$ac_cv_prog_cc_cross
20328 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20330 if test "$wx_cv_type_getsockname3" = "unknown"; then
20332 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20334 cat >> confdefs.h
<<EOF
20335 #define SOCKLEN_T $wx_cv_type_getsockname3
20342 if test "$wxUSE_SOCKETS" = "yes" ; then
20343 cat >> confdefs.h
<<\EOF
20344 #define wxUSE_SOCKETS 1
20347 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20351 if test "$wxUSE_GUI" = "yes"; then
20353 if test "$TOOLKIT" = "MAC"; then
20354 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20357 if test "$TOOLKIT" = "MOTIF"; then
20358 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20361 if test "$TOOLKIT" = "X11"; then
20362 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20366 if test "$TOOLKIT" != "MSW"; then
20367 if test "$wxUSE_JOYSTICK" = "yes"; then
20368 for ac_hdr
in linux
/joystick.h
20370 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20371 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20372 echo "configure:20373: checking for $ac_hdr" >&5
20373 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20374 echo $ac_n "(cached) $ac_c" 1>&6
20376 cat > conftest.
$ac_ext <<EOF
20377 #line 20378 "configure"
20378 #include "confdefs.h"
20381 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20382 { (eval echo configure
:20383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20383 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20384 if test -z "$ac_err"; then
20386 eval "ac_cv_header_$ac_safe=yes"
20389 echo "configure: failed program was:" >&5
20390 cat conftest.
$ac_ext >&5
20392 eval "ac_cv_header_$ac_safe=no"
20396 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20397 echo "$ac_t""yes" 1>&6
20398 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20399 cat >> confdefs.h
<<EOF
20400 #define $ac_tr_hdr 1
20404 echo "$ac_t""no" 1>&6
20408 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20410 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20415 if test "$wxUSE_JOYSTICK" = "yes"; then
20416 cat >> confdefs.h
<<\EOF
20417 #define wxUSE_JOYSTICK 1
20420 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20425 if test "$TOOLKIT" != "MSW"; then
20429 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20430 if test "$USE_DARWIN" = 1; then
20433 for ac_func
in dlopen
20435 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20436 echo "configure:20437: checking for $ac_func" >&5
20437 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20438 echo $ac_n "(cached) $ac_c" 1>&6
20440 cat > conftest.
$ac_ext <<EOF
20441 #line 20442 "configure"
20442 #include "confdefs.h"
20443 /* System header to define __stub macros and hopefully few prototypes,
20444 which can conflict with char $ac_func(); below. */
20445 #include <assert.h>
20446 /* Override any gcc2 internal prototype to avoid an error. */
20447 /* We use char because int might match the return type of a gcc2
20448 builtin and then its argument prototype would still apply. */
20453 /* The GNU C library defines this for functions which it implements
20454 to always fail with ENOSYS. Some functions are actually named
20455 something starting with __ and the normal name is an alias. */
20456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20464 if { (eval echo configure
:20465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20466 eval "ac_cv_func_$ac_func=yes"
20468 echo "configure: failed program was:" >&5
20469 cat conftest.
$ac_ext >&5
20471 eval "ac_cv_func_$ac_func=no"
20476 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20477 echo "$ac_t""yes" 1>&6
20478 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20479 cat >> confdefs.h
<<EOF
20480 #define $ac_tr_func 1
20483 cat >> confdefs.h
<<\EOF
20484 #define HAVE_DLOPEN 1
20490 echo "$ac_t""no" 1>&6
20491 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20492 echo "configure:20493: checking for dlopen in -ldl" >&5
20493 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20494 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20495 echo $ac_n "(cached) $ac_c" 1>&6
20497 ac_save_LIBS
="$LIBS"
20499 cat > conftest.
$ac_ext <<EOF
20500 #line 20501 "configure"
20501 #include "confdefs.h"
20502 /* Override any gcc2 internal prototype to avoid an error. */
20503 /* We use char because int might match the return type of a gcc2
20504 builtin and then its argument prototype would still apply. */
20511 if { (eval echo configure
:20512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20513 eval "ac_cv_lib_$ac_lib_var=yes"
20515 echo "configure: failed program was:" >&5
20516 cat conftest.
$ac_ext >&5
20518 eval "ac_cv_lib_$ac_lib_var=no"
20521 LIBS
="$ac_save_LIBS"
20524 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20525 echo "$ac_t""yes" 1>&6
20527 cat >> confdefs.h
<<\EOF
20528 #define HAVE_DLOPEN 1
20532 DL_LINK
=" -ldl$DL_LINK"
20535 echo "$ac_t""no" 1>&6
20537 for ac_func
in shl_load
20539 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20540 echo "configure:20541: checking for $ac_func" >&5
20541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20542 echo $ac_n "(cached) $ac_c" 1>&6
20544 cat > conftest.
$ac_ext <<EOF
20545 #line 20546 "configure"
20546 #include "confdefs.h"
20547 /* System header to define __stub macros and hopefully few prototypes,
20548 which can conflict with char $ac_func(); below. */
20549 #include <assert.h>
20550 /* Override any gcc2 internal prototype to avoid an error. */
20551 /* We use char because int might match the return type of a gcc2
20552 builtin and then its argument prototype would still apply. */
20557 /* The GNU C library defines this for functions which it implements
20558 to always fail with ENOSYS. Some functions are actually named
20559 something starting with __ and the normal name is an alias. */
20560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20568 if { (eval echo configure
:20569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20570 eval "ac_cv_func_$ac_func=yes"
20572 echo "configure: failed program was:" >&5
20573 cat conftest.
$ac_ext >&5
20575 eval "ac_cv_func_$ac_func=no"
20580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20581 echo "$ac_t""yes" 1>&6
20582 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20583 cat >> confdefs.h
<<EOF
20584 #define $ac_tr_func 1
20587 cat >> confdefs.h
<<\EOF
20588 #define HAVE_SHL_LOAD 1
20594 echo "$ac_t""no" 1>&6
20595 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20596 echo "configure:20597: checking for dld in -lshl_load" >&5
20597 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20598 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20599 echo $ac_n "(cached) $ac_c" 1>&6
20601 ac_save_LIBS
="$LIBS"
20602 LIBS
="-lshl_load $LIBS"
20603 cat > conftest.
$ac_ext <<EOF
20604 #line 20605 "configure"
20605 #include "confdefs.h"
20606 /* Override any gcc2 internal prototype to avoid an error. */
20607 /* We use char because int might match the return type of a gcc2
20608 builtin and then its argument prototype would still apply. */
20615 if { (eval echo configure
:20616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20617 eval "ac_cv_lib_$ac_lib_var=yes"
20619 echo "configure: failed program was:" >&5
20620 cat conftest.
$ac_ext >&5
20622 eval "ac_cv_lib_$ac_lib_var=no"
20625 LIBS
="$ac_save_LIBS"
20628 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20629 echo "$ac_t""yes" 1>&6
20632 DL_LINK
=" -ldld$DL_LINK"
20635 echo "$ac_t""no" 1>&6
20650 if test "$HAVE_DL_FUNCS" = 1; then
20651 for ac_func
in dlerror
20653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20654 echo "configure:20655: checking for $ac_func" >&5
20655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20656 echo $ac_n "(cached) $ac_c" 1>&6
20658 cat > conftest.
$ac_ext <<EOF
20659 #line 20660 "configure"
20660 #include "confdefs.h"
20661 /* System header to define __stub macros and hopefully few prototypes,
20662 which can conflict with char $ac_func(); below. */
20663 #include <assert.h>
20664 /* Override any gcc2 internal prototype to avoid an error. */
20665 /* We use char because int might match the return type of a gcc2
20666 builtin and then its argument prototype would still apply. */
20671 /* The GNU C library defines this for functions which it implements
20672 to always fail with ENOSYS. Some functions are actually named
20673 something starting with __ and the normal name is an alias. */
20674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20682 if { (eval echo configure
:20683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20684 eval "ac_cv_func_$ac_func=yes"
20686 echo "configure: failed program was:" >&5
20687 cat conftest.
$ac_ext >&5
20689 eval "ac_cv_func_$ac_func=no"
20694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20695 echo "$ac_t""yes" 1>&6
20696 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20697 cat >> confdefs.h
<<EOF
20698 #define $ac_tr_func 1
20700 cat >> confdefs.h
<<\EOF
20701 #define HAVE_DLERROR 1
20705 echo "$ac_t""no" 1>&6
20706 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20707 echo "configure:20708: checking for dlerror in -ldl" >&5
20708 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20709 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20710 echo $ac_n "(cached) $ac_c" 1>&6
20712 ac_save_LIBS
="$LIBS"
20714 cat > conftest.
$ac_ext <<EOF
20715 #line 20716 "configure"
20716 #include "confdefs.h"
20717 /* Override any gcc2 internal prototype to avoid an error. */
20718 /* We use char because int might match the return type of a gcc2
20719 builtin and then its argument prototype would still apply. */
20726 if { (eval echo configure
:20727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20728 eval "ac_cv_lib_$ac_lib_var=yes"
20730 echo "configure: failed program was:" >&5
20731 cat conftest.
$ac_ext >&5
20733 eval "ac_cv_lib_$ac_lib_var=no"
20736 LIBS
="$ac_save_LIBS"
20739 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20740 echo "$ac_t""yes" 1>&6
20741 cat >> confdefs.h
<<\EOF
20742 #define HAVE_DLERROR 1
20746 echo "$ac_t""no" 1>&6
20755 if test "$HAVE_DL_FUNCS" = 0; then
20756 if test "$HAVE_SHL_FUNCS" = 0; then
20757 if test "$USE_UNIX" = 1; then
20758 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20759 wxUSE_DYNAMIC_LOADER
=no
20760 wxUSE_DYNLIB_CLASS
=no
20762 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20769 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20770 cat >> confdefs.h
<<\EOF
20771 #define wxUSE_DYNAMIC_LOADER 1
20774 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20775 cat >> confdefs.h
<<\EOF
20776 #define wxUSE_DYNLIB_CLASS 1
20782 if test "$wxUSE_FONTMAP" = "yes" ; then
20783 cat >> confdefs.h
<<\EOF
20784 #define wxUSE_FONTMAP 1
20789 if test "$wxUSE_UNICODE" = "yes" ; then
20790 cat >> confdefs.h
<<\EOF
20791 #define wxUSE_UNICODE 1
20795 if test "$wxUSE_MSW" != 1; then
20796 wxUSE_UNICODE_MSLU
=no
20799 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20800 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20801 echo "configure:20802: checking for main in -lunicows" >&5
20802 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20803 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20804 echo $ac_n "(cached) $ac_c" 1>&6
20806 ac_save_LIBS
="$LIBS"
20807 LIBS
="-lunicows $LIBS"
20808 cat > conftest.
$ac_ext <<EOF
20809 #line 20810 "configure"
20810 #include "confdefs.h"
20816 if { (eval echo configure
:20817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20818 eval "ac_cv_lib_$ac_lib_var=yes"
20820 echo "configure: failed program was:" >&5
20821 cat conftest.
$ac_ext >&5
20823 eval "ac_cv_lib_$ac_lib_var=no"
20826 LIBS
="$ac_save_LIBS"
20829 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20830 echo "$ac_t""yes" 1>&6
20832 cat >> confdefs.h
<<\EOF
20833 #define wxUSE_UNICODE_MSLU 1
20838 echo "$ac_t""no" 1>&6
20840 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
20841 Applications will only run on Windows NT/2000/XP!" 1>&2
20842 wxUSE_UNICODE_MSLU
=no
20849 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
20850 cat >> confdefs.h
<<\EOF
20851 #define wxUSE_EXPERIMENTAL_PRINTF 1
20859 if test "$wxUSE_ODBC" = "yes" ; then
20860 cat >> confdefs.h
<<\EOF
20861 #define wxUSE_ODBC 1
20864 WXODBCFLAG
="-D_IODBC_"
20865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
20869 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
20870 cat >> confdefs.h
<<\EOF
20871 #define wxUSE_POSTSCRIPT 1
20876 cat >> confdefs.h
<<\EOF
20877 #define wxUSE_AFM_FOR_POSTSCRIPT 1
20881 cat >> confdefs.h
<<\EOF
20882 #define wxUSE_NORMALIZED_PS_FONTS 1
20887 if test "$wxUSE_CONSTRAINTS" = "yes"; then
20888 cat >> confdefs.h
<<\EOF
20889 #define wxUSE_CONSTRAINTS 1
20892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
20895 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20898 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20899 cat >> confdefs.h
<<\EOF
20900 #define wxUSE_MDI_ARCHITECTURE 1
20903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
20907 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
20908 cat >> confdefs.h
<<\EOF
20909 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
20912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
20913 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
20918 if test "$wxUSE_HELP" = "yes"; then
20919 cat >> confdefs.h
<<\EOF
20920 #define wxUSE_HELP 1
20923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
20925 if test "$wxUSE_MSW" = 1; then
20926 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
20927 cat >> confdefs.h
<<\EOF
20928 #define wxUSE_MS_HTML_HELP 1
20934 if test "$wxUSE_WXHTML_HELP" = "yes"; then
20935 if test "$wxUSE_HTML" = "yes"; then
20936 cat >> confdefs.h
<<\EOF
20937 #define wxUSE_WXHTML_HELP 1
20941 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
20942 wxUSE_WXHTML_HELP
=no
20947 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20948 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20949 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
20951 cat >> confdefs.h
<<\EOF
20952 #define wxUSE_PRINTING_ARCHITECTURE 1
20956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
20959 if test "$wxUSE_PROLOGIO" = "yes" ; then
20960 cat >> confdefs.h
<<\EOF
20961 #define wxUSE_PROLOGIO 1
20964 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
20967 if test "$wxUSE_RESOURCES" = "yes" ; then
20968 if test "$wxUSE_NANOX" = "yes"; then
20969 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
20971 cat >> confdefs.h
<<\EOF
20972 #define wxUSE_RESOURCES 1
20975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
20977 if test "$wxUSE_PROLOGIO" != "yes" ; then
20978 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
20982 if test "$wxUSE_X_RESOURCES" = "yes"; then
20983 cat >> confdefs.h
<<\EOF
20984 #define wxUSE_X_RESOURCES 1
20990 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
20991 -o "$wxUSE_CLIPBOARD" = "yes" \
20992 -o "$wxUSE_OLE" = "yes" \
20993 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
20994 for ac_hdr
in ole2.h
20996 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20997 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20998 echo "configure:20999: checking for $ac_hdr" >&5
20999 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21000 echo $ac_n "(cached) $ac_c" 1>&6
21002 cat > conftest.
$ac_ext <<EOF
21003 #line 21004 "configure"
21004 #include "confdefs.h"
21007 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21008 { (eval echo configure
:21009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21009 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21010 if test -z "$ac_err"; then
21012 eval "ac_cv_header_$ac_safe=yes"
21015 echo "configure: failed program was:" >&5
21016 cat conftest.
$ac_ext >&5
21018 eval "ac_cv_header_$ac_safe=no"
21022 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21023 echo "$ac_t""yes" 1>&6
21024 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21025 cat >> confdefs.h
<<EOF
21026 #define $ac_tr_hdr 1
21030 echo "$ac_t""no" 1>&6
21035 if test "$ac_cv_header_ole2_h" = "yes" ; then
21036 if test "$GCC" = yes ; then
21039 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21040 ac_cpp
='$CXXCPP $CPPFLAGS'
21041 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21042 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21043 cross_compiling
=$ac_cv_prog_cxx_cross
21046 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
21047 echo "configure:21048: checking if g++ requires -fvtable-thunks" >&5
21048 cat > conftest.
$ac_ext <<EOF
21049 #line 21050 "configure"
21050 #include "confdefs.h"
21051 #include <windows.h>
21057 if { (eval echo configure
:21058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21059 echo "$ac_t""no" 1>&6
21061 echo "configure: failed program was:" >&5
21062 cat conftest.
$ac_ext >&5
21064 echo "$ac_t""yes" 1>&6
21065 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21069 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21070 ac_cpp
='$CPP $CPPFLAGS'
21071 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21072 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21073 cross_compiling
=$ac_cv_prog_cc_cross
21075 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21076 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21077 cat >> confdefs.h
<<\EOF
21078 #define wxUSE_OLE 1
21084 cat >> confdefs.h
<<\EOF
21085 #define wxUSE_DATAOBJ 1
21089 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21092 wxUSE_DRAG_AND_DROP
=no
21097 if test "$wxUSE_METAFILE" = "yes"; then
21098 cat >> confdefs.h
<<\EOF
21099 #define wxUSE_METAFILE 1
21103 cat >> confdefs.h
<<\EOF
21104 #define wxUSE_ENH_METAFILE 1
21110 if test "$wxUSE_IPC" = "yes"; then
21111 if test "$wxUSE_SOCKETS" != "yes"; then
21112 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21115 cat >> confdefs.h
<<\EOF
21116 #define wxUSE_IPC 1
21121 if test "$wxUSE_CLIPBOARD" = "yes"; then
21122 if test "$wxUSE_MGL" = 1; then
21123 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21127 if test "$wxUSE_CLIPBOARD" = "yes"; then
21128 cat >> confdefs.h
<<\EOF
21129 #define wxUSE_CLIPBOARD 1
21133 cat >> confdefs.h
<<\EOF
21134 #define wxUSE_DATAOBJ 1
21140 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21141 if test "$wxUSE_GTK" = 1; then
21142 if test "$WXGTK12" != 1; then
21143 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21144 wxUSE_DRAG_AND_DROP
=no
21148 if test "$wxUSE_MOTIF" = 1; then
21149 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21150 wxUSE_DRAG_AND_DROP
=no
21153 if test "$wxUSE_X11" = 1; then
21154 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21155 wxUSE_DRAG_AND_DROP
=no
21158 if test "$wxUSE_MGL" = 1; then
21159 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21160 wxUSE_DRAG_AND_DROP
=no
21163 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21164 cat >> confdefs.h
<<\EOF
21165 #define wxUSE_DRAG_AND_DROP 1
21168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21173 if test "$wxUSE_SPLINES" = "yes" ; then
21174 cat >> confdefs.h
<<\EOF
21175 #define wxUSE_SPLINES 1
21182 if test "$wxUSE_CONTROLS" = "yes"; then
21186 if test "$wxUSE_ACCEL" = "yes"; then
21187 cat >> confdefs.h
<<\EOF
21188 #define wxUSE_ACCEL 1
21194 if test "$wxUSE_BUTTON" = "yes"; then
21195 cat >> confdefs.h
<<\EOF
21196 #define wxUSE_BUTTON 1
21202 if test "$wxUSE_BMPBUTTON" = "yes"; then
21203 cat >> confdefs.h
<<\EOF
21204 #define wxUSE_BMPBUTTON 1
21210 if test "$wxUSE_CALCTRL" = "yes"; then
21211 cat >> confdefs.h
<<\EOF
21212 #define wxUSE_CALENDARCTRL 1
21216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21219 if test "$wxUSE_CARET" = "yes"; then
21220 cat >> confdefs.h
<<\EOF
21221 #define wxUSE_CARET 1
21225 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21228 if test "$wxUSE_COMBOBOX" = "yes"; then
21229 cat >> confdefs.h
<<\EOF
21230 #define wxUSE_COMBOBOX 1
21236 if test "$wxUSE_CHOICE" = "yes"; then
21237 cat >> confdefs.h
<<\EOF
21238 #define wxUSE_CHOICE 1
21244 if test "$wxUSE_CHECKBOX" = "yes"; then
21245 cat >> confdefs.h
<<\EOF
21246 #define wxUSE_CHECKBOX 1
21252 if test "$wxUSE_CHECKLST" = "yes"; then
21253 cat >> confdefs.h
<<\EOF
21254 #define wxUSE_CHECKLISTBOX 1
21258 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21261 if test "$wxUSE_GAUGE" = "yes"; then
21262 cat >> confdefs.h
<<\EOF
21263 #define wxUSE_GAUGE 1
21269 if test "$wxUSE_NEW_GRID" = "yes"; then
21271 cat >> confdefs.h
<<\EOF
21272 #define wxUSE_NEW_GRID 1
21276 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
21279 if test "$wxUSE_GRID" = "yes"; then
21280 cat >> confdefs.h
<<\EOF
21281 #define wxUSE_GRID 1
21285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21288 if test "$wxUSE_IMAGLIST" = "yes"; then
21289 cat >> confdefs.h
<<\EOF
21290 #define wxUSE_IMAGLIST 1
21295 if test "$wxUSE_LISTBOX" = "yes"; then
21296 cat >> confdefs.h
<<\EOF
21297 #define wxUSE_LISTBOX 1
21303 if test "$wxUSE_LISTCTRL" = "yes"; then
21304 if test "$wxUSE_IMAGLIST" = "yes"; then
21305 cat >> confdefs.h
<<\EOF
21306 #define wxUSE_LISTCTRL 1
21310 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21312 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21316 if test "$wxUSE_NOTEBOOK" = "yes"; then
21317 cat >> confdefs.h
<<\EOF
21318 #define wxUSE_NOTEBOOK 1
21322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21325 if test "$wxUSE_PROPSHEET" = "yes"; then
21326 cat >> confdefs.h
<<\EOF
21327 #define wxUSE_PROPSHEET 1
21331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
21334 if test "$wxUSE_RADIOBOX" = "yes"; then
21335 cat >> confdefs.h
<<\EOF
21336 #define wxUSE_RADIOBOX 1
21342 if test "$wxUSE_RADIOBTN" = "yes"; then
21343 cat >> confdefs.h
<<\EOF
21344 #define wxUSE_RADIOBTN 1
21350 if test "$wxUSE_SASH" = "yes"; then
21351 cat >> confdefs.h
<<\EOF
21352 #define wxUSE_SASH 1
21355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21358 if test "$wxUSE_SCROLLBAR" = "yes"; then
21359 cat >> confdefs.h
<<\EOF
21360 #define wxUSE_SCROLLBAR 1
21364 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21367 if test "$wxUSE_SLIDER" = "yes"; then
21368 cat >> confdefs.h
<<\EOF
21369 #define wxUSE_SLIDER 1
21375 if test "$wxUSE_SPINBTN" = "yes"; then
21376 cat >> confdefs.h
<<\EOF
21377 #define wxUSE_SPINBTN 1
21383 if test "$wxUSE_SPINCTRL" = "yes"; then
21384 cat >> confdefs.h
<<\EOF
21385 #define wxUSE_SPINCTRL 1
21391 if test "$wxUSE_SPLITTER" = "yes"; then
21392 cat >> confdefs.h
<<\EOF
21393 #define wxUSE_SPLITTER 1
21396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21399 if test "$wxUSE_STATBMP" = "yes"; then
21400 cat >> confdefs.h
<<\EOF
21401 #define wxUSE_STATBMP 1
21407 if test "$wxUSE_STATBOX" = "yes"; then
21408 cat >> confdefs.h
<<\EOF
21409 #define wxUSE_STATBOX 1
21415 if test "$wxUSE_STATTEXT" = "yes"; then
21416 cat >> confdefs.h
<<\EOF
21417 #define wxUSE_STATTEXT 1
21423 if test "$wxUSE_STATLINE" = "yes"; then
21424 cat >> confdefs.h
<<\EOF
21425 #define wxUSE_STATLINE 1
21431 if test "$wxUSE_STATUSBAR" = "yes"; then
21432 cat >> confdefs.h
<<\EOF
21433 #define wxUSE_STATUSBAR 1
21438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21441 if test "$wxUSE_TABDIALOG" = "yes"; then
21442 cat >> confdefs.h
<<\EOF
21443 #define wxUSE_TAB_DIALOG 1
21446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21449 if test "$wxUSE_TEXTCTRL" = "yes"; then
21450 cat >> confdefs.h
<<\EOF
21451 #define wxUSE_TEXTCTRL 1
21455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21458 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21459 if test "$wxUSE_MAC" = 1; then
21460 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21463 if test "$wxUSE_UNIVERSAL" = "yes"; then
21464 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21468 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21469 cat >> confdefs.h
<<\EOF
21470 #define wxUSE_TOGGLEBTN 1
21477 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21478 cat >> confdefs.h
<<\EOF
21479 #define wxUSE_TOOLBAR_SIMPLE 1
21482 wxUSE_TOOLBAR
="yes"
21486 if test "$wxUSE_TOOLBAR" = "yes"; then
21487 cat >> confdefs.h
<<\EOF
21488 #define wxUSE_TOOLBAR 1
21493 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21494 wxUSE_TOOLBAR_NATIVE
="yes"
21497 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21498 cat >> confdefs.h
<<\EOF
21499 #define wxUSE_TOOLBAR_NATIVE 1
21505 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21508 if test "$wxUSE_TOOLTIPS" = "yes"; then
21509 if test "$wxUSE_MOTIF" = 1; then
21510 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21512 if test "$wxUSE_UNIVERSAL" = "yes"; then
21513 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21515 cat >> confdefs.h
<<\EOF
21516 #define wxUSE_TOOLTIPS 1
21523 if test "$wxUSE_TREECTRL" = "yes"; then
21524 if test "$wxUSE_IMAGLIST" = "yes"; then
21525 cat >> confdefs.h
<<\EOF
21526 #define wxUSE_TREECTRL 1
21530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21532 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21536 if test "$wxUSE_POPUPWIN" = "yes"; then
21537 if test "$wxUSE_MAC" = 1; then
21538 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21540 if test "$wxUSE_MOTIF" = 1; then
21541 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21543 if test "$wxUSE_PM" = 1; then
21544 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21546 cat >> confdefs.h
<<\EOF
21547 #define wxUSE_POPUPWIN 1
21557 if test "$wxUSE_TIPWINDOW" = "yes"; then
21558 if test "$wxUSE_PM" = 1; then
21559 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21561 cat >> confdefs.h
<<\EOF
21562 #define wxUSE_TIPWINDOW 1
21568 if test "$USES_CONTROLS" = 1; then
21569 cat >> confdefs.h
<<\EOF
21570 #define wxUSE_CONTROLS 1
21576 if test "$wxUSE_TREELAYOUT" = "yes"; then
21577 cat >> confdefs.h
<<\EOF
21578 #define wxUSE_TREELAYOUT 1
21581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
21584 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21585 cat >> confdefs.h
<<\EOF
21586 #define wxUSE_DRAGIMAGE 1
21589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21592 if test "$wxUSE_MENUS" = "yes"; then
21593 cat >> confdefs.h
<<\EOF
21594 #define wxUSE_MENUS 1
21597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21600 if test "$wxUSE_METAFILE" = "yes"; then
21601 cat >> confdefs.h
<<\EOF
21602 #define wxUSE_METAFILE 1
21607 if test "$wxUSE_MIMETYPE" = "yes"; then
21608 cat >> confdefs.h
<<\EOF
21609 #define wxUSE_MIMETYPE 1
21614 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21615 cat >> confdefs.h
<<\EOF
21616 #define wxUSE_SYSTEM_OPTIONS 1
21619 if test "$TOOLKIT" = "MSW"; then
21620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21625 if test "$wxUSE_PROTOCOL" = "yes"; then
21626 if test "$wxUSE_SOCKETS" != "yes"; then
21627 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21631 if test "$wxUSE_PROTOCOL" = "yes"; then
21632 cat >> confdefs.h
<<\EOF
21633 #define wxUSE_PROTOCOL 1
21637 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21638 cat >> confdefs.h
<<\EOF
21639 #define wxUSE_PROTOCOL_HTTP 1
21643 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21644 cat >> confdefs.h
<<\EOF
21645 #define wxUSE_PROTOCOL_FTP 1
21649 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21650 cat >> confdefs.h
<<\EOF
21651 #define wxUSE_PROTOCOL_FILE 1
21658 if test "$wxUSE_URL" = "yes"; then
21659 if test "$wxUSE_PROTOCOL" != "yes"; then
21660 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21663 if test "$wxUSE_URL" = "yes"; then
21664 cat >> confdefs.h
<<\EOF
21665 #define wxUSE_URL 1
21671 if test "$wxUSE_MINIFRAME" = "yes"; then
21672 cat >> confdefs.h
<<\EOF
21673 #define wxUSE_MINIFRAME 1
21676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21679 if test "$wxUSE_HTML" = "yes"; then
21680 cat >> confdefs.h
<<\EOF
21681 #define wxUSE_HTML 1
21684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21687 if test "$wxUSE_VALIDATORS" = "yes"; then
21688 cat >> confdefs.h
<<\EOF
21689 #define wxUSE_VALIDATORS 1
21692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21695 if test "$wxUSE_PALETTE" = "yes" ; then
21696 cat >> confdefs.h
<<\EOF
21697 #define wxUSE_PALETTE 1
21702 if test "$wxUSE_IMAGE" = "yes" ; then
21703 cat >> confdefs.h
<<\EOF
21704 #define wxUSE_IMAGE 1
21709 if test "$wxUSE_GIF" = "yes" ; then
21710 cat >> confdefs.h
<<\EOF
21711 #define wxUSE_GIF 1
21716 if test "$wxUSE_PCX" = "yes" ; then
21717 cat >> confdefs.h
<<\EOF
21718 #define wxUSE_PCX 1
21723 if test "$wxUSE_IFF" = "yes" ; then
21724 cat >> confdefs.h
<<\EOF
21725 #define wxUSE_IFF 1
21730 if test "$wxUSE_PNM" = "yes" ; then
21731 cat >> confdefs.h
<<\EOF
21732 #define wxUSE_PNM 1
21737 if test "$wxUSE_XPM" = "yes" ; then
21738 cat >> confdefs.h
<<\EOF
21739 #define wxUSE_XPM 1
21744 if test "$wxUSE_ICO_CUR" = "yes" ; then
21745 cat >> confdefs.h
<<\EOF
21746 #define wxUSE_ICO_CUR 1
21751 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21752 LIBS
=" -lunicows $LIBS"
21756 if test "$wxUSE_CHOICEDLG" = "yes"; then
21757 cat >> confdefs.h
<<\EOF
21758 #define wxUSE_CHOICEDLG 1
21763 if test "$wxUSE_COLOURDLG" = "yes"; then
21764 cat >> confdefs.h
<<\EOF
21765 #define wxUSE_COLOURDLG 1
21770 if test "$wxUSE_FILEDLG" = "yes"; then
21771 cat >> confdefs.h
<<\EOF
21772 #define wxUSE_FILEDLG 1
21777 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21778 cat >> confdefs.h
<<\EOF
21779 #define wxUSE_FINDREPLDLG 1
21784 if test "$wxUSE_FONTDLG" = "yes"; then
21785 cat >> confdefs.h
<<\EOF
21786 #define wxUSE_FONTDLG 1
21791 if test "$wxUSE_DIRDLG" = "yes"; then
21792 if test "$wxUSE_TREECTRL" != "yes"; then
21793 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21795 cat >> confdefs.h
<<\EOF
21796 #define wxUSE_DIRDLG 1
21802 if test "$wxUSE_MSGDLG" = "yes"; then
21803 cat >> confdefs.h
<<\EOF
21804 #define wxUSE_MSGDLG 1
21809 if test "$wxUSE_NUMBERDLG" = "yes"; then
21810 cat >> confdefs.h
<<\EOF
21811 #define wxUSE_NUMBERDLG 1
21816 if test "$wxUSE_PROGRESSDLG" = "yes"; then
21817 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21818 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
21820 cat >> confdefs.h
<<\EOF
21821 #define wxUSE_PROGRESSDLG 1
21827 if test "$wxUSE_SPLASH" = "yes"; then
21828 cat >> confdefs.h
<<\EOF
21829 #define wxUSE_SPLASH 1
21834 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
21835 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21836 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
21838 cat >> confdefs.h
<<\EOF
21839 #define wxUSE_STARTUP_TIPS 1
21845 if test "$wxUSE_TEXTDLG" = "yes"; then
21846 cat >> confdefs.h
<<\EOF
21847 #define wxUSE_TEXTDLG 1
21852 if test "$wxUSE_WIZARDDLG" = "yes"; then
21853 cat >> confdefs.h
<<\EOF
21854 #define wxUSE_WIZARDDLG 1
21857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
21861 if test "$cross_compiling" = "yes"; then
21864 OSINFO
=`uname -s -r -m`
21865 OSINFO
="\"$OSINFO\""
21868 cat >> confdefs.h
<<EOF
21869 #define WXWIN_OS_DESCRIPTION $OSINFO
21874 if test "x$prefix" != "xNONE"; then
21877 wxPREFIX
=$ac_default_prefix
21880 cat >> confdefs.h
<<EOF
21881 #define wxINSTALL_PREFIX "$wxPREFIX"
21890 if test "$wxUSE_MAC" = 1 ; then
21891 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
21895 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
21901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21902 echo "configure:21903: checking for $ac_func" >&5
21903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21904 echo $ac_n "(cached) $ac_c" 1>&6
21906 cat > conftest.
$ac_ext <<EOF
21907 #line 21908 "configure"
21908 #include "confdefs.h"
21909 /* System header to define __stub macros and hopefully few prototypes,
21910 which can conflict with char $ac_func(); below. */
21911 #include <assert.h>
21912 /* Override any gcc2 internal prototype to avoid an error. */
21913 /* We use char because int might match the return type of a gcc2
21914 builtin and then its argument prototype would still apply. */
21919 /* The GNU C library defines this for functions which it implements
21920 to always fail with ENOSYS. Some functions are actually named
21921 something starting with __ and the normal name is an alias. */
21922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21930 if { (eval echo configure
:21931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21932 eval "ac_cv_func_$ac_func=yes"
21934 echo "configure: failed program was:" >&5
21935 cat conftest.
$ac_ext >&5
21937 eval "ac_cv_func_$ac_func=no"
21942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21943 echo "$ac_t""yes" 1>&6
21944 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21945 cat >> confdefs.h
<<EOF
21946 #define $ac_tr_func 1
21950 echo "$ac_t""no" 1>&6
21954 for ac_func
in floor
21956 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21957 echo "configure:21958: checking for $ac_func" >&5
21958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21959 echo $ac_n "(cached) $ac_c" 1>&6
21961 cat > conftest.
$ac_ext <<EOF
21962 #line 21963 "configure"
21963 #include "confdefs.h"
21964 /* System header to define __stub macros and hopefully few prototypes,
21965 which can conflict with char $ac_func(); below. */
21966 #include <assert.h>
21967 /* Override any gcc2 internal prototype to avoid an error. */
21968 /* We use char because int might match the return type of a gcc2
21969 builtin and then its argument prototype would still apply. */
21974 /* The GNU C library defines this for functions which it implements
21975 to always fail with ENOSYS. Some functions are actually named
21976 something starting with __ and the normal name is an alias. */
21977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21985 if { (eval echo configure
:21986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21987 eval "ac_cv_func_$ac_func=yes"
21989 echo "configure: failed program was:" >&5
21990 cat conftest.
$ac_ext >&5
21992 eval "ac_cv_func_$ac_func=no"
21997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21998 echo "$ac_t""yes" 1>&6
21999 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22000 cat >> confdefs.h
<<EOF
22001 #define $ac_tr_func 1
22005 echo "$ac_t""no" 1>&6
22009 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
22010 echo "configure:22011: checking if floating point functions link without -lm" >&5
22011 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22012 echo "$ac_t""yes" 1>&6
22014 echo "$ac_t""no" 1>&6
22016 # use different functions to avoid configure caching
22021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22022 echo "configure:22023: checking for $ac_func" >&5
22023 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22024 echo $ac_n "(cached) $ac_c" 1>&6
22026 cat > conftest.
$ac_ext <<EOF
22027 #line 22028 "configure"
22028 #include "confdefs.h"
22029 /* System header to define __stub macros and hopefully few prototypes,
22030 which can conflict with char $ac_func(); below. */
22031 #include <assert.h>
22032 /* Override any gcc2 internal prototype to avoid an error. */
22033 /* We use char because int might match the return type of a gcc2
22034 builtin and then its argument prototype would still apply. */
22039 /* The GNU C library defines this for functions which it implements
22040 to always fail with ENOSYS. Some functions are actually named
22041 something starting with __ and the normal name is an alias. */
22042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22050 if { (eval echo configure
:22051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22052 eval "ac_cv_func_$ac_func=yes"
22054 echo "configure: failed program was:" >&5
22055 cat conftest.
$ac_ext >&5
22057 eval "ac_cv_func_$ac_func=no"
22062 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22063 echo "$ac_t""yes" 1>&6
22064 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22065 cat >> confdefs.h
<<EOF
22066 #define $ac_tr_func 1
22070 echo "$ac_t""no" 1>&6
22074 for ac_func
in ceil
22076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22077 echo "configure:22078: checking for $ac_func" >&5
22078 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22079 echo $ac_n "(cached) $ac_c" 1>&6
22081 cat > conftest.
$ac_ext <<EOF
22082 #line 22083 "configure"
22083 #include "confdefs.h"
22084 /* System header to define __stub macros and hopefully few prototypes,
22085 which can conflict with char $ac_func(); below. */
22086 #include <assert.h>
22087 /* Override any gcc2 internal prototype to avoid an error. */
22088 /* We use char because int might match the return type of a gcc2
22089 builtin and then its argument prototype would still apply. */
22094 /* The GNU C library defines this for functions which it implements
22095 to always fail with ENOSYS. Some functions are actually named
22096 something starting with __ and the normal name is an alias. */
22097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22105 if { (eval echo configure
:22106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22107 eval "ac_cv_func_$ac_func=yes"
22109 echo "configure: failed program was:" >&5
22110 cat conftest.
$ac_ext >&5
22112 eval "ac_cv_func_$ac_func=no"
22117 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22118 echo "$ac_t""yes" 1>&6
22119 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22120 cat >> confdefs.h
<<EOF
22121 #define $ac_tr_func 1
22125 echo "$ac_t""no" 1>&6
22129 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22130 echo "configure:22131: checking if floating point functions link with -lm" >&5
22131 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22132 echo "$ac_t""yes" 1>&6
22134 echo "$ac_t""no" 1>&6
22135 # not sure we should warn the user, crash, etc.
22139 if test "$wxUSE_GUI" = "yes"; then
22141 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22144 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22145 drawing dynamic erase event exec font image \
22146 minimal propsize rotate widgets"
22148 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22150 SAMPLES_SUBDIRS
="console"
22154 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22155 -I\${top_srcdir}/include \
22156 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22159 if test "$wxUSE_GTK" = 1; then
22162 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22165 if test "$GXX" = yes ; then
22166 CXXWARNINGS
="-Wall"
22168 if test "$wxUSE_NO_DEPS" = "no" ; then
22169 CFLAGS
="-MMD $CFLAGS"
22170 CXXFLAGS
="-MMD $CXXFLAGS"
22174 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22176 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22177 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22178 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22179 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22181 LDFLAGS
="$LDFLAGS $PROFILE"
22183 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22285 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22286 echo "configure:22287: checking whether ${MAKE-make} sets \${MAKE}" >&5
22287 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22288 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22289 echo $ac_n "(cached) $ac_c" 1>&6
22291 cat > conftestmake
<<\EOF
22293 @
echo 'ac_maketemp="${MAKE}"'
22295 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22296 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22297 if test -n "$ac_maketemp"; then
22298 eval ac_cv_prog_make_
${ac_make}_set
=yes
22300 eval ac_cv_prog_make_
${ac_make}_set
=no
22304 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22305 echo "$ac_t""yes" 1>&6
22308 echo "$ac_t""no" 1>&6
22309 SET_MAKE
="MAKE=${MAKE-make}"
22313 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22314 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22319 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22320 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22321 wx_cv_path_ifs
=$PATH_IFS
22322 wx_cv_program_ext
=$PROGRAM_EXT
22323 wx_cv_target_library
=$WX_TARGET_LIBRARY
22324 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22325 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22326 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22327 wx_cv_release
=${WX_RELEASE}
22328 wx_cv_current
=${WX_CURRENT}
22329 wx_cv_revision
=${WX_REVISION}
22330 wx_cv_age
=${WX_AGE}
22331 wx_cv_use_gui
=${USE_GUI}
22332 wx_cv_use_resources
=${wxUSE_RESOURCES}
22333 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22334 wx_cv_path_ifs wx_cv_program_ext \
22335 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22336 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22337 wx_cv_use_gui wx_cv_use_resources
22339 subdirs
="demos samples utils contrib"
22343 cat > confcache
<<\EOF
22344 # This file is a shell script that caches the results of configure
22345 # tests run on this system so they can be shared between configure
22346 # scripts and configure runs. It is not useful on other systems.
22347 # If it contains results you don't want to keep, you may remove or edit it.
22349 # By default, configure uses ./config.cache as the cache file,
22350 # creating it if it does not exist already. You can give configure
22351 # the --cache-file=FILE option to use a different cache file; that is
22352 # what configure does when it calls configure scripts in
22353 # subdirectories, so they share the cache.
22354 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22355 # config.status only pays attention to the cache file if you give it the
22356 # --recheck option to rerun configure.
22359 # The following way of writing the cache mishandles newlines in values,
22360 # but we know of no workaround that is simple, portable, and efficient.
22361 # So, don't put newlines in cache variables' values.
22362 # Ultrix sh set writes to stderr and can't be redirected directly,
22363 # and sets the high bit in the cache file unless we assign to the vars.
22365 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22367 # `set' does not quote correctly, so add quotes (double-quote substitution
22368 # turns \\\\ into \\, and sed turns \\ into \).
22370 -e "s/'/'\\\\''/g" \
22371 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22374 # `set' quotes correctly as required by POSIX, so do not add quotes.
22375 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22378 if cmp -s $cache_file confcache
; then
22381 if test -w $cache_file; then
22382 echo "updating cache $cache_file"
22383 cat confcache
> $cache_file
22385 echo "not updating unwritable cache $cache_file"
22390 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22392 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22393 # Let make expand exec_prefix.
22394 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22396 # Any assignment to VPATH causes Sun make to only execute
22397 # the first set of double-colon rules, so remove it if not needed.
22398 # If there is a colon in the path, we need to keep it.
22399 if test "x$srcdir" = x.
; then
22400 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22403 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22405 DEFS
=-DHAVE_CONFIG_H
22407 # Without the "./", some shells look in PATH for config.status.
22408 : ${CONFIG_STATUS=./config.status}
22410 echo creating
$CONFIG_STATUS
22411 rm -f $CONFIG_STATUS
22412 cat > $CONFIG_STATUS <<EOF
22414 # Generated automatically by configure.
22415 # Run this file to recreate the current configuration.
22416 # This directory was configured as follows,
22417 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22419 # $0 $ac_configure_args
22421 # Compiler output produced by configure, useful for debugging
22422 # configure, is in ./config.log if it exists.
22424 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22427 case "\$ac_option" in
22428 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22429 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22430 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22431 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22432 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22434 -help | --help | --hel | --he | --h)
22435 echo "\$ac_cs_usage"; exit 0 ;;
22436 *) echo "\$ac_cs_usage"; exit 1 ;;
22440 ac_given_srcdir=$srcdir
22441 ac_given_INSTALL="$INSTALL"
22443 trap 'rm -fr `echo "
22450 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22452 cat >> $CONFIG_STATUS <<EOF
22454 # Protect against being on the right side of a sed subst in config.status.
22455 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22456 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22460 s%@CFLAGS@%$CFLAGS%g
22461 s%@CPPFLAGS@%$CPPFLAGS%g
22462 s%@CXXFLAGS@%$CXXFLAGS%g
22463 s%@FFLAGS@%$FFLAGS%g
22465 s%@LDFLAGS@%$LDFLAGS%g
22467 s%@exec_prefix@%$exec_prefix%g
22468 s%@prefix@%$prefix%g
22469 s%@program_transform_name@%$program_transform_name%g
22470 s%@bindir@%$bindir%g
22471 s%@sbindir@%$sbindir%g
22472 s%@libexecdir@%$libexecdir%g
22473 s%@datadir@%$datadir%g
22474 s%@sysconfdir@%$sysconfdir%g
22475 s%@sharedstatedir@%$sharedstatedir%g
22476 s%@localstatedir@%$localstatedir%g
22477 s%@libdir@%$libdir%g
22478 s%@includedir@%$includedir%g
22479 s%@oldincludedir@%$oldincludedir%g
22480 s%@infodir@%$infodir%g
22481 s%@mandir@%$mandir%g
22483 s%@host_alias@%$host_alias%g
22484 s%@host_cpu@%$host_cpu%g
22485 s%@host_vendor@%$host_vendor%g
22486 s%@host_os@%$host_os%g
22487 s%@target@%$target%g
22488 s%@target_alias@%$target_alias%g
22489 s%@target_cpu@%$target_cpu%g
22490 s%@target_vendor@%$target_vendor%g
22491 s%@target_os@%$target_os%g
22493 s%@build_alias@%$build_alias%g
22494 s%@build_cpu@%$build_cpu%g
22495 s%@build_vendor@%$build_vendor%g
22496 s%@build_os@%$build_os%g
22500 s%@RANLIB@%$RANLIB%g
22502 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22503 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22504 s%@INSTALL_DATA@%$INSTALL_DATA%g
22506 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22509 s%@LEXLIB@%$LEXLIB%g
22511 s%@CXXCPP@%$CXXCPP%g
22512 s%@PKG_CONFIG@%$PKG_CONFIG%g
22513 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22514 s%@GTK_LIBS@%$GTK_LIBS%g
22515 s%@GTK_CONFIG@%$GTK_CONFIG%g
22516 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22517 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22518 s%@X_CFLAGS@%$X_CFLAGS%g
22519 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22520 s%@X_LIBS@%$X_LIBS%g
22521 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22522 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22523 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22524 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22525 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22526 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22527 s%@RESCOMP@%$RESCOMP%g
22529 s%@SETFILE@%$SETFILE%g
22530 s%@LIBICONV@%$LIBICONV%g
22531 s%@LEX_STEM@%$LEX_STEM%g
22532 s%@PATH_IFS@%$PATH_IFS%g
22533 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22534 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22535 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22536 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22537 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22538 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22539 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22540 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22541 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22542 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22543 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22544 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22545 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22546 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22547 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22548 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22549 s%@WX_ALL@%$WX_ALL%g
22550 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22551 s%@SHARED_LD@%$SHARED_LD%g
22552 s%@PIC_FLAG@%$PIC_FLAG%g
22553 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22554 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22555 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22556 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22557 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22558 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22559 s%@STATIC_FLAG@%$STATIC_FLAG%g
22560 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22561 s%@USE_GUI@%$USE_GUI%g
22562 s%@AFMINSTALL@%$AFMINSTALL%g
22563 s%@WIN32INSTALL@%$WIN32INSTALL%g
22564 s%@TOOLKIT@%$TOOLKIT%g
22565 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22566 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22567 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22568 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22569 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22570 s%@top_builddir@%$top_builddir%g
22571 s%@cross_compiling@%$cross_compiling%g
22572 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22573 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22574 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22575 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22576 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22577 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22578 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22579 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22580 s%@ALL_HEADERS@%$ALL_HEADERS%g
22581 s%@ALL_SOURCES@%$ALL_SOURCES%g
22582 s%@GUIDIST@%$GUIDIST%g
22583 s%@PORT_FILES@%$PORT_FILES%g
22584 s%@DISTDIR@%$DISTDIR%g
22585 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22586 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22587 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22588 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22589 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22590 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22591 s%@EXTRADEFS@%$EXTRADEFS%g
22592 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22593 s%@RESFLAGS@%$RESFLAGS%g
22594 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22595 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22596 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22597 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22598 s%@LIBWXMACRES@%$LIBWXMACRES%g
22599 s%@MACRESCOMP@%$MACRESCOMP%g
22600 s%@MACSETFILE@%$MACSETFILE%g
22601 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
22603 s%@DLLTOOL@%$DLLTOOL%g
22607 s%@MAKEINFO@%$MAKEINFO%g
22608 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22609 s%@INSTALL_DIR@%$INSTALL_DIR%g
22610 s%@SET_MAKE@%$SET_MAKE%g
22611 s%@subdirs@%$subdirs%g
22616 cat >> $CONFIG_STATUS <<\EOF
22618 # Split the substitutions into bite-sized pieces for seds with
22619 # small command number limits, like on Digital OSF/1 and HP-UX.
22620 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22621 ac_file
=1 # Number of current file.
22622 ac_beg
=1 # First line for current file.
22623 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22626 while $ac_more_lines; do
22627 if test $ac_beg -gt 1; then
22628 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22630 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22632 if test ! -s conftest.s
$ac_file; then
22633 ac_more_lines
=false
22634 rm -f conftest.s
$ac_file
22636 if test -z "$ac_sed_cmds"; then
22637 ac_sed_cmds
="sed -f conftest.s$ac_file"
22639 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22641 ac_file
=`expr $ac_file + 1`
22643 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22646 if test -z "$ac_sed_cmds"; then
22651 cat >> $CONFIG_STATUS <<EOF
22653 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22661 cat >> $CONFIG_STATUS <<\EOF
22662 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22663 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22665 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22666 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22667 *) ac_file_in
="${ac_file}.in" ;;
22670 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22672 # Remove last slash and all that follows it. Not all systems have dirname.
22673 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22674 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22675 # The file is in a subdirectory.
22676 test ! -d "$ac_dir" && mkdir "$ac_dir"
22677 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22678 # A "../" for each directory in $ac_dir_suffix.
22679 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22681 ac_dir_suffix
= ac_dots
=
22684 case "$ac_given_srcdir" in
22686 if test -z "$ac_dots"; then top_srcdir
=.
22687 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22688 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22689 *) # Relative path.
22690 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22691 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22694 case "$ac_given_INSTALL" in
22695 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22696 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22699 echo creating
"$ac_file"
22701 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22703 *Makefile
*) ac_comsub
="1i\\
22704 # $configure_input" ;;
22708 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22710 s%@configure_input@%$configure_input%g
22711 s%@srcdir@%$srcdir%g
22712 s%@top_srcdir@%$top_srcdir%g
22713 s%@INSTALL@%$INSTALL%g
22714 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22718 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22719 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22721 # ac_d sets the value in "#define NAME VALUE" lines.
22722 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22723 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22726 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22727 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22728 ac_uB
='\([ ]\)%\1#\2define\3'
22731 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22732 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22733 ac_eB
='$%\1#\2define\3'
22737 if test "${CONFIG_HEADERS+set}" != set; then
22739 cat >> $CONFIG_STATUS <<EOF
22740 CONFIG_HEADERS="setup.h:setup.h.in"
22742 cat >> $CONFIG_STATUS <<\EOF
22744 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22745 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22747 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22748 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22749 *) ac_file_in
="${ac_file}.in" ;;
22752 echo creating
$ac_file
22754 rm -f conftest.frag conftest.
in conftest.out
22755 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22756 cat $ac_file_inputs > conftest.
in
22760 # Transform confdefs.h into a sed script conftest.vals that substitutes
22761 # the proper values into config.h.in to produce config.h. And first:
22762 # Protect against being on the right side of a sed subst in config.status.
22763 # Protect against being in an unquoted here document in config.status.
22764 rm -f conftest.vals
22765 cat > conftest.hdr
<<\EOF
22768 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22772 sed -n -f conftest.hdr confdefs.h > conftest.vals
22775 # This sed command replaces #undef with comments. This is necessary, for
22776 # example, in the case of _POSIX_SOURCE, which is predefined and required
22777 # on some systems where configure will not decide to define it.
22778 cat >> conftest.vals <<\EOF
22779 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22782 # Break up conftest.vals because some shells have a limit on
22783 # the size of here documents, and old seds have small limits too.
22785 rm -f conftest.tail
22788 ac_lines=`grep -c . conftest.vals
`
22789 # grep -c gives empty output for an empty file on some AIX systems.
22790 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22791 # Write a limited-size here document to conftest.frag.
22792 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22793 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22795 sed -f conftest.frag conftest.in > conftest.out
22797 mv conftest.out conftest.in
22798 ' >> $CONFIG_STATUS
22799 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22800 rm -f conftest.vals
22801 mv conftest.tail conftest.vals
22803 rm -f conftest.vals
22805 cat >> $CONFIG_STATUS <<\EOF
22806 rm -f conftest.frag conftest.h
22807 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22808 cat conftest.in >> conftest.h
22810 if cmp -s $ac_file conftest.h 2>/dev/null; then
22811 echo "$ac_file is unchanged"
22814 # Remove last slash and all that follows it. Not all systems have dirname.
22815 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22816 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22817 # The file is in a subdirectory.
22818 test ! -d "$ac_dir" && mkdir "$ac_dir"
22821 mv conftest.h $ac_file
22826 cat >> $CONFIG_STATUS <<EOF
22828 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
22833 cat >> $CONFIG_STATUS <<\EOF
22835 if test ! -h wx-config; then
22837 mv wx-config wx${TOOLCHAIN_NAME}-config
22838 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
22841 if test ! -d lib; then
22844 if test ! -d lib/wx; then
22847 if test ! -d lib/wx/include; then
22848 mkdir lib/wx/include
22850 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
22851 mkdir lib/wx/include/${TOOLCHAIN_NAME}
22853 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
22854 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
22856 if test -f setup.h; then
22857 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
22862 chmod +x $CONFIG_STATUS
22863 rm -fr confdefs* $ac_clean_files
22864 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22866 if test "$no_recursion" != yes; then
22868 # Remove --cache-file and --srcdir arguments so they do not pile up.
22869 ac_sub_configure_args=
22871 for ac_arg in $ac_configure_args; do
22872 if test -n "$ac_prev"; then
22877 -cache-file | --cache-file | --cache-fil | --cache-fi \
22878 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22879 ac_prev=cache_file ;;
22880 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22881 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
22883 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22885 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22887 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
22891 for ac_config_dir in demos samples utils contrib; do
22893 # Do not complain, so a configure script can configure whichever
22894 # parts of a large source tree are present.
22895 if test ! -d $srcdir/$ac_config_dir; then
22899 echo configuring in $ac_config_dir
22904 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
22906 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
22914 # A "../" for each directory in /$ac_config_dir.
22915 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
22918 .) # No --srcdir option. We are building in place.
22919 ac_sub_srcdir=$srcdir ;;
22920 /*) # Absolute path.
22921 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
22922 *) # Relative path.
22923 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
22926 # Check for guested configure; otherwise get Cygnus style configure.
22927 if test -f $ac_sub_srcdir/configure; then
22928 ac_sub_configure=$ac_sub_srcdir/configure
22929 elif test -f $ac_sub_srcdir/configure.in; then
22930 ac_sub_configure=$ac_configure
22932 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
22936 # The recursion is here.
22937 if test -n "$ac_sub_configure"; then
22939 # Make the cache file name correct relative to the subdirectory.
22940 case "$cache_file" in
22941 /*) ac_sub_cache_file=$cache_file ;;
22942 *) # Relative path.
22943 ac_sub_cache_file="$ac_dots$cache_file" ;;
22945 case "$ac_given_INSTALL" in
22946 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22947 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22950 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
22951 # The eval makes quoting arguments work.
22952 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
22955 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
22965 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
22967 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
22969 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
22970 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
22971 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
22973 echo " What level of wxWindows compatibility should be enabled?"
22974 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
22975 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
22976 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
22978 echo " Which libraries should wxWindows use?"
22979 echo " jpeg ${wxUSE_LIBJPEG-none}"
22980 echo " png ${wxUSE_LIBPNG-none}"
22981 echo " regex ${wxUSE_REGEX}"
22982 echo " tiff ${wxUSE_LIBTIFF-none}"
22983 echo " zlib ${wxUSE_ZLIB}"