3 # From configure.in Id: configure.in
52 # Configure paths for GTK+
57 # Guess values for system-dependent variables and create Makefiles.
58 # Generated automatically using autoconf version 2.13
59 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
61 # This configure script is free software; the Free Software Foundation
62 # gives unlimited permission to copy, distribute and modify it.
66 ac_default_prefix
=/usr
/local
67 # Any additions from configure.in:
69 --enable-gui use GUI classes"
71 --enable-universal use wxWindows GUI controls instead of native ones"
75 --with-motif use Motif/Lesstif"
77 --with-mac use Mac OS X"
81 --with-msw use MS-Windows"
83 --with-pm use OS/2 Presentation Manager"
85 --with-mgl use SciTech MGL"
87 --with-microwin use MicroWindows"
91 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
93 --with-libpng use libpng (PNG image format)"
95 --with-libjpeg use libjpeg (JPEG file format)"
97 --with-libtiff use libtiff (TIFF file format)"
99 --with-opengl use OpenGL (or Mesa)"
101 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
103 --with-regex enable support for wxRegEx class"
105 --with-zlib use zlib for LZW compression"
107 --with-odbc use the IODBC and wxODBC classes"
109 --enable-shared create shared library code"
111 --enable-soname set the DT_SONAME field in ELF shared libraries"
113 --enable-optimise create optimised code"
115 --enable-debug same as debug_flag and debug_info"
117 --enable-precomp enable use of precompiled headers (Mac OS X)"
119 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
121 --enable-debug_info create code with debugging information"
123 --enable-debug_gdb create code with extra GDB debugging information"
125 --enable-debug_cntxt use wxDebugContext"
127 --enable-mem_tracing create code with memory tracing"
129 --enable-profile create code with profiling information"
131 --enable-no_rtti create code without RTTI information"
133 --enable-no_exceptions create code without C++ exceptions handling"
135 --enable-permissive compile code disregarding strict ANSI"
137 --enable-no_deps create code without dependency information"
139 --enable-compat20 enable wxWindows 2.0 compatibility"
141 --enable-compat22 enable wxWindows 2.2 compatibility"
143 --enable-intl use internationalization system"
145 --enable-config use wxConfig (and derived) classes"
147 --enable-protocols use wxProtocol and derived classes"
149 --enable-ftp use wxFTP (requires wxProtocol"
151 --enable-http use wxHTTP (requires wxProtocol"
153 --enable-fileproto use wxFileProto class (requires wxProtocol"
155 --enable-sockets use socket/network classes"
157 --enable-ipc use interprocess communication (wxSocket etc.)"
159 --enable-cmdline use wxCmdLineParser class"
161 --enable-datetime use wxDateTime class"
163 --enable-timedate use obsolete wxDate/wxTime classes"
165 --enable-stopwatch use wxStopWatch class"
167 --enable-dialupman use dialup network classes"
169 --enable-apple_ieee use the Apple IEEE codec"
171 --enable-timer use wxTimer class"
173 --enable-wave use wxWave class"
175 --enable-fraction use wxFraction class"
177 --enable-dynlib use wxLibrary class for DLL loading"
179 --enable-dynamicloader use (new) wxDynamicLibrary class"
181 --enable-longlong use wxLongLong class"
183 --enable-geometry use geometry class"
185 --enable-log use logging system"
187 --enable-streams use wxStream etc classes"
189 --enable-file use wxFile classes"
191 --enable-ffile use wxFFile classes"
193 --enable-textbuf use wxTextBuffer class"
195 --enable-textfile use wxTextFile class"
197 --enable-fontmap use font encodings conversion classes"
199 --enable-unicode compile wxString with Unicode support"
201 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
203 --enable-wxprintfv use wxWindows implementation of vprintf()"
205 --enable-std_iostreams use standard C++ stream classes"
207 --enable-filesystem use virtual file systems classes"
209 --enable-fs_inet use virtual HTTP/FTP filesystems"
211 --enable-fs_zip use virtual ZIP filesystems"
213 --enable-zipstream use wxZipInputStream"
215 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
217 --enable-snglinst use wxSingleInstanceChecker class"
219 --enable-mimetype use wxMimeTypesManager"
221 --enable-sysoptions use wxSystemOptions"
223 --enable-url use wxURL class"
225 --enable-protocol use wxProtocol class"
227 --enable-protocol-http HTTP support in wxProtocol"
229 --enable-protocol-ftp FTP support in wxProtocol"
231 --enable-protocol-file FILE support in wxProtocol"
233 --enable-threads use threads"
235 --enable-docview use document view architecture"
237 --enable-help use help subsystem"
239 --enable-mshtmlhelp use MS HTML Help (win32)"
241 --enable-html use wxHTML sub-library"
243 --enable-htmlhelp use wxHTML-based help"
245 --enable-constraints use layout-constraints system"
247 --enable-printarch use printing architecture"
249 --enable-mdi use multiple document interface architecture"
251 --enable-loggui use standard GUI logger"
253 --enable-logwin use wxLogWindow"
255 --enable-logdialog use wxLogDialog"
257 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
259 --enable-prologio use Prolog IO library"
261 --enable-resources use wxWindows resources"
263 --enable-xresources use X resources for save (default for gtk+)"
265 --enable-clipboard use wxClipboard classes"
267 --enable-dnd use Drag'n'Drop classes"
269 --enable-metafile use win32 metafiles"
271 --enable-treelayout use wxTreeLayout classes"
273 --enable-controls use all usual controls"
275 --enable-accel use accelerators"
277 --enable-button use wxButton class"
279 --enable-bmpbutton use wxBitmapButton class"
281 --enable-calendar use wxCalendarCtrl class"
283 --enable-caret use wxCaret class"
285 --enable-checkbox use wxCheckBox class"
287 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
289 --enable-choice use wxChoice class"
291 --enable-combobox use wxComboBox classes"
293 --enable-gauge use wxGauge class"
295 --enable-grid use wxGrid class"
297 --enable-newgrid use new wxGrid class"
299 --enable-imaglist use wxImageList class"
301 --enable-listbox use wxListBox class"
303 --enable-listctrl use wxListCtrl class"
305 --enable-notebook use wxNotebook class"
307 --enable-propsheet use wxPropertySheet class"
309 --enable-radiobox use wxRadioBox class"
311 --enable-radiobtn use wxRadioButton class"
313 --enable-sash use wxSashWindow class"
315 --enable-scrollbar use wxScrollBar class and scrollable windows"
317 --enable-slider use wxSlider class"
319 --enable-spinbtn use wxSpinButton class"
321 --enable-spinctrl use wxSpinCtrl class"
323 --enable-splitter use wxSplitterWindow class"
325 --enable-statbmp use wxStaticBitmap class"
327 --enable-statbox use wxStaticBox class"
329 --enable-statline use wxStaticLine class"
331 --enable-stattext use wxStaticText class"
333 --enable-statusbar use wxStatusBar class"
335 --enable-tabdialog use wxTabControl class"
337 --enable-textctrl use wxTextCtrl class"
339 --enable-togglebtn use wxToggleButton class"
341 --enable-toolbar use wxToolBar class"
343 --enable-tbarnative use native wxToolBar class"
345 --enable-tbarsmpl use wxToolBarSimple class"
347 --enable-treectrl use wxTreeCtrl class"
349 --enable-tipwindow use wxTipWindow class"
351 --enable-popupwin use wxPopUpWindow class"
353 --enable-commondlg use all common dialogs"
355 --enable-choicedlg use wxChoiceDialog"
357 --enable-coldlg use wxColourDialog"
359 --enable-filedlg use wxFileDialog"
361 --enable-finddlg use wxFindReplaceDialog"
363 --enable-fontdlg use wxFontDialog"
365 --enable-dirdlg use wxDirDialog"
367 --enable-msgdlg use wxMessageDialog"
369 --enable-numberdlg use wxNumberEntryDialog"
371 --enable-splash use wxSplashScreen"
373 --enable-textdlg use wxTextDialog"
375 --enable-tipdlg use startup tips"
377 --enable-progressdlg use wxProgressDialog"
379 --enable-wizarddlg use wxWizard"
381 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
383 --enable-miniframe use wxMiniFrame class"
385 --enable-tooltips use wxToolTip class"
387 --enable-splines use spline drawing code"
389 --enable-validators use wxValidator and derived classes"
391 --enable-busyinfo use wxBusyInfo"
393 --enable-joystick use wxJoystick (Linux only)"
395 --enable-metafiles use wxMetaFile (Windows only)"
397 --enable-dragimage use wxDragImage"
399 --enable-palette use wxPalette class"
401 --enable-image use wxImage class"
403 --enable-gif use gif images (GIF file format)"
405 --enable-pcx use pcx images (PCX file format)"
407 --enable-iff use iff images (IFF file format)"
409 --enable-pnm use pnm images (PNM file format)"
411 --enable-xpm use xpm images (XPM file format)"
413 --enable-icocur use Windows ICO and CUR formats"
415 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
417 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
419 --disable-gtktest Do not try to compile and run a test GTK program"
421 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
423 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
425 --disable-gtktest Do not try to compile and run a test GTK program"
427 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
429 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
431 --disable-gtktest Do not try to compile and run a test GTK program"
433 --with-x use the X Window System"
435 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
437 # Initialize some variables set by options.
438 # The variables have the same names as the options, with
439 # dashes changed to underlines.
441 cache_file
=.
/config.cache
450 program_transform_name
=s
,x
,x
,
458 bindir
='${exec_prefix}/bin'
459 sbindir
='${exec_prefix}/sbin'
460 libexecdir
='${exec_prefix}/libexec'
461 datadir
='${prefix}/share'
462 sysconfdir
='${prefix}/etc'
463 sharedstatedir
='${prefix}/com'
464 localstatedir
='${prefix}/var'
465 libdir
='${exec_prefix}/lib'
466 includedir
='${prefix}/include'
467 oldincludedir
='/usr/include'
468 infodir
='${prefix}/info'
469 mandir
='${prefix}/man'
471 # Initialize some other variables.
474 SHELL
=${CONFIG_SHELL-/bin/sh}
475 # Maximum number of lines to put in a shell here document.
482 # If the previous option needs an argument, assign it.
483 if test -n "$ac_prev"; then
484 eval "$ac_prev=\$ac_option"
490 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
494 # Accept the important Cygnus configure options, so we can diagnose typos.
498 -bindir | --bindir | --bindi | --bind | --bin | --bi)
500 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
501 bindir
="$ac_optarg" ;;
503 -build | --build | --buil | --bui | --bu)
505 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
506 build
="$ac_optarg" ;;
508 -cache-file | --cache-file | --cache-fil | --cache-fi \
509 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
510 ac_prev
=cache_file
;;
511 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
512 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
513 cache_file
="$ac_optarg" ;;
515 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
517 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
519 datadir
="$ac_optarg" ;;
521 -disable-* | --disable-*)
522 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
523 # Reject names that are not valid shell variable names.
524 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
525 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
527 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
528 eval "enable_${ac_feature}=no" ;;
530 -enable-* | --enable-*)
531 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
532 # Reject names that are not valid shell variable names.
533 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
534 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
536 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
541 eval "enable_${ac_feature}='$ac_optarg'" ;;
543 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
544 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
545 | --exec | --exe | --ex)
546 ac_prev
=exec_prefix
;;
547 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
548 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
549 | --exec=* | --exe=* | --ex=*)
550 exec_prefix
="$ac_optarg" ;;
552 -gas | --gas | --ga | --g)
553 # Obsolete; use --with-gas.
556 -help | --help | --hel | --he)
557 # Omit some internal or obsolete options to make the list less imposing.
558 # This message is too long to be a string in the A/UX 3.1 sh.
560 Usage: configure [options] [host]
561 Options: [defaults in brackets after descriptions]
563 --cache-file=FILE cache test results in FILE
564 --help print this message
565 --no-create do not create output files
566 --quiet, --silent do not print \`checking...' messages
567 --version print the version of autoconf that created configure
568 Directory and file names:
569 --prefix=PREFIX install architecture-independent files in PREFIX
571 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
573 --bindir=DIR user executables in DIR [EPREFIX/bin]
574 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
575 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
576 --datadir=DIR read-only architecture-independent data in DIR
578 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
579 --sharedstatedir=DIR modifiable architecture-independent data in DIR
581 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
582 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
583 --includedir=DIR C header files in DIR [PREFIX/include]
584 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
585 --infodir=DIR info documentation in DIR [PREFIX/info]
586 --mandir=DIR man documentation in DIR [PREFIX/man]
587 --srcdir=DIR find the sources in DIR [configure dir or ..]
588 --program-prefix=PREFIX prepend PREFIX to installed program names
589 --program-suffix=SUFFIX append SUFFIX to installed program names
590 --program-transform-name=PROGRAM
591 run sed PROGRAM on installed program names
595 --build=BUILD configure for building on BUILD [BUILD=HOST]
596 --host=HOST configure for HOST [guessed]
597 --target=TARGET configure for TARGET [TARGET=HOST]
598 Features and packages:
599 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
600 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
601 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
602 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
603 --x-includes=DIR X include files are in DIR
604 --x-libraries=DIR X library files are in DIR
606 if test -n "$ac_help"; then
607 echo "--enable and --with options recognized:$ac_help"
611 -host | --host | --hos | --ho)
613 -host=* | --host=* | --hos=* | --ho=*)
616 -includedir | --includedir | --includedi | --included | --include \
617 | --includ | --inclu | --incl | --inc)
618 ac_prev
=includedir
;;
619 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
620 | --includ=* | --inclu=* | --incl=* | --inc=*)
621 includedir
="$ac_optarg" ;;
623 -infodir | --infodir | --infodi | --infod | --info | --inf)
625 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
626 infodir
="$ac_optarg" ;;
628 -libdir | --libdir | --libdi | --libd)
630 -libdir=* | --libdir=* | --libdi=* | --libd=*)
631 libdir
="$ac_optarg" ;;
633 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
634 | --libexe | --libex | --libe)
635 ac_prev
=libexecdir
;;
636 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
637 | --libexe=* | --libex=* | --libe=*)
638 libexecdir
="$ac_optarg" ;;
640 -localstatedir | --localstatedir | --localstatedi | --localstated \
641 | --localstate | --localstat | --localsta | --localst \
642 | --locals | --local | --loca | --loc | --lo)
643 ac_prev
=localstatedir
;;
644 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
645 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
646 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
647 localstatedir
="$ac_optarg" ;;
649 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
651 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
652 mandir
="$ac_optarg" ;;
655 # Obsolete; use --without-fp.
658 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
662 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
663 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
666 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
667 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
668 | --oldin | --oldi | --old | --ol | --o)
669 ac_prev
=oldincludedir
;;
670 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
671 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
672 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
673 oldincludedir
="$ac_optarg" ;;
675 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
677 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
678 prefix
="$ac_optarg" ;;
680 -program-prefix | --program-prefix | --program-prefi | --program-pref \
681 | --program-pre | --program-pr | --program-p)
682 ac_prev
=program_prefix
;;
683 -program-prefix=* | --program-prefix=* | --program-prefi=* \
684 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
685 program_prefix
="$ac_optarg" ;;
687 -program-suffix | --program-suffix | --program-suffi | --program-suff \
688 | --program-suf | --program-su | --program-s)
689 ac_prev
=program_suffix
;;
690 -program-suffix=* | --program-suffix=* | --program-suffi=* \
691 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
692 program_suffix
="$ac_optarg" ;;
694 -program-transform-name | --program-transform-name \
695 | --program-transform-nam | --program-transform-na \
696 | --program-transform-n | --program-transform- \
697 | --program-transform | --program-transfor \
698 | --program-transfo | --program-transf \
699 | --program-trans | --program-tran \
700 | --progr-tra | --program-tr | --program-t)
701 ac_prev
=program_transform_name
;;
702 -program-transform-name=* | --program-transform-name=* \
703 | --program-transform-nam=* | --program-transform-na=* \
704 | --program-transform-n=* | --program-transform-=* \
705 | --program-transform=* | --program-transfor=* \
706 | --program-transfo=* | --program-transf=* \
707 | --program-trans=* | --program-tran=* \
708 | --progr-tra=* | --program-tr=* | --program-t=*)
709 program_transform_name
="$ac_optarg" ;;
711 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
712 | -silent | --silent | --silen | --sile | --sil)
715 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
717 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
719 sbindir
="$ac_optarg" ;;
721 -sharedstatedir | --sharedstatedir | --sharedstatedi \
722 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
723 | --sharedst | --shareds | --shared | --share | --shar \
725 ac_prev
=sharedstatedir
;;
726 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
727 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
728 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
730 sharedstatedir
="$ac_optarg" ;;
732 -site | --site | --sit)
734 -site=* | --site=* | --sit=*)
737 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
739 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
740 srcdir
="$ac_optarg" ;;
742 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
743 | --syscon | --sysco | --sysc | --sys | --sy)
744 ac_prev
=sysconfdir
;;
745 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
746 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
747 sysconfdir
="$ac_optarg" ;;
749 -target | --target | --targe | --targ | --tar | --ta | --t)
751 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
752 target
="$ac_optarg" ;;
754 -v | -verbose | --verbose | --verbos | --verbo | --verb)
757 -version | --version | --versio | --versi | --vers)
758 echo "configure generated by autoconf version 2.13"
762 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
763 # Reject names that are not valid shell variable names.
764 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
765 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
767 ac_package
=`echo $ac_package| sed 's/-/_/g'`
772 eval "with_${ac_package}='$ac_optarg'" ;;
774 -without-* | --without-*)
775 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
776 # Reject names that are not valid shell variable names.
777 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
778 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
780 ac_package
=`echo $ac_package| sed 's/-/_/g'`
781 eval "with_${ac_package}=no" ;;
784 # Obsolete; use --with-x.
787 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
788 | --x-incl | --x-inc | --x-in | --x-i)
789 ac_prev
=x_includes
;;
790 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
791 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
792 x_includes
="$ac_optarg" ;;
794 -x-libraries | --x-libraries | --x-librarie | --x-librari \
795 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
796 ac_prev
=x_libraries
;;
797 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
798 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
799 x_libraries
="$ac_optarg" ;;
801 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
805 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
806 echo "configure: warning: $ac_option: invalid host type" 1>&2
808 if test "x$nonopt" != xNONE
; then
809 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
817 if test -n "$ac_prev"; then
818 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
821 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
823 # File descriptor usage:
826 # 2 errors and warnings
827 # 3 some systems may open it to /dev/tty
828 # 4 used on the Kubota Titan
829 # 6 checking for... messages and results
830 # 5 compiler messages saved in config.log
831 if test "$silent" = yes; then
839 This file contains any messages produced by compilers while
840 running configure, to aid debugging if configure makes a mistake.
843 # Strip out --no-create and --no-recursion so they do not pile up.
844 # Also quote any args containing shell metacharacters.
849 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
850 | --no-cr | --no-c) ;;
851 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
852 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
853 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
854 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
855 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
860 # Only set these to C if already set. These must not be set unconditionally
861 # because not all systems understand e.g. LANG=C (notably SCO).
862 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
863 # Non-C LC_CTYPE values break the ctype check.
864 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
865 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
866 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
867 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
869 # confdefs.h avoids OS command line length limits that DEFS can exceed.
870 rm -rf conftest
* confdefs.h
871 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
874 # A filename unique to this package, relative to the directory that
875 # configure is in, which we can look for to find out if srcdir is correct.
876 ac_unique_file
=wx
-config.
in
878 # Find the source files, if location was not specified.
879 if test -z "$srcdir"; then
880 ac_srcdir_defaulted
=yes
881 # Try the directory containing this script, then its parent.
883 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
884 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
886 if test ! -r $srcdir/$ac_unique_file; then
890 ac_srcdir_defaulted
=no
892 if test ! -r $srcdir/$ac_unique_file; then
893 if test "$ac_srcdir_defaulted" = yes; then
894 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
896 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
899 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
901 # Prefer explicitly selected file to automatically selected ones.
902 if test -z "$CONFIG_SITE"; then
903 if test "x$prefix" != xNONE
; then
904 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
906 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
909 for ac_site_file
in $CONFIG_SITE; do
910 if test -r "$ac_site_file"; then
911 echo "loading site script $ac_site_file"
916 if test -r "$cache_file"; then
917 echo "loading cache $cache_file"
920 echo "creating cache $cache_file"
925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
926 ac_cpp
='$CPP $CPPFLAGS'
927 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
928 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
929 cross_compiling
=$ac_cv_prog_cc_cross
933 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
934 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
935 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
942 ac_n
= ac_c
='\c' ac_t
=
948 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
949 if test -f $ac_dir/install-sh; then
951 ac_install_sh
="$ac_aux_dir/install-sh -c"
953 elif test -f $ac_dir/install.sh
; then
955 ac_install_sh
="$ac_aux_dir/install.sh -c"
959 if test -z "$ac_aux_dir"; then
960 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
962 ac_config_guess
=$ac_aux_dir/config.guess
963 ac_config_sub
=$ac_aux_dir/config.sub
964 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
967 # Do some error checking and defaulting for the host and target type.
969 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
972 # 1. You are not allowed to specify --host, --target, and nonopt at the
974 # 2. Host defaults to nonopt.
975 # 3. If nonopt is not specified, then host defaults to the current host,
976 # as determined by config.guess.
977 # 4. Target and build default to nonopt.
978 # 5. If nonopt is not specified, then target and build default to host.
980 # The aliases save the names the user supplied, while $host etc.
981 # will get canonicalized.
982 case $host---$target---$nonopt in
983 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
984 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
988 # Make sure we can run config.sub.
989 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
990 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
993 echo $ac_n "checking host system type""... $ac_c" 1>&6
994 echo "configure:995: checking host system type" >&5
997 case "$host_alias" in
1001 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1002 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1004 *) host_alias
=$nonopt ;;
1008 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1009 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1010 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1011 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1012 echo "$ac_t""$host" 1>&6
1014 echo $ac_n "checking target system type""... $ac_c" 1>&6
1015 echo "configure:1016: checking target system type" >&5
1017 target_alias
=$target
1018 case "$target_alias" in
1021 NONE
) target_alias
=$host_alias ;;
1022 *) target_alias
=$nonopt ;;
1026 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1027 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1028 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1029 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1030 echo "$ac_t""$target" 1>&6
1032 echo $ac_n "checking build system type""... $ac_c" 1>&6
1033 echo "configure:1034: checking build system type" >&5
1036 case "$build_alias" in
1039 NONE
) build_alias
=$host_alias ;;
1040 *) build_alias
=$nonopt ;;
1044 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1045 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1046 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1047 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1048 echo "$ac_t""$build" 1>&6
1050 test "$host_alias" != "$target_alias" &&
1051 test "$program_prefix$program_suffix$program_transform_name" = \
1053 program_prefix
=${target_alias}-
1057 WX_MAJOR_VERSION_NUMBER
=2
1058 WX_MINOR_VERSION_NUMBER
=3
1061 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1062 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1064 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1098 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1100 CPP_MT_FLAG
=-D_REENTRANT
1102 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1107 DEFAULT_wxUSE_MICROWIN
=0
1108 DEFAULT_wxUSE_MOTIF
=0
1111 DEFAULT_wxUSE_WINE
=0
1114 DEFAULT_DEFAULT_wxUSE_GTK
=0
1115 DEFAULT_DEFAULT_wxUSE_MAC
=0
1116 DEFAULT_DEFAULT_wxUSE_MGL
=0
1117 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1118 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1119 DEFAULT_DEFAULT_wxUSE_MSW
=0
1120 DEFAULT_DEFAULT_wxUSE_PM
=0
1121 DEFAULT_DEFAULT_wxUSE_WINE
=0
1122 DEFAULT_DEFAULT_wxUSE_X11
=0
1130 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1131 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1133 cat >> confdefs.h
<<\EOF
1140 cat >> confdefs.h
<<\EOF
1145 if test "x$TMP" = "xalpha"; then
1147 cat >> confdefs.h
<<\EOF
1152 DEFAULT_DEFAULT_wxUSE_GTK
=1
1154 *-*-irix5* | *-*-irix6* )
1157 cat >> confdefs.h
<<\EOF
1161 cat >> confdefs.h
<<\EOF
1165 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1171 cat >> confdefs.h
<<\EOF
1175 cat >> confdefs.h
<<\EOF
1176 #define __SOLARIS__ 1
1179 cat >> confdefs.h
<<\EOF
1183 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1184 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1190 cat >> confdefs.h
<<\EOF
1194 cat >> confdefs.h
<<\EOF
1198 cat >> confdefs.h
<<\EOF
1202 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1207 CPP_MT_FLAG
=-D_THREAD_SAFE
1208 cat >> confdefs.h
<<\EOF
1209 #define __FREEBSD__ 1
1212 cat >> confdefs.h
<<\EOF
1216 DEFAULT_DEFAULT_wxUSE_GTK
=1
1221 cat >> confdefs.h
<<\EOF
1222 #define __FREEBSD__ 1
1225 cat >> confdefs.h
<<\EOF
1226 #define __OPENBSD__ 1
1229 DEFAULT_DEFAULT_wxUSE_GTK
=1
1234 cat >> confdefs.h
<<\EOF
1235 #define __FREEBSD__ 1
1238 cat >> confdefs.h
<<\EOF
1239 #define __NETBSD__ 1
1242 DEFAULT_DEFAULT_wxUSE_GTK
=1
1247 cat >> confdefs.h
<<\EOF
1251 cat >> confdefs.h
<<\EOF
1255 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1256 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1261 cat >> confdefs.h
<<\EOF
1265 cat >> confdefs.h
<<\EOF
1269 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1274 cat >> confdefs.h
<<\EOF
1278 cat >> confdefs.h
<<\EOF
1282 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1288 cat >> confdefs.h
<<\EOF
1292 cat >> confdefs.h
<<\EOF
1296 cat >> confdefs.h
<<\EOF
1300 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1303 *-*-cygwin* | *-*-mingw32* )
1307 cat >> confdefs.h
<<\EOF
1311 cat >> confdefs.h
<<\EOF
1315 cat >> confdefs.h
<<\EOF
1316 #define __WINDOWS__ 1
1319 cat >> confdefs.h
<<\EOF
1320 #define __GNUWIN32__ 1
1323 cat >> confdefs.h
<<\EOF
1327 cat >> confdefs.h
<<\EOF
1328 #define WINVER 0x0400
1333 DEFAULT_DEFAULT_wxUSE_MSW
=1
1339 cat >> confdefs.h
<<\EOF
1344 DEFAULT_DEFAULT_wxUSE_MGL
=1
1347 *-pc-os2_emx | *-pc-os2-emx )
1348 cat >> confdefs.h
<<\EOF
1353 DEFAULT_DEFAULT_wxUSE_PM
=1
1361 cat >> confdefs.h
<<\EOF
1365 cat >> confdefs.h
<<\EOF
1366 #define __DARWIN__ 1
1369 cat >> confdefs.h
<<\EOF
1370 #define __POWERPC__ 1
1373 DEFAULT_DEFAULT_wxUSE_MAC
=1
1378 cat >> confdefs.h
<<\EOF
1385 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1388 if test "$USE_UNIX" = 1 ; then
1390 cat >> confdefs.h
<<\EOF
1396 if test "$USE_LINUX" = 1; then
1397 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1398 echo "configure:1399: checking for glibc 2.1 or later" >&5
1399 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1400 echo $ac_n "(cached) $ac_c" 1>&6
1403 cat > conftest.
$ac_ext <<EOF
1404 #line 1405 "configure"
1405 #include "confdefs.h"
1406 #include <features.h>
1409 #if !__GLIBC_PREREQ(2, 1)
1415 if { (eval echo configure
:1416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1421 echo "configure: failed program was:" >&5
1422 cat conftest.
$ac_ext >&5
1433 echo "$ac_t""$wx_lib_glibc21" 1>&6
1434 if test "$wx_lib_glibc21" = "yes"; then
1435 cat >> confdefs.h
<<\EOF
1436 #define wxHAVE_GLIBC2 1
1445 wx_arg_cache_file
="configarg.cache"
1446 echo "loading argument cache $wx_arg_cache_file"
1447 rm -f ${wx_arg_cache_file}.tmp
1448 touch ${wx_arg_cache_file}.tmp
1449 touch ${wx_arg_cache_file}
1453 if test $DEBUG_CONFIGURE = 1; then
1454 DEFAULT_wxUSE_UNIVERSAL
=no
1456 DEFAULT_wxUSE_THREADS
=yes
1458 DEFAULT_wxUSE_SHARED
=yes
1459 DEFAULT_wxUSE_SONAME
=no
1460 DEFAULT_wxUSE_OPTIMISE
=no
1461 DEFAULT_wxUSE_PROFILE
=no
1462 DEFAULT_wxUSE_NO_DEPS
=no
1463 DEFAULT_wxUSE_NO_RTTI
=yes
1464 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1465 DEFAULT_wxUSE_PERMISSIVE
=no
1466 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1467 DEFAULT_wxUSE_DEBUG_INFO
=yes
1468 DEFAULT_wxUSE_DEBUG_GDB
=yes
1469 DEFAULT_wxUSE_MEM_TRACING
=no
1470 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1471 DEFAULT_wxUSE_DMALLOC
=no
1472 DEFAULT_wxUSE_PRECOMP
=no
1473 DEFAULT_wxUSE_APPLE_IEEE
=no
1475 DEFAULT_wxUSE_LOG
=yes
1476 DEFAULT_wxUSE_LOGWINDOW
=no
1477 DEFAULT_wxUSE_LOGGUI
=no
1478 DEFAULT_wxUSE_LOGDIALOG
=no
1480 DEFAULT_wxUSE_GUI
=yes
1481 DEFAULT_wxUSE_CONTROLS
=no
1483 DEFAULT_wxUSE_REGEX
=no
1484 DEFAULT_wxUSE_ZLIB
=no
1485 DEFAULT_wxUSE_LIBPNG
=no
1486 DEFAULT_wxUSE_LIBJPEG
=no
1487 DEFAULT_wxUSE_LIBTIFF
=no
1488 DEFAULT_wxUSE_ODBC
=no
1489 DEFAULT_wxUSE_OPENGL
=no
1491 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1492 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1493 DEFAULT_wxUSE_STD_IOSTREAM
=no
1494 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1495 DEFAULT_wxUSE_DATETIME
=no
1496 DEFAULT_wxUSE_TIMEDATE
=no
1497 DEFAULT_wxUSE_TIMER
=no
1498 DEFAULT_wxUSE_STOPWATCH
=no
1499 DEFAULT_wxUSE_FILE
=no
1500 DEFAULT_wxUSE_FFILE
=no
1501 DEFAULT_wxUSE_TEXTBUFFER
=no
1502 DEFAULT_wxUSE_TEXTFILE
=no
1503 DEFAULT_wxUSE_WAVE
=no
1504 DEFAULT_wxUSE_INTL
=no
1505 DEFAULT_wxUSE_CONFIG
=no
1506 DEFAULT_wxUSE_FONTMAP
=no
1507 DEFAULT_wxUSE_STREAMS
=no
1508 DEFAULT_wxUSE_SOCKETS
=no
1509 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1510 DEFAULT_wxUSE_JOYSTICK
=no
1511 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1512 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1513 DEFAULT_wxUSE_LONGLONG
=no
1514 DEFAULT_wxUSE_GEOMETRY
=no
1516 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1517 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1518 DEFAULT_wxUSE_POSTSCRIPT
=no
1520 DEFAULT_wxUSE_X_RESOURCES
=no
1521 DEFAULT_wxUSE_CLIPBOARD
=no
1522 DEFAULT_wxUSE_TOOLTIPS
=no
1523 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1524 DEFAULT_wxUSE_DRAGIMAGE
=no
1525 DEFAULT_wxUSE_SPLINES
=no
1527 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1528 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1529 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1531 DEFAULT_wxUSE_PROLOGIO
=no
1532 DEFAULT_wxUSE_RESOURCES
=no
1533 DEFAULT_wxUSE_CONSTRAINTS
=no
1534 DEFAULT_wxUSE_IPC
=no
1535 DEFAULT_wxUSE_HELP
=no
1536 DEFAULT_wxUSE_MS_HTML_HELP
=no
1537 DEFAULT_wxUSE_WXHTML_HELP
=no
1538 DEFAULT_wxUSE_TREELAYOUT
=no
1539 DEFAULT_wxUSE_METAFILE
=no
1540 DEFAULT_wxUSE_MIMETYPE
=no
1541 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1542 DEFAULT_wxUSE_PROTOCOL
=no
1543 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1544 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1545 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1546 DEFAULT_wxUSE_URL
=no
1548 DEFAULT_wxUSE_COMMONDLGS
=no
1549 DEFAULT_wxUSE_CHOICEDLG
=no
1550 DEFAULT_wxUSE_COLOURDLG
=no
1551 DEFAULT_wxUSE_DIRDLG
=no
1552 DEFAULT_wxUSE_FILEDLG
=no
1553 DEFAULT_wxUSE_FINDREPLDLG
=no
1554 DEFAULT_wxUSE_FONTDLG
=no
1555 DEFAULT_wxUSE_MSGDLG
=no
1556 DEFAULT_wxUSE_NUMBERDLG
=no
1557 DEFAULT_wxUSE_TEXTDLG
=no
1558 DEFAULT_wxUSE_SPLASH
=no
1559 DEFAULT_wxUSE_STARTUP_TIPS
=no
1560 DEFAULT_wxUSE_PROGRESSDLG
=no
1561 DEFAULT_wxUSE_WIZARDDLG
=no
1563 DEFAULT_wxUSE_MENUS
=no
1564 DEFAULT_wxUSE_MINIFRAME
=no
1565 DEFAULT_wxUSE_HTML
=no
1566 DEFAULT_wxUSE_FILESYSTEM
=no
1567 DEFAULT_wxUSE_FS_INET
=no
1568 DEFAULT_wxUSE_FS_ZIP
=no
1569 DEFAULT_wxUSE_BUSYINFO
=no
1570 DEFAULT_wxUSE_ZIPSTREAM
=no
1571 DEFAULT_wxUSE_VALIDATORS
=no
1573 DEFAULT_wxUSE_ACCEL
=no
1574 DEFAULT_wxUSE_BUTTON
=no
1575 DEFAULT_wxUSE_BMPBUTTON
=no
1576 DEFAULT_wxUSE_CALCTRL
=no
1577 DEFAULT_wxUSE_CARET
=no
1578 DEFAULT_wxUSE_CHECKBOX
=no
1579 DEFAULT_wxUSE_CHECKLST
=no
1580 DEFAULT_wxUSE_CHOICE
=no
1581 DEFAULT_wxUSE_COMBOBOX
=no
1582 DEFAULT_wxUSE_GAUGE
=no
1583 DEFAULT_wxUSE_GRID
=no
1584 DEFAULT_wxUSE_NEW_GRID
=no
1585 DEFAULT_wxUSE_IMAGLIST
=no
1586 DEFAULT_wxUSE_LISTBOX
=no
1587 DEFAULT_wxUSE_LISTCTRL
=no
1588 DEFAULT_wxUSE_NOTEBOOK
=no
1589 DEFAULT_wxUSE_PROPSHEET
=no
1590 DEFAULT_wxUSE_RADIOBOX
=no
1591 DEFAULT_wxUSE_RADIOBTN
=no
1592 DEFAULT_wxUSE_SASH
=no
1593 DEFAULT_wxUSE_SCROLLBAR
=no
1594 DEFAULT_wxUSE_SLIDER
=no
1595 DEFAULT_wxUSE_SPINBTN
=no
1596 DEFAULT_wxUSE_SPINCTRL
=no
1597 DEFAULT_wxUSE_SPLITTER
=no
1598 DEFAULT_wxUSE_STATBMP
=no
1599 DEFAULT_wxUSE_STATBOX
=no
1600 DEFAULT_wxUSE_STATLINE
=no
1601 DEFAULT_wxUSE_STATTEXT
=no
1602 DEFAULT_wxUSE_STATUSBAR
=yes
1603 DEFAULT_wxUSE_TABDIALOG
=no
1604 DEFAULT_wxUSE_TEXTCTRL
=no
1605 DEFAULT_wxUSE_TOGGLEBTN
=no
1606 DEFAULT_wxUSE_TOOLBAR
=no
1607 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1608 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1609 DEFAULT_wxUSE_TREECTRL
=no
1610 DEFAULT_wxUSE_POPUPWIN
=no
1611 DEFAULT_wxUSE_TIPWINDOW
=no
1613 DEFAULT_wxUSE_UNICODE
=no
1614 DEFAULT_wxUSE_UNICODE_MSLU
=no
1615 DEFAULT_wxUSE_WCSRTOMBS
=no
1617 DEFAULT_wxUSE_PALETTE
=no
1618 DEFAULT_wxUSE_IMAGE
=no
1619 DEFAULT_wxUSE_GIF
=no
1620 DEFAULT_wxUSE_PCX
=no
1621 DEFAULT_wxUSE_PNM
=no
1622 DEFAULT_wxUSE_IFF
=no
1623 DEFAULT_wxUSE_XPM
=no
1624 DEFAULT_wxUSE_ICO_CUR
=no
1626 DEFAULT_wxUSE_UNIVERSAL
=no
1628 DEFAULT_wxUSE_THREADS
=yes
1630 DEFAULT_wxUSE_SHARED
=yes
1631 DEFAULT_wxUSE_SONAME
=no
1632 DEFAULT_wxUSE_OPTIMISE
=yes
1633 DEFAULT_wxUSE_PROFILE
=no
1634 DEFAULT_wxUSE_NO_DEPS
=no
1635 DEFAULT_wxUSE_NO_RTTI
=yes
1636 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1637 DEFAULT_wxUSE_PERMISSIVE
=no
1638 DEFAULT_wxUSE_DEBUG_FLAG
=no
1639 DEFAULT_wxUSE_DEBUG_INFO
=no
1640 DEFAULT_wxUSE_DEBUG_GDB
=no
1641 DEFAULT_wxUSE_MEM_TRACING
=no
1642 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1643 DEFAULT_wxUSE_DMALLOC
=no
1644 DEFAULT_wxUSE_PRECOMP
=no
1645 DEFAULT_wxUSE_APPLE_IEEE
=yes
1647 DEFAULT_wxUSE_LOG
=yes
1648 DEFAULT_wxUSE_LOGWINDOW
=yes
1649 DEFAULT_wxUSE_LOGGUI
=yes
1650 DEFAULT_wxUSE_LOGDIALOG
=yes
1652 DEFAULT_wxUSE_GUI
=yes
1654 DEFAULT_wxUSE_REGEX
=yes
1655 DEFAULT_wxUSE_ZLIB
=yes
1656 DEFAULT_wxUSE_LIBPNG
=yes
1657 DEFAULT_wxUSE_LIBJPEG
=yes
1658 DEFAULT_wxUSE_LIBTIFF
=yes
1659 DEFAULT_wxUSE_ODBC
=no
1660 DEFAULT_wxUSE_OPENGL
=no
1662 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1663 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1664 DEFAULT_wxUSE_STD_IOSTREAM
=no
1665 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1666 DEFAULT_wxUSE_DATETIME
=yes
1667 DEFAULT_wxUSE_TIMEDATE
=no
1668 DEFAULT_wxUSE_TIMER
=yes
1669 DEFAULT_wxUSE_STOPWATCH
=yes
1670 DEFAULT_wxUSE_FILE
=yes
1671 DEFAULT_wxUSE_FFILE
=yes
1672 DEFAULT_wxUSE_TEXTBUFFER
=yes
1673 DEFAULT_wxUSE_TEXTFILE
=yes
1674 DEFAULT_wxUSE_WAVE
=no
1675 DEFAULT_wxUSE_INTL
=yes
1676 DEFAULT_wxUSE_CONFIG
=yes
1677 DEFAULT_wxUSE_FONTMAP
=yes
1678 DEFAULT_wxUSE_STREAMS
=yes
1679 DEFAULT_wxUSE_SOCKETS
=yes
1680 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1681 DEFAULT_wxUSE_JOYSTICK
=yes
1682 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1683 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1684 DEFAULT_wxUSE_LONGLONG
=yes
1685 DEFAULT_wxUSE_GEOMETRY
=yes
1687 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1688 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1689 DEFAULT_wxUSE_POSTSCRIPT
=yes
1691 DEFAULT_wxUSE_X_RESOURCES
=no
1692 DEFAULT_wxUSE_CLIPBOARD
=yes
1693 DEFAULT_wxUSE_TOOLTIPS
=yes
1694 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1695 DEFAULT_wxUSE_DRAGIMAGE
=yes
1696 DEFAULT_wxUSE_SPLINES
=yes
1698 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1699 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1700 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1702 DEFAULT_wxUSE_PROLOGIO
=yes
1703 DEFAULT_wxUSE_RESOURCES
=yes
1704 DEFAULT_wxUSE_CONSTRAINTS
=yes
1705 DEFAULT_wxUSE_IPC
=yes
1706 DEFAULT_wxUSE_HELP
=yes
1707 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1708 DEFAULT_wxUSE_WXHTML_HELP
=yes
1709 DEFAULT_wxUSE_TREELAYOUT
=yes
1710 DEFAULT_wxUSE_METAFILE
=yes
1711 DEFAULT_wxUSE_MIMETYPE
=yes
1712 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1713 DEFAULT_wxUSE_PROTOCOL
=yes
1714 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1715 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1716 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1717 DEFAULT_wxUSE_URL
=yes
1719 DEFAULT_wxUSE_COMMONDLGS
=yes
1720 DEFAULT_wxUSE_CHOICEDLG
=yes
1721 DEFAULT_wxUSE_COLOURDLG
=yes
1722 DEFAULT_wxUSE_DIRDLG
=yes
1723 DEFAULT_wxUSE_FILEDLG
=yes
1724 DEFAULT_wxUSE_FINDREPLDLG
=yes
1725 DEFAULT_wxUSE_FONTDLG
=yes
1726 DEFAULT_wxUSE_MSGDLG
=yes
1727 DEFAULT_wxUSE_NUMBERDLG
=yes
1728 DEFAULT_wxUSE_TEXTDLG
=yes
1729 DEFAULT_wxUSE_SPLASH
=yes
1730 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1731 DEFAULT_wxUSE_PROGRESSDLG
=yes
1732 DEFAULT_wxUSE_WIZARDDLG
=yes
1734 DEFAULT_wxUSE_MENUS
=yes
1735 DEFAULT_wxUSE_MINIFRAME
=yes
1736 DEFAULT_wxUSE_HTML
=yes
1737 DEFAULT_wxUSE_FILESYSTEM
=yes
1738 DEFAULT_wxUSE_FS_INET
=yes
1739 DEFAULT_wxUSE_FS_ZIP
=yes
1740 DEFAULT_wxUSE_BUSYINFO
=yes
1741 DEFAULT_wxUSE_ZIPSTREAM
=yes
1742 DEFAULT_wxUSE_VALIDATORS
=yes
1744 DEFAULT_wxUSE_ACCEL
=yes
1745 DEFAULT_wxUSE_BUTTON
=yes
1746 DEFAULT_wxUSE_BMPBUTTON
=yes
1747 DEFAULT_wxUSE_CALCTRL
=yes
1748 DEFAULT_wxUSE_CARET
=yes
1749 DEFAULT_wxUSE_CHECKBOX
=yes
1750 DEFAULT_wxUSE_CHECKLST
=yes
1751 DEFAULT_wxUSE_CHOICE
=yes
1752 DEFAULT_wxUSE_COMBOBOX
=yes
1753 DEFAULT_wxUSE_GAUGE
=yes
1754 DEFAULT_wxUSE_GRID
=yes
1755 DEFAULT_wxUSE_NEW_GRID
=yes
1756 DEFAULT_wxUSE_IMAGLIST
=yes
1757 DEFAULT_wxUSE_LISTBOX
=yes
1758 DEFAULT_wxUSE_LISTCTRL
=yes
1759 DEFAULT_wxUSE_NOTEBOOK
=yes
1760 DEFAULT_wxUSE_PROPSHEET
=yes
1761 DEFAULT_wxUSE_RADIOBOX
=yes
1762 DEFAULT_wxUSE_RADIOBTN
=yes
1763 DEFAULT_wxUSE_SASH
=yes
1764 DEFAULT_wxUSE_SCROLLBAR
=yes
1765 DEFAULT_wxUSE_SLIDER
=yes
1766 DEFAULT_wxUSE_SPINBTN
=yes
1767 DEFAULT_wxUSE_SPINCTRL
=yes
1768 DEFAULT_wxUSE_SPLITTER
=yes
1769 DEFAULT_wxUSE_STATBMP
=yes
1770 DEFAULT_wxUSE_STATBOX
=yes
1771 DEFAULT_wxUSE_STATLINE
=yes
1772 DEFAULT_wxUSE_STATTEXT
=yes
1773 DEFAULT_wxUSE_STATUSBAR
=yes
1774 DEFAULT_wxUSE_TABDIALOG
=no
1775 DEFAULT_wxUSE_TEXTCTRL
=yes
1776 DEFAULT_wxUSE_TOGGLEBTN
=yes
1777 DEFAULT_wxUSE_TOOLBAR
=yes
1778 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1779 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1780 DEFAULT_wxUSE_TREECTRL
=yes
1781 DEFAULT_wxUSE_POPUPWIN
=yes
1782 DEFAULT_wxUSE_TIPWINDOW
=yes
1784 DEFAULT_wxUSE_UNICODE
=no
1785 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1786 DEFAULT_wxUSE_WCSRTOMBS
=no
1788 DEFAULT_wxUSE_PALETTE
=yes
1789 DEFAULT_wxUSE_IMAGE
=yes
1790 DEFAULT_wxUSE_GIF
=yes
1791 DEFAULT_wxUSE_PCX
=yes
1792 DEFAULT_wxUSE_IFF
=no
1793 DEFAULT_wxUSE_PNM
=yes
1794 DEFAULT_wxUSE_XPM
=yes
1795 DEFAULT_wxUSE_ICO_CUR
=yes
1800 for toolkit
in `echo $ALL_TOOLKITS`; do
1801 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1802 if test "x$LINE" != x
; then
1803 has_toolkit_in_cache
=1
1804 eval "DEFAULT_$LINE"
1805 eval "CACHE_$toolkit=1"
1811 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1812 echo "configure:1813: checking for --enable-gui" >&5
1814 # Check whether --enable-gui or --disable-gui was given.
1815 if test "${enable_gui+set}" = set; then
1816 enableval
="$enable_gui"
1818 if test "$enableval" = yes; then
1819 ac_cv_use_gui
='wxUSE_GUI=yes'
1821 ac_cv_use_gui
='wxUSE_GUI=no'
1826 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1827 if test "x$LINE" != x
; then
1828 eval "DEFAULT_$LINE"
1833 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1838 eval "$ac_cv_use_gui"
1839 if test "$no_cache" != 1; then
1840 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1843 if test "$wxUSE_GUI" = yes; then
1844 echo "$ac_t""yes" 1>&6
1846 echo "$ac_t""no" 1>&6
1850 if test "$wxUSE_GUI" = "yes"; then
1853 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1854 echo "configure:1855: checking for --enable-universal" >&5
1856 # Check whether --enable-universal or --disable-universal was given.
1857 if test "${enable_universal+set}" = set; then
1858 enableval
="$enable_universal"
1860 if test "$enableval" = yes; then
1861 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1863 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1868 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1869 if test "x$LINE" != x
; then
1870 eval "DEFAULT_$LINE"
1875 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1880 eval "$ac_cv_use_universal"
1881 if test "$no_cache" != 1; then
1882 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1885 if test "$wxUSE_UNIVERSAL" = yes; then
1886 echo "$ac_t""yes" 1>&6
1888 echo "$ac_t""no" 1>&6
1891 # Check whether --with-gtk or --without-gtk was given.
1892 if test "${with_gtk+set}" = set; then
1894 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1897 # Check whether --with-motif or --without-motif was given.
1898 if test "${with_motif+set}" = set; then
1899 withval
="$with_motif"
1900 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1903 # Check whether --with-mac or --without-mac was given.
1904 if test "${with_mac+set}" = set; then
1906 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1909 # Check whether --with-wine or --without-wine was given.
1910 if test "${with_wine+set}" = set; then
1911 withval
="$with_wine"
1912 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1915 # Check whether --with-msw or --without-msw was given.
1916 if test "${with_msw+set}" = set; then
1918 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1921 # Check whether --with-pm or --without-pm was given.
1922 if test "${with_pm+set}" = set; then
1924 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1927 # Check whether --with-mgl or --without-mgl was given.
1928 if test "${with_mgl+set}" = set; then
1930 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1933 # Check whether --with-microwin or --without-microwin was given.
1934 if test "${with_microwin+set}" = set; then
1935 withval
="$with_microwin"
1936 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1939 # Check whether --with-x11 or --without-x11 was given.
1940 if test "${with_x11+set}" = set; then
1942 wxUSE_X11
="$withval" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1946 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1947 if test "${enable_gtk2+set}" = set; then
1948 enableval
="$enable_gtk2"
1956 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1957 echo "configure:1958: checking for --with-libpng" >&5
1959 # Check whether --with-libpng or --without-libpng was given.
1960 if test "${with_libpng+set}" = set; then
1961 withval
="$with_libpng"
1963 if test "$withval" = yes; then
1964 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1965 elif test "$withval" = no
; then
1966 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1967 elif test "$withval" = sys
; then
1968 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1969 elif test "$withval" = builtin; then
1970 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1972 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1977 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1978 if test "x$LINE" != x
; then
1979 eval "DEFAULT_$LINE"
1984 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1989 eval "$ac_cv_use_libpng"
1990 if test "$no_cache" != 1; then
1991 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1994 if test "$wxUSE_LIBPNG" = yes; then
1995 echo "$ac_t""yes" 1>&6
1996 elif test "$wxUSE_LIBPNG" = no
; then
1997 echo "$ac_t""no" 1>&6
1998 elif test "$wxUSE_LIBPNG" = sys
; then
1999 echo "$ac_t""system version" 1>&6
2000 elif test "$wxUSE_LIBPNG" = builtin; then
2001 echo "$ac_t""builtin version" 1>&6
2003 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2007 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2008 echo "configure:2009: checking for --with-libjpeg" >&5
2010 # Check whether --with-libjpeg or --without-libjpeg was given.
2011 if test "${with_libjpeg+set}" = set; then
2012 withval
="$with_libjpeg"
2014 if test "$withval" = yes; then
2015 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2016 elif test "$withval" = no
; then
2017 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2018 elif test "$withval" = sys
; then
2019 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2020 elif test "$withval" = builtin; then
2021 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2023 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2028 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2029 if test "x$LINE" != x
; then
2030 eval "DEFAULT_$LINE"
2035 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2040 eval "$ac_cv_use_libjpeg"
2041 if test "$no_cache" != 1; then
2042 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2045 if test "$wxUSE_LIBJPEG" = yes; then
2046 echo "$ac_t""yes" 1>&6
2047 elif test "$wxUSE_LIBJPEG" = no
; then
2048 echo "$ac_t""no" 1>&6
2049 elif test "$wxUSE_LIBJPEG" = sys
; then
2050 echo "$ac_t""system version" 1>&6
2051 elif test "$wxUSE_LIBJPEG" = builtin; then
2052 echo "$ac_t""builtin version" 1>&6
2054 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2058 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2059 echo "configure:2060: checking for --with-libtiff" >&5
2061 # Check whether --with-libtiff or --without-libtiff was given.
2062 if test "${with_libtiff+set}" = set; then
2063 withval
="$with_libtiff"
2065 if test "$withval" = yes; then
2066 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2067 elif test "$withval" = no
; then
2068 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2069 elif test "$withval" = sys
; then
2070 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2071 elif test "$withval" = builtin; then
2072 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2074 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2079 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2080 if test "x$LINE" != x
; then
2081 eval "DEFAULT_$LINE"
2086 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2091 eval "$ac_cv_use_libtiff"
2092 if test "$no_cache" != 1; then
2093 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2096 if test "$wxUSE_LIBTIFF" = yes; then
2097 echo "$ac_t""yes" 1>&6
2098 elif test "$wxUSE_LIBTIFF" = no
; then
2099 echo "$ac_t""no" 1>&6
2100 elif test "$wxUSE_LIBTIFF" = sys
; then
2101 echo "$ac_t""system version" 1>&6
2102 elif test "$wxUSE_LIBTIFF" = builtin; then
2103 echo "$ac_t""builtin version" 1>&6
2105 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2109 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2110 echo "configure:2111: checking for --with-opengl" >&5
2112 # Check whether --with-opengl or --without-opengl was given.
2113 if test "${with_opengl+set}" = set; then
2114 withval
="$with_opengl"
2116 if test "$withval" = yes; then
2117 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2119 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2124 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2125 if test "x$LINE" != x
; then
2126 eval "DEFAULT_$LINE"
2131 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2136 eval "$ac_cv_use_opengl"
2137 if test "$no_cache" != 1; then
2138 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2141 if test "$wxUSE_OPENGL" = yes; then
2142 echo "$ac_t""yes" 1>&6
2144 echo "$ac_t""no" 1>&6
2151 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2152 echo "configure:2153: checking for --with-dmalloc" >&5
2154 # Check whether --with-dmalloc or --without-dmalloc was given.
2155 if test "${with_dmalloc+set}" = set; then
2156 withval
="$with_dmalloc"
2158 if test "$withval" = yes; then
2159 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2161 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2166 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2167 if test "x$LINE" != x
; then
2168 eval "DEFAULT_$LINE"
2173 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2178 eval "$ac_cv_use_dmalloc"
2179 if test "$no_cache" != 1; then
2180 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2183 if test "$wxUSE_DMALLOC" = yes; then
2184 echo "$ac_t""yes" 1>&6
2186 echo "$ac_t""no" 1>&6
2190 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2191 echo "configure:2192: checking for --with-regex" >&5
2193 # Check whether --with-regex or --without-regex was given.
2194 if test "${with_regex+set}" = set; then
2195 withval
="$with_regex"
2197 if test "$withval" = yes; then
2198 ac_cv_use_regex
='wxUSE_REGEX=yes'
2199 elif test "$withval" = no
; then
2200 ac_cv_use_regex
='wxUSE_REGEX=no'
2201 elif test "$withval" = sys
; then
2202 ac_cv_use_regex
='wxUSE_REGEX=sys'
2203 elif test "$withval" = builtin; then
2204 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2206 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2211 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2212 if test "x$LINE" != x
; then
2213 eval "DEFAULT_$LINE"
2218 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2223 eval "$ac_cv_use_regex"
2224 if test "$no_cache" != 1; then
2225 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2228 if test "$wxUSE_REGEX" = yes; then
2229 echo "$ac_t""yes" 1>&6
2230 elif test "$wxUSE_REGEX" = no
; then
2231 echo "$ac_t""no" 1>&6
2232 elif test "$wxUSE_REGEX" = sys
; then
2233 echo "$ac_t""system version" 1>&6
2234 elif test "$wxUSE_REGEX" = builtin; then
2235 echo "$ac_t""builtin version" 1>&6
2237 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2241 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2242 echo "configure:2243: checking for --with-zlib" >&5
2244 # Check whether --with-zlib or --without-zlib was given.
2245 if test "${with_zlib+set}" = set; then
2246 withval
="$with_zlib"
2248 if test "$withval" = yes; then
2249 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2250 elif test "$withval" = no
; then
2251 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2252 elif test "$withval" = sys
; then
2253 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2254 elif test "$withval" = builtin; then
2255 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2257 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2262 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2263 if test "x$LINE" != x
; then
2264 eval "DEFAULT_$LINE"
2269 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2274 eval "$ac_cv_use_zlib"
2275 if test "$no_cache" != 1; then
2276 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2279 if test "$wxUSE_ZLIB" = yes; then
2280 echo "$ac_t""yes" 1>&6
2281 elif test "$wxUSE_ZLIB" = no
; then
2282 echo "$ac_t""no" 1>&6
2283 elif test "$wxUSE_ZLIB" = sys
; then
2284 echo "$ac_t""system version" 1>&6
2285 elif test "$wxUSE_ZLIB" = builtin; then
2286 echo "$ac_t""builtin version" 1>&6
2288 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2292 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2293 echo "configure:2294: checking for --with-odbc" >&5
2295 # Check whether --with-odbc or --without-odbc was given.
2296 if test "${with_odbc+set}" = set; then
2297 withval
="$with_odbc"
2299 if test "$withval" = yes; then
2300 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2302 ac_cv_use_odbc
='wxUSE_ODBC=no'
2307 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2308 if test "x$LINE" != x
; then
2309 eval "DEFAULT_$LINE"
2314 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2319 eval "$ac_cv_use_odbc"
2320 if test "$no_cache" != 1; then
2321 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2324 if test "$wxUSE_ODBC" = yes; then
2325 echo "$ac_t""yes" 1>&6
2327 echo "$ac_t""no" 1>&6
2333 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2334 echo "configure:2335: checking for --enable-shared" >&5
2336 # Check whether --enable-shared or --disable-shared was given.
2337 if test "${enable_shared+set}" = set; then
2338 enableval
="$enable_shared"
2340 if test "$enableval" = yes; then
2341 ac_cv_use_shared
='wxUSE_SHARED=yes'
2343 ac_cv_use_shared
='wxUSE_SHARED=no'
2348 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2349 if test "x$LINE" != x
; then
2350 eval "DEFAULT_$LINE"
2355 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2360 eval "$ac_cv_use_shared"
2361 if test "$no_cache" != 1; then
2362 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2365 if test "$wxUSE_SHARED" = yes; then
2366 echo "$ac_t""yes" 1>&6
2368 echo "$ac_t""no" 1>&6
2372 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2373 echo "configure:2374: checking for --enable-soname" >&5
2375 # Check whether --enable-soname or --disable-soname was given.
2376 if test "${enable_soname+set}" = set; then
2377 enableval
="$enable_soname"
2379 if test "$enableval" = yes; then
2380 ac_cv_use_soname
='wxUSE_SONAME=yes'
2382 ac_cv_use_soname
='wxUSE_SONAME=no'
2387 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2388 if test "x$LINE" != x
; then
2389 eval "DEFAULT_$LINE"
2394 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2399 eval "$ac_cv_use_soname"
2400 if test "$no_cache" != 1; then
2401 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2404 if test "$wxUSE_SONAME" = yes; then
2405 echo "$ac_t""yes" 1>&6
2407 echo "$ac_t""no" 1>&6
2411 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2412 echo "configure:2413: checking for --enable-optimise" >&5
2414 # Check whether --enable-optimise or --disable-optimise was given.
2415 if test "${enable_optimise+set}" = set; then
2416 enableval
="$enable_optimise"
2418 if test "$enableval" = yes; then
2419 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2421 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2426 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2427 if test "x$LINE" != x
; then
2428 eval "DEFAULT_$LINE"
2433 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2438 eval "$ac_cv_use_optimise"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2443 if test "$wxUSE_OPTIMISE" = yes; then
2444 echo "$ac_t""yes" 1>&6
2446 echo "$ac_t""no" 1>&6
2450 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2451 echo "configure:2452: checking for --enable-debug" >&5
2453 # Check whether --enable-debug or --disable-debug was given.
2454 if test "${enable_debug+set}" = set; then
2455 enableval
="$enable_debug"
2457 if test "$enableval" = yes; then
2458 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2460 ac_cv_use_debug
='wxUSE_DEBUG=no'
2465 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2466 if test "x$LINE" != x
; then
2467 eval "DEFAULT_$LINE"
2472 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2477 eval "$ac_cv_use_debug"
2478 if test "$no_cache" != 1; then
2479 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2482 if test "$wxUSE_DEBUG" = yes; then
2483 echo "$ac_t""yes" 1>&6
2485 echo "$ac_t""no" 1>&6
2490 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2491 echo "configure:2492: checking for --enable-precomp" >&5
2493 # Check whether --enable-precomp or --disable-precomp was given.
2494 if test "${enable_precomp+set}" = set; then
2495 enableval
="$enable_precomp"
2497 if test "$enableval" = yes; then
2498 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2500 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2505 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x
; then
2507 eval "DEFAULT_$LINE"
2512 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2517 eval "$ac_cv_use_precomp"
2518 if test "$no_cache" != 1; then
2519 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2522 if test "$wxUSE_PRECOMP" = yes; then
2523 echo "$ac_t""yes" 1>&6
2525 echo "$ac_t""no" 1>&6
2529 if test "$wxUSE_DEBUG" = "yes"; then
2530 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2531 DEFAULT_wxUSE_DEBUG_INFO
=yes
2532 elif test "$wxUSE_DEBUG" = "no"; then
2533 DEFAULT_wxUSE_DEBUG_FLAG
=no
2534 DEFAULT_wxUSE_DEBUG_INFO
=no
2538 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2539 echo "configure:2540: checking for --enable-debug_flag" >&5
2541 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2542 if test "${enable_debug_flag+set}" = set; then
2543 enableval
="$enable_debug_flag"
2545 if test "$enableval" = yes; then
2546 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2548 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2553 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2554 if test "x$LINE" != x
; then
2555 eval "DEFAULT_$LINE"
2560 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2565 eval "$ac_cv_use_debug_flag"
2566 if test "$no_cache" != 1; then
2567 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2570 if test "$wxUSE_DEBUG_FLAG" = yes; then
2571 echo "$ac_t""yes" 1>&6
2573 echo "$ac_t""no" 1>&6
2577 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2578 echo "configure:2579: checking for --enable-debug_info" >&5
2580 # Check whether --enable-debug_info or --disable-debug_info was given.
2581 if test "${enable_debug_info+set}" = set; then
2582 enableval
="$enable_debug_info"
2584 if test "$enableval" = yes; then
2585 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2587 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2592 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2593 if test "x$LINE" != x
; then
2594 eval "DEFAULT_$LINE"
2599 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2604 eval "$ac_cv_use_debug_info"
2605 if test "$no_cache" != 1; then
2606 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2609 if test "$wxUSE_DEBUG_INFO" = yes; then
2610 echo "$ac_t""yes" 1>&6
2612 echo "$ac_t""no" 1>&6
2616 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2617 echo "configure:2618: checking for --enable-debug_gdb" >&5
2619 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2620 if test "${enable_debug_gdb+set}" = set; then
2621 enableval
="$enable_debug_gdb"
2623 if test "$enableval" = yes; then
2624 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2626 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2631 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2632 if test "x$LINE" != x
; then
2633 eval "DEFAULT_$LINE"
2638 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2643 eval "$ac_cv_use_debug_gdb"
2644 if test "$no_cache" != 1; then
2645 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2648 if test "$wxUSE_DEBUG_GDB" = yes; then
2649 echo "$ac_t""yes" 1>&6
2651 echo "$ac_t""no" 1>&6
2655 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2656 echo "configure:2657: checking for --enable-debug_cntxt" >&5
2658 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2659 if test "${enable_debug_cntxt+set}" = set; then
2660 enableval
="$enable_debug_cntxt"
2662 if test "$enableval" = yes; then
2663 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2665 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2670 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2671 if test "x$LINE" != x
; then
2672 eval "DEFAULT_$LINE"
2677 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2682 eval "$ac_cv_use_debug_cntxt"
2683 if test "$no_cache" != 1; then
2684 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2687 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2688 echo "$ac_t""yes" 1>&6
2690 echo "$ac_t""no" 1>&6
2694 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2695 echo "configure:2696: checking for --enable-mem_tracing" >&5
2697 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2698 if test "${enable_mem_tracing+set}" = set; then
2699 enableval
="$enable_mem_tracing"
2701 if test "$enableval" = yes; then
2702 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2704 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2709 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2710 if test "x$LINE" != x
; then
2711 eval "DEFAULT_$LINE"
2716 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2721 eval "$ac_cv_use_mem_tracing"
2722 if test "$no_cache" != 1; then
2723 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2726 if test "$wxUSE_MEM_TRACING" = yes; then
2727 echo "$ac_t""yes" 1>&6
2729 echo "$ac_t""no" 1>&6
2733 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2734 echo "configure:2735: checking for --enable-profile" >&5
2736 # Check whether --enable-profile or --disable-profile was given.
2737 if test "${enable_profile+set}" = set; then
2738 enableval
="$enable_profile"
2740 if test "$enableval" = yes; then
2741 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2743 ac_cv_use_profile
='wxUSE_PROFILE=no'
2748 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2749 if test "x$LINE" != x
; then
2750 eval "DEFAULT_$LINE"
2755 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2760 eval "$ac_cv_use_profile"
2761 if test "$no_cache" != 1; then
2762 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2765 if test "$wxUSE_PROFILE" = yes; then
2766 echo "$ac_t""yes" 1>&6
2768 echo "$ac_t""no" 1>&6
2772 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2773 echo "configure:2774: checking for --enable-no_rtti" >&5
2775 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2776 if test "${enable_no_rtti+set}" = set; then
2777 enableval
="$enable_no_rtti"
2779 if test "$enableval" = yes; then
2780 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2782 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2787 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2788 if test "x$LINE" != x
; then
2789 eval "DEFAULT_$LINE"
2794 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2799 eval "$ac_cv_use_no_rtti"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2804 if test "$wxUSE_NO_RTTI" = yes; then
2805 echo "$ac_t""yes" 1>&6
2807 echo "$ac_t""no" 1>&6
2811 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2812 echo "configure:2813: checking for --enable-no_exceptions" >&5
2814 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2815 if test "${enable_no_exceptions+set}" = set; then
2816 enableval
="$enable_no_exceptions"
2818 if test "$enableval" = yes; then
2819 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2821 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2826 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2827 if test "x$LINE" != x
; then
2828 eval "DEFAULT_$LINE"
2833 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2838 eval "$ac_cv_use_no_exceptions"
2839 if test "$no_cache" != 1; then
2840 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2843 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2844 echo "$ac_t""yes" 1>&6
2846 echo "$ac_t""no" 1>&6
2850 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2851 echo "configure:2852: checking for --enable-permissive" >&5
2853 # Check whether --enable-permissive or --disable-permissive was given.
2854 if test "${enable_permissive+set}" = set; then
2855 enableval
="$enable_permissive"
2857 if test "$enableval" = yes; then
2858 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2860 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2865 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2866 if test "x$LINE" != x
; then
2867 eval "DEFAULT_$LINE"
2872 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2877 eval "$ac_cv_use_permissive"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2882 if test "$wxUSE_PERMISSIVE" = yes; then
2883 echo "$ac_t""yes" 1>&6
2885 echo "$ac_t""no" 1>&6
2889 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2890 echo "configure:2891: checking for --enable-no_deps" >&5
2892 # Check whether --enable-no_deps or --disable-no_deps was given.
2893 if test "${enable_no_deps+set}" = set; then
2894 enableval
="$enable_no_deps"
2896 if test "$enableval" = yes; then
2897 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2899 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2904 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2905 if test "x$LINE" != x
; then
2906 eval "DEFAULT_$LINE"
2911 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2916 eval "$ac_cv_use_no_deps"
2917 if test "$no_cache" != 1; then
2918 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2921 if test "$wxUSE_NO_DEPS" = yes; then
2922 echo "$ac_t""yes" 1>&6
2924 echo "$ac_t""no" 1>&6
2929 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2930 echo "configure:2931: checking for --enable-compat20" >&5
2932 # Check whether --enable-compat20 or --disable-compat20 was given.
2933 if test "${enable_compat20+set}" = set; then
2934 enableval
="$enable_compat20"
2936 if test "$enableval" = yes; then
2937 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2939 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2944 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2945 if test "x$LINE" != x
; then
2946 eval "DEFAULT_$LINE"
2951 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2956 eval "$ac_cv_use_compat20"
2957 if test "$no_cache" != 1; then
2958 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2961 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2962 echo "$ac_t""yes" 1>&6
2964 echo "$ac_t""no" 1>&6
2968 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2969 echo "configure:2970: checking for --enable-compat22" >&5
2971 # Check whether --enable-compat22 or --disable-compat22 was given.
2972 if test "${enable_compat22+set}" = set; then
2973 enableval
="$enable_compat22"
2975 if test "$enableval" = yes; then
2976 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2978 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2983 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2984 if test "x$LINE" != x
; then
2985 eval "DEFAULT_$LINE"
2990 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2995 eval "$ac_cv_use_compat22"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3000 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3001 echo "$ac_t""yes" 1>&6
3003 echo "$ac_t""no" 1>&6
3009 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3010 echo "configure:3011: checking for --enable-intl" >&5
3012 # Check whether --enable-intl or --disable-intl was given.
3013 if test "${enable_intl+set}" = set; then
3014 enableval
="$enable_intl"
3016 if test "$enableval" = yes; then
3017 ac_cv_use_intl
='wxUSE_INTL=yes'
3019 ac_cv_use_intl
='wxUSE_INTL=no'
3024 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3025 if test "x$LINE" != x
; then
3026 eval "DEFAULT_$LINE"
3031 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3036 eval "$ac_cv_use_intl"
3037 if test "$no_cache" != 1; then
3038 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3041 if test "$wxUSE_INTL" = yes; then
3042 echo "$ac_t""yes" 1>&6
3044 echo "$ac_t""no" 1>&6
3048 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3049 echo "configure:3050: checking for --enable-config" >&5
3051 # Check whether --enable-config or --disable-config was given.
3052 if test "${enable_config+set}" = set; then
3053 enableval
="$enable_config"
3055 if test "$enableval" = yes; then
3056 ac_cv_use_config
='wxUSE_CONFIG=yes'
3058 ac_cv_use_config
='wxUSE_CONFIG=no'
3063 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3064 if test "x$LINE" != x
; then
3065 eval "DEFAULT_$LINE"
3070 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3075 eval "$ac_cv_use_config"
3076 if test "$no_cache" != 1; then
3077 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3080 if test "$wxUSE_CONFIG" = yes; then
3081 echo "$ac_t""yes" 1>&6
3083 echo "$ac_t""no" 1>&6
3088 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3089 echo "configure:3090: checking for --enable-protocols" >&5
3091 # Check whether --enable-protocols or --disable-protocols was given.
3092 if test "${enable_protocols+set}" = set; then
3093 enableval
="$enable_protocols"
3095 if test "$enableval" = yes; then
3096 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3098 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3103 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3104 if test "x$LINE" != x
; then
3105 eval "DEFAULT_$LINE"
3110 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3115 eval "$ac_cv_use_protocols"
3116 if test "$no_cache" != 1; then
3117 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3120 if test "$wxUSE_PROTOCOL" = yes; then
3121 echo "$ac_t""yes" 1>&6
3123 echo "$ac_t""no" 1>&6
3127 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3128 echo "configure:3129: checking for --enable-ftp" >&5
3130 # Check whether --enable-ftp or --disable-ftp was given.
3131 if test "${enable_ftp+set}" = set; then
3132 enableval
="$enable_ftp"
3134 if test "$enableval" = yes; then
3135 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3137 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3142 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3143 if test "x$LINE" != x
; then
3144 eval "DEFAULT_$LINE"
3149 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3154 eval "$ac_cv_use_ftp"
3155 if test "$no_cache" != 1; then
3156 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3159 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3160 echo "$ac_t""yes" 1>&6
3162 echo "$ac_t""no" 1>&6
3166 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3167 echo "configure:3168: checking for --enable-http" >&5
3169 # Check whether --enable-http or --disable-http was given.
3170 if test "${enable_http+set}" = set; then
3171 enableval
="$enable_http"
3173 if test "$enableval" = yes; then
3174 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3176 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3181 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x
; then
3183 eval "DEFAULT_$LINE"
3188 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3193 eval "$ac_cv_use_http"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3198 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3199 echo "$ac_t""yes" 1>&6
3201 echo "$ac_t""no" 1>&6
3205 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3206 echo "configure:3207: checking for --enable-fileproto" >&5
3208 # Check whether --enable-fileproto or --disable-fileproto was given.
3209 if test "${enable_fileproto+set}" = set; then
3210 enableval
="$enable_fileproto"
3212 if test "$enableval" = yes; then
3213 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3215 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3220 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3221 if test "x$LINE" != x
; then
3222 eval "DEFAULT_$LINE"
3227 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3232 eval "$ac_cv_use_fileproto"
3233 if test "$no_cache" != 1; then
3234 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3237 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3238 echo "$ac_t""yes" 1>&6
3240 echo "$ac_t""no" 1>&6
3244 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3245 echo "configure:3246: checking for --enable-sockets" >&5
3247 # Check whether --enable-sockets or --disable-sockets was given.
3248 if test "${enable_sockets+set}" = set; then
3249 enableval
="$enable_sockets"
3251 if test "$enableval" = yes; then
3252 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3254 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3259 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3260 if test "x$LINE" != x
; then
3261 eval "DEFAULT_$LINE"
3266 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3271 eval "$ac_cv_use_sockets"
3272 if test "$no_cache" != 1; then
3273 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3276 if test "$wxUSE_SOCKETS" = yes; then
3277 echo "$ac_t""yes" 1>&6
3279 echo "$ac_t""no" 1>&6
3284 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3285 echo "configure:3286: checking for --enable-ipc" >&5
3287 # Check whether --enable-ipc or --disable-ipc was given.
3288 if test "${enable_ipc+set}" = set; then
3289 enableval
="$enable_ipc"
3291 if test "$enableval" = yes; then
3292 ac_cv_use_ipc
='wxUSE_IPC=yes'
3294 ac_cv_use_ipc
='wxUSE_IPC=no'
3299 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x
; then
3301 eval "DEFAULT_$LINE"
3306 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3311 eval "$ac_cv_use_ipc"
3312 if test "$no_cache" != 1; then
3313 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3316 if test "$wxUSE_IPC" = yes; then
3317 echo "$ac_t""yes" 1>&6
3319 echo "$ac_t""no" 1>&6
3324 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3325 echo "configure:3326: checking for --enable-cmdline" >&5
3327 # Check whether --enable-cmdline or --disable-cmdline was given.
3328 if test "${enable_cmdline+set}" = set; then
3329 enableval
="$enable_cmdline"
3331 if test "$enableval" = yes; then
3332 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3334 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3339 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3340 if test "x$LINE" != x
; then
3341 eval "DEFAULT_$LINE"
3346 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3351 eval "$ac_cv_use_cmdline"
3352 if test "$no_cache" != 1; then
3353 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3356 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3357 echo "$ac_t""yes" 1>&6
3359 echo "$ac_t""no" 1>&6
3363 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3364 echo "configure:3365: checking for --enable-datetime" >&5
3366 # Check whether --enable-datetime or --disable-datetime was given.
3367 if test "${enable_datetime+set}" = set; then
3368 enableval
="$enable_datetime"
3370 if test "$enableval" = yes; then
3371 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3373 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3378 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3379 if test "x$LINE" != x
; then
3380 eval "DEFAULT_$LINE"
3385 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3390 eval "$ac_cv_use_datetime"
3391 if test "$no_cache" != 1; then
3392 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3395 if test "$wxUSE_DATETIME" = yes; then
3396 echo "$ac_t""yes" 1>&6
3398 echo "$ac_t""no" 1>&6
3402 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3403 echo "configure:3404: checking for --enable-timedate" >&5
3405 # Check whether --enable-timedate or --disable-timedate was given.
3406 if test "${enable_timedate+set}" = set; then
3407 enableval
="$enable_timedate"
3409 if test "$enableval" = yes; then
3410 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3412 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3417 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3418 if test "x$LINE" != x
; then
3419 eval "DEFAULT_$LINE"
3424 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3429 eval "$ac_cv_use_timedate"
3430 if test "$no_cache" != 1; then
3431 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3434 if test "$wxUSE_TIMEDATE" = yes; then
3435 echo "$ac_t""yes" 1>&6
3437 echo "$ac_t""no" 1>&6
3441 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3442 echo "configure:3443: checking for --enable-stopwatch" >&5
3444 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3445 if test "${enable_stopwatch+set}" = set; then
3446 enableval
="$enable_stopwatch"
3448 if test "$enableval" = yes; then
3449 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3451 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3456 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x
; then
3458 eval "DEFAULT_$LINE"
3463 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3468 eval "$ac_cv_use_stopwatch"
3469 if test "$no_cache" != 1; then
3470 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3473 if test "$wxUSE_STOPWATCH" = yes; then
3474 echo "$ac_t""yes" 1>&6
3476 echo "$ac_t""no" 1>&6
3480 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3481 echo "configure:3482: checking for --enable-dialupman" >&5
3483 # Check whether --enable-dialupman or --disable-dialupman was given.
3484 if test "${enable_dialupman+set}" = set; then
3485 enableval
="$enable_dialupman"
3487 if test "$enableval" = yes; then
3488 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3490 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3495 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3496 if test "x$LINE" != x
; then
3497 eval "DEFAULT_$LINE"
3502 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3507 eval "$ac_cv_use_dialupman"
3508 if test "$no_cache" != 1; then
3509 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3512 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3513 echo "$ac_t""yes" 1>&6
3515 echo "$ac_t""no" 1>&6
3519 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3520 echo "configure:3521: checking for --enable-apple_ieee" >&5
3522 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3523 if test "${enable_apple_ieee+set}" = set; then
3524 enableval
="$enable_apple_ieee"
3526 if test "$enableval" = yes; then
3527 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3529 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3534 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3535 if test "x$LINE" != x
; then
3536 eval "DEFAULT_$LINE"
3541 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3546 eval "$ac_cv_use_apple_ieee"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3551 if test "$wxUSE_APPLE_IEEE" = yes; then
3552 echo "$ac_t""yes" 1>&6
3554 echo "$ac_t""no" 1>&6
3558 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3559 echo "configure:3560: checking for --enable-timer" >&5
3561 # Check whether --enable-timer or --disable-timer was given.
3562 if test "${enable_timer+set}" = set; then
3563 enableval
="$enable_timer"
3565 if test "$enableval" = yes; then
3566 ac_cv_use_timer
='wxUSE_TIMER=yes'
3568 ac_cv_use_timer
='wxUSE_TIMER=no'
3573 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x
; then
3575 eval "DEFAULT_$LINE"
3580 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3585 eval "$ac_cv_use_timer"
3586 if test "$no_cache" != 1; then
3587 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3590 if test "$wxUSE_TIMER" = yes; then
3591 echo "$ac_t""yes" 1>&6
3593 echo "$ac_t""no" 1>&6
3597 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3598 echo "configure:3599: checking for --enable-wave" >&5
3600 # Check whether --enable-wave or --disable-wave was given.
3601 if test "${enable_wave+set}" = set; then
3602 enableval
="$enable_wave"
3604 if test "$enableval" = yes; then
3605 ac_cv_use_wave
='wxUSE_WAVE=yes'
3607 ac_cv_use_wave
='wxUSE_WAVE=no'
3612 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3613 if test "x$LINE" != x
; then
3614 eval "DEFAULT_$LINE"
3619 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3624 eval "$ac_cv_use_wave"
3625 if test "$no_cache" != 1; then
3626 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3629 if test "$wxUSE_WAVE" = yes; then
3630 echo "$ac_t""yes" 1>&6
3632 echo "$ac_t""no" 1>&6
3636 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3637 echo "configure:3638: checking for --enable-fraction" >&5
3639 # Check whether --enable-fraction or --disable-fraction was given.
3640 if test "${enable_fraction+set}" = set; then
3641 enableval
="$enable_fraction"
3643 if test "$enableval" = yes; then
3644 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3646 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3651 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3652 if test "x$LINE" != x
; then
3653 eval "DEFAULT_$LINE"
3658 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3663 eval "$ac_cv_use_fraction"
3664 if test "$no_cache" != 1; then
3665 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3668 if test "$wxUSE_FRACTION" = yes; then
3669 echo "$ac_t""yes" 1>&6
3671 echo "$ac_t""no" 1>&6
3675 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3676 echo "configure:3677: checking for --enable-dynlib" >&5
3678 # Check whether --enable-dynlib or --disable-dynlib was given.
3679 if test "${enable_dynlib+set}" = set; then
3680 enableval
="$enable_dynlib"
3682 if test "$enableval" = yes; then
3683 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3685 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3690 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x
; then
3692 eval "DEFAULT_$LINE"
3697 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3702 eval "$ac_cv_use_dynlib"
3703 if test "$no_cache" != 1; then
3704 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3707 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3708 echo "$ac_t""yes" 1>&6
3710 echo "$ac_t""no" 1>&6
3714 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3715 echo "configure:3716: checking for --enable-dynamicloader" >&5
3717 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3718 if test "${enable_dynamicloader+set}" = set; then
3719 enableval
="$enable_dynamicloader"
3721 if test "$enableval" = yes; then
3722 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3724 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3729 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3730 if test "x$LINE" != x
; then
3731 eval "DEFAULT_$LINE"
3736 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3741 eval "$ac_cv_use_dynamicloader"
3742 if test "$no_cache" != 1; then
3743 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3746 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3747 echo "$ac_t""yes" 1>&6
3749 echo "$ac_t""no" 1>&6
3753 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3754 echo "configure:3755: checking for --enable-longlong" >&5
3756 # Check whether --enable-longlong or --disable-longlong was given.
3757 if test "${enable_longlong+set}" = set; then
3758 enableval
="$enable_longlong"
3760 if test "$enableval" = yes; then
3761 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3763 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3768 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3769 if test "x$LINE" != x
; then
3770 eval "DEFAULT_$LINE"
3775 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3780 eval "$ac_cv_use_longlong"
3781 if test "$no_cache" != 1; then
3782 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3785 if test "$wxUSE_LONGLONG" = yes; then
3786 echo "$ac_t""yes" 1>&6
3788 echo "$ac_t""no" 1>&6
3792 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3793 echo "configure:3794: checking for --enable-geometry" >&5
3795 # Check whether --enable-geometry or --disable-geometry was given.
3796 if test "${enable_geometry+set}" = set; then
3797 enableval
="$enable_geometry"
3799 if test "$enableval" = yes; then
3800 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3802 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3807 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3808 if test "x$LINE" != x
; then
3809 eval "DEFAULT_$LINE"
3814 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3819 eval "$ac_cv_use_geometry"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3824 if test "$wxUSE_GEOMETRY" = yes; then
3825 echo "$ac_t""yes" 1>&6
3827 echo "$ac_t""no" 1>&6
3831 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3832 echo "configure:3833: checking for --enable-log" >&5
3834 # Check whether --enable-log or --disable-log was given.
3835 if test "${enable_log+set}" = set; then
3836 enableval
="$enable_log"
3838 if test "$enableval" = yes; then
3839 ac_cv_use_log
='wxUSE_LOG=yes'
3841 ac_cv_use_log
='wxUSE_LOG=no'
3846 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3847 if test "x$LINE" != x
; then
3848 eval "DEFAULT_$LINE"
3853 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3858 eval "$ac_cv_use_log"
3859 if test "$no_cache" != 1; then
3860 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3863 if test "$wxUSE_LOG" = yes; then
3864 echo "$ac_t""yes" 1>&6
3866 echo "$ac_t""no" 1>&6
3870 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3871 echo "configure:3872: checking for --enable-streams" >&5
3873 # Check whether --enable-streams or --disable-streams was given.
3874 if test "${enable_streams+set}" = set; then
3875 enableval
="$enable_streams"
3877 if test "$enableval" = yes; then
3878 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3880 ac_cv_use_streams
='wxUSE_STREAMS=no'
3885 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3886 if test "x$LINE" != x
; then
3887 eval "DEFAULT_$LINE"
3892 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3897 eval "$ac_cv_use_streams"
3898 if test "$no_cache" != 1; then
3899 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3902 if test "$wxUSE_STREAMS" = yes; then
3903 echo "$ac_t""yes" 1>&6
3905 echo "$ac_t""no" 1>&6
3909 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3910 echo "configure:3911: checking for --enable-file" >&5
3912 # Check whether --enable-file or --disable-file was given.
3913 if test "${enable_file+set}" = set; then
3914 enableval
="$enable_file"
3916 if test "$enableval" = yes; then
3917 ac_cv_use_file
='wxUSE_FILE=yes'
3919 ac_cv_use_file
='wxUSE_FILE=no'
3924 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x
; then
3926 eval "DEFAULT_$LINE"
3931 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3936 eval "$ac_cv_use_file"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3941 if test "$wxUSE_FILE" = yes; then
3942 echo "$ac_t""yes" 1>&6
3944 echo "$ac_t""no" 1>&6
3948 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3949 echo "configure:3950: checking for --enable-ffile" >&5
3951 # Check whether --enable-ffile or --disable-ffile was given.
3952 if test "${enable_ffile+set}" = set; then
3953 enableval
="$enable_ffile"
3955 if test "$enableval" = yes; then
3956 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3958 ac_cv_use_ffile
='wxUSE_FFILE=no'
3963 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x
; then
3965 eval "DEFAULT_$LINE"
3970 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3975 eval "$ac_cv_use_ffile"
3976 if test "$no_cache" != 1; then
3977 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3980 if test "$wxUSE_FFILE" = yes; then
3981 echo "$ac_t""yes" 1>&6
3983 echo "$ac_t""no" 1>&6
3987 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3988 echo "configure:3989: checking for --enable-textbuf" >&5
3990 # Check whether --enable-textbuf or --disable-textbuf was given.
3991 if test "${enable_textbuf+set}" = set; then
3992 enableval
="$enable_textbuf"
3994 if test "$enableval" = yes; then
3995 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3997 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4002 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4003 if test "x$LINE" != x
; then
4004 eval "DEFAULT_$LINE"
4009 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4014 eval "$ac_cv_use_textbuf"
4015 if test "$no_cache" != 1; then
4016 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4019 if test "$wxUSE_TEXTBUFFER" = yes; then
4020 echo "$ac_t""yes" 1>&6
4022 echo "$ac_t""no" 1>&6
4026 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4027 echo "configure:4028: checking for --enable-textfile" >&5
4029 # Check whether --enable-textfile or --disable-textfile was given.
4030 if test "${enable_textfile+set}" = set; then
4031 enableval
="$enable_textfile"
4033 if test "$enableval" = yes; then
4034 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4036 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4041 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x
; then
4043 eval "DEFAULT_$LINE"
4048 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4053 eval "$ac_cv_use_textfile"
4054 if test "$no_cache" != 1; then
4055 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4058 if test "$wxUSE_TEXTFILE" = yes; then
4059 echo "$ac_t""yes" 1>&6
4061 echo "$ac_t""no" 1>&6
4065 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4066 echo "configure:4067: checking for --enable-fontmap" >&5
4068 # Check whether --enable-fontmap or --disable-fontmap was given.
4069 if test "${enable_fontmap+set}" = set; then
4070 enableval
="$enable_fontmap"
4072 if test "$enableval" = yes; then
4073 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4075 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4080 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x
; then
4082 eval "DEFAULT_$LINE"
4087 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4092 eval "$ac_cv_use_fontmap"
4093 if test "$no_cache" != 1; then
4094 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4097 if test "$wxUSE_FONTMAP" = yes; then
4098 echo "$ac_t""yes" 1>&6
4100 echo "$ac_t""no" 1>&6
4104 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4105 echo "configure:4106: checking for --enable-unicode" >&5
4107 # Check whether --enable-unicode or --disable-unicode was given.
4108 if test "${enable_unicode+set}" = set; then
4109 enableval
="$enable_unicode"
4111 if test "$enableval" = yes; then
4112 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4114 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4119 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x
; then
4121 eval "DEFAULT_$LINE"
4126 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4131 eval "$ac_cv_use_unicode"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4136 if test "$wxUSE_UNICODE" = yes; then
4137 echo "$ac_t""yes" 1>&6
4139 echo "$ac_t""no" 1>&6
4143 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4144 echo "configure:4145: checking for --enable-mslu" >&5
4146 # Check whether --enable-mslu or --disable-mslu was given.
4147 if test "${enable_mslu+set}" = set; then
4148 enableval
="$enable_mslu"
4150 if test "$enableval" = yes; then
4151 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4153 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4158 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4159 if test "x$LINE" != x
; then
4160 eval "DEFAULT_$LINE"
4165 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4170 eval "$ac_cv_use_mslu"
4171 if test "$no_cache" != 1; then
4172 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4175 if test "$wxUSE_UNICODE_MSLU" = yes; then
4176 echo "$ac_t""yes" 1>&6
4178 echo "$ac_t""no" 1>&6
4182 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4183 echo "configure:4184: checking for --enable-wxprintfv" >&5
4185 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4186 if test "${enable_wxprintfv+set}" = set; then
4187 enableval
="$enable_wxprintfv"
4189 if test "$enableval" = yes; then
4190 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4192 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4197 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x
; then
4199 eval "DEFAULT_$LINE"
4204 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4209 eval "$ac_cv_use_wxprintfv"
4210 if test "$no_cache" != 1; then
4211 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4214 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4215 echo "$ac_t""yes" 1>&6
4217 echo "$ac_t""no" 1>&6
4221 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4222 echo "configure:4223: checking for --enable-std_iostreams" >&5
4224 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4225 if test "${enable_std_iostreams+set}" = set; then
4226 enableval
="$enable_std_iostreams"
4228 if test "$enableval" = yes; then
4229 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4231 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4236 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4237 if test "x$LINE" != x
; then
4238 eval "DEFAULT_$LINE"
4243 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4248 eval "$ac_cv_use_std_iostreams"
4249 if test "$no_cache" != 1; then
4250 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4253 if test "$wxUSE_STD_IOSTREAM" = yes; then
4254 echo "$ac_t""yes" 1>&6
4256 echo "$ac_t""no" 1>&6
4260 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4261 echo "configure:4262: checking for --enable-filesystem" >&5
4263 # Check whether --enable-filesystem or --disable-filesystem was given.
4264 if test "${enable_filesystem+set}" = set; then
4265 enableval
="$enable_filesystem"
4267 if test "$enableval" = yes; then
4268 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4270 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4275 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4276 if test "x$LINE" != x
; then
4277 eval "DEFAULT_$LINE"
4282 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4287 eval "$ac_cv_use_filesystem"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4292 if test "$wxUSE_FILESYSTEM" = yes; then
4293 echo "$ac_t""yes" 1>&6
4295 echo "$ac_t""no" 1>&6
4299 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4300 echo "configure:4301: checking for --enable-fs_inet" >&5
4302 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4303 if test "${enable_fs_inet+set}" = set; then
4304 enableval
="$enable_fs_inet"
4306 if test "$enableval" = yes; then
4307 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4309 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4314 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x
; then
4316 eval "DEFAULT_$LINE"
4321 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4326 eval "$ac_cv_use_fs_inet"
4327 if test "$no_cache" != 1; then
4328 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4331 if test "$wxUSE_FS_INET" = yes; then
4332 echo "$ac_t""yes" 1>&6
4334 echo "$ac_t""no" 1>&6
4338 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4339 echo "configure:4340: checking for --enable-fs_zip" >&5
4341 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4342 if test "${enable_fs_zip+set}" = set; then
4343 enableval
="$enable_fs_zip"
4345 if test "$enableval" = yes; then
4346 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4348 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4353 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4354 if test "x$LINE" != x
; then
4355 eval "DEFAULT_$LINE"
4360 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4365 eval "$ac_cv_use_fs_zip"
4366 if test "$no_cache" != 1; then
4367 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4370 if test "$wxUSE_FS_ZIP" = yes; then
4371 echo "$ac_t""yes" 1>&6
4373 echo "$ac_t""no" 1>&6
4377 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4378 echo "configure:4379: checking for --enable-zipstream" >&5
4380 # Check whether --enable-zipstream or --disable-zipstream was given.
4381 if test "${enable_zipstream+set}" = set; then
4382 enableval
="$enable_zipstream"
4384 if test "$enableval" = yes; then
4385 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4387 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4392 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4393 if test "x$LINE" != x
; then
4394 eval "DEFAULT_$LINE"
4399 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4404 eval "$ac_cv_use_zipstream"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4409 if test "$wxUSE_ZIPSTREAM" = yes; then
4410 echo "$ac_t""yes" 1>&6
4412 echo "$ac_t""no" 1>&6
4417 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4418 echo "configure:4419: checking for --enable-catch_segvs" >&5
4420 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4421 if test "${enable_catch_segvs+set}" = set; then
4422 enableval
="$enable_catch_segvs"
4424 if test "$enableval" = yes; then
4425 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4427 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4432 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4433 if test "x$LINE" != x
; then
4434 eval "DEFAULT_$LINE"
4439 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4444 eval "$ac_cv_use_catch_segvs"
4445 if test "$no_cache" != 1; then
4446 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4449 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4450 echo "$ac_t""yes" 1>&6
4452 echo "$ac_t""no" 1>&6
4456 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4457 echo "configure:4458: checking for --enable-snglinst" >&5
4459 # Check whether --enable-snglinst or --disable-snglinst was given.
4460 if test "${enable_snglinst+set}" = set; then
4461 enableval
="$enable_snglinst"
4463 if test "$enableval" = yes; then
4464 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4466 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4471 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x
; then
4473 eval "DEFAULT_$LINE"
4478 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4483 eval "$ac_cv_use_snglinst"
4484 if test "$no_cache" != 1; then
4485 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4488 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4489 echo "$ac_t""yes" 1>&6
4491 echo "$ac_t""no" 1>&6
4496 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4497 echo "configure:4498: checking for --enable-mimetype" >&5
4499 # Check whether --enable-mimetype or --disable-mimetype was given.
4500 if test "${enable_mimetype+set}" = set; then
4501 enableval
="$enable_mimetype"
4503 if test "$enableval" = yes; then
4504 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4506 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4511 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x
; then
4513 eval "DEFAULT_$LINE"
4518 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4523 eval "$ac_cv_use_mimetype"
4524 if test "$no_cache" != 1; then
4525 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4528 if test "$wxUSE_MIMETYPE" = yes; then
4529 echo "$ac_t""yes" 1>&6
4531 echo "$ac_t""no" 1>&6
4535 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4536 echo "configure:4537: checking for --enable-system_options" >&5
4538 # Check whether --enable-system_options or --disable-system_options was given.
4539 if test "${enable_system_options+set}" = set; then
4540 enableval
="$enable_system_options"
4542 if test "$enableval" = yes; then
4543 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4545 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4550 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x
; then
4552 eval "DEFAULT_$LINE"
4557 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4562 eval "$ac_cv_use_system_options"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4567 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4568 echo "$ac_t""yes" 1>&6
4570 echo "$ac_t""no" 1>&6
4575 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4576 echo "configure:4577: checking for --enable-url" >&5
4578 # Check whether --enable-url or --disable-url was given.
4579 if test "${enable_url+set}" = set; then
4580 enableval
="$enable_url"
4582 if test "$enableval" = yes; then
4583 ac_cv_use_url
='wxUSE_URL=yes'
4585 ac_cv_use_url
='wxUSE_URL=no'
4590 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4591 if test "x$LINE" != x
; then
4592 eval "DEFAULT_$LINE"
4597 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4602 eval "$ac_cv_use_url"
4603 if test "$no_cache" != 1; then
4604 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4607 if test "$wxUSE_URL" = yes; then
4608 echo "$ac_t""yes" 1>&6
4610 echo "$ac_t""no" 1>&6
4614 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4615 echo "configure:4616: checking for --enable-protocol" >&5
4617 # Check whether --enable-protocol or --disable-protocol was given.
4618 if test "${enable_protocol+set}" = set; then
4619 enableval
="$enable_protocol"
4621 if test "$enableval" = yes; then
4622 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4624 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4629 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4630 if test "x$LINE" != x
; then
4631 eval "DEFAULT_$LINE"
4636 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4641 eval "$ac_cv_use_protocol"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4646 if test "$wxUSE_PROTOCOL" = yes; then
4647 echo "$ac_t""yes" 1>&6
4649 echo "$ac_t""no" 1>&6
4653 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4654 echo "configure:4655: checking for --enable-protocol_http" >&5
4656 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4657 if test "${enable_protocol_http+set}" = set; then
4658 enableval
="$enable_protocol_http"
4660 if test "$enableval" = yes; then
4661 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4663 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4668 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x
; then
4670 eval "DEFAULT_$LINE"
4675 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4680 eval "$ac_cv_use_protocol_http"
4681 if test "$no_cache" != 1; then
4682 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4685 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4686 echo "$ac_t""yes" 1>&6
4688 echo "$ac_t""no" 1>&6
4692 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4693 echo "configure:4694: checking for --enable-protocol_ftp" >&5
4695 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4696 if test "${enable_protocol_ftp+set}" = set; then
4697 enableval
="$enable_protocol_ftp"
4699 if test "$enableval" = yes; then
4700 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4702 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4707 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x
; then
4709 eval "DEFAULT_$LINE"
4714 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4719 eval "$ac_cv_use_protocol_ftp"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4724 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4725 echo "$ac_t""yes" 1>&6
4727 echo "$ac_t""no" 1>&6
4731 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4732 echo "configure:4733: checking for --enable-protocol_file" >&5
4734 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4735 if test "${enable_protocol_file+set}" = set; then
4736 enableval
="$enable_protocol_file"
4738 if test "$enableval" = yes; then
4739 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4741 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4746 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x
; then
4748 eval "DEFAULT_$LINE"
4753 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4758 eval "$ac_cv_use_protocol_file"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4763 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4764 echo "$ac_t""yes" 1>&6
4766 echo "$ac_t""no" 1>&6
4773 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4774 echo "configure:4775: checking for --enable-threads" >&5
4776 # Check whether --enable-threads or --disable-threads was given.
4777 if test "${enable_threads+set}" = set; then
4778 enableval
="$enable_threads"
4780 if test "$enableval" = yes; then
4781 ac_cv_use_threads
='wxUSE_THREADS=yes'
4783 ac_cv_use_threads
='wxUSE_THREADS=no'
4788 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4789 if test "x$LINE" != x
; then
4790 eval "DEFAULT_$LINE"
4795 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4800 eval "$ac_cv_use_threads"
4801 if test "$no_cache" != 1; then
4802 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4805 if test "$wxUSE_THREADS" = yes; then
4806 echo "$ac_t""yes" 1>&6
4808 echo "$ac_t""no" 1>&6
4812 if test "$wxUSE_GUI" = "yes"; then
4816 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4817 echo "configure:4818: checking for --enable-docview" >&5
4819 # Check whether --enable-docview or --disable-docview was given.
4820 if test "${enable_docview+set}" = set; then
4821 enableval
="$enable_docview"
4823 if test "$enableval" = yes; then
4824 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4826 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4831 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4832 if test "x$LINE" != x
; then
4833 eval "DEFAULT_$LINE"
4838 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4843 eval "$ac_cv_use_docview"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4848 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4849 echo "$ac_t""yes" 1>&6
4851 echo "$ac_t""no" 1>&6
4855 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4856 echo "configure:4857: checking for --enable-help" >&5
4858 # Check whether --enable-help or --disable-help was given.
4859 if test "${enable_help+set}" = set; then
4860 enableval
="$enable_help"
4862 if test "$enableval" = yes; then
4863 ac_cv_use_help
='wxUSE_HELP=yes'
4865 ac_cv_use_help
='wxUSE_HELP=no'
4870 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4871 if test "x$LINE" != x
; then
4872 eval "DEFAULT_$LINE"
4877 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4882 eval "$ac_cv_use_help"
4883 if test "$no_cache" != 1; then
4884 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4887 if test "$wxUSE_HELP" = yes; then
4888 echo "$ac_t""yes" 1>&6
4890 echo "$ac_t""no" 1>&6
4894 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4895 echo "configure:4896: checking for --enable-mshtmlhelp" >&5
4897 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4898 if test "${enable_mshtmlhelp+set}" = set; then
4899 enableval
="$enable_mshtmlhelp"
4901 if test "$enableval" = yes; then
4902 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4904 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4909 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4910 if test "x$LINE" != x
; then
4911 eval "DEFAULT_$LINE"
4916 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4921 eval "$ac_cv_use_mshtmlhelp"
4922 if test "$no_cache" != 1; then
4923 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4926 if test "$wxUSE_MS_HTML_HELP" = yes; then
4927 echo "$ac_t""yes" 1>&6
4929 echo "$ac_t""no" 1>&6
4933 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4934 echo "configure:4935: checking for --enable-html" >&5
4936 # Check whether --enable-html or --disable-html was given.
4937 if test "${enable_html+set}" = set; then
4938 enableval
="$enable_html"
4940 if test "$enableval" = yes; then
4941 ac_cv_use_html
='wxUSE_HTML=yes'
4943 ac_cv_use_html
='wxUSE_HTML=no'
4948 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4949 if test "x$LINE" != x
; then
4950 eval "DEFAULT_$LINE"
4955 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4960 eval "$ac_cv_use_html"
4961 if test "$no_cache" != 1; then
4962 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4965 if test "$wxUSE_HTML" = yes; then
4966 echo "$ac_t""yes" 1>&6
4968 echo "$ac_t""no" 1>&6
4972 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4973 echo "configure:4974: checking for --enable-htmlhelp" >&5
4975 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4976 if test "${enable_htmlhelp+set}" = set; then
4977 enableval
="$enable_htmlhelp"
4979 if test "$enableval" = yes; then
4980 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4982 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4987 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4988 if test "x$LINE" != x
; then
4989 eval "DEFAULT_$LINE"
4994 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4999 eval "$ac_cv_use_htmlhelp"
5000 if test "$no_cache" != 1; then
5001 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5004 if test "$wxUSE_WXHTML_HELP" = yes; then
5005 echo "$ac_t""yes" 1>&6
5007 echo "$ac_t""no" 1>&6
5011 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5012 echo "configure:5013: checking for --enable-constraints" >&5
5014 # Check whether --enable-constraints or --disable-constraints was given.
5015 if test "${enable_constraints+set}" = set; then
5016 enableval
="$enable_constraints"
5018 if test "$enableval" = yes; then
5019 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5021 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5026 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5027 if test "x$LINE" != x
; then
5028 eval "DEFAULT_$LINE"
5033 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5038 eval "$ac_cv_use_constraints"
5039 if test "$no_cache" != 1; then
5040 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5043 if test "$wxUSE_CONSTRAINTS" = yes; then
5044 echo "$ac_t""yes" 1>&6
5046 echo "$ac_t""no" 1>&6
5050 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5051 echo "configure:5052: checking for --enable-printarch" >&5
5053 # Check whether --enable-printarch or --disable-printarch was given.
5054 if test "${enable_printarch+set}" = set; then
5055 enableval
="$enable_printarch"
5057 if test "$enableval" = yes; then
5058 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5060 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5065 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x
; then
5067 eval "DEFAULT_$LINE"
5072 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5077 eval "$ac_cv_use_printarch"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5082 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5083 echo "$ac_t""yes" 1>&6
5085 echo "$ac_t""no" 1>&6
5089 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5090 echo "configure:5091: checking for --enable-mdi" >&5
5092 # Check whether --enable-mdi or --disable-mdi was given.
5093 if test "${enable_mdi+set}" = set; then
5094 enableval
="$enable_mdi"
5096 if test "$enableval" = yes; then
5097 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5099 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5104 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x
; then
5106 eval "DEFAULT_$LINE"
5111 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5116 eval "$ac_cv_use_mdi"
5117 if test "$no_cache" != 1; then
5118 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5121 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5122 echo "$ac_t""yes" 1>&6
5124 echo "$ac_t""no" 1>&6
5128 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5129 echo "configure:5130: checking for --enable-loggui" >&5
5131 # Check whether --enable-loggui or --disable-loggui was given.
5132 if test "${enable_loggui+set}" = set; then
5133 enableval
="$enable_loggui"
5135 if test "$enableval" = yes; then
5136 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5138 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5143 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5144 if test "x$LINE" != x
; then
5145 eval "DEFAULT_$LINE"
5150 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5155 eval "$ac_cv_use_loggui"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5160 if test "$wxUSE_LOGGUI" = yes; then
5161 echo "$ac_t""yes" 1>&6
5163 echo "$ac_t""no" 1>&6
5167 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5168 echo "configure:5169: checking for --enable-logwin" >&5
5170 # Check whether --enable-logwin or --disable-logwin was given.
5171 if test "${enable_logwin+set}" = set; then
5172 enableval
="$enable_logwin"
5174 if test "$enableval" = yes; then
5175 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5177 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5182 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5183 if test "x$LINE" != x
; then
5184 eval "DEFAULT_$LINE"
5189 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5194 eval "$ac_cv_use_logwin"
5195 if test "$no_cache" != 1; then
5196 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5199 if test "$wxUSE_LOGWINDOW" = yes; then
5200 echo "$ac_t""yes" 1>&6
5202 echo "$ac_t""no" 1>&6
5206 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5207 echo "configure:5208: checking for --enable-logdialog" >&5
5209 # Check whether --enable-logdialog or --disable-logdialog was given.
5210 if test "${enable_logdialog+set}" = set; then
5211 enableval
="$enable_logdialog"
5213 if test "$enableval" = yes; then
5214 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5216 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5221 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x
; then
5223 eval "DEFAULT_$LINE"
5228 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5233 eval "$ac_cv_use_logdialog"
5234 if test "$no_cache" != 1; then
5235 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5238 if test "$wxUSE_LOGDIALOG" = yes; then
5239 echo "$ac_t""yes" 1>&6
5241 echo "$ac_t""no" 1>&6
5246 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5247 echo "configure:5248: checking for --enable-postscript" >&5
5249 # Check whether --enable-postscript or --disable-postscript was given.
5250 if test "${enable_postscript+set}" = set; then
5251 enableval
="$enable_postscript"
5253 if test "$enableval" = yes; then
5254 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5256 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5261 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5262 if test "x$LINE" != x
; then
5263 eval "DEFAULT_$LINE"
5268 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5273 eval "$ac_cv_use_postscript"
5274 if test "$no_cache" != 1; then
5275 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5278 if test "$wxUSE_POSTSCRIPT" = yes; then
5279 echo "$ac_t""yes" 1>&6
5281 echo "$ac_t""no" 1>&6
5288 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5289 echo "configure:5290: checking for --enable-prologio" >&5
5291 # Check whether --enable-prologio or --disable-prologio was given.
5292 if test "${enable_prologio+set}" = set; then
5293 enableval
="$enable_prologio"
5295 if test "$enableval" = yes; then
5296 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5298 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5303 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5304 if test "x$LINE" != x
; then
5305 eval "DEFAULT_$LINE"
5310 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5315 eval "$ac_cv_use_prologio"
5316 if test "$no_cache" != 1; then
5317 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5320 if test "$wxUSE_PROLOGIO" = yes; then
5321 echo "$ac_t""yes" 1>&6
5323 echo "$ac_t""no" 1>&6
5327 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5328 echo "configure:5329: checking for --enable-resources" >&5
5330 # Check whether --enable-resources or --disable-resources was given.
5331 if test "${enable_resources+set}" = set; then
5332 enableval
="$enable_resources"
5334 if test "$enableval" = yes; then
5335 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5337 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5342 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5343 if test "x$LINE" != x
; then
5344 eval "DEFAULT_$LINE"
5349 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5354 eval "$ac_cv_use_resources"
5355 if test "$no_cache" != 1; then
5356 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5359 if test "$wxUSE_RESOURCES" = yes; then
5360 echo "$ac_t""yes" 1>&6
5362 echo "$ac_t""no" 1>&6
5367 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5368 echo "configure:5369: checking for --enable-xresources" >&5
5370 # Check whether --enable-xresources or --disable-xresources was given.
5371 if test "${enable_xresources+set}" = set; then
5372 enableval
="$enable_xresources"
5374 if test "$enableval" = yes; then
5375 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5377 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5382 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x
; then
5384 eval "DEFAULT_$LINE"
5389 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5394 eval "$ac_cv_use_xresources"
5395 if test "$no_cache" != 1; then
5396 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5399 if test "$wxUSE_X_RESOURCES" = yes; then
5400 echo "$ac_t""yes" 1>&6
5402 echo "$ac_t""no" 1>&6
5408 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5409 echo "configure:5410: checking for --enable-clipboard" >&5
5411 # Check whether --enable-clipboard or --disable-clipboard was given.
5412 if test "${enable_clipboard+set}" = set; then
5413 enableval
="$enable_clipboard"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5418 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5423 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x
; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5435 eval "$ac_cv_use_clipboard"
5436 if test "$no_cache" != 1; then
5437 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5440 if test "$wxUSE_CLIPBOARD" = yes; then
5441 echo "$ac_t""yes" 1>&6
5443 echo "$ac_t""no" 1>&6
5447 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5448 echo "configure:5449: checking for --enable-dnd" >&5
5450 # Check whether --enable-dnd or --disable-dnd was given.
5451 if test "${enable_dnd+set}" = set; then
5452 enableval
="$enable_dnd"
5454 if test "$enableval" = yes; then
5455 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5457 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5462 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5463 if test "x$LINE" != x
; then
5464 eval "DEFAULT_$LINE"
5469 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5474 eval "$ac_cv_use_dnd"
5475 if test "$no_cache" != 1; then
5476 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5479 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5480 echo "$ac_t""yes" 1>&6
5482 echo "$ac_t""no" 1>&6
5486 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5487 echo "configure:5488: checking for --enable-metafile" >&5
5489 # Check whether --enable-metafile or --disable-metafile was given.
5490 if test "${enable_metafile+set}" = set; then
5491 enableval
="$enable_metafile"
5493 if test "$enableval" = yes; then
5494 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5496 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5501 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5502 if test "x$LINE" != x
; then
5503 eval "DEFAULT_$LINE"
5508 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5513 eval "$ac_cv_use_metafile"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5518 if test "$wxUSE_METAFILE" = yes; then
5519 echo "$ac_t""yes" 1>&6
5521 echo "$ac_t""no" 1>&6
5526 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5527 echo "configure:5528: checking for --enable-treelayout" >&5
5529 # Check whether --enable-treelayout or --disable-treelayout was given.
5530 if test "${enable_treelayout+set}" = set; then
5531 enableval
="$enable_treelayout"
5533 if test "$enableval" = yes; then
5534 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5536 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5541 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5542 if test "x$LINE" != x
; then
5543 eval "DEFAULT_$LINE"
5548 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5553 eval "$ac_cv_use_treelayout"
5554 if test "$no_cache" != 1; then
5555 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5558 if test "$wxUSE_TREELAYOUT" = yes; then
5559 echo "$ac_t""yes" 1>&6
5561 echo "$ac_t""no" 1>&6
5567 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5568 echo "configure:5569: checking for --enable-controls" >&5
5570 # Check whether --enable-controls or --disable-controls was given.
5571 if test "${enable_controls+set}" = set; then
5572 enableval
="$enable_controls"
5574 if test "$enableval" = yes; then
5575 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5577 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5582 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5583 if test "x$LINE" != x
; then
5584 eval "DEFAULT_$LINE"
5589 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5594 eval "$ac_cv_use_controls"
5595 if test "$no_cache" != 1; then
5596 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5599 if test "$wxUSE_CONTROLS" = yes; then
5600 echo "$ac_t""yes" 1>&6
5602 echo "$ac_t""no" 1>&6
5606 if test "$wxUSE_CONTROLS" = "yes"; then
5607 DEFAULT_wxUSE_ACCEL
=yes
5608 DEFAULT_wxUSE_BMPBUTTON
=yes
5609 DEFAULT_wxUSE_BUTTON
=yes
5610 DEFAULT_wxUSE_CALCTRL
=no
5611 DEFAULT_wxUSE_CARET
=yes
5612 DEFAULT_wxUSE_COMBOBOX
=yes
5613 DEFAULT_wxUSE_CHECKBOX
=yes
5614 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5615 DEFAULT_wxUSE_CHOICE
=yes
5616 DEFAULT_wxUSE_GAUGE
=yes
5617 DEFAULT_wxUSE_GRID
=yes
5618 DEFAULT_wxUSE_NEW_GRID
=yes
5619 DEFAULT_wxUSE_IMAGLIST
=yes
5620 DEFAULT_wxUSE_LISTBOX
=yes
5621 DEFAULT_wxUSE_LISTCTRL
=yes
5622 DEFAULT_wxUSE_NOTEBOOK
=yes
5623 DEFAULT_wxUSE_PROPSHEET
=yes
5624 DEFAULT_wxUSE_RADIOBOX
=yes
5625 DEFAULT_wxUSE_RADIOBTN
=yes
5626 DEFAULT_wxUSE_SASH
=yes
5627 DEFAULT_wxUSE_SCROLLBAR
=yes
5628 DEFAULT_wxUSE_SLIDER
=yes
5629 DEFAULT_wxUSE_SPINBTN
=yes
5630 DEFAULT_wxUSE_SPINCTRL
=yes
5631 DEFAULT_wxUSE_SPLITTER
=yes
5632 DEFAULT_wxUSE_STATBMP
=yes
5633 DEFAULT_wxUSE_STATBOX
=yes
5634 DEFAULT_wxUSE_STATLINE
=yes
5635 DEFAULT_wxUSE_STATUSBAR
=yes
5636 DEFAULT_wxUSE_TAB_DIALOG
=yes
5637 DEFAULT_wxUSE_TOGGLEBTN
=yes
5638 DEFAULT_wxUSE_TOOLBAR
=yes
5639 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5640 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5641 DEFAULT_wxUSE_TOOLTIPS
=yes
5642 DEFAULT_wxUSE_TREECTRL
=yes
5643 DEFAULT_wxUSE_POPUPWIN
=yes
5644 DEFAULT_wxUSE_TIPWINDOW
=yes
5645 elif test "$wxUSE_CONTROLS" = "no"; then
5646 DEFAULT_wxUSE_ACCEL
=no
5647 DEFAULT_wxUSE_BMPBUTTON
=no
5648 DEFAULT_wxUSE_BUTTON
=no
5649 DEFAULT_wxUSE_CALCTRL
=no
5650 DEFAULT_wxUSE_CARET
=no
5651 DEFAULT_wxUSE_COMBOBOX
=no
5652 DEFAULT_wxUSE_CHECKBOX
=no
5653 DEFAULT_wxUSE_CHECKLISTBOX
=no
5654 DEFAULT_wxUSE_CHOICE
=no
5655 DEFAULT_wxUSE_GAUGE
=no
5656 DEFAULT_wxUSE_GRID
=no
5657 DEFAULT_wxUSE_NEW_GRID
=no
5658 DEFAULT_wxUSE_IMAGLIST
=no
5659 DEFAULT_wxUSE_LISTBOX
=no
5660 DEFAULT_wxUSE_LISTCTRL
=no
5661 DEFAULT_wxUSE_NOTEBOOK
=no
5662 DEFAULT_wxUSE_PROPSHEET
=no
5663 DEFAULT_wxUSE_RADIOBOX
=no
5664 DEFAULT_wxUSE_RADIOBTN
=no
5665 DEFAULT_wxUSE_SASH
=no
5666 DEFAULT_wxUSE_SCROLLBAR
=no
5667 DEFAULT_wxUSE_SLIDER
=no
5668 DEFAULT_wxUSE_SPINBTN
=no
5669 DEFAULT_wxUSE_SPINCTRL
=no
5670 DEFAULT_wxUSE_SPLITTER
=no
5671 DEFAULT_wxUSE_STATBMP
=no
5672 DEFAULT_wxUSE_STATBOX
=no
5673 DEFAULT_wxUSE_STATLINE
=no
5674 DEFAULT_wxUSE_STATUSBAR
=no
5675 DEFAULT_wxUSE_TAB_DIALOG
=no
5676 DEFAULT_wxUSE_TOGGLEBTN
=no
5677 DEFAULT_wxUSE_TOOLBAR
=no
5678 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5679 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5680 DEFAULT_wxUSE_TOOLTIPS
=no
5681 DEFAULT_wxUSE_TREECTRL
=no
5682 DEFAULT_wxUSE_POPUPWIN
=no
5683 DEFAULT_wxUSE_TIPWINDOW
=no
5687 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5688 echo "configure:5689: checking for --enable-accel" >&5
5690 # Check whether --enable-accel or --disable-accel was given.
5691 if test "${enable_accel+set}" = set; then
5692 enableval
="$enable_accel"
5694 if test "$enableval" = yes; then
5695 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5697 ac_cv_use_accel
='wxUSE_ACCEL=no'
5702 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x
; then
5704 eval "DEFAULT_$LINE"
5709 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5714 eval "$ac_cv_use_accel"
5715 if test "$no_cache" != 1; then
5716 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5719 if test "$wxUSE_ACCEL" = yes; then
5720 echo "$ac_t""yes" 1>&6
5722 echo "$ac_t""no" 1>&6
5726 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5727 echo "configure:5728: checking for --enable-button" >&5
5729 # Check whether --enable-button or --disable-button was given.
5730 if test "${enable_button+set}" = set; then
5731 enableval
="$enable_button"
5733 if test "$enableval" = yes; then
5734 ac_cv_use_button
='wxUSE_BUTTON=yes'
5736 ac_cv_use_button
='wxUSE_BUTTON=no'
5741 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5742 if test "x$LINE" != x
; then
5743 eval "DEFAULT_$LINE"
5748 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5753 eval "$ac_cv_use_button"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5758 if test "$wxUSE_BUTTON" = yes; then
5759 echo "$ac_t""yes" 1>&6
5761 echo "$ac_t""no" 1>&6
5765 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5766 echo "configure:5767: checking for --enable-bmpbutton" >&5
5768 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5769 if test "${enable_bmpbutton+set}" = set; then
5770 enableval
="$enable_bmpbutton"
5772 if test "$enableval" = yes; then
5773 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5775 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5780 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5781 if test "x$LINE" != x
; then
5782 eval "DEFAULT_$LINE"
5787 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5792 eval "$ac_cv_use_bmpbutton"
5793 if test "$no_cache" != 1; then
5794 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5797 if test "$wxUSE_BMPBUTTON" = yes; then
5798 echo "$ac_t""yes" 1>&6
5800 echo "$ac_t""no" 1>&6
5804 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5805 echo "configure:5806: checking for --enable-calendar" >&5
5807 # Check whether --enable-calendar or --disable-calendar was given.
5808 if test "${enable_calendar+set}" = set; then
5809 enableval
="$enable_calendar"
5811 if test "$enableval" = yes; then
5812 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5814 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5819 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5826 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5831 eval "$ac_cv_use_calendar"
5832 if test "$no_cache" != 1; then
5833 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5836 if test "$wxUSE_CALCTRL" = yes; then
5837 echo "$ac_t""yes" 1>&6
5839 echo "$ac_t""no" 1>&6
5843 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5844 echo "configure:5845: checking for --enable-caret" >&5
5846 # Check whether --enable-caret or --disable-caret was given.
5847 if test "${enable_caret+set}" = set; then
5848 enableval
="$enable_caret"
5850 if test "$enableval" = yes; then
5851 ac_cv_use_caret
='wxUSE_CARET=yes'
5853 ac_cv_use_caret
='wxUSE_CARET=no'
5858 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x
; then
5860 eval "DEFAULT_$LINE"
5865 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5870 eval "$ac_cv_use_caret"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5875 if test "$wxUSE_CARET" = yes; then
5876 echo "$ac_t""yes" 1>&6
5878 echo "$ac_t""no" 1>&6
5882 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5883 echo "configure:5884: checking for --enable-checkbox" >&5
5885 # Check whether --enable-checkbox or --disable-checkbox was given.
5886 if test "${enable_checkbox+set}" = set; then
5887 enableval
="$enable_checkbox"
5889 if test "$enableval" = yes; then
5890 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5892 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5897 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5898 if test "x$LINE" != x
; then
5899 eval "DEFAULT_$LINE"
5904 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5909 eval "$ac_cv_use_checkbox"
5910 if test "$no_cache" != 1; then
5911 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5914 if test "$wxUSE_CHECKBOX" = yes; then
5915 echo "$ac_t""yes" 1>&6
5917 echo "$ac_t""no" 1>&6
5921 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5922 echo "configure:5923: checking for --enable-checklst" >&5
5924 # Check whether --enable-checklst or --disable-checklst was given.
5925 if test "${enable_checklst+set}" = set; then
5926 enableval
="$enable_checklst"
5928 if test "$enableval" = yes; then
5929 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5931 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5936 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5937 if test "x$LINE" != x
; then
5938 eval "DEFAULT_$LINE"
5943 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5948 eval "$ac_cv_use_checklst"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5953 if test "$wxUSE_CHECKLST" = yes; then
5954 echo "$ac_t""yes" 1>&6
5956 echo "$ac_t""no" 1>&6
5960 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5961 echo "configure:5962: checking for --enable-choice" >&5
5963 # Check whether --enable-choice or --disable-choice was given.
5964 if test "${enable_choice+set}" = set; then
5965 enableval
="$enable_choice"
5967 if test "$enableval" = yes; then
5968 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5970 ac_cv_use_choice
='wxUSE_CHOICE=no'
5975 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x
; then
5977 eval "DEFAULT_$LINE"
5982 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5987 eval "$ac_cv_use_choice"
5988 if test "$no_cache" != 1; then
5989 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5992 if test "$wxUSE_CHOICE" = yes; then
5993 echo "$ac_t""yes" 1>&6
5995 echo "$ac_t""no" 1>&6
5999 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6000 echo "configure:6001: checking for --enable-combobox" >&5
6002 # Check whether --enable-combobox or --disable-combobox was given.
6003 if test "${enable_combobox+set}" = set; then
6004 enableval
="$enable_combobox"
6006 if test "$enableval" = yes; then
6007 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6009 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6014 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6015 if test "x$LINE" != x
; then
6016 eval "DEFAULT_$LINE"
6021 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6026 eval "$ac_cv_use_combobox"
6027 if test "$no_cache" != 1; then
6028 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6031 if test "$wxUSE_COMBOBOX" = yes; then
6032 echo "$ac_t""yes" 1>&6
6034 echo "$ac_t""no" 1>&6
6038 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6039 echo "configure:6040: checking for --enable-gauge" >&5
6041 # Check whether --enable-gauge or --disable-gauge was given.
6042 if test "${enable_gauge+set}" = set; then
6043 enableval
="$enable_gauge"
6045 if test "$enableval" = yes; then
6046 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6048 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6053 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6054 if test "x$LINE" != x
; then
6055 eval "DEFAULT_$LINE"
6060 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6065 eval "$ac_cv_use_gauge"
6066 if test "$no_cache" != 1; then
6067 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6070 if test "$wxUSE_GAUGE" = yes; then
6071 echo "$ac_t""yes" 1>&6
6073 echo "$ac_t""no" 1>&6
6077 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6078 echo "configure:6079: checking for --enable-grid" >&5
6080 # Check whether --enable-grid or --disable-grid was given.
6081 if test "${enable_grid+set}" = set; then
6082 enableval
="$enable_grid"
6084 if test "$enableval" = yes; then
6085 ac_cv_use_grid
='wxUSE_GRID=yes'
6087 ac_cv_use_grid
='wxUSE_GRID=no'
6092 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6093 if test "x$LINE" != x
; then
6094 eval "DEFAULT_$LINE"
6099 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6104 eval "$ac_cv_use_grid"
6105 if test "$no_cache" != 1; then
6106 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6109 if test "$wxUSE_GRID" = yes; then
6110 echo "$ac_t""yes" 1>&6
6112 echo "$ac_t""no" 1>&6
6116 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6117 echo "configure:6118: checking for --enable-newgrid" >&5
6119 # Check whether --enable-newgrid or --disable-newgrid was given.
6120 if test "${enable_newgrid+set}" = set; then
6121 enableval
="$enable_newgrid"
6123 if test "$enableval" = yes; then
6124 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6126 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6131 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6132 if test "x$LINE" != x
; then
6133 eval "DEFAULT_$LINE"
6138 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6143 eval "$ac_cv_use_newgrid"
6144 if test "$no_cache" != 1; then
6145 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6148 if test "$wxUSE_NEW_GRID" = yes; then
6149 echo "$ac_t""yes" 1>&6
6151 echo "$ac_t""no" 1>&6
6155 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6156 echo "configure:6157: checking for --enable-imaglist" >&5
6158 # Check whether --enable-imaglist or --disable-imaglist was given.
6159 if test "${enable_imaglist+set}" = set; then
6160 enableval
="$enable_imaglist"
6162 if test "$enableval" = yes; then
6163 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6165 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6170 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x
; then
6172 eval "DEFAULT_$LINE"
6177 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6182 eval "$ac_cv_use_imaglist"
6183 if test "$no_cache" != 1; then
6184 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6187 if test "$wxUSE_IMAGLIST" = yes; then
6188 echo "$ac_t""yes" 1>&6
6190 echo "$ac_t""no" 1>&6
6194 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6195 echo "configure:6196: checking for --enable-listbox" >&5
6197 # Check whether --enable-listbox or --disable-listbox was given.
6198 if test "${enable_listbox+set}" = set; then
6199 enableval
="$enable_listbox"
6201 if test "$enableval" = yes; then
6202 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6204 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6209 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6210 if test "x$LINE" != x
; then
6211 eval "DEFAULT_$LINE"
6216 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6221 eval "$ac_cv_use_listbox"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6226 if test "$wxUSE_LISTBOX" = yes; then
6227 echo "$ac_t""yes" 1>&6
6229 echo "$ac_t""no" 1>&6
6233 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6234 echo "configure:6235: checking for --enable-listctrl" >&5
6236 # Check whether --enable-listctrl or --disable-listctrl was given.
6237 if test "${enable_listctrl+set}" = set; then
6238 enableval
="$enable_listctrl"
6240 if test "$enableval" = yes; then
6241 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6243 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6248 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6249 if test "x$LINE" != x
; then
6250 eval "DEFAULT_$LINE"
6255 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6260 eval "$ac_cv_use_listctrl"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6265 if test "$wxUSE_LISTCTRL" = yes; then
6266 echo "$ac_t""yes" 1>&6
6268 echo "$ac_t""no" 1>&6
6272 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6273 echo "configure:6274: checking for --enable-notebook" >&5
6275 # Check whether --enable-notebook or --disable-notebook was given.
6276 if test "${enable_notebook+set}" = set; then
6277 enableval
="$enable_notebook"
6279 if test "$enableval" = yes; then
6280 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6282 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6287 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6288 if test "x$LINE" != x
; then
6289 eval "DEFAULT_$LINE"
6294 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6299 eval "$ac_cv_use_notebook"
6300 if test "$no_cache" != 1; then
6301 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6304 if test "$wxUSE_NOTEBOOK" = yes; then
6305 echo "$ac_t""yes" 1>&6
6307 echo "$ac_t""no" 1>&6
6311 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6312 echo "configure:6313: checking for --enable-propsheet" >&5
6314 # Check whether --enable-propsheet or --disable-propsheet was given.
6315 if test "${enable_propsheet+set}" = set; then
6316 enableval
="$enable_propsheet"
6318 if test "$enableval" = yes; then
6319 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6321 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6326 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6327 if test "x$LINE" != x
; then
6328 eval "DEFAULT_$LINE"
6333 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6338 eval "$ac_cv_use_propsheet"
6339 if test "$no_cache" != 1; then
6340 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6343 if test "$wxUSE_PROPSHEET" = yes; then
6344 echo "$ac_t""yes" 1>&6
6346 echo "$ac_t""no" 1>&6
6350 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6351 echo "configure:6352: checking for --enable-radiobox" >&5
6353 # Check whether --enable-radiobox or --disable-radiobox was given.
6354 if test "${enable_radiobox+set}" = set; then
6355 enableval
="$enable_radiobox"
6357 if test "$enableval" = yes; then
6358 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6360 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6365 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6366 if test "x$LINE" != x
; then
6367 eval "DEFAULT_$LINE"
6372 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6377 eval "$ac_cv_use_radiobox"
6378 if test "$no_cache" != 1; then
6379 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6382 if test "$wxUSE_RADIOBOX" = yes; then
6383 echo "$ac_t""yes" 1>&6
6385 echo "$ac_t""no" 1>&6
6389 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6390 echo "configure:6391: checking for --enable-radiobtn" >&5
6392 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6393 if test "${enable_radiobtn+set}" = set; then
6394 enableval
="$enable_radiobtn"
6396 if test "$enableval" = yes; then
6397 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6399 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6404 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x
; then
6406 eval "DEFAULT_$LINE"
6411 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6416 eval "$ac_cv_use_radiobtn"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6421 if test "$wxUSE_RADIOBTN" = yes; then
6422 echo "$ac_t""yes" 1>&6
6424 echo "$ac_t""no" 1>&6
6428 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6429 echo "configure:6430: checking for --enable-sash" >&5
6431 # Check whether --enable-sash or --disable-sash was given.
6432 if test "${enable_sash+set}" = set; then
6433 enableval
="$enable_sash"
6435 if test "$enableval" = yes; then
6436 ac_cv_use_sash
='wxUSE_SASH=yes'
6438 ac_cv_use_sash
='wxUSE_SASH=no'
6443 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6444 if test "x$LINE" != x
; then
6445 eval "DEFAULT_$LINE"
6450 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6455 eval "$ac_cv_use_sash"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6460 if test "$wxUSE_SASH" = yes; then
6461 echo "$ac_t""yes" 1>&6
6463 echo "$ac_t""no" 1>&6
6467 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6468 echo "configure:6469: checking for --enable-scrollbar" >&5
6470 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6471 if test "${enable_scrollbar+set}" = set; then
6472 enableval
="$enable_scrollbar"
6474 if test "$enableval" = yes; then
6475 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6477 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6482 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6483 if test "x$LINE" != x
; then
6484 eval "DEFAULT_$LINE"
6489 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6494 eval "$ac_cv_use_scrollbar"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6499 if test "$wxUSE_SCROLLBAR" = yes; then
6500 echo "$ac_t""yes" 1>&6
6502 echo "$ac_t""no" 1>&6
6506 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6507 echo "configure:6508: checking for --enable-slider" >&5
6509 # Check whether --enable-slider or --disable-slider was given.
6510 if test "${enable_slider+set}" = set; then
6511 enableval
="$enable_slider"
6513 if test "$enableval" = yes; then
6514 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6516 ac_cv_use_slider
='wxUSE_SLIDER=no'
6521 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6522 if test "x$LINE" != x
; then
6523 eval "DEFAULT_$LINE"
6528 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6533 eval "$ac_cv_use_slider"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6538 if test "$wxUSE_SLIDER" = yes; then
6539 echo "$ac_t""yes" 1>&6
6541 echo "$ac_t""no" 1>&6
6545 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6546 echo "configure:6547: checking for --enable-spinbtn" >&5
6548 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6549 if test "${enable_spinbtn+set}" = set; then
6550 enableval
="$enable_spinbtn"
6552 if test "$enableval" = yes; then
6553 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6555 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6560 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6561 if test "x$LINE" != x
; then
6562 eval "DEFAULT_$LINE"
6567 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6572 eval "$ac_cv_use_spinbtn"
6573 if test "$no_cache" != 1; then
6574 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6577 if test "$wxUSE_SPINBTN" = yes; then
6578 echo "$ac_t""yes" 1>&6
6580 echo "$ac_t""no" 1>&6
6584 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6585 echo "configure:6586: checking for --enable-spinctrl" >&5
6587 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6588 if test "${enable_spinctrl+set}" = set; then
6589 enableval
="$enable_spinctrl"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6594 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6599 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x
; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6611 eval "$ac_cv_use_spinctrl"
6612 if test "$no_cache" != 1; then
6613 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6616 if test "$wxUSE_SPINCTRL" = yes; then
6617 echo "$ac_t""yes" 1>&6
6619 echo "$ac_t""no" 1>&6
6623 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6624 echo "configure:6625: checking for --enable-splitter" >&5
6626 # Check whether --enable-splitter or --disable-splitter was given.
6627 if test "${enable_splitter+set}" = set; then
6628 enableval
="$enable_splitter"
6630 if test "$enableval" = yes; then
6631 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6633 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6638 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6639 if test "x$LINE" != x
; then
6640 eval "DEFAULT_$LINE"
6645 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6650 eval "$ac_cv_use_splitter"
6651 if test "$no_cache" != 1; then
6652 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6655 if test "$wxUSE_SPLITTER" = yes; then
6656 echo "$ac_t""yes" 1>&6
6658 echo "$ac_t""no" 1>&6
6662 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6663 echo "configure:6664: checking for --enable-statbmp" >&5
6665 # Check whether --enable-statbmp or --disable-statbmp was given.
6666 if test "${enable_statbmp+set}" = set; then
6667 enableval
="$enable_statbmp"
6669 if test "$enableval" = yes; then
6670 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6672 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6677 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6678 if test "x$LINE" != x
; then
6679 eval "DEFAULT_$LINE"
6684 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6689 eval "$ac_cv_use_statbmp"
6690 if test "$no_cache" != 1; then
6691 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6694 if test "$wxUSE_STATBMP" = yes; then
6695 echo "$ac_t""yes" 1>&6
6697 echo "$ac_t""no" 1>&6
6701 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6702 echo "configure:6703: checking for --enable-statbox" >&5
6704 # Check whether --enable-statbox or --disable-statbox was given.
6705 if test "${enable_statbox+set}" = set; then
6706 enableval
="$enable_statbox"
6708 if test "$enableval" = yes; then
6709 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6711 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6716 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6717 if test "x$LINE" != x
; then
6718 eval "DEFAULT_$LINE"
6723 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6728 eval "$ac_cv_use_statbox"
6729 if test "$no_cache" != 1; then
6730 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6733 if test "$wxUSE_STATBOX" = yes; then
6734 echo "$ac_t""yes" 1>&6
6736 echo "$ac_t""no" 1>&6
6740 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6741 echo "configure:6742: checking for --enable-statline" >&5
6743 # Check whether --enable-statline or --disable-statline was given.
6744 if test "${enable_statline+set}" = set; then
6745 enableval
="$enable_statline"
6747 if test "$enableval" = yes; then
6748 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6750 ac_cv_use_statline
='wxUSE_STATLINE=no'
6755 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6756 if test "x$LINE" != x
; then
6757 eval "DEFAULT_$LINE"
6762 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6767 eval "$ac_cv_use_statline"
6768 if test "$no_cache" != 1; then
6769 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6772 if test "$wxUSE_STATLINE" = yes; then
6773 echo "$ac_t""yes" 1>&6
6775 echo "$ac_t""no" 1>&6
6779 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6780 echo "configure:6781: checking for --enable-stattext" >&5
6782 # Check whether --enable-stattext or --disable-stattext was given.
6783 if test "${enable_stattext+set}" = set; then
6784 enableval
="$enable_stattext"
6786 if test "$enableval" = yes; then
6787 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6789 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6794 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6795 if test "x$LINE" != x
; then
6796 eval "DEFAULT_$LINE"
6801 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6806 eval "$ac_cv_use_stattext"
6807 if test "$no_cache" != 1; then
6808 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6811 if test "$wxUSE_STATTEXT" = yes; then
6812 echo "$ac_t""yes" 1>&6
6814 echo "$ac_t""no" 1>&6
6818 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6819 echo "configure:6820: checking for --enable-statusbar" >&5
6821 # Check whether --enable-statusbar or --disable-statusbar was given.
6822 if test "${enable_statusbar+set}" = set; then
6823 enableval
="$enable_statusbar"
6825 if test "$enableval" = yes; then
6826 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6828 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6833 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x
; then
6835 eval "DEFAULT_$LINE"
6840 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6845 eval "$ac_cv_use_statusbar"
6846 if test "$no_cache" != 1; then
6847 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6850 if test "$wxUSE_STATUSBAR" = yes; then
6851 echo "$ac_t""yes" 1>&6
6853 echo "$ac_t""no" 1>&6
6857 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6858 echo "configure:6859: checking for --enable-tabdialog" >&5
6860 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6861 if test "${enable_tabdialog+set}" = set; then
6862 enableval
="$enable_tabdialog"
6864 if test "$enableval" = yes; then
6865 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6867 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6872 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x
; then
6874 eval "DEFAULT_$LINE"
6879 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6884 eval "$ac_cv_use_tabdialog"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6889 if test "$wxUSE_TABDIALOG" = yes; then
6890 echo "$ac_t""yes" 1>&6
6892 echo "$ac_t""no" 1>&6
6896 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6897 echo "configure:6898: checking for --enable-textctrl" >&5
6899 # Check whether --enable-textctrl or --disable-textctrl was given.
6900 if test "${enable_textctrl+set}" = set; then
6901 enableval
="$enable_textctrl"
6903 if test "$enableval" = yes; then
6904 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6906 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6911 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6912 if test "x$LINE" != x
; then
6913 eval "DEFAULT_$LINE"
6918 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6923 eval "$ac_cv_use_textctrl"
6924 if test "$no_cache" != 1; then
6925 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6928 if test "$wxUSE_TEXTCTRL" = yes; then
6929 echo "$ac_t""yes" 1>&6
6931 echo "$ac_t""no" 1>&6
6935 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6936 echo "configure:6937: checking for --enable-togglebtn" >&5
6938 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6939 if test "${enable_togglebtn+set}" = set; then
6940 enableval
="$enable_togglebtn"
6942 if test "$enableval" = yes; then
6943 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6945 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6950 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x
; then
6952 eval "DEFAULT_$LINE"
6957 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6962 eval "$ac_cv_use_togglebtn"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6967 if test "$wxUSE_TOGGLEBTN" = yes; then
6968 echo "$ac_t""yes" 1>&6
6970 echo "$ac_t""no" 1>&6
6974 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6975 echo "configure:6976: checking for --enable-toolbar" >&5
6977 # Check whether --enable-toolbar or --disable-toolbar was given.
6978 if test "${enable_toolbar+set}" = set; then
6979 enableval
="$enable_toolbar"
6981 if test "$enableval" = yes; then
6982 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6984 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6989 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x
; then
6991 eval "DEFAULT_$LINE"
6996 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7001 eval "$ac_cv_use_toolbar"
7002 if test "$no_cache" != 1; then
7003 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7006 if test "$wxUSE_TOOLBAR" = yes; then
7007 echo "$ac_t""yes" 1>&6
7009 echo "$ac_t""no" 1>&6
7013 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7014 echo "configure:7015: checking for --enable-tbarnative" >&5
7016 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7017 if test "${enable_tbarnative+set}" = set; then
7018 enableval
="$enable_tbarnative"
7020 if test "$enableval" = yes; then
7021 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7023 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7028 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7029 if test "x$LINE" != x
; then
7030 eval "DEFAULT_$LINE"
7035 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7040 eval "$ac_cv_use_tbarnative"
7041 if test "$no_cache" != 1; then
7042 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7045 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7046 echo "$ac_t""yes" 1>&6
7048 echo "$ac_t""no" 1>&6
7052 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7053 echo "configure:7054: checking for --enable-tbarsmpl" >&5
7055 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7056 if test "${enable_tbarsmpl+set}" = set; then
7057 enableval
="$enable_tbarsmpl"
7059 if test "$enableval" = yes; then
7060 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7062 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7067 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7068 if test "x$LINE" != x
; then
7069 eval "DEFAULT_$LINE"
7074 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7079 eval "$ac_cv_use_tbarsmpl"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7084 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7085 echo "$ac_t""yes" 1>&6
7087 echo "$ac_t""no" 1>&6
7091 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7092 echo "configure:7093: checking for --enable-treectrl" >&5
7094 # Check whether --enable-treectrl or --disable-treectrl was given.
7095 if test "${enable_treectrl+set}" = set; then
7096 enableval
="$enable_treectrl"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7101 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7106 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7118 eval "$ac_cv_use_treectrl"
7119 if test "$no_cache" != 1; then
7120 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7123 if test "$wxUSE_TREECTRL" = yes; then
7124 echo "$ac_t""yes" 1>&6
7126 echo "$ac_t""no" 1>&6
7130 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7131 echo "configure:7132: checking for --enable-tipwindow" >&5
7133 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7134 if test "${enable_tipwindow+set}" = set; then
7135 enableval
="$enable_tipwindow"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7140 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7145 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7157 eval "$ac_cv_use_tipwindow"
7158 if test "$no_cache" != 1; then
7159 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7162 if test "$wxUSE_TIPWINDOW" = yes; then
7163 echo "$ac_t""yes" 1>&6
7165 echo "$ac_t""no" 1>&6
7169 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7170 echo "configure:7171: checking for --enable-popupwin" >&5
7172 # Check whether --enable-popupwin or --disable-popupwin was given.
7173 if test "${enable_popupwin+set}" = set; then
7174 enableval
="$enable_popupwin"
7176 if test "$enableval" = yes; then
7177 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7179 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7184 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7185 if test "x$LINE" != x
; then
7186 eval "DEFAULT_$LINE"
7191 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7196 eval "$ac_cv_use_popupwin"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_POPUPWIN" = yes; then
7202 echo "$ac_t""yes" 1>&6
7204 echo "$ac_t""no" 1>&6
7210 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7211 echo "configure:7212: checking for --enable-commondlg" >&5
7213 # Check whether --enable-commondlg or --disable-commondlg was given.
7214 if test "${enable_commondlg+set}" = set; then
7215 enableval
="$enable_commondlg"
7217 if test "$enableval" = yes; then
7218 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7220 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7225 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7226 if test "x$LINE" != x
; then
7227 eval "DEFAULT_$LINE"
7232 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7237 eval "$ac_cv_use_commondlg"
7238 if test "$no_cache" != 1; then
7239 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7242 if test "$wxUSE_COMMONDLGS" = yes; then
7243 echo "$ac_t""yes" 1>&6
7245 echo "$ac_t""no" 1>&6
7249 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7250 echo "configure:7251: checking for --enable-choicedlg" >&5
7252 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7253 if test "${enable_choicedlg+set}" = set; then
7254 enableval
="$enable_choicedlg"
7256 if test "$enableval" = yes; then
7257 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7259 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7264 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x
; then
7266 eval "DEFAULT_$LINE"
7271 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7276 eval "$ac_cv_use_choicedlg"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7281 if test "$wxUSE_CHOICEDLG" = yes; then
7282 echo "$ac_t""yes" 1>&6
7284 echo "$ac_t""no" 1>&6
7288 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7289 echo "configure:7290: checking for --enable-coldlg" >&5
7291 # Check whether --enable-coldlg or --disable-coldlg was given.
7292 if test "${enable_coldlg+set}" = set; then
7293 enableval
="$enable_coldlg"
7295 if test "$enableval" = yes; then
7296 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7298 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7303 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7304 if test "x$LINE" != x
; then
7305 eval "DEFAULT_$LINE"
7310 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7315 eval "$ac_cv_use_coldlg"
7316 if test "$no_cache" != 1; then
7317 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7320 if test "$wxUSE_COLOURDLG" = yes; then
7321 echo "$ac_t""yes" 1>&6
7323 echo "$ac_t""no" 1>&6
7327 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7328 echo "configure:7329: checking for --enable-filedlg" >&5
7330 # Check whether --enable-filedlg or --disable-filedlg was given.
7331 if test "${enable_filedlg+set}" = set; then
7332 enableval
="$enable_filedlg"
7334 if test "$enableval" = yes; then
7335 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7337 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7342 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7343 if test "x$LINE" != x
; then
7344 eval "DEFAULT_$LINE"
7349 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7354 eval "$ac_cv_use_filedlg"
7355 if test "$no_cache" != 1; then
7356 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7359 if test "$wxUSE_FILEDLG" = yes; then
7360 echo "$ac_t""yes" 1>&6
7362 echo "$ac_t""no" 1>&6
7366 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7367 echo "configure:7368: checking for --enable-finddlg" >&5
7369 # Check whether --enable-finddlg or --disable-finddlg was given.
7370 if test "${enable_finddlg+set}" = set; then
7371 enableval
="$enable_finddlg"
7373 if test "$enableval" = yes; then
7374 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7376 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7381 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7382 if test "x$LINE" != x
; then
7383 eval "DEFAULT_$LINE"
7388 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7393 eval "$ac_cv_use_finddlg"
7394 if test "$no_cache" != 1; then
7395 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7398 if test "$wxUSE_FINDREPLDLG" = yes; then
7399 echo "$ac_t""yes" 1>&6
7401 echo "$ac_t""no" 1>&6
7405 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7406 echo "configure:7407: checking for --enable-fontdlg" >&5
7408 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7409 if test "${enable_fontdlg+set}" = set; then
7410 enableval
="$enable_fontdlg"
7412 if test "$enableval" = yes; then
7413 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7415 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7420 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7421 if test "x$LINE" != x
; then
7422 eval "DEFAULT_$LINE"
7427 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7432 eval "$ac_cv_use_fontdlg"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7437 if test "$wxUSE_FONTDLG" = yes; then
7438 echo "$ac_t""yes" 1>&6
7440 echo "$ac_t""no" 1>&6
7444 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7445 echo "configure:7446: checking for --enable-dirdlg" >&5
7447 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7448 if test "${enable_dirdlg+set}" = set; then
7449 enableval
="$enable_dirdlg"
7451 if test "$enableval" = yes; then
7452 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7454 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7459 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7460 if test "x$LINE" != x
; then
7461 eval "DEFAULT_$LINE"
7466 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7471 eval "$ac_cv_use_dirdlg"
7472 if test "$no_cache" != 1; then
7473 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7476 if test "$wxUSE_DIRDLG" = yes; then
7477 echo "$ac_t""yes" 1>&6
7479 echo "$ac_t""no" 1>&6
7483 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7484 echo "configure:7485: checking for --enable-msgdlg" >&5
7486 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7487 if test "${enable_msgdlg+set}" = set; then
7488 enableval
="$enable_msgdlg"
7490 if test "$enableval" = yes; then
7491 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7493 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7498 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7499 if test "x$LINE" != x
; then
7500 eval "DEFAULT_$LINE"
7505 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7510 eval "$ac_cv_use_msgdlg"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7515 if test "$wxUSE_MSGDLG" = yes; then
7516 echo "$ac_t""yes" 1>&6
7518 echo "$ac_t""no" 1>&6
7522 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7523 echo "configure:7524: checking for --enable-numberdlg" >&5
7525 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7526 if test "${enable_numberdlg+set}" = set; then
7527 enableval
="$enable_numberdlg"
7529 if test "$enableval" = yes; then
7530 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7532 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7537 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x
; then
7539 eval "DEFAULT_$LINE"
7544 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7549 eval "$ac_cv_use_numberdlg"
7550 if test "$no_cache" != 1; then
7551 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7554 if test "$wxUSE_NUMBERDLG" = yes; then
7555 echo "$ac_t""yes" 1>&6
7557 echo "$ac_t""no" 1>&6
7561 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7562 echo "configure:7563: checking for --enable-splash" >&5
7564 # Check whether --enable-splash or --disable-splash was given.
7565 if test "${enable_splash+set}" = set; then
7566 enableval
="$enable_splash"
7568 if test "$enableval" = yes; then
7569 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7571 ac_cv_use_splash
='wxUSE_SPLASH=no'
7576 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7577 if test "x$LINE" != x
; then
7578 eval "DEFAULT_$LINE"
7583 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7588 eval "$ac_cv_use_splash"
7589 if test "$no_cache" != 1; then
7590 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7593 if test "$wxUSE_SPLASH" = yes; then
7594 echo "$ac_t""yes" 1>&6
7596 echo "$ac_t""no" 1>&6
7600 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7601 echo "configure:7602: checking for --enable-textdlg" >&5
7603 # Check whether --enable-textdlg or --disable-textdlg was given.
7604 if test "${enable_textdlg+set}" = set; then
7605 enableval
="$enable_textdlg"
7607 if test "$enableval" = yes; then
7608 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7610 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7615 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7616 if test "x$LINE" != x
; then
7617 eval "DEFAULT_$LINE"
7622 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7627 eval "$ac_cv_use_textdlg"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7632 if test "$wxUSE_TEXTDLG" = yes; then
7633 echo "$ac_t""yes" 1>&6
7635 echo "$ac_t""no" 1>&6
7639 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7640 echo "configure:7641: checking for --enable-tipdlg" >&5
7642 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7643 if test "${enable_tipdlg+set}" = set; then
7644 enableval
="$enable_tipdlg"
7646 if test "$enableval" = yes; then
7647 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7649 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7654 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7655 if test "x$LINE" != x
; then
7656 eval "DEFAULT_$LINE"
7661 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7666 eval "$ac_cv_use_tipdlg"
7667 if test "$no_cache" != 1; then
7668 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7671 if test "$wxUSE_STARTUP_TIPS" = yes; then
7672 echo "$ac_t""yes" 1>&6
7674 echo "$ac_t""no" 1>&6
7678 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7679 echo "configure:7680: checking for --enable-progressdlg" >&5
7681 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7682 if test "${enable_progressdlg+set}" = set; then
7683 enableval
="$enable_progressdlg"
7685 if test "$enableval" = yes; then
7686 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7688 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7693 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7694 if test "x$LINE" != x
; then
7695 eval "DEFAULT_$LINE"
7700 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7705 eval "$ac_cv_use_progressdlg"
7706 if test "$no_cache" != 1; then
7707 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7710 if test "$wxUSE_PROGRESSDLG" = yes; then
7711 echo "$ac_t""yes" 1>&6
7713 echo "$ac_t""no" 1>&6
7717 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7718 echo "configure:7719: checking for --enable-wizarddlg" >&5
7720 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7721 if test "${enable_wizarddlg+set}" = set; then
7722 enableval
="$enable_wizarddlg"
7724 if test "$enableval" = yes; then
7725 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7727 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7732 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7733 if test "x$LINE" != x
; then
7734 eval "DEFAULT_$LINE"
7739 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7744 eval "$ac_cv_use_wizarddlg"
7745 if test "$no_cache" != 1; then
7746 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7749 if test "$wxUSE_WIZARDDLG" = yes; then
7750 echo "$ac_t""yes" 1>&6
7752 echo "$ac_t""no" 1>&6
7758 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7759 echo "configure:7760: checking for --enable-menus" >&5
7761 # Check whether --enable-menus or --disable-menus was given.
7762 if test "${enable_menus+set}" = set; then
7763 enableval
="$enable_menus"
7765 if test "$enableval" = yes; then
7766 ac_cv_use_menus
='wxUSE_MENUS=yes'
7768 ac_cv_use_menus
='wxUSE_MENUS=no'
7773 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x
; then
7775 eval "DEFAULT_$LINE"
7780 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7785 eval "$ac_cv_use_menus"
7786 if test "$no_cache" != 1; then
7787 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7790 if test "$wxUSE_MENUS" = yes; then
7791 echo "$ac_t""yes" 1>&6
7793 echo "$ac_t""no" 1>&6
7797 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7798 echo "configure:7799: checking for --enable-miniframe" >&5
7800 # Check whether --enable-miniframe or --disable-miniframe was given.
7801 if test "${enable_miniframe+set}" = set; then
7802 enableval
="$enable_miniframe"
7804 if test "$enableval" = yes; then
7805 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7807 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7812 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x
; then
7814 eval "DEFAULT_$LINE"
7819 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7824 eval "$ac_cv_use_miniframe"
7825 if test "$no_cache" != 1; then
7826 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7829 if test "$wxUSE_MINIFRAME" = yes; then
7830 echo "$ac_t""yes" 1>&6
7832 echo "$ac_t""no" 1>&6
7836 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7837 echo "configure:7838: checking for --enable-tooltips" >&5
7839 # Check whether --enable-tooltips or --disable-tooltips was given.
7840 if test "${enable_tooltips+set}" = set; then
7841 enableval
="$enable_tooltips"
7843 if test "$enableval" = yes; then
7844 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7846 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7851 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x
; then
7853 eval "DEFAULT_$LINE"
7858 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7863 eval "$ac_cv_use_tooltips"
7864 if test "$no_cache" != 1; then
7865 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7868 if test "$wxUSE_TOOLTIPS" = yes; then
7869 echo "$ac_t""yes" 1>&6
7871 echo "$ac_t""no" 1>&6
7875 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7876 echo "configure:7877: checking for --enable-splines" >&5
7878 # Check whether --enable-splines or --disable-splines was given.
7879 if test "${enable_splines+set}" = set; then
7880 enableval
="$enable_splines"
7882 if test "$enableval" = yes; then
7883 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7885 ac_cv_use_splines
='wxUSE_SPLINES=no'
7890 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7891 if test "x$LINE" != x
; then
7892 eval "DEFAULT_$LINE"
7897 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7902 eval "$ac_cv_use_splines"
7903 if test "$no_cache" != 1; then
7904 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7907 if test "$wxUSE_SPLINES" = yes; then
7908 echo "$ac_t""yes" 1>&6
7910 echo "$ac_t""no" 1>&6
7914 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7915 echo "configure:7916: checking for --enable-validators" >&5
7917 # Check whether --enable-validators or --disable-validators was given.
7918 if test "${enable_validators+set}" = set; then
7919 enableval
="$enable_validators"
7921 if test "$enableval" = yes; then
7922 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7924 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7929 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x
; then
7931 eval "DEFAULT_$LINE"
7936 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7941 eval "$ac_cv_use_validators"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7946 if test "$wxUSE_VALIDATORS" = yes; then
7947 echo "$ac_t""yes" 1>&6
7949 echo "$ac_t""no" 1>&6
7953 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7954 echo "configure:7955: checking for --enable-busyinfo" >&5
7956 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7957 if test "${enable_busyinfo+set}" = set; then
7958 enableval
="$enable_busyinfo"
7960 if test "$enableval" = yes; then
7961 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7963 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7968 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x
; then
7970 eval "DEFAULT_$LINE"
7975 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7980 eval "$ac_cv_use_busyinfo"
7981 if test "$no_cache" != 1; then
7982 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7985 if test "$wxUSE_BUSYINFO" = yes; then
7986 echo "$ac_t""yes" 1>&6
7988 echo "$ac_t""no" 1>&6
7992 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7993 echo "configure:7994: checking for --enable-joystick" >&5
7995 # Check whether --enable-joystick or --disable-joystick was given.
7996 if test "${enable_joystick+set}" = set; then
7997 enableval
="$enable_joystick"
7999 if test "$enableval" = yes; then
8000 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8002 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8007 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8008 if test "x$LINE" != x
; then
8009 eval "DEFAULT_$LINE"
8014 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8019 eval "$ac_cv_use_joystick"
8020 if test "$no_cache" != 1; then
8021 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8024 if test "$wxUSE_JOYSTICK" = yes; then
8025 echo "$ac_t""yes" 1>&6
8027 echo "$ac_t""no" 1>&6
8031 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8032 echo "configure:8033: checking for --enable-metafile" >&5
8034 # Check whether --enable-metafile or --disable-metafile was given.
8035 if test "${enable_metafile+set}" = set; then
8036 enableval
="$enable_metafile"
8038 if test "$enableval" = yes; then
8039 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8041 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8046 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8047 if test "x$LINE" != x
; then
8048 eval "DEFAULT_$LINE"
8053 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8058 eval "$ac_cv_use_metafile"
8059 if test "$no_cache" != 1; then
8060 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8063 if test "$wxUSE_METAFILE" = yes; then
8064 echo "$ac_t""yes" 1>&6
8066 echo "$ac_t""no" 1>&6
8070 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8071 echo "configure:8072: checking for --enable-dragimage" >&5
8073 # Check whether --enable-dragimage or --disable-dragimage was given.
8074 if test "${enable_dragimage+set}" = set; then
8075 enableval
="$enable_dragimage"
8077 if test "$enableval" = yes; then
8078 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8080 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8085 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8086 if test "x$LINE" != x
; then
8087 eval "DEFAULT_$LINE"
8092 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8097 eval "$ac_cv_use_dragimage"
8098 if test "$no_cache" != 1; then
8099 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8102 if test "$wxUSE_DRAGIMAGE" = yes; then
8103 echo "$ac_t""yes" 1>&6
8105 echo "$ac_t""no" 1>&6
8111 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8112 echo "configure:8113: checking for --enable-palette" >&5
8114 # Check whether --enable-palette or --disable-palette was given.
8115 if test "${enable_palette+set}" = set; then
8116 enableval
="$enable_palette"
8118 if test "$enableval" = yes; then
8119 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8121 ac_cv_use_palette
='wxUSE_PALETTE=no'
8126 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8127 if test "x$LINE" != x
; then
8128 eval "DEFAULT_$LINE"
8133 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8138 eval "$ac_cv_use_palette"
8139 if test "$no_cache" != 1; then
8140 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8143 if test "$wxUSE_PALETTE" = yes; then
8144 echo "$ac_t""yes" 1>&6
8146 echo "$ac_t""no" 1>&6
8150 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8151 echo "configure:8152: checking for --enable-image" >&5
8153 # Check whether --enable-image or --disable-image was given.
8154 if test "${enable_image+set}" = set; then
8155 enableval
="$enable_image"
8157 if test "$enableval" = yes; then
8158 ac_cv_use_image
='wxUSE_IMAGE=yes'
8160 ac_cv_use_image
='wxUSE_IMAGE=no'
8165 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x
; then
8167 eval "DEFAULT_$LINE"
8172 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8177 eval "$ac_cv_use_image"
8178 if test "$no_cache" != 1; then
8179 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8182 if test "$wxUSE_IMAGE" = yes; then
8183 echo "$ac_t""yes" 1>&6
8185 echo "$ac_t""no" 1>&6
8189 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8190 echo "configure:8191: checking for --enable-gif" >&5
8192 # Check whether --enable-gif or --disable-gif was given.
8193 if test "${enable_gif+set}" = set; then
8194 enableval
="$enable_gif"
8196 if test "$enableval" = yes; then
8197 ac_cv_use_gif
='wxUSE_GIF=yes'
8199 ac_cv_use_gif
='wxUSE_GIF=no'
8204 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8205 if test "x$LINE" != x
; then
8206 eval "DEFAULT_$LINE"
8211 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8216 eval "$ac_cv_use_gif"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8221 if test "$wxUSE_GIF" = yes; then
8222 echo "$ac_t""yes" 1>&6
8224 echo "$ac_t""no" 1>&6
8228 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8229 echo "configure:8230: checking for --enable-pcx" >&5
8231 # Check whether --enable-pcx or --disable-pcx was given.
8232 if test "${enable_pcx+set}" = set; then
8233 enableval
="$enable_pcx"
8235 if test "$enableval" = yes; then
8236 ac_cv_use_pcx
='wxUSE_PCX=yes'
8238 ac_cv_use_pcx
='wxUSE_PCX=no'
8243 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8244 if test "x$LINE" != x
; then
8245 eval "DEFAULT_$LINE"
8250 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8255 eval "$ac_cv_use_pcx"
8256 if test "$no_cache" != 1; then
8257 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8260 if test "$wxUSE_PCX" = yes; then
8261 echo "$ac_t""yes" 1>&6
8263 echo "$ac_t""no" 1>&6
8267 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8268 echo "configure:8269: checking for --enable-iff" >&5
8270 # Check whether --enable-iff or --disable-iff was given.
8271 if test "${enable_iff+set}" = set; then
8272 enableval
="$enable_iff"
8274 if test "$enableval" = yes; then
8275 ac_cv_use_iff
='wxUSE_IFF=yes'
8277 ac_cv_use_iff
='wxUSE_IFF=no'
8282 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8283 if test "x$LINE" != x
; then
8284 eval "DEFAULT_$LINE"
8289 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8294 eval "$ac_cv_use_iff"
8295 if test "$no_cache" != 1; then
8296 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8299 if test "$wxUSE_IFF" = yes; then
8300 echo "$ac_t""yes" 1>&6
8302 echo "$ac_t""no" 1>&6
8306 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8307 echo "configure:8308: checking for --enable-pnm" >&5
8309 # Check whether --enable-pnm or --disable-pnm was given.
8310 if test "${enable_pnm+set}" = set; then
8311 enableval
="$enable_pnm"
8313 if test "$enableval" = yes; then
8314 ac_cv_use_pnm
='wxUSE_PNM=yes'
8316 ac_cv_use_pnm
='wxUSE_PNM=no'
8321 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8322 if test "x$LINE" != x
; then
8323 eval "DEFAULT_$LINE"
8328 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8333 eval "$ac_cv_use_pnm"
8334 if test "$no_cache" != 1; then
8335 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8338 if test "$wxUSE_PNM" = yes; then
8339 echo "$ac_t""yes" 1>&6
8341 echo "$ac_t""no" 1>&6
8345 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8346 echo "configure:8347: checking for --enable-xpm" >&5
8348 # Check whether --enable-xpm or --disable-xpm was given.
8349 if test "${enable_xpm+set}" = set; then
8350 enableval
="$enable_xpm"
8352 if test "$enableval" = yes; then
8353 ac_cv_use_xpm
='wxUSE_XPM=yes'
8355 ac_cv_use_xpm
='wxUSE_XPM=no'
8360 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x
; then
8362 eval "DEFAULT_$LINE"
8367 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8372 eval "$ac_cv_use_xpm"
8373 if test "$no_cache" != 1; then
8374 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8377 if test "$wxUSE_XPM" = yes; then
8378 echo "$ac_t""yes" 1>&6
8380 echo "$ac_t""no" 1>&6
8384 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8385 echo "configure:8386: checking for --enable-ico_cur" >&5
8387 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8388 if test "${enable_ico_cur+set}" = set; then
8389 enableval
="$enable_ico_cur"
8391 if test "$enableval" = yes; then
8392 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8394 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8399 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8400 if test "x$LINE" != x
; then
8401 eval "DEFAULT_$LINE"
8406 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8411 eval "$ac_cv_use_ico_cur"
8412 if test "$no_cache" != 1; then
8413 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8416 if test "$wxUSE_ICO_CUR" = yes; then
8417 echo "$ac_t""yes" 1>&6
8419 echo "$ac_t""no" 1>&6
8426 echo "saving argument cache $wx_arg_cache_file"
8427 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8431 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8432 echo "configure:8433: checking for toolkit" >&5
8434 if test "$wxUSE_GUI" = "yes"; then
8436 if test "$USE_BEOS" = 1; then
8437 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8440 if test "$TOOLKIT_GIVEN" = 1; then
8441 for toolkit
in `echo $ALL_TOOLKITS`; do
8443 eval "value=\$${var}"
8444 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8447 for toolkit
in `echo $ALL_TOOLKITS`; do
8448 if test "$has_toolkit_in_cache" != 1; then
8449 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8451 var
=DEFAULT_wxUSE_
$toolkit
8453 eval "wxUSE_$toolkit=\$${var}"
8457 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8458 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8461 *-pc-os2_emx | *-pc-os2-emx )
8462 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8463 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8472 case "$NUM_TOOLKITS" in
8476 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8479 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8482 for toolkit
in `echo $ALL_TOOLKITS`; do
8484 eval "value=\$${var}"
8485 if test "x$value" != x
; then
8486 cache_var
=CACHE_
$toolkit
8487 eval "cache=\$${cache_var}"
8488 if test "$cache" = 1; then
8489 echo "$var=$value" >> ${wx_arg_cache_file}
8491 if test "$value" = 1; then
8492 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8493 echo "$ac_t""$toolkit_echo" 1>&6
8499 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8503 cat > confcache
<<\EOF
8504 # This file is a shell script that caches the results of configure
8505 # tests run on this system so they can be shared between configure
8506 # scripts and configure runs. It is not useful on other systems.
8507 # If it contains results you don't want to keep, you may remove or edit it.
8509 # By default, configure uses ./config.cache as the cache file,
8510 # creating it if it does not exist already. You can give configure
8511 # the --cache-file=FILE option to use a different cache file; that is
8512 # what configure does when it calls configure scripts in
8513 # subdirectories, so they share the cache.
8514 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8515 # config.status only pays attention to the cache file if you give it the
8516 # --recheck option to rerun configure.
8519 # The following way of writing the cache mishandles newlines in values,
8520 # but we know of no workaround that is simple, portable, and efficient.
8521 # So, don't put newlines in cache variables' values.
8522 # Ultrix sh set writes to stderr and can't be redirected directly,
8523 # and sets the high bit in the cache file unless we assign to the vars.
8525 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8527 # `set' does not quote correctly, so add quotes (double-quote substitution
8528 # turns \\\\ into \\, and sed turns \\ into \).
8530 -e "s/'/'\\\\''/g" \
8531 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8534 # `set' quotes correctly as required by POSIX, so do not add quotes.
8535 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8538 if cmp -s $cache_file confcache
; then
8541 if test -w $cache_file; then
8542 echo "updating cache $cache_file"
8543 cat confcache
> $cache_file
8545 echo "not updating unwritable cache $cache_file"
8551 if test "$build" != "$host" ; then
8552 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8556 RANLIB
=$host_alias-ranlib
8557 DLLTOOL
=$host_alias-dlltool
8558 RESCOMP
=$host_alias-windres
8561 STRIP
=$host_alias-strip
8563 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8567 # Extract the first word of "gcc", so it can be a program name with args.
8568 set dummy gcc
; ac_word
=$2
8569 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8570 echo "configure:8571: checking for $ac_word" >&5
8571 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8572 echo $ac_n "(cached) $ac_c" 1>&6
8574 if test -n "$CC"; then
8575 ac_cv_prog_CC
="$CC" # Let the user override the test.
8577 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8579 for ac_dir
in $ac_dummy; do
8580 test -z "$ac_dir" && ac_dir
=.
8581 if test -f $ac_dir/$ac_word; then
8590 if test -n "$CC"; then
8591 echo "$ac_t""$CC" 1>&6
8593 echo "$ac_t""no" 1>&6
8596 if test -z "$CC"; then
8597 # Extract the first word of "cc", so it can be a program name with args.
8598 set dummy cc
; ac_word
=$2
8599 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8600 echo "configure:8601: checking for $ac_word" >&5
8601 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8602 echo $ac_n "(cached) $ac_c" 1>&6
8604 if test -n "$CC"; then
8605 ac_cv_prog_CC
="$CC" # Let the user override the test.
8607 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8610 for ac_dir
in $ac_dummy; do
8611 test -z "$ac_dir" && ac_dir
=.
8612 if test -f $ac_dir/$ac_word; then
8613 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8614 ac_prog_rejected
=yes
8622 if test $ac_prog_rejected = yes; then
8623 # We found a bogon in the path, so make sure we never use it.
8624 set dummy
$ac_cv_prog_CC
8626 if test $# -gt 0; then
8627 # We chose a different compiler from the bogus one.
8628 # However, it has the same basename, so the bogon will be chosen
8629 # first if we set CC to just the basename; use the full file name.
8631 set dummy
"$ac_dir/$ac_word" "$@"
8639 if test -n "$CC"; then
8640 echo "$ac_t""$CC" 1>&6
8642 echo "$ac_t""no" 1>&6
8645 if test -z "$CC"; then
8646 case "`uname -s`" in
8648 # Extract the first word of "cl", so it can be a program name with args.
8649 set dummy cl
; ac_word
=$2
8650 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8651 echo "configure:8652: checking for $ac_word" >&5
8652 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8653 echo $ac_n "(cached) $ac_c" 1>&6
8655 if test -n "$CC"; then
8656 ac_cv_prog_CC
="$CC" # Let the user override the test.
8658 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8660 for ac_dir
in $ac_dummy; do
8661 test -z "$ac_dir" && ac_dir
=.
8662 if test -f $ac_dir/$ac_word; then
8671 if test -n "$CC"; then
8672 echo "$ac_t""$CC" 1>&6
8674 echo "$ac_t""no" 1>&6
8679 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8682 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8683 echo "configure:8684: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8687 ac_cpp
='$CPP $CPPFLAGS'
8688 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8689 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8690 cross_compiling
=$ac_cv_prog_cc_cross
8692 cat > conftest.
$ac_ext << EOF
8694 #line 8695 "configure"
8695 #include "confdefs.h"
8699 if { (eval echo configure
:8700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8700 ac_cv_prog_cc_works
=yes
8701 # If we can't run a trivial program, we are probably using a cross compiler.
8702 if (.
/conftest
; exit) 2>/dev
/null
; then
8703 ac_cv_prog_cc_cross
=no
8705 ac_cv_prog_cc_cross
=yes
8708 echo "configure: failed program was:" >&5
8709 cat conftest.
$ac_ext >&5
8710 ac_cv_prog_cc_works
=no
8714 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8715 ac_cpp
='$CPP $CPPFLAGS'
8716 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8717 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8718 cross_compiling
=$ac_cv_prog_cc_cross
8720 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8721 if test $ac_cv_prog_cc_works = no
; then
8722 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8724 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8725 echo "configure:8726: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8726 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8727 cross_compiling
=$ac_cv_prog_cc_cross
8729 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8730 echo "configure:8731: checking whether we are using GNU C" >&5
8731 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8732 echo $ac_n "(cached) $ac_c" 1>&6
8734 cat > conftest.c
<<EOF
8739 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8746 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8748 if test $ac_cv_prog_gcc = yes; then
8754 ac_test_CFLAGS
="${CFLAGS+set}"
8755 ac_save_CFLAGS
="$CFLAGS"
8757 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8758 echo "configure:8759: checking whether ${CC-cc} accepts -g" >&5
8759 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8760 echo $ac_n "(cached) $ac_c" 1>&6
8762 echo 'void f(){}' > conftest.c
8763 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8772 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8773 if test "$ac_test_CFLAGS" = set; then
8774 CFLAGS
="$ac_save_CFLAGS"
8775 elif test $ac_cv_prog_cc_g = yes; then
8776 if test "$GCC" = yes; then
8782 if test "$GCC" = yes; then
8790 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8792 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8793 echo "configure:8794: checking how to run the C preprocessor" >&5
8794 # On Suns, sometimes $CPP names a directory.
8795 if test -n "$CPP" && test -d "$CPP"; then
8798 if test -z "$CPP"; then
8799 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8800 echo $ac_n "(cached) $ac_c" 1>&6
8802 # This must be in double quotes, not single quotes, because CPP may get
8803 # substituted into the Makefile and "${CC-cc}" will confuse make.
8805 # On the NeXT, cc -E runs the code through the compiler's parser,
8806 # not just through cpp.
8807 cat > conftest.
$ac_ext <<EOF
8808 #line 8809 "configure"
8809 #include "confdefs.h"
8813 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8814 { (eval echo configure
:8815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8815 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8816 if test -z "$ac_err"; then
8820 echo "configure: failed program was:" >&5
8821 cat conftest.
$ac_ext >&5
8823 CPP
="${CC-cc} -E -traditional-cpp"
8824 cat > conftest.
$ac_ext <<EOF
8825 #line 8826 "configure"
8826 #include "confdefs.h"
8830 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8831 { (eval echo configure
:8832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8832 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8833 if test -z "$ac_err"; then
8837 echo "configure: failed program was:" >&5
8838 cat conftest.
$ac_ext >&5
8840 CPP
="${CC-cc} -nologo -E"
8841 cat > conftest.
$ac_ext <<EOF
8842 #line 8843 "configure"
8843 #include "confdefs.h"
8847 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8848 { (eval echo configure
:8849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8849 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8850 if test -z "$ac_err"; then
8854 echo "configure: failed program was:" >&5
8855 cat conftest.
$ac_ext >&5
8864 ac_cv_prog_CPP
="$CPP"
8866 CPP
="$ac_cv_prog_CPP"
8868 ac_cv_prog_CPP
="$CPP"
8870 echo "$ac_t""$CPP" 1>&6
8872 if test $ac_cv_prog_gcc = yes; then
8873 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8874 echo "configure:8875: checking whether ${CC-cc} needs -traditional" >&5
8875 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8876 echo $ac_n "(cached) $ac_c" 1>&6
8878 ac_pattern
="Autoconf.*'x'"
8879 cat > conftest.
$ac_ext <<EOF
8880 #line 8881 "configure"
8881 #include "confdefs.h"
8885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8886 egrep "$ac_pattern" >/dev
/null
2>&1; then
8888 ac_cv_prog_gcc_traditional
=yes
8891 ac_cv_prog_gcc_traditional
=no
8896 if test $ac_cv_prog_gcc_traditional = no
; then
8897 cat > conftest.
$ac_ext <<EOF
8898 #line 8899 "configure"
8899 #include "confdefs.h"
8903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8904 egrep "$ac_pattern" >/dev
/null
2>&1; then
8906 ac_cv_prog_gcc_traditional
=yes
8913 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8914 if test $ac_cv_prog_gcc_traditional = yes; then
8915 CC
="$CC -traditional"
8922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8923 ac_cpp
='$CXXCPP $CPPFLAGS'
8924 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8925 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8926 cross_compiling
=$ac_cv_prog_cxx_cross
8929 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8931 # Extract the first word of "$ac_prog", so it can be a program name with args.
8932 set dummy
$ac_prog; ac_word
=$2
8933 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8934 echo "configure:8935: checking for $ac_word" >&5
8935 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8936 echo $ac_n "(cached) $ac_c" 1>&6
8938 if test -n "$CXX"; then
8939 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8941 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8943 for ac_dir
in $ac_dummy; do
8944 test -z "$ac_dir" && ac_dir
=.
8945 if test -f $ac_dir/$ac_word; then
8946 ac_cv_prog_CXX
="$ac_prog"
8953 CXX
="$ac_cv_prog_CXX"
8954 if test -n "$CXX"; then
8955 echo "$ac_t""$CXX" 1>&6
8957 echo "$ac_t""no" 1>&6
8960 test -n "$CXX" && break
8962 test -n "$CXX" || CXX
="gcc"
8965 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8966 echo "configure:8967: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8970 ac_cpp
='$CXXCPP $CPPFLAGS'
8971 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8972 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8973 cross_compiling
=$ac_cv_prog_cxx_cross
8975 cat > conftest.
$ac_ext << EOF
8977 #line 8978 "configure"
8978 #include "confdefs.h"
8980 int main(){return(0);}
8982 if { (eval echo configure
:8983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8983 ac_cv_prog_cxx_works
=yes
8984 # If we can't run a trivial program, we are probably using a cross compiler.
8985 if (.
/conftest
; exit) 2>/dev
/null
; then
8986 ac_cv_prog_cxx_cross
=no
8988 ac_cv_prog_cxx_cross
=yes
8991 echo "configure: failed program was:" >&5
8992 cat conftest.
$ac_ext >&5
8993 ac_cv_prog_cxx_works
=no
8997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8998 ac_cpp
='$CXXCPP $CPPFLAGS'
8999 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9000 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9001 cross_compiling
=$ac_cv_prog_cxx_cross
9003 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9004 if test $ac_cv_prog_cxx_works = no
; then
9005 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9007 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9008 echo "configure:9009: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9009 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9010 cross_compiling
=$ac_cv_prog_cxx_cross
9012 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9013 echo "configure:9014: checking whether we are using GNU C++" >&5
9014 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9015 echo $ac_n "(cached) $ac_c" 1>&6
9017 cat > conftest.C
<<EOF
9022 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9029 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9031 if test $ac_cv_prog_gxx = yes; then
9037 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9038 ac_save_CXXFLAGS
="$CXXFLAGS"
9040 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9041 echo "configure:9042: checking whether ${CXX-g++} accepts -g" >&5
9042 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9043 echo $ac_n "(cached) $ac_c" 1>&6
9045 echo 'void f(){}' > conftest.cc
9046 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9047 ac_cv_prog_cxx_g
=yes
9055 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9056 if test "$ac_test_CXXFLAGS" = set; then
9057 CXXFLAGS
="$ac_save_CXXFLAGS"
9058 elif test $ac_cv_prog_cxx_g = yes; then
9059 if test "$GXX" = yes; then
9065 if test "$GXX" = yes; then
9073 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
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
9083 # Extract the first word of "ranlib", so it can be a program name with args.
9084 set dummy ranlib
; ac_word
=$2
9085 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9086 echo "configure:9087: checking for $ac_word" >&5
9087 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9088 echo $ac_n "(cached) $ac_c" 1>&6
9090 if test -n "$RANLIB"; then
9091 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9093 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9095 for ac_dir
in $ac_dummy; do
9096 test -z "$ac_dir" && ac_dir
=.
9097 if test -f $ac_dir/$ac_word; then
9098 ac_cv_prog_RANLIB
="ranlib"
9103 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9106 RANLIB
="$ac_cv_prog_RANLIB"
9107 if test -n "$RANLIB"; then
9108 echo "$ac_t""$RANLIB" 1>&6
9110 echo "$ac_t""no" 1>&6
9114 # Extract the first word of "ar", so it can be a program name with args.
9115 set dummy
ar; ac_word
=$2
9116 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9117 echo "configure:9118: checking for $ac_word" >&5
9118 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9119 echo $ac_n "(cached) $ac_c" 1>&6
9121 if test -n "$AR"; then
9122 ac_cv_prog_AR
="$AR" # Let the user override the test.
9124 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9126 for ac_dir
in $ac_dummy; do
9127 test -z "$ac_dir" && ac_dir
=.
9128 if test -f $ac_dir/$ac_word; then
9134 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9138 if test -n "$AR"; then
9139 echo "$ac_t""$AR" 1>&6
9141 echo "$ac_t""no" 1>&6
9145 # Find a good install program. We prefer a C program (faster),
9146 # so one script is as good as another. But avoid the broken or
9147 # incompatible versions:
9148 # SysV /etc/install, /usr/sbin/install
9149 # SunOS /usr/etc/install
9150 # IRIX /sbin/install
9152 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9153 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9154 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9155 # ./install, which can be erroneously created by make from ./install.sh.
9156 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9157 echo "configure:9158: checking for a BSD compatible install" >&5
9158 if test -z "$INSTALL"; then
9159 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9160 echo $ac_n "(cached) $ac_c" 1>&6
9162 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9163 for ac_dir
in $PATH; do
9164 # Account for people who put trailing slashes in PATH elements.
9166 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9168 # OSF1 and SCO ODT 3.0 have their own names for install.
9169 # Don't use installbsd from OSF since it installs stuff as root
9171 for ac_prog
in ginstall scoinst
install; do
9172 if test -f $ac_dir/$ac_prog; then
9173 if test $ac_prog = install &&
9174 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9175 # AIX install. It has an incompatible calling convention.
9178 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9189 if test "${ac_cv_path_install+set}" = set; then
9190 INSTALL
="$ac_cv_path_install"
9192 # As a last resort, use the slow shell script. We don't cache a
9193 # path for INSTALL within a source directory, because that will
9194 # break other packages using the cache if that directory is
9195 # removed, or if the path is relative.
9196 INSTALL
="$ac_install_sh"
9199 echo "$ac_t""$INSTALL" 1>&6
9201 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9202 # It thinks the first close brace ends the variable substitution.
9203 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9205 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9207 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9212 INSTALL_PROGRAM
="cp -fp"
9213 INSTALL_DATA
="cp -fp"
9219 # Extract the first word of "strip", so it can be a program name with args.
9220 set dummy strip
; ac_word
=$2
9221 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9222 echo "configure:9223: checking for $ac_word" >&5
9223 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9224 echo $ac_n "(cached) $ac_c" 1>&6
9226 if test -n "$STRIP"; then
9227 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9229 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9231 for ac_dir
in $ac_dummy; do
9232 test -z "$ac_dir" && ac_dir
=.
9233 if test -f $ac_dir/$ac_word; then
9234 ac_cv_prog_STRIP
="strip"
9239 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9242 STRIP
="$ac_cv_prog_STRIP"
9243 if test -n "$STRIP"; then
9244 echo "$ac_t""$STRIP" 1>&6
9246 echo "$ac_t""no" 1>&6
9250 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9251 echo "configure:9252: checking if make is GNU make" >&5
9252 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9253 echo $ac_n "(cached) $ac_c" 1>&6
9256 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9258 wx_cv_prog_makeisgnu
="yes"
9260 wx_cv_prog_makeisgnu
="no"
9265 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9267 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9275 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9276 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9277 echo "configure:9278: checking if make supports VPATH" >&5
9278 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9279 echo $ac_n "(cached) $ac_c" 1>&6
9282 cat - << EOF > confMake
9288 if test ! -d sub
; then
9291 echo dummy
> sub
/file
9292 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9294 rm -f sub
/file check final_file confMake
9296 if test "$RESULT" = 0; then
9297 wx_cv_prog_makevpath
="yes"
9299 wx_cv_prog_makevpath
="no"
9304 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9306 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9307 { echo "configure: error:
9308 You need a make-utility that is able to use the variable
9310 If your version of make does not support VPATH correctly,
9311 please install GNU-make (possibly as gmake), and start
9312 configure with the following command:
9313 export MAKE=gmake; ./configure for sh-type shells
9314 setenv MAKE gmake; ./configure for csh-type shells
9315 Also please do remember to use gmake in this case every time
9316 you are trying to compile.
9319 for ac_prog
in 'bison -y' byacc
9321 # Extract the first word of "$ac_prog", so it can be a program name with args.
9322 set dummy
$ac_prog; ac_word
=$2
9323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9324 echo "configure:9325: checking for $ac_word" >&5
9325 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9326 echo $ac_n "(cached) $ac_c" 1>&6
9328 if test -n "$YACC"; then
9329 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9331 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9333 for ac_dir
in $ac_dummy; do
9334 test -z "$ac_dir" && ac_dir
=.
9335 if test -f $ac_dir/$ac_word; then
9336 ac_cv_prog_YACC
="$ac_prog"
9343 YACC
="$ac_cv_prog_YACC"
9344 if test -n "$YACC"; then
9345 echo "$ac_t""$YACC" 1>&6
9347 echo "$ac_t""no" 1>&6
9350 test -n "$YACC" && break
9352 test -n "$YACC" || YACC
="yacc"
9355 # Extract the first word of "flex", so it can be a program name with args.
9356 set dummy flex
; ac_word
=$2
9357 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9358 echo "configure:9359: checking for $ac_word" >&5
9359 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9360 echo $ac_n "(cached) $ac_c" 1>&6
9362 if test -n "$LEX"; then
9363 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9365 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9367 for ac_dir
in $ac_dummy; do
9368 test -z "$ac_dir" && ac_dir
=.
9369 if test -f $ac_dir/$ac_word; then
9370 ac_cv_prog_LEX
="flex"
9375 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9378 LEX
="$ac_cv_prog_LEX"
9379 if test -n "$LEX"; then
9380 echo "$ac_t""$LEX" 1>&6
9382 echo "$ac_t""no" 1>&6
9385 if test -z "$LEXLIB"
9391 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9392 echo "configure:9393: checking for yywrap in -l$ac_lib" >&5
9393 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9394 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9395 echo $ac_n "(cached) $ac_c" 1>&6
9397 ac_save_LIBS
="$LIBS"
9398 LIBS
="-l$ac_lib $LIBS"
9399 cat > conftest.
$ac_ext <<EOF
9400 #line 9401 "configure"
9401 #include "confdefs.h"
9402 /* Override any gcc2 internal prototype to avoid an error. */
9403 /* We use char because int might match the return type of a gcc2
9404 builtin and then its argument prototype would still apply. */
9411 if { (eval echo configure
:9412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9413 eval "ac_cv_lib_$ac_lib_var=yes"
9415 echo "configure: failed program was:" >&5
9416 cat conftest.
$ac_ext >&5
9418 eval "ac_cv_lib_$ac_lib_var=no"
9421 LIBS
="$ac_save_LIBS"
9424 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9425 echo "$ac_t""yes" 1>&6
9428 echo "$ac_t""no" 1>&6
9434 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9435 echo "configure:9436: checking whether ln -s works" >&5
9436 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9437 echo $ac_n "(cached) $ac_c" 1>&6
9440 if ln -s X conftestdata
2>/dev
/null
9443 ac_cv_prog_LN_S
="ln -s"
9448 LN_S
="$ac_cv_prog_LN_S"
9449 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9450 echo "$ac_t""yes" 1>&6
9452 echo "$ac_t""no" 1>&6
9458 /usr/local/include \
9460 /usr/Motif-1.2/include \
9461 /usr/Motif-2.1/include \
9463 /usr/include/Motif1.2 \
9464 /opt/xpm/include/X11 \
9465 /opt/GBxpm/include/ \
9466 /opt/GBxpm/X11/include/ \
9468 /usr/Motif1.2/include \
9470 /usr/openwin/include \
9474 /usr/X11R6/include \
9475 /usr/X11R6.4/include \
9476 /usr/X11R5/include \
9477 /usr/X11R4/include \
9479 /usr/include/X11R6 \
9480 /usr/include/X11R5 \
9481 /usr/include/X11R4 \
9483 /usr/local/X11R6/include \
9484 /usr/local/X11R5/include \
9485 /usr/local/X11R4/include \
9487 /usr/local/include/X11R6 \
9488 /usr/local/include/X11R5 \
9489 /usr/local/include/X11R4 \
9493 /usr/local/X11/include \
9494 /usr/local/include/X11 \
9498 /usr/XFree86/include/X11 \
9500 X:/XFree86/include \
9501 X:/XFree86/include/X11 \
9504 /usr/local/include/gtk \
9506 /usr/local/include/glib \
9509 /usr/local/include/qt \
9511 /usr/include/windows \
9513 /usr/local/include/wine \
9515 /usr/unsupported/include \
9516 /usr/athena/include \
9517 /usr/local/x11r5/include \
9518 /usr/lpp/Xamples/include \
9520 /usr/openwin/share/include \
9524 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9527 cat > confcache
<<\EOF
9528 # This file is a shell script that caches the results of configure
9529 # tests run on this system so they can be shared between configure
9530 # scripts and configure runs. It is not useful on other systems.
9531 # If it contains results you don't want to keep, you may remove or edit it.
9533 # By default, configure uses ./config.cache as the cache file,
9534 # creating it if it does not exist already. You can give configure
9535 # the --cache-file=FILE option to use a different cache file; that is
9536 # what configure does when it calls configure scripts in
9537 # subdirectories, so they share the cache.
9538 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9539 # config.status only pays attention to the cache file if you give it the
9540 # --recheck option to rerun configure.
9543 # The following way of writing the cache mishandles newlines in values,
9544 # but we know of no workaround that is simple, portable, and efficient.
9545 # So, don't put newlines in cache variables' values.
9546 # Ultrix sh set writes to stderr and can't be redirected directly,
9547 # and sets the high bit in the cache file unless we assign to the vars.
9549 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9551 # `set' does not quote correctly, so add quotes (double-quote substitution
9552 # turns \\\\ into \\, and sed turns \\ into \).
9554 -e "s/'/'\\\\''/g" \
9555 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9558 # `set' quotes correctly as required by POSIX, so do not add quotes.
9559 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9562 if cmp -s $cache_file confcache
; then
9565 if test -w $cache_file; then
9566 echo "updating cache $cache_file"
9567 cat confcache
> $cache_file
9569 echo "not updating unwritable cache $cache_file"
9578 if test "$wxUSE_REGEX" != "no"; then
9579 cat >> confdefs.h
<<\EOF
9580 #define wxUSE_REGEX 1
9584 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9585 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9586 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9587 echo "configure:9588: checking for regex.h" >&5
9588 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9589 echo $ac_n "(cached) $ac_c" 1>&6
9591 cat > conftest.
$ac_ext <<EOF
9592 #line 9593 "configure"
9593 #include "confdefs.h"
9596 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9597 { (eval echo configure
:9598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9598 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9599 if test -z "$ac_err"; then
9601 eval "ac_cv_header_$ac_safe=yes"
9604 echo "configure: failed program was:" >&5
9605 cat conftest.
$ac_ext >&5
9607 eval "ac_cv_header_$ac_safe=no"
9611 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9612 echo "$ac_t""yes" 1>&6
9613 for ac_func
in regcomp
9615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9616 echo "configure:9617: checking for $ac_func" >&5
9617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9618 echo $ac_n "(cached) $ac_c" 1>&6
9620 cat > conftest.
$ac_ext <<EOF
9621 #line 9622 "configure"
9622 #include "confdefs.h"
9623 /* System header to define __stub macros and hopefully few prototypes,
9624 which can conflict with char $ac_func(); below. */
9626 /* Override any gcc2 internal prototype to avoid an error. */
9627 /* We use char because int might match the return type of a gcc2
9628 builtin and then its argument prototype would still apply. */
9633 /* The GNU C library defines this for functions which it implements
9634 to always fail with ENOSYS. Some functions are actually named
9635 something starting with __ and the normal name is an alias. */
9636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9644 if { (eval echo configure
:9645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9646 eval "ac_cv_func_$ac_func=yes"
9648 echo "configure: failed program was:" >&5
9649 cat conftest.
$ac_ext >&5
9651 eval "ac_cv_func_$ac_func=no"
9656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9657 echo "$ac_t""yes" 1>&6
9658 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9659 cat >> confdefs.h
<<EOF
9660 #define $ac_tr_func 1
9664 echo "$ac_t""no" 1>&6
9669 echo "$ac_t""no" 1>&6
9673 if test "x$ac_cv_func_regcomp" != "xyes"; then
9674 if test "$wxUSE_REGEX" = "sys" ; then
9675 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9677 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9685 if test "$wxUSE_REGEX" = "builtin" ; then
9686 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9693 if test "$wxUSE_ZLIB" != "no" ; then
9694 cat >> confdefs.h
<<\EOF
9695 #define wxUSE_ZLIB 1
9699 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9700 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9701 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9702 echo "configure:9703: checking for zlib.h" >&5
9703 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9704 echo $ac_n "(cached) $ac_c" 1>&6
9706 cat > conftest.
$ac_ext <<EOF
9707 #line 9708 "configure"
9708 #include "confdefs.h"
9711 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9712 { (eval echo configure
:9713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9713 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9714 if test -z "$ac_err"; then
9716 eval "ac_cv_header_$ac_safe=yes"
9719 echo "configure: failed program was:" >&5
9720 cat conftest.
$ac_ext >&5
9722 eval "ac_cv_header_$ac_safe=no"
9726 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9727 echo "$ac_t""yes" 1>&6
9728 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9729 echo "configure:9730: checking for deflate in -lz" >&5
9730 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9732 echo $ac_n "(cached) $ac_c" 1>&6
9734 ac_save_LIBS
="$LIBS"
9736 cat > conftest.
$ac_ext <<EOF
9737 #line 9738 "configure"
9738 #include "confdefs.h"
9739 /* Override any gcc2 internal prototype to avoid an error. */
9740 /* We use char because int might match the return type of a gcc2
9741 builtin and then its argument prototype would still apply. */
9748 if { (eval echo configure
:9749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9750 eval "ac_cv_lib_$ac_lib_var=yes"
9752 echo "configure: failed program was:" >&5
9753 cat conftest.
$ac_ext >&5
9755 eval "ac_cv_lib_$ac_lib_var=no"
9758 LIBS
="$ac_save_LIBS"
9761 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9762 echo "$ac_t""yes" 1>&6
9765 echo "$ac_t""no" 1>&6
9769 echo "$ac_t""no" 1>&6
9773 if test "x$ZLIB_LINK" = "x" ; then
9774 if test "$wxUSE_ZLIB" = "sys" ; then
9775 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9777 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9785 if test "$wxUSE_ZLIB" = "builtin" ; then
9786 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9793 if test "$wxUSE_LIBPNG" != "no" ; then
9794 cat >> confdefs.h
<<\EOF
9795 #define wxUSE_LIBPNG 1
9799 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
9800 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
9804 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9805 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9806 wxUSE_LIBPNG
=builtin
9809 if test "$wxUSE_MGL" != 1 ; then
9810 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9811 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9812 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9813 echo "configure:9814: checking for png.h" >&5
9814 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9815 echo $ac_n "(cached) $ac_c" 1>&6
9817 cat > conftest.
$ac_ext <<EOF
9818 #line 9819 "configure"
9819 #include "confdefs.h"
9822 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9823 { (eval echo configure
:9824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9824 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9825 if test -z "$ac_err"; then
9827 eval "ac_cv_header_$ac_safe=yes"
9830 echo "configure: failed program was:" >&5
9831 cat conftest.
$ac_ext >&5
9833 eval "ac_cv_header_$ac_safe=no"
9837 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9838 echo "$ac_t""yes" 1>&6
9839 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9840 echo "configure:9841: checking for png_check_sig in -lpng" >&5
9841 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9842 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9843 echo $ac_n "(cached) $ac_c" 1>&6
9845 ac_save_LIBS
="$LIBS"
9846 LIBS
="-lpng -lz -lm $LIBS"
9847 cat > conftest.
$ac_ext <<EOF
9848 #line 9849 "configure"
9849 #include "confdefs.h"
9850 /* Override any gcc2 internal prototype to avoid an error. */
9851 /* We use char because int might match the return type of a gcc2
9852 builtin and then its argument prototype would still apply. */
9853 char png_check_sig();
9859 if { (eval echo configure
:9860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9861 eval "ac_cv_lib_$ac_lib_var=yes"
9863 echo "configure: failed program was:" >&5
9864 cat conftest.
$ac_ext >&5
9866 eval "ac_cv_lib_$ac_lib_var=no"
9869 LIBS
="$ac_save_LIBS"
9872 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9873 echo "$ac_t""yes" 1>&6
9876 echo "$ac_t""no" 1>&6
9881 echo "$ac_t""no" 1>&6
9885 if test "x$PNG_LINK" = "x" ; then
9886 if test "$wxUSE_LIBPNG" = "sys" ; then
9887 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9889 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9890 wxUSE_LIBPNG
=builtin
9898 if test "$wxUSE_LIBPNG" = "builtin" ; then
9899 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9908 if test "$wxUSE_LIBJPEG" != "no" ; then
9909 cat >> confdefs.h
<<\EOF
9910 #define wxUSE_LIBJPEG 1
9914 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
9915 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
9919 if test "$wxUSE_MGL" != 1 ; then
9920 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9921 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9922 echo "configure:9923: checking for jpeglib.h" >&5
9923 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9924 echo $ac_n "(cached) $ac_c" 1>&6
9926 cat > conftest.
$ac_ext <<EOF
9927 #line 9928 "configure"
9928 #include "confdefs.h"
9930 #undef HAVE_STDLIB_H
9932 #include <jpeglib.h>
9939 if { (eval echo configure
:9940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9941 ac_cv_header_jpeglib_h
=yes
9943 echo "configure: failed program was:" >&5
9944 cat conftest.
$ac_ext >&5
9946 ac_cv_header_jpeglib_h
=no
9953 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9955 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9956 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9957 echo "configure:9958: checking for jpeg_read_header in -ljpeg" >&5
9958 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9959 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9960 echo $ac_n "(cached) $ac_c" 1>&6
9962 ac_save_LIBS
="$LIBS"
9964 cat > conftest.
$ac_ext <<EOF
9965 #line 9966 "configure"
9966 #include "confdefs.h"
9967 /* Override any gcc2 internal prototype to avoid an error. */
9968 /* We use char because int might match the return type of a gcc2
9969 builtin and then its argument prototype would still apply. */
9970 char jpeg_read_header();
9976 if { (eval echo configure
:9977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9978 eval "ac_cv_lib_$ac_lib_var=yes"
9980 echo "configure: failed program was:" >&5
9981 cat conftest.
$ac_ext >&5
9983 eval "ac_cv_lib_$ac_lib_var=no"
9986 LIBS
="$ac_save_LIBS"
9989 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9990 echo "$ac_t""yes" 1>&6
9993 echo "$ac_t""no" 1>&6
9998 if test "x$JPEG_LINK" = "x" ; then
9999 if test "$wxUSE_LIBJPEG" = "sys" ; then
10000 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
10002 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
10003 wxUSE_LIBJPEG
=builtin
10011 if test "$wxUSE_LIBJPEG" = "builtin" ; then
10012 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10019 if test "$wxUSE_LIBTIFF" != "no" ; then
10020 cat >> confdefs.h
<<\EOF
10021 #define wxUSE_LIBTIFF 1
10025 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
10026 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10027 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10028 echo "configure:10029: checking for tiffio.h" >&5
10029 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10030 echo $ac_n "(cached) $ac_c" 1>&6
10032 cat > conftest.
$ac_ext <<EOF
10033 #line 10034 "configure"
10034 #include "confdefs.h"
10035 #include <tiffio.h>
10037 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10038 { (eval echo configure
:10039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10039 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10040 if test -z "$ac_err"; then
10042 eval "ac_cv_header_$ac_safe=yes"
10045 echo "configure: failed program was:" >&5
10046 cat conftest.
$ac_ext >&5
10048 eval "ac_cv_header_$ac_safe=no"
10052 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10053 echo "$ac_t""yes" 1>&6
10054 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
10055 echo "configure:10056: checking for TIFFError in -ltiff" >&5
10056 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
10057 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10058 echo $ac_n "(cached) $ac_c" 1>&6
10060 ac_save_LIBS
="$LIBS"
10061 LIBS
="-ltiff -lm $LIBS"
10062 cat > conftest.
$ac_ext <<EOF
10063 #line 10064 "configure"
10064 #include "confdefs.h"
10065 /* Override any gcc2 internal prototype to avoid an error. */
10066 /* We use char because int might match the return type of a gcc2
10067 builtin and then its argument prototype would still apply. */
10074 if { (eval echo configure
:10075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10076 eval "ac_cv_lib_$ac_lib_var=yes"
10078 echo "configure: failed program was:" >&5
10079 cat conftest.
$ac_ext >&5
10081 eval "ac_cv_lib_$ac_lib_var=no"
10084 LIBS
="$ac_save_LIBS"
10087 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10088 echo "$ac_t""yes" 1>&6
10089 TIFF_LINK
=" -ltiff"
10091 echo "$ac_t""no" 1>&6
10096 echo "$ac_t""no" 1>&6
10100 if test "x$TIFF_LINK" = "x" ; then
10101 if test "$wxUSE_LIBTIFF" = "sys" ; then
10102 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10104 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10105 wxUSE_LIBTIFF
=builtin
10112 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10113 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
10124 if test "$USE_WIN32" = 1 ; then
10125 for ac_hdr
in w32api.h
10127 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10128 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10129 echo "configure:10130: checking for $ac_hdr" >&5
10130 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10131 echo $ac_n "(cached) $ac_c" 1>&6
10133 cat > conftest.
$ac_ext <<EOF
10134 #line 10135 "configure"
10135 #include "confdefs.h"
10138 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10139 { (eval echo configure
:10140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10140 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10141 if test -z "$ac_err"; then
10143 eval "ac_cv_header_$ac_safe=yes"
10146 echo "configure: failed program was:" >&5
10147 cat conftest.
$ac_ext >&5
10149 eval "ac_cv_header_$ac_safe=no"
10153 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10154 echo "$ac_t""yes" 1>&6
10155 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10156 cat >> confdefs.h
<<EOF
10157 #define $ac_tr_hdr 1
10161 echo "$ac_t""no" 1>&6
10165 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10166 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10167 echo "configure:10168: checking for windows.h" >&5
10168 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10169 echo $ac_n "(cached) $ac_c" 1>&6
10171 cat > conftest.
$ac_ext <<EOF
10172 #line 10173 "configure"
10173 #include "confdefs.h"
10174 #include <windows.h>
10176 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10177 { (eval echo configure
:10178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10178 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10179 if test -z "$ac_err"; then
10181 eval "ac_cv_header_$ac_safe=yes"
10184 echo "configure: failed program was:" >&5
10185 cat conftest.
$ac_ext >&5
10187 eval "ac_cv_header_$ac_safe=no"
10191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10192 echo "$ac_t""yes" 1>&6
10195 echo "$ac_t""no" 1>&6
10197 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10202 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10203 echo "configure:10204: checking if w32api has good enough MSIE support" >&5
10204 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10205 echo $ac_n "(cached) $ac_c" 1>&6
10208 cat > conftest.
$ac_ext <<EOF
10209 #line 10210 "configure"
10210 #include "confdefs.h"
10211 #include <w32api.h>
10214 #define wxCHECK_W32API_VERSION( major, minor ) \
10215 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10216 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10217 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10219 #if !wxCHECK_W32API_VERSION(1,1)
10220 #error You need w32api 1.1 or newer
10225 if { (eval echo configure
:10226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10228 wx_cv_w32api_win32_ie
=yes
10231 echo "configure: failed program was:" >&5
10232 cat conftest.
$ac_ext >&5
10235 wx_cv_w32api_win32_ie
=no
10242 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10243 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10244 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10247 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10251 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10252 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10255 if test "$wxUSE_ODBC" = "yes" ; then
10256 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10259 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10260 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10263 if test "$wxUSE_GUI" = "yes"; then
10272 if test "$wxUSE_MSW" = 1 ; then
10278 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10282 if test "$wxUSE_GTK" = 1; then
10283 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10284 echo "configure:10285: checking for GTK+ version" >&5
10286 gtk_version_cached
=1
10287 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10288 echo $ac_n "(cached) $ac_c" 1>&6
10291 gtk_version_cached
=0
10292 echo "$ac_t""" 1>&6
10295 if test "$wxUSE_THREADS" = "yes"; then
10296 GTK_MODULES
=gthread
10300 if test "x$wxUSE_GTK2" = "xyes"; then
10301 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10302 if test "${with_gtk_prefix+set}" = set; then
10303 withval
="$with_gtk_prefix"
10304 gtk_config_prefix
="$withval"
10306 gtk_config_prefix
=""
10309 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10310 if test "${with_gtk_exec_prefix+set}" = set; then
10311 withval
="$with_gtk_exec_prefix"
10312 gtk_config_exec_prefix
="$withval"
10314 gtk_config_exec_prefix
=""
10317 # Check whether --enable-gtktest or --disable-gtktest was given.
10318 if test "${enable_gtktest+set}" = set; then
10319 enableval
="$enable_gtktest"
10326 for module
in .
$GTK_MODULES
10330 gtk_config_args
="$gtk_config_args gthread"
10335 if test x
$gtk_config_exec_prefix != x
; then
10336 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10337 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10338 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
10341 if test x
$gtk_config_prefix != x
; then
10342 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10343 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10344 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
10348 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10349 set dummy gtk
-config-2.0
; ac_word
=$2
10350 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10351 echo "configure:10352: checking for $ac_word" >&5
10352 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10353 echo $ac_n "(cached) $ac_c" 1>&6
10355 case "$GTK_CONFIG_2_0" in
10357 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10360 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10363 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10365 for ac_dir
in $ac_dummy; do
10366 test -z "$ac_dir" && ac_dir
=.
10367 if test -f $ac_dir/$ac_word; then
10368 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
10373 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
10377 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
10378 if test -n "$GTK_CONFIG_2_0"; then
10379 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10381 echo "$ac_t""no" 1>&6
10384 min_gtk_version
=1.3.1
10385 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10386 echo "configure:10387: checking for GTK - version >= $min_gtk_version" >&5
10388 if test "$GTK_CONFIG_2_0" = "no" ; then
10391 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10392 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10393 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10395 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10397 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10399 if test "x$enable_gtktest" = "xyes" ; then
10400 ac_save_CFLAGS
="$CFLAGS"
10401 ac_save_LIBS
="$LIBS"
10402 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10403 LIBS
="$GTK_LIBS $LIBS"
10405 if test "$cross_compiling" = yes; then
10406 echo $ac_n "cross compiling; assumed OK... $ac_c"
10408 cat > conftest.
$ac_ext <<EOF
10409 #line 10410 "configure"
10410 #include "confdefs.h"
10412 #include <gtk/gtk.h>
10414 #include <stdlib.h>
10419 int major, minor, micro;
10422 system ("touch conf.gtktest");
10424 /* HP/UX 9 (%@#!) writes to sscanf strings */
10425 tmp_version = g_strdup("$min_gtk_version");
10426 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10427 printf("%s, bad version string\n", "$min_gtk_version");
10431 if ((gtk_major_version != $gtk_config_major_version) ||
10432 (gtk_minor_version != $gtk_config_minor_version) ||
10433 (gtk_micro_version != $gtk_config_micro_version))
10435 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10436 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10437 gtk_major_version, gtk_minor_version, gtk_micro_version);
10438 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10439 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10440 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10441 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10442 printf("*** required on your system.\n");
10443 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10444 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10445 printf("*** before re-running configure\n");
10447 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10448 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10449 (gtk_minor_version != GTK_MINOR_VERSION) ||
10450 (gtk_micro_version != GTK_MICRO_VERSION))
10452 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10453 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10454 printf("*** library (version %d.%d.%d)\n",
10455 gtk_major_version, gtk_minor_version, gtk_micro_version);
10457 #endif /* defined (GTK_MAJOR_VERSION) ... */
10460 if ((gtk_major_version > major) ||
10461 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10462 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10468 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10469 gtk_major_version, gtk_minor_version, gtk_micro_version);
10470 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10471 major, minor, micro);
10472 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10474 printf("*** If you have already installed a sufficiently new version, this error\n");
10475 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10476 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10477 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10478 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10479 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10480 printf("*** so that the correct libraries are found at run-time))\n");
10487 if { (eval echo configure
:10488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10491 echo "configure: failed program was:" >&5
10492 cat conftest.
$ac_ext >&5
10499 CFLAGS
="$ac_save_CFLAGS"
10500 LIBS
="$ac_save_LIBS"
10503 if test "x$no_gtk" = x
; then
10504 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10507 echo "$ac_t""no" 1>&6
10508 if test "$GTK_CONFIG_2_0" = "no" ; then
10509 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10510 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10511 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10512 echo "*** full path to gtk-config-2.0."
10514 if test -f conf.gtktest
; then
10517 echo "*** Could not run GTK test program, checking why..."
10518 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10519 LIBS
="$LIBS $GTK_LIBS"
10520 cat > conftest.
$ac_ext <<EOF
10521 #line 10522 "configure"
10522 #include "confdefs.h"
10524 #include <gtk/gtk.h>
10528 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10531 if { (eval echo configure
:10532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10533 echo "*** The test program compiled, but did not run. This usually means"
10534 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10535 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10536 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10537 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10538 echo "*** is required on your system"
10540 echo "*** If you have an old version installed, it is best to remove it, although"
10541 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10543 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10544 echo "*** came with the system with the command"
10546 echo "*** rpm --erase --nodeps gtk gtk-devel"
10548 echo "configure: failed program was:" >&5
10549 cat conftest.
$ac_ext >&5
10551 echo "*** The test program failed to compile or link. See the file config.log for the"
10552 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10553 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10554 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10557 CFLAGS
="$ac_save_CFLAGS"
10558 LIBS
="$ac_save_LIBS"
10571 if test -z "$wx_cv_lib_gtk"; then
10572 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10573 if test "${with_gtk_prefix+set}" = set; then
10574 withval
="$with_gtk_prefix"
10575 gtk_config_prefix
="$withval"
10577 gtk_config_prefix
=""
10580 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10581 if test "${with_gtk_exec_prefix+set}" = set; then
10582 withval
="$with_gtk_exec_prefix"
10583 gtk_config_exec_prefix
="$withval"
10585 gtk_config_exec_prefix
=""
10588 # Check whether --enable-gtktest or --disable-gtktest was given.
10589 if test "${enable_gtktest+set}" = set; then
10590 enableval
="$enable_gtktest"
10597 for module
in .
$GTK_MODULES
10601 gtk_config_args
="$gtk_config_args gthread"
10606 if test x
$gtk_config_exec_prefix != x
; then
10607 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10608 if test x
${GTK_CONFIG+set} != xset
; then
10609 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10612 if test x
$gtk_config_prefix != x
; then
10613 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10614 if test x
${GTK_CONFIG+set} != xset
; then
10615 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10619 # Extract the first word of "gtk-config", so it can be a program name with args.
10620 set dummy gtk
-config; ac_word
=$2
10621 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10622 echo "configure:10623: checking for $ac_word" >&5
10623 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10624 echo $ac_n "(cached) $ac_c" 1>&6
10626 case "$GTK_CONFIG" in
10628 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10631 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10634 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10636 for ac_dir
in $ac_dummy; do
10637 test -z "$ac_dir" && ac_dir
=.
10638 if test -f $ac_dir/$ac_word; then
10639 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10644 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10648 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10649 if test -n "$GTK_CONFIG"; then
10650 echo "$ac_t""$GTK_CONFIG" 1>&6
10652 echo "$ac_t""no" 1>&6
10655 min_gtk_version
=1.2.7
10656 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10657 echo "configure:10658: checking for GTK - version >= $min_gtk_version" >&5
10659 if test "$GTK_CONFIG" = "no" ; then
10662 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10663 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10664 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10666 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10667 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10668 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10669 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10670 if test "x$enable_gtktest" = "xyes" ; then
10671 ac_save_CFLAGS
="$CFLAGS"
10672 ac_save_LIBS
="$LIBS"
10673 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10674 LIBS
="$GTK_LIBS $LIBS"
10676 if test "$cross_compiling" = yes; then
10677 echo $ac_n "cross compiling; assumed OK... $ac_c"
10679 cat > conftest.
$ac_ext <<EOF
10680 #line 10681 "configure"
10681 #include "confdefs.h"
10683 #include <gtk/gtk.h>
10685 #include <stdlib.h>
10690 int major, minor, micro;
10693 system ("touch conf.gtktest");
10695 /* HP/UX 9 (%@#!) writes to sscanf strings */
10696 tmp_version = g_strdup("$min_gtk_version");
10697 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10698 printf("%s, bad version string\n", "$min_gtk_version");
10702 if ((gtk_major_version != $gtk_config_major_version) ||
10703 (gtk_minor_version != $gtk_config_minor_version) ||
10704 (gtk_micro_version != $gtk_config_micro_version))
10706 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10707 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10708 gtk_major_version, gtk_minor_version, gtk_micro_version);
10709 printf ("*** was found! If gtk-config was correct, then it is best\n");
10710 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10711 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10712 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10713 printf("*** required on your system.\n");
10714 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10715 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10716 printf("*** before re-running configure\n");
10718 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10719 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10720 (gtk_minor_version != GTK_MINOR_VERSION) ||
10721 (gtk_micro_version != GTK_MICRO_VERSION))
10723 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10724 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10725 printf("*** library (version %d.%d.%d)\n",
10726 gtk_major_version, gtk_minor_version, gtk_micro_version);
10728 #endif /* defined (GTK_MAJOR_VERSION) ... */
10731 if ((gtk_major_version > major) ||
10732 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10733 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10739 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10740 gtk_major_version, gtk_minor_version, gtk_micro_version);
10741 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10742 major, minor, micro);
10743 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10745 printf("*** If you have already installed a sufficiently new version, this error\n");
10746 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10747 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10748 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10749 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10750 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10751 printf("*** so that the correct libraries are found at run-time))\n");
10758 if { (eval echo configure
:10759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10762 echo "configure: failed program was:" >&5
10763 cat conftest.
$ac_ext >&5
10770 CFLAGS
="$ac_save_CFLAGS"
10771 LIBS
="$ac_save_LIBS"
10774 if test "x$no_gtk" = x
; then
10775 echo "$ac_t""yes" 1>&6
10776 wx_cv_lib_gtk
=1.2.7
10778 echo "$ac_t""no" 1>&6
10779 if test "$GTK_CONFIG" = "no" ; then
10780 echo "*** The gtk-config script installed by GTK could not be found"
10781 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10782 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10783 echo "*** full path to gtk-config."
10785 if test -f conf.gtktest
; then
10788 echo "*** Could not run GTK test program, checking why..."
10789 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10790 LIBS
="$LIBS $GTK_LIBS"
10791 cat > conftest.
$ac_ext <<EOF
10792 #line 10793 "configure"
10793 #include "confdefs.h"
10795 #include <gtk/gtk.h>
10799 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10802 if { (eval echo configure
:10803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10804 echo "*** The test program compiled, but did not run. This usually means"
10805 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10806 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10807 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10808 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10809 echo "*** is required on your system"
10811 echo "*** If you have an old version installed, it is best to remove it, although"
10812 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10814 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10815 echo "*** came with the system with the command"
10817 echo "*** rpm --erase --nodeps gtk gtk-devel"
10819 echo "configure: failed program was:" >&5
10820 cat conftest.
$ac_ext >&5
10822 echo "*** The test program failed to compile or link. See the file config.log for the"
10823 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10824 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10825 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10828 CFLAGS
="$ac_save_CFLAGS"
10829 LIBS
="$ac_save_LIBS"
10842 if test -z "$wx_cv_lib_gtk"; then
10843 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10844 if test "${with_gtk_prefix+set}" = set; then
10845 withval
="$with_gtk_prefix"
10846 gtk_config_prefix
="$withval"
10848 gtk_config_prefix
=""
10851 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10852 if test "${with_gtk_exec_prefix+set}" = set; then
10853 withval
="$with_gtk_exec_prefix"
10854 gtk_config_exec_prefix
="$withval"
10856 gtk_config_exec_prefix
=""
10859 # Check whether --enable-gtktest or --disable-gtktest was given.
10860 if test "${enable_gtktest+set}" = set; then
10861 enableval
="$enable_gtktest"
10868 for module
in .
$GTK_MODULES
10872 gtk_config_args
="$gtk_config_args gthread"
10877 if test x
$gtk_config_exec_prefix != x
; then
10878 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10879 if test x
${GTK_CONFIG+set} != xset
; then
10880 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10883 if test x
$gtk_config_prefix != x
; then
10884 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10885 if test x
${GTK_CONFIG+set} != xset
; then
10886 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10890 # Extract the first word of "gtk-config", so it can be a program name with args.
10891 set dummy gtk
-config; ac_word
=$2
10892 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10893 echo "configure:10894: checking for $ac_word" >&5
10894 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10895 echo $ac_n "(cached) $ac_c" 1>&6
10897 case "$GTK_CONFIG" in
10899 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10902 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10905 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10907 for ac_dir
in $ac_dummy; do
10908 test -z "$ac_dir" && ac_dir
=.
10909 if test -f $ac_dir/$ac_word; then
10910 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10915 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10919 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10920 if test -n "$GTK_CONFIG"; then
10921 echo "$ac_t""$GTK_CONFIG" 1>&6
10923 echo "$ac_t""no" 1>&6
10926 min_gtk_version
=1.2.3
10927 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10928 echo "configure:10929: checking for GTK - version >= $min_gtk_version" >&5
10930 if test "$GTK_CONFIG" = "no" ; then
10933 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10934 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10935 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10937 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10939 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10941 if test "x$enable_gtktest" = "xyes" ; then
10942 ac_save_CFLAGS
="$CFLAGS"
10943 ac_save_LIBS
="$LIBS"
10944 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10945 LIBS
="$GTK_LIBS $LIBS"
10947 if test "$cross_compiling" = yes; then
10948 echo $ac_n "cross compiling; assumed OK... $ac_c"
10950 cat > conftest.
$ac_ext <<EOF
10951 #line 10952 "configure"
10952 #include "confdefs.h"
10954 #include <gtk/gtk.h>
10956 #include <stdlib.h>
10961 int major, minor, micro;
10964 system ("touch conf.gtktest");
10966 /* HP/UX 9 (%@#!) writes to sscanf strings */
10967 tmp_version = g_strdup("$min_gtk_version");
10968 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10969 printf("%s, bad version string\n", "$min_gtk_version");
10973 if ((gtk_major_version != $gtk_config_major_version) ||
10974 (gtk_minor_version != $gtk_config_minor_version) ||
10975 (gtk_micro_version != $gtk_config_micro_version))
10977 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10978 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10979 gtk_major_version, gtk_minor_version, gtk_micro_version);
10980 printf ("*** was found! If gtk-config was correct, then it is best\n");
10981 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10982 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10983 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10984 printf("*** required on your system.\n");
10985 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10986 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10987 printf("*** before re-running configure\n");
10989 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10990 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10991 (gtk_minor_version != GTK_MINOR_VERSION) ||
10992 (gtk_micro_version != GTK_MICRO_VERSION))
10994 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10995 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10996 printf("*** library (version %d.%d.%d)\n",
10997 gtk_major_version, gtk_minor_version, gtk_micro_version);
10999 #endif /* defined (GTK_MAJOR_VERSION) ... */
11002 if ((gtk_major_version > major) ||
11003 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11004 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11010 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11011 gtk_major_version, gtk_minor_version, gtk_micro_version);
11012 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11013 major, minor, micro);
11014 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11016 printf("*** If you have already installed a sufficiently new version, this error\n");
11017 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11018 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11019 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11020 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11021 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11022 printf("*** so that the correct libraries are found at run-time))\n");
11029 if { (eval echo configure
:11030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11033 echo "configure: failed program was:" >&5
11034 cat conftest.
$ac_ext >&5
11041 CFLAGS
="$ac_save_CFLAGS"
11042 LIBS
="$ac_save_LIBS"
11045 if test "x$no_gtk" = x
; then
11046 echo "$ac_t""yes" 1>&6
11047 wx_cv_lib_gtk
=1.2.3
11049 echo "$ac_t""no" 1>&6
11050 if test "$GTK_CONFIG" = "no" ; then
11051 echo "*** The gtk-config script installed by GTK could not be found"
11052 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11053 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11054 echo "*** full path to gtk-config."
11056 if test -f conf.gtktest
; then
11059 echo "*** Could not run GTK test program, checking why..."
11060 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11061 LIBS
="$LIBS $GTK_LIBS"
11062 cat > conftest.
$ac_ext <<EOF
11063 #line 11064 "configure"
11064 #include "confdefs.h"
11066 #include <gtk/gtk.h>
11070 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11073 if { (eval echo configure
:11074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11075 echo "*** The test program compiled, but did not run. This usually means"
11076 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11077 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11078 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11079 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11080 echo "*** is required on your system"
11082 echo "*** If you have an old version installed, it is best to remove it, although"
11083 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11085 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11086 echo "*** came with the system with the command"
11088 echo "*** rpm --erase --nodeps gtk gtk-devel"
11090 echo "configure: failed program was:" >&5
11091 cat conftest.
$ac_ext >&5
11093 echo "*** The test program failed to compile or link. See the file config.log for the"
11094 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11095 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11096 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11099 CFLAGS
="$ac_save_CFLAGS"
11100 LIBS
="$ac_save_LIBS"
11113 if test -z "$wx_cv_lib_gtk"; then
11116 wx_cv_cflags_gtk
=$GTK_CFLAGS
11117 wx_cv_libs_gtk
=$GTK_LIBS
11124 if test "$gtk_version_cached" = 1; then
11125 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11128 case "$wx_cv_lib_gtk" in
11136 *) { echo "configure: error:
11137 Please check that gtk-config is in path, the directory
11138 where GTK+ libraries are installed (returned by
11139 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11140 equivalent variable and GTK+ is version 1.2.3 or above.
11145 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
11146 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
11148 AFMINSTALL
=afminstall
11152 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11153 echo "configure:11154: checking for gdk_im_open in -lgdk" >&5
11154 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11155 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11156 echo $ac_n "(cached) $ac_c" 1>&6
11158 ac_save_LIBS
="$LIBS"
11160 cat > conftest.
$ac_ext <<EOF
11161 #line 11162 "configure"
11162 #include "confdefs.h"
11163 /* Override any gcc2 internal prototype to avoid an error. */
11164 /* We use char because int might match the return type of a gcc2
11165 builtin and then its argument prototype would still apply. */
11166 char gdk_im_open();
11172 if { (eval echo configure
:11173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11174 eval "ac_cv_lib_$ac_lib_var=yes"
11176 echo "configure: failed program was:" >&5
11177 cat conftest.
$ac_ext >&5
11179 eval "ac_cv_lib_$ac_lib_var=no"
11182 LIBS
="$ac_save_LIBS"
11185 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11186 echo "$ac_t""yes" 1>&6
11187 cat >> confdefs.h
<<\EOF
11192 echo "$ac_t""no" 1>&6
11197 if test "$wxUSE_MGL" = 1; then
11198 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11199 echo "configure:11200: checking for SciTech MGL library" >&5
11200 if test "x$MGL_ROOT" = x
; then
11201 echo "$ac_t""not found" 1>&6
11202 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11204 echo "$ac_t""$MGL_ROOT" 1>&6
11209 mgl_os
=linux
/gcc
/glibc
11215 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11220 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11221 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11222 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11226 if test "x$mgl_lib_type" = x
; then
11227 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11228 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11229 mgl_lib_type
=release
11231 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11235 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11236 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11238 AFMINSTALL
=afminstall
11243 if test "$wxUSE_MICROWIN" = 1; then
11244 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11245 echo "configure:11246: checking for MicroWindows" >&5
11246 if test "x$MICROWINDOWS" = x
; then
11247 echo "$ac_t""not found" 1>&6
11248 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11250 echo "$ac_t""$MICROWINDOWS" 1>&6
11253 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11254 echo "$ac_t""MicroWindows' libraries found." 1>&6
11256 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11259 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11260 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11262 AFMINSTALL
=afminstall
11264 GUIDIST
=MICROWIN_DIST
11266 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11269 if test "$wxUSE_X11" = 1; then
11270 # If we find X, set shell vars x_includes and x_libraries to the
11271 # paths, otherwise set no_x=yes.
11272 # Uses ac_ vars as temps to allow command line to override cache and checks.
11273 # --without-x overrides everything else, but does not touch the cache.
11274 echo $ac_n "checking for X""... $ac_c" 1>&6
11275 echo "configure:11276: checking for X" >&5
11277 # Check whether --with-x or --without-x was given.
11278 if test "${with_x+set}" = set; then
11283 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11284 if test "x$with_x" = xno
; then
11285 # The user explicitly disabled X.
11288 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11289 # Both variables are already set.
11292 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11293 echo $ac_n "(cached) $ac_c" 1>&6
11295 # One or both of the vars are not set, and there is no cached value.
11296 ac_x_includes
=NO ac_x_libraries
=NO
11298 if mkdir conftestdir
; then
11300 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11301 cat > Imakefile
<<'EOF'
11303 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11305 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11306 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11307 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11308 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11309 for ac_extension
in a so sl
; do
11310 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11311 test -f $ac_im_libdir/libX11.
$ac_extension; then
11312 ac_im_usrlibdir
=$ac_im_libdir; break
11315 # Screen out bogus values from the imake configuration. They are
11316 # bogus both because they are the default anyway, and because
11317 # using them would break gcc on systems where it needs fixed includes.
11318 case "$ac_im_incroot" in
11320 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11322 case "$ac_im_usrlibdir" in
11323 /usr
/lib
| /lib
) ;;
11324 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11331 if test "$ac_x_includes" = NO
; then
11332 # Guess where to find include files, by looking for this one X11 .h file.
11333 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11335 # First, try using that file with no special directory specified.
11336 cat > conftest.
$ac_ext <<EOF
11337 #line 11338 "configure"
11338 #include "confdefs.h"
11339 #include <$x_direct_test_include>
11341 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11342 { (eval echo configure
:11343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11343 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11344 if test -z "$ac_err"; then
11346 # We can compile using X headers with no special include directory.
11350 echo "configure: failed program was:" >&5
11351 cat conftest.
$ac_ext >&5
11353 # Look for the header file in a standard set of common directories.
11354 # Check X11 before X11Rn because it is often a symlink to the current release.
11357 /usr
/X
11R
6/include \
11358 /usr
/X
11R
5/include \
11359 /usr
/X
11R
4/include \
11362 /usr
/include
/X11R6 \
11363 /usr
/include
/X11R5 \
11364 /usr
/include
/X11R4 \
11366 /usr
/local
/X
11/include \
11367 /usr
/local
/X
11R
6/include \
11368 /usr
/local
/X
11R
5/include \
11369 /usr
/local
/X
11R
4/include \
11371 /usr
/local
/include
/X11 \
11372 /usr
/local
/include
/X11R6 \
11373 /usr
/local
/include
/X11R5 \
11374 /usr
/local
/include
/X11R4 \
11376 /usr
/X
386/include \
11377 /usr
/x
386/include \
11378 /usr
/XFree
86/include
/X11 \
11381 /usr
/local
/include \
11382 /usr
/unsupported
/include \
11383 /usr
/athena
/include \
11384 /usr
/local
/x
11r
5/include \
11385 /usr
/lpp
/Xamples
/include \
11387 /usr
/openwin
/include \
11388 /usr
/openwin
/share
/include \
11391 if test -r "$ac_dir/$x_direct_test_include"; then
11392 ac_x_includes
=$ac_dir
11398 fi # $ac_x_includes = NO
11400 if test "$ac_x_libraries" = NO
; then
11401 # Check for the libraries.
11403 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11404 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11406 # See if we find them without any special options.
11407 # Don't add to $LIBS permanently.
11408 ac_save_LIBS
="$LIBS"
11409 LIBS
="-l$x_direct_test_library $LIBS"
11410 cat > conftest.
$ac_ext <<EOF
11411 #line 11412 "configure"
11412 #include "confdefs.h"
11415 ${x_direct_test_function}()
11418 if { (eval echo configure
:11419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11420 LIBS
="$ac_save_LIBS"
11421 # We can link X programs with no special library path.
11424 echo "configure: failed program was:" >&5
11425 cat conftest.
$ac_ext >&5
11427 LIBS
="$ac_save_LIBS"
11428 # First see if replacing the include by lib works.
11429 # Check X11 before X11Rn because it is often a symlink to the current release.
11430 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11441 /usr
/local
/X
11/lib \
11442 /usr
/local
/X
11R
6/lib \
11443 /usr
/local
/X
11R
5/lib \
11444 /usr
/local
/X
11R
4/lib \
11446 /usr
/local
/lib
/X11 \
11447 /usr
/local
/lib
/X11R6 \
11448 /usr
/local
/lib
/X11R5 \
11449 /usr
/local
/lib
/X11R4 \
11453 /usr
/XFree
86/lib
/X11 \
11457 /usr
/unsupported
/lib \
11459 /usr
/local
/x
11r
5/lib \
11460 /usr
/lpp
/Xamples
/lib \
11464 /usr
/openwin
/share
/lib \
11467 for ac_extension
in a so sl
; do
11468 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11469 ac_x_libraries
=$ac_dir
11476 fi # $ac_x_libraries = NO
11478 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11479 # Didn't find X anywhere. Cache the known absence of X.
11480 ac_cv_have_x
="have_x=no"
11482 # Record where we found X for the cache.
11483 ac_cv_have_x
="have_x=yes \
11484 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11488 eval "$ac_cv_have_x"
11491 if test "$have_x" != yes; then
11492 echo "$ac_t""$have_x" 1>&6
11495 # If each of the values was on the command line, it overrides each guess.
11496 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11497 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11498 # Update the cache value to reflect the command line values.
11499 ac_cv_have_x
="have_x=yes \
11500 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11501 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11504 if test "$no_x" = yes; then
11505 # Not all programs may use this symbol, but it does not hurt to define it.
11506 cat >> confdefs.h
<<\EOF
11507 #define X_DISPLAY_MISSING 1
11510 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11512 if test -n "$x_includes"; then
11513 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11516 # It would also be nice to do this for all -L options, not just this one.
11517 if test -n "$x_libraries"; then
11518 X_LIBS
="$X_LIBS -L$x_libraries"
11519 # For Solaris; some versions of Sun CC require a space after -R and
11520 # others require no space. Words are not sufficient . . . .
11521 case "`(uname -sr) 2>/dev/null`" in
11523 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11524 echo "configure:11525: checking whether -R must be followed by a space" >&5
11525 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11526 cat > conftest.
$ac_ext <<EOF
11527 #line 11528 "configure"
11528 #include "confdefs.h"
11534 if { (eval echo configure
:11535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11538 echo "configure: failed program was:" >&5
11539 cat conftest.
$ac_ext >&5
11544 if test $ac_R_nospace = yes; then
11545 echo "$ac_t""no" 1>&6
11546 X_LIBS
="$X_LIBS -R$x_libraries"
11548 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11549 cat > conftest.
$ac_ext <<EOF
11550 #line 11551 "configure"
11551 #include "confdefs.h"
11557 if { (eval echo configure
:11558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11561 echo "configure: failed program was:" >&5
11562 cat conftest.
$ac_ext >&5
11567 if test $ac_R_space = yes; then
11568 echo "$ac_t""yes" 1>&6
11569 X_LIBS
="$X_LIBS -R $x_libraries"
11571 echo "$ac_t""neither works" 1>&6
11574 LIBS
="$ac_xsave_LIBS"
11578 # Check for system-dependent libraries X programs must link with.
11579 # Do this before checking for the system-independent R6 libraries
11580 # (-lICE), since we may need -lsocket or whatever for X linking.
11582 if test "$ISC" = yes; then
11583 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11585 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11586 # libraries were built with DECnet support. And karl@cs.umb.edu says
11587 # the Alpha needs dnet_stub (dnet does not exist).
11588 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11589 echo "configure:11590: checking for dnet_ntoa in -ldnet" >&5
11590 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11591 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11592 echo $ac_n "(cached) $ac_c" 1>&6
11594 ac_save_LIBS
="$LIBS"
11595 LIBS
="-ldnet $LIBS"
11596 cat > conftest.
$ac_ext <<EOF
11597 #line 11598 "configure"
11598 #include "confdefs.h"
11599 /* Override any gcc2 internal prototype to avoid an error. */
11600 /* We use char because int might match the return type of a gcc2
11601 builtin and then its argument prototype would still apply. */
11608 if { (eval echo configure
:11609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11610 eval "ac_cv_lib_$ac_lib_var=yes"
11612 echo "configure: failed program was:" >&5
11613 cat conftest.
$ac_ext >&5
11615 eval "ac_cv_lib_$ac_lib_var=no"
11618 LIBS
="$ac_save_LIBS"
11621 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11622 echo "$ac_t""yes" 1>&6
11623 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11625 echo "$ac_t""no" 1>&6
11628 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11629 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11630 echo "configure:11631: checking for dnet_ntoa in -ldnet_stub" >&5
11631 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11632 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11633 echo $ac_n "(cached) $ac_c" 1>&6
11635 ac_save_LIBS
="$LIBS"
11636 LIBS
="-ldnet_stub $LIBS"
11637 cat > conftest.
$ac_ext <<EOF
11638 #line 11639 "configure"
11639 #include "confdefs.h"
11640 /* Override any gcc2 internal prototype to avoid an error. */
11641 /* We use char because int might match the return type of a gcc2
11642 builtin and then its argument prototype would still apply. */
11649 if { (eval echo configure
:11650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11651 eval "ac_cv_lib_$ac_lib_var=yes"
11653 echo "configure: failed program was:" >&5
11654 cat conftest.
$ac_ext >&5
11656 eval "ac_cv_lib_$ac_lib_var=no"
11659 LIBS
="$ac_save_LIBS"
11662 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11663 echo "$ac_t""yes" 1>&6
11664 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11666 echo "$ac_t""no" 1>&6
11671 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11672 # to get the SysV transport functions.
11673 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11675 # The nsl library prevents programs from opening the X display
11676 # on Irix 5.2, according to dickey@clark.net.
11677 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11678 echo "configure:11679: checking for gethostbyname" >&5
11679 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11680 echo $ac_n "(cached) $ac_c" 1>&6
11682 cat > conftest.
$ac_ext <<EOF
11683 #line 11684 "configure"
11684 #include "confdefs.h"
11685 /* System header to define __stub macros and hopefully few prototypes,
11686 which can conflict with char gethostbyname(); below. */
11687 #include <assert.h>
11688 /* Override any gcc2 internal prototype to avoid an error. */
11689 /* We use char because int might match the return type of a gcc2
11690 builtin and then its argument prototype would still apply. */
11691 char gethostbyname();
11695 /* The GNU C library defines this for functions which it implements
11696 to always fail with ENOSYS. Some functions are actually named
11697 something starting with __ and the normal name is an alias. */
11698 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11706 if { (eval echo configure
:11707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11708 eval "ac_cv_func_gethostbyname=yes"
11710 echo "configure: failed program was:" >&5
11711 cat conftest.
$ac_ext >&5
11713 eval "ac_cv_func_gethostbyname=no"
11718 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11719 echo "$ac_t""yes" 1>&6
11722 echo "$ac_t""no" 1>&6
11725 if test $ac_cv_func_gethostbyname = no
; then
11726 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11727 echo "configure:11728: checking for gethostbyname in -lnsl" >&5
11728 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11729 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11730 echo $ac_n "(cached) $ac_c" 1>&6
11732 ac_save_LIBS
="$LIBS"
11734 cat > conftest.
$ac_ext <<EOF
11735 #line 11736 "configure"
11736 #include "confdefs.h"
11737 /* Override any gcc2 internal prototype to avoid an error. */
11738 /* We use char because int might match the return type of a gcc2
11739 builtin and then its argument prototype would still apply. */
11740 char gethostbyname();
11746 if { (eval echo configure
:11747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11748 eval "ac_cv_lib_$ac_lib_var=yes"
11750 echo "configure: failed program was:" >&5
11751 cat conftest.
$ac_ext >&5
11753 eval "ac_cv_lib_$ac_lib_var=no"
11756 LIBS
="$ac_save_LIBS"
11759 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11760 echo "$ac_t""yes" 1>&6
11761 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11763 echo "$ac_t""no" 1>&6
11768 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11769 # socket/setsockopt and other routines are undefined under SCO ODT
11770 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11771 # on later versions), says simon@lia.di.epfl.ch: it contains
11772 # gethostby* variants that don't use the nameserver (or something).
11773 # -lsocket must be given before -lnsl if both are needed.
11774 # We assume that if connect needs -lnsl, so does gethostbyname.
11775 echo $ac_n "checking for connect""... $ac_c" 1>&6
11776 echo "configure:11777: checking for connect" >&5
11777 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11778 echo $ac_n "(cached) $ac_c" 1>&6
11780 cat > conftest.
$ac_ext <<EOF
11781 #line 11782 "configure"
11782 #include "confdefs.h"
11783 /* System header to define __stub macros and hopefully few prototypes,
11784 which can conflict with char connect(); below. */
11785 #include <assert.h>
11786 /* Override any gcc2 internal prototype to avoid an error. */
11787 /* We use char because int might match the return type of a gcc2
11788 builtin and then its argument prototype would still apply. */
11793 /* The GNU C library defines this for functions which it implements
11794 to always fail with ENOSYS. Some functions are actually named
11795 something starting with __ and the normal name is an alias. */
11796 #if defined (__stub_connect) || defined (__stub___connect)
11804 if { (eval echo configure
:11805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11806 eval "ac_cv_func_connect=yes"
11808 echo "configure: failed program was:" >&5
11809 cat conftest.
$ac_ext >&5
11811 eval "ac_cv_func_connect=no"
11816 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11817 echo "$ac_t""yes" 1>&6
11820 echo "$ac_t""no" 1>&6
11823 if test $ac_cv_func_connect = no
; then
11824 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11825 echo "configure:11826: checking for connect in -lsocket" >&5
11826 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11827 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11828 echo $ac_n "(cached) $ac_c" 1>&6
11830 ac_save_LIBS
="$LIBS"
11831 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11832 cat > conftest.
$ac_ext <<EOF
11833 #line 11834 "configure"
11834 #include "confdefs.h"
11835 /* Override any gcc2 internal prototype to avoid an error. */
11836 /* We use char because int might match the return type of a gcc2
11837 builtin and then its argument prototype would still apply. */
11844 if { (eval echo configure
:11845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11846 eval "ac_cv_lib_$ac_lib_var=yes"
11848 echo "configure: failed program was:" >&5
11849 cat conftest.
$ac_ext >&5
11851 eval "ac_cv_lib_$ac_lib_var=no"
11854 LIBS
="$ac_save_LIBS"
11857 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11858 echo "$ac_t""yes" 1>&6
11859 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11861 echo "$ac_t""no" 1>&6
11866 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11867 echo $ac_n "checking for remove""... $ac_c" 1>&6
11868 echo "configure:11869: checking for remove" >&5
11869 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11870 echo $ac_n "(cached) $ac_c" 1>&6
11872 cat > conftest.
$ac_ext <<EOF
11873 #line 11874 "configure"
11874 #include "confdefs.h"
11875 /* System header to define __stub macros and hopefully few prototypes,
11876 which can conflict with char remove(); below. */
11877 #include <assert.h>
11878 /* Override any gcc2 internal prototype to avoid an error. */
11879 /* We use char because int might match the return type of a gcc2
11880 builtin and then its argument prototype would still apply. */
11885 /* The GNU C library defines this for functions which it implements
11886 to always fail with ENOSYS. Some functions are actually named
11887 something starting with __ and the normal name is an alias. */
11888 #if defined (__stub_remove) || defined (__stub___remove)
11896 if { (eval echo configure
:11897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11898 eval "ac_cv_func_remove=yes"
11900 echo "configure: failed program was:" >&5
11901 cat conftest.
$ac_ext >&5
11903 eval "ac_cv_func_remove=no"
11908 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11909 echo "$ac_t""yes" 1>&6
11912 echo "$ac_t""no" 1>&6
11915 if test $ac_cv_func_remove = no
; then
11916 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11917 echo "configure:11918: checking for remove in -lposix" >&5
11918 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11919 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11920 echo $ac_n "(cached) $ac_c" 1>&6
11922 ac_save_LIBS
="$LIBS"
11923 LIBS
="-lposix $LIBS"
11924 cat > conftest.
$ac_ext <<EOF
11925 #line 11926 "configure"
11926 #include "confdefs.h"
11927 /* Override any gcc2 internal prototype to avoid an error. */
11928 /* We use char because int might match the return type of a gcc2
11929 builtin and then its argument prototype would still apply. */
11936 if { (eval echo configure
:11937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11938 eval "ac_cv_lib_$ac_lib_var=yes"
11940 echo "configure: failed program was:" >&5
11941 cat conftest.
$ac_ext >&5
11943 eval "ac_cv_lib_$ac_lib_var=no"
11946 LIBS
="$ac_save_LIBS"
11949 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11950 echo "$ac_t""yes" 1>&6
11951 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11953 echo "$ac_t""no" 1>&6
11958 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11959 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11960 echo "configure:11961: checking for shmat" >&5
11961 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11962 echo $ac_n "(cached) $ac_c" 1>&6
11964 cat > conftest.
$ac_ext <<EOF
11965 #line 11966 "configure"
11966 #include "confdefs.h"
11967 /* System header to define __stub macros and hopefully few prototypes,
11968 which can conflict with char shmat(); below. */
11969 #include <assert.h>
11970 /* Override any gcc2 internal prototype to avoid an error. */
11971 /* We use char because int might match the return type of a gcc2
11972 builtin and then its argument prototype would still apply. */
11977 /* The GNU C library defines this for functions which it implements
11978 to always fail with ENOSYS. Some functions are actually named
11979 something starting with __ and the normal name is an alias. */
11980 #if defined (__stub_shmat) || defined (__stub___shmat)
11988 if { (eval echo configure
:11989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11990 eval "ac_cv_func_shmat=yes"
11992 echo "configure: failed program was:" >&5
11993 cat conftest.
$ac_ext >&5
11995 eval "ac_cv_func_shmat=no"
12000 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12001 echo "$ac_t""yes" 1>&6
12004 echo "$ac_t""no" 1>&6
12007 if test $ac_cv_func_shmat = no
; then
12008 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12009 echo "configure:12010: checking for shmat in -lipc" >&5
12010 ac_lib_var
=`echo ipc'_'shmat | 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"
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. */
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 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12045 echo "$ac_t""no" 1>&6
12051 # Check for libraries that X11R6 Xt/Xaw programs need.
12052 ac_save_LDFLAGS
="$LDFLAGS"
12053 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12054 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12055 # check for ICE first), but we must link in the order -lSM -lICE or
12056 # we get undefined symbols. So assume we have SM if we have ICE.
12057 # These have to be linked with before -lX11, unlike the other
12058 # libraries we check for below, so use a different variable.
12059 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12060 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12061 echo "configure:12062: checking for IceConnectionNumber in -lICE" >&5
12062 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12063 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12064 echo $ac_n "(cached) $ac_c" 1>&6
12066 ac_save_LIBS
="$LIBS"
12067 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12068 cat > conftest.
$ac_ext <<EOF
12069 #line 12070 "configure"
12070 #include "confdefs.h"
12071 /* Override any gcc2 internal prototype to avoid an error. */
12072 /* We use char because int might match the return type of a gcc2
12073 builtin and then its argument prototype would still apply. */
12074 char IceConnectionNumber();
12077 IceConnectionNumber()
12080 if { (eval echo configure
:12081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12082 eval "ac_cv_lib_$ac_lib_var=yes"
12084 echo "configure: failed program was:" >&5
12085 cat conftest.
$ac_ext >&5
12087 eval "ac_cv_lib_$ac_lib_var=no"
12090 LIBS
="$ac_save_LIBS"
12093 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12094 echo "$ac_t""yes" 1>&6
12095 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12097 echo "$ac_t""no" 1>&6
12100 LDFLAGS
="$ac_save_LDFLAGS"
12105 if test "$no_x" = "yes"; then
12106 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12109 GUI_TK_LIBRARY
="$X_LIBS"
12110 TOOLKIT_INCLUDE
="$X_CFLAGS"
12111 AFMINSTALL
=afminstall
12112 COMPILED_X_PROGRAM
=0
12115 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12116 echo "configure:12117: checking for Xpm library" >&5
12119 for ac_dir
in $SEARCH_LIB;
12121 for ac_extension
in a so sl dylib
; do
12122 if test -f "$ac_dir/libXpm.$ac_extension"; then
12123 ac_find_libraries
=$ac_dir
12129 if test "$ac_find_libraries" != "" ; then
12131 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12133 if test $result = 0; then
12136 ac_path_to_link
=" -L$ac_find_libraries"
12139 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12141 cat >> confdefs.h
<<\EOF
12142 #define wxHAVE_LIB_XPM 1
12145 echo "$ac_t""found at $ac_find_libraries" 1>&6
12147 cat > conftest.
$ac_ext <<EOF
12148 #line 12149 "configure"
12149 #include "confdefs.h"
12151 #include <X11/xpm.h>
12156 version = XpmLibraryVersion();
12160 if { (eval echo configure
:12161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12164 cat >> confdefs.h
<<\EOF
12165 #define wxHAVE_LIB_XPM 1
12168 echo "$ac_t""found in default search path" 1>&6
12169 COMPILED_X_PROGRAM
=0
12172 echo "configure: failed program was:" >&5
12173 cat conftest.
$ac_ext >&5
12176 echo "$ac_t""no" 1>&6
12177 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12184 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext -lXt -lX11"
12185 TOOLKIT_VPATH
="\${top_srcdir}/src/x11 \${top_srcdir}/src/univ \${top_srcdir}/src/univ/themes"
12188 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
12191 if test "$wxUSE_WINE" = 1; then
12192 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12193 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12194 echo "configure:12195: checking for windows.h" >&5
12195 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12196 echo $ac_n "(cached) $ac_c" 1>&6
12198 cat > conftest.
$ac_ext <<EOF
12199 #line 12200 "configure"
12200 #include "confdefs.h"
12201 #include <windows.h>
12203 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12204 { (eval echo configure
:12205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12205 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12206 if test -z "$ac_err"; then
12208 eval "ac_cv_header_$ac_safe=yes"
12211 echo "configure: failed program was:" >&5
12212 cat conftest.
$ac_ext >&5
12214 eval "ac_cv_header_$ac_safe=no"
12218 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12219 echo "$ac_t""yes" 1>&6
12222 echo "$ac_t""no" 1>&6
12224 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12230 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12231 echo "configure:12232: checking for Xpm library" >&5
12234 for ac_dir
in $SEARCH_LIB;
12236 for ac_extension
in a so sl dylib
; do
12237 if test -f "$ac_dir/libXpm.$ac_extension"; then
12238 ac_find_libraries
=$ac_dir
12244 if test "$ac_find_libraries" != "" ; then
12245 GUI_TK_LIBRARY
="-L$ac_find_libraries"
12247 cat >> confdefs.h
<<\EOF
12248 #define wxHAVE_LIB_XPM 1
12251 echo "$ac_t""found at $ac_find_libraries" 1>&6
12253 echo "$ac_t""no" 1>&6
12254 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12258 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
12259 echo "configure:12260: checking for Mesa library" >&5
12262 for ac_dir
in $SEARCH_LIB;
12264 for ac_extension
in a so sl dylib
; do
12265 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12266 ac_find_libraries
=$ac_dir
12272 if test "$ac_find_libraries" != "" ; then
12273 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
12274 mesa_link
=" -lMesaGL"
12275 echo "$ac_t""found at $ac_find_libraries" 1>&6
12277 { echo "configure: error: no" 1>&2; exit 1; }
12280 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
12283 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
12286 if test "$wxUSE_MOTIF" = 1; then
12287 if test "$no_x" = yes; then
12288 # Not all programs may use this symbol, but it does not hurt to define it.
12289 cat >> confdefs.h
<<\EOF
12290 #define X_DISPLAY_MISSING 1
12293 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12295 if test -n "$x_includes"; then
12296 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12299 # It would also be nice to do this for all -L options, not just this one.
12300 if test -n "$x_libraries"; then
12301 X_LIBS
="$X_LIBS -L$x_libraries"
12302 # For Solaris; some versions of Sun CC require a space after -R and
12303 # others require no space. Words are not sufficient . . . .
12304 case "`(uname -sr) 2>/dev/null`" in
12306 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12307 echo "configure:12308: checking whether -R must be followed by a space" >&5
12308 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12309 cat > conftest.
$ac_ext <<EOF
12310 #line 12311 "configure"
12311 #include "confdefs.h"
12317 if { (eval echo configure
:12318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12321 echo "configure: failed program was:" >&5
12322 cat conftest.
$ac_ext >&5
12327 if test $ac_R_nospace = yes; then
12328 echo "$ac_t""no" 1>&6
12329 X_LIBS
="$X_LIBS -R$x_libraries"
12331 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12332 cat > conftest.
$ac_ext <<EOF
12333 #line 12334 "configure"
12334 #include "confdefs.h"
12340 if { (eval echo configure
:12341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12344 echo "configure: failed program was:" >&5
12345 cat conftest.
$ac_ext >&5
12350 if test $ac_R_space = yes; then
12351 echo "$ac_t""yes" 1>&6
12352 X_LIBS
="$X_LIBS -R $x_libraries"
12354 echo "$ac_t""neither works" 1>&6
12357 LIBS
="$ac_xsave_LIBS"
12361 # Check for system-dependent libraries X programs must link with.
12362 # Do this before checking for the system-independent R6 libraries
12363 # (-lICE), since we may need -lsocket or whatever for X linking.
12365 if test "$ISC" = yes; then
12366 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
12368 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
12369 # libraries were built with DECnet support. And karl@cs.umb.edu says
12370 # the Alpha needs dnet_stub (dnet does not exist).
12371 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
12372 echo "configure:12373: checking for dnet_ntoa in -ldnet" >&5
12373 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12374 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12375 echo $ac_n "(cached) $ac_c" 1>&6
12377 ac_save_LIBS
="$LIBS"
12378 LIBS
="-ldnet $LIBS"
12379 cat > conftest.
$ac_ext <<EOF
12380 #line 12381 "configure"
12381 #include "confdefs.h"
12382 /* Override any gcc2 internal prototype to avoid an error. */
12383 /* We use char because int might match the return type of a gcc2
12384 builtin and then its argument prototype would still apply. */
12391 if { (eval echo configure
:12392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12393 eval "ac_cv_lib_$ac_lib_var=yes"
12395 echo "configure: failed program was:" >&5
12396 cat conftest.
$ac_ext >&5
12398 eval "ac_cv_lib_$ac_lib_var=no"
12401 LIBS
="$ac_save_LIBS"
12404 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12405 echo "$ac_t""yes" 1>&6
12406 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
12408 echo "$ac_t""no" 1>&6
12411 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
12412 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
12413 echo "configure:12414: checking for dnet_ntoa in -ldnet_stub" >&5
12414 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12415 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12416 echo $ac_n "(cached) $ac_c" 1>&6
12418 ac_save_LIBS
="$LIBS"
12419 LIBS
="-ldnet_stub $LIBS"
12420 cat > conftest.
$ac_ext <<EOF
12421 #line 12422 "configure"
12422 #include "confdefs.h"
12423 /* Override any gcc2 internal prototype to avoid an error. */
12424 /* We use char because int might match the return type of a gcc2
12425 builtin and then its argument prototype would still apply. */
12432 if { (eval echo configure
:12433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12434 eval "ac_cv_lib_$ac_lib_var=yes"
12436 echo "configure: failed program was:" >&5
12437 cat conftest.
$ac_ext >&5
12439 eval "ac_cv_lib_$ac_lib_var=no"
12442 LIBS
="$ac_save_LIBS"
12445 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12446 echo "$ac_t""yes" 1>&6
12447 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
12449 echo "$ac_t""no" 1>&6
12454 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12455 # to get the SysV transport functions.
12456 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
12458 # The nsl library prevents programs from opening the X display
12459 # on Irix 5.2, according to dickey@clark.net.
12460 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
12461 echo "configure:12462: checking for gethostbyname" >&5
12462 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
12463 echo $ac_n "(cached) $ac_c" 1>&6
12465 cat > conftest.
$ac_ext <<EOF
12466 #line 12467 "configure"
12467 #include "confdefs.h"
12468 /* System header to define __stub macros and hopefully few prototypes,
12469 which can conflict with char gethostbyname(); below. */
12470 #include <assert.h>
12471 /* Override any gcc2 internal prototype to avoid an error. */
12472 /* We use char because int might match the return type of a gcc2
12473 builtin and then its argument prototype would still apply. */
12474 char gethostbyname();
12478 /* The GNU C library defines this for functions which it implements
12479 to always fail with ENOSYS. Some functions are actually named
12480 something starting with __ and the normal name is an alias. */
12481 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
12489 if { (eval echo configure
:12490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12491 eval "ac_cv_func_gethostbyname=yes"
12493 echo "configure: failed program was:" >&5
12494 cat conftest.
$ac_ext >&5
12496 eval "ac_cv_func_gethostbyname=no"
12501 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
12502 echo "$ac_t""yes" 1>&6
12505 echo "$ac_t""no" 1>&6
12508 if test $ac_cv_func_gethostbyname = no
; then
12509 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
12510 echo "configure:12511: checking for gethostbyname in -lnsl" >&5
12511 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
12512 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12513 echo $ac_n "(cached) $ac_c" 1>&6
12515 ac_save_LIBS
="$LIBS"
12517 cat > conftest.
$ac_ext <<EOF
12518 #line 12519 "configure"
12519 #include "confdefs.h"
12520 /* Override any gcc2 internal prototype to avoid an error. */
12521 /* We use char because int might match the return type of a gcc2
12522 builtin and then its argument prototype would still apply. */
12523 char gethostbyname();
12529 if { (eval echo configure
:12530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12531 eval "ac_cv_lib_$ac_lib_var=yes"
12533 echo "configure: failed program was:" >&5
12534 cat conftest.
$ac_ext >&5
12536 eval "ac_cv_lib_$ac_lib_var=no"
12539 LIBS
="$ac_save_LIBS"
12542 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12543 echo "$ac_t""yes" 1>&6
12544 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
12546 echo "$ac_t""no" 1>&6
12551 # lieder@skyler.mavd.honeywell.com says without -lsocket,
12552 # socket/setsockopt and other routines are undefined under SCO ODT
12553 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
12554 # on later versions), says simon@lia.di.epfl.ch: it contains
12555 # gethostby* variants that don't use the nameserver (or something).
12556 # -lsocket must be given before -lnsl if both are needed.
12557 # We assume that if connect needs -lnsl, so does gethostbyname.
12558 echo $ac_n "checking for connect""... $ac_c" 1>&6
12559 echo "configure:12560: checking for connect" >&5
12560 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
12561 echo $ac_n "(cached) $ac_c" 1>&6
12563 cat > conftest.
$ac_ext <<EOF
12564 #line 12565 "configure"
12565 #include "confdefs.h"
12566 /* System header to define __stub macros and hopefully few prototypes,
12567 which can conflict with char connect(); below. */
12568 #include <assert.h>
12569 /* Override any gcc2 internal prototype to avoid an error. */
12570 /* We use char because int might match the return type of a gcc2
12571 builtin and then its argument prototype would still apply. */
12576 /* The GNU C library defines this for functions which it implements
12577 to always fail with ENOSYS. Some functions are actually named
12578 something starting with __ and the normal name is an alias. */
12579 #if defined (__stub_connect) || defined (__stub___connect)
12587 if { (eval echo configure
:12588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12589 eval "ac_cv_func_connect=yes"
12591 echo "configure: failed program was:" >&5
12592 cat conftest.
$ac_ext >&5
12594 eval "ac_cv_func_connect=no"
12599 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
12600 echo "$ac_t""yes" 1>&6
12603 echo "$ac_t""no" 1>&6
12606 if test $ac_cv_func_connect = no
; then
12607 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12608 echo "configure:12609: checking for connect in -lsocket" >&5
12609 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12610 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12611 echo $ac_n "(cached) $ac_c" 1>&6
12613 ac_save_LIBS
="$LIBS"
12614 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
12615 cat > conftest.
$ac_ext <<EOF
12616 #line 12617 "configure"
12617 #include "confdefs.h"
12618 /* Override any gcc2 internal prototype to avoid an error. */
12619 /* We use char because int might match the return type of a gcc2
12620 builtin and then its argument prototype would still apply. */
12627 if { (eval echo configure
:12628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12629 eval "ac_cv_lib_$ac_lib_var=yes"
12631 echo "configure: failed program was:" >&5
12632 cat conftest.
$ac_ext >&5
12634 eval "ac_cv_lib_$ac_lib_var=no"
12637 LIBS
="$ac_save_LIBS"
12640 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12641 echo "$ac_t""yes" 1>&6
12642 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
12644 echo "$ac_t""no" 1>&6
12649 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12650 echo $ac_n "checking for remove""... $ac_c" 1>&6
12651 echo "configure:12652: checking for remove" >&5
12652 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12653 echo $ac_n "(cached) $ac_c" 1>&6
12655 cat > conftest.
$ac_ext <<EOF
12656 #line 12657 "configure"
12657 #include "confdefs.h"
12658 /* System header to define __stub macros and hopefully few prototypes,
12659 which can conflict with char remove(); below. */
12660 #include <assert.h>
12661 /* Override any gcc2 internal prototype to avoid an error. */
12662 /* We use char because int might match the return type of a gcc2
12663 builtin and then its argument prototype would still apply. */
12668 /* The GNU C library defines this for functions which it implements
12669 to always fail with ENOSYS. Some functions are actually named
12670 something starting with __ and the normal name is an alias. */
12671 #if defined (__stub_remove) || defined (__stub___remove)
12679 if { (eval echo configure
:12680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12681 eval "ac_cv_func_remove=yes"
12683 echo "configure: failed program was:" >&5
12684 cat conftest.
$ac_ext >&5
12686 eval "ac_cv_func_remove=no"
12691 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12692 echo "$ac_t""yes" 1>&6
12695 echo "$ac_t""no" 1>&6
12698 if test $ac_cv_func_remove = no
; then
12699 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12700 echo "configure:12701: checking for remove in -lposix" >&5
12701 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12702 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12703 echo $ac_n "(cached) $ac_c" 1>&6
12705 ac_save_LIBS
="$LIBS"
12706 LIBS
="-lposix $LIBS"
12707 cat > conftest.
$ac_ext <<EOF
12708 #line 12709 "configure"
12709 #include "confdefs.h"
12710 /* Override any gcc2 internal prototype to avoid an error. */
12711 /* We use char because int might match the return type of a gcc2
12712 builtin and then its argument prototype would still apply. */
12719 if { (eval echo configure
:12720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12721 eval "ac_cv_lib_$ac_lib_var=yes"
12723 echo "configure: failed program was:" >&5
12724 cat conftest.
$ac_ext >&5
12726 eval "ac_cv_lib_$ac_lib_var=no"
12729 LIBS
="$ac_save_LIBS"
12732 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12733 echo "$ac_t""yes" 1>&6
12734 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12736 echo "$ac_t""no" 1>&6
12741 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12742 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12743 echo "configure:12744: checking for shmat" >&5
12744 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12745 echo $ac_n "(cached) $ac_c" 1>&6
12747 cat > conftest.
$ac_ext <<EOF
12748 #line 12749 "configure"
12749 #include "confdefs.h"
12750 /* System header to define __stub macros and hopefully few prototypes,
12751 which can conflict with char shmat(); below. */
12752 #include <assert.h>
12753 /* Override any gcc2 internal prototype to avoid an error. */
12754 /* We use char because int might match the return type of a gcc2
12755 builtin and then its argument prototype would still apply. */
12760 /* The GNU C library defines this for functions which it implements
12761 to always fail with ENOSYS. Some functions are actually named
12762 something starting with __ and the normal name is an alias. */
12763 #if defined (__stub_shmat) || defined (__stub___shmat)
12771 if { (eval echo configure
:12772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12773 eval "ac_cv_func_shmat=yes"
12775 echo "configure: failed program was:" >&5
12776 cat conftest.
$ac_ext >&5
12778 eval "ac_cv_func_shmat=no"
12783 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12784 echo "$ac_t""yes" 1>&6
12787 echo "$ac_t""no" 1>&6
12790 if test $ac_cv_func_shmat = no
; then
12791 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12792 echo "configure:12793: checking for shmat in -lipc" >&5
12793 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12794 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12795 echo $ac_n "(cached) $ac_c" 1>&6
12797 ac_save_LIBS
="$LIBS"
12799 cat > conftest.
$ac_ext <<EOF
12800 #line 12801 "configure"
12801 #include "confdefs.h"
12802 /* Override any gcc2 internal prototype to avoid an error. */
12803 /* We use char because int might match the return type of a gcc2
12804 builtin and then its argument prototype would still apply. */
12811 if { (eval echo configure
:12812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12813 eval "ac_cv_lib_$ac_lib_var=yes"
12815 echo "configure: failed program was:" >&5
12816 cat conftest.
$ac_ext >&5
12818 eval "ac_cv_lib_$ac_lib_var=no"
12821 LIBS
="$ac_save_LIBS"
12824 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12825 echo "$ac_t""yes" 1>&6
12826 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12828 echo "$ac_t""no" 1>&6
12834 # Check for libraries that X11R6 Xt/Xaw programs need.
12835 ac_save_LDFLAGS
="$LDFLAGS"
12836 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12837 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12838 # check for ICE first), but we must link in the order -lSM -lICE or
12839 # we get undefined symbols. So assume we have SM if we have ICE.
12840 # These have to be linked with before -lX11, unlike the other
12841 # libraries we check for below, so use a different variable.
12842 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12843 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12844 echo "configure:12845: checking for IceConnectionNumber in -lICE" >&5
12845 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12846 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12847 echo $ac_n "(cached) $ac_c" 1>&6
12849 ac_save_LIBS
="$LIBS"
12850 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12851 cat > conftest.
$ac_ext <<EOF
12852 #line 12853 "configure"
12853 #include "confdefs.h"
12854 /* Override any gcc2 internal prototype to avoid an error. */
12855 /* We use char because int might match the return type of a gcc2
12856 builtin and then its argument prototype would still apply. */
12857 char IceConnectionNumber();
12860 IceConnectionNumber()
12863 if { (eval echo configure
:12864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12865 eval "ac_cv_lib_$ac_lib_var=yes"
12867 echo "configure: failed program was:" >&5
12868 cat conftest.
$ac_ext >&5
12870 eval "ac_cv_lib_$ac_lib_var=no"
12873 LIBS
="$ac_save_LIBS"
12876 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12877 echo "$ac_t""yes" 1>&6
12878 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12880 echo "$ac_t""no" 1>&6
12883 LDFLAGS
="$ac_save_LDFLAGS"
12888 if test "$no_x" = "yes"; then
12889 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12892 GUI_TK_LIBRARY
="$X_LIBS"
12893 TOOLKIT_INCLUDE
="$X_CFLAGS"
12894 AFMINSTALL
=afminstall
12895 COMPILED_X_PROGRAM
=0
12897 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12898 echo "configure:12899: checking for Motif/Lesstif headers" >&5
12901 for ac_dir
in $SEARCH_INCLUDE;
12903 if test -f "$ac_dir/Xm/Xm.h"; then
12904 ac_find_includes
=$ac_dir
12909 if test "$ac_find_includes" != "" ; then
12910 echo "$ac_t""found $ac_find_includes" 1>&6
12912 cat > conftest.
$ac_ext <<EOF
12913 #line 12914 "configure"
12914 #include "confdefs.h"
12921 version = xmUseVersion;
12925 if { (eval echo configure
:12926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12928 echo "$ac_t""found in default search path" 1>&6
12929 COMPILED_X_PROGRAM
=1
12932 echo "configure: failed program was:" >&5
12933 cat conftest.
$ac_ext >&5
12936 echo "$ac_t""no" 1>&6
12937 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
12944 if test "$COMPILED_X_PROGRAM" = 0; then
12945 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
12946 echo "configure:12947: checking for Motif/Lesstif library" >&5
12949 for ac_dir
in $SEARCH_LIB;
12951 for ac_extension
in a so sl dylib
; do
12952 if test -f "$ac_dir/libXm.$ac_extension"; then
12953 ac_find_libraries
=$ac_dir
12959 if test "$ac_find_libraries" != "" ; then
12961 ac_path_to_include
=$ac_find_includes
12962 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
12964 if test $result = 0; then
12965 ac_path_to_include
=""
12967 ac_path_to_include
=" -I$ac_find_includes"
12971 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12973 if test $result = 0; then
12976 ac_path_to_link
=" -L$ac_find_libraries"
12980 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12981 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
12982 echo "$ac_t""found at $ac_find_libraries" 1>&6
12984 cat > conftest.
$ac_ext <<EOF
12985 #line 12986 "configure"
12986 #include "confdefs.h"
12993 version = xmUseVersion;
12997 if { (eval echo configure
:12998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13000 echo "$ac_t""found in default search path" 1>&6
13001 COMPILED_X_PROGRAM
=1
13004 echo "configure: failed program was:" >&5
13005 cat conftest.
$ac_ext >&5
13008 echo "$ac_t""no" 1>&6
13009 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
13018 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13019 echo "configure:13020: checking for Xpm library" >&5
13022 for ac_dir
in $SEARCH_LIB;
13024 for ac_extension
in a so sl dylib
; do
13025 if test -f "$ac_dir/libXpm.$ac_extension"; then
13026 ac_find_libraries
=$ac_dir
13032 if test "$ac_find_libraries" != "" ; then
13034 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13036 if test $result = 0; then
13039 ac_path_to_link
=" -L$ac_find_libraries"
13042 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13044 cat >> confdefs.h
<<\EOF
13045 #define wxHAVE_LIB_XPM 1
13048 echo "$ac_t""found at $ac_find_libraries" 1>&6
13050 cat > conftest.
$ac_ext <<EOF
13051 #line 13052 "configure"
13052 #include "confdefs.h"
13054 #include <X11/xpm.h>
13059 version = XpmLibraryVersion();
13063 if { (eval echo configure
:13064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13067 cat >> confdefs.h
<<\EOF
13068 #define wxHAVE_LIB_XPM 1
13071 echo "$ac_t""found in default search path" 1>&6
13072 COMPILED_X_PROGRAM
=0
13075 echo "configure: failed program was:" >&5
13076 cat conftest.
$ac_ext >&5
13079 echo "$ac_t""no" 1>&6
13080 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13087 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
13088 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
13093 if test "$wxUSE_MAC" = 1; then
13094 if test "$wxUSE_PRECOMP" = "yes"; then
13095 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
13097 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
13098 CFLAGS
="$CFLAGS -fpascal-strings"
13099 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
13101 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
13106 if test "$wxUSE_PM" = 1; then
13111 if test "$TOOLKIT" = "PM" ; then
13114 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
13117 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
13119 if test "$wxUSE_UNIVERSAL" = "yes"; then
13120 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
13122 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
13123 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
13125 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
13126 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
13127 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
13130 ALL_OBJECTS
="\$(GUIOBJS)"
13131 ALL_SOURCES
="\$(ALL_SOURCES)"
13132 ALL_HEADERS
="\$(ALL_HEADERS)"
13135 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
13137 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
13138 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
13141 if test "$wxUSE_HTML" = "yes"; then
13142 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
13145 if test "$wxUSE_LIBJPEG" = "builtin" ; then
13146 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
13148 if test "$wxUSE_LIBTIFF" = "builtin" ; then
13149 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
13151 if test "$wxUSE_LIBPNG" = "builtin" ; then
13152 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
13155 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
13156 DISTDIR
="wx\$(TOOLKIT)"
13162 if test "$USE_WIN32" = 1 ; then
13163 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
13164 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
13168 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
13169 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
13172 PORT_FILES
="\${top_srcdir}/src/files.lst"
13174 GUIDIST
="BASE_DIST"
13179 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
13180 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
13183 if test "$wxUSE_REGEX" = "builtin" ; then
13184 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
13186 if test "$wxUSE_ZLIB" = "builtin" ; then
13187 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
13190 if test "$wxUSE_OPENGL" = "yes"; then
13191 if test "$wxUSE_MAC" = 1; then
13192 OPENGL_LIBS
="-framework OpenGL -framework AGL"
13195 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13196 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13197 echo "configure:13198: checking for GL/gl.h" >&5
13198 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13199 echo $ac_n "(cached) $ac_c" 1>&6
13201 cat > conftest.
$ac_ext <<EOF
13202 #line 13203 "configure"
13203 #include "confdefs.h"
13206 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13207 { (eval echo configure
:13208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13208 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13209 if test -z "$ac_err"; then
13211 eval "ac_cv_header_$ac_safe=yes"
13214 echo "configure: failed program was:" >&5
13215 cat conftest.
$ac_ext >&5
13217 eval "ac_cv_header_$ac_safe=no"
13221 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13222 echo "$ac_t""yes" 1>&6
13224 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
13225 echo "configure:13226: checking for -lGL" >&5
13228 for ac_dir
in $SEARCH_LIB;
13230 for ac_extension
in a so sl dylib
; do
13231 if test -f "$ac_dir/libGL.$ac_extension"; then
13232 ac_find_libraries
=$ac_dir
13238 if test "$ac_find_libraries" != "" ; then
13240 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13242 if test $result = 0; then
13245 ac_path_to_link
=" -L$ac_find_libraries"
13248 if test "$ac_path_to_link" = " -L/usr/lib" ; then
13249 LDFLAGS_GL
="$LDFLAGS"
13251 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13253 OPENGL_LIBS
="-lGL -lGLU"
13254 echo "$ac_t""yes" 1>&6
13256 echo "$ac_t""no" 1>&6
13257 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
13258 echo "configure:13259: checking for -lMesaGL" >&5
13261 for ac_dir
in $SEARCH_LIB;
13263 for ac_extension
in a so sl dylib
; do
13264 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13265 ac_find_libraries
=$ac_dir
13271 if test "$ac_find_libraries" != "" ; then
13273 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13275 if test $result = 0; then
13278 ac_path_to_link
=" -L$ac_find_libraries"
13281 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13282 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
13283 echo "$ac_t""yes" 1>&6
13285 echo "$ac_t""no" 1>&6
13290 echo "$ac_t""no" 1>&6
13295 # AC_CHECK_HEADER(GL/gl.h,
13297 # AC_CHECK_LIB(GL, glFlush,
13299 # OPENGL_LIBS="-lGL -lGLU"
13302 # AC_CHECK_LIB(MesaGL, glFlush,
13304 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
13312 if test "x$OPENGL_LIBS" = "x"; then
13313 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
13317 if test "$wxUSE_OPENGL" = "yes"; then
13318 cat >> confdefs.h
<<\EOF
13319 #define wxUSE_OPENGL 1
13322 cat >> confdefs.h
<<\EOF
13323 #define wxUSE_GLCANVAS 1
13326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
13330 if test -z "$TOOLKIT_VPATH" ; then
13331 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
13334 if test -n "$TOOLKIT" ; then
13335 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
13338 lib_unicode_suffix
=
13339 if test "$wxUSE_UNICODE" = "yes"; then
13340 lib_unicode_suffix
=u
13344 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
13348 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
13349 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
13351 if test "$cross_compiling" = "yes"; then
13352 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
13353 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
13356 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
13357 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
13359 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13360 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13362 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
13363 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13364 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
13365 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13367 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
13368 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
13371 *-*-cygwin* | *-*-mingw32* )
13375 if test "$cross_compiling" != "yes"; then
13376 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13377 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13378 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
13379 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
13381 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13382 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13387 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
13388 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
13390 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
13391 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
13393 if test "$wxUSE_OPENGL" = "yes"; then
13394 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
13395 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
13400 if test "$wxUSE_SHARED" = "yes"; then
13402 *-pc-os2_emx | *-pc-os2-emx | \
13405 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
13410 if test "$wxUSE_SHARED" = "yes"; then
13412 if test "$wxUSE_OPENGL" = "yes"; then
13413 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
13414 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
13416 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
13417 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
13420 if test "$GCC" = "yes"; then
13424 SHARED_LD
="${CXX} -shared -o"
13428 if test "$GCC" == "yes"; then
13429 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
13431 LDFLAGS
="$LDFLAGS -L/usr/lib"
13433 SHARED_LD
="${CXX} -b -o"
13437 if test "$wxUSE_OPENGL" = "yes"; then
13438 WX_ALL_INSTALLED
="preinstall_gl"
13439 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13441 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13446 if test "$GCC" != "yes"; then
13447 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
13448 echo "configure:13449: checking for Intel compiler" >&5
13449 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
13450 echo $ac_n "(cached) $ac_c" 1>&6
13453 cat > conftest.
$ac_ext <<EOF
13454 #line 13455 "configure"
13455 #include "confdefs.h"
13459 #ifndef __INTEL_COMPILER
13465 if { (eval echo configure
:13466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13469 echo "configure: failed program was:" >&5
13470 cat conftest.
$ac_ext >&5
13479 echo "$ac_t""$wx_cv_prog_icc" 1>&6
13480 if test "$wx_cv_prog_icc" = "yes"; then
13485 if test "$wxUSE_SONAME" = "yes" ; then
13486 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
13487 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
13488 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
13493 if test "$GCC" = yes ; then
13494 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
13496 SHARED_LD
="${CXX} -G -o"
13498 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
13499 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
13504 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
13505 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
13506 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
13507 PIC_FLAG
="-dynamic -fPIC"
13511 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
13514 *-*-cygwin* | *-*-mingw32* )
13516 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
13518 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
13519 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
13521 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
13523 if test "$wxUSE_OPENGL" = "yes"; then
13524 WX_ALL_INSTALLED
="preinstall_gl"
13525 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13527 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13532 SHARED_LD
="${LD} -shared -o"
13535 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
13537 *-*-irix5* | *-*-irix6* | \
13544 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
13547 if test "x$WX_TARGET_LIBRARY" = "x"; then
13548 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
13549 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
13552 WX_TARGET_LIBRARY_TYPE
="so"
13553 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
13556 if test "$wxUSE_SHARED" = "no"; then
13558 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
13559 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13562 if test "$wxUSE_MAC" = 1; then
13563 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13566 if test "$wxUSE_OPENGL" = "yes"; then
13567 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
13568 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
13570 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
13573 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
13574 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
13576 WX_TARGET_LIBRARY_TYPE
="a"
13577 INSTALL_LIBRARY
='$(INSTALL_DATA)'
13580 if test "$wxUSE_MAC" = 1; then
13581 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
13582 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
13583 # Extract the first word of "Rez", so it can be a program name with args.
13584 set dummy Rez
; ac_word
=$2
13585 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13586 echo "configure:13587: checking for $ac_word" >&5
13587 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
13588 echo $ac_n "(cached) $ac_c" 1>&6
13590 if test -n "$RESCOMP"; then
13591 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13593 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13595 for ac_dir
in $ac_dummy; do
13596 test -z "$ac_dir" && ac_dir
=.
13597 if test -f $ac_dir/$ac_word; then
13598 ac_cv_prog_RESCOMP
="Rez"
13603 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
13606 RESCOMP
="$ac_cv_prog_RESCOMP"
13607 if test -n "$RESCOMP"; then
13608 echo "$ac_t""$RESCOMP" 1>&6
13610 echo "$ac_t""no" 1>&6
13613 # Extract the first word of "DeRez", so it can be a program name with args.
13614 set dummy DeRez
; ac_word
=$2
13615 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13616 echo "configure:13617: checking for $ac_word" >&5
13617 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13618 echo $ac_n "(cached) $ac_c" 1>&6
13620 if test -n "$DEREZ"; then
13621 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
13623 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13625 for ac_dir
in $ac_dummy; do
13626 test -z "$ac_dir" && ac_dir
=.
13627 if test -f $ac_dir/$ac_word; then
13628 ac_cv_prog_DEREZ
="DeRez"
13633 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
13636 DEREZ
="$ac_cv_prog_DEREZ"
13637 if test -n "$DEREZ"; then
13638 echo "$ac_t""$DEREZ" 1>&6
13640 echo "$ac_t""no" 1>&6
13643 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
13644 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
13645 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
13649 if test "$wxUSE_MAC" != 1; then
13650 for ac_hdr
in strings.h
13652 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13653 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13654 echo "configure:13655: checking for $ac_hdr" >&5
13655 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13656 echo $ac_n "(cached) $ac_c" 1>&6
13658 cat > conftest.
$ac_ext <<EOF
13659 #line 13660 "configure"
13660 #include "confdefs.h"
13663 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13664 { (eval echo configure
:13665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13665 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13666 if test -z "$ac_err"; then
13668 eval "ac_cv_header_$ac_safe=yes"
13671 echo "configure: failed program was:" >&5
13672 cat conftest.
$ac_ext >&5
13674 eval "ac_cv_header_$ac_safe=no"
13678 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13679 echo "$ac_t""yes" 1>&6
13680 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13681 cat >> confdefs.h
<<EOF
13682 #define $ac_tr_hdr 1
13686 echo "$ac_t""no" 1>&6
13692 for ac_hdr
in stdlib.h
13694 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13695 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13696 echo "configure:13697: checking for $ac_hdr" >&5
13697 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13698 echo $ac_n "(cached) $ac_c" 1>&6
13700 cat > conftest.
$ac_ext <<EOF
13701 #line 13702 "configure"
13702 #include "confdefs.h"
13705 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13706 { (eval echo configure
:13707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13707 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13708 if test -z "$ac_err"; then
13710 eval "ac_cv_header_$ac_safe=yes"
13713 echo "configure: failed program was:" >&5
13714 cat conftest.
$ac_ext >&5
13716 eval "ac_cv_header_$ac_safe=no"
13720 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13721 echo "$ac_t""yes" 1>&6
13722 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13723 cat >> confdefs.h
<<EOF
13724 #define $ac_tr_hdr 1
13728 echo "$ac_t""no" 1>&6
13732 for ac_hdr
in malloc.h
13734 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13735 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13736 echo "configure:13737: checking for $ac_hdr" >&5
13737 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13738 echo $ac_n "(cached) $ac_c" 1>&6
13740 cat > conftest.
$ac_ext <<EOF
13741 #line 13742 "configure"
13742 #include "confdefs.h"
13745 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13746 { (eval echo configure
:13747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13747 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13748 if test -z "$ac_err"; then
13750 eval "ac_cv_header_$ac_safe=yes"
13753 echo "configure: failed program was:" >&5
13754 cat conftest.
$ac_ext >&5
13756 eval "ac_cv_header_$ac_safe=no"
13760 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13761 echo "$ac_t""yes" 1>&6
13762 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13763 cat >> confdefs.h
<<EOF
13764 #define $ac_tr_hdr 1
13768 echo "$ac_t""no" 1>&6
13772 for ac_hdr
in unistd.h
13774 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13775 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13776 echo "configure:13777: checking for $ac_hdr" >&5
13777 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13778 echo $ac_n "(cached) $ac_c" 1>&6
13780 cat > conftest.
$ac_ext <<EOF
13781 #line 13782 "configure"
13782 #include "confdefs.h"
13785 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13786 { (eval echo configure
:13787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13787 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13788 if test -z "$ac_err"; then
13790 eval "ac_cv_header_$ac_safe=yes"
13793 echo "configure: failed program was:" >&5
13794 cat conftest.
$ac_ext >&5
13796 eval "ac_cv_header_$ac_safe=no"
13800 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13801 echo "$ac_t""yes" 1>&6
13802 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13803 cat >> confdefs.h
<<EOF
13804 #define $ac_tr_hdr 1
13808 echo "$ac_t""no" 1>&6
13812 for ac_hdr
in wchar.h
13814 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13815 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13816 echo "configure:13817: checking for $ac_hdr" >&5
13817 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13818 echo $ac_n "(cached) $ac_c" 1>&6
13820 cat > conftest.
$ac_ext <<EOF
13821 #line 13822 "configure"
13822 #include "confdefs.h"
13825 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13826 { (eval echo configure
:13827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13827 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13828 if test -z "$ac_err"; then
13830 eval "ac_cv_header_$ac_safe=yes"
13833 echo "configure: failed program was:" >&5
13834 cat conftest.
$ac_ext >&5
13836 eval "ac_cv_header_$ac_safe=no"
13840 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13841 echo "$ac_t""yes" 1>&6
13842 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13843 cat >> confdefs.h
<<EOF
13844 #define $ac_tr_hdr 1
13848 echo "$ac_t""no" 1>&6
13852 for ac_hdr
in wcstr.h
13854 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13855 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13856 echo "configure:13857: checking for $ac_hdr" >&5
13857 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13858 echo $ac_n "(cached) $ac_c" 1>&6
13860 cat > conftest.
$ac_ext <<EOF
13861 #line 13862 "configure"
13862 #include "confdefs.h"
13865 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13866 { (eval echo configure
:13867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13867 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13868 if test -z "$ac_err"; then
13870 eval "ac_cv_header_$ac_safe=yes"
13873 echo "configure: failed program was:" >&5
13874 cat conftest.
$ac_ext >&5
13876 eval "ac_cv_header_$ac_safe=no"
13880 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13881 echo "$ac_t""yes" 1>&6
13882 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13883 cat >> confdefs.h
<<EOF
13884 #define $ac_tr_hdr 1
13888 echo "$ac_t""no" 1>&6
13892 for ac_hdr
in wctype.h
13894 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13895 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13896 echo "configure:13897: checking for $ac_hdr" >&5
13897 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13898 echo $ac_n "(cached) $ac_c" 1>&6
13900 cat > conftest.
$ac_ext <<EOF
13901 #line 13902 "configure"
13902 #include "confdefs.h"
13905 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13906 { (eval echo configure
:13907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13907 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13908 if test -z "$ac_err"; then
13910 eval "ac_cv_header_$ac_safe=yes"
13913 echo "configure: failed program was:" >&5
13914 cat conftest.
$ac_ext >&5
13916 eval "ac_cv_header_$ac_safe=no"
13920 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13921 echo "$ac_t""yes" 1>&6
13922 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13923 cat >> confdefs.h
<<EOF
13924 #define $ac_tr_hdr 1
13928 echo "$ac_t""no" 1>&6
13932 for ac_hdr
in fnmatch.h
13934 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13935 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13936 echo "configure:13937: checking for $ac_hdr" >&5
13937 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13938 echo $ac_n "(cached) $ac_c" 1>&6
13940 cat > conftest.
$ac_ext <<EOF
13941 #line 13942 "configure"
13942 #include "confdefs.h"
13945 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13946 { (eval echo configure
:13947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13947 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13948 if test -z "$ac_err"; then
13950 eval "ac_cv_header_$ac_safe=yes"
13953 echo "configure: failed program was:" >&5
13954 cat conftest.
$ac_ext >&5
13956 eval "ac_cv_header_$ac_safe=no"
13960 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13961 echo "$ac_t""yes" 1>&6
13962 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13963 cat >> confdefs.h
<<EOF
13964 #define $ac_tr_hdr 1
13968 echo "$ac_t""no" 1>&6
13972 for ac_hdr
in langinfo.h
13974 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13975 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13976 echo "configure:13977: checking for $ac_hdr" >&5
13977 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13978 echo $ac_n "(cached) $ac_c" 1>&6
13980 cat > conftest.
$ac_ext <<EOF
13981 #line 13982 "configure"
13982 #include "confdefs.h"
13985 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13986 { (eval echo configure
:13987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13987 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13988 if test -z "$ac_err"; then
13990 eval "ac_cv_header_$ac_safe=yes"
13993 echo "configure: failed program was:" >&5
13994 cat conftest.
$ac_ext >&5
13996 eval "ac_cv_header_$ac_safe=no"
14000 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14001 echo "$ac_t""yes" 1>&6
14002 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14003 cat >> confdefs.h
<<EOF
14004 #define $ac_tr_hdr 1
14008 echo "$ac_t""no" 1>&6
14013 if test "$wxUSE_GUI" = "yes"; then
14014 if test "$wxUSE_UNIX" = "yes"; then
14015 for ac_hdr
in X
11/XKBlib.h
14017 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14018 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14019 echo "configure:14020: checking for $ac_hdr" >&5
14020 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14021 echo $ac_n "(cached) $ac_c" 1>&6
14023 cat > conftest.
$ac_ext <<EOF
14024 #line 14025 "configure"
14025 #include "confdefs.h"
14028 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14029 { (eval echo configure
:14030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14030 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14031 if test -z "$ac_err"; then
14033 eval "ac_cv_header_$ac_safe=yes"
14036 echo "configure: failed program was:" >&5
14037 cat conftest.
$ac_ext >&5
14039 eval "ac_cv_header_$ac_safe=no"
14043 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14044 echo "$ac_t""yes" 1>&6
14045 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14046 cat >> confdefs.h
<<EOF
14047 #define $ac_tr_hdr 1
14051 echo "$ac_t""no" 1>&6
14059 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
14060 echo "configure:14061: checking for ANSI C header files" >&5
14061 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
14062 echo $ac_n "(cached) $ac_c" 1>&6
14064 cat > conftest.
$ac_ext <<EOF
14065 #line 14066 "configure"
14066 #include "confdefs.h"
14067 #include <stdlib.h>
14068 #include <stdarg.h>
14069 #include <string.h>
14072 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14073 { (eval echo configure
:14074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14074 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14075 if test -z "$ac_err"; then
14077 ac_cv_header_stdc
=yes
14080 echo "configure: failed program was:" >&5
14081 cat conftest.
$ac_ext >&5
14083 ac_cv_header_stdc
=no
14087 if test $ac_cv_header_stdc = yes; then
14088 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14089 cat > conftest.
$ac_ext <<EOF
14090 #line 14091 "configure"
14091 #include "confdefs.h"
14092 #include <string.h>
14094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14095 egrep "memchr" >/dev
/null
2>&1; then
14099 ac_cv_header_stdc
=no
14105 if test $ac_cv_header_stdc = yes; then
14106 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14107 cat > conftest.
$ac_ext <<EOF
14108 #line 14109 "configure"
14109 #include "confdefs.h"
14110 #include <stdlib.h>
14112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14113 egrep "free" >/dev
/null
2>&1; then
14117 ac_cv_header_stdc
=no
14123 if test $ac_cv_header_stdc = yes; then
14124 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14125 if test "$cross_compiling" = yes; then
14128 cat > conftest.
$ac_ext <<EOF
14129 #line 14130 "configure"
14130 #include "confdefs.h"
14132 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14133 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14134 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14135 int main () { int i; for (i = 0; i < 256; i++)
14136 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
14140 if { (eval echo configure
:14141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14144 echo "configure: failed program was:" >&5
14145 cat conftest.
$ac_ext >&5
14147 ac_cv_header_stdc
=no
14155 echo "$ac_t""$ac_cv_header_stdc" 1>&6
14156 if test $ac_cv_header_stdc = yes; then
14157 cat >> confdefs.h
<<\EOF
14158 #define STDC_HEADERS 1
14163 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
14164 echo "configure:14165: checking for mode_t" >&5
14165 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
14166 echo $ac_n "(cached) $ac_c" 1>&6
14168 cat > conftest.
$ac_ext <<EOF
14169 #line 14170 "configure"
14170 #include "confdefs.h"
14171 #include <sys/types.h>
14173 #include <stdlib.h>
14174 #include <stddef.h>
14177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14178 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14180 ac_cv_type_mode_t
=yes
14183 ac_cv_type_mode_t
=no
14188 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
14189 if test $ac_cv_type_mode_t = no
; then
14190 cat >> confdefs.h
<<\EOF
14196 echo $ac_n "checking for off_t""... $ac_c" 1>&6
14197 echo "configure:14198: checking for off_t" >&5
14198 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
14199 echo $ac_n "(cached) $ac_c" 1>&6
14201 cat > conftest.
$ac_ext <<EOF
14202 #line 14203 "configure"
14203 #include "confdefs.h"
14204 #include <sys/types.h>
14206 #include <stdlib.h>
14207 #include <stddef.h>
14210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14211 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14213 ac_cv_type_off_t
=yes
14216 ac_cv_type_off_t
=no
14221 echo "$ac_t""$ac_cv_type_off_t" 1>&6
14222 if test $ac_cv_type_off_t = no
; then
14223 cat >> confdefs.h
<<\EOF
14229 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
14230 echo "configure:14231: checking for pid_t" >&5
14231 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
14232 echo $ac_n "(cached) $ac_c" 1>&6
14234 cat > conftest.
$ac_ext <<EOF
14235 #line 14236 "configure"
14236 #include "confdefs.h"
14237 #include <sys/types.h>
14239 #include <stdlib.h>
14240 #include <stddef.h>
14243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14244 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14246 ac_cv_type_pid_t
=yes
14249 ac_cv_type_pid_t
=no
14254 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
14255 if test $ac_cv_type_pid_t = no
; then
14256 cat >> confdefs.h
<<\EOF
14262 echo $ac_n "checking for size_t""... $ac_c" 1>&6
14263 echo "configure:14264: checking for size_t" >&5
14264 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
14265 echo $ac_n "(cached) $ac_c" 1>&6
14267 cat > conftest.
$ac_ext <<EOF
14268 #line 14269 "configure"
14269 #include "confdefs.h"
14270 #include <sys/types.h>
14272 #include <stdlib.h>
14273 #include <stddef.h>
14276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14277 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14279 ac_cv_type_size_t
=yes
14282 ac_cv_type_size_t
=no
14287 echo "$ac_t""$ac_cv_type_size_t" 1>&6
14288 if test $ac_cv_type_size_t = no
; then
14289 cat >> confdefs.h
<<\EOF
14290 #define size_t unsigned
14295 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
14296 echo "configure:14297: checking for uid_t in sys/types.h" >&5
14297 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
14298 echo $ac_n "(cached) $ac_c" 1>&6
14300 cat > conftest.
$ac_ext <<EOF
14301 #line 14302 "configure"
14302 #include "confdefs.h"
14303 #include <sys/types.h>
14305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14306 egrep "uid_t" >/dev
/null
2>&1; then
14308 ac_cv_type_uid_t
=yes
14311 ac_cv_type_uid_t
=no
14317 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
14318 if test $ac_cv_type_uid_t = no
; then
14319 cat >> confdefs.h
<<\EOF
14323 cat >> confdefs.h
<<\EOF
14330 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
14331 echo "configure:14332: checking for wchar_t" >&5
14332 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
14333 echo $ac_n "(cached) $ac_c" 1>&6
14336 cat > conftest.
$ac_ext <<EOF
14337 #line 14338 "configure"
14338 #include "confdefs.h"
14340 #ifdef HAVE_WCHAR_H
14342 # include <stddef.h>
14344 # include <wchar.h>
14346 #ifdef HAVE_STDLIB_H
14347 # include <stdlib.h>
14354 ws = L"Hello, world!";
14358 if { (eval echo configure
:14359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14360 wx_cv_type_wchar_t
=yes
14362 echo "configure: failed program was:" >&5
14363 cat conftest.
$ac_ext >&5
14365 wx_cv_type_wchar_t
=no
14372 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
14374 if test "$wx_cv_type_wchar_t" = "yes"; then
14375 cat >> confdefs.h
<<\EOF
14376 #define wxUSE_WCHAR_T 1
14383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14384 ac_cpp
='$CXXCPP $CPPFLAGS'
14385 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14386 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14387 cross_compiling
=$ac_cv_prog_cxx_cross
14389 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
14390 echo "configure:14391: checking if size_t is unsigned int" >&5
14391 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
14392 echo $ac_n "(cached) $ac_c" 1>&6
14394 cat > conftest.
$ac_ext <<EOF
14395 #line 14396 "configure"
14396 #include "confdefs.h"
14397 #include <stddef.h>
14402 struct Foo { void foo(size_t); void foo(unsigned int); };
14408 if { (eval echo configure
:14409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14410 wx_cv_size_t_is_uint
=no
14412 echo "configure: failed program was:" >&5
14413 cat conftest.
$ac_ext >&5
14415 wx_cv_size_t_is_uint
=yes
14422 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
14424 if test "$wx_cv_size_t_is_uint" = "yes"; then
14425 cat >> confdefs.h
<<\EOF
14426 #define wxSIZE_T_IS_UINT 1
14430 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
14431 echo "configure:14432: checking if size_t is unsigned long" >&5
14432 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
14433 echo $ac_n "(cached) $ac_c" 1>&6
14435 cat > conftest.
$ac_ext <<EOF
14436 #line 14437 "configure"
14437 #include "confdefs.h"
14438 #include <stddef.h>
14443 struct Foo { void foo(size_t); void foo(unsigned long); };
14449 if { (eval echo configure
:14450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14451 wx_cv_size_t_is_ulong
=no
14453 echo "configure: failed program was:" >&5
14454 cat conftest.
$ac_ext >&5
14456 wx_cv_size_t_is_ulong
=yes
14463 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
14465 if test "$wx_cv_size_t_is_ulong" = "yes"; then
14466 cat >> confdefs.h
<<\EOF
14467 #define wxSIZE_T_IS_ULONG 1
14474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14475 ac_cpp
='$CPP $CPPFLAGS'
14476 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14477 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14478 cross_compiling
=$ac_cv_prog_cc_cross
14482 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
14483 echo "configure:14484: checking for pw_gecos in struct passwd" >&5
14484 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
14485 echo $ac_n "(cached) $ac_c" 1>&6
14488 cat > conftest.
$ac_ext <<EOF
14489 #line 14490 "configure"
14490 #include "confdefs.h"
14500 if { (eval echo configure
:14501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14503 wx_cv_struct_pw_gecos
=yes
14506 echo "configure: failed program was:" >&5
14507 cat conftest.
$ac_ext >&5
14510 wx_cv_struct_pw_gecos
=no
14519 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
14521 if test "$wx_cv_struct_pw_gecos" = "yes"; then
14522 cat >> confdefs.h
<<\EOF
14523 #define HAVE_PW_GECOS 1
14529 echo $ac_n "checking for working const""... $ac_c" 1>&6
14530 echo "configure:14531: checking for working const" >&5
14531 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
14532 echo $ac_n "(cached) $ac_c" 1>&6
14534 cat > conftest.
$ac_ext <<EOF
14535 #line 14536 "configure"
14536 #include "confdefs.h"
14540 /* Ultrix mips cc rejects this. */
14541 typedef int charset[2]; const charset x;
14542 /* SunOS 4.1.1 cc rejects this. */
14543 char const *const *ccp;
14545 /* NEC SVR4.0.2 mips cc rejects this. */
14546 struct point {int x, y;};
14547 static struct point const zero = {0,0};
14548 /* AIX XL C 1.02.0.0 rejects this.
14549 It does not let you subtract one const X* pointer from another in an arm
14550 of an if-expression whose if-part is not a constant expression */
14551 const char *g = "string";
14552 ccp = &g + (g ? g-g : 0);
14553 /* HPUX 7.0 cc rejects these. */
14556 ccp = (char const *const *) p;
14557 { /* SCO 3.2v4 cc rejects this. */
14559 char const *s = 0 ? (char *) 0 : (char const *) 0;
14563 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14564 int x[] = {25, 17};
14565 const int *foo = &x[0];
14568 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14569 typedef const int *iptr;
14573 { /* AIX XL C 1.02.0.0 rejects this saying
14574 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14575 struct s { int j; const int *ap[3]; };
14576 struct s *b; b->j = 5;
14578 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14579 const int foo = 10;
14584 if { (eval echo configure
:14585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14588 echo "configure: failed program was:" >&5
14589 cat conftest.
$ac_ext >&5
14596 echo "$ac_t""$ac_cv_c_const" 1>&6
14597 if test $ac_cv_c_const = no
; then
14598 cat >> confdefs.h
<<\EOF
14604 echo $ac_n "checking for inline""... $ac_c" 1>&6
14605 echo "configure:14606: checking for inline" >&5
14606 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
14607 echo $ac_n "(cached) $ac_c" 1>&6
14610 for ac_kw
in inline __inline__ __inline
; do
14611 cat > conftest.
$ac_ext <<EOF
14612 #line 14613 "configure"
14613 #include "confdefs.h"
14619 if { (eval echo configure
:14620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14621 ac_cv_c_inline
=$ac_kw; break
14623 echo "configure: failed program was:" >&5
14624 cat conftest.
$ac_ext >&5
14631 echo "$ac_t""$ac_cv_c_inline" 1>&6
14632 case "$ac_cv_c_inline" in
14634 no
) cat >> confdefs.h
<<\EOF
14638 *) cat >> confdefs.h
<<EOF
14639 #define inline $ac_cv_c_inline
14645 echo $ac_n "checking size of char""... $ac_c" 1>&6
14646 echo "configure:14647: checking size of char" >&5
14647 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14648 echo $ac_n "(cached) $ac_c" 1>&6
14650 if test "$cross_compiling" = yes; then
14651 ac_cv_sizeof_char
=1
14653 cat > conftest.
$ac_ext <<EOF
14654 #line 14655 "configure"
14655 #include "confdefs.h"
14659 FILE *f=fopen("conftestval", "w");
14661 fprintf(f, "%d\n", sizeof(char));
14665 if { (eval echo configure
:14666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14667 ac_cv_sizeof_char
=`cat conftestval`
14669 echo "configure: failed program was:" >&5
14670 cat conftest.
$ac_ext >&5
14672 ac_cv_sizeof_char
=0
14678 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14679 cat >> confdefs.h
<<EOF
14680 #define SIZEOF_CHAR $ac_cv_sizeof_char
14684 echo $ac_n "checking size of short""... $ac_c" 1>&6
14685 echo "configure:14686: checking size of short" >&5
14686 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14687 echo $ac_n "(cached) $ac_c" 1>&6
14689 if test "$cross_compiling" = yes; then
14690 ac_cv_sizeof_short
=2
14692 cat > conftest.
$ac_ext <<EOF
14693 #line 14694 "configure"
14694 #include "confdefs.h"
14698 FILE *f=fopen("conftestval", "w");
14700 fprintf(f, "%d\n", sizeof(short));
14704 if { (eval echo configure
:14705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14706 ac_cv_sizeof_short
=`cat conftestval`
14708 echo "configure: failed program was:" >&5
14709 cat conftest.
$ac_ext >&5
14711 ac_cv_sizeof_short
=0
14717 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14718 cat >> confdefs.h
<<EOF
14719 #define SIZEOF_SHORT $ac_cv_sizeof_short
14723 echo $ac_n "checking size of int *""... $ac_c" 1>&6
14724 echo "configure:14725: checking size of int *" >&5
14725 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
14726 echo $ac_n "(cached) $ac_c" 1>&6
14728 if test "$cross_compiling" = yes; then
14729 ac_cv_sizeof_int_p
=4
14731 cat > conftest.
$ac_ext <<EOF
14732 #line 14733 "configure"
14733 #include "confdefs.h"
14737 FILE *f=fopen("conftestval", "w");
14739 fprintf(f, "%d\n", sizeof(int *));
14743 if { (eval echo configure
:14744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14745 ac_cv_sizeof_int_p
=`cat conftestval`
14747 echo "configure: failed program was:" >&5
14748 cat conftest.
$ac_ext >&5
14750 ac_cv_sizeof_int_p
=0
14756 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
14757 cat >> confdefs.h
<<EOF
14758 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
14762 echo $ac_n "checking size of int""... $ac_c" 1>&6
14763 echo "configure:14764: checking size of int" >&5
14764 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14765 echo $ac_n "(cached) $ac_c" 1>&6
14767 if test "$cross_compiling" = yes; then
14770 cat > conftest.
$ac_ext <<EOF
14771 #line 14772 "configure"
14772 #include "confdefs.h"
14776 FILE *f=fopen("conftestval", "w");
14778 fprintf(f, "%d\n", sizeof(int));
14782 if { (eval echo configure
:14783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14784 ac_cv_sizeof_int
=`cat conftestval`
14786 echo "configure: failed program was:" >&5
14787 cat conftest.
$ac_ext >&5
14795 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14796 cat >> confdefs.h
<<EOF
14797 #define SIZEOF_INT $ac_cv_sizeof_int
14801 echo $ac_n "checking size of long""... $ac_c" 1>&6
14802 echo "configure:14803: checking size of long" >&5
14803 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14804 echo $ac_n "(cached) $ac_c" 1>&6
14806 if test "$cross_compiling" = yes; then
14807 ac_cv_sizeof_long
=4
14809 cat > conftest.
$ac_ext <<EOF
14810 #line 14811 "configure"
14811 #include "confdefs.h"
14815 FILE *f=fopen("conftestval", "w");
14817 fprintf(f, "%d\n", sizeof(long));
14821 if { (eval echo configure
:14822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14823 ac_cv_sizeof_long
=`cat conftestval`
14825 echo "configure: failed program was:" >&5
14826 cat conftest.
$ac_ext >&5
14828 ac_cv_sizeof_long
=0
14834 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14835 cat >> confdefs.h
<<EOF
14836 #define SIZEOF_LONG $ac_cv_sizeof_long
14840 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14841 echo "configure:14842: checking size of long long" >&5
14842 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14843 echo $ac_n "(cached) $ac_c" 1>&6
14845 if test "$cross_compiling" = yes; then
14846 ac_cv_sizeof_long_long
=0
14848 cat > conftest.
$ac_ext <<EOF
14849 #line 14850 "configure"
14850 #include "confdefs.h"
14854 FILE *f=fopen("conftestval", "w");
14856 fprintf(f, "%d\n", sizeof(long long));
14860 if { (eval echo configure
:14861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14862 ac_cv_sizeof_long_long
=`cat conftestval`
14864 echo "configure: failed program was:" >&5
14865 cat conftest.
$ac_ext >&5
14867 ac_cv_sizeof_long_long
=0
14873 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14874 cat >> confdefs.h
<<EOF
14875 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14880 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14881 echo "configure:14882: checking size of wchar_t" >&5
14882 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14883 echo $ac_n "(cached) $ac_c" 1>&6
14886 if test "$cross_compiling" = yes; then
14887 wx_cv_sizeof_wchar_t
=4
14890 cat > conftest.
$ac_ext <<EOF
14891 #line 14892 "configure"
14892 #include "confdefs.h"
14894 #ifdef HAVE_WCHAR_H
14896 # include <stddef.h>
14898 # include <wchar.h>
14900 #ifdef HAVE_STDLIB_H
14901 # include <stdlib.h>
14906 FILE *f=fopen("conftestval", "w");
14908 fprintf(f, "%i", sizeof(wchar_t));
14913 if { (eval echo configure
:14914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14915 wx_cv_sizeof_wchar_t
=`cat conftestval`
14917 echo "configure: failed program was:" >&5
14918 cat conftest.
$ac_ext >&5
14920 wx_cv_sizeof_wchar_t
=0
14928 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
14930 cat >> confdefs.h
<<EOF
14931 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
14935 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
14936 echo "configure:14937: checking whether byte ordering is bigendian" >&5
14937 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
14938 echo $ac_n "(cached) $ac_c" 1>&6
14940 ac_cv_c_bigendian
=unknown
14941 # See if sys/param.h defines the BYTE_ORDER macro.
14942 cat > conftest.
$ac_ext <<EOF
14943 #line 14944 "configure"
14944 #include "confdefs.h"
14945 #include <sys/types.h>
14946 #include <sys/param.h>
14949 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14950 bogus endian macros
14954 if { (eval echo configure
:14955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14956 # It does; now see whether it defined to BIG_ENDIAN or not.
14957 cat > conftest.
$ac_ext <<EOF
14958 #line 14959 "configure"
14959 #include "confdefs.h"
14960 #include <sys/types.h>
14961 #include <sys/param.h>
14964 #if BYTE_ORDER != BIG_ENDIAN
14969 if { (eval echo configure
:14970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14971 ac_cv_c_bigendian
=yes
14973 echo "configure: failed program was:" >&5
14974 cat conftest.
$ac_ext >&5
14976 ac_cv_c_bigendian
=no
14980 echo "configure: failed program was:" >&5
14981 cat conftest.
$ac_ext >&5
14984 if test $ac_cv_c_bigendian = unknown
; then
14985 if test "$cross_compiling" = yes; then
14986 ac_cv_c_bigendian
=unknown
14988 cat > conftest.
$ac_ext <<EOF
14989 #line 14990 "configure"
14990 #include "confdefs.h"
14992 /* Are we little or big endian? From Harbison&Steele. */
14996 char c[sizeof (long)];
14999 exit (u.c[sizeof (long) - 1] == 1);
15002 if { (eval echo configure
:15003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15004 ac_cv_c_bigendian
=no
15006 echo "configure: failed program was:" >&5
15007 cat conftest.
$ac_ext >&5
15009 ac_cv_c_bigendian
=yes
15017 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
15018 if test $ac_cv_c_bigendian = unknown
; then
15019 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
15021 if test $ac_cv_c_bigendian = yes; then
15022 cat >> confdefs.h
<<\EOF
15023 #define WORDS_BIGENDIAN 1
15029 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
15030 echo "configure:15031: checking how to run the C++ preprocessor" >&5
15031 if test -z "$CXXCPP"; then
15032 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
15033 echo $ac_n "(cached) $ac_c" 1>&6
15036 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15037 ac_cpp
='$CXXCPP $CPPFLAGS'
15038 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15039 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15040 cross_compiling
=$ac_cv_prog_cxx_cross
15041 CXXCPP
="${CXX-g++} -E"
15042 cat > conftest.
$ac_ext <<EOF
15043 #line 15044 "configure"
15044 #include "confdefs.h"
15045 #include <stdlib.h>
15047 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15048 { (eval echo configure
:15049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15049 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15050 if test -z "$ac_err"; then
15054 echo "configure: failed program was:" >&5
15055 cat conftest.
$ac_ext >&5
15060 ac_cv_prog_CXXCPP
="$CXXCPP"
15062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15063 ac_cpp
='$CXXCPP $CPPFLAGS'
15064 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15065 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15066 cross_compiling
=$ac_cv_prog_cxx_cross
15069 CXXCPP
="$ac_cv_prog_CXXCPP"
15070 echo "$ac_t""$CXXCPP" 1>&6
15073 if test "$cross_compiling" = "yes"; then
15074 cat >> confdefs.h
<<\EOF
15075 #define wxUSE_IOSTREAMH 1
15081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15082 ac_cpp
='$CXXCPP $CPPFLAGS'
15083 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15084 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15085 cross_compiling
=$ac_cv_prog_cxx_cross
15088 for ac_hdr
in iostream
15090 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15091 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15092 echo "configure:15093: checking for $ac_hdr" >&5
15093 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15094 echo $ac_n "(cached) $ac_c" 1>&6
15096 cat > conftest.
$ac_ext <<EOF
15097 #line 15098 "configure"
15098 #include "confdefs.h"
15101 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15102 { (eval echo configure
:15103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15103 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15104 if test -z "$ac_err"; then
15106 eval "ac_cv_header_$ac_safe=yes"
15109 echo "configure: failed program was:" >&5
15110 cat conftest.
$ac_ext >&5
15112 eval "ac_cv_header_$ac_safe=no"
15116 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15117 echo "$ac_t""yes" 1>&6
15118 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15119 cat >> confdefs.h
<<EOF
15120 #define $ac_tr_hdr 1
15124 echo "$ac_t""no" 1>&6
15129 if test "$ac_cv_header_iostream" = "yes" ; then
15132 cat >> confdefs.h
<<\EOF
15133 #define wxUSE_IOSTREAMH 1
15139 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15140 ac_cpp
='$CPP $CPPFLAGS'
15141 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15142 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15143 cross_compiling
=$ac_cv_prog_cc_cross
15149 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
15150 echo "configure:15151: checking if C++ compiler supports bool" >&5
15151 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
15152 echo $ac_n "(cached) $ac_c" 1>&6
15157 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15158 ac_cpp
='$CXXCPP $CPPFLAGS'
15159 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15160 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15161 cross_compiling
=$ac_cv_prog_cxx_cross
15164 cat > conftest.
$ac_ext <<EOF
15165 #line 15166 "configure"
15166 #include "confdefs.h"
15177 if { (eval echo configure
:15178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15183 echo "configure: failed program was:" >&5
15184 cat conftest.
$ac_ext >&5
15194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15195 ac_cpp
='$CPP $CPPFLAGS'
15196 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15197 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15198 cross_compiling
=$ac_cv_prog_cc_cross
15203 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
15205 if test "$wx_cv_cpp_bool" = "yes"; then
15206 cat >> confdefs.h
<<\EOF
15207 #define HAVE_BOOL 1
15214 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
15215 echo "configure:15216: checking for wcslen in -lc" >&5
15216 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
15217 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15218 echo $ac_n "(cached) $ac_c" 1>&6
15220 ac_save_LIBS
="$LIBS"
15222 cat > conftest.
$ac_ext <<EOF
15223 #line 15224 "configure"
15224 #include "confdefs.h"
15225 /* Override any gcc2 internal prototype to avoid an error. */
15226 /* We use char because int might match the return type of a gcc2
15227 builtin and then its argument prototype would still apply. */
15234 if { (eval echo configure
:15235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15236 eval "ac_cv_lib_$ac_lib_var=yes"
15238 echo "configure: failed program was:" >&5
15239 cat conftest.
$ac_ext >&5
15241 eval "ac_cv_lib_$ac_lib_var=no"
15244 LIBS
="$ac_save_LIBS"
15247 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15248 echo "$ac_t""yes" 1>&6
15250 cat >> confdefs.h
<<\EOF
15251 #define HAVE_WCSLEN 1
15257 echo "$ac_t""no" 1>&6
15259 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15260 echo "configure:15261: checking for wcslen in -lw" >&5
15261 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15262 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15263 echo $ac_n "(cached) $ac_c" 1>&6
15265 ac_save_LIBS
="$LIBS"
15267 cat > conftest.
$ac_ext <<EOF
15268 #line 15269 "configure"
15269 #include "confdefs.h"
15270 /* Override any gcc2 internal prototype to avoid an error. */
15271 /* We use char because int might match the return type of a gcc2
15272 builtin and then its argument prototype would still apply. */
15279 if { (eval echo configure
:15280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15281 eval "ac_cv_lib_$ac_lib_var=yes"
15283 echo "configure: failed program was:" >&5
15284 cat conftest.
$ac_ext >&5
15286 eval "ac_cv_lib_$ac_lib_var=no"
15289 LIBS
="$ac_save_LIBS"
15292 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15293 echo "$ac_t""yes" 1>&6
15295 cat >> confdefs.h
<<\EOF
15296 #define HAVE_WCSLEN 1
15302 echo "$ac_t""no" 1>&6
15304 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15305 echo "configure:15306: checking for wcslen in -lmsvcrt" >&5
15306 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15307 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15308 echo $ac_n "(cached) $ac_c" 1>&6
15310 ac_save_LIBS
="$LIBS"
15311 LIBS
="-lmsvcrt $LIBS"
15312 cat > conftest.
$ac_ext <<EOF
15313 #line 15314 "configure"
15314 #include "confdefs.h"
15315 /* Override any gcc2 internal prototype to avoid an error. */
15316 /* We use char because int might match the return type of a gcc2
15317 builtin and then its argument prototype would still apply. */
15324 if { (eval echo configure
:15325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15326 eval "ac_cv_lib_$ac_lib_var=yes"
15328 echo "configure: failed program was:" >&5
15329 cat conftest.
$ac_ext >&5
15331 eval "ac_cv_lib_$ac_lib_var=no"
15334 LIBS
="$ac_save_LIBS"
15337 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15338 echo "$ac_t""yes" 1>&6
15340 cat >> confdefs.h
<<\EOF
15341 #define HAVE_WCSLEN 1
15347 echo "$ac_t""no" 1>&6
15357 for ac_func
in wcsrtombs
15359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15360 echo "configure:15361: checking for $ac_func" >&5
15361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15362 echo $ac_n "(cached) $ac_c" 1>&6
15364 cat > conftest.
$ac_ext <<EOF
15365 #line 15366 "configure"
15366 #include "confdefs.h"
15367 /* System header to define __stub macros and hopefully few prototypes,
15368 which can conflict with char $ac_func(); below. */
15369 #include <assert.h>
15370 /* Override any gcc2 internal prototype to avoid an error. */
15371 /* We use char because int might match the return type of a gcc2
15372 builtin and then its argument prototype would still apply. */
15377 /* The GNU C library defines this for functions which it implements
15378 to always fail with ENOSYS. Some functions are actually named
15379 something starting with __ and the normal name is an alias. */
15380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15388 if { (eval echo configure
:15389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15390 eval "ac_cv_func_$ac_func=yes"
15392 echo "configure: failed program was:" >&5
15393 cat conftest.
$ac_ext >&5
15395 eval "ac_cv_func_$ac_func=no"
15400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15401 echo "$ac_t""yes" 1>&6
15402 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15403 cat >> confdefs.h
<<EOF
15404 #define $ac_tr_func 1
15408 echo "$ac_t""no" 1>&6
15413 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15414 echo "configure:15415: checking for vprintf" >&5
15415 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15416 echo $ac_n "(cached) $ac_c" 1>&6
15418 cat > conftest.
$ac_ext <<EOF
15419 #line 15420 "configure"
15420 #include "confdefs.h"
15421 /* System header to define __stub macros and hopefully few prototypes,
15422 which can conflict with char vprintf(); below. */
15423 #include <assert.h>
15424 /* Override any gcc2 internal prototype to avoid an error. */
15425 /* We use char because int might match the return type of a gcc2
15426 builtin and then its argument prototype would still apply. */
15431 /* The GNU C library defines this for functions which it implements
15432 to always fail with ENOSYS. Some functions are actually named
15433 something starting with __ and the normal name is an alias. */
15434 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15442 if { (eval echo configure
:15443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15444 eval "ac_cv_func_vprintf=yes"
15446 echo "configure: failed program was:" >&5
15447 cat conftest.
$ac_ext >&5
15449 eval "ac_cv_func_vprintf=no"
15454 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15455 echo "$ac_t""yes" 1>&6
15456 cat >> confdefs.h
<<\EOF
15457 #define HAVE_VPRINTF 1
15461 echo "$ac_t""no" 1>&6
15464 if test "$ac_cv_func_vprintf" != yes; then
15465 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15466 echo "configure:15467: checking for _doprnt" >&5
15467 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15468 echo $ac_n "(cached) $ac_c" 1>&6
15470 cat > conftest.
$ac_ext <<EOF
15471 #line 15472 "configure"
15472 #include "confdefs.h"
15473 /* System header to define __stub macros and hopefully few prototypes,
15474 which can conflict with char _doprnt(); below. */
15475 #include <assert.h>
15476 /* Override any gcc2 internal prototype to avoid an error. */
15477 /* We use char because int might match the return type of a gcc2
15478 builtin and then its argument prototype would still apply. */
15483 /* The GNU C library defines this for functions which it implements
15484 to always fail with ENOSYS. Some functions are actually named
15485 something starting with __ and the normal name is an alias. */
15486 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15494 if { (eval echo configure
:15495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15496 eval "ac_cv_func__doprnt=yes"
15498 echo "configure: failed program was:" >&5
15499 cat conftest.
$ac_ext >&5
15501 eval "ac_cv_func__doprnt=no"
15506 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15507 echo "$ac_t""yes" 1>&6
15508 cat >> confdefs.h
<<\EOF
15509 #define HAVE_DOPRNT 1
15513 echo "$ac_t""no" 1>&6
15523 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15524 echo "configure:15525: checking for vsnprintf" >&5
15525 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15526 echo $ac_n "(cached) $ac_c" 1>&6
15529 cat > conftest.
$ac_ext <<EOF
15530 #line 15531 "configure"
15531 #include "confdefs.h"
15534 #include <stdarg.h>
15538 int wx_test_vsnprintf(const char *, ...);
15540 wx_test_vsnprintf("%s");
15544 int wx_test_vsnprintf(const char *fmt, ...)
15549 va_start(argp, fmt);
15550 vsnprintf(s, 42, fmt, argp);
15555 if { (eval echo configure
:15556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15558 wx_cv_func_vsnprintf
=yes
15561 echo "configure: failed program was:" >&5
15562 cat conftest.
$ac_ext >&5
15565 cat > conftest.
$ac_ext <<EOF
15566 #line 15567 "configure"
15567 #include "confdefs.h"
15570 #include <stdarg.h>
15574 int wx_test_vsnprintf(const char *, ...);
15576 wx_test_vsnprintf("%s");
15580 int wx_test_vsnprintf(const char *fmt, ...)
15585 va_start(argp, fmt);
15586 _vsnprintf(s, 42, fmt, argp);
15591 if { (eval echo configure
:15592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15594 wx_cv_func_vsnprintf
=yes
15597 echo "configure: failed program was:" >&5
15598 cat conftest.
$ac_ext >&5
15601 wx_cv_func_vsnprintf
=no
15611 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15613 if test "$wx_cv_func_vsnprintf" = yes; then
15614 cat >> confdefs.h
<<\EOF
15615 #define HAVE_VSNPRINTF 1
15619 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15622 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15623 echo "configure:15624: checking for vsscanf" >&5
15624 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15625 echo $ac_n "(cached) $ac_c" 1>&6
15628 cat > conftest.
$ac_ext <<EOF
15629 #line 15630 "configure"
15630 #include "confdefs.h"
15633 #include <stdarg.h>
15637 int wx_test_vsscanf(const char *, ...);
15639 wx_test_vsscanf("%d");
15643 int wx_test_vsscanf(const char *fmt, ...)
15646 va_start(argp, fmt);
15647 vsscanf("42", fmt, argp);
15652 if { (eval echo configure
:15653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15655 wx_cv_func_vsscanf
=yes
15658 echo "configure: failed program was:" >&5
15659 cat conftest.
$ac_ext >&5
15662 wx_cv_func_vsscanf
=no
15669 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15671 if test "$wx_cv_func_vsscanf" = yes; then
15672 cat >> confdefs.h
<<\EOF
15673 #define HAVE_VSSCANF 1
15678 if test "$TOOLKIT" != "MSW"; then
15683 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15684 ac_cpp
='$CXXCPP $CPPFLAGS'
15685 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15686 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15687 cross_compiling
=$ac_cv_prog_cxx_cross
15691 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15692 if test "${with_libiconv_prefix+set}" = set; then
15693 withval
="$with_libiconv_prefix"
15695 for dir
in `echo "$withval" | tr : ' '`; do
15696 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
15697 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
15703 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15704 echo "configure:15705: checking for iconv" >&5
15705 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15706 echo $ac_n "(cached) $ac_c" 1>&6
15709 am_cv_func_iconv
="no, consider installing GNU libiconv"
15711 cat > conftest.
$ac_ext <<EOF
15712 #line 15713 "configure"
15713 #include "confdefs.h"
15714 #include <stdlib.h>
15717 iconv_t cd = iconv_open("","");
15718 iconv(cd,NULL,NULL,NULL,NULL);
15722 if { (eval echo configure
:15723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15724 am_cv_func_iconv
=yes
15726 echo "configure: failed program was:" >&5
15727 cat conftest.
$ac_ext >&5
15730 if test "$am_cv_func_iconv" != yes; then
15731 am_save_LIBS
="$LIBS"
15732 LIBS
="$LIBS -liconv"
15733 cat > conftest.
$ac_ext <<EOF
15734 #line 15735 "configure"
15735 #include "confdefs.h"
15736 #include <stdlib.h>
15739 iconv_t cd = iconv_open("","");
15740 iconv(cd,NULL,NULL,NULL,NULL);
15744 if { (eval echo configure
:15745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15746 am_cv_lib_iconv
=yes
15747 am_cv_func_iconv
=yes
15749 echo "configure: failed program was:" >&5
15750 cat conftest.
$ac_ext >&5
15753 LIBS
="$am_save_LIBS"
15758 echo "$ac_t""$am_cv_func_iconv" 1>&6
15759 if test "$am_cv_func_iconv" = yes; then
15760 cat >> confdefs.h
<<\EOF
15761 #define HAVE_ICONV 1
15764 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
15765 echo "configure:15766: checking if iconv needs const" >&5
15766 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
15767 echo $ac_n "(cached) $ac_c" 1>&6
15769 cat > conftest.
$ac_ext <<EOF
15770 #line 15771 "configure"
15771 #include "confdefs.h"
15773 #include <stdlib.h>
15779 #if defined(__STDC__) || defined(__cplusplus)
15780 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15789 if { (eval echo configure
:15790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15791 wx_cv_func_iconv_const
="no"
15793 echo "configure: failed program was:" >&5
15794 cat conftest.
$ac_ext >&5
15796 wx_cv_func_iconv_const
="yes"
15803 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
15806 if test "x$wx_cv_func_iconv_const" = "xyes"; then
15807 iconv_const
="const"
15810 cat >> confdefs.h
<<EOF
15811 #define ICONV_CONST $iconv_const
15816 if test "$am_cv_lib_iconv" = yes; then
15821 LIBS
="$LIBICONV $LIBS"
15823 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15824 ac_cpp
='$CPP $CPPFLAGS'
15825 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15826 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15827 cross_compiling
=$ac_cv_prog_cc_cross
15830 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15831 for ac_func
in sigaction
15833 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15834 echo "configure:15835: checking for $ac_func" >&5
15835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15836 echo $ac_n "(cached) $ac_c" 1>&6
15838 cat > conftest.
$ac_ext <<EOF
15839 #line 15840 "configure"
15840 #include "confdefs.h"
15841 /* System header to define __stub macros and hopefully few prototypes,
15842 which can conflict with char $ac_func(); below. */
15843 #include <assert.h>
15844 /* Override any gcc2 internal prototype to avoid an error. */
15845 /* We use char because int might match the return type of a gcc2
15846 builtin and then its argument prototype would still apply. */
15851 /* The GNU C library defines this for functions which it implements
15852 to always fail with ENOSYS. Some functions are actually named
15853 something starting with __ and the normal name is an alias. */
15854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15862 if { (eval echo configure
:15863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15864 eval "ac_cv_func_$ac_func=yes"
15866 echo "configure: failed program was:" >&5
15867 cat conftest.
$ac_ext >&5
15869 eval "ac_cv_func_$ac_func=no"
15874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15875 echo "$ac_t""yes" 1>&6
15876 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15877 cat >> confdefs.h
<<EOF
15878 #define $ac_tr_func 1
15882 echo "$ac_t""no" 1>&6
15887 if test "$ac_cv_func_sigaction" = "no"; then
15888 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15889 wxUSE_ON_FATAL_EXCEPTION
=no
15892 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15895 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15896 ac_cpp
='$CXXCPP $CPPFLAGS'
15897 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15898 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15899 cross_compiling
=$ac_cv_prog_cxx_cross
15902 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15903 echo "configure:15904: checking for sa_handler type" >&5
15904 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15905 echo $ac_n "(cached) $ac_c" 1>&6
15908 cat > conftest.
$ac_ext <<EOF
15909 #line 15910 "configure"
15910 #include "confdefs.h"
15911 #include <signal.h>
15914 extern void testSigHandler(int);
15916 struct sigaction sa;
15917 sa.sa_handler = testSigHandler;
15921 if { (eval echo configure
:15922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15924 wx_cv_type_sa_handler
=int
15927 echo "configure: failed program was:" >&5
15928 cat conftest.
$ac_ext >&5
15931 wx_cv_type_sa_handler
=void
15938 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
15941 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15942 ac_cpp
='$CPP $CPPFLAGS'
15943 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15944 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15945 cross_compiling
=$ac_cv_prog_cc_cross
15948 cat >> confdefs.h
<<EOF
15949 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
15955 for ac_func
in vfork
15957 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15958 echo "configure:15959: checking for $ac_func" >&5
15959 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15960 echo $ac_n "(cached) $ac_c" 1>&6
15962 cat > conftest.
$ac_ext <<EOF
15963 #line 15964 "configure"
15964 #include "confdefs.h"
15965 /* System header to define __stub macros and hopefully few prototypes,
15966 which can conflict with char $ac_func(); below. */
15967 #include <assert.h>
15968 /* Override any gcc2 internal prototype to avoid an error. */
15969 /* We use char because int might match the return type of a gcc2
15970 builtin and then its argument prototype would still apply. */
15975 /* The GNU C library defines this for functions which it implements
15976 to always fail with ENOSYS. Some functions are actually named
15977 something starting with __ and the normal name is an alias. */
15978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15986 if { (eval echo configure
:15987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15988 eval "ac_cv_func_$ac_func=yes"
15990 echo "configure: failed program was:" >&5
15991 cat conftest.
$ac_ext >&5
15993 eval "ac_cv_func_$ac_func=no"
15998 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15999 echo "$ac_t""yes" 1>&6
16000 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16001 cat >> confdefs.h
<<EOF
16002 #define $ac_tr_func 1
16006 echo "$ac_t""no" 1>&6
16011 for ac_func
in mkstemp mktemp
16013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16014 echo "configure:16015: checking for $ac_func" >&5
16015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16016 echo $ac_n "(cached) $ac_c" 1>&6
16018 cat > conftest.
$ac_ext <<EOF
16019 #line 16020 "configure"
16020 #include "confdefs.h"
16021 /* System header to define __stub macros and hopefully few prototypes,
16022 which can conflict with char $ac_func(); below. */
16023 #include <assert.h>
16024 /* Override any gcc2 internal prototype to avoid an error. */
16025 /* We use char because int might match the return type of a gcc2
16026 builtin and then its argument prototype would still apply. */
16031 /* The GNU C library defines this for functions which it implements
16032 to always fail with ENOSYS. Some functions are actually named
16033 something starting with __ and the normal name is an alias. */
16034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16042 if { (eval echo configure
:16043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16044 eval "ac_cv_func_$ac_func=yes"
16046 echo "configure: failed program was:" >&5
16047 cat conftest.
$ac_ext >&5
16049 eval "ac_cv_func_$ac_func=no"
16054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16055 echo "$ac_t""yes" 1>&6
16056 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16057 cat >> confdefs.h
<<EOF
16058 #define $ac_tr_func 1
16062 echo "$ac_t""no" 1>&6
16067 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16068 echo "configure:16069: checking for statfs" >&5
16069 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16070 echo $ac_n "(cached) $ac_c" 1>&6
16072 cat > conftest.
$ac_ext <<EOF
16073 #line 16074 "configure"
16074 #include "confdefs.h"
16076 #if defined(__BSD__)
16077 #include <sys/param.h>
16078 #include <sys/mount.h>
16080 #include <sys/vfs.h>
16094 if { (eval echo configure
:16095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16097 wx_cv_func_statfs
=yes
16100 echo "configure: failed program was:" >&5
16101 cat conftest.
$ac_ext >&5
16104 wx_cv_func_statfs
=no
16112 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16114 if test "$wx_cv_func_statfs" = "yes"; then
16115 cat >> confdefs.h
<<\EOF
16116 #define HAVE_STATFS 1
16120 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16121 echo "configure:16122: checking for statvfs" >&5
16122 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16123 echo $ac_n "(cached) $ac_c" 1>&6
16125 cat > conftest.
$ac_ext <<EOF
16126 #line 16127 "configure"
16127 #include "confdefs.h"
16129 #include <sys/statvfs.h>
16142 if { (eval echo configure
:16143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16145 wx_cv_func_statvfs
=yes
16148 echo "configure: failed program was:" >&5
16149 cat conftest.
$ac_ext >&5
16152 wx_cv_func_statvfs
=no
16160 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16162 if test "$wx_cv_func_statvfs" = "yes"; then
16163 cat >> confdefs.h
<<\EOF
16164 #define HAVE_STATVFS 1
16168 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16172 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16173 for ac_func
in fcntl flock
16175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16176 echo "configure:16177: checking for $ac_func" >&5
16177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16178 echo $ac_n "(cached) $ac_c" 1>&6
16180 cat > conftest.
$ac_ext <<EOF
16181 #line 16182 "configure"
16182 #include "confdefs.h"
16183 /* System header to define __stub macros and hopefully few prototypes,
16184 which can conflict with char $ac_func(); below. */
16185 #include <assert.h>
16186 /* Override any gcc2 internal prototype to avoid an error. */
16187 /* We use char because int might match the return type of a gcc2
16188 builtin and then its argument prototype would still apply. */
16193 /* The GNU C library defines this for functions which it implements
16194 to always fail with ENOSYS. Some functions are actually named
16195 something starting with __ and the normal name is an alias. */
16196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16204 if { (eval echo configure
:16205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16206 eval "ac_cv_func_$ac_func=yes"
16208 echo "configure: failed program was:" >&5
16209 cat conftest.
$ac_ext >&5
16211 eval "ac_cv_func_$ac_func=no"
16216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16217 echo "$ac_t""yes" 1>&6
16218 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16219 cat >> confdefs.h
<<EOF
16220 #define $ac_tr_func 1
16224 echo "$ac_t""no" 1>&6
16229 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16230 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16231 wxUSE_SNGLINST_CHECKER
=no
16235 for ac_func
in timegm
16237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16238 echo "configure:16239: checking for $ac_func" >&5
16239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16240 echo $ac_n "(cached) $ac_c" 1>&6
16242 cat > conftest.
$ac_ext <<EOF
16243 #line 16244 "configure"
16244 #include "confdefs.h"
16245 /* System header to define __stub macros and hopefully few prototypes,
16246 which can conflict with char $ac_func(); below. */
16247 #include <assert.h>
16248 /* Override any gcc2 internal prototype to avoid an error. */
16249 /* We use char because int might match the return type of a gcc2
16250 builtin and then its argument prototype would still apply. */
16255 /* The GNU C library defines this for functions which it implements
16256 to always fail with ENOSYS. Some functions are actually named
16257 something starting with __ and the normal name is an alias. */
16258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16266 if { (eval echo configure
:16267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16268 eval "ac_cv_func_$ac_func=yes"
16270 echo "configure: failed program was:" >&5
16271 cat conftest.
$ac_ext >&5
16273 eval "ac_cv_func_$ac_func=no"
16278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16279 echo "$ac_t""yes" 1>&6
16280 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16281 cat >> confdefs.h
<<EOF
16282 #define $ac_tr_func 1
16286 echo "$ac_t""no" 1>&6
16291 for ac_func
in putenv setenv
16293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16294 echo "configure:16295: checking for $ac_func" >&5
16295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16296 echo $ac_n "(cached) $ac_c" 1>&6
16298 cat > conftest.
$ac_ext <<EOF
16299 #line 16300 "configure"
16300 #include "confdefs.h"
16301 /* System header to define __stub macros and hopefully few prototypes,
16302 which can conflict with char $ac_func(); below. */
16303 #include <assert.h>
16304 /* Override any gcc2 internal prototype to avoid an error. */
16305 /* We use char because int might match the return type of a gcc2
16306 builtin and then its argument prototype would still apply. */
16311 /* The GNU C library defines this for functions which it implements
16312 to always fail with ENOSYS. Some functions are actually named
16313 something starting with __ and the normal name is an alias. */
16314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16322 if { (eval echo configure
:16323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16324 eval "ac_cv_func_$ac_func=yes"
16326 echo "configure: failed program was:" >&5
16327 cat conftest.
$ac_ext >&5
16329 eval "ac_cv_func_$ac_func=no"
16334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16335 echo "$ac_t""yes" 1>&6
16336 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16337 cat >> confdefs.h
<<EOF
16338 #define $ac_tr_func 1
16342 echo "$ac_t""no" 1>&6
16347 HAVE_SOME_SLEEP_FUNC
=0
16348 if test "$USE_BEOS" = 1; then
16349 cat >> confdefs.h
<<\EOF
16350 #define HAVE_SLEEP 1
16353 HAVE_SOME_SLEEP_FUNC
=1
16356 if test "$USE_DARWIN" = 1; then
16357 cat >> confdefs.h
<<\EOF
16358 #define HAVE_USLEEP 1
16361 HAVE_SOME_SLEEP_FUNC
=1
16364 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16366 for ac_func
in nanosleep
16368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16369 echo "configure:16370: checking for $ac_func" >&5
16370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16371 echo $ac_n "(cached) $ac_c" 1>&6
16373 cat > conftest.
$ac_ext <<EOF
16374 #line 16375 "configure"
16375 #include "confdefs.h"
16376 /* System header to define __stub macros and hopefully few prototypes,
16377 which can conflict with char $ac_func(); below. */
16378 #include <assert.h>
16379 /* Override any gcc2 internal prototype to avoid an error. */
16380 /* We use char because int might match the return type of a gcc2
16381 builtin and then its argument prototype would still apply. */
16386 /* The GNU C library defines this for functions which it implements
16387 to always fail with ENOSYS. Some functions are actually named
16388 something starting with __ and the normal name is an alias. */
16389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16397 if { (eval echo configure
:16398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16399 eval "ac_cv_func_$ac_func=yes"
16401 echo "configure: failed program was:" >&5
16402 cat conftest.
$ac_ext >&5
16404 eval "ac_cv_func_$ac_func=no"
16409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16410 echo "$ac_t""yes" 1>&6
16411 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16412 cat >> confdefs.h
<<EOF
16413 #define $ac_tr_func 1
16415 cat >> confdefs.h
<<\EOF
16416 #define HAVE_NANOSLEEP 1
16420 echo "$ac_t""no" 1>&6
16421 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16422 echo "configure:16423: checking for nanosleep in -lposix4" >&5
16423 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16424 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16425 echo $ac_n "(cached) $ac_c" 1>&6
16427 ac_save_LIBS
="$LIBS"
16428 LIBS
="-lposix4 $LIBS"
16429 cat > conftest.
$ac_ext <<EOF
16430 #line 16431 "configure"
16431 #include "confdefs.h"
16432 /* Override any gcc2 internal prototype to avoid an error. */
16433 /* We use char because int might match the return type of a gcc2
16434 builtin and then its argument prototype would still apply. */
16441 if { (eval echo configure
:16442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16443 eval "ac_cv_lib_$ac_lib_var=yes"
16445 echo "configure: failed program was:" >&5
16446 cat conftest.
$ac_ext >&5
16448 eval "ac_cv_lib_$ac_lib_var=no"
16451 LIBS
="$ac_save_LIBS"
16454 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16455 echo "$ac_t""yes" 1>&6
16457 cat >> confdefs.h
<<\EOF
16458 #define HAVE_NANOSLEEP 1
16461 POSIX4_LINK
=" -lposix4"
16464 echo "$ac_t""no" 1>&6
16466 for ac_func
in usleep
16468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16469 echo "configure:16470: checking for $ac_func" >&5
16470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16471 echo $ac_n "(cached) $ac_c" 1>&6
16473 cat > conftest.
$ac_ext <<EOF
16474 #line 16475 "configure"
16475 #include "confdefs.h"
16476 /* System header to define __stub macros and hopefully few prototypes,
16477 which can conflict with char $ac_func(); below. */
16478 #include <assert.h>
16479 /* Override any gcc2 internal prototype to avoid an error. */
16480 /* We use char because int might match the return type of a gcc2
16481 builtin and then its argument prototype would still apply. */
16486 /* The GNU C library defines this for functions which it implements
16487 to always fail with ENOSYS. Some functions are actually named
16488 something starting with __ and the normal name is an alias. */
16489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16497 if { (eval echo configure
:16498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16499 eval "ac_cv_func_$ac_func=yes"
16501 echo "configure: failed program was:" >&5
16502 cat conftest.
$ac_ext >&5
16504 eval "ac_cv_func_$ac_func=no"
16509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16510 echo "$ac_t""yes" 1>&6
16511 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16512 cat >> confdefs.h
<<EOF
16513 #define $ac_tr_func 1
16515 cat >> confdefs.h
<<\EOF
16516 #define HAVE_USLEEP 1
16520 echo "$ac_t""no" 1>&6
16521 echo "configure: warning: wxSleep() function will not work" 1>&2
16537 for ac_func
in uname gethostname
16539 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16540 echo "configure:16541: checking for $ac_func" >&5
16541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16542 echo $ac_n "(cached) $ac_c" 1>&6
16544 cat > conftest.
$ac_ext <<EOF
16545 #line 16546 "configure"
16546 #include "confdefs.h"
16547 /* System header to define __stub macros and hopefully few prototypes,
16548 which can conflict with char $ac_func(); below. */
16549 #include <assert.h>
16550 /* Override any gcc2 internal prototype to avoid an error. */
16551 /* We use char because int might match the return type of a gcc2
16552 builtin and then its argument prototype would still apply. */
16557 /* The GNU C library defines this for functions which it implements
16558 to always fail with ENOSYS. Some functions are actually named
16559 something starting with __ and the normal name is an alias. */
16560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16568 if { (eval echo configure
:16569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16570 eval "ac_cv_func_$ac_func=yes"
16572 echo "configure: failed program was:" >&5
16573 cat conftest.
$ac_ext >&5
16575 eval "ac_cv_func_$ac_func=no"
16580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16581 echo "$ac_t""yes" 1>&6
16582 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16583 cat >> confdefs.h
<<EOF
16584 #define $ac_tr_func 1
16588 echo "$ac_t""no" 1>&6
16595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16596 ac_cpp
='$CXXCPP $CPPFLAGS'
16597 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16598 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16599 cross_compiling
=$ac_cv_prog_cxx_cross
16602 for ac_func
in strtok_r
16604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16605 echo "configure:16606: checking for $ac_func" >&5
16606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16607 echo $ac_n "(cached) $ac_c" 1>&6
16609 cat > conftest.
$ac_ext <<EOF
16610 #line 16611 "configure"
16611 #include "confdefs.h"
16612 /* System header to define __stub macros and hopefully few prototypes,
16613 which can conflict with char $ac_func(); below. */
16614 #include <assert.h>
16615 /* Override any gcc2 internal prototype to avoid an error. */
16619 /* We use char because int might match the return type of a gcc2
16620 builtin and then its argument prototype would still apply. */
16625 /* The GNU C library defines this for functions which it implements
16626 to always fail with ENOSYS. Some functions are actually named
16627 something starting with __ and the normal name is an alias. */
16628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16636 if { (eval echo configure
:16637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16638 eval "ac_cv_func_$ac_func=yes"
16640 echo "configure: failed program was:" >&5
16641 cat conftest.
$ac_ext >&5
16643 eval "ac_cv_func_$ac_func=no"
16648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16649 echo "$ac_t""yes" 1>&6
16650 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16651 cat >> confdefs.h
<<EOF
16652 #define $ac_tr_func 1
16656 echo "$ac_t""no" 1>&6
16662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16663 ac_cpp
='$CPP $CPPFLAGS'
16664 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16665 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16666 cross_compiling
=$ac_cv_prog_cc_cross
16670 for ac_func
in inet_addr
16672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16673 echo "configure:16674: checking for $ac_func" >&5
16674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16675 echo $ac_n "(cached) $ac_c" 1>&6
16677 cat > conftest.
$ac_ext <<EOF
16678 #line 16679 "configure"
16679 #include "confdefs.h"
16680 /* System header to define __stub macros and hopefully few prototypes,
16681 which can conflict with char $ac_func(); below. */
16682 #include <assert.h>
16683 /* Override any gcc2 internal prototype to avoid an error. */
16684 /* We use char because int might match the return type of a gcc2
16685 builtin and then its argument prototype would still apply. */
16690 /* The GNU C library defines this for functions which it implements
16691 to always fail with ENOSYS. Some functions are actually named
16692 something starting with __ and the normal name is an alias. */
16693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16701 if { (eval echo configure
:16702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16703 eval "ac_cv_func_$ac_func=yes"
16705 echo "configure: failed program was:" >&5
16706 cat conftest.
$ac_ext >&5
16708 eval "ac_cv_func_$ac_func=no"
16713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16714 echo "$ac_t""yes" 1>&6
16715 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16716 cat >> confdefs.h
<<EOF
16717 #define $ac_tr_func 1
16719 cat >> confdefs.h
<<\EOF
16720 #define HAVE_INET_ADDR 1
16724 echo "$ac_t""no" 1>&6
16725 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16726 echo "configure:16727: checking for inet_addr in -lnsl" >&5
16727 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16728 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16729 echo $ac_n "(cached) $ac_c" 1>&6
16731 ac_save_LIBS
="$LIBS"
16733 cat > conftest.
$ac_ext <<EOF
16734 #line 16735 "configure"
16735 #include "confdefs.h"
16736 /* Override any gcc2 internal prototype to avoid an error. */
16737 /* We use char because int might match the return type of a gcc2
16738 builtin and then its argument prototype would still apply. */
16745 if { (eval echo configure
:16746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16747 eval "ac_cv_lib_$ac_lib_var=yes"
16749 echo "configure: failed program was:" >&5
16750 cat conftest.
$ac_ext >&5
16752 eval "ac_cv_lib_$ac_lib_var=no"
16755 LIBS
="$ac_save_LIBS"
16758 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16759 echo "$ac_t""yes" 1>&6
16762 echo "$ac_t""no" 1>&6
16763 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16764 echo "configure:16765: checking for inet_addr in -lresolv" >&5
16765 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16766 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16767 echo $ac_n "(cached) $ac_c" 1>&6
16769 ac_save_LIBS
="$LIBS"
16770 LIBS
="-lresolv $LIBS"
16771 cat > conftest.
$ac_ext <<EOF
16772 #line 16773 "configure"
16773 #include "confdefs.h"
16774 /* Override any gcc2 internal prototype to avoid an error. */
16775 /* We use char because int might match the return type of a gcc2
16776 builtin and then its argument prototype would still apply. */
16783 if { (eval echo configure
:16784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16785 eval "ac_cv_lib_$ac_lib_var=yes"
16787 echo "configure: failed program was:" >&5
16788 cat conftest.
$ac_ext >&5
16790 eval "ac_cv_lib_$ac_lib_var=no"
16793 LIBS
="$ac_save_LIBS"
16796 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16797 echo "$ac_t""yes" 1>&6
16801 echo "$ac_t""no" 1>&6
16813 for ac_func
in inet_aton
16815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16816 echo "configure:16817: checking for $ac_func" >&5
16817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16818 echo $ac_n "(cached) $ac_c" 1>&6
16820 cat > conftest.
$ac_ext <<EOF
16821 #line 16822 "configure"
16822 #include "confdefs.h"
16823 /* System header to define __stub macros and hopefully few prototypes,
16824 which can conflict with char $ac_func(); below. */
16825 #include <assert.h>
16826 /* Override any gcc2 internal prototype to avoid an error. */
16827 /* We use char because int might match the return type of a gcc2
16828 builtin and then its argument prototype would still apply. */
16833 /* The GNU C library defines this for functions which it implements
16834 to always fail with ENOSYS. Some functions are actually named
16835 something starting with __ and the normal name is an alias. */
16836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16844 if { (eval echo configure
:16845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16846 eval "ac_cv_func_$ac_func=yes"
16848 echo "configure: failed program was:" >&5
16849 cat conftest.
$ac_ext >&5
16851 eval "ac_cv_func_$ac_func=no"
16856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16857 echo "$ac_t""yes" 1>&6
16858 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16859 cat >> confdefs.h
<<EOF
16860 #define $ac_tr_func 1
16862 cat >> confdefs.h
<<\EOF
16863 #define HAVE_INET_ATON 1
16867 echo "$ac_t""no" 1>&6
16868 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
16869 echo "configure:16870: checking for inet_aton in -l$INET_LINK" >&5
16870 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
16871 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16872 echo $ac_n "(cached) $ac_c" 1>&6
16874 ac_save_LIBS
="$LIBS"
16875 LIBS
="-l$INET_LINK $LIBS"
16876 cat > conftest.
$ac_ext <<EOF
16877 #line 16878 "configure"
16878 #include "confdefs.h"
16879 /* Override any gcc2 internal prototype to avoid an error. */
16880 /* We use char because int might match the return type of a gcc2
16881 builtin and then its argument prototype would still apply. */
16888 if { (eval echo configure
:16889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16890 eval "ac_cv_lib_$ac_lib_var=yes"
16892 echo "configure: failed program was:" >&5
16893 cat conftest.
$ac_ext >&5
16895 eval "ac_cv_lib_$ac_lib_var=no"
16898 LIBS
="$ac_save_LIBS"
16901 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16902 echo "$ac_t""yes" 1>&6
16903 cat >> confdefs.h
<<\EOF
16904 #define HAVE_INET_ATON 1
16908 echo "$ac_t""no" 1>&6
16916 if test "x$INET_LINK" != "x"; then
16917 cat >> confdefs.h
<<\EOF
16918 #define HAVE_INET_ADDR 1
16921 INET_LINK
=" -l$INET_LINK"
16927 cat > confcache
<<\EOF
16928 # This file is a shell script that caches the results of configure
16929 # tests run on this system so they can be shared between configure
16930 # scripts and configure runs. It is not useful on other systems.
16931 # If it contains results you don't want to keep, you may remove or edit it.
16933 # By default, configure uses ./config.cache as the cache file,
16934 # creating it if it does not exist already. You can give configure
16935 # the --cache-file=FILE option to use a different cache file; that is
16936 # what configure does when it calls configure scripts in
16937 # subdirectories, so they share the cache.
16938 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16939 # config.status only pays attention to the cache file if you give it the
16940 # --recheck option to rerun configure.
16943 # The following way of writing the cache mishandles newlines in values,
16944 # but we know of no workaround that is simple, portable, and efficient.
16945 # So, don't put newlines in cache variables' values.
16946 # Ultrix sh set writes to stderr and can't be redirected directly,
16947 # and sets the high bit in the cache file unless we assign to the vars.
16949 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16951 # `set' does not quote correctly, so add quotes (double-quote substitution
16952 # turns \\\\ into \\, and sed turns \\ into \).
16954 -e "s/'/'\\\\''/g" \
16955 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16958 # `set' quotes correctly as required by POSIX, so do not add quotes.
16959 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16962 if cmp -s $cache_file confcache
; then
16965 if test -w $cache_file; then
16966 echo "updating cache $cache_file"
16967 cat confcache
> $cache_file
16969 echo "not updating unwritable cache $cache_file"
16976 if test "$TOOLKIT" != "MSW"; then
16982 CODE_GEN_FLAGS_CXX
=
16984 if test "$wxUSE_THREADS" = "yes" ; then
16985 if test "$wxUSE_WINE" = 1 ; then
16986 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
16988 elif test "$USE_BEOS" = 1; then
16989 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
16994 if test "$wxUSE_THREADS" = "yes" ; then
16996 if test "$USE_AIX" = 1; then
16997 THREADS_LIB
=pthreads
16999 THREADS_LIB
=pthread
17002 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
17003 echo "configure:17004: checking for pthread_create in -l$THREADS_LIB" >&5
17004 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
17005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17006 echo $ac_n "(cached) $ac_c" 1>&6
17008 ac_save_LIBS
="$LIBS"
17009 LIBS
="-l$THREADS_LIB $LIBS"
17010 cat > conftest.
$ac_ext <<EOF
17011 #line 17012 "configure"
17012 #include "confdefs.h"
17013 /* Override any gcc2 internal prototype to avoid an error. */
17014 /* We use char because int might match the return type of a gcc2
17015 builtin and then its argument prototype would still apply. */
17016 char pthread_create();
17022 if { (eval echo configure
:17023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17024 eval "ac_cv_lib_$ac_lib_var=yes"
17026 echo "configure: failed program was:" >&5
17027 cat conftest.
$ac_ext >&5
17029 eval "ac_cv_lib_$ac_lib_var=no"
17032 LIBS
="$ac_save_LIBS"
17035 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17036 echo "$ac_t""yes" 1>&6
17038 THREADS_OBJ
="threadpsx.lo"
17039 THREADS_LINK
=$THREADS_LIB
17042 echo "$ac_t""no" 1>&6
17044 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
17045 echo "configure:17046: checking for pthread_create in -lc_r" >&5
17046 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
17047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17048 echo $ac_n "(cached) $ac_c" 1>&6
17050 ac_save_LIBS
="$LIBS"
17052 cat > conftest.
$ac_ext <<EOF
17053 #line 17054 "configure"
17054 #include "confdefs.h"
17055 /* Override any gcc2 internal prototype to avoid an error. */
17056 /* We use char because int might match the return type of a gcc2
17057 builtin and then its argument prototype would still apply. */
17058 char pthread_create();
17064 if { (eval echo configure
:17065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17066 eval "ac_cv_lib_$ac_lib_var=yes"
17068 echo "configure: failed program was:" >&5
17069 cat conftest.
$ac_ext >&5
17071 eval "ac_cv_lib_$ac_lib_var=no"
17074 LIBS
="$ac_save_LIBS"
17077 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17078 echo "$ac_t""yes" 1>&6
17080 THREADS_OBJ
="threadpsx.lo"
17084 echo "$ac_t""no" 1>&6
17086 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
17087 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
17088 echo "configure:17089: checking for sys/prctl.h" >&5
17089 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17090 echo $ac_n "(cached) $ac_c" 1>&6
17092 cat > conftest.
$ac_ext <<EOF
17093 #line 17094 "configure"
17094 #include "confdefs.h"
17095 #include <sys/prctl.h>
17097 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17098 { (eval echo configure
:17099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17099 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17100 if test -z "$ac_err"; then
17102 eval "ac_cv_header_$ac_safe=yes"
17105 echo "configure: failed program was:" >&5
17106 cat conftest.
$ac_ext >&5
17108 eval "ac_cv_header_$ac_safe=no"
17112 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17113 echo "$ac_t""yes" 1>&6
17115 THREADS_OBJ
="threadsgi.lo"
17118 echo "$ac_t""no" 1>&6
17128 if test -z "$THREADS_OBJ" ; then
17130 echo "configure: warning: No thread support on this system... disabled" 1>&2
17134 if test "$wxUSE_THREADS" = "yes" ; then
17135 for ac_func
in thr_setconcurrency
17137 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17138 echo "configure:17139: checking for $ac_func" >&5
17139 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17140 echo $ac_n "(cached) $ac_c" 1>&6
17142 cat > conftest.
$ac_ext <<EOF
17143 #line 17144 "configure"
17144 #include "confdefs.h"
17145 /* System header to define __stub macros and hopefully few prototypes,
17146 which can conflict with char $ac_func(); below. */
17147 #include <assert.h>
17148 /* Override any gcc2 internal prototype to avoid an error. */
17149 /* We use char because int might match the return type of a gcc2
17150 builtin and then its argument prototype would still apply. */
17155 /* The GNU C library defines this for functions which it implements
17156 to always fail with ENOSYS. Some functions are actually named
17157 something starting with __ and the normal name is an alias. */
17158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17166 if { (eval echo configure
:17167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17168 eval "ac_cv_func_$ac_func=yes"
17170 echo "configure: failed program was:" >&5
17171 cat conftest.
$ac_ext >&5
17173 eval "ac_cv_func_$ac_func=no"
17178 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17179 echo "$ac_t""yes" 1>&6
17180 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17181 cat >> confdefs.h
<<EOF
17182 #define $ac_tr_func 1
17186 echo "$ac_t""no" 1>&6
17192 for ac_hdr
in sched.h
17194 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17195 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17196 echo "configure:17197: checking for $ac_hdr" >&5
17197 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17198 echo $ac_n "(cached) $ac_c" 1>&6
17200 cat > conftest.
$ac_ext <<EOF
17201 #line 17202 "configure"
17202 #include "confdefs.h"
17205 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17206 { (eval echo configure
:17207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17207 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17208 if test -z "$ac_err"; then
17210 eval "ac_cv_header_$ac_safe=yes"
17213 echo "configure: failed program was:" >&5
17214 cat conftest.
$ac_ext >&5
17216 eval "ac_cv_header_$ac_safe=no"
17220 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17221 echo "$ac_t""yes" 1>&6
17222 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17223 cat >> confdefs.h
<<EOF
17224 #define $ac_tr_hdr 1
17228 echo "$ac_t""no" 1>&6
17233 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
17234 echo "configure:17235: checking for sched_yield in -l$THREADS_LINK" >&5
17235 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
17236 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17237 echo $ac_n "(cached) $ac_c" 1>&6
17239 ac_save_LIBS
="$LIBS"
17240 LIBS
="-l$THREADS_LINK $LIBS"
17241 cat > conftest.
$ac_ext <<EOF
17242 #line 17243 "configure"
17243 #include "confdefs.h"
17244 /* Override any gcc2 internal prototype to avoid an error. */
17245 /* We use char because int might match the return type of a gcc2
17246 builtin and then its argument prototype would still apply. */
17247 char sched_yield();
17253 if { (eval echo configure
:17254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17255 eval "ac_cv_lib_$ac_lib_var=yes"
17257 echo "configure: failed program was:" >&5
17258 cat conftest.
$ac_ext >&5
17260 eval "ac_cv_lib_$ac_lib_var=no"
17263 LIBS
="$ac_save_LIBS"
17266 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17267 echo "$ac_t""yes" 1>&6
17268 cat >> confdefs.h
<<\EOF
17269 #define HAVE_SCHED_YIELD 1
17273 echo "$ac_t""no" 1>&6
17274 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17275 echo "configure:17276: checking for sched_yield in -lposix4" >&5
17276 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17277 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17278 echo $ac_n "(cached) $ac_c" 1>&6
17280 ac_save_LIBS
="$LIBS"
17281 LIBS
="-lposix4 $LIBS"
17282 cat > conftest.
$ac_ext <<EOF
17283 #line 17284 "configure"
17284 #include "confdefs.h"
17285 /* Override any gcc2 internal prototype to avoid an error. */
17286 /* We use char because int might match the return type of a gcc2
17287 builtin and then its argument prototype would still apply. */
17288 char sched_yield();
17294 if { (eval echo configure
:17295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17296 eval "ac_cv_lib_$ac_lib_var=yes"
17298 echo "configure: failed program was:" >&5
17299 cat conftest.
$ac_ext >&5
17301 eval "ac_cv_lib_$ac_lib_var=no"
17304 LIBS
="$ac_save_LIBS"
17307 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17308 echo "$ac_t""yes" 1>&6
17309 cat >> confdefs.h
<<\EOF
17310 #define HAVE_SCHED_YIELD 1
17312 POSIX4_LINK
=" -lposix4"
17314 echo "$ac_t""no" 1>&6
17315 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17324 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
17325 echo "configure:17326: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
17326 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
17327 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17328 echo $ac_n "(cached) $ac_c" 1>&6
17330 ac_save_LIBS
="$LIBS"
17331 LIBS
="-l$THREADS_LINK $LIBS"
17332 cat > conftest.
$ac_ext <<EOF
17333 #line 17334 "configure"
17334 #include "confdefs.h"
17335 /* Override any gcc2 internal prototype to avoid an error. */
17336 /* We use char because int might match the return type of a gcc2
17337 builtin and then its argument prototype would still apply. */
17338 char pthread_attr_getschedpolicy();
17341 pthread_attr_getschedpolicy()
17344 if { (eval echo configure
:17345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17346 eval "ac_cv_lib_$ac_lib_var=yes"
17348 echo "configure: failed program was:" >&5
17349 cat conftest.
$ac_ext >&5
17351 eval "ac_cv_lib_$ac_lib_var=no"
17354 LIBS
="$ac_save_LIBS"
17357 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17358 echo "$ac_t""yes" 1>&6
17359 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
17360 echo "configure:17361: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
17361 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
17362 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17363 echo $ac_n "(cached) $ac_c" 1>&6
17365 ac_save_LIBS
="$LIBS"
17366 LIBS
="-l$THREADS_LINK $LIBS"
17367 cat > conftest.
$ac_ext <<EOF
17368 #line 17369 "configure"
17369 #include "confdefs.h"
17370 /* Override any gcc2 internal prototype to avoid an error. */
17371 /* We use char because int might match the return type of a gcc2
17372 builtin and then its argument prototype would still apply. */
17373 char pthread_attr_setschedparam();
17376 pthread_attr_setschedparam()
17379 if { (eval echo configure
:17380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17381 eval "ac_cv_lib_$ac_lib_var=yes"
17383 echo "configure: failed program was:" >&5
17384 cat conftest.
$ac_ext >&5
17386 eval "ac_cv_lib_$ac_lib_var=no"
17389 LIBS
="$ac_save_LIBS"
17392 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17393 echo "$ac_t""yes" 1>&6
17394 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
17395 echo "configure:17396: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
17396 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17397 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17398 echo $ac_n "(cached) $ac_c" 1>&6
17400 ac_save_LIBS
="$LIBS"
17401 LIBS
="-l$THREADS_LINK $LIBS"
17402 cat > conftest.
$ac_ext <<EOF
17403 #line 17404 "configure"
17404 #include "confdefs.h"
17405 /* Override any gcc2 internal prototype to avoid an error. */
17406 /* We use char because int might match the return type of a gcc2
17407 builtin and then its argument prototype would still apply. */
17408 char sched_get_priority_max();
17411 sched_get_priority_max()
17414 if { (eval echo configure
:17415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17416 eval "ac_cv_lib_$ac_lib_var=yes"
17418 echo "configure: failed program was:" >&5
17419 cat conftest.
$ac_ext >&5
17421 eval "ac_cv_lib_$ac_lib_var=no"
17424 LIBS
="$ac_save_LIBS"
17427 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17428 echo "$ac_t""yes" 1>&6
17431 echo "$ac_t""no" 1>&6
17432 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17433 echo "configure:17434: checking for sched_get_priority_max in -lposix4" >&5
17434 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17435 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17436 echo $ac_n "(cached) $ac_c" 1>&6
17438 ac_save_LIBS
="$LIBS"
17439 LIBS
="-lposix4 $LIBS"
17440 cat > conftest.
$ac_ext <<EOF
17441 #line 17442 "configure"
17442 #include "confdefs.h"
17443 /* Override any gcc2 internal prototype to avoid an error. */
17444 /* We use char because int might match the return type of a gcc2
17445 builtin and then its argument prototype would still apply. */
17446 char sched_get_priority_max();
17449 sched_get_priority_max()
17452 if { (eval echo configure
:17453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17454 eval "ac_cv_lib_$ac_lib_var=yes"
17456 echo "configure: failed program was:" >&5
17457 cat conftest.
$ac_ext >&5
17459 eval "ac_cv_lib_$ac_lib_var=no"
17462 LIBS
="$ac_save_LIBS"
17465 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17466 echo "$ac_t""yes" 1>&6
17469 POSIX4_LINK
=" -lposix4"
17472 echo "$ac_t""no" 1>&6
17480 echo "$ac_t""no" 1>&6
17485 echo "$ac_t""no" 1>&6
17489 if test "$HAVE_PRIOR_FUNCS" = 1; then
17490 cat >> confdefs.h
<<\EOF
17491 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17495 echo "configure: warning: Setting thread priority will not work" 1>&2
17498 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
17499 echo "configure:17500: checking for pthread_cancel in -l$THREADS_LINK" >&5
17500 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
17501 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17502 echo $ac_n "(cached) $ac_c" 1>&6
17504 ac_save_LIBS
="$LIBS"
17505 LIBS
="-l$THREADS_LINK $LIBS"
17506 cat > conftest.
$ac_ext <<EOF
17507 #line 17508 "configure"
17508 #include "confdefs.h"
17509 /* Override any gcc2 internal prototype to avoid an error. */
17510 /* We use char because int might match the return type of a gcc2
17511 builtin and then its argument prototype would still apply. */
17512 char pthread_cancel();
17518 if { (eval echo configure
:17519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17520 eval "ac_cv_lib_$ac_lib_var=yes"
17522 echo "configure: failed program was:" >&5
17523 cat conftest.
$ac_ext >&5
17525 eval "ac_cv_lib_$ac_lib_var=no"
17528 LIBS
="$ac_save_LIBS"
17531 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17532 echo "$ac_t""yes" 1>&6
17533 cat >> confdefs.h
<<\EOF
17534 #define HAVE_PTHREAD_CANCEL 1
17538 echo "$ac_t""no" 1>&6
17539 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17543 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17544 echo "configure:17545: checking for pthread_cleanup_push/pop" >&5
17545 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17546 echo $ac_n "(cached) $ac_c" 1>&6
17549 cat > conftest.
$ac_ext <<EOF
17550 #line 17551 "configure"
17551 #include "confdefs.h"
17552 #include <pthread.h>
17555 pthread_cleanup_push(NULL, NULL);
17556 pthread_cleanup_pop(0);
17560 if { (eval echo configure
:17561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17563 wx_cv_func_pthread_cleanup_push
=yes
17566 echo "configure: failed program was:" >&5
17567 cat conftest.
$ac_ext >&5
17570 wx_cv_func_pthread_cleanup_push
=no
17577 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17579 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17580 cat >> confdefs.h
<<\EOF
17581 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17587 if test "x$wx_lib_glibc21" = "xyes"; then
17588 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
17591 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17592 echo "configure:17593: checking for pthread_mutexattr_t" >&5
17593 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17594 echo $ac_n "(cached) $ac_c" 1>&6
17597 cat > conftest.
$ac_ext <<EOF
17598 #line 17599 "configure"
17599 #include "confdefs.h"
17600 #include <pthread.h>
17603 pthread_mutexattr_t attr;
17604 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17608 if { (eval echo configure
:17609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17611 wx_cv_type_pthread_mutexattr_t
=yes
17614 echo "configure: failed program was:" >&5
17615 cat conftest.
$ac_ext >&5
17618 wx_cv_type_pthread_mutexattr_t
=no
17626 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17628 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17629 cat >> confdefs.h
<<\EOF
17630 #define HAVE_PTHREAD_MUTEXATTR_T 1
17634 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17635 echo "configure:17636: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17636 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17637 echo $ac_n "(cached) $ac_c" 1>&6
17640 cat > conftest.
$ac_ext <<EOF
17641 #line 17642 "configure"
17642 #include "confdefs.h"
17643 #include <pthread.h>
17646 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17650 if { (eval echo configure
:17651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17653 wx_cv_type_pthread_rec_mutex_init
=yes
17656 echo "configure: failed program was:" >&5
17657 cat conftest.
$ac_ext >&5
17660 wx_cv_type_pthread_rec_mutex_init
=no
17668 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17669 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17670 cat >> confdefs.h
<<\EOF
17671 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17675 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17679 THREADS_LINK
=" -l$THREADS_LINK"
17681 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
17682 CPPFLAGS
="$CFLAGS -mt"
17683 CXXFLAGS
="$CXXFLAGS -mt"
17684 LDFLAGS
="$LDFLAGS -mt"
17690 if test "$wxUSE_THREADS" = "yes"; then
17691 cat >> confdefs.h
<<\EOF
17692 #define wxUSE_THREADS 1
17696 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
17698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
17700 if test "$ac_cv_func_strtok_r" = "yes"; then
17701 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17702 echo "configure:17703: checking if -D_REENTRANT is needed" >&5
17703 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17704 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
17705 echo "$ac_t""yes" 1>&6
17707 echo "$ac_t""no" 1>&6
17712 if test "$WXGTK20" = 1 ; then
17713 cat >> confdefs.h
<<EOF
17714 #define __WXGTK20__ $WXGTK20
17720 if test "$WXGTK12" = 1 ; then
17721 cat >> confdefs.h
<<EOF
17722 #define __WXGTK12__ $WXGTK12
17727 if test "$WXGTK127" = 1 ; then
17728 cat >> confdefs.h
<<EOF
17729 #define __WXGTK127__ $WXGTK127
17736 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17741 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17742 wxUSE_DEBUG_INFO
=yes
17746 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17747 cat >> confdefs.h
<<\EOF
17751 WXDEBUG_DEFINE
="-D__WXDEBUG__"
17753 if test "$wxUSE_GTK" = 1 ; then
17754 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
17758 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17759 cat >> confdefs.h
<<\EOF
17760 #define wxUSE_MEMORY_TRACING 1
17763 cat >> confdefs.h
<<\EOF
17764 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17767 cat >> confdefs.h
<<\EOF
17768 #define wxUSE_DEBUG_NEW_ALWAYS 1
17771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
17774 if test "$wxUSE_DMALLOC" = "yes" ; then
17775 DMALLOC_LIBS
="-ldmalloc"
17779 if test "$wxUSE_PROFILE" = "yes" ; then
17783 if test "$GCC" = "yes" ; then
17784 if test "$wxUSE_NO_RTTI" = "yes" ; then
17785 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
17787 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17788 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17790 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17791 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
17793 if test "$USE_WIN32" = 1 ; then
17794 # I'm not even really sure what this was ever added to solve,
17795 # but someone added it for mingw native builds, so I guess
17796 # they had a reason, right??
17797 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17802 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17803 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17804 if test "$wxUSE_OPTIMISE" = "no" ; then
17807 if test "$GCC" = yes ; then
17810 i586
-*-*|i686
-*-* )
17811 OPTIMISE
="${OPTIMISE} "
17819 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17820 cat >> confdefs.h
<<\EOF
17821 #define WXWIN_COMPATIBILITY_2 1
17825 WXWIN_COMPATIBILITY_2_2
="yes"
17828 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
17829 cat >> confdefs.h
<<\EOF
17830 #define WXWIN_COMPATIBILITY_2_2 1
17836 if test "$wxUSE_GUI" = "yes"; then
17837 cat >> confdefs.h
<<\EOF
17838 #define wxUSE_GUI 1
17843 cat >> confdefs.h
<<\EOF
17844 #define wxUSE_NOGUI 1
17850 if test "$wxUSE_UNIX" = "yes"; then
17851 cat >> confdefs.h
<<\EOF
17852 #define wxUSE_UNIX 1
17858 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17859 cat >> confdefs.h
<<\EOF
17860 #define wxUSE_APPLE_IEEE 1
17865 if test "$wxUSE_TIMER" = "yes"; then
17866 cat >> confdefs.h
<<\EOF
17867 #define wxUSE_TIMER 1
17872 if test "$wxUSE_WAVE" = "yes"; then
17873 cat >> confdefs.h
<<\EOF
17874 #define wxUSE_WAVE 1
17879 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
17880 cat >> confdefs.h
<<\EOF
17881 #define wxUSE_CMDLINE_PARSER 1
17886 if test "$wxUSE_STOPWATCH" = "yes"; then
17887 cat >> confdefs.h
<<\EOF
17888 #define wxUSE_STOPWATCH 1
17893 if test "$wxUSE_DATETIME" = "yes"; then
17894 cat >> confdefs.h
<<\EOF
17895 #define wxUSE_DATETIME 1
17900 if test "$wxUSE_TIMEDATE" = "yes"; then
17901 cat >> confdefs.h
<<\EOF
17902 #define wxUSE_TIMEDATE 1
17907 if test "$wxUSE_FILE" = "yes"; then
17908 cat >> confdefs.h
<<\EOF
17909 #define wxUSE_FILE 1
17914 if test "$wxUSE_FFILE" = "yes"; then
17915 cat >> confdefs.h
<<\EOF
17916 #define wxUSE_FFILE 1
17921 if test "$wxUSE_FILESYSTEM" = "yes"; then
17922 cat >> confdefs.h
<<\EOF
17923 #define wxUSE_FILESYSTEM 1
17928 if test "$wxUSE_FS_INET" = "yes"; then
17929 cat >> confdefs.h
<<\EOF
17930 #define wxUSE_FS_INET 1
17935 if test "$wxUSE_FS_ZIP" = "yes"; then
17936 cat >> confdefs.h
<<\EOF
17937 #define wxUSE_FS_ZIP 1
17942 if test "$wxUSE_ZIPSTREAM" = "yes"; then
17943 cat >> confdefs.h
<<\EOF
17944 #define wxUSE_ZIPSTREAM 1
17949 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17950 cat >> confdefs.h
<<\EOF
17951 #define wxUSE_ON_FATAL_EXCEPTION 1
17956 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17957 cat >> confdefs.h
<<\EOF
17958 #define wxUSE_SNGLINST_CHECKER 1
17963 if test "$wxUSE_BUSYINFO" = "yes"; then
17964 cat >> confdefs.h
<<\EOF
17965 #define wxUSE_BUSYINFO 1
17970 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
17971 cat >> confdefs.h
<<\EOF
17972 #define wxUSE_STD_IOSTREAM 1
17977 if test "$wxUSE_TEXTBUFFER" = "yes"; then
17978 cat >> confdefs.h
<<\EOF
17979 #define wxUSE_TEXTBUFFER 1
17984 if test "$wxUSE_TEXTFILE" = "yes"; then
17985 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
17986 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
17988 cat >> confdefs.h
<<\EOF
17989 #define wxUSE_TEXTFILE 1
17995 if test "$wxUSE_CONFIG" = "yes" ; then
17996 if test "$wxUSE_TEXTFILE" != "yes"; then
17997 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
17999 cat >> confdefs.h
<<\EOF
18000 #define wxUSE_CONFIG 1
18003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18007 if test "$wxUSE_INTL" = "yes" ; then
18008 if test "$wxUSE_FILE" != "yes"; then
18009 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18011 cat >> confdefs.h
<<\EOF
18012 #define wxUSE_INTL 1
18015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18016 GUIDIST
="$GUIDIST INTL_DIST"
18020 if test "$wxUSE_LOG" = "yes"; then
18021 cat >> confdefs.h
<<\EOF
18022 #define wxUSE_LOG 1
18026 if test "$wxUSE_LOGGUI" = "yes"; then
18027 cat >> confdefs.h
<<\EOF
18028 #define wxUSE_LOGGUI 1
18033 if test "$wxUSE_LOGWINDOW" = "yes"; then
18034 cat >> confdefs.h
<<\EOF
18035 #define wxUSE_LOGWINDOW 1
18040 if test "$wxUSE_LOGDIALOG" = "yes"; then
18041 cat >> confdefs.h
<<\EOF
18042 #define wxUSE_LOG_DIALOG 1
18048 if test "$wxUSE_LONGLONG" = "yes"; then
18049 cat >> confdefs.h
<<\EOF
18050 #define wxUSE_LONGLONG 1
18055 if test "$wxUSE_GEOMETRY" = "yes"; then
18056 cat >> confdefs.h
<<\EOF
18057 #define wxUSE_GEOMETRY 1
18062 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18063 cat >> confdefs.h
<<\EOF
18064 #define wxUSE_DIALUP_MANAGER 1
18067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18070 if test "$wxUSE_STREAMS" = "yes" ; then
18071 cat >> confdefs.h
<<\EOF
18072 #define wxUSE_STREAMS 1
18078 if test "$wxUSE_DATETIME" = "yes"; then
18079 for ac_func
in strptime
18081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18082 echo "configure:18083: checking for $ac_func" >&5
18083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18084 echo $ac_n "(cached) $ac_c" 1>&6
18086 cat > conftest.
$ac_ext <<EOF
18087 #line 18088 "configure"
18088 #include "confdefs.h"
18089 /* System header to define __stub macros and hopefully few prototypes,
18090 which can conflict with char $ac_func(); below. */
18091 #include <assert.h>
18092 /* Override any gcc2 internal prototype to avoid an error. */
18093 /* We use char because int might match the return type of a gcc2
18094 builtin and then its argument prototype would still apply. */
18099 /* The GNU C library defines this for functions which it implements
18100 to always fail with ENOSYS. Some functions are actually named
18101 something starting with __ and the normal name is an alias. */
18102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18110 if { (eval echo configure
:18111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18112 eval "ac_cv_func_$ac_func=yes"
18114 echo "configure: failed program was:" >&5
18115 cat conftest.
$ac_ext >&5
18117 eval "ac_cv_func_$ac_func=no"
18122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18123 echo "$ac_t""yes" 1>&6
18124 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18125 cat >> confdefs.h
<<EOF
18126 #define $ac_tr_func 1
18130 echo "$ac_t""no" 1>&6
18135 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18136 echo "configure:18137: checking for timezone variable in <time.h>" >&5
18137 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18138 echo $ac_n "(cached) $ac_c" 1>&6
18141 cat > conftest.
$ac_ext <<EOF
18142 #line 18143 "configure"
18143 #include "confdefs.h"
18154 if { (eval echo configure
:18155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18157 wx_cv_var_timezone
=timezone
18160 echo "configure: failed program was:" >&5
18161 cat conftest.
$ac_ext >&5
18164 cat > conftest.
$ac_ext <<EOF
18165 #line 18166 "configure"
18166 #include "confdefs.h"
18177 if { (eval echo configure
:18178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18180 wx_cv_var_timezone
=_timezone
18183 echo "configure: failed program was:" >&5
18184 cat conftest.
$ac_ext >&5
18187 cat > conftest.
$ac_ext <<EOF
18188 #line 18189 "configure"
18189 #include "confdefs.h"
18200 if { (eval echo configure
:18201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18203 wx_cv_var_timezone
=__timezone
18206 echo "configure: failed program was:" >&5
18207 cat conftest.
$ac_ext >&5
18210 if test "$USE_DOS" = 0 ; then
18211 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
18229 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18231 if test "x$wx_cv_var_timezone" != x
; then
18232 cat >> confdefs.h
<<EOF
18233 #define WX_TIMEZONE $wx_cv_var_timezone
18238 for ac_func
in localtime
18240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18241 echo "configure:18242: checking for $ac_func" >&5
18242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18243 echo $ac_n "(cached) $ac_c" 1>&6
18245 cat > conftest.
$ac_ext <<EOF
18246 #line 18247 "configure"
18247 #include "confdefs.h"
18248 /* System header to define __stub macros and hopefully few prototypes,
18249 which can conflict with char $ac_func(); below. */
18250 #include <assert.h>
18251 /* Override any gcc2 internal prototype to avoid an error. */
18252 /* We use char because int might match the return type of a gcc2
18253 builtin and then its argument prototype would still apply. */
18258 /* The GNU C library defines this for functions which it implements
18259 to always fail with ENOSYS. Some functions are actually named
18260 something starting with __ and the normal name is an alias. */
18261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18269 if { (eval echo configure
:18270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18271 eval "ac_cv_func_$ac_func=yes"
18273 echo "configure: failed program was:" >&5
18274 cat conftest.
$ac_ext >&5
18276 eval "ac_cv_func_$ac_func=no"
18281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18282 echo "$ac_t""yes" 1>&6
18283 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18284 cat >> confdefs.h
<<EOF
18285 #define $ac_tr_func 1
18289 echo "$ac_t""no" 1>&6
18294 if test "$ac_cv_func_localtime" = "yes"; then
18295 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18296 echo "configure:18297: checking for tm_gmtoff in struct tm" >&5
18297 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18298 echo $ac_n "(cached) $ac_c" 1>&6
18301 cat > conftest.
$ac_ext <<EOF
18302 #line 18303 "configure"
18303 #include "confdefs.h"
18314 if { (eval echo configure
:18315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18317 wx_cv_struct_tm_has_gmtoff
=yes
18320 echo "configure: failed program was:" >&5
18321 cat conftest.
$ac_ext >&5
18323 wx_cv_struct_tm_has_gmtoff
=no
18330 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18333 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18334 cat >> confdefs.h
<<\EOF
18335 #define WX_GMTOFF_IN_TM 1
18340 for ac_func
in gettimeofday ftime
18342 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18343 echo "configure:18344: checking for $ac_func" >&5
18344 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18345 echo $ac_n "(cached) $ac_c" 1>&6
18347 cat > conftest.
$ac_ext <<EOF
18348 #line 18349 "configure"
18349 #include "confdefs.h"
18350 /* System header to define __stub macros and hopefully few prototypes,
18351 which can conflict with char $ac_func(); below. */
18352 #include <assert.h>
18353 /* Override any gcc2 internal prototype to avoid an error. */
18354 /* We use char because int might match the return type of a gcc2
18355 builtin and then its argument prototype would still apply. */
18360 /* The GNU C library defines this for functions which it implements
18361 to always fail with ENOSYS. Some functions are actually named
18362 something starting with __ and the normal name is an alias. */
18363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18371 if { (eval echo configure
:18372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18373 eval "ac_cv_func_$ac_func=yes"
18375 echo "configure: failed program was:" >&5
18376 cat conftest.
$ac_ext >&5
18378 eval "ac_cv_func_$ac_func=no"
18383 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18384 echo "$ac_t""yes" 1>&6
18385 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18386 cat >> confdefs.h
<<EOF
18387 #define $ac_tr_func 1
18391 echo "$ac_t""no" 1>&6
18396 if test "$ac_cv_func_gettimeofday" = "yes"; then
18397 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18398 echo "configure:18399: checking whether gettimeofday takes two arguments" >&5
18399 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18400 echo $ac_n "(cached) $ac_c" 1>&6
18405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18406 ac_cpp
='$CXXCPP $CPPFLAGS'
18407 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18408 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18409 cross_compiling
=$ac_cv_prog_cxx_cross
18412 cat > conftest.
$ac_ext <<EOF
18413 #line 18414 "configure"
18414 #include "confdefs.h"
18416 #include <sys/time.h>
18417 #include <unistd.h>
18422 gettimeofday(&tv, NULL);
18426 if { (eval echo configure
:18427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18428 wx_cv_func_gettimeofday_has_2_args
=yes
18430 echo "configure: failed program was:" >&5
18431 cat conftest.
$ac_ext >&5
18433 cat > conftest.
$ac_ext <<EOF
18434 #line 18435 "configure"
18435 #include "confdefs.h"
18437 #include <sys/time.h>
18438 #include <unistd.h>
18447 if { (eval echo configure
:18448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18449 wx_cv_func_gettimeofday_has_2_args
=no
18451 echo "configure: failed program was:" >&5
18452 cat conftest.
$ac_ext >&5
18455 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18456 wx_cv_func_gettimeofday_has_2_args
=unknown
18465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18466 ac_cpp
='$CPP $CPPFLAGS'
18467 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18468 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18469 cross_compiling
=$ac_cv_prog_cc_cross
18474 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18476 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18477 cat >> confdefs.h
<<\EOF
18478 #define WX_GETTIMEOFDAY_NO_TZ 1
18484 cat >> confdefs.h
<<\EOF
18485 #define wxUSE_TIMEDATE 1
18488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18492 if test "$TOOLKIT" != "MSW"; then
18494 if test "$wxUSE_SOCKETS" = "yes"; then
18495 echo $ac_n "checking for socket""... $ac_c" 1>&6
18496 echo "configure:18497: checking for socket" >&5
18497 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18498 echo $ac_n "(cached) $ac_c" 1>&6
18500 cat > conftest.
$ac_ext <<EOF
18501 #line 18502 "configure"
18502 #include "confdefs.h"
18503 /* System header to define __stub macros and hopefully few prototypes,
18504 which can conflict with char socket(); below. */
18505 #include <assert.h>
18506 /* Override any gcc2 internal prototype to avoid an error. */
18507 /* We use char because int might match the return type of a gcc2
18508 builtin and then its argument prototype would still apply. */
18513 /* The GNU C library defines this for functions which it implements
18514 to always fail with ENOSYS. Some functions are actually named
18515 something starting with __ and the normal name is an alias. */
18516 #if defined (__stub_socket) || defined (__stub___socket)
18524 if { (eval echo configure
:18525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18526 eval "ac_cv_func_socket=yes"
18528 echo "configure: failed program was:" >&5
18529 cat conftest.
$ac_ext >&5
18531 eval "ac_cv_func_socket=no"
18536 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18537 echo "$ac_t""yes" 1>&6
18540 echo "$ac_t""no" 1>&6
18541 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18542 echo "configure:18543: checking for socket in -lsocket" >&5
18543 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18544 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18545 echo $ac_n "(cached) $ac_c" 1>&6
18547 ac_save_LIBS
="$LIBS"
18548 LIBS
="-lsocket $LIBS"
18549 cat > conftest.
$ac_ext <<EOF
18550 #line 18551 "configure"
18551 #include "confdefs.h"
18552 /* Override any gcc2 internal prototype to avoid an error. */
18553 /* We use char because int might match the return type of a gcc2
18554 builtin and then its argument prototype would still apply. */
18561 if { (eval echo configure
:18562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18563 eval "ac_cv_lib_$ac_lib_var=yes"
18565 echo "configure: failed program was:" >&5
18566 cat conftest.
$ac_ext >&5
18568 eval "ac_cv_lib_$ac_lib_var=no"
18571 LIBS
="$ac_save_LIBS"
18574 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18575 echo "$ac_t""yes" 1>&6
18576 INET_LINK
="$INET_LINK -lsocket"
18578 echo "$ac_t""no" 1>&6
18580 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18592 if test "$wxUSE_SOCKETS" = "yes" ; then
18593 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18594 echo "configure:18595: checking what is the type of the third argument of getsockname" >&5
18595 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18596 echo $ac_n "(cached) $ac_c" 1>&6
18601 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18602 ac_cpp
='$CXXCPP $CPPFLAGS'
18603 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18604 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18605 cross_compiling
=$ac_cv_prog_cxx_cross
18608 cat > conftest.
$ac_ext <<EOF
18609 #line 18610 "configure"
18610 #include "confdefs.h"
18612 #include <sys/types.h>
18613 #include <sys/socket.h>
18618 getsockname(0, 0, &len);
18622 if { (eval echo configure
:18623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18624 wx_cv_type_getsockname3
=socklen_t
18626 echo "configure: failed program was:" >&5
18627 cat conftest.
$ac_ext >&5
18629 cat > conftest.
$ac_ext <<EOF
18630 #line 18631 "configure"
18631 #include "confdefs.h"
18633 #include <sys/types.h>
18634 #include <sys/socket.h>
18639 getsockname(0, 0, &len);
18643 if { (eval echo configure
:18644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18645 wx_cv_type_getsockname3
=size_t
18647 echo "configure: failed program was:" >&5
18648 cat conftest.
$ac_ext >&5
18650 cat > conftest.
$ac_ext <<EOF
18651 #line 18652 "configure"
18652 #include "confdefs.h"
18654 #include <sys/types.h>
18655 #include <sys/socket.h>
18660 getsockname(0, 0, &len);
18664 if { (eval echo configure
:18665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18666 wx_cv_type_getsockname3
=int
18668 echo "configure: failed program was:" >&5
18669 cat conftest.
$ac_ext >&5
18671 wx_cv_type_getsockname3
=unknown
18683 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18684 ac_cpp
='$CPP $CPPFLAGS'
18685 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18686 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18687 cross_compiling
=$ac_cv_prog_cc_cross
18692 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18694 if test "$wx_cv_type_getsockname3" = "unknown"; then
18696 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18698 cat >> confdefs.h
<<EOF
18699 #define SOCKLEN_T $wx_cv_type_getsockname3
18706 if test "$wxUSE_SOCKETS" = "yes" ; then
18707 cat >> confdefs.h
<<\EOF
18708 #define wxUSE_SOCKETS 1
18711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
18715 if test "$wxUSE_GUI" = "yes"; then
18717 if test "$TOOLKIT" = "MAC"; then
18718 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18721 if test "$TOOLKIT" = "MOTIF"; then
18722 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18725 if test "$TOOLKIT" = "X11"; then
18726 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
18730 if test "$TOOLKIT" != "MSW"; then
18731 if test "$wxUSE_JOYSTICK" = "yes"; then
18732 for ac_hdr
in linux
/joystick.h
18734 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18735 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18736 echo "configure:18737: checking for $ac_hdr" >&5
18737 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18738 echo $ac_n "(cached) $ac_c" 1>&6
18740 cat > conftest.
$ac_ext <<EOF
18741 #line 18742 "configure"
18742 #include "confdefs.h"
18745 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18746 { (eval echo configure
:18747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18747 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18748 if test -z "$ac_err"; then
18750 eval "ac_cv_header_$ac_safe=yes"
18753 echo "configure: failed program was:" >&5
18754 cat conftest.
$ac_ext >&5
18756 eval "ac_cv_header_$ac_safe=no"
18760 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18761 echo "$ac_t""yes" 1>&6
18762 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18763 cat >> confdefs.h
<<EOF
18764 #define $ac_tr_hdr 1
18768 echo "$ac_t""no" 1>&6
18772 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18774 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18779 if test "$wxUSE_JOYSTICK" = "yes"; then
18780 cat >> confdefs.h
<<\EOF
18781 #define wxUSE_JOYSTICK 1
18784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
18789 if test "$TOOLKIT" != "MSW"; then
18793 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18794 if test "$USE_DARWIN" = 1; then
18797 for ac_func
in dlopen
18799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18800 echo "configure:18801: checking for $ac_func" >&5
18801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18802 echo $ac_n "(cached) $ac_c" 1>&6
18804 cat > conftest.
$ac_ext <<EOF
18805 #line 18806 "configure"
18806 #include "confdefs.h"
18807 /* System header to define __stub macros and hopefully few prototypes,
18808 which can conflict with char $ac_func(); below. */
18809 #include <assert.h>
18810 /* Override any gcc2 internal prototype to avoid an error. */
18811 /* We use char because int might match the return type of a gcc2
18812 builtin and then its argument prototype would still apply. */
18817 /* The GNU C library defines this for functions which it implements
18818 to always fail with ENOSYS. Some functions are actually named
18819 something starting with __ and the normal name is an alias. */
18820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18828 if { (eval echo configure
:18829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18830 eval "ac_cv_func_$ac_func=yes"
18832 echo "configure: failed program was:" >&5
18833 cat conftest.
$ac_ext >&5
18835 eval "ac_cv_func_$ac_func=no"
18840 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18841 echo "$ac_t""yes" 1>&6
18842 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18843 cat >> confdefs.h
<<EOF
18844 #define $ac_tr_func 1
18847 cat >> confdefs.h
<<\EOF
18848 #define HAVE_DLOPEN 1
18854 echo "$ac_t""no" 1>&6
18855 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18856 echo "configure:18857: checking for dlopen in -ldl" >&5
18857 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18858 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18859 echo $ac_n "(cached) $ac_c" 1>&6
18861 ac_save_LIBS
="$LIBS"
18863 cat > conftest.
$ac_ext <<EOF
18864 #line 18865 "configure"
18865 #include "confdefs.h"
18866 /* Override any gcc2 internal prototype to avoid an error. */
18867 /* We use char because int might match the return type of a gcc2
18868 builtin and then its argument prototype would still apply. */
18875 if { (eval echo configure
:18876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18877 eval "ac_cv_lib_$ac_lib_var=yes"
18879 echo "configure: failed program was:" >&5
18880 cat conftest.
$ac_ext >&5
18882 eval "ac_cv_lib_$ac_lib_var=no"
18885 LIBS
="$ac_save_LIBS"
18888 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18889 echo "$ac_t""yes" 1>&6
18891 cat >> confdefs.h
<<\EOF
18892 #define HAVE_DLOPEN 1
18896 DL_LINK
=" -ldl$DL_LINK"
18899 echo "$ac_t""no" 1>&6
18901 for ac_func
in shl_load
18903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18904 echo "configure:18905: checking for $ac_func" >&5
18905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18906 echo $ac_n "(cached) $ac_c" 1>&6
18908 cat > conftest.
$ac_ext <<EOF
18909 #line 18910 "configure"
18910 #include "confdefs.h"
18911 /* System header to define __stub macros and hopefully few prototypes,
18912 which can conflict with char $ac_func(); below. */
18913 #include <assert.h>
18914 /* Override any gcc2 internal prototype to avoid an error. */
18915 /* We use char because int might match the return type of a gcc2
18916 builtin and then its argument prototype would still apply. */
18921 /* The GNU C library defines this for functions which it implements
18922 to always fail with ENOSYS. Some functions are actually named
18923 something starting with __ and the normal name is an alias. */
18924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18932 if { (eval echo configure
:18933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18934 eval "ac_cv_func_$ac_func=yes"
18936 echo "configure: failed program was:" >&5
18937 cat conftest.
$ac_ext >&5
18939 eval "ac_cv_func_$ac_func=no"
18944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18945 echo "$ac_t""yes" 1>&6
18946 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18947 cat >> confdefs.h
<<EOF
18948 #define $ac_tr_func 1
18951 cat >> confdefs.h
<<\EOF
18952 #define HAVE_SHL_LOAD 1
18958 echo "$ac_t""no" 1>&6
18959 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
18960 echo "configure:18961: checking for dld in -lshl_load" >&5
18961 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
18962 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18963 echo $ac_n "(cached) $ac_c" 1>&6
18965 ac_save_LIBS
="$LIBS"
18966 LIBS
="-lshl_load $LIBS"
18967 cat > conftest.
$ac_ext <<EOF
18968 #line 18969 "configure"
18969 #include "confdefs.h"
18970 /* Override any gcc2 internal prototype to avoid an error. */
18971 /* We use char because int might match the return type of a gcc2
18972 builtin and then its argument prototype would still apply. */
18979 if { (eval echo configure
:18980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18981 eval "ac_cv_lib_$ac_lib_var=yes"
18983 echo "configure: failed program was:" >&5
18984 cat conftest.
$ac_ext >&5
18986 eval "ac_cv_lib_$ac_lib_var=no"
18989 LIBS
="$ac_save_LIBS"
18992 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18993 echo "$ac_t""yes" 1>&6
18996 DL_LINK
=" -ldld$DL_LINK"
18999 echo "$ac_t""no" 1>&6
19014 if test "$HAVE_DL_FUNCS" = 1; then
19015 for ac_func
in dlerror
19017 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19018 echo "configure:19019: checking for $ac_func" >&5
19019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19020 echo $ac_n "(cached) $ac_c" 1>&6
19022 cat > conftest.
$ac_ext <<EOF
19023 #line 19024 "configure"
19024 #include "confdefs.h"
19025 /* System header to define __stub macros and hopefully few prototypes,
19026 which can conflict with char $ac_func(); below. */
19027 #include <assert.h>
19028 /* Override any gcc2 internal prototype to avoid an error. */
19029 /* We use char because int might match the return type of a gcc2
19030 builtin and then its argument prototype would still apply. */
19035 /* The GNU C library defines this for functions which it implements
19036 to always fail with ENOSYS. Some functions are actually named
19037 something starting with __ and the normal name is an alias. */
19038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19046 if { (eval echo configure
:19047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19048 eval "ac_cv_func_$ac_func=yes"
19050 echo "configure: failed program was:" >&5
19051 cat conftest.
$ac_ext >&5
19053 eval "ac_cv_func_$ac_func=no"
19058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19059 echo "$ac_t""yes" 1>&6
19060 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19061 cat >> confdefs.h
<<EOF
19062 #define $ac_tr_func 1
19064 cat >> confdefs.h
<<\EOF
19065 #define HAVE_DLERROR 1
19069 echo "$ac_t""no" 1>&6
19070 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19071 echo "configure:19072: checking for dlerror in -ldl" >&5
19072 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19073 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19074 echo $ac_n "(cached) $ac_c" 1>&6
19076 ac_save_LIBS
="$LIBS"
19078 cat > conftest.
$ac_ext <<EOF
19079 #line 19080 "configure"
19080 #include "confdefs.h"
19081 /* Override any gcc2 internal prototype to avoid an error. */
19082 /* We use char because int might match the return type of a gcc2
19083 builtin and then its argument prototype would still apply. */
19090 if { (eval echo configure
:19091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19092 eval "ac_cv_lib_$ac_lib_var=yes"
19094 echo "configure: failed program was:" >&5
19095 cat conftest.
$ac_ext >&5
19097 eval "ac_cv_lib_$ac_lib_var=no"
19100 LIBS
="$ac_save_LIBS"
19103 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19104 echo "$ac_t""yes" 1>&6
19105 cat >> confdefs.h
<<\EOF
19106 #define HAVE_DLERROR 1
19110 echo "$ac_t""no" 1>&6
19119 if test "$HAVE_DL_FUNCS" = 0; then
19120 if test "$HAVE_SHL_FUNCS" = 0; then
19121 if test "$USE_UNIX" = 1; then
19122 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19123 wxUSE_DYNAMIC_LOADER
=no
19124 wxUSE_DYNLIB_CLASS
=no
19126 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19133 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19134 cat >> confdefs.h
<<\EOF
19135 #define wxUSE_DYNAMIC_LOADER 1
19138 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19139 cat >> confdefs.h
<<\EOF
19140 #define wxUSE_DYNLIB_CLASS 1
19146 if test "$wxUSE_FONTMAP" = "yes" ; then
19147 cat >> confdefs.h
<<\EOF
19148 #define wxUSE_FONTMAP 1
19153 if test "$wxUSE_UNICODE" = "yes" ; then
19154 cat >> confdefs.h
<<\EOF
19155 #define wxUSE_UNICODE 1
19159 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19160 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19161 echo "configure:19162: checking for main in -lunicows" >&5
19162 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19163 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19164 echo $ac_n "(cached) $ac_c" 1>&6
19166 ac_save_LIBS
="$LIBS"
19167 LIBS
="-lunicows $LIBS"
19168 cat > conftest.
$ac_ext <<EOF
19169 #line 19170 "configure"
19170 #include "confdefs.h"
19176 if { (eval echo configure
:19177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19178 eval "ac_cv_lib_$ac_lib_var=yes"
19180 echo "configure: failed program was:" >&5
19181 cat conftest.
$ac_ext >&5
19183 eval "ac_cv_lib_$ac_lib_var=no"
19186 LIBS
="$ac_save_LIBS"
19189 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19190 echo "$ac_t""yes" 1>&6
19192 cat >> confdefs.h
<<\EOF
19193 #define wxUSE_UNICODE_MSLU 1
19198 echo "$ac_t""no" 1>&6
19200 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19201 Applications will only run on Windows NT/2000/XP!" 1>&2
19202 wxUSE_UNICODE_MSLU
=no
19209 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19210 cat >> confdefs.h
<<\EOF
19211 #define wxUSE_EXPERIMENTAL_PRINTF 1
19219 if test "$wxUSE_ODBC" = "yes" ; then
19220 cat >> confdefs.h
<<\EOF
19221 #define wxUSE_ODBC 1
19224 WXODBCFLAG
="-D_IODBC_"
19225 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19229 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19230 cat >> confdefs.h
<<\EOF
19231 #define wxUSE_POSTSCRIPT 1
19236 cat >> confdefs.h
<<\EOF
19237 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19241 cat >> confdefs.h
<<\EOF
19242 #define wxUSE_NORMALIZED_PS_FONTS 1
19247 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19248 cat >> confdefs.h
<<\EOF
19249 #define wxUSE_CONSTRAINTS 1
19252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19255 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19256 if test "$wxUSE_UNIVERSAL" = "yes"; then
19257 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
19258 wxUSE_MDI_ARCHITECTURE
=no
19261 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19262 cat >> confdefs.h
<<\EOF
19263 #define wxUSE_MDI_ARCHITECTURE 1
19266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19270 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19271 cat >> confdefs.h
<<\EOF
19272 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19276 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19281 if test "$wxUSE_HELP" = "yes"; then
19282 cat >> confdefs.h
<<\EOF
19283 #define wxUSE_HELP 1
19286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19288 if test "$wxUSE_MSW" = 1; then
19289 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19290 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
19291 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
19292 echo "configure:19293: checking for htmlhelp.h" >&5
19293 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19294 echo $ac_n "(cached) $ac_c" 1>&6
19296 cat > conftest.
$ac_ext <<EOF
19297 #line 19298 "configure"
19298 #include "confdefs.h"
19299 #include <htmlhelp.h>
19301 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19302 { (eval echo configure
:19303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19303 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19304 if test -z "$ac_err"; then
19306 eval "ac_cv_header_$ac_safe=yes"
19309 echo "configure: failed program was:" >&5
19310 cat conftest.
$ac_ext >&5
19312 eval "ac_cv_header_$ac_safe=no"
19316 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19317 echo "$ac_t""yes" 1>&6
19319 cat >> confdefs.h
<<\EOF
19320 #define wxUSE_MS_HTML_HELP 1
19325 echo "$ac_t""no" 1>&6
19327 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
19328 wxUSE_MS_HTML_HELP
=no
19335 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19336 if test "$wxUSE_HTML" = "yes"; then
19337 cat >> confdefs.h
<<\EOF
19338 #define wxUSE_WXHTML_HELP 1
19342 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19343 wxUSE_WXHTML_HELP
=no
19348 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19349 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19350 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19352 cat >> confdefs.h
<<\EOF
19353 #define wxUSE_PRINTING_ARCHITECTURE 1
19357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19360 if test "$wxUSE_PROLOGIO" = "yes" ; then
19361 cat >> confdefs.h
<<\EOF
19362 #define wxUSE_PROLOGIO 1
19367 if test "$wxUSE_RESOURCES" = "yes" ; then
19368 cat >> confdefs.h
<<\EOF
19369 #define wxUSE_RESOURCES 1
19372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19375 if test "$wxUSE_X_RESOURCES" = "yes"; then
19376 cat >> confdefs.h
<<\EOF
19377 #define wxUSE_X_RESOURCES 1
19383 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19384 -o "$wxUSE_CLIPBOARD" = "yes" \
19385 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19386 for ac_hdr
in ole2.h
19388 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19389 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19390 echo "configure:19391: checking for $ac_hdr" >&5
19391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19392 echo $ac_n "(cached) $ac_c" 1>&6
19394 cat > conftest.
$ac_ext <<EOF
19395 #line 19396 "configure"
19396 #include "confdefs.h"
19399 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19400 { (eval echo configure
:19401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19401 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19402 if test -z "$ac_err"; then
19404 eval "ac_cv_header_$ac_safe=yes"
19407 echo "configure: failed program was:" >&5
19408 cat conftest.
$ac_ext >&5
19410 eval "ac_cv_header_$ac_safe=no"
19414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19415 echo "$ac_t""yes" 1>&6
19416 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19417 cat >> confdefs.h
<<EOF
19418 #define $ac_tr_hdr 1
19422 echo "$ac_t""no" 1>&6
19427 if test "$ac_cv_header_ole2_h" = "yes" ; then
19428 if test "$GCC" = yes ; then
19429 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19430 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19431 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19432 cat >> confdefs.h
<<\EOF
19433 #define wxUSE_OLE 1
19439 cat >> confdefs.h
<<\EOF
19440 #define wxUSE_DATAOBJ 1
19444 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19447 wxUSE_DRAG_AND_DROP
=no
19451 if test "$wxUSE_METAFILE" = "yes"; then
19452 cat >> confdefs.h
<<\EOF
19453 #define wxUSE_METAFILE 1
19457 cat >> confdefs.h
<<\EOF
19458 #define wxUSE_ENH_METAFILE 1
19464 if test "$wxUSE_IPC" = "yes"; then
19465 if test "$wxUSE_SOCKETS" != "yes"; then
19466 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19469 cat >> confdefs.h
<<\EOF
19470 #define wxUSE_IPC 1
19475 if test "$wxUSE_CLIPBOARD" = "yes"; then
19476 if test "$wxUSE_X11" = 1; then
19477 echo "configure: warning: Clipboard not yet supported under X11... disabled" 1>&2
19481 if test "$wxUSE_CLIPBOARD" = "yes"; then
19482 cat >> confdefs.h
<<\EOF
19483 #define wxUSE_CLIPBOARD 1
19487 cat >> confdefs.h
<<\EOF
19488 #define wxUSE_DATAOBJ 1
19494 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19495 if test "$wxUSE_GTK" = 1; then
19496 if test "$WXGTK12" != 1; then
19497 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19498 wxUSE_DRAG_AND_DROP
=no
19502 if test "$wxUSE_MOTIF" = 1; then
19503 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19504 wxUSE_DRAG_AND_DROP
=no
19507 if test "$wxUSE_X11" = 1; then
19508 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19509 wxUSE_DRAG_AND_DROP
=no
19512 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19513 cat >> confdefs.h
<<\EOF
19514 #define wxUSE_DRAG_AND_DROP 1
19517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19522 if test "$wxUSE_SPLINES" = "yes" ; then
19523 cat >> confdefs.h
<<\EOF
19524 #define wxUSE_SPLINES 1
19531 if test "$wxUSE_CONTROLS" = "yes"; then
19535 if test "$wxUSE_ACCEL" = "yes"; then
19536 cat >> confdefs.h
<<\EOF
19537 #define wxUSE_ACCEL 1
19543 if test "$wxUSE_BUTTON" = "yes"; then
19544 cat >> confdefs.h
<<\EOF
19545 #define wxUSE_BUTTON 1
19551 if test "$wxUSE_BMPBUTTON" = "yes"; then
19552 cat >> confdefs.h
<<\EOF
19553 #define wxUSE_BMPBUTTON 1
19559 if test "$wxUSE_CALCTRL" = "yes"; then
19560 cat >> confdefs.h
<<\EOF
19561 #define wxUSE_CALENDARCTRL 1
19565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
19568 if test "$wxUSE_CARET" = "yes"; then
19569 cat >> confdefs.h
<<\EOF
19570 #define wxUSE_CARET 1
19574 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
19577 if test "$wxUSE_COMBOBOX" = "yes"; then
19578 cat >> confdefs.h
<<\EOF
19579 #define wxUSE_COMBOBOX 1
19585 if test "$wxUSE_CHOICE" = "yes"; then
19586 cat >> confdefs.h
<<\EOF
19587 #define wxUSE_CHOICE 1
19593 if test "$wxUSE_CHECKBOX" = "yes"; then
19594 cat >> confdefs.h
<<\EOF
19595 #define wxUSE_CHECKBOX 1
19601 if test "$wxUSE_CHECKLST" = "yes"; then
19602 cat >> confdefs.h
<<\EOF
19603 #define wxUSE_CHECKLISTBOX 1
19607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
19610 if test "$wxUSE_GAUGE" = "yes"; then
19611 cat >> confdefs.h
<<\EOF
19612 #define wxUSE_GAUGE 1
19618 if test "$wxUSE_NEW_GRID" = "yes"; then
19620 cat >> confdefs.h
<<\EOF
19621 #define wxUSE_NEW_GRID 1
19625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
19628 if test "$wxUSE_GRID" = "yes"; then
19629 cat >> confdefs.h
<<\EOF
19630 #define wxUSE_GRID 1
19634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
19637 if test "$wxUSE_IMAGLIST" = "yes"; then
19638 cat >> confdefs.h
<<\EOF
19639 #define wxUSE_IMAGLIST 1
19644 if test "$wxUSE_LISTBOX" = "yes"; then
19645 cat >> confdefs.h
<<\EOF
19646 #define wxUSE_LISTBOX 1
19652 if test "$wxUSE_LISTCTRL" = "yes"; then
19653 if test "$wxUSE_IMAGLIST" = "yes"; then
19654 cat >> confdefs.h
<<\EOF
19655 #define wxUSE_LISTCTRL 1
19659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
19661 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19665 if test "$wxUSE_NOTEBOOK" = "yes"; then
19666 cat >> confdefs.h
<<\EOF
19667 #define wxUSE_NOTEBOOK 1
19671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
19674 if test "$wxUSE_PROPSHEET" = "yes"; then
19675 cat >> confdefs.h
<<\EOF
19676 #define wxUSE_PROPSHEET 1
19680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
19683 if test "$wxUSE_RADIOBOX" = "yes"; then
19684 cat >> confdefs.h
<<\EOF
19685 #define wxUSE_RADIOBOX 1
19691 if test "$wxUSE_RADIOBTN" = "yes"; then
19692 cat >> confdefs.h
<<\EOF
19693 #define wxUSE_RADIOBTN 1
19699 if test "$wxUSE_SASH" = "yes"; then
19700 cat >> confdefs.h
<<\EOF
19701 #define wxUSE_SASH 1
19704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
19707 if test "$wxUSE_SCROLLBAR" = "yes"; then
19708 cat >> confdefs.h
<<\EOF
19709 #define wxUSE_SCROLLBAR 1
19713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
19716 if test "$wxUSE_SLIDER" = "yes"; then
19717 cat >> confdefs.h
<<\EOF
19718 #define wxUSE_SLIDER 1
19724 if test "$wxUSE_SPINBTN" = "yes"; then
19725 cat >> confdefs.h
<<\EOF
19726 #define wxUSE_SPINBTN 1
19732 if test "$wxUSE_SPINCTRL" = "yes"; then
19733 cat >> confdefs.h
<<\EOF
19734 #define wxUSE_SPINCTRL 1
19740 if test "$wxUSE_SPLITTER" = "yes"; then
19741 cat >> confdefs.h
<<\EOF
19742 #define wxUSE_SPLITTER 1
19745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
19748 if test "$wxUSE_STATBMP" = "yes"; then
19749 cat >> confdefs.h
<<\EOF
19750 #define wxUSE_STATBMP 1
19756 if test "$wxUSE_STATBOX" = "yes"; then
19757 cat >> confdefs.h
<<\EOF
19758 #define wxUSE_STATBOX 1
19764 if test "$wxUSE_STATTEXT" = "yes"; then
19765 cat >> confdefs.h
<<\EOF
19766 #define wxUSE_STATTEXT 1
19772 if test "$wxUSE_STATLINE" = "yes"; then
19773 if test "$wxUSE_WINE" = 1 ; then
19774 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19776 cat >> confdefs.h
<<\EOF
19777 #define wxUSE_STATLINE 1
19784 if test "$wxUSE_STATUSBAR" = "yes"; then
19785 cat >> confdefs.h
<<\EOF
19786 #define wxUSE_STATUSBAR 1
19791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
19794 if test "$wxUSE_TABDIALOG" = "yes"; then
19795 cat >> confdefs.h
<<\EOF
19796 #define wxUSE_TAB_DIALOG 1
19799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
19802 if test "$wxUSE_TEXTCTRL" = "yes"; then
19803 cat >> confdefs.h
<<\EOF
19804 #define wxUSE_TEXTCTRL 1
19808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
19811 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19812 if test "$wxUSE_MAC" = 1; then
19813 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19816 if test "$wxUSE_UNIVERSAL" = "yes"; then
19817 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
19821 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19822 cat >> confdefs.h
<<\EOF
19823 #define wxUSE_TOGGLEBTN 1
19830 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19831 cat >> confdefs.h
<<\EOF
19832 #define wxUSE_TOOLBAR_SIMPLE 1
19835 wxUSE_TOOLBAR
="yes"
19839 if test "$wxUSE_TOOLBAR" = "yes"; then
19840 cat >> confdefs.h
<<\EOF
19841 #define wxUSE_TOOLBAR 1
19846 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19847 wxUSE_TOOLBAR_NATIVE
="yes"
19850 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19851 cat >> confdefs.h
<<\EOF
19852 #define wxUSE_TOOLBAR_NATIVE 1
19858 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
19861 if test "$wxUSE_TOOLTIPS" = "yes"; then
19862 if test "$wxUSE_MOTIF" = 1; then
19863 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19865 if test "$wxUSE_WINE" = 1; then
19866 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19868 if test "$wxUSE_UNIVERSAL" = "yes"; then
19869 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
19871 if test "$wxUSE_X11" = "1"; then
19872 echo "configure: warning: wxTooltip not supported yet under X11... disabled" 1>&2
19874 cat >> confdefs.h
<<\EOF
19875 #define wxUSE_TOOLTIPS 1
19884 if test "$wxUSE_TREECTRL" = "yes"; then
19885 if test "$wxUSE_IMAGLIST" = "yes"; then
19886 cat >> confdefs.h
<<\EOF
19887 #define wxUSE_TREECTRL 1
19891 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
19893 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19897 if test "$wxUSE_POPUPWIN" = "yes"; then
19898 if test "$wxUSE_MAC" = 1; then
19899 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
19901 if test "$wxUSE_MOTIF" = 1; then
19902 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
19904 cat >> confdefs.h
<<\EOF
19905 #define wxUSE_POPUPWIN 1
19914 if test "$wxUSE_TIPWINDOW" = "yes"; then
19915 cat >> confdefs.h
<<\EOF
19916 #define wxUSE_TIPWINDOW 1
19921 if test "$USES_CONTROLS" = 1; then
19922 cat >> confdefs.h
<<\EOF
19923 #define wxUSE_CONTROLS 1
19929 if test "$wxUSE_TREELAYOUT" = "yes"; then
19930 cat >> confdefs.h
<<\EOF
19931 #define wxUSE_TREELAYOUT 1
19934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
19937 if test "$wxUSE_DRAGIMAGE" = "yes"; then
19938 cat >> confdefs.h
<<\EOF
19939 #define wxUSE_DRAGIMAGE 1
19942 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
19945 if test "$wxUSE_MENUS" = "yes"; then
19946 cat >> confdefs.h
<<\EOF
19947 #define wxUSE_MENUS 1
19950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
19953 if test "$wxUSE_METAFILE" = "yes"; then
19954 cat >> confdefs.h
<<\EOF
19955 #define wxUSE_METAFILE 1
19960 if test "$wxUSE_MIMETYPE" = "yes"; then
19961 cat >> confdefs.h
<<\EOF
19962 #define wxUSE_MIMETYPE 1
19967 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
19968 cat >> confdefs.h
<<\EOF
19969 #define wxUSE_SYSTEM_OPTIONS 1
19974 if test "$wxUSE_PROTOCOL" = "yes"; then
19975 if test "$wxUSE_SOCKETS" != "yes"; then
19976 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
19980 if test "$wxUSE_PROTOCOL" = "yes"; then
19981 cat >> confdefs.h
<<\EOF
19982 #define wxUSE_PROTOCOL 1
19986 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
19987 cat >> confdefs.h
<<\EOF
19988 #define wxUSE_PROTOCOL_HTTP 1
19992 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
19993 cat >> confdefs.h
<<\EOF
19994 #define wxUSE_PROTOCOL_FTP 1
19998 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
19999 cat >> confdefs.h
<<\EOF
20000 #define wxUSE_PROTOCOL_FILE 1
20007 if test "$wxUSE_URL" = "yes"; then
20008 if test "$wxUSE_PROTOCOL" != "yes"; then
20009 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20012 if test "$wxUSE_URL" = "yes"; then
20013 cat >> confdefs.h
<<\EOF
20014 #define wxUSE_URL 1
20020 if test "$wxUSE_MINIFRAME" = "yes"; then
20021 cat >> confdefs.h
<<\EOF
20022 #define wxUSE_MINIFRAME 1
20025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20028 if test "$wxUSE_HTML" = "yes"; then
20029 cat >> confdefs.h
<<\EOF
20030 #define wxUSE_HTML 1
20033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20036 if test "$wxUSE_VALIDATORS" = "yes"; then
20037 cat >> confdefs.h
<<\EOF
20038 #define wxUSE_VALIDATORS 1
20041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20044 if test "$wxUSE_PALETTE" = "yes" ; then
20045 cat >> confdefs.h
<<\EOF
20046 #define wxUSE_PALETTE 1
20051 if test "$wxUSE_IMAGE" = "yes" ; then
20052 cat >> confdefs.h
<<\EOF
20053 #define wxUSE_IMAGE 1
20058 if test "$wxUSE_GIF" = "yes" ; then
20059 cat >> confdefs.h
<<\EOF
20060 #define wxUSE_GIF 1
20065 if test "$wxUSE_PCX" = "yes" ; then
20066 cat >> confdefs.h
<<\EOF
20067 #define wxUSE_PCX 1
20072 if test "$wxUSE_IFF" = "yes" ; then
20073 cat >> confdefs.h
<<\EOF
20074 #define wxUSE_IFF 1
20079 if test "$wxUSE_PNM" = "yes" ; then
20080 cat >> confdefs.h
<<\EOF
20081 #define wxUSE_PNM 1
20086 if test "$wxUSE_XPM" = "yes" ; then
20087 cat >> confdefs.h
<<\EOF
20088 #define wxUSE_XPM 1
20093 if test "$wxUSE_ICO_CUR" = "yes" ; then
20094 cat >> confdefs.h
<<\EOF
20095 #define wxUSE_ICO_CUR 1
20100 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20101 LIBS
=" -lunicows $LIBS"
20105 if test "$wxUSE_CHOICEDLG" = "yes"; then
20106 cat >> confdefs.h
<<\EOF
20107 #define wxUSE_CHOICEDLG 1
20112 if test "$wxUSE_COLOURDLG" = "yes"; then
20113 cat >> confdefs.h
<<\EOF
20114 #define wxUSE_COLOURDLG 1
20119 if test "$wxUSE_FILEDLG" = "yes"; then
20120 cat >> confdefs.h
<<\EOF
20121 #define wxUSE_FILEDLG 1
20126 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20127 cat >> confdefs.h
<<\EOF
20128 #define wxUSE_FINDREPLDLG 1
20133 if test "$wxUSE_FONTDLG" = "yes"; then
20134 cat >> confdefs.h
<<\EOF
20135 #define wxUSE_FONTDLG 1
20140 if test "$wxUSE_DIRDLG" = "yes"; then
20141 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20142 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
20144 if test "$wxUSE_TREECTRL" != "yes"; then
20145 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20147 cat >> confdefs.h
<<\EOF
20148 #define wxUSE_DIRDLG 1
20155 if test "$wxUSE_MSGDLG" = "yes"; then
20156 cat >> confdefs.h
<<\EOF
20157 #define wxUSE_MSGDLG 1
20162 if test "$wxUSE_NUMBERDLG" = "yes"; then
20163 cat >> confdefs.h
<<\EOF
20164 #define wxUSE_NUMBERDLG 1
20169 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20170 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20171 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20173 cat >> confdefs.h
<<\EOF
20174 #define wxUSE_PROGRESSDLG 1
20180 if test "$wxUSE_SPLASH" = "yes"; then
20181 cat >> confdefs.h
<<\EOF
20182 #define wxUSE_SPLASH 1
20187 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20188 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20189 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20191 cat >> confdefs.h
<<\EOF
20192 #define wxUSE_STARTUP_TIPS 1
20198 if test "$wxUSE_TEXTDLG" = "yes"; then
20199 cat >> confdefs.h
<<\EOF
20200 #define wxUSE_TEXTDLG 1
20205 if test "$wxUSE_WIZARDDLG" = "yes"; then
20206 cat >> confdefs.h
<<\EOF
20207 #define wxUSE_WIZARDDLG 1
20210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20214 if test "$cross_compiling" = "yes"; then
20217 OSINFO
=`uname -s -r -m`
20218 OSINFO
="\"$OSINFO\""
20221 cat >> confdefs.h
<<EOF
20222 #define WXWIN_OS_DESCRIPTION $OSINFO
20227 if test "x$prefix" != "xNONE"; then
20230 wxPREFIX
=$ac_default_prefix
20233 cat >> confdefs.h
<<EOF
20234 #define wxINSTALL_PREFIX "$wxPREFIX"
20241 if test "$wxUSE_MAC" = 1 ; then
20242 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20246 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DL_LINK -lm $LIBS"
20248 if test "$wxUSE_GUI" = "yes"; then
20250 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
20254 drawing dynamic erase event exec font image \
20255 minimal richedit rotate widgets"
20257 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20259 SAMPLES_SUBDIRS
="console"
20263 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
20264 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
20266 if test "$wxUSE_GTK" = 1; then
20269 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20272 if test "$GXX" = yes ; then
20273 CXXWARNINGS
="-Wall"
20275 if test "$wxUSE_NO_DEPS" = "no" ; then
20276 CFLAGS
="-MMD $CFLAGS"
20277 CXXFLAGS
="-MMD $CXXFLAGS"
20281 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20283 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20284 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20286 LDFLAGS
="$LDFLAGS$PROFILE"
20288 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20376 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20377 echo "configure:20378: checking whether ${MAKE-make} sets \${MAKE}" >&5
20378 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20379 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20380 echo $ac_n "(cached) $ac_c" 1>&6
20382 cat > conftestmake
<<\EOF
20384 @
echo 'ac_maketemp="${MAKE}"'
20386 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20387 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20388 if test -n "$ac_maketemp"; then
20389 eval ac_cv_prog_make_
${ac_make}_set
=yes
20391 eval ac_cv_prog_make_
${ac_make}_set
=no
20395 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20396 echo "$ac_t""yes" 1>&6
20399 echo "$ac_t""no" 1>&6
20400 SET_MAKE
="MAKE=${MAKE-make}"
20404 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20405 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20410 if test "$wxUSE_GUI" = "yes"; then
20411 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20412 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20413 wx_cv_path_ifs
=$PATH_IFS
20414 wx_cv_program_ext
=$PROGRAM_EXT
20415 wx_cv_target_library
=$WX_TARGET_LIBRARY
20416 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20417 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20418 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20419 wx_cv_path_ifs wx_cv_program_ext \
20420 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20421 subdirs
="demos samples utils contrib"
20426 cat > confcache
<<\EOF
20427 # This file is a shell script that caches the results of configure
20428 # tests run on this system so they can be shared between configure
20429 # scripts and configure runs. It is not useful on other systems.
20430 # If it contains results you don't want to keep, you may remove or edit it.
20432 # By default, configure uses ./config.cache as the cache file,
20433 # creating it if it does not exist already. You can give configure
20434 # the --cache-file=FILE option to use a different cache file; that is
20435 # what configure does when it calls configure scripts in
20436 # subdirectories, so they share the cache.
20437 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20438 # config.status only pays attention to the cache file if you give it the
20439 # --recheck option to rerun configure.
20442 # The following way of writing the cache mishandles newlines in values,
20443 # but we know of no workaround that is simple, portable, and efficient.
20444 # So, don't put newlines in cache variables' values.
20445 # Ultrix sh set writes to stderr and can't be redirected directly,
20446 # and sets the high bit in the cache file unless we assign to the vars.
20448 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20450 # `set' does not quote correctly, so add quotes (double-quote substitution
20451 # turns \\\\ into \\, and sed turns \\ into \).
20453 -e "s/'/'\\\\''/g" \
20454 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20457 # `set' quotes correctly as required by POSIX, so do not add quotes.
20458 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20461 if cmp -s $cache_file confcache
; then
20464 if test -w $cache_file; then
20465 echo "updating cache $cache_file"
20466 cat confcache
> $cache_file
20468 echo "not updating unwritable cache $cache_file"
20473 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20475 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20476 # Let make expand exec_prefix.
20477 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20479 # Any assignment to VPATH causes Sun make to only execute
20480 # the first set of double-colon rules, so remove it if not needed.
20481 # If there is a colon in the path, we need to keep it.
20482 if test "x$srcdir" = x.
; then
20483 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20486 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20488 DEFS
=-DHAVE_CONFIG_H
20490 # Without the "./", some shells look in PATH for config.status.
20491 : ${CONFIG_STATUS=./config.status}
20493 echo creating
$CONFIG_STATUS
20494 rm -f $CONFIG_STATUS
20495 cat > $CONFIG_STATUS <<EOF
20497 # Generated automatically by configure.
20498 # Run this file to recreate the current configuration.
20499 # This directory was configured as follows,
20500 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20502 # $0 $ac_configure_args
20504 # Compiler output produced by configure, useful for debugging
20505 # configure, is in ./config.log if it exists.
20507 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20510 case "\$ac_option" in
20511 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20512 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20513 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20514 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20515 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20517 -help | --help | --hel | --he | --h)
20518 echo "\$ac_cs_usage"; exit 0 ;;
20519 *) echo "\$ac_cs_usage"; exit 1 ;;
20523 ac_given_srcdir=$srcdir
20524 ac_given_INSTALL="$INSTALL"
20526 trap 'rm -fr `echo "
20532 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20534 cat >> $CONFIG_STATUS <<EOF
20536 # Protect against being on the right side of a sed subst in config.status.
20537 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20538 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20542 s%@CFLAGS@%$CFLAGS%g
20543 s%@CPPFLAGS@%$CPPFLAGS%g
20544 s%@CXXFLAGS@%$CXXFLAGS%g
20545 s%@FFLAGS@%$FFLAGS%g
20547 s%@LDFLAGS@%$LDFLAGS%g
20549 s%@exec_prefix@%$exec_prefix%g
20550 s%@prefix@%$prefix%g
20551 s%@program_transform_name@%$program_transform_name%g
20552 s%@bindir@%$bindir%g
20553 s%@sbindir@%$sbindir%g
20554 s%@libexecdir@%$libexecdir%g
20555 s%@datadir@%$datadir%g
20556 s%@sysconfdir@%$sysconfdir%g
20557 s%@sharedstatedir@%$sharedstatedir%g
20558 s%@localstatedir@%$localstatedir%g
20559 s%@libdir@%$libdir%g
20560 s%@includedir@%$includedir%g
20561 s%@oldincludedir@%$oldincludedir%g
20562 s%@infodir@%$infodir%g
20563 s%@mandir@%$mandir%g
20565 s%@host_alias@%$host_alias%g
20566 s%@host_cpu@%$host_cpu%g
20567 s%@host_vendor@%$host_vendor%g
20568 s%@host_os@%$host_os%g
20569 s%@target@%$target%g
20570 s%@target_alias@%$target_alias%g
20571 s%@target_cpu@%$target_cpu%g
20572 s%@target_vendor@%$target_vendor%g
20573 s%@target_os@%$target_os%g
20575 s%@build_alias@%$build_alias%g
20576 s%@build_cpu@%$build_cpu%g
20577 s%@build_vendor@%$build_vendor%g
20578 s%@build_os@%$build_os%g
20582 s%@RANLIB@%$RANLIB%g
20584 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20585 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20586 s%@INSTALL_DATA@%$INSTALL_DATA%g
20588 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20591 s%@LEXLIB@%$LEXLIB%g
20593 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
20594 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20595 s%@GTK_LIBS@%$GTK_LIBS%g
20596 s%@GTK_CONFIG@%$GTK_CONFIG%g
20597 s%@X_CFLAGS@%$X_CFLAGS%g
20598 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20599 s%@X_LIBS@%$X_LIBS%g
20600 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20601 s%@RESCOMP@%$RESCOMP%g
20603 s%@CXXCPP@%$CXXCPP%g
20604 s%@LIBICONV@%$LIBICONV%g
20605 s%@LEX_STEM@%$LEX_STEM%g
20606 s%@PATH_IFS@%$PATH_IFS%g
20607 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20608 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20609 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20610 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20611 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20612 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20613 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20614 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20615 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20616 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20617 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20618 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20619 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20620 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20621 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20622 s%@WX_ALL@%$WX_ALL%g
20623 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20624 s%@SHARED_LD@%$SHARED_LD%g
20625 s%@PIC_FLAG@%$PIC_FLAG%g
20626 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20627 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20628 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20629 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20630 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20631 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20632 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20633 s%@USE_GUI@%$USE_GUI%g
20634 s%@AFMINSTALL@%$AFMINSTALL%g
20635 s%@TOOLKIT@%$TOOLKIT%g
20636 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20637 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20638 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20639 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20640 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20641 s%@cross_compiling@%$cross_compiling%g
20642 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20643 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20644 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20645 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20646 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20647 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20648 s%@ALL_HEADERS@%$ALL_HEADERS%g
20649 s%@ALL_SOURCES@%$ALL_SOURCES%g
20650 s%@GUIDIST@%$GUIDIST%g
20651 s%@PORT_FILES@%$PORT_FILES%g
20652 s%@DISTDIR@%$DISTDIR%g
20653 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20654 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20655 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20656 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20657 s%@EXTRADEFS@%$EXTRADEFS%g
20658 s%@RESFLAGS@%$RESFLAGS%g
20659 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20660 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
20661 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
20662 s%@LIBWXMACRES@%$LIBWXMACRES%g
20663 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20664 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20665 s%@DLLTOOL@%$DLLTOOL%g
20669 s%@MAKEINFO@%$MAKEINFO%g
20670 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20671 s%@SET_MAKE@%$SET_MAKE%g
20672 s%@subdirs@%$subdirs%g
20677 cat >> $CONFIG_STATUS <<\EOF
20679 # Split the substitutions into bite-sized pieces for seds with
20680 # small command number limits, like on Digital OSF/1 and HP-UX.
20681 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
20682 ac_file
=1 # Number of current file.
20683 ac_beg
=1 # First line for current file.
20684 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
20687 while $ac_more_lines; do
20688 if test $ac_beg -gt 1; then
20689 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
20691 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
20693 if test ! -s conftest.s
$ac_file; then
20694 ac_more_lines
=false
20695 rm -f conftest.s
$ac_file
20697 if test -z "$ac_sed_cmds"; then
20698 ac_sed_cmds
="sed -f conftest.s$ac_file"
20700 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
20702 ac_file
=`expr $ac_file + 1`
20704 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
20707 if test -z "$ac_sed_cmds"; then
20712 cat >> $CONFIG_STATUS <<EOF
20714 CONFIG_FILES=\${CONFIG_FILES-"wx-config
20721 cat >> $CONFIG_STATUS <<\EOF
20722 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
20723 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20725 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20726 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20727 *) ac_file_in
="${ac_file}.in" ;;
20730 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20732 # Remove last slash and all that follows it. Not all systems have dirname.
20733 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20734 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
20735 # The file is in a subdirectory.
20736 test ! -d "$ac_dir" && mkdir "$ac_dir"
20737 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
20738 # A "../" for each directory in $ac_dir_suffix.
20739 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20741 ac_dir_suffix
= ac_dots
=
20744 case "$ac_given_srcdir" in
20746 if test -z "$ac_dots"; then top_srcdir
=.
20747 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20748 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
20749 *) # Relative path.
20750 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20751 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20754 case "$ac_given_INSTALL" in
20755 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
20756 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
20759 echo creating
"$ac_file"
20761 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20763 *Makefile
*) ac_comsub
="1i\\
20764 # $configure_input" ;;
20768 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20770 s%@configure_input@%$configure_input%g
20771 s%@srcdir@%$srcdir%g
20772 s%@top_srcdir@%$top_srcdir%g
20773 s%@INSTALL@%$INSTALL%g
20774 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20778 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20779 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20781 # ac_d sets the value in "#define NAME VALUE" lines.
20782 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20783 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
20786 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20787 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20788 ac_uB
='\([ ]\)%\1#\2define\3'
20791 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20792 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20793 ac_eB
='$%\1#\2define\3'
20797 if test "${CONFIG_HEADERS+set}" != set; then
20799 cat >> $CONFIG_STATUS <<EOF
20800 CONFIG_HEADERS="setup.h:setup.h.in"
20802 cat >> $CONFIG_STATUS <<\EOF
20804 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
20805 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20807 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20808 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20809 *) ac_file_in
="${ac_file}.in" ;;
20812 echo creating
$ac_file
20814 rm -f conftest.frag conftest.
in conftest.out
20815 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20816 cat $ac_file_inputs > conftest.
in
20820 # Transform confdefs.h into a sed script conftest.vals that substitutes
20821 # the proper values into config.h.in to produce config.h. And first:
20822 # Protect against being on the right side of a sed subst in config.status.
20823 # Protect against being in an unquoted here document in config.status.
20824 rm -f conftest.vals
20825 cat > conftest.hdr
<<\EOF
20828 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20832 sed -n -f conftest.hdr confdefs.h > conftest.vals
20835 # This sed command replaces #undef with comments. This is necessary, for
20836 # example, in the case of _POSIX_SOURCE, which is predefined and required
20837 # on some systems where configure will not decide to define it.
20838 cat >> conftest.vals <<\EOF
20839 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20842 # Break up conftest.vals because some shells have a limit on
20843 # the size of here documents, and old seds have small limits too.
20845 rm -f conftest.tail
20848 ac_lines=`grep -c . conftest.vals
`
20849 # grep -c gives empty output for an empty file on some AIX systems.
20850 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20851 # Write a limited-size here document to conftest.frag.
20852 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20853 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20855 sed -f conftest.frag conftest.in > conftest.out
20857 mv conftest.out conftest.in
20858 ' >> $CONFIG_STATUS
20859 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20860 rm -f conftest.vals
20861 mv conftest.tail conftest.vals
20863 rm -f conftest.vals
20865 cat >> $CONFIG_STATUS <<\EOF
20866 rm -f conftest.frag conftest.h
20867 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20868 cat conftest.in >> conftest.h
20870 if cmp -s $ac_file conftest.h 2>/dev/null; then
20871 echo "$ac_file is unchanged"
20874 # Remove last slash and all that follows it. Not all systems have dirname.
20875 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20876 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20877 # The file is in a subdirectory.
20878 test ! -d "$ac_dir" && mkdir "$ac_dir"
20881 mv conftest.h $ac_file
20886 cat >> $CONFIG_STATUS <<EOF
20888 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
20893 cat >> $CONFIG_STATUS <<\EOF
20895 if test ! -h wx-config; then
20897 mv wx-config wx${TOOLCHAIN_NAME}-config
20898 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
20901 if test ! -d lib; then
20904 if test ! -d lib/wx; then
20907 if test ! -d lib/wx/include; then
20908 mkdir lib/wx/include
20910 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
20911 mkdir lib/wx/include/${TOOLCHAIN_NAME}
20913 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
20914 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
20916 if test -f setup.h; then
20917 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
20922 chmod +x $CONFIG_STATUS
20923 rm -fr confdefs* $ac_clean_files
20924 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20926 if test "$no_recursion" != yes; then
20928 # Remove --cache-file and --srcdir arguments so they do not pile up.
20929 ac_sub_configure_args=
20931 for ac_arg in $ac_configure_args; do
20932 if test -n "$ac_prev"; then
20937 -cache-file | --cache-file | --cache-fil | --cache-fi \
20938 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20939 ac_prev=cache_file ;;
20940 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
20941 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
20943 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20945 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20947 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20951 for ac_config_dir in demos samples utils contrib; do
20953 # Do not complain, so a configure script can configure whichever
20954 # parts of a large source tree are present.
20955 if test ! -d $srcdir/$ac_config_dir; then
20959 echo configuring in $ac_config_dir
20964 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
20966 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
20974 # A "../" for each directory in /$ac_config_dir.
20975 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
20978 .) # No --srcdir option. We are building in place.
20979 ac_sub_srcdir=$srcdir ;;
20980 /*) # Absolute path.
20981 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
20982 *) # Relative path.
20983 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
20986 # Check for guested configure; otherwise get Cygnus style configure.
20987 if test -f $ac_sub_srcdir/configure; then
20988 ac_sub_configure=$ac_sub_srcdir/configure
20989 elif test -f $ac_sub_srcdir/configure.in; then
20990 ac_sub_configure=$ac_configure
20992 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
20996 # The recursion is here.
20997 if test -n "$ac_sub_configure"; then
20999 # Make the cache file name correct relative to the subdirectory.
21000 case "$cache_file" in
21001 /*) ac_sub_cache_file=$cache_file ;;
21002 *) # Relative path.
21003 ac_sub_cache_file="$ac_dots$cache_file" ;;
21005 case "$ac_given_INSTALL" in
21006 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21007 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21010 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21011 # The eval makes quoting arguments work.
21012 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21015 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }