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
1345 DEFAULT_DEFAULT_wxUSE_SHARED
=0
1348 *-pc-os2_emx | *-pc-os2-emx )
1349 cat >> confdefs.h
<<\EOF
1354 DEFAULT_DEFAULT_wxUSE_PM
=1
1362 cat >> confdefs.h
<<\EOF
1366 cat >> confdefs.h
<<\EOF
1367 #define __DARWIN__ 1
1370 cat >> confdefs.h
<<\EOF
1371 #define __POWERPC__ 1
1374 DEFAULT_DEFAULT_wxUSE_MAC
=1
1379 cat >> confdefs.h
<<\EOF
1386 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1389 if test "$USE_UNIX" = 1 ; then
1391 cat >> confdefs.h
<<\EOF
1397 if test "$USE_LINUX" = 1; then
1398 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1399 echo "configure:1400: checking for glibc 2.1 or later" >&5
1400 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1401 echo $ac_n "(cached) $ac_c" 1>&6
1404 cat > conftest.
$ac_ext <<EOF
1405 #line 1406 "configure"
1406 #include "confdefs.h"
1407 #include <features.h>
1410 #if !__GLIBC_PREREQ(2, 1)
1416 if { (eval echo configure
:1417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1422 echo "configure: failed program was:" >&5
1423 cat conftest.
$ac_ext >&5
1434 echo "$ac_t""$wx_lib_glibc21" 1>&6
1435 if test "$wx_lib_glibc21" = "yes"; then
1436 cat >> confdefs.h
<<\EOF
1437 #define wxHAVE_GLIBC2 1
1446 wx_arg_cache_file
="configarg.cache"
1447 echo "loading argument cache $wx_arg_cache_file"
1448 rm -f ${wx_arg_cache_file}.tmp
1449 touch ${wx_arg_cache_file}.tmp
1450 touch ${wx_arg_cache_file}
1454 if test $DEBUG_CONFIGURE = 1; then
1455 DEFAULT_wxUSE_UNIVERSAL
=no
1457 DEFAULT_wxUSE_THREADS
=yes
1459 DEFAULT_wxUSE_SHARED
=yes
1460 DEFAULT_wxUSE_SONAME
=no
1461 DEFAULT_wxUSE_OPTIMISE
=no
1462 DEFAULT_wxUSE_PROFILE
=no
1463 DEFAULT_wxUSE_NO_DEPS
=no
1464 DEFAULT_wxUSE_NO_RTTI
=yes
1465 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1466 DEFAULT_wxUSE_PERMISSIVE
=no
1467 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1468 DEFAULT_wxUSE_DEBUG_INFO
=yes
1469 DEFAULT_wxUSE_DEBUG_GDB
=yes
1470 DEFAULT_wxUSE_MEM_TRACING
=no
1471 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1472 DEFAULT_wxUSE_DMALLOC
=no
1473 DEFAULT_wxUSE_PRECOMP
=no
1474 DEFAULT_wxUSE_APPLE_IEEE
=no
1476 DEFAULT_wxUSE_LOG
=yes
1477 DEFAULT_wxUSE_LOGWINDOW
=no
1478 DEFAULT_wxUSE_LOGGUI
=no
1479 DEFAULT_wxUSE_LOGDIALOG
=no
1481 DEFAULT_wxUSE_GUI
=yes
1482 DEFAULT_wxUSE_CONTROLS
=no
1484 DEFAULT_wxUSE_REGEX
=no
1485 DEFAULT_wxUSE_ZLIB
=no
1486 DEFAULT_wxUSE_LIBPNG
=no
1487 DEFAULT_wxUSE_LIBJPEG
=no
1488 DEFAULT_wxUSE_LIBTIFF
=no
1489 DEFAULT_wxUSE_ODBC
=no
1490 DEFAULT_wxUSE_OPENGL
=no
1492 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1493 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1494 DEFAULT_wxUSE_STD_IOSTREAM
=no
1495 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1496 DEFAULT_wxUSE_DATETIME
=no
1497 DEFAULT_wxUSE_TIMEDATE
=no
1498 DEFAULT_wxUSE_TIMER
=no
1499 DEFAULT_wxUSE_STOPWATCH
=no
1500 DEFAULT_wxUSE_FILE
=no
1501 DEFAULT_wxUSE_FFILE
=no
1502 DEFAULT_wxUSE_TEXTBUFFER
=no
1503 DEFAULT_wxUSE_TEXTFILE
=no
1504 DEFAULT_wxUSE_WAVE
=no
1505 DEFAULT_wxUSE_INTL
=no
1506 DEFAULT_wxUSE_CONFIG
=no
1507 DEFAULT_wxUSE_FONTMAP
=no
1508 DEFAULT_wxUSE_STREAMS
=no
1509 DEFAULT_wxUSE_SOCKETS
=no
1510 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1511 DEFAULT_wxUSE_JOYSTICK
=no
1512 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1513 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1514 DEFAULT_wxUSE_LONGLONG
=no
1515 DEFAULT_wxUSE_GEOMETRY
=no
1517 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1518 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1519 DEFAULT_wxUSE_POSTSCRIPT
=no
1521 DEFAULT_wxUSE_X_RESOURCES
=no
1522 DEFAULT_wxUSE_CLIPBOARD
=no
1523 DEFAULT_wxUSE_TOOLTIPS
=no
1524 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1525 DEFAULT_wxUSE_DRAGIMAGE
=no
1526 DEFAULT_wxUSE_SPLINES
=no
1528 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1529 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1530 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1532 DEFAULT_wxUSE_PROLOGIO
=no
1533 DEFAULT_wxUSE_RESOURCES
=no
1534 DEFAULT_wxUSE_CONSTRAINTS
=no
1535 DEFAULT_wxUSE_IPC
=no
1536 DEFAULT_wxUSE_HELP
=no
1537 DEFAULT_wxUSE_MS_HTML_HELP
=no
1538 DEFAULT_wxUSE_WXHTML_HELP
=no
1539 DEFAULT_wxUSE_TREELAYOUT
=no
1540 DEFAULT_wxUSE_METAFILE
=no
1541 DEFAULT_wxUSE_MIMETYPE
=no
1542 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1543 DEFAULT_wxUSE_PROTOCOL
=no
1544 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1545 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1546 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1547 DEFAULT_wxUSE_URL
=no
1549 DEFAULT_wxUSE_COMMONDLGS
=no
1550 DEFAULT_wxUSE_CHOICEDLG
=no
1551 DEFAULT_wxUSE_COLOURDLG
=no
1552 DEFAULT_wxUSE_DIRDLG
=no
1553 DEFAULT_wxUSE_FILEDLG
=no
1554 DEFAULT_wxUSE_FINDREPLDLG
=no
1555 DEFAULT_wxUSE_FONTDLG
=no
1556 DEFAULT_wxUSE_MSGDLG
=no
1557 DEFAULT_wxUSE_NUMBERDLG
=no
1558 DEFAULT_wxUSE_TEXTDLG
=no
1559 DEFAULT_wxUSE_SPLASH
=no
1560 DEFAULT_wxUSE_STARTUP_TIPS
=no
1561 DEFAULT_wxUSE_PROGRESSDLG
=no
1562 DEFAULT_wxUSE_WIZARDDLG
=no
1564 DEFAULT_wxUSE_MENUS
=no
1565 DEFAULT_wxUSE_MINIFRAME
=no
1566 DEFAULT_wxUSE_HTML
=no
1567 DEFAULT_wxUSE_FILESYSTEM
=no
1568 DEFAULT_wxUSE_FS_INET
=no
1569 DEFAULT_wxUSE_FS_ZIP
=no
1570 DEFAULT_wxUSE_BUSYINFO
=no
1571 DEFAULT_wxUSE_ZIPSTREAM
=no
1572 DEFAULT_wxUSE_VALIDATORS
=no
1574 DEFAULT_wxUSE_ACCEL
=no
1575 DEFAULT_wxUSE_BUTTON
=no
1576 DEFAULT_wxUSE_BMPBUTTON
=no
1577 DEFAULT_wxUSE_CALCTRL
=no
1578 DEFAULT_wxUSE_CARET
=no
1579 DEFAULT_wxUSE_CHECKBOX
=no
1580 DEFAULT_wxUSE_CHECKLST
=no
1581 DEFAULT_wxUSE_CHOICE
=no
1582 DEFAULT_wxUSE_COMBOBOX
=no
1583 DEFAULT_wxUSE_GAUGE
=no
1584 DEFAULT_wxUSE_GRID
=no
1585 DEFAULT_wxUSE_NEW_GRID
=no
1586 DEFAULT_wxUSE_IMAGLIST
=no
1587 DEFAULT_wxUSE_LISTBOX
=no
1588 DEFAULT_wxUSE_LISTCTRL
=no
1589 DEFAULT_wxUSE_NOTEBOOK
=no
1590 DEFAULT_wxUSE_PROPSHEET
=no
1591 DEFAULT_wxUSE_RADIOBOX
=no
1592 DEFAULT_wxUSE_RADIOBTN
=no
1593 DEFAULT_wxUSE_SASH
=no
1594 DEFAULT_wxUSE_SCROLLBAR
=no
1595 DEFAULT_wxUSE_SLIDER
=no
1596 DEFAULT_wxUSE_SPINBTN
=no
1597 DEFAULT_wxUSE_SPINCTRL
=no
1598 DEFAULT_wxUSE_SPLITTER
=no
1599 DEFAULT_wxUSE_STATBMP
=no
1600 DEFAULT_wxUSE_STATBOX
=no
1601 DEFAULT_wxUSE_STATLINE
=no
1602 DEFAULT_wxUSE_STATTEXT
=no
1603 DEFAULT_wxUSE_STATUSBAR
=yes
1604 DEFAULT_wxUSE_TABDIALOG
=no
1605 DEFAULT_wxUSE_TEXTCTRL
=no
1606 DEFAULT_wxUSE_TOGGLEBTN
=no
1607 DEFAULT_wxUSE_TOOLBAR
=no
1608 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1609 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1610 DEFAULT_wxUSE_TREECTRL
=no
1611 DEFAULT_wxUSE_POPUPWIN
=no
1612 DEFAULT_wxUSE_TIPWINDOW
=no
1614 DEFAULT_wxUSE_UNICODE
=no
1615 DEFAULT_wxUSE_UNICODE_MSLU
=no
1616 DEFAULT_wxUSE_WCSRTOMBS
=no
1618 DEFAULT_wxUSE_PALETTE
=no
1619 DEFAULT_wxUSE_IMAGE
=no
1620 DEFAULT_wxUSE_GIF
=no
1621 DEFAULT_wxUSE_PCX
=no
1622 DEFAULT_wxUSE_PNM
=no
1623 DEFAULT_wxUSE_IFF
=no
1624 DEFAULT_wxUSE_XPM
=no
1625 DEFAULT_wxUSE_ICO_CUR
=no
1627 DEFAULT_wxUSE_UNIVERSAL
=no
1629 DEFAULT_wxUSE_THREADS
=yes
1631 DEFAULT_wxUSE_SHARED
=yes
1632 DEFAULT_wxUSE_SONAME
=no
1633 DEFAULT_wxUSE_OPTIMISE
=yes
1634 DEFAULT_wxUSE_PROFILE
=no
1635 DEFAULT_wxUSE_NO_DEPS
=no
1636 DEFAULT_wxUSE_NO_RTTI
=yes
1637 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1638 DEFAULT_wxUSE_PERMISSIVE
=no
1639 DEFAULT_wxUSE_DEBUG_FLAG
=no
1640 DEFAULT_wxUSE_DEBUG_INFO
=no
1641 DEFAULT_wxUSE_DEBUG_GDB
=no
1642 DEFAULT_wxUSE_MEM_TRACING
=no
1643 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1644 DEFAULT_wxUSE_DMALLOC
=no
1645 DEFAULT_wxUSE_PRECOMP
=no
1646 DEFAULT_wxUSE_APPLE_IEEE
=yes
1648 DEFAULT_wxUSE_LOG
=yes
1649 DEFAULT_wxUSE_LOGWINDOW
=yes
1650 DEFAULT_wxUSE_LOGGUI
=yes
1651 DEFAULT_wxUSE_LOGDIALOG
=yes
1653 DEFAULT_wxUSE_GUI
=yes
1655 DEFAULT_wxUSE_REGEX
=yes
1656 DEFAULT_wxUSE_ZLIB
=yes
1657 DEFAULT_wxUSE_LIBPNG
=yes
1658 DEFAULT_wxUSE_LIBJPEG
=yes
1659 DEFAULT_wxUSE_LIBTIFF
=yes
1660 DEFAULT_wxUSE_ODBC
=no
1661 DEFAULT_wxUSE_OPENGL
=no
1663 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1664 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1665 DEFAULT_wxUSE_STD_IOSTREAM
=no
1666 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1667 DEFAULT_wxUSE_DATETIME
=yes
1668 DEFAULT_wxUSE_TIMEDATE
=no
1669 DEFAULT_wxUSE_TIMER
=yes
1670 DEFAULT_wxUSE_STOPWATCH
=yes
1671 DEFAULT_wxUSE_FILE
=yes
1672 DEFAULT_wxUSE_FFILE
=yes
1673 DEFAULT_wxUSE_TEXTBUFFER
=yes
1674 DEFAULT_wxUSE_TEXTFILE
=yes
1675 DEFAULT_wxUSE_WAVE
=no
1676 DEFAULT_wxUSE_INTL
=yes
1677 DEFAULT_wxUSE_CONFIG
=yes
1678 DEFAULT_wxUSE_FONTMAP
=yes
1679 DEFAULT_wxUSE_STREAMS
=yes
1680 DEFAULT_wxUSE_SOCKETS
=yes
1681 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1682 DEFAULT_wxUSE_JOYSTICK
=yes
1683 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1684 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1685 DEFAULT_wxUSE_LONGLONG
=yes
1686 DEFAULT_wxUSE_GEOMETRY
=yes
1688 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1689 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1690 DEFAULT_wxUSE_POSTSCRIPT
=yes
1692 DEFAULT_wxUSE_X_RESOURCES
=no
1693 DEFAULT_wxUSE_CLIPBOARD
=yes
1694 DEFAULT_wxUSE_TOOLTIPS
=yes
1695 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1696 DEFAULT_wxUSE_DRAGIMAGE
=yes
1697 DEFAULT_wxUSE_SPLINES
=yes
1699 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1700 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1701 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1703 DEFAULT_wxUSE_PROLOGIO
=yes
1704 DEFAULT_wxUSE_RESOURCES
=yes
1705 DEFAULT_wxUSE_CONSTRAINTS
=yes
1706 DEFAULT_wxUSE_IPC
=yes
1707 DEFAULT_wxUSE_HELP
=yes
1708 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1709 DEFAULT_wxUSE_WXHTML_HELP
=yes
1710 DEFAULT_wxUSE_TREELAYOUT
=yes
1711 DEFAULT_wxUSE_METAFILE
=yes
1712 DEFAULT_wxUSE_MIMETYPE
=yes
1713 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1714 DEFAULT_wxUSE_PROTOCOL
=yes
1715 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1716 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1717 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1718 DEFAULT_wxUSE_URL
=yes
1720 DEFAULT_wxUSE_COMMONDLGS
=yes
1721 DEFAULT_wxUSE_CHOICEDLG
=yes
1722 DEFAULT_wxUSE_COLOURDLG
=yes
1723 DEFAULT_wxUSE_DIRDLG
=yes
1724 DEFAULT_wxUSE_FILEDLG
=yes
1725 DEFAULT_wxUSE_FINDREPLDLG
=yes
1726 DEFAULT_wxUSE_FONTDLG
=yes
1727 DEFAULT_wxUSE_MSGDLG
=yes
1728 DEFAULT_wxUSE_NUMBERDLG
=yes
1729 DEFAULT_wxUSE_TEXTDLG
=yes
1730 DEFAULT_wxUSE_SPLASH
=yes
1731 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1732 DEFAULT_wxUSE_PROGRESSDLG
=yes
1733 DEFAULT_wxUSE_WIZARDDLG
=yes
1735 DEFAULT_wxUSE_MENUS
=yes
1736 DEFAULT_wxUSE_MINIFRAME
=yes
1737 DEFAULT_wxUSE_HTML
=yes
1738 DEFAULT_wxUSE_FILESYSTEM
=yes
1739 DEFAULT_wxUSE_FS_INET
=yes
1740 DEFAULT_wxUSE_FS_ZIP
=yes
1741 DEFAULT_wxUSE_BUSYINFO
=yes
1742 DEFAULT_wxUSE_ZIPSTREAM
=yes
1743 DEFAULT_wxUSE_VALIDATORS
=yes
1745 DEFAULT_wxUSE_ACCEL
=yes
1746 DEFAULT_wxUSE_BUTTON
=yes
1747 DEFAULT_wxUSE_BMPBUTTON
=yes
1748 DEFAULT_wxUSE_CALCTRL
=yes
1749 DEFAULT_wxUSE_CARET
=yes
1750 DEFAULT_wxUSE_CHECKBOX
=yes
1751 DEFAULT_wxUSE_CHECKLST
=yes
1752 DEFAULT_wxUSE_CHOICE
=yes
1753 DEFAULT_wxUSE_COMBOBOX
=yes
1754 DEFAULT_wxUSE_GAUGE
=yes
1755 DEFAULT_wxUSE_GRID
=yes
1756 DEFAULT_wxUSE_NEW_GRID
=yes
1757 DEFAULT_wxUSE_IMAGLIST
=yes
1758 DEFAULT_wxUSE_LISTBOX
=yes
1759 DEFAULT_wxUSE_LISTCTRL
=yes
1760 DEFAULT_wxUSE_NOTEBOOK
=yes
1761 DEFAULT_wxUSE_PROPSHEET
=yes
1762 DEFAULT_wxUSE_RADIOBOX
=yes
1763 DEFAULT_wxUSE_RADIOBTN
=yes
1764 DEFAULT_wxUSE_SASH
=yes
1765 DEFAULT_wxUSE_SCROLLBAR
=yes
1766 DEFAULT_wxUSE_SLIDER
=yes
1767 DEFAULT_wxUSE_SPINBTN
=yes
1768 DEFAULT_wxUSE_SPINCTRL
=yes
1769 DEFAULT_wxUSE_SPLITTER
=yes
1770 DEFAULT_wxUSE_STATBMP
=yes
1771 DEFAULT_wxUSE_STATBOX
=yes
1772 DEFAULT_wxUSE_STATLINE
=yes
1773 DEFAULT_wxUSE_STATTEXT
=yes
1774 DEFAULT_wxUSE_STATUSBAR
=yes
1775 DEFAULT_wxUSE_TABDIALOG
=no
1776 DEFAULT_wxUSE_TEXTCTRL
=yes
1777 DEFAULT_wxUSE_TOGGLEBTN
=yes
1778 DEFAULT_wxUSE_TOOLBAR
=yes
1779 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1780 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1781 DEFAULT_wxUSE_TREECTRL
=yes
1782 DEFAULT_wxUSE_POPUPWIN
=yes
1783 DEFAULT_wxUSE_TIPWINDOW
=yes
1785 DEFAULT_wxUSE_UNICODE
=no
1786 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1787 DEFAULT_wxUSE_WCSRTOMBS
=no
1789 DEFAULT_wxUSE_PALETTE
=yes
1790 DEFAULT_wxUSE_IMAGE
=yes
1791 DEFAULT_wxUSE_GIF
=yes
1792 DEFAULT_wxUSE_PCX
=yes
1793 DEFAULT_wxUSE_IFF
=no
1794 DEFAULT_wxUSE_PNM
=yes
1795 DEFAULT_wxUSE_XPM
=yes
1796 DEFAULT_wxUSE_ICO_CUR
=yes
1801 for toolkit
in `echo $ALL_TOOLKITS`; do
1802 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1803 if test "x$LINE" != x
; then
1804 has_toolkit_in_cache
=1
1805 eval "DEFAULT_$LINE"
1806 eval "CACHE_$toolkit=1"
1812 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1813 echo "configure:1814: checking for --enable-gui" >&5
1815 # Check whether --enable-gui or --disable-gui was given.
1816 if test "${enable_gui+set}" = set; then
1817 enableval
="$enable_gui"
1819 if test "$enableval" = yes; then
1820 ac_cv_use_gui
='wxUSE_GUI=yes'
1822 ac_cv_use_gui
='wxUSE_GUI=no'
1827 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1828 if test "x$LINE" != x
; then
1829 eval "DEFAULT_$LINE"
1834 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1839 eval "$ac_cv_use_gui"
1840 if test "$no_cache" != 1; then
1841 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1844 if test "$wxUSE_GUI" = yes; then
1845 echo "$ac_t""yes" 1>&6
1847 echo "$ac_t""no" 1>&6
1851 if test "$wxUSE_GUI" = "yes"; then
1854 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1855 echo "configure:1856: checking for --enable-universal" >&5
1857 # Check whether --enable-universal or --disable-universal was given.
1858 if test "${enable_universal+set}" = set; then
1859 enableval
="$enable_universal"
1861 if test "$enableval" = yes; then
1862 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1864 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1869 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1870 if test "x$LINE" != x
; then
1871 eval "DEFAULT_$LINE"
1876 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1881 eval "$ac_cv_use_universal"
1882 if test "$no_cache" != 1; then
1883 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1886 if test "$wxUSE_UNIVERSAL" = yes; then
1887 echo "$ac_t""yes" 1>&6
1889 echo "$ac_t""no" 1>&6
1892 # Check whether --with-gtk or --without-gtk was given.
1893 if test "${with_gtk+set}" = set; then
1895 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1898 # Check whether --with-motif or --without-motif was given.
1899 if test "${with_motif+set}" = set; then
1900 withval
="$with_motif"
1901 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1904 # Check whether --with-mac or --without-mac was given.
1905 if test "${with_mac+set}" = set; then
1907 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1910 # Check whether --with-wine or --without-wine was given.
1911 if test "${with_wine+set}" = set; then
1912 withval
="$with_wine"
1913 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1916 # Check whether --with-msw or --without-msw was given.
1917 if test "${with_msw+set}" = set; then
1919 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1922 # Check whether --with-pm or --without-pm was given.
1923 if test "${with_pm+set}" = set; then
1925 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1928 # Check whether --with-mgl or --without-mgl was given.
1929 if test "${with_mgl+set}" = set; then
1931 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1934 # Check whether --with-microwin or --without-microwin was given.
1935 if test "${with_microwin+set}" = set; then
1936 withval
="$with_microwin"
1937 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1940 # Check whether --with-x11 or --without-x11 was given.
1941 if test "${with_x11+set}" = set; then
1943 wxUSE_X11
="$withval" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1947 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1948 if test "${enable_gtk2+set}" = set; then
1949 enableval
="$enable_gtk2"
1957 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1958 echo "configure:1959: checking for --with-libpng" >&5
1960 # Check whether --with-libpng or --without-libpng was given.
1961 if test "${with_libpng+set}" = set; then
1962 withval
="$with_libpng"
1964 if test "$withval" = yes; then
1965 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1966 elif test "$withval" = no
; then
1967 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1968 elif test "$withval" = sys
; then
1969 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1970 elif test "$withval" = builtin; then
1971 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1973 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1978 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1979 if test "x$LINE" != x
; then
1980 eval "DEFAULT_$LINE"
1985 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1990 eval "$ac_cv_use_libpng"
1991 if test "$no_cache" != 1; then
1992 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1995 if test "$wxUSE_LIBPNG" = yes; then
1996 echo "$ac_t""yes" 1>&6
1997 elif test "$wxUSE_LIBPNG" = no
; then
1998 echo "$ac_t""no" 1>&6
1999 elif test "$wxUSE_LIBPNG" = sys
; then
2000 echo "$ac_t""system version" 1>&6
2001 elif test "$wxUSE_LIBPNG" = builtin; then
2002 echo "$ac_t""builtin version" 1>&6
2004 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2008 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2009 echo "configure:2010: checking for --with-libjpeg" >&5
2011 # Check whether --with-libjpeg or --without-libjpeg was given.
2012 if test "${with_libjpeg+set}" = set; then
2013 withval
="$with_libjpeg"
2015 if test "$withval" = yes; then
2016 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2017 elif test "$withval" = no
; then
2018 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2019 elif test "$withval" = sys
; then
2020 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2021 elif test "$withval" = builtin; then
2022 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2024 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2029 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2030 if test "x$LINE" != x
; then
2031 eval "DEFAULT_$LINE"
2036 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2041 eval "$ac_cv_use_libjpeg"
2042 if test "$no_cache" != 1; then
2043 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2046 if test "$wxUSE_LIBJPEG" = yes; then
2047 echo "$ac_t""yes" 1>&6
2048 elif test "$wxUSE_LIBJPEG" = no
; then
2049 echo "$ac_t""no" 1>&6
2050 elif test "$wxUSE_LIBJPEG" = sys
; then
2051 echo "$ac_t""system version" 1>&6
2052 elif test "$wxUSE_LIBJPEG" = builtin; then
2053 echo "$ac_t""builtin version" 1>&6
2055 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2059 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2060 echo "configure:2061: checking for --with-libtiff" >&5
2062 # Check whether --with-libtiff or --without-libtiff was given.
2063 if test "${with_libtiff+set}" = set; then
2064 withval
="$with_libtiff"
2066 if test "$withval" = yes; then
2067 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2068 elif test "$withval" = no
; then
2069 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2070 elif test "$withval" = sys
; then
2071 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2072 elif test "$withval" = builtin; then
2073 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2075 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2080 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2081 if test "x$LINE" != x
; then
2082 eval "DEFAULT_$LINE"
2087 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2092 eval "$ac_cv_use_libtiff"
2093 if test "$no_cache" != 1; then
2094 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2097 if test "$wxUSE_LIBTIFF" = yes; then
2098 echo "$ac_t""yes" 1>&6
2099 elif test "$wxUSE_LIBTIFF" = no
; then
2100 echo "$ac_t""no" 1>&6
2101 elif test "$wxUSE_LIBTIFF" = sys
; then
2102 echo "$ac_t""system version" 1>&6
2103 elif test "$wxUSE_LIBTIFF" = builtin; then
2104 echo "$ac_t""builtin version" 1>&6
2106 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2110 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2111 echo "configure:2112: checking for --with-opengl" >&5
2113 # Check whether --with-opengl or --without-opengl was given.
2114 if test "${with_opengl+set}" = set; then
2115 withval
="$with_opengl"
2117 if test "$withval" = yes; then
2118 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2120 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2125 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2126 if test "x$LINE" != x
; then
2127 eval "DEFAULT_$LINE"
2132 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2137 eval "$ac_cv_use_opengl"
2138 if test "$no_cache" != 1; then
2139 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2142 if test "$wxUSE_OPENGL" = yes; then
2143 echo "$ac_t""yes" 1>&6
2145 echo "$ac_t""no" 1>&6
2152 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2153 echo "configure:2154: checking for --with-dmalloc" >&5
2155 # Check whether --with-dmalloc or --without-dmalloc was given.
2156 if test "${with_dmalloc+set}" = set; then
2157 withval
="$with_dmalloc"
2159 if test "$withval" = yes; then
2160 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2162 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2167 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2168 if test "x$LINE" != x
; then
2169 eval "DEFAULT_$LINE"
2174 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2179 eval "$ac_cv_use_dmalloc"
2180 if test "$no_cache" != 1; then
2181 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2184 if test "$wxUSE_DMALLOC" = yes; then
2185 echo "$ac_t""yes" 1>&6
2187 echo "$ac_t""no" 1>&6
2191 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2192 echo "configure:2193: checking for --with-regex" >&5
2194 # Check whether --with-regex or --without-regex was given.
2195 if test "${with_regex+set}" = set; then
2196 withval
="$with_regex"
2198 if test "$withval" = yes; then
2199 ac_cv_use_regex
='wxUSE_REGEX=yes'
2200 elif test "$withval" = no
; then
2201 ac_cv_use_regex
='wxUSE_REGEX=no'
2202 elif test "$withval" = sys
; then
2203 ac_cv_use_regex
='wxUSE_REGEX=sys'
2204 elif test "$withval" = builtin; then
2205 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2207 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2212 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2213 if test "x$LINE" != x
; then
2214 eval "DEFAULT_$LINE"
2219 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2224 eval "$ac_cv_use_regex"
2225 if test "$no_cache" != 1; then
2226 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2229 if test "$wxUSE_REGEX" = yes; then
2230 echo "$ac_t""yes" 1>&6
2231 elif test "$wxUSE_REGEX" = no
; then
2232 echo "$ac_t""no" 1>&6
2233 elif test "$wxUSE_REGEX" = sys
; then
2234 echo "$ac_t""system version" 1>&6
2235 elif test "$wxUSE_REGEX" = builtin; then
2236 echo "$ac_t""builtin version" 1>&6
2238 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2242 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2243 echo "configure:2244: checking for --with-zlib" >&5
2245 # Check whether --with-zlib or --without-zlib was given.
2246 if test "${with_zlib+set}" = set; then
2247 withval
="$with_zlib"
2249 if test "$withval" = yes; then
2250 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2251 elif test "$withval" = no
; then
2252 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2253 elif test "$withval" = sys
; then
2254 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2255 elif test "$withval" = builtin; then
2256 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2258 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2263 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2264 if test "x$LINE" != x
; then
2265 eval "DEFAULT_$LINE"
2270 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2275 eval "$ac_cv_use_zlib"
2276 if test "$no_cache" != 1; then
2277 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2280 if test "$wxUSE_ZLIB" = yes; then
2281 echo "$ac_t""yes" 1>&6
2282 elif test "$wxUSE_ZLIB" = no
; then
2283 echo "$ac_t""no" 1>&6
2284 elif test "$wxUSE_ZLIB" = sys
; then
2285 echo "$ac_t""system version" 1>&6
2286 elif test "$wxUSE_ZLIB" = builtin; then
2287 echo "$ac_t""builtin version" 1>&6
2289 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2293 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2294 echo "configure:2295: checking for --with-odbc" >&5
2296 # Check whether --with-odbc or --without-odbc was given.
2297 if test "${with_odbc+set}" = set; then
2298 withval
="$with_odbc"
2300 if test "$withval" = yes; then
2301 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2303 ac_cv_use_odbc
='wxUSE_ODBC=no'
2308 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2309 if test "x$LINE" != x
; then
2310 eval "DEFAULT_$LINE"
2315 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2320 eval "$ac_cv_use_odbc"
2321 if test "$no_cache" != 1; then
2322 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2325 if test "$wxUSE_ODBC" = yes; then
2326 echo "$ac_t""yes" 1>&6
2328 echo "$ac_t""no" 1>&6
2334 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2335 echo "configure:2336: checking for --enable-shared" >&5
2337 # Check whether --enable-shared or --disable-shared was given.
2338 if test "${enable_shared+set}" = set; then
2339 enableval
="$enable_shared"
2341 if test "$enableval" = yes; then
2342 ac_cv_use_shared
='wxUSE_SHARED=yes'
2344 ac_cv_use_shared
='wxUSE_SHARED=no'
2349 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2350 if test "x$LINE" != x
; then
2351 eval "DEFAULT_$LINE"
2356 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2361 eval "$ac_cv_use_shared"
2362 if test "$no_cache" != 1; then
2363 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2366 if test "$wxUSE_SHARED" = yes; then
2367 echo "$ac_t""yes" 1>&6
2369 echo "$ac_t""no" 1>&6
2373 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2374 echo "configure:2375: checking for --enable-soname" >&5
2376 # Check whether --enable-soname or --disable-soname was given.
2377 if test "${enable_soname+set}" = set; then
2378 enableval
="$enable_soname"
2380 if test "$enableval" = yes; then
2381 ac_cv_use_soname
='wxUSE_SONAME=yes'
2383 ac_cv_use_soname
='wxUSE_SONAME=no'
2388 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2389 if test "x$LINE" != x
; then
2390 eval "DEFAULT_$LINE"
2395 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2400 eval "$ac_cv_use_soname"
2401 if test "$no_cache" != 1; then
2402 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2405 if test "$wxUSE_SONAME" = yes; then
2406 echo "$ac_t""yes" 1>&6
2408 echo "$ac_t""no" 1>&6
2412 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2413 echo "configure:2414: checking for --enable-optimise" >&5
2415 # Check whether --enable-optimise or --disable-optimise was given.
2416 if test "${enable_optimise+set}" = set; then
2417 enableval
="$enable_optimise"
2419 if test "$enableval" = yes; then
2420 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2422 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2427 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2428 if test "x$LINE" != x
; then
2429 eval "DEFAULT_$LINE"
2434 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2439 eval "$ac_cv_use_optimise"
2440 if test "$no_cache" != 1; then
2441 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2444 if test "$wxUSE_OPTIMISE" = yes; then
2445 echo "$ac_t""yes" 1>&6
2447 echo "$ac_t""no" 1>&6
2451 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2452 echo "configure:2453: checking for --enable-debug" >&5
2454 # Check whether --enable-debug or --disable-debug was given.
2455 if test "${enable_debug+set}" = set; then
2456 enableval
="$enable_debug"
2458 if test "$enableval" = yes; then
2459 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2461 ac_cv_use_debug
='wxUSE_DEBUG=no'
2466 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2467 if test "x$LINE" != x
; then
2468 eval "DEFAULT_$LINE"
2473 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2478 eval "$ac_cv_use_debug"
2479 if test "$no_cache" != 1; then
2480 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2483 if test "$wxUSE_DEBUG" = yes; then
2484 echo "$ac_t""yes" 1>&6
2486 echo "$ac_t""no" 1>&6
2491 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2492 echo "configure:2493: checking for --enable-precomp" >&5
2494 # Check whether --enable-precomp or --disable-precomp was given.
2495 if test "${enable_precomp+set}" = set; then
2496 enableval
="$enable_precomp"
2498 if test "$enableval" = yes; then
2499 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2501 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2506 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2507 if test "x$LINE" != x
; then
2508 eval "DEFAULT_$LINE"
2513 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2518 eval "$ac_cv_use_precomp"
2519 if test "$no_cache" != 1; then
2520 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2523 if test "$wxUSE_PRECOMP" = yes; then
2524 echo "$ac_t""yes" 1>&6
2526 echo "$ac_t""no" 1>&6
2530 if test "$wxUSE_DEBUG" = "yes"; then
2531 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2532 DEFAULT_wxUSE_DEBUG_INFO
=yes
2533 elif test "$wxUSE_DEBUG" = "no"; then
2534 DEFAULT_wxUSE_DEBUG_FLAG
=no
2535 DEFAULT_wxUSE_DEBUG_INFO
=no
2539 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2540 echo "configure:2541: checking for --enable-debug_flag" >&5
2542 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2543 if test "${enable_debug_flag+set}" = set; then
2544 enableval
="$enable_debug_flag"
2546 if test "$enableval" = yes; then
2547 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2549 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2554 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2555 if test "x$LINE" != x
; then
2556 eval "DEFAULT_$LINE"
2561 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2566 eval "$ac_cv_use_debug_flag"
2567 if test "$no_cache" != 1; then
2568 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2571 if test "$wxUSE_DEBUG_FLAG" = yes; then
2572 echo "$ac_t""yes" 1>&6
2574 echo "$ac_t""no" 1>&6
2578 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2579 echo "configure:2580: checking for --enable-debug_info" >&5
2581 # Check whether --enable-debug_info or --disable-debug_info was given.
2582 if test "${enable_debug_info+set}" = set; then
2583 enableval
="$enable_debug_info"
2585 if test "$enableval" = yes; then
2586 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2588 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2593 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2594 if test "x$LINE" != x
; then
2595 eval "DEFAULT_$LINE"
2600 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2605 eval "$ac_cv_use_debug_info"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2610 if test "$wxUSE_DEBUG_INFO" = yes; then
2611 echo "$ac_t""yes" 1>&6
2613 echo "$ac_t""no" 1>&6
2617 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2618 echo "configure:2619: checking for --enable-debug_gdb" >&5
2620 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2621 if test "${enable_debug_gdb+set}" = set; then
2622 enableval
="$enable_debug_gdb"
2624 if test "$enableval" = yes; then
2625 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2627 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2632 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2633 if test "x$LINE" != x
; then
2634 eval "DEFAULT_$LINE"
2639 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2644 eval "$ac_cv_use_debug_gdb"
2645 if test "$no_cache" != 1; then
2646 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2649 if test "$wxUSE_DEBUG_GDB" = yes; then
2650 echo "$ac_t""yes" 1>&6
2652 echo "$ac_t""no" 1>&6
2656 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2657 echo "configure:2658: checking for --enable-debug_cntxt" >&5
2659 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2660 if test "${enable_debug_cntxt+set}" = set; then
2661 enableval
="$enable_debug_cntxt"
2663 if test "$enableval" = yes; then
2664 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2666 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2671 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2672 if test "x$LINE" != x
; then
2673 eval "DEFAULT_$LINE"
2678 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2683 eval "$ac_cv_use_debug_cntxt"
2684 if test "$no_cache" != 1; then
2685 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2688 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2689 echo "$ac_t""yes" 1>&6
2691 echo "$ac_t""no" 1>&6
2695 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2696 echo "configure:2697: checking for --enable-mem_tracing" >&5
2698 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2699 if test "${enable_mem_tracing+set}" = set; then
2700 enableval
="$enable_mem_tracing"
2702 if test "$enableval" = yes; then
2703 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2705 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2710 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2711 if test "x$LINE" != x
; then
2712 eval "DEFAULT_$LINE"
2717 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2722 eval "$ac_cv_use_mem_tracing"
2723 if test "$no_cache" != 1; then
2724 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2727 if test "$wxUSE_MEM_TRACING" = yes; then
2728 echo "$ac_t""yes" 1>&6
2730 echo "$ac_t""no" 1>&6
2734 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2735 echo "configure:2736: checking for --enable-profile" >&5
2737 # Check whether --enable-profile or --disable-profile was given.
2738 if test "${enable_profile+set}" = set; then
2739 enableval
="$enable_profile"
2741 if test "$enableval" = yes; then
2742 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2744 ac_cv_use_profile
='wxUSE_PROFILE=no'
2749 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2750 if test "x$LINE" != x
; then
2751 eval "DEFAULT_$LINE"
2756 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2761 eval "$ac_cv_use_profile"
2762 if test "$no_cache" != 1; then
2763 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2766 if test "$wxUSE_PROFILE" = yes; then
2767 echo "$ac_t""yes" 1>&6
2769 echo "$ac_t""no" 1>&6
2773 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2774 echo "configure:2775: checking for --enable-no_rtti" >&5
2776 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2777 if test "${enable_no_rtti+set}" = set; then
2778 enableval
="$enable_no_rtti"
2780 if test "$enableval" = yes; then
2781 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2783 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2788 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x
; then
2790 eval "DEFAULT_$LINE"
2795 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2800 eval "$ac_cv_use_no_rtti"
2801 if test "$no_cache" != 1; then
2802 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2805 if test "$wxUSE_NO_RTTI" = yes; then
2806 echo "$ac_t""yes" 1>&6
2808 echo "$ac_t""no" 1>&6
2812 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2813 echo "configure:2814: checking for --enable-no_exceptions" >&5
2815 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2816 if test "${enable_no_exceptions+set}" = set; then
2817 enableval
="$enable_no_exceptions"
2819 if test "$enableval" = yes; then
2820 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2822 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2827 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2828 if test "x$LINE" != x
; then
2829 eval "DEFAULT_$LINE"
2834 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2839 eval "$ac_cv_use_no_exceptions"
2840 if test "$no_cache" != 1; then
2841 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2844 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2845 echo "$ac_t""yes" 1>&6
2847 echo "$ac_t""no" 1>&6
2851 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2852 echo "configure:2853: checking for --enable-permissive" >&5
2854 # Check whether --enable-permissive or --disable-permissive was given.
2855 if test "${enable_permissive+set}" = set; then
2856 enableval
="$enable_permissive"
2858 if test "$enableval" = yes; then
2859 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2861 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2866 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2867 if test "x$LINE" != x
; then
2868 eval "DEFAULT_$LINE"
2873 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2878 eval "$ac_cv_use_permissive"
2879 if test "$no_cache" != 1; then
2880 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2883 if test "$wxUSE_PERMISSIVE" = yes; then
2884 echo "$ac_t""yes" 1>&6
2886 echo "$ac_t""no" 1>&6
2890 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2891 echo "configure:2892: checking for --enable-no_deps" >&5
2893 # Check whether --enable-no_deps or --disable-no_deps was given.
2894 if test "${enable_no_deps+set}" = set; then
2895 enableval
="$enable_no_deps"
2897 if test "$enableval" = yes; then
2898 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2900 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2905 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2906 if test "x$LINE" != x
; then
2907 eval "DEFAULT_$LINE"
2912 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2917 eval "$ac_cv_use_no_deps"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2922 if test "$wxUSE_NO_DEPS" = yes; then
2923 echo "$ac_t""yes" 1>&6
2925 echo "$ac_t""no" 1>&6
2930 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2931 echo "configure:2932: checking for --enable-compat20" >&5
2933 # Check whether --enable-compat20 or --disable-compat20 was given.
2934 if test "${enable_compat20+set}" = set; then
2935 enableval
="$enable_compat20"
2937 if test "$enableval" = yes; then
2938 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2940 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2945 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2946 if test "x$LINE" != x
; then
2947 eval "DEFAULT_$LINE"
2952 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2957 eval "$ac_cv_use_compat20"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2962 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2963 echo "$ac_t""yes" 1>&6
2965 echo "$ac_t""no" 1>&6
2969 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2970 echo "configure:2971: checking for --enable-compat22" >&5
2972 # Check whether --enable-compat22 or --disable-compat22 was given.
2973 if test "${enable_compat22+set}" = set; then
2974 enableval
="$enable_compat22"
2976 if test "$enableval" = yes; then
2977 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2979 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2984 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x
; then
2986 eval "DEFAULT_$LINE"
2991 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2996 eval "$ac_cv_use_compat22"
2997 if test "$no_cache" != 1; then
2998 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3001 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3002 echo "$ac_t""yes" 1>&6
3004 echo "$ac_t""no" 1>&6
3010 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3011 echo "configure:3012: checking for --enable-intl" >&5
3013 # Check whether --enable-intl or --disable-intl was given.
3014 if test "${enable_intl+set}" = set; then
3015 enableval
="$enable_intl"
3017 if test "$enableval" = yes; then
3018 ac_cv_use_intl
='wxUSE_INTL=yes'
3020 ac_cv_use_intl
='wxUSE_INTL=no'
3025 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3026 if test "x$LINE" != x
; then
3027 eval "DEFAULT_$LINE"
3032 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3037 eval "$ac_cv_use_intl"
3038 if test "$no_cache" != 1; then
3039 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3042 if test "$wxUSE_INTL" = yes; then
3043 echo "$ac_t""yes" 1>&6
3045 echo "$ac_t""no" 1>&6
3049 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3050 echo "configure:3051: checking for --enable-config" >&5
3052 # Check whether --enable-config or --disable-config was given.
3053 if test "${enable_config+set}" = set; then
3054 enableval
="$enable_config"
3056 if test "$enableval" = yes; then
3057 ac_cv_use_config
='wxUSE_CONFIG=yes'
3059 ac_cv_use_config
='wxUSE_CONFIG=no'
3064 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3065 if test "x$LINE" != x
; then
3066 eval "DEFAULT_$LINE"
3071 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3076 eval "$ac_cv_use_config"
3077 if test "$no_cache" != 1; then
3078 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3081 if test "$wxUSE_CONFIG" = yes; then
3082 echo "$ac_t""yes" 1>&6
3084 echo "$ac_t""no" 1>&6
3089 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3090 echo "configure:3091: checking for --enable-protocols" >&5
3092 # Check whether --enable-protocols or --disable-protocols was given.
3093 if test "${enable_protocols+set}" = set; then
3094 enableval
="$enable_protocols"
3096 if test "$enableval" = yes; then
3097 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3099 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3104 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3105 if test "x$LINE" != x
; then
3106 eval "DEFAULT_$LINE"
3111 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3116 eval "$ac_cv_use_protocols"
3117 if test "$no_cache" != 1; then
3118 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3121 if test "$wxUSE_PROTOCOL" = yes; then
3122 echo "$ac_t""yes" 1>&6
3124 echo "$ac_t""no" 1>&6
3128 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3129 echo "configure:3130: checking for --enable-ftp" >&5
3131 # Check whether --enable-ftp or --disable-ftp was given.
3132 if test "${enable_ftp+set}" = set; then
3133 enableval
="$enable_ftp"
3135 if test "$enableval" = yes; then
3136 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3138 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3143 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3144 if test "x$LINE" != x
; then
3145 eval "DEFAULT_$LINE"
3150 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3155 eval "$ac_cv_use_ftp"
3156 if test "$no_cache" != 1; then
3157 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3160 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3161 echo "$ac_t""yes" 1>&6
3163 echo "$ac_t""no" 1>&6
3167 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3168 echo "configure:3169: checking for --enable-http" >&5
3170 # Check whether --enable-http or --disable-http was given.
3171 if test "${enable_http+set}" = set; then
3172 enableval
="$enable_http"
3174 if test "$enableval" = yes; then
3175 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3177 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3182 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3183 if test "x$LINE" != x
; then
3184 eval "DEFAULT_$LINE"
3189 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3194 eval "$ac_cv_use_http"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3199 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3200 echo "$ac_t""yes" 1>&6
3202 echo "$ac_t""no" 1>&6
3206 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3207 echo "configure:3208: checking for --enable-fileproto" >&5
3209 # Check whether --enable-fileproto or --disable-fileproto was given.
3210 if test "${enable_fileproto+set}" = set; then
3211 enableval
="$enable_fileproto"
3213 if test "$enableval" = yes; then
3214 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3216 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3221 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3222 if test "x$LINE" != x
; then
3223 eval "DEFAULT_$LINE"
3228 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3233 eval "$ac_cv_use_fileproto"
3234 if test "$no_cache" != 1; then
3235 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3238 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3239 echo "$ac_t""yes" 1>&6
3241 echo "$ac_t""no" 1>&6
3245 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3246 echo "configure:3247: checking for --enable-sockets" >&5
3248 # Check whether --enable-sockets or --disable-sockets was given.
3249 if test "${enable_sockets+set}" = set; then
3250 enableval
="$enable_sockets"
3252 if test "$enableval" = yes; then
3253 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3255 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3260 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3261 if test "x$LINE" != x
; then
3262 eval "DEFAULT_$LINE"
3267 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3272 eval "$ac_cv_use_sockets"
3273 if test "$no_cache" != 1; then
3274 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3277 if test "$wxUSE_SOCKETS" = yes; then
3278 echo "$ac_t""yes" 1>&6
3280 echo "$ac_t""no" 1>&6
3285 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3286 echo "configure:3287: checking for --enable-ipc" >&5
3288 # Check whether --enable-ipc or --disable-ipc was given.
3289 if test "${enable_ipc+set}" = set; then
3290 enableval
="$enable_ipc"
3292 if test "$enableval" = yes; then
3293 ac_cv_use_ipc
='wxUSE_IPC=yes'
3295 ac_cv_use_ipc
='wxUSE_IPC=no'
3300 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3301 if test "x$LINE" != x
; then
3302 eval "DEFAULT_$LINE"
3307 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3312 eval "$ac_cv_use_ipc"
3313 if test "$no_cache" != 1; then
3314 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3317 if test "$wxUSE_IPC" = yes; then
3318 echo "$ac_t""yes" 1>&6
3320 echo "$ac_t""no" 1>&6
3325 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3326 echo "configure:3327: checking for --enable-cmdline" >&5
3328 # Check whether --enable-cmdline or --disable-cmdline was given.
3329 if test "${enable_cmdline+set}" = set; then
3330 enableval
="$enable_cmdline"
3332 if test "$enableval" = yes; then
3333 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3335 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3340 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3341 if test "x$LINE" != x
; then
3342 eval "DEFAULT_$LINE"
3347 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3352 eval "$ac_cv_use_cmdline"
3353 if test "$no_cache" != 1; then
3354 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3357 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3358 echo "$ac_t""yes" 1>&6
3360 echo "$ac_t""no" 1>&6
3364 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3365 echo "configure:3366: checking for --enable-datetime" >&5
3367 # Check whether --enable-datetime or --disable-datetime was given.
3368 if test "${enable_datetime+set}" = set; then
3369 enableval
="$enable_datetime"
3371 if test "$enableval" = yes; then
3372 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3374 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3379 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3380 if test "x$LINE" != x
; then
3381 eval "DEFAULT_$LINE"
3386 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3391 eval "$ac_cv_use_datetime"
3392 if test "$no_cache" != 1; then
3393 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3396 if test "$wxUSE_DATETIME" = yes; then
3397 echo "$ac_t""yes" 1>&6
3399 echo "$ac_t""no" 1>&6
3403 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3404 echo "configure:3405: checking for --enable-timedate" >&5
3406 # Check whether --enable-timedate or --disable-timedate was given.
3407 if test "${enable_timedate+set}" = set; then
3408 enableval
="$enable_timedate"
3410 if test "$enableval" = yes; then
3411 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3413 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3418 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3419 if test "x$LINE" != x
; then
3420 eval "DEFAULT_$LINE"
3425 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3430 eval "$ac_cv_use_timedate"
3431 if test "$no_cache" != 1; then
3432 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3435 if test "$wxUSE_TIMEDATE" = yes; then
3436 echo "$ac_t""yes" 1>&6
3438 echo "$ac_t""no" 1>&6
3442 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3443 echo "configure:3444: checking for --enable-stopwatch" >&5
3445 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3446 if test "${enable_stopwatch+set}" = set; then
3447 enableval
="$enable_stopwatch"
3449 if test "$enableval" = yes; then
3450 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3452 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3457 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3458 if test "x$LINE" != x
; then
3459 eval "DEFAULT_$LINE"
3464 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3469 eval "$ac_cv_use_stopwatch"
3470 if test "$no_cache" != 1; then
3471 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3474 if test "$wxUSE_STOPWATCH" = yes; then
3475 echo "$ac_t""yes" 1>&6
3477 echo "$ac_t""no" 1>&6
3481 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3482 echo "configure:3483: checking for --enable-dialupman" >&5
3484 # Check whether --enable-dialupman or --disable-dialupman was given.
3485 if test "${enable_dialupman+set}" = set; then
3486 enableval
="$enable_dialupman"
3488 if test "$enableval" = yes; then
3489 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3491 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3496 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3497 if test "x$LINE" != x
; then
3498 eval "DEFAULT_$LINE"
3503 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3508 eval "$ac_cv_use_dialupman"
3509 if test "$no_cache" != 1; then
3510 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3513 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3514 echo "$ac_t""yes" 1>&6
3516 echo "$ac_t""no" 1>&6
3520 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3521 echo "configure:3522: checking for --enable-apple_ieee" >&5
3523 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3524 if test "${enable_apple_ieee+set}" = set; then
3525 enableval
="$enable_apple_ieee"
3527 if test "$enableval" = yes; then
3528 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3530 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3535 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3536 if test "x$LINE" != x
; then
3537 eval "DEFAULT_$LINE"
3542 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3547 eval "$ac_cv_use_apple_ieee"
3548 if test "$no_cache" != 1; then
3549 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3552 if test "$wxUSE_APPLE_IEEE" = yes; then
3553 echo "$ac_t""yes" 1>&6
3555 echo "$ac_t""no" 1>&6
3559 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3560 echo "configure:3561: checking for --enable-timer" >&5
3562 # Check whether --enable-timer or --disable-timer was given.
3563 if test "${enable_timer+set}" = set; then
3564 enableval
="$enable_timer"
3566 if test "$enableval" = yes; then
3567 ac_cv_use_timer
='wxUSE_TIMER=yes'
3569 ac_cv_use_timer
='wxUSE_TIMER=no'
3574 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3575 if test "x$LINE" != x
; then
3576 eval "DEFAULT_$LINE"
3581 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3586 eval "$ac_cv_use_timer"
3587 if test "$no_cache" != 1; then
3588 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3591 if test "$wxUSE_TIMER" = yes; then
3592 echo "$ac_t""yes" 1>&6
3594 echo "$ac_t""no" 1>&6
3598 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3599 echo "configure:3600: checking for --enable-wave" >&5
3601 # Check whether --enable-wave or --disable-wave was given.
3602 if test "${enable_wave+set}" = set; then
3603 enableval
="$enable_wave"
3605 if test "$enableval" = yes; then
3606 ac_cv_use_wave
='wxUSE_WAVE=yes'
3608 ac_cv_use_wave
='wxUSE_WAVE=no'
3613 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3614 if test "x$LINE" != x
; then
3615 eval "DEFAULT_$LINE"
3620 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3625 eval "$ac_cv_use_wave"
3626 if test "$no_cache" != 1; then
3627 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3630 if test "$wxUSE_WAVE" = yes; then
3631 echo "$ac_t""yes" 1>&6
3633 echo "$ac_t""no" 1>&6
3637 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3638 echo "configure:3639: checking for --enable-fraction" >&5
3640 # Check whether --enable-fraction or --disable-fraction was given.
3641 if test "${enable_fraction+set}" = set; then
3642 enableval
="$enable_fraction"
3644 if test "$enableval" = yes; then
3645 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3647 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3652 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3653 if test "x$LINE" != x
; then
3654 eval "DEFAULT_$LINE"
3659 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3664 eval "$ac_cv_use_fraction"
3665 if test "$no_cache" != 1; then
3666 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3669 if test "$wxUSE_FRACTION" = yes; then
3670 echo "$ac_t""yes" 1>&6
3672 echo "$ac_t""no" 1>&6
3676 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3677 echo "configure:3678: checking for --enable-dynlib" >&5
3679 # Check whether --enable-dynlib or --disable-dynlib was given.
3680 if test "${enable_dynlib+set}" = set; then
3681 enableval
="$enable_dynlib"
3683 if test "$enableval" = yes; then
3684 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3686 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3691 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3692 if test "x$LINE" != x
; then
3693 eval "DEFAULT_$LINE"
3698 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3703 eval "$ac_cv_use_dynlib"
3704 if test "$no_cache" != 1; then
3705 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3708 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3709 echo "$ac_t""yes" 1>&6
3711 echo "$ac_t""no" 1>&6
3715 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3716 echo "configure:3717: checking for --enable-dynamicloader" >&5
3718 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3719 if test "${enable_dynamicloader+set}" = set; then
3720 enableval
="$enable_dynamicloader"
3722 if test "$enableval" = yes; then
3723 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3725 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3730 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3731 if test "x$LINE" != x
; then
3732 eval "DEFAULT_$LINE"
3737 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3742 eval "$ac_cv_use_dynamicloader"
3743 if test "$no_cache" != 1; then
3744 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3747 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3748 echo "$ac_t""yes" 1>&6
3750 echo "$ac_t""no" 1>&6
3754 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3755 echo "configure:3756: checking for --enable-longlong" >&5
3757 # Check whether --enable-longlong or --disable-longlong was given.
3758 if test "${enable_longlong+set}" = set; then
3759 enableval
="$enable_longlong"
3761 if test "$enableval" = yes; then
3762 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3764 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3769 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3770 if test "x$LINE" != x
; then
3771 eval "DEFAULT_$LINE"
3776 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3781 eval "$ac_cv_use_longlong"
3782 if test "$no_cache" != 1; then
3783 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3786 if test "$wxUSE_LONGLONG" = yes; then
3787 echo "$ac_t""yes" 1>&6
3789 echo "$ac_t""no" 1>&6
3793 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3794 echo "configure:3795: checking for --enable-geometry" >&5
3796 # Check whether --enable-geometry or --disable-geometry was given.
3797 if test "${enable_geometry+set}" = set; then
3798 enableval
="$enable_geometry"
3800 if test "$enableval" = yes; then
3801 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3803 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3808 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x
; then
3810 eval "DEFAULT_$LINE"
3815 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3820 eval "$ac_cv_use_geometry"
3821 if test "$no_cache" != 1; then
3822 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3825 if test "$wxUSE_GEOMETRY" = yes; then
3826 echo "$ac_t""yes" 1>&6
3828 echo "$ac_t""no" 1>&6
3832 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3833 echo "configure:3834: checking for --enable-log" >&5
3835 # Check whether --enable-log or --disable-log was given.
3836 if test "${enable_log+set}" = set; then
3837 enableval
="$enable_log"
3839 if test "$enableval" = yes; then
3840 ac_cv_use_log
='wxUSE_LOG=yes'
3842 ac_cv_use_log
='wxUSE_LOG=no'
3847 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3848 if test "x$LINE" != x
; then
3849 eval "DEFAULT_$LINE"
3854 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3859 eval "$ac_cv_use_log"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3864 if test "$wxUSE_LOG" = yes; then
3865 echo "$ac_t""yes" 1>&6
3867 echo "$ac_t""no" 1>&6
3871 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3872 echo "configure:3873: checking for --enable-streams" >&5
3874 # Check whether --enable-streams or --disable-streams was given.
3875 if test "${enable_streams+set}" = set; then
3876 enableval
="$enable_streams"
3878 if test "$enableval" = yes; then
3879 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3881 ac_cv_use_streams
='wxUSE_STREAMS=no'
3886 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3887 if test "x$LINE" != x
; then
3888 eval "DEFAULT_$LINE"
3893 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3898 eval "$ac_cv_use_streams"
3899 if test "$no_cache" != 1; then
3900 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3903 if test "$wxUSE_STREAMS" = yes; then
3904 echo "$ac_t""yes" 1>&6
3906 echo "$ac_t""no" 1>&6
3910 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3911 echo "configure:3912: checking for --enable-file" >&5
3913 # Check whether --enable-file or --disable-file was given.
3914 if test "${enable_file+set}" = set; then
3915 enableval
="$enable_file"
3917 if test "$enableval" = yes; then
3918 ac_cv_use_file
='wxUSE_FILE=yes'
3920 ac_cv_use_file
='wxUSE_FILE=no'
3925 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x
; then
3927 eval "DEFAULT_$LINE"
3932 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3937 eval "$ac_cv_use_file"
3938 if test "$no_cache" != 1; then
3939 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3942 if test "$wxUSE_FILE" = yes; then
3943 echo "$ac_t""yes" 1>&6
3945 echo "$ac_t""no" 1>&6
3949 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3950 echo "configure:3951: checking for --enable-ffile" >&5
3952 # Check whether --enable-ffile or --disable-ffile was given.
3953 if test "${enable_ffile+set}" = set; then
3954 enableval
="$enable_ffile"
3956 if test "$enableval" = yes; then
3957 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3959 ac_cv_use_ffile
='wxUSE_FFILE=no'
3964 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3965 if test "x$LINE" != x
; then
3966 eval "DEFAULT_$LINE"
3971 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3976 eval "$ac_cv_use_ffile"
3977 if test "$no_cache" != 1; then
3978 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3981 if test "$wxUSE_FFILE" = yes; then
3982 echo "$ac_t""yes" 1>&6
3984 echo "$ac_t""no" 1>&6
3988 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3989 echo "configure:3990: checking for --enable-textbuf" >&5
3991 # Check whether --enable-textbuf or --disable-textbuf was given.
3992 if test "${enable_textbuf+set}" = set; then
3993 enableval
="$enable_textbuf"
3995 if test "$enableval" = yes; then
3996 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3998 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4003 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4004 if test "x$LINE" != x
; then
4005 eval "DEFAULT_$LINE"
4010 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4015 eval "$ac_cv_use_textbuf"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4020 if test "$wxUSE_TEXTBUFFER" = yes; then
4021 echo "$ac_t""yes" 1>&6
4023 echo "$ac_t""no" 1>&6
4027 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4028 echo "configure:4029: checking for --enable-textfile" >&5
4030 # Check whether --enable-textfile or --disable-textfile was given.
4031 if test "${enable_textfile+set}" = set; then
4032 enableval
="$enable_textfile"
4034 if test "$enableval" = yes; then
4035 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4037 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4042 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x
; then
4044 eval "DEFAULT_$LINE"
4049 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4054 eval "$ac_cv_use_textfile"
4055 if test "$no_cache" != 1; then
4056 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4059 if test "$wxUSE_TEXTFILE" = yes; then
4060 echo "$ac_t""yes" 1>&6
4062 echo "$ac_t""no" 1>&6
4066 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4067 echo "configure:4068: checking for --enable-fontmap" >&5
4069 # Check whether --enable-fontmap or --disable-fontmap was given.
4070 if test "${enable_fontmap+set}" = set; then
4071 enableval
="$enable_fontmap"
4073 if test "$enableval" = yes; then
4074 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4076 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4081 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4082 if test "x$LINE" != x
; then
4083 eval "DEFAULT_$LINE"
4088 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4093 eval "$ac_cv_use_fontmap"
4094 if test "$no_cache" != 1; then
4095 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4098 if test "$wxUSE_FONTMAP" = yes; then
4099 echo "$ac_t""yes" 1>&6
4101 echo "$ac_t""no" 1>&6
4105 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4106 echo "configure:4107: checking for --enable-unicode" >&5
4108 # Check whether --enable-unicode or --disable-unicode was given.
4109 if test "${enable_unicode+set}" = set; then
4110 enableval
="$enable_unicode"
4112 if test "$enableval" = yes; then
4113 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4115 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4120 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x
; then
4122 eval "DEFAULT_$LINE"
4127 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4132 eval "$ac_cv_use_unicode"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4137 if test "$wxUSE_UNICODE" = yes; then
4138 echo "$ac_t""yes" 1>&6
4140 echo "$ac_t""no" 1>&6
4144 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4145 echo "configure:4146: checking for --enable-mslu" >&5
4147 # Check whether --enable-mslu or --disable-mslu was given.
4148 if test "${enable_mslu+set}" = set; then
4149 enableval
="$enable_mslu"
4151 if test "$enableval" = yes; then
4152 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4154 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4159 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4160 if test "x$LINE" != x
; then
4161 eval "DEFAULT_$LINE"
4166 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4171 eval "$ac_cv_use_mslu"
4172 if test "$no_cache" != 1; then
4173 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4176 if test "$wxUSE_UNICODE_MSLU" = yes; then
4177 echo "$ac_t""yes" 1>&6
4179 echo "$ac_t""no" 1>&6
4183 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4184 echo "configure:4185: checking for --enable-wxprintfv" >&5
4186 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4187 if test "${enable_wxprintfv+set}" = set; then
4188 enableval
="$enable_wxprintfv"
4190 if test "$enableval" = yes; then
4191 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4193 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4198 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4199 if test "x$LINE" != x
; then
4200 eval "DEFAULT_$LINE"
4205 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4210 eval "$ac_cv_use_wxprintfv"
4211 if test "$no_cache" != 1; then
4212 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4215 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4216 echo "$ac_t""yes" 1>&6
4218 echo "$ac_t""no" 1>&6
4222 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4223 echo "configure:4224: checking for --enable-std_iostreams" >&5
4225 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4226 if test "${enable_std_iostreams+set}" = set; then
4227 enableval
="$enable_std_iostreams"
4229 if test "$enableval" = yes; then
4230 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4232 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4237 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4238 if test "x$LINE" != x
; then
4239 eval "DEFAULT_$LINE"
4244 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4249 eval "$ac_cv_use_std_iostreams"
4250 if test "$no_cache" != 1; then
4251 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4254 if test "$wxUSE_STD_IOSTREAM" = yes; then
4255 echo "$ac_t""yes" 1>&6
4257 echo "$ac_t""no" 1>&6
4261 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4262 echo "configure:4263: checking for --enable-filesystem" >&5
4264 # Check whether --enable-filesystem or --disable-filesystem was given.
4265 if test "${enable_filesystem+set}" = set; then
4266 enableval
="$enable_filesystem"
4268 if test "$enableval" = yes; then
4269 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4271 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4276 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4277 if test "x$LINE" != x
; then
4278 eval "DEFAULT_$LINE"
4283 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4288 eval "$ac_cv_use_filesystem"
4289 if test "$no_cache" != 1; then
4290 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4293 if test "$wxUSE_FILESYSTEM" = yes; then
4294 echo "$ac_t""yes" 1>&6
4296 echo "$ac_t""no" 1>&6
4300 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4301 echo "configure:4302: checking for --enable-fs_inet" >&5
4303 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4304 if test "${enable_fs_inet+set}" = set; then
4305 enableval
="$enable_fs_inet"
4307 if test "$enableval" = yes; then
4308 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4310 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4315 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4316 if test "x$LINE" != x
; then
4317 eval "DEFAULT_$LINE"
4322 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4327 eval "$ac_cv_use_fs_inet"
4328 if test "$no_cache" != 1; then
4329 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4332 if test "$wxUSE_FS_INET" = yes; then
4333 echo "$ac_t""yes" 1>&6
4335 echo "$ac_t""no" 1>&6
4339 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4340 echo "configure:4341: checking for --enable-fs_zip" >&5
4342 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4343 if test "${enable_fs_zip+set}" = set; then
4344 enableval
="$enable_fs_zip"
4346 if test "$enableval" = yes; then
4347 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4349 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4354 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4355 if test "x$LINE" != x
; then
4356 eval "DEFAULT_$LINE"
4361 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4366 eval "$ac_cv_use_fs_zip"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4371 if test "$wxUSE_FS_ZIP" = yes; then
4372 echo "$ac_t""yes" 1>&6
4374 echo "$ac_t""no" 1>&6
4378 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4379 echo "configure:4380: checking for --enable-zipstream" >&5
4381 # Check whether --enable-zipstream or --disable-zipstream was given.
4382 if test "${enable_zipstream+set}" = set; then
4383 enableval
="$enable_zipstream"
4385 if test "$enableval" = yes; then
4386 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4388 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4393 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x
; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4405 eval "$ac_cv_use_zipstream"
4406 if test "$no_cache" != 1; then
4407 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4410 if test "$wxUSE_ZIPSTREAM" = yes; then
4411 echo "$ac_t""yes" 1>&6
4413 echo "$ac_t""no" 1>&6
4418 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4419 echo "configure:4420: checking for --enable-catch_segvs" >&5
4421 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4422 if test "${enable_catch_segvs+set}" = set; then
4423 enableval
="$enable_catch_segvs"
4425 if test "$enableval" = yes; then
4426 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4428 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4433 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x
; then
4435 eval "DEFAULT_$LINE"
4440 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4445 eval "$ac_cv_use_catch_segvs"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4450 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4451 echo "$ac_t""yes" 1>&6
4453 echo "$ac_t""no" 1>&6
4457 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4458 echo "configure:4459: checking for --enable-snglinst" >&5
4460 # Check whether --enable-snglinst or --disable-snglinst was given.
4461 if test "${enable_snglinst+set}" = set; then
4462 enableval
="$enable_snglinst"
4464 if test "$enableval" = yes; then
4465 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4467 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4472 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4473 if test "x$LINE" != x
; then
4474 eval "DEFAULT_$LINE"
4479 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4484 eval "$ac_cv_use_snglinst"
4485 if test "$no_cache" != 1; then
4486 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4489 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4490 echo "$ac_t""yes" 1>&6
4492 echo "$ac_t""no" 1>&6
4497 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4498 echo "configure:4499: checking for --enable-mimetype" >&5
4500 # Check whether --enable-mimetype or --disable-mimetype was given.
4501 if test "${enable_mimetype+set}" = set; then
4502 enableval
="$enable_mimetype"
4504 if test "$enableval" = yes; then
4505 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4507 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4512 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4513 if test "x$LINE" != x
; then
4514 eval "DEFAULT_$LINE"
4519 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4524 eval "$ac_cv_use_mimetype"
4525 if test "$no_cache" != 1; then
4526 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4529 if test "$wxUSE_MIMETYPE" = yes; then
4530 echo "$ac_t""yes" 1>&6
4532 echo "$ac_t""no" 1>&6
4536 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4537 echo "configure:4538: checking for --enable-system_options" >&5
4539 # Check whether --enable-system_options or --disable-system_options was given.
4540 if test "${enable_system_options+set}" = set; then
4541 enableval
="$enable_system_options"
4543 if test "$enableval" = yes; then
4544 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4546 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4551 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x
; then
4553 eval "DEFAULT_$LINE"
4558 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4563 eval "$ac_cv_use_system_options"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4568 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4569 echo "$ac_t""yes" 1>&6
4571 echo "$ac_t""no" 1>&6
4576 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4577 echo "configure:4578: checking for --enable-url" >&5
4579 # Check whether --enable-url or --disable-url was given.
4580 if test "${enable_url+set}" = set; then
4581 enableval
="$enable_url"
4583 if test "$enableval" = yes; then
4584 ac_cv_use_url
='wxUSE_URL=yes'
4586 ac_cv_use_url
='wxUSE_URL=no'
4591 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x
; then
4593 eval "DEFAULT_$LINE"
4598 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4603 eval "$ac_cv_use_url"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4608 if test "$wxUSE_URL" = yes; then
4609 echo "$ac_t""yes" 1>&6
4611 echo "$ac_t""no" 1>&6
4615 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4616 echo "configure:4617: checking for --enable-protocol" >&5
4618 # Check whether --enable-protocol or --disable-protocol was given.
4619 if test "${enable_protocol+set}" = set; then
4620 enableval
="$enable_protocol"
4622 if test "$enableval" = yes; then
4623 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4625 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4630 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x
; then
4632 eval "DEFAULT_$LINE"
4637 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4642 eval "$ac_cv_use_protocol"
4643 if test "$no_cache" != 1; then
4644 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4647 if test "$wxUSE_PROTOCOL" = yes; then
4648 echo "$ac_t""yes" 1>&6
4650 echo "$ac_t""no" 1>&6
4654 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4655 echo "configure:4656: checking for --enable-protocol_http" >&5
4657 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4658 if test "${enable_protocol_http+set}" = set; then
4659 enableval
="$enable_protocol_http"
4661 if test "$enableval" = yes; then
4662 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4664 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4669 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x
; then
4671 eval "DEFAULT_$LINE"
4676 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4681 eval "$ac_cv_use_protocol_http"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4686 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4687 echo "$ac_t""yes" 1>&6
4689 echo "$ac_t""no" 1>&6
4693 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4694 echo "configure:4695: checking for --enable-protocol_ftp" >&5
4696 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4697 if test "${enable_protocol_ftp+set}" = set; then
4698 enableval
="$enable_protocol_ftp"
4700 if test "$enableval" = yes; then
4701 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4703 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4708 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4709 if test "x$LINE" != x
; then
4710 eval "DEFAULT_$LINE"
4715 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4720 eval "$ac_cv_use_protocol_ftp"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4725 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4726 echo "$ac_t""yes" 1>&6
4728 echo "$ac_t""no" 1>&6
4732 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4733 echo "configure:4734: checking for --enable-protocol_file" >&5
4735 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4736 if test "${enable_protocol_file+set}" = set; then
4737 enableval
="$enable_protocol_file"
4739 if test "$enableval" = yes; then
4740 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4742 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4747 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4748 if test "x$LINE" != x
; then
4749 eval "DEFAULT_$LINE"
4754 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4759 eval "$ac_cv_use_protocol_file"
4760 if test "$no_cache" != 1; then
4761 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4764 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4765 echo "$ac_t""yes" 1>&6
4767 echo "$ac_t""no" 1>&6
4774 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4775 echo "configure:4776: checking for --enable-threads" >&5
4777 # Check whether --enable-threads or --disable-threads was given.
4778 if test "${enable_threads+set}" = set; then
4779 enableval
="$enable_threads"
4781 if test "$enableval" = yes; then
4782 ac_cv_use_threads
='wxUSE_THREADS=yes'
4784 ac_cv_use_threads
='wxUSE_THREADS=no'
4789 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4790 if test "x$LINE" != x
; then
4791 eval "DEFAULT_$LINE"
4796 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4801 eval "$ac_cv_use_threads"
4802 if test "$no_cache" != 1; then
4803 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4806 if test "$wxUSE_THREADS" = yes; then
4807 echo "$ac_t""yes" 1>&6
4809 echo "$ac_t""no" 1>&6
4813 if test "$wxUSE_GUI" = "yes"; then
4817 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4818 echo "configure:4819: checking for --enable-docview" >&5
4820 # Check whether --enable-docview or --disable-docview was given.
4821 if test "${enable_docview+set}" = set; then
4822 enableval
="$enable_docview"
4824 if test "$enableval" = yes; then
4825 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4827 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4832 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x
; then
4834 eval "DEFAULT_$LINE"
4839 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4844 eval "$ac_cv_use_docview"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4849 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4850 echo "$ac_t""yes" 1>&6
4852 echo "$ac_t""no" 1>&6
4856 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4857 echo "configure:4858: checking for --enable-help" >&5
4859 # Check whether --enable-help or --disable-help was given.
4860 if test "${enable_help+set}" = set; then
4861 enableval
="$enable_help"
4863 if test "$enableval" = yes; then
4864 ac_cv_use_help
='wxUSE_HELP=yes'
4866 ac_cv_use_help
='wxUSE_HELP=no'
4871 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x
; then
4873 eval "DEFAULT_$LINE"
4878 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4883 eval "$ac_cv_use_help"
4884 if test "$no_cache" != 1; then
4885 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4888 if test "$wxUSE_HELP" = yes; then
4889 echo "$ac_t""yes" 1>&6
4891 echo "$ac_t""no" 1>&6
4895 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4896 echo "configure:4897: checking for --enable-mshtmlhelp" >&5
4898 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4899 if test "${enable_mshtmlhelp+set}" = set; then
4900 enableval
="$enable_mshtmlhelp"
4902 if test "$enableval" = yes; then
4903 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4905 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4910 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x
; then
4912 eval "DEFAULT_$LINE"
4917 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4922 eval "$ac_cv_use_mshtmlhelp"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4927 if test "$wxUSE_MS_HTML_HELP" = yes; then
4928 echo "$ac_t""yes" 1>&6
4930 echo "$ac_t""no" 1>&6
4934 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4935 echo "configure:4936: checking for --enable-html" >&5
4937 # Check whether --enable-html or --disable-html was given.
4938 if test "${enable_html+set}" = set; then
4939 enableval
="$enable_html"
4941 if test "$enableval" = yes; then
4942 ac_cv_use_html
='wxUSE_HTML=yes'
4944 ac_cv_use_html
='wxUSE_HTML=no'
4949 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4950 if test "x$LINE" != x
; then
4951 eval "DEFAULT_$LINE"
4956 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4961 eval "$ac_cv_use_html"
4962 if test "$no_cache" != 1; then
4963 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4966 if test "$wxUSE_HTML" = yes; then
4967 echo "$ac_t""yes" 1>&6
4969 echo "$ac_t""no" 1>&6
4973 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4974 echo "configure:4975: checking for --enable-htmlhelp" >&5
4976 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4977 if test "${enable_htmlhelp+set}" = set; then
4978 enableval
="$enable_htmlhelp"
4980 if test "$enableval" = yes; then
4981 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4983 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4988 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4989 if test "x$LINE" != x
; then
4990 eval "DEFAULT_$LINE"
4995 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5000 eval "$ac_cv_use_htmlhelp"
5001 if test "$no_cache" != 1; then
5002 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5005 if test "$wxUSE_WXHTML_HELP" = yes; then
5006 echo "$ac_t""yes" 1>&6
5008 echo "$ac_t""no" 1>&6
5012 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5013 echo "configure:5014: checking for --enable-constraints" >&5
5015 # Check whether --enable-constraints or --disable-constraints was given.
5016 if test "${enable_constraints+set}" = set; then
5017 enableval
="$enable_constraints"
5019 if test "$enableval" = yes; then
5020 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5022 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5027 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5028 if test "x$LINE" != x
; then
5029 eval "DEFAULT_$LINE"
5034 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5039 eval "$ac_cv_use_constraints"
5040 if test "$no_cache" != 1; then
5041 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5044 if test "$wxUSE_CONSTRAINTS" = yes; then
5045 echo "$ac_t""yes" 1>&6
5047 echo "$ac_t""no" 1>&6
5051 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5052 echo "configure:5053: checking for --enable-printarch" >&5
5054 # Check whether --enable-printarch or --disable-printarch was given.
5055 if test "${enable_printarch+set}" = set; then
5056 enableval
="$enable_printarch"
5058 if test "$enableval" = yes; then
5059 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5061 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5066 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x
; then
5068 eval "DEFAULT_$LINE"
5073 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5078 eval "$ac_cv_use_printarch"
5079 if test "$no_cache" != 1; then
5080 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5083 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5084 echo "$ac_t""yes" 1>&6
5086 echo "$ac_t""no" 1>&6
5090 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5091 echo "configure:5092: checking for --enable-mdi" >&5
5093 # Check whether --enable-mdi or --disable-mdi was given.
5094 if test "${enable_mdi+set}" = set; then
5095 enableval
="$enable_mdi"
5097 if test "$enableval" = yes; then
5098 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5100 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5105 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5106 if test "x$LINE" != x
; then
5107 eval "DEFAULT_$LINE"
5112 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5117 eval "$ac_cv_use_mdi"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5122 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5123 echo "$ac_t""yes" 1>&6
5125 echo "$ac_t""no" 1>&6
5129 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5130 echo "configure:5131: checking for --enable-loggui" >&5
5132 # Check whether --enable-loggui or --disable-loggui was given.
5133 if test "${enable_loggui+set}" = set; then
5134 enableval
="$enable_loggui"
5136 if test "$enableval" = yes; then
5137 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5139 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5144 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x
; then
5146 eval "DEFAULT_$LINE"
5151 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5156 eval "$ac_cv_use_loggui"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5161 if test "$wxUSE_LOGGUI" = yes; then
5162 echo "$ac_t""yes" 1>&6
5164 echo "$ac_t""no" 1>&6
5168 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5169 echo "configure:5170: checking for --enable-logwin" >&5
5171 # Check whether --enable-logwin or --disable-logwin was given.
5172 if test "${enable_logwin+set}" = set; then
5173 enableval
="$enable_logwin"
5175 if test "$enableval" = yes; then
5176 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5178 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5183 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5184 if test "x$LINE" != x
; then
5185 eval "DEFAULT_$LINE"
5190 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5195 eval "$ac_cv_use_logwin"
5196 if test "$no_cache" != 1; then
5197 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5200 if test "$wxUSE_LOGWINDOW" = yes; then
5201 echo "$ac_t""yes" 1>&6
5203 echo "$ac_t""no" 1>&6
5207 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5208 echo "configure:5209: checking for --enable-logdialog" >&5
5210 # Check whether --enable-logdialog or --disable-logdialog was given.
5211 if test "${enable_logdialog+set}" = set; then
5212 enableval
="$enable_logdialog"
5214 if test "$enableval" = yes; then
5215 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5217 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5222 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5223 if test "x$LINE" != x
; then
5224 eval "DEFAULT_$LINE"
5229 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5234 eval "$ac_cv_use_logdialog"
5235 if test "$no_cache" != 1; then
5236 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5239 if test "$wxUSE_LOGDIALOG" = yes; then
5240 echo "$ac_t""yes" 1>&6
5242 echo "$ac_t""no" 1>&6
5247 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5248 echo "configure:5249: checking for --enable-postscript" >&5
5250 # Check whether --enable-postscript or --disable-postscript was given.
5251 if test "${enable_postscript+set}" = set; then
5252 enableval
="$enable_postscript"
5254 if test "$enableval" = yes; then
5255 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5257 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5262 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x
; then
5264 eval "DEFAULT_$LINE"
5269 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5274 eval "$ac_cv_use_postscript"
5275 if test "$no_cache" != 1; then
5276 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5279 if test "$wxUSE_POSTSCRIPT" = yes; then
5280 echo "$ac_t""yes" 1>&6
5282 echo "$ac_t""no" 1>&6
5289 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5290 echo "configure:5291: checking for --enable-prologio" >&5
5292 # Check whether --enable-prologio or --disable-prologio was given.
5293 if test "${enable_prologio+set}" = set; then
5294 enableval
="$enable_prologio"
5296 if test "$enableval" = yes; then
5297 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5299 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5304 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5305 if test "x$LINE" != x
; then
5306 eval "DEFAULT_$LINE"
5311 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5316 eval "$ac_cv_use_prologio"
5317 if test "$no_cache" != 1; then
5318 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5321 if test "$wxUSE_PROLOGIO" = yes; then
5322 echo "$ac_t""yes" 1>&6
5324 echo "$ac_t""no" 1>&6
5328 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5329 echo "configure:5330: checking for --enable-resources" >&5
5331 # Check whether --enable-resources or --disable-resources was given.
5332 if test "${enable_resources+set}" = set; then
5333 enableval
="$enable_resources"
5335 if test "$enableval" = yes; then
5336 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5338 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5343 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5344 if test "x$LINE" != x
; then
5345 eval "DEFAULT_$LINE"
5350 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5355 eval "$ac_cv_use_resources"
5356 if test "$no_cache" != 1; then
5357 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5360 if test "$wxUSE_RESOURCES" = yes; then
5361 echo "$ac_t""yes" 1>&6
5363 echo "$ac_t""no" 1>&6
5368 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5369 echo "configure:5370: checking for --enable-xresources" >&5
5371 # Check whether --enable-xresources or --disable-xresources was given.
5372 if test "${enable_xresources+set}" = set; then
5373 enableval
="$enable_xresources"
5375 if test "$enableval" = yes; then
5376 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5378 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5383 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5384 if test "x$LINE" != x
; then
5385 eval "DEFAULT_$LINE"
5390 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5395 eval "$ac_cv_use_xresources"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5400 if test "$wxUSE_X_RESOURCES" = yes; then
5401 echo "$ac_t""yes" 1>&6
5403 echo "$ac_t""no" 1>&6
5409 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5410 echo "configure:5411: checking for --enable-clipboard" >&5
5412 # Check whether --enable-clipboard or --disable-clipboard was given.
5413 if test "${enable_clipboard+set}" = set; then
5414 enableval
="$enable_clipboard"
5416 if test "$enableval" = yes; then
5417 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5419 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5424 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5425 if test "x$LINE" != x
; then
5426 eval "DEFAULT_$LINE"
5431 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5436 eval "$ac_cv_use_clipboard"
5437 if test "$no_cache" != 1; then
5438 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5441 if test "$wxUSE_CLIPBOARD" = yes; then
5442 echo "$ac_t""yes" 1>&6
5444 echo "$ac_t""no" 1>&6
5448 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5449 echo "configure:5450: checking for --enable-dnd" >&5
5451 # Check whether --enable-dnd or --disable-dnd was given.
5452 if test "${enable_dnd+set}" = set; then
5453 enableval
="$enable_dnd"
5455 if test "$enableval" = yes; then
5456 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5458 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5463 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5464 if test "x$LINE" != x
; then
5465 eval "DEFAULT_$LINE"
5470 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5475 eval "$ac_cv_use_dnd"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5480 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5481 echo "$ac_t""yes" 1>&6
5483 echo "$ac_t""no" 1>&6
5487 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5488 echo "configure:5489: checking for --enable-metafile" >&5
5490 # Check whether --enable-metafile or --disable-metafile was given.
5491 if test "${enable_metafile+set}" = set; then
5492 enableval
="$enable_metafile"
5494 if test "$enableval" = yes; then
5495 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5497 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5502 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x
; then
5504 eval "DEFAULT_$LINE"
5509 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5514 eval "$ac_cv_use_metafile"
5515 if test "$no_cache" != 1; then
5516 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5519 if test "$wxUSE_METAFILE" = yes; then
5520 echo "$ac_t""yes" 1>&6
5522 echo "$ac_t""no" 1>&6
5527 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5528 echo "configure:5529: checking for --enable-treelayout" >&5
5530 # Check whether --enable-treelayout or --disable-treelayout was given.
5531 if test "${enable_treelayout+set}" = set; then
5532 enableval
="$enable_treelayout"
5534 if test "$enableval" = yes; then
5535 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5537 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5542 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5543 if test "x$LINE" != x
; then
5544 eval "DEFAULT_$LINE"
5549 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5554 eval "$ac_cv_use_treelayout"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5559 if test "$wxUSE_TREELAYOUT" = yes; then
5560 echo "$ac_t""yes" 1>&6
5562 echo "$ac_t""no" 1>&6
5568 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5569 echo "configure:5570: checking for --enable-controls" >&5
5571 # Check whether --enable-controls or --disable-controls was given.
5572 if test "${enable_controls+set}" = set; then
5573 enableval
="$enable_controls"
5575 if test "$enableval" = yes; then
5576 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5578 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5583 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5584 if test "x$LINE" != x
; then
5585 eval "DEFAULT_$LINE"
5590 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5595 eval "$ac_cv_use_controls"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5600 if test "$wxUSE_CONTROLS" = yes; then
5601 echo "$ac_t""yes" 1>&6
5603 echo "$ac_t""no" 1>&6
5607 if test "$wxUSE_CONTROLS" = "yes"; then
5608 DEFAULT_wxUSE_ACCEL
=yes
5609 DEFAULT_wxUSE_BMPBUTTON
=yes
5610 DEFAULT_wxUSE_BUTTON
=yes
5611 DEFAULT_wxUSE_CALCTRL
=no
5612 DEFAULT_wxUSE_CARET
=yes
5613 DEFAULT_wxUSE_COMBOBOX
=yes
5614 DEFAULT_wxUSE_CHECKBOX
=yes
5615 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5616 DEFAULT_wxUSE_CHOICE
=yes
5617 DEFAULT_wxUSE_GAUGE
=yes
5618 DEFAULT_wxUSE_GRID
=yes
5619 DEFAULT_wxUSE_NEW_GRID
=yes
5620 DEFAULT_wxUSE_IMAGLIST
=yes
5621 DEFAULT_wxUSE_LISTBOX
=yes
5622 DEFAULT_wxUSE_LISTCTRL
=yes
5623 DEFAULT_wxUSE_NOTEBOOK
=yes
5624 DEFAULT_wxUSE_PROPSHEET
=yes
5625 DEFAULT_wxUSE_RADIOBOX
=yes
5626 DEFAULT_wxUSE_RADIOBTN
=yes
5627 DEFAULT_wxUSE_SASH
=yes
5628 DEFAULT_wxUSE_SCROLLBAR
=yes
5629 DEFAULT_wxUSE_SLIDER
=yes
5630 DEFAULT_wxUSE_SPINBTN
=yes
5631 DEFAULT_wxUSE_SPINCTRL
=yes
5632 DEFAULT_wxUSE_SPLITTER
=yes
5633 DEFAULT_wxUSE_STATBMP
=yes
5634 DEFAULT_wxUSE_STATBOX
=yes
5635 DEFAULT_wxUSE_STATLINE
=yes
5636 DEFAULT_wxUSE_STATUSBAR
=yes
5637 DEFAULT_wxUSE_TAB_DIALOG
=yes
5638 DEFAULT_wxUSE_TOGGLEBTN
=yes
5639 DEFAULT_wxUSE_TOOLBAR
=yes
5640 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5641 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5642 DEFAULT_wxUSE_TOOLTIPS
=yes
5643 DEFAULT_wxUSE_TREECTRL
=yes
5644 DEFAULT_wxUSE_POPUPWIN
=yes
5645 DEFAULT_wxUSE_TIPWINDOW
=yes
5646 elif test "$wxUSE_CONTROLS" = "no"; then
5647 DEFAULT_wxUSE_ACCEL
=no
5648 DEFAULT_wxUSE_BMPBUTTON
=no
5649 DEFAULT_wxUSE_BUTTON
=no
5650 DEFAULT_wxUSE_CALCTRL
=no
5651 DEFAULT_wxUSE_CARET
=no
5652 DEFAULT_wxUSE_COMBOBOX
=no
5653 DEFAULT_wxUSE_CHECKBOX
=no
5654 DEFAULT_wxUSE_CHECKLISTBOX
=no
5655 DEFAULT_wxUSE_CHOICE
=no
5656 DEFAULT_wxUSE_GAUGE
=no
5657 DEFAULT_wxUSE_GRID
=no
5658 DEFAULT_wxUSE_NEW_GRID
=no
5659 DEFAULT_wxUSE_IMAGLIST
=no
5660 DEFAULT_wxUSE_LISTBOX
=no
5661 DEFAULT_wxUSE_LISTCTRL
=no
5662 DEFAULT_wxUSE_NOTEBOOK
=no
5663 DEFAULT_wxUSE_PROPSHEET
=no
5664 DEFAULT_wxUSE_RADIOBOX
=no
5665 DEFAULT_wxUSE_RADIOBTN
=no
5666 DEFAULT_wxUSE_SASH
=no
5667 DEFAULT_wxUSE_SCROLLBAR
=no
5668 DEFAULT_wxUSE_SLIDER
=no
5669 DEFAULT_wxUSE_SPINBTN
=no
5670 DEFAULT_wxUSE_SPINCTRL
=no
5671 DEFAULT_wxUSE_SPLITTER
=no
5672 DEFAULT_wxUSE_STATBMP
=no
5673 DEFAULT_wxUSE_STATBOX
=no
5674 DEFAULT_wxUSE_STATLINE
=no
5675 DEFAULT_wxUSE_STATUSBAR
=no
5676 DEFAULT_wxUSE_TAB_DIALOG
=no
5677 DEFAULT_wxUSE_TOGGLEBTN
=no
5678 DEFAULT_wxUSE_TOOLBAR
=no
5679 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5680 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5681 DEFAULT_wxUSE_TOOLTIPS
=no
5682 DEFAULT_wxUSE_TREECTRL
=no
5683 DEFAULT_wxUSE_POPUPWIN
=no
5684 DEFAULT_wxUSE_TIPWINDOW
=no
5688 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5689 echo "configure:5690: checking for --enable-accel" >&5
5691 # Check whether --enable-accel or --disable-accel was given.
5692 if test "${enable_accel+set}" = set; then
5693 enableval
="$enable_accel"
5695 if test "$enableval" = yes; then
5696 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5698 ac_cv_use_accel
='wxUSE_ACCEL=no'
5703 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5704 if test "x$LINE" != x
; then
5705 eval "DEFAULT_$LINE"
5710 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5715 eval "$ac_cv_use_accel"
5716 if test "$no_cache" != 1; then
5717 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5720 if test "$wxUSE_ACCEL" = yes; then
5721 echo "$ac_t""yes" 1>&6
5723 echo "$ac_t""no" 1>&6
5727 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5728 echo "configure:5729: checking for --enable-button" >&5
5730 # Check whether --enable-button or --disable-button was given.
5731 if test "${enable_button+set}" = set; then
5732 enableval
="$enable_button"
5734 if test "$enableval" = yes; then
5735 ac_cv_use_button
='wxUSE_BUTTON=yes'
5737 ac_cv_use_button
='wxUSE_BUTTON=no'
5742 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5743 if test "x$LINE" != x
; then
5744 eval "DEFAULT_$LINE"
5749 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5754 eval "$ac_cv_use_button"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5759 if test "$wxUSE_BUTTON" = yes; then
5760 echo "$ac_t""yes" 1>&6
5762 echo "$ac_t""no" 1>&6
5766 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5767 echo "configure:5768: checking for --enable-bmpbutton" >&5
5769 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5770 if test "${enable_bmpbutton+set}" = set; then
5771 enableval
="$enable_bmpbutton"
5773 if test "$enableval" = yes; then
5774 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5776 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5781 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5782 if test "x$LINE" != x
; then
5783 eval "DEFAULT_$LINE"
5788 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5793 eval "$ac_cv_use_bmpbutton"
5794 if test "$no_cache" != 1; then
5795 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5798 if test "$wxUSE_BMPBUTTON" = yes; then
5799 echo "$ac_t""yes" 1>&6
5801 echo "$ac_t""no" 1>&6
5805 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5806 echo "configure:5807: checking for --enable-calendar" >&5
5808 # Check whether --enable-calendar or --disable-calendar was given.
5809 if test "${enable_calendar+set}" = set; then
5810 enableval
="$enable_calendar"
5812 if test "$enableval" = yes; then
5813 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5815 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5820 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5821 if test "x$LINE" != x
; then
5822 eval "DEFAULT_$LINE"
5827 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5832 eval "$ac_cv_use_calendar"
5833 if test "$no_cache" != 1; then
5834 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5837 if test "$wxUSE_CALCTRL" = yes; then
5838 echo "$ac_t""yes" 1>&6
5840 echo "$ac_t""no" 1>&6
5844 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5845 echo "configure:5846: checking for --enable-caret" >&5
5847 # Check whether --enable-caret or --disable-caret was given.
5848 if test "${enable_caret+set}" = set; then
5849 enableval
="$enable_caret"
5851 if test "$enableval" = yes; then
5852 ac_cv_use_caret
='wxUSE_CARET=yes'
5854 ac_cv_use_caret
='wxUSE_CARET=no'
5859 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x
; then
5861 eval "DEFAULT_$LINE"
5866 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5871 eval "$ac_cv_use_caret"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5876 if test "$wxUSE_CARET" = yes; then
5877 echo "$ac_t""yes" 1>&6
5879 echo "$ac_t""no" 1>&6
5883 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5884 echo "configure:5885: checking for --enable-checkbox" >&5
5886 # Check whether --enable-checkbox or --disable-checkbox was given.
5887 if test "${enable_checkbox+set}" = set; then
5888 enableval
="$enable_checkbox"
5890 if test "$enableval" = yes; then
5891 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5893 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5898 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5899 if test "x$LINE" != x
; then
5900 eval "DEFAULT_$LINE"
5905 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5910 eval "$ac_cv_use_checkbox"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5915 if test "$wxUSE_CHECKBOX" = yes; then
5916 echo "$ac_t""yes" 1>&6
5918 echo "$ac_t""no" 1>&6
5922 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5923 echo "configure:5924: checking for --enable-checklst" >&5
5925 # Check whether --enable-checklst or --disable-checklst was given.
5926 if test "${enable_checklst+set}" = set; then
5927 enableval
="$enable_checklst"
5929 if test "$enableval" = yes; then
5930 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5932 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5937 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x
; then
5939 eval "DEFAULT_$LINE"
5944 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5949 eval "$ac_cv_use_checklst"
5950 if test "$no_cache" != 1; then
5951 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5954 if test "$wxUSE_CHECKLST" = yes; then
5955 echo "$ac_t""yes" 1>&6
5957 echo "$ac_t""no" 1>&6
5961 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5962 echo "configure:5963: checking for --enable-choice" >&5
5964 # Check whether --enable-choice or --disable-choice was given.
5965 if test "${enable_choice+set}" = set; then
5966 enableval
="$enable_choice"
5968 if test "$enableval" = yes; then
5969 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5971 ac_cv_use_choice
='wxUSE_CHOICE=no'
5976 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5977 if test "x$LINE" != x
; then
5978 eval "DEFAULT_$LINE"
5983 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5988 eval "$ac_cv_use_choice"
5989 if test "$no_cache" != 1; then
5990 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5993 if test "$wxUSE_CHOICE" = yes; then
5994 echo "$ac_t""yes" 1>&6
5996 echo "$ac_t""no" 1>&6
6000 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6001 echo "configure:6002: checking for --enable-combobox" >&5
6003 # Check whether --enable-combobox or --disable-combobox was given.
6004 if test "${enable_combobox+set}" = set; then
6005 enableval
="$enable_combobox"
6007 if test "$enableval" = yes; then
6008 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6010 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6015 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6016 if test "x$LINE" != x
; then
6017 eval "DEFAULT_$LINE"
6022 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6027 eval "$ac_cv_use_combobox"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6032 if test "$wxUSE_COMBOBOX" = yes; then
6033 echo "$ac_t""yes" 1>&6
6035 echo "$ac_t""no" 1>&6
6039 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6040 echo "configure:6041: checking for --enable-gauge" >&5
6042 # Check whether --enable-gauge or --disable-gauge was given.
6043 if test "${enable_gauge+set}" = set; then
6044 enableval
="$enable_gauge"
6046 if test "$enableval" = yes; then
6047 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6049 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6054 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6055 if test "x$LINE" != x
; then
6056 eval "DEFAULT_$LINE"
6061 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6066 eval "$ac_cv_use_gauge"
6067 if test "$no_cache" != 1; then
6068 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6071 if test "$wxUSE_GAUGE" = yes; then
6072 echo "$ac_t""yes" 1>&6
6074 echo "$ac_t""no" 1>&6
6078 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6079 echo "configure:6080: checking for --enable-grid" >&5
6081 # Check whether --enable-grid or --disable-grid was given.
6082 if test "${enable_grid+set}" = set; then
6083 enableval
="$enable_grid"
6085 if test "$enableval" = yes; then
6086 ac_cv_use_grid
='wxUSE_GRID=yes'
6088 ac_cv_use_grid
='wxUSE_GRID=no'
6093 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6094 if test "x$LINE" != x
; then
6095 eval "DEFAULT_$LINE"
6100 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6105 eval "$ac_cv_use_grid"
6106 if test "$no_cache" != 1; then
6107 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6110 if test "$wxUSE_GRID" = yes; then
6111 echo "$ac_t""yes" 1>&6
6113 echo "$ac_t""no" 1>&6
6117 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6118 echo "configure:6119: checking for --enable-newgrid" >&5
6120 # Check whether --enable-newgrid or --disable-newgrid was given.
6121 if test "${enable_newgrid+set}" = set; then
6122 enableval
="$enable_newgrid"
6124 if test "$enableval" = yes; then
6125 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6127 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6132 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6133 if test "x$LINE" != x
; then
6134 eval "DEFAULT_$LINE"
6139 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6144 eval "$ac_cv_use_newgrid"
6145 if test "$no_cache" != 1; then
6146 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6149 if test "$wxUSE_NEW_GRID" = yes; then
6150 echo "$ac_t""yes" 1>&6
6152 echo "$ac_t""no" 1>&6
6156 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6157 echo "configure:6158: checking for --enable-imaglist" >&5
6159 # Check whether --enable-imaglist or --disable-imaglist was given.
6160 if test "${enable_imaglist+set}" = set; then
6161 enableval
="$enable_imaglist"
6163 if test "$enableval" = yes; then
6164 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6166 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6171 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6172 if test "x$LINE" != x
; then
6173 eval "DEFAULT_$LINE"
6178 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6183 eval "$ac_cv_use_imaglist"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6188 if test "$wxUSE_IMAGLIST" = yes; then
6189 echo "$ac_t""yes" 1>&6
6191 echo "$ac_t""no" 1>&6
6195 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6196 echo "configure:6197: checking for --enable-listbox" >&5
6198 # Check whether --enable-listbox or --disable-listbox was given.
6199 if test "${enable_listbox+set}" = set; then
6200 enableval
="$enable_listbox"
6202 if test "$enableval" = yes; then
6203 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6205 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6210 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6211 if test "x$LINE" != x
; then
6212 eval "DEFAULT_$LINE"
6217 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6222 eval "$ac_cv_use_listbox"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6227 if test "$wxUSE_LISTBOX" = yes; then
6228 echo "$ac_t""yes" 1>&6
6230 echo "$ac_t""no" 1>&6
6234 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6235 echo "configure:6236: checking for --enable-listctrl" >&5
6237 # Check whether --enable-listctrl or --disable-listctrl was given.
6238 if test "${enable_listctrl+set}" = set; then
6239 enableval
="$enable_listctrl"
6241 if test "$enableval" = yes; then
6242 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6244 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6249 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x
; then
6251 eval "DEFAULT_$LINE"
6256 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6261 eval "$ac_cv_use_listctrl"
6262 if test "$no_cache" != 1; then
6263 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6266 if test "$wxUSE_LISTCTRL" = yes; then
6267 echo "$ac_t""yes" 1>&6
6269 echo "$ac_t""no" 1>&6
6273 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6274 echo "configure:6275: checking for --enable-notebook" >&5
6276 # Check whether --enable-notebook or --disable-notebook was given.
6277 if test "${enable_notebook+set}" = set; then
6278 enableval
="$enable_notebook"
6280 if test "$enableval" = yes; then
6281 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6283 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6288 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6289 if test "x$LINE" != x
; then
6290 eval "DEFAULT_$LINE"
6295 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6300 eval "$ac_cv_use_notebook"
6301 if test "$no_cache" != 1; then
6302 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6305 if test "$wxUSE_NOTEBOOK" = yes; then
6306 echo "$ac_t""yes" 1>&6
6308 echo "$ac_t""no" 1>&6
6312 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6313 echo "configure:6314: checking for --enable-propsheet" >&5
6315 # Check whether --enable-propsheet or --disable-propsheet was given.
6316 if test "${enable_propsheet+set}" = set; then
6317 enableval
="$enable_propsheet"
6319 if test "$enableval" = yes; then
6320 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6322 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6327 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6328 if test "x$LINE" != x
; then
6329 eval "DEFAULT_$LINE"
6334 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6339 eval "$ac_cv_use_propsheet"
6340 if test "$no_cache" != 1; then
6341 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6344 if test "$wxUSE_PROPSHEET" = yes; then
6345 echo "$ac_t""yes" 1>&6
6347 echo "$ac_t""no" 1>&6
6351 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6352 echo "configure:6353: checking for --enable-radiobox" >&5
6354 # Check whether --enable-radiobox or --disable-radiobox was given.
6355 if test "${enable_radiobox+set}" = set; then
6356 enableval
="$enable_radiobox"
6358 if test "$enableval" = yes; then
6359 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6361 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6366 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6367 if test "x$LINE" != x
; then
6368 eval "DEFAULT_$LINE"
6373 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6378 eval "$ac_cv_use_radiobox"
6379 if test "$no_cache" != 1; then
6380 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6383 if test "$wxUSE_RADIOBOX" = yes; then
6384 echo "$ac_t""yes" 1>&6
6386 echo "$ac_t""no" 1>&6
6390 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6391 echo "configure:6392: checking for --enable-radiobtn" >&5
6393 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6394 if test "${enable_radiobtn+set}" = set; then
6395 enableval
="$enable_radiobtn"
6397 if test "$enableval" = yes; then
6398 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6400 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6405 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6406 if test "x$LINE" != x
; then
6407 eval "DEFAULT_$LINE"
6412 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6417 eval "$ac_cv_use_radiobtn"
6418 if test "$no_cache" != 1; then
6419 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6422 if test "$wxUSE_RADIOBTN" = yes; then
6423 echo "$ac_t""yes" 1>&6
6425 echo "$ac_t""no" 1>&6
6429 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6430 echo "configure:6431: checking for --enable-sash" >&5
6432 # Check whether --enable-sash or --disable-sash was given.
6433 if test "${enable_sash+set}" = set; then
6434 enableval
="$enable_sash"
6436 if test "$enableval" = yes; then
6437 ac_cv_use_sash
='wxUSE_SASH=yes'
6439 ac_cv_use_sash
='wxUSE_SASH=no'
6444 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x
; then
6446 eval "DEFAULT_$LINE"
6451 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6456 eval "$ac_cv_use_sash"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6461 if test "$wxUSE_SASH" = yes; then
6462 echo "$ac_t""yes" 1>&6
6464 echo "$ac_t""no" 1>&6
6468 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6469 echo "configure:6470: checking for --enable-scrollbar" >&5
6471 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6472 if test "${enable_scrollbar+set}" = set; then
6473 enableval
="$enable_scrollbar"
6475 if test "$enableval" = yes; then
6476 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6478 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6483 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x
; then
6485 eval "DEFAULT_$LINE"
6490 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6495 eval "$ac_cv_use_scrollbar"
6496 if test "$no_cache" != 1; then
6497 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6500 if test "$wxUSE_SCROLLBAR" = yes; then
6501 echo "$ac_t""yes" 1>&6
6503 echo "$ac_t""no" 1>&6
6507 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6508 echo "configure:6509: checking for --enable-slider" >&5
6510 # Check whether --enable-slider or --disable-slider was given.
6511 if test "${enable_slider+set}" = set; then
6512 enableval
="$enable_slider"
6514 if test "$enableval" = yes; then
6515 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6517 ac_cv_use_slider
='wxUSE_SLIDER=no'
6522 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x
; then
6524 eval "DEFAULT_$LINE"
6529 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6534 eval "$ac_cv_use_slider"
6535 if test "$no_cache" != 1; then
6536 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6539 if test "$wxUSE_SLIDER" = yes; then
6540 echo "$ac_t""yes" 1>&6
6542 echo "$ac_t""no" 1>&6
6546 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6547 echo "configure:6548: checking for --enable-spinbtn" >&5
6549 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6550 if test "${enable_spinbtn+set}" = set; then
6551 enableval
="$enable_spinbtn"
6553 if test "$enableval" = yes; then
6554 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6556 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6561 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6562 if test "x$LINE" != x
; then
6563 eval "DEFAULT_$LINE"
6568 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6573 eval "$ac_cv_use_spinbtn"
6574 if test "$no_cache" != 1; then
6575 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6578 if test "$wxUSE_SPINBTN" = yes; then
6579 echo "$ac_t""yes" 1>&6
6581 echo "$ac_t""no" 1>&6
6585 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6586 echo "configure:6587: checking for --enable-spinctrl" >&5
6588 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6589 if test "${enable_spinctrl+set}" = set; then
6590 enableval
="$enable_spinctrl"
6592 if test "$enableval" = yes; then
6593 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6595 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6600 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6601 if test "x$LINE" != x
; then
6602 eval "DEFAULT_$LINE"
6607 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6612 eval "$ac_cv_use_spinctrl"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6617 if test "$wxUSE_SPINCTRL" = yes; then
6618 echo "$ac_t""yes" 1>&6
6620 echo "$ac_t""no" 1>&6
6624 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6625 echo "configure:6626: checking for --enable-splitter" >&5
6627 # Check whether --enable-splitter or --disable-splitter was given.
6628 if test "${enable_splitter+set}" = set; then
6629 enableval
="$enable_splitter"
6631 if test "$enableval" = yes; then
6632 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6634 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6639 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x
; then
6641 eval "DEFAULT_$LINE"
6646 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6651 eval "$ac_cv_use_splitter"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6656 if test "$wxUSE_SPLITTER" = yes; then
6657 echo "$ac_t""yes" 1>&6
6659 echo "$ac_t""no" 1>&6
6663 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6664 echo "configure:6665: checking for --enable-statbmp" >&5
6666 # Check whether --enable-statbmp or --disable-statbmp was given.
6667 if test "${enable_statbmp+set}" = set; then
6668 enableval
="$enable_statbmp"
6670 if test "$enableval" = yes; then
6671 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6673 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6678 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6679 if test "x$LINE" != x
; then
6680 eval "DEFAULT_$LINE"
6685 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6690 eval "$ac_cv_use_statbmp"
6691 if test "$no_cache" != 1; then
6692 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6695 if test "$wxUSE_STATBMP" = yes; then
6696 echo "$ac_t""yes" 1>&6
6698 echo "$ac_t""no" 1>&6
6702 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6703 echo "configure:6704: checking for --enable-statbox" >&5
6705 # Check whether --enable-statbox or --disable-statbox was given.
6706 if test "${enable_statbox+set}" = set; then
6707 enableval
="$enable_statbox"
6709 if test "$enableval" = yes; then
6710 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6712 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6717 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6718 if test "x$LINE" != x
; then
6719 eval "DEFAULT_$LINE"
6724 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6729 eval "$ac_cv_use_statbox"
6730 if test "$no_cache" != 1; then
6731 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6734 if test "$wxUSE_STATBOX" = yes; then
6735 echo "$ac_t""yes" 1>&6
6737 echo "$ac_t""no" 1>&6
6741 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6742 echo "configure:6743: checking for --enable-statline" >&5
6744 # Check whether --enable-statline or --disable-statline was given.
6745 if test "${enable_statline+set}" = set; then
6746 enableval
="$enable_statline"
6748 if test "$enableval" = yes; then
6749 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6751 ac_cv_use_statline
='wxUSE_STATLINE=no'
6756 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6757 if test "x$LINE" != x
; then
6758 eval "DEFAULT_$LINE"
6763 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6768 eval "$ac_cv_use_statline"
6769 if test "$no_cache" != 1; then
6770 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6773 if test "$wxUSE_STATLINE" = yes; then
6774 echo "$ac_t""yes" 1>&6
6776 echo "$ac_t""no" 1>&6
6780 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6781 echo "configure:6782: checking for --enable-stattext" >&5
6783 # Check whether --enable-stattext or --disable-stattext was given.
6784 if test "${enable_stattext+set}" = set; then
6785 enableval
="$enable_stattext"
6787 if test "$enableval" = yes; then
6788 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6790 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6795 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6796 if test "x$LINE" != x
; then
6797 eval "DEFAULT_$LINE"
6802 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6807 eval "$ac_cv_use_stattext"
6808 if test "$no_cache" != 1; then
6809 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6812 if test "$wxUSE_STATTEXT" = yes; then
6813 echo "$ac_t""yes" 1>&6
6815 echo "$ac_t""no" 1>&6
6819 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6820 echo "configure:6821: checking for --enable-statusbar" >&5
6822 # Check whether --enable-statusbar or --disable-statusbar was given.
6823 if test "${enable_statusbar+set}" = set; then
6824 enableval
="$enable_statusbar"
6826 if test "$enableval" = yes; then
6827 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6829 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6834 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6835 if test "x$LINE" != x
; then
6836 eval "DEFAULT_$LINE"
6841 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6846 eval "$ac_cv_use_statusbar"
6847 if test "$no_cache" != 1; then
6848 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6851 if test "$wxUSE_STATUSBAR" = yes; then
6852 echo "$ac_t""yes" 1>&6
6854 echo "$ac_t""no" 1>&6
6858 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6859 echo "configure:6860: checking for --enable-tabdialog" >&5
6861 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6862 if test "${enable_tabdialog+set}" = set; then
6863 enableval
="$enable_tabdialog"
6865 if test "$enableval" = yes; then
6866 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6868 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6873 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6874 if test "x$LINE" != x
; then
6875 eval "DEFAULT_$LINE"
6880 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6885 eval "$ac_cv_use_tabdialog"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6890 if test "$wxUSE_TABDIALOG" = yes; then
6891 echo "$ac_t""yes" 1>&6
6893 echo "$ac_t""no" 1>&6
6897 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6898 echo "configure:6899: checking for --enable-textctrl" >&5
6900 # Check whether --enable-textctrl or --disable-textctrl was given.
6901 if test "${enable_textctrl+set}" = set; then
6902 enableval
="$enable_textctrl"
6904 if test "$enableval" = yes; then
6905 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6907 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6912 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6913 if test "x$LINE" != x
; then
6914 eval "DEFAULT_$LINE"
6919 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6924 eval "$ac_cv_use_textctrl"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6929 if test "$wxUSE_TEXTCTRL" = yes; then
6930 echo "$ac_t""yes" 1>&6
6932 echo "$ac_t""no" 1>&6
6936 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6937 echo "configure:6938: checking for --enable-togglebtn" >&5
6939 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6940 if test "${enable_togglebtn+set}" = set; then
6941 enableval
="$enable_togglebtn"
6943 if test "$enableval" = yes; then
6944 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6946 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6951 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6952 if test "x$LINE" != x
; then
6953 eval "DEFAULT_$LINE"
6958 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6963 eval "$ac_cv_use_togglebtn"
6964 if test "$no_cache" != 1; then
6965 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6968 if test "$wxUSE_TOGGLEBTN" = yes; then
6969 echo "$ac_t""yes" 1>&6
6971 echo "$ac_t""no" 1>&6
6975 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6976 echo "configure:6977: checking for --enable-toolbar" >&5
6978 # Check whether --enable-toolbar or --disable-toolbar was given.
6979 if test "${enable_toolbar+set}" = set; then
6980 enableval
="$enable_toolbar"
6982 if test "$enableval" = yes; then
6983 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6985 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6990 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6991 if test "x$LINE" != x
; then
6992 eval "DEFAULT_$LINE"
6997 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7002 eval "$ac_cv_use_toolbar"
7003 if test "$no_cache" != 1; then
7004 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7007 if test "$wxUSE_TOOLBAR" = yes; then
7008 echo "$ac_t""yes" 1>&6
7010 echo "$ac_t""no" 1>&6
7014 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7015 echo "configure:7016: checking for --enable-tbarnative" >&5
7017 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7018 if test "${enable_tbarnative+set}" = set; then
7019 enableval
="$enable_tbarnative"
7021 if test "$enableval" = yes; then
7022 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7024 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7029 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7030 if test "x$LINE" != x
; then
7031 eval "DEFAULT_$LINE"
7036 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7041 eval "$ac_cv_use_tbarnative"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7046 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7047 echo "$ac_t""yes" 1>&6
7049 echo "$ac_t""no" 1>&6
7053 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7054 echo "configure:7055: checking for --enable-tbarsmpl" >&5
7056 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7057 if test "${enable_tbarsmpl+set}" = set; then
7058 enableval
="$enable_tbarsmpl"
7060 if test "$enableval" = yes; then
7061 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7063 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7068 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x
; then
7070 eval "DEFAULT_$LINE"
7075 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7080 eval "$ac_cv_use_tbarsmpl"
7081 if test "$no_cache" != 1; then
7082 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7085 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7086 echo "$ac_t""yes" 1>&6
7088 echo "$ac_t""no" 1>&6
7092 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7093 echo "configure:7094: checking for --enable-treectrl" >&5
7095 # Check whether --enable-treectrl or --disable-treectrl was given.
7096 if test "${enable_treectrl+set}" = set; then
7097 enableval
="$enable_treectrl"
7099 if test "$enableval" = yes; then
7100 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7102 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7107 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7108 if test "x$LINE" != x
; then
7109 eval "DEFAULT_$LINE"
7114 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7119 eval "$ac_cv_use_treectrl"
7120 if test "$no_cache" != 1; then
7121 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7124 if test "$wxUSE_TREECTRL" = yes; then
7125 echo "$ac_t""yes" 1>&6
7127 echo "$ac_t""no" 1>&6
7131 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7132 echo "configure:7133: checking for --enable-tipwindow" >&5
7134 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7135 if test "${enable_tipwindow+set}" = set; then
7136 enableval
="$enable_tipwindow"
7138 if test "$enableval" = yes; then
7139 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7141 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7146 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7147 if test "x$LINE" != x
; then
7148 eval "DEFAULT_$LINE"
7153 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7158 eval "$ac_cv_use_tipwindow"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_TIPWINDOW" = yes; then
7164 echo "$ac_t""yes" 1>&6
7166 echo "$ac_t""no" 1>&6
7170 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7171 echo "configure:7172: checking for --enable-popupwin" >&5
7173 # Check whether --enable-popupwin or --disable-popupwin was given.
7174 if test "${enable_popupwin+set}" = set; then
7175 enableval
="$enable_popupwin"
7177 if test "$enableval" = yes; then
7178 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7180 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7185 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x
; then
7187 eval "DEFAULT_$LINE"
7192 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7197 eval "$ac_cv_use_popupwin"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7202 if test "$wxUSE_POPUPWIN" = yes; then
7203 echo "$ac_t""yes" 1>&6
7205 echo "$ac_t""no" 1>&6
7211 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7212 echo "configure:7213: checking for --enable-commondlg" >&5
7214 # Check whether --enable-commondlg or --disable-commondlg was given.
7215 if test "${enable_commondlg+set}" = set; then
7216 enableval
="$enable_commondlg"
7218 if test "$enableval" = yes; then
7219 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7221 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7226 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7227 if test "x$LINE" != x
; then
7228 eval "DEFAULT_$LINE"
7233 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7238 eval "$ac_cv_use_commondlg"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7243 if test "$wxUSE_COMMONDLGS" = yes; then
7244 echo "$ac_t""yes" 1>&6
7246 echo "$ac_t""no" 1>&6
7250 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7251 echo "configure:7252: checking for --enable-choicedlg" >&5
7253 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7254 if test "${enable_choicedlg+set}" = set; then
7255 enableval
="$enable_choicedlg"
7257 if test "$enableval" = yes; then
7258 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7260 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7265 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7266 if test "x$LINE" != x
; then
7267 eval "DEFAULT_$LINE"
7272 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7277 eval "$ac_cv_use_choicedlg"
7278 if test "$no_cache" != 1; then
7279 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7282 if test "$wxUSE_CHOICEDLG" = yes; then
7283 echo "$ac_t""yes" 1>&6
7285 echo "$ac_t""no" 1>&6
7289 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7290 echo "configure:7291: checking for --enable-coldlg" >&5
7292 # Check whether --enable-coldlg or --disable-coldlg was given.
7293 if test "${enable_coldlg+set}" = set; then
7294 enableval
="$enable_coldlg"
7296 if test "$enableval" = yes; then
7297 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7299 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7304 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7305 if test "x$LINE" != x
; then
7306 eval "DEFAULT_$LINE"
7311 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7316 eval "$ac_cv_use_coldlg"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7321 if test "$wxUSE_COLOURDLG" = yes; then
7322 echo "$ac_t""yes" 1>&6
7324 echo "$ac_t""no" 1>&6
7328 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7329 echo "configure:7330: checking for --enable-filedlg" >&5
7331 # Check whether --enable-filedlg or --disable-filedlg was given.
7332 if test "${enable_filedlg+set}" = set; then
7333 enableval
="$enable_filedlg"
7335 if test "$enableval" = yes; then
7336 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7338 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7343 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7344 if test "x$LINE" != x
; then
7345 eval "DEFAULT_$LINE"
7350 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7355 eval "$ac_cv_use_filedlg"
7356 if test "$no_cache" != 1; then
7357 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7360 if test "$wxUSE_FILEDLG" = yes; then
7361 echo "$ac_t""yes" 1>&6
7363 echo "$ac_t""no" 1>&6
7367 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7368 echo "configure:7369: checking for --enable-finddlg" >&5
7370 # Check whether --enable-finddlg or --disable-finddlg was given.
7371 if test "${enable_finddlg+set}" = set; then
7372 enableval
="$enable_finddlg"
7374 if test "$enableval" = yes; then
7375 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7377 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7382 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7383 if test "x$LINE" != x
; then
7384 eval "DEFAULT_$LINE"
7389 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7394 eval "$ac_cv_use_finddlg"
7395 if test "$no_cache" != 1; then
7396 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7399 if test "$wxUSE_FINDREPLDLG" = yes; then
7400 echo "$ac_t""yes" 1>&6
7402 echo "$ac_t""no" 1>&6
7406 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7407 echo "configure:7408: checking for --enable-fontdlg" >&5
7409 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7410 if test "${enable_fontdlg+set}" = set; then
7411 enableval
="$enable_fontdlg"
7413 if test "$enableval" = yes; then
7414 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7416 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7421 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7422 if test "x$LINE" != x
; then
7423 eval "DEFAULT_$LINE"
7428 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7433 eval "$ac_cv_use_fontdlg"
7434 if test "$no_cache" != 1; then
7435 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7438 if test "$wxUSE_FONTDLG" = yes; then
7439 echo "$ac_t""yes" 1>&6
7441 echo "$ac_t""no" 1>&6
7445 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7446 echo "configure:7447: checking for --enable-dirdlg" >&5
7448 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7449 if test "${enable_dirdlg+set}" = set; then
7450 enableval
="$enable_dirdlg"
7452 if test "$enableval" = yes; then
7453 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7455 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7460 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7461 if test "x$LINE" != x
; then
7462 eval "DEFAULT_$LINE"
7467 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7472 eval "$ac_cv_use_dirdlg"
7473 if test "$no_cache" != 1; then
7474 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7477 if test "$wxUSE_DIRDLG" = yes; then
7478 echo "$ac_t""yes" 1>&6
7480 echo "$ac_t""no" 1>&6
7484 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7485 echo "configure:7486: checking for --enable-msgdlg" >&5
7487 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7488 if test "${enable_msgdlg+set}" = set; then
7489 enableval
="$enable_msgdlg"
7491 if test "$enableval" = yes; then
7492 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7494 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7499 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x
; then
7501 eval "DEFAULT_$LINE"
7506 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7511 eval "$ac_cv_use_msgdlg"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7516 if test "$wxUSE_MSGDLG" = yes; then
7517 echo "$ac_t""yes" 1>&6
7519 echo "$ac_t""no" 1>&6
7523 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7524 echo "configure:7525: checking for --enable-numberdlg" >&5
7526 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7527 if test "${enable_numberdlg+set}" = set; then
7528 enableval
="$enable_numberdlg"
7530 if test "$enableval" = yes; then
7531 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7533 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7538 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7539 if test "x$LINE" != x
; then
7540 eval "DEFAULT_$LINE"
7545 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7550 eval "$ac_cv_use_numberdlg"
7551 if test "$no_cache" != 1; then
7552 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7555 if test "$wxUSE_NUMBERDLG" = yes; then
7556 echo "$ac_t""yes" 1>&6
7558 echo "$ac_t""no" 1>&6
7562 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7563 echo "configure:7564: checking for --enable-splash" >&5
7565 # Check whether --enable-splash or --disable-splash was given.
7566 if test "${enable_splash+set}" = set; then
7567 enableval
="$enable_splash"
7569 if test "$enableval" = yes; then
7570 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7572 ac_cv_use_splash
='wxUSE_SPLASH=no'
7577 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7578 if test "x$LINE" != x
; then
7579 eval "DEFAULT_$LINE"
7584 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7589 eval "$ac_cv_use_splash"
7590 if test "$no_cache" != 1; then
7591 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7594 if test "$wxUSE_SPLASH" = yes; then
7595 echo "$ac_t""yes" 1>&6
7597 echo "$ac_t""no" 1>&6
7601 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7602 echo "configure:7603: checking for --enable-textdlg" >&5
7604 # Check whether --enable-textdlg or --disable-textdlg was given.
7605 if test "${enable_textdlg+set}" = set; then
7606 enableval
="$enable_textdlg"
7608 if test "$enableval" = yes; then
7609 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7611 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7616 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x
; then
7618 eval "DEFAULT_$LINE"
7623 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7628 eval "$ac_cv_use_textdlg"
7629 if test "$no_cache" != 1; then
7630 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7633 if test "$wxUSE_TEXTDLG" = yes; then
7634 echo "$ac_t""yes" 1>&6
7636 echo "$ac_t""no" 1>&6
7640 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7641 echo "configure:7642: checking for --enable-tipdlg" >&5
7643 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7644 if test "${enable_tipdlg+set}" = set; then
7645 enableval
="$enable_tipdlg"
7647 if test "$enableval" = yes; then
7648 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7650 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7655 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7656 if test "x$LINE" != x
; then
7657 eval "DEFAULT_$LINE"
7662 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7667 eval "$ac_cv_use_tipdlg"
7668 if test "$no_cache" != 1; then
7669 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7672 if test "$wxUSE_STARTUP_TIPS" = yes; then
7673 echo "$ac_t""yes" 1>&6
7675 echo "$ac_t""no" 1>&6
7679 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7680 echo "configure:7681: checking for --enable-progressdlg" >&5
7682 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7683 if test "${enable_progressdlg+set}" = set; then
7684 enableval
="$enable_progressdlg"
7686 if test "$enableval" = yes; then
7687 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7689 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7694 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7695 if test "x$LINE" != x
; then
7696 eval "DEFAULT_$LINE"
7701 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7706 eval "$ac_cv_use_progressdlg"
7707 if test "$no_cache" != 1; then
7708 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7711 if test "$wxUSE_PROGRESSDLG" = yes; then
7712 echo "$ac_t""yes" 1>&6
7714 echo "$ac_t""no" 1>&6
7718 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7719 echo "configure:7720: checking for --enable-wizarddlg" >&5
7721 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7722 if test "${enable_wizarddlg+set}" = set; then
7723 enableval
="$enable_wizarddlg"
7725 if test "$enableval" = yes; then
7726 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7728 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7733 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7734 if test "x$LINE" != x
; then
7735 eval "DEFAULT_$LINE"
7740 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7745 eval "$ac_cv_use_wizarddlg"
7746 if test "$no_cache" != 1; then
7747 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7750 if test "$wxUSE_WIZARDDLG" = yes; then
7751 echo "$ac_t""yes" 1>&6
7753 echo "$ac_t""no" 1>&6
7759 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7760 echo "configure:7761: checking for --enable-menus" >&5
7762 # Check whether --enable-menus or --disable-menus was given.
7763 if test "${enable_menus+set}" = set; then
7764 enableval
="$enable_menus"
7766 if test "$enableval" = yes; then
7767 ac_cv_use_menus
='wxUSE_MENUS=yes'
7769 ac_cv_use_menus
='wxUSE_MENUS=no'
7774 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x
; then
7776 eval "DEFAULT_$LINE"
7781 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7786 eval "$ac_cv_use_menus"
7787 if test "$no_cache" != 1; then
7788 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7791 if test "$wxUSE_MENUS" = yes; then
7792 echo "$ac_t""yes" 1>&6
7794 echo "$ac_t""no" 1>&6
7798 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7799 echo "configure:7800: checking for --enable-miniframe" >&5
7801 # Check whether --enable-miniframe or --disable-miniframe was given.
7802 if test "${enable_miniframe+set}" = set; then
7803 enableval
="$enable_miniframe"
7805 if test "$enableval" = yes; then
7806 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7808 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7813 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7814 if test "x$LINE" != x
; then
7815 eval "DEFAULT_$LINE"
7820 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7825 eval "$ac_cv_use_miniframe"
7826 if test "$no_cache" != 1; then
7827 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7830 if test "$wxUSE_MINIFRAME" = yes; then
7831 echo "$ac_t""yes" 1>&6
7833 echo "$ac_t""no" 1>&6
7837 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7838 echo "configure:7839: checking for --enable-tooltips" >&5
7840 # Check whether --enable-tooltips or --disable-tooltips was given.
7841 if test "${enable_tooltips+set}" = set; then
7842 enableval
="$enable_tooltips"
7844 if test "$enableval" = yes; then
7845 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7847 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7852 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7853 if test "x$LINE" != x
; then
7854 eval "DEFAULT_$LINE"
7859 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7864 eval "$ac_cv_use_tooltips"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7869 if test "$wxUSE_TOOLTIPS" = yes; then
7870 echo "$ac_t""yes" 1>&6
7872 echo "$ac_t""no" 1>&6
7876 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7877 echo "configure:7878: checking for --enable-splines" >&5
7879 # Check whether --enable-splines or --disable-splines was given.
7880 if test "${enable_splines+set}" = set; then
7881 enableval
="$enable_splines"
7883 if test "$enableval" = yes; then
7884 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7886 ac_cv_use_splines
='wxUSE_SPLINES=no'
7891 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7892 if test "x$LINE" != x
; then
7893 eval "DEFAULT_$LINE"
7898 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7903 eval "$ac_cv_use_splines"
7904 if test "$no_cache" != 1; then
7905 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7908 if test "$wxUSE_SPLINES" = yes; then
7909 echo "$ac_t""yes" 1>&6
7911 echo "$ac_t""no" 1>&6
7915 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7916 echo "configure:7917: checking for --enable-validators" >&5
7918 # Check whether --enable-validators or --disable-validators was given.
7919 if test "${enable_validators+set}" = set; then
7920 enableval
="$enable_validators"
7922 if test "$enableval" = yes; then
7923 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7925 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7930 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x
; then
7932 eval "DEFAULT_$LINE"
7937 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7942 eval "$ac_cv_use_validators"
7943 if test "$no_cache" != 1; then
7944 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7947 if test "$wxUSE_VALIDATORS" = yes; then
7948 echo "$ac_t""yes" 1>&6
7950 echo "$ac_t""no" 1>&6
7954 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7955 echo "configure:7956: checking for --enable-busyinfo" >&5
7957 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7958 if test "${enable_busyinfo+set}" = set; then
7959 enableval
="$enable_busyinfo"
7961 if test "$enableval" = yes; then
7962 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7964 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7969 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7970 if test "x$LINE" != x
; then
7971 eval "DEFAULT_$LINE"
7976 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7981 eval "$ac_cv_use_busyinfo"
7982 if test "$no_cache" != 1; then
7983 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7986 if test "$wxUSE_BUSYINFO" = yes; then
7987 echo "$ac_t""yes" 1>&6
7989 echo "$ac_t""no" 1>&6
7993 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7994 echo "configure:7995: checking for --enable-joystick" >&5
7996 # Check whether --enable-joystick or --disable-joystick was given.
7997 if test "${enable_joystick+set}" = set; then
7998 enableval
="$enable_joystick"
8000 if test "$enableval" = yes; then
8001 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8003 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8008 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8009 if test "x$LINE" != x
; then
8010 eval "DEFAULT_$LINE"
8015 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8020 eval "$ac_cv_use_joystick"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8025 if test "$wxUSE_JOYSTICK" = yes; then
8026 echo "$ac_t""yes" 1>&6
8028 echo "$ac_t""no" 1>&6
8032 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8033 echo "configure:8034: checking for --enable-metafile" >&5
8035 # Check whether --enable-metafile or --disable-metafile was given.
8036 if test "${enable_metafile+set}" = set; then
8037 enableval
="$enable_metafile"
8039 if test "$enableval" = yes; then
8040 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8042 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8047 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8048 if test "x$LINE" != x
; then
8049 eval "DEFAULT_$LINE"
8054 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8059 eval "$ac_cv_use_metafile"
8060 if test "$no_cache" != 1; then
8061 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8064 if test "$wxUSE_METAFILE" = yes; then
8065 echo "$ac_t""yes" 1>&6
8067 echo "$ac_t""no" 1>&6
8071 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8072 echo "configure:8073: checking for --enable-dragimage" >&5
8074 # Check whether --enable-dragimage or --disable-dragimage was given.
8075 if test "${enable_dragimage+set}" = set; then
8076 enableval
="$enable_dragimage"
8078 if test "$enableval" = yes; then
8079 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8081 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8086 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8087 if test "x$LINE" != x
; then
8088 eval "DEFAULT_$LINE"
8093 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8098 eval "$ac_cv_use_dragimage"
8099 if test "$no_cache" != 1; then
8100 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8103 if test "$wxUSE_DRAGIMAGE" = yes; then
8104 echo "$ac_t""yes" 1>&6
8106 echo "$ac_t""no" 1>&6
8112 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8113 echo "configure:8114: checking for --enable-palette" >&5
8115 # Check whether --enable-palette or --disable-palette was given.
8116 if test "${enable_palette+set}" = set; then
8117 enableval
="$enable_palette"
8119 if test "$enableval" = yes; then
8120 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8122 ac_cv_use_palette
='wxUSE_PALETTE=no'
8127 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x
; then
8129 eval "DEFAULT_$LINE"
8134 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8139 eval "$ac_cv_use_palette"
8140 if test "$no_cache" != 1; then
8141 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8144 if test "$wxUSE_PALETTE" = yes; then
8145 echo "$ac_t""yes" 1>&6
8147 echo "$ac_t""no" 1>&6
8151 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8152 echo "configure:8153: checking for --enable-image" >&5
8154 # Check whether --enable-image or --disable-image was given.
8155 if test "${enable_image+set}" = set; then
8156 enableval
="$enable_image"
8158 if test "$enableval" = yes; then
8159 ac_cv_use_image
='wxUSE_IMAGE=yes'
8161 ac_cv_use_image
='wxUSE_IMAGE=no'
8166 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x
; then
8168 eval "DEFAULT_$LINE"
8173 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8178 eval "$ac_cv_use_image"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8183 if test "$wxUSE_IMAGE" = yes; then
8184 echo "$ac_t""yes" 1>&6
8186 echo "$ac_t""no" 1>&6
8190 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8191 echo "configure:8192: checking for --enable-gif" >&5
8193 # Check whether --enable-gif or --disable-gif was given.
8194 if test "${enable_gif+set}" = set; then
8195 enableval
="$enable_gif"
8197 if test "$enableval" = yes; then
8198 ac_cv_use_gif
='wxUSE_GIF=yes'
8200 ac_cv_use_gif
='wxUSE_GIF=no'
8205 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8206 if test "x$LINE" != x
; then
8207 eval "DEFAULT_$LINE"
8212 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8217 eval "$ac_cv_use_gif"
8218 if test "$no_cache" != 1; then
8219 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8222 if test "$wxUSE_GIF" = yes; then
8223 echo "$ac_t""yes" 1>&6
8225 echo "$ac_t""no" 1>&6
8229 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8230 echo "configure:8231: checking for --enable-pcx" >&5
8232 # Check whether --enable-pcx or --disable-pcx was given.
8233 if test "${enable_pcx+set}" = set; then
8234 enableval
="$enable_pcx"
8236 if test "$enableval" = yes; then
8237 ac_cv_use_pcx
='wxUSE_PCX=yes'
8239 ac_cv_use_pcx
='wxUSE_PCX=no'
8244 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8245 if test "x$LINE" != x
; then
8246 eval "DEFAULT_$LINE"
8251 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8256 eval "$ac_cv_use_pcx"
8257 if test "$no_cache" != 1; then
8258 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8261 if test "$wxUSE_PCX" = yes; then
8262 echo "$ac_t""yes" 1>&6
8264 echo "$ac_t""no" 1>&6
8268 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8269 echo "configure:8270: checking for --enable-iff" >&5
8271 # Check whether --enable-iff or --disable-iff was given.
8272 if test "${enable_iff+set}" = set; then
8273 enableval
="$enable_iff"
8275 if test "$enableval" = yes; then
8276 ac_cv_use_iff
='wxUSE_IFF=yes'
8278 ac_cv_use_iff
='wxUSE_IFF=no'
8283 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8284 if test "x$LINE" != x
; then
8285 eval "DEFAULT_$LINE"
8290 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8295 eval "$ac_cv_use_iff"
8296 if test "$no_cache" != 1; then
8297 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8300 if test "$wxUSE_IFF" = yes; then
8301 echo "$ac_t""yes" 1>&6
8303 echo "$ac_t""no" 1>&6
8307 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8308 echo "configure:8309: checking for --enable-pnm" >&5
8310 # Check whether --enable-pnm or --disable-pnm was given.
8311 if test "${enable_pnm+set}" = set; then
8312 enableval
="$enable_pnm"
8314 if test "$enableval" = yes; then
8315 ac_cv_use_pnm
='wxUSE_PNM=yes'
8317 ac_cv_use_pnm
='wxUSE_PNM=no'
8322 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8323 if test "x$LINE" != x
; then
8324 eval "DEFAULT_$LINE"
8329 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8334 eval "$ac_cv_use_pnm"
8335 if test "$no_cache" != 1; then
8336 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8339 if test "$wxUSE_PNM" = yes; then
8340 echo "$ac_t""yes" 1>&6
8342 echo "$ac_t""no" 1>&6
8346 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8347 echo "configure:8348: checking for --enable-xpm" >&5
8349 # Check whether --enable-xpm or --disable-xpm was given.
8350 if test "${enable_xpm+set}" = set; then
8351 enableval
="$enable_xpm"
8353 if test "$enableval" = yes; then
8354 ac_cv_use_xpm
='wxUSE_XPM=yes'
8356 ac_cv_use_xpm
='wxUSE_XPM=no'
8361 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8362 if test "x$LINE" != x
; then
8363 eval "DEFAULT_$LINE"
8368 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8373 eval "$ac_cv_use_xpm"
8374 if test "$no_cache" != 1; then
8375 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8378 if test "$wxUSE_XPM" = yes; then
8379 echo "$ac_t""yes" 1>&6
8381 echo "$ac_t""no" 1>&6
8385 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8386 echo "configure:8387: checking for --enable-ico_cur" >&5
8388 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8389 if test "${enable_ico_cur+set}" = set; then
8390 enableval
="$enable_ico_cur"
8392 if test "$enableval" = yes; then
8393 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8395 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8400 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8401 if test "x$LINE" != x
; then
8402 eval "DEFAULT_$LINE"
8407 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8412 eval "$ac_cv_use_ico_cur"
8413 if test "$no_cache" != 1; then
8414 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8417 if test "$wxUSE_ICO_CUR" = yes; then
8418 echo "$ac_t""yes" 1>&6
8420 echo "$ac_t""no" 1>&6
8427 echo "saving argument cache $wx_arg_cache_file"
8428 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8432 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8433 echo "configure:8434: checking for toolkit" >&5
8435 if test "$wxUSE_GUI" = "yes"; then
8437 if test "$USE_BEOS" = 1; then
8438 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8441 if test "$TOOLKIT_GIVEN" = 1; then
8442 for toolkit
in `echo $ALL_TOOLKITS`; do
8444 eval "value=\$${var}"
8445 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8448 for toolkit
in `echo $ALL_TOOLKITS`; do
8449 if test "$has_toolkit_in_cache" != 1; then
8450 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8452 var
=DEFAULT_wxUSE_
$toolkit
8454 eval "wxUSE_$toolkit=\$${var}"
8458 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8459 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8462 *-pc-os2_emx | *-pc-os2-emx )
8463 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8464 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8473 case "$NUM_TOOLKITS" in
8477 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8480 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8483 for toolkit
in `echo $ALL_TOOLKITS`; do
8485 eval "value=\$${var}"
8486 if test "x$value" != x
; then
8487 cache_var
=CACHE_
$toolkit
8488 eval "cache=\$${cache_var}"
8489 if test "$cache" = 1; then
8490 echo "$var=$value" >> ${wx_arg_cache_file}
8492 if test "$value" = 1; then
8493 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8494 echo "$ac_t""$toolkit_echo" 1>&6
8500 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8504 cat > confcache
<<\EOF
8505 # This file is a shell script that caches the results of configure
8506 # tests run on this system so they can be shared between configure
8507 # scripts and configure runs. It is not useful on other systems.
8508 # If it contains results you don't want to keep, you may remove or edit it.
8510 # By default, configure uses ./config.cache as the cache file,
8511 # creating it if it does not exist already. You can give configure
8512 # the --cache-file=FILE option to use a different cache file; that is
8513 # what configure does when it calls configure scripts in
8514 # subdirectories, so they share the cache.
8515 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8516 # config.status only pays attention to the cache file if you give it the
8517 # --recheck option to rerun configure.
8520 # The following way of writing the cache mishandles newlines in values,
8521 # but we know of no workaround that is simple, portable, and efficient.
8522 # So, don't put newlines in cache variables' values.
8523 # Ultrix sh set writes to stderr and can't be redirected directly,
8524 # and sets the high bit in the cache file unless we assign to the vars.
8526 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8528 # `set' does not quote correctly, so add quotes (double-quote substitution
8529 # turns \\\\ into \\, and sed turns \\ into \).
8531 -e "s/'/'\\\\''/g" \
8532 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8535 # `set' quotes correctly as required by POSIX, so do not add quotes.
8536 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8539 if cmp -s $cache_file confcache
; then
8542 if test -w $cache_file; then
8543 echo "updating cache $cache_file"
8544 cat confcache
> $cache_file
8546 echo "not updating unwritable cache $cache_file"
8552 if test "$build" != "$host" ; then
8553 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8557 RANLIB
=$host_alias-ranlib
8558 DLLTOOL
=$host_alias-dlltool
8559 RESCOMP
=$host_alias-windres
8562 STRIP
=$host_alias-strip
8564 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8568 # Extract the first word of "gcc", so it can be a program name with args.
8569 set dummy gcc
; ac_word
=$2
8570 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8571 echo "configure:8572: checking for $ac_word" >&5
8572 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8573 echo $ac_n "(cached) $ac_c" 1>&6
8575 if test -n "$CC"; then
8576 ac_cv_prog_CC
="$CC" # Let the user override the test.
8578 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8580 for ac_dir
in $ac_dummy; do
8581 test -z "$ac_dir" && ac_dir
=.
8582 if test -f $ac_dir/$ac_word; then
8591 if test -n "$CC"; then
8592 echo "$ac_t""$CC" 1>&6
8594 echo "$ac_t""no" 1>&6
8597 if test -z "$CC"; then
8598 # Extract the first word of "cc", so it can be a program name with args.
8599 set dummy cc
; ac_word
=$2
8600 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8601 echo "configure:8602: checking for $ac_word" >&5
8602 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8603 echo $ac_n "(cached) $ac_c" 1>&6
8605 if test -n "$CC"; then
8606 ac_cv_prog_CC
="$CC" # Let the user override the test.
8608 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8611 for ac_dir
in $ac_dummy; do
8612 test -z "$ac_dir" && ac_dir
=.
8613 if test -f $ac_dir/$ac_word; then
8614 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8615 ac_prog_rejected
=yes
8623 if test $ac_prog_rejected = yes; then
8624 # We found a bogon in the path, so make sure we never use it.
8625 set dummy
$ac_cv_prog_CC
8627 if test $# -gt 0; then
8628 # We chose a different compiler from the bogus one.
8629 # However, it has the same basename, so the bogon will be chosen
8630 # first if we set CC to just the basename; use the full file name.
8632 set dummy
"$ac_dir/$ac_word" "$@"
8640 if test -n "$CC"; then
8641 echo "$ac_t""$CC" 1>&6
8643 echo "$ac_t""no" 1>&6
8646 if test -z "$CC"; then
8647 case "`uname -s`" in
8649 # Extract the first word of "cl", so it can be a program name with args.
8650 set dummy cl
; ac_word
=$2
8651 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8652 echo "configure:8653: checking for $ac_word" >&5
8653 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8654 echo $ac_n "(cached) $ac_c" 1>&6
8656 if test -n "$CC"; then
8657 ac_cv_prog_CC
="$CC" # Let the user override the test.
8659 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8661 for ac_dir
in $ac_dummy; do
8662 test -z "$ac_dir" && ac_dir
=.
8663 if test -f $ac_dir/$ac_word; then
8672 if test -n "$CC"; then
8673 echo "$ac_t""$CC" 1>&6
8675 echo "$ac_t""no" 1>&6
8680 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8683 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8684 echo "configure:8685: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8687 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8688 ac_cpp
='$CPP $CPPFLAGS'
8689 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8690 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8691 cross_compiling
=$ac_cv_prog_cc_cross
8693 cat > conftest.
$ac_ext << EOF
8695 #line 8696 "configure"
8696 #include "confdefs.h"
8700 if { (eval echo configure
:8701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8701 ac_cv_prog_cc_works
=yes
8702 # If we can't run a trivial program, we are probably using a cross compiler.
8703 if (.
/conftest
; exit) 2>/dev
/null
; then
8704 ac_cv_prog_cc_cross
=no
8706 ac_cv_prog_cc_cross
=yes
8709 echo "configure: failed program was:" >&5
8710 cat conftest.
$ac_ext >&5
8711 ac_cv_prog_cc_works
=no
8715 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8716 ac_cpp
='$CPP $CPPFLAGS'
8717 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8718 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8719 cross_compiling
=$ac_cv_prog_cc_cross
8721 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8722 if test $ac_cv_prog_cc_works = no
; then
8723 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8725 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8726 echo "configure:8727: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8727 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8728 cross_compiling
=$ac_cv_prog_cc_cross
8730 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8731 echo "configure:8732: checking whether we are using GNU C" >&5
8732 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8733 echo $ac_n "(cached) $ac_c" 1>&6
8735 cat > conftest.c
<<EOF
8740 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8747 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8749 if test $ac_cv_prog_gcc = yes; then
8755 ac_test_CFLAGS
="${CFLAGS+set}"
8756 ac_save_CFLAGS
="$CFLAGS"
8758 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8759 echo "configure:8760: checking whether ${CC-cc} accepts -g" >&5
8760 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8761 echo $ac_n "(cached) $ac_c" 1>&6
8763 echo 'void f(){}' > conftest.c
8764 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8773 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8774 if test "$ac_test_CFLAGS" = set; then
8775 CFLAGS
="$ac_save_CFLAGS"
8776 elif test $ac_cv_prog_cc_g = yes; then
8777 if test "$GCC" = yes; then
8783 if test "$GCC" = yes; then
8791 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8793 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8794 echo "configure:8795: checking how to run the C preprocessor" >&5
8795 # On Suns, sometimes $CPP names a directory.
8796 if test -n "$CPP" && test -d "$CPP"; then
8799 if test -z "$CPP"; then
8800 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8801 echo $ac_n "(cached) $ac_c" 1>&6
8803 # This must be in double quotes, not single quotes, because CPP may get
8804 # substituted into the Makefile and "${CC-cc}" will confuse make.
8806 # On the NeXT, cc -E runs the code through the compiler's parser,
8807 # not just through cpp.
8808 cat > conftest.
$ac_ext <<EOF
8809 #line 8810 "configure"
8810 #include "confdefs.h"
8814 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8815 { (eval echo configure
:8816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8816 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8817 if test -z "$ac_err"; then
8821 echo "configure: failed program was:" >&5
8822 cat conftest.
$ac_ext >&5
8824 CPP
="${CC-cc} -E -traditional-cpp"
8825 cat > conftest.
$ac_ext <<EOF
8826 #line 8827 "configure"
8827 #include "confdefs.h"
8831 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8832 { (eval echo configure
:8833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8833 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8834 if test -z "$ac_err"; then
8838 echo "configure: failed program was:" >&5
8839 cat conftest.
$ac_ext >&5
8841 CPP
="${CC-cc} -nologo -E"
8842 cat > conftest.
$ac_ext <<EOF
8843 #line 8844 "configure"
8844 #include "confdefs.h"
8848 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8849 { (eval echo configure
:8850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8850 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8851 if test -z "$ac_err"; then
8855 echo "configure: failed program was:" >&5
8856 cat conftest.
$ac_ext >&5
8865 ac_cv_prog_CPP
="$CPP"
8867 CPP
="$ac_cv_prog_CPP"
8869 ac_cv_prog_CPP
="$CPP"
8871 echo "$ac_t""$CPP" 1>&6
8873 if test $ac_cv_prog_gcc = yes; then
8874 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8875 echo "configure:8876: checking whether ${CC-cc} needs -traditional" >&5
8876 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8877 echo $ac_n "(cached) $ac_c" 1>&6
8879 ac_pattern
="Autoconf.*'x'"
8880 cat > conftest.
$ac_ext <<EOF
8881 #line 8882 "configure"
8882 #include "confdefs.h"
8886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8887 egrep "$ac_pattern" >/dev
/null
2>&1; then
8889 ac_cv_prog_gcc_traditional
=yes
8892 ac_cv_prog_gcc_traditional
=no
8897 if test $ac_cv_prog_gcc_traditional = no
; then
8898 cat > conftest.
$ac_ext <<EOF
8899 #line 8900 "configure"
8900 #include "confdefs.h"
8904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8905 egrep "$ac_pattern" >/dev
/null
2>&1; then
8907 ac_cv_prog_gcc_traditional
=yes
8914 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8915 if test $ac_cv_prog_gcc_traditional = yes; then
8916 CC
="$CC -traditional"
8923 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8924 ac_cpp
='$CXXCPP $CPPFLAGS'
8925 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8926 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8927 cross_compiling
=$ac_cv_prog_cxx_cross
8930 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8932 # Extract the first word of "$ac_prog", so it can be a program name with args.
8933 set dummy
$ac_prog; ac_word
=$2
8934 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8935 echo "configure:8936: checking for $ac_word" >&5
8936 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8937 echo $ac_n "(cached) $ac_c" 1>&6
8939 if test -n "$CXX"; then
8940 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8942 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8944 for ac_dir
in $ac_dummy; do
8945 test -z "$ac_dir" && ac_dir
=.
8946 if test -f $ac_dir/$ac_word; then
8947 ac_cv_prog_CXX
="$ac_prog"
8954 CXX
="$ac_cv_prog_CXX"
8955 if test -n "$CXX"; then
8956 echo "$ac_t""$CXX" 1>&6
8958 echo "$ac_t""no" 1>&6
8961 test -n "$CXX" && break
8963 test -n "$CXX" || CXX
="gcc"
8966 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8967 echo "configure:8968: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8971 ac_cpp
='$CXXCPP $CPPFLAGS'
8972 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8973 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8974 cross_compiling
=$ac_cv_prog_cxx_cross
8976 cat > conftest.
$ac_ext << EOF
8978 #line 8979 "configure"
8979 #include "confdefs.h"
8981 int main(){return(0);}
8983 if { (eval echo configure
:8984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8984 ac_cv_prog_cxx_works
=yes
8985 # If we can't run a trivial program, we are probably using a cross compiler.
8986 if (.
/conftest
; exit) 2>/dev
/null
; then
8987 ac_cv_prog_cxx_cross
=no
8989 ac_cv_prog_cxx_cross
=yes
8992 echo "configure: failed program was:" >&5
8993 cat conftest.
$ac_ext >&5
8994 ac_cv_prog_cxx_works
=no
8998 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8999 ac_cpp
='$CXXCPP $CPPFLAGS'
9000 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9001 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9002 cross_compiling
=$ac_cv_prog_cxx_cross
9004 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9005 if test $ac_cv_prog_cxx_works = no
; then
9006 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9008 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9009 echo "configure:9010: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9010 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9011 cross_compiling
=$ac_cv_prog_cxx_cross
9013 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9014 echo "configure:9015: checking whether we are using GNU C++" >&5
9015 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9016 echo $ac_n "(cached) $ac_c" 1>&6
9018 cat > conftest.C
<<EOF
9023 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9030 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9032 if test $ac_cv_prog_gxx = yes; then
9038 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9039 ac_save_CXXFLAGS
="$CXXFLAGS"
9041 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9042 echo "configure:9043: checking whether ${CXX-g++} accepts -g" >&5
9043 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9044 echo $ac_n "(cached) $ac_c" 1>&6
9046 echo 'void f(){}' > conftest.cc
9047 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9048 ac_cv_prog_cxx_g
=yes
9056 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9057 if test "$ac_test_CXXFLAGS" = set; then
9058 CXXFLAGS
="$ac_save_CXXFLAGS"
9059 elif test $ac_cv_prog_cxx_g = yes; then
9060 if test "$GXX" = yes; then
9066 if test "$GXX" = yes; then
9074 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
9077 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9078 ac_cpp
='$CPP $CPPFLAGS'
9079 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9080 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9081 cross_compiling
=$ac_cv_prog_cc_cross
9084 # Extract the first word of "ranlib", so it can be a program name with args.
9085 set dummy ranlib
; ac_word
=$2
9086 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9087 echo "configure:9088: checking for $ac_word" >&5
9088 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9089 echo $ac_n "(cached) $ac_c" 1>&6
9091 if test -n "$RANLIB"; then
9092 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9094 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9096 for ac_dir
in $ac_dummy; do
9097 test -z "$ac_dir" && ac_dir
=.
9098 if test -f $ac_dir/$ac_word; then
9099 ac_cv_prog_RANLIB
="ranlib"
9104 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9107 RANLIB
="$ac_cv_prog_RANLIB"
9108 if test -n "$RANLIB"; then
9109 echo "$ac_t""$RANLIB" 1>&6
9111 echo "$ac_t""no" 1>&6
9115 # Extract the first word of "ar", so it can be a program name with args.
9116 set dummy
ar; ac_word
=$2
9117 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9118 echo "configure:9119: checking for $ac_word" >&5
9119 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9120 echo $ac_n "(cached) $ac_c" 1>&6
9122 if test -n "$AR"; then
9123 ac_cv_prog_AR
="$AR" # Let the user override the test.
9125 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9127 for ac_dir
in $ac_dummy; do
9128 test -z "$ac_dir" && ac_dir
=.
9129 if test -f $ac_dir/$ac_word; then
9135 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9139 if test -n "$AR"; then
9140 echo "$ac_t""$AR" 1>&6
9142 echo "$ac_t""no" 1>&6
9146 # Find a good install program. We prefer a C program (faster),
9147 # so one script is as good as another. But avoid the broken or
9148 # incompatible versions:
9149 # SysV /etc/install, /usr/sbin/install
9150 # SunOS /usr/etc/install
9151 # IRIX /sbin/install
9153 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9154 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9155 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9156 # ./install, which can be erroneously created by make from ./install.sh.
9157 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9158 echo "configure:9159: checking for a BSD compatible install" >&5
9159 if test -z "$INSTALL"; then
9160 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9161 echo $ac_n "(cached) $ac_c" 1>&6
9163 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9164 for ac_dir
in $PATH; do
9165 # Account for people who put trailing slashes in PATH elements.
9167 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9169 # OSF1 and SCO ODT 3.0 have their own names for install.
9170 # Don't use installbsd from OSF since it installs stuff as root
9172 for ac_prog
in ginstall scoinst
install; do
9173 if test -f $ac_dir/$ac_prog; then
9174 if test $ac_prog = install &&
9175 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9176 # AIX install. It has an incompatible calling convention.
9179 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9190 if test "${ac_cv_path_install+set}" = set; then
9191 INSTALL
="$ac_cv_path_install"
9193 # As a last resort, use the slow shell script. We don't cache a
9194 # path for INSTALL within a source directory, because that will
9195 # break other packages using the cache if that directory is
9196 # removed, or if the path is relative.
9197 INSTALL
="$ac_install_sh"
9200 echo "$ac_t""$INSTALL" 1>&6
9202 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9203 # It thinks the first close brace ends the variable substitution.
9204 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9206 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9208 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9213 INSTALL_PROGRAM
="cp -fp"
9214 INSTALL_DATA
="cp -fp"
9220 # Extract the first word of "strip", so it can be a program name with args.
9221 set dummy strip
; ac_word
=$2
9222 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9223 echo "configure:9224: checking for $ac_word" >&5
9224 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9225 echo $ac_n "(cached) $ac_c" 1>&6
9227 if test -n "$STRIP"; then
9228 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9230 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9232 for ac_dir
in $ac_dummy; do
9233 test -z "$ac_dir" && ac_dir
=.
9234 if test -f $ac_dir/$ac_word; then
9235 ac_cv_prog_STRIP
="strip"
9240 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9243 STRIP
="$ac_cv_prog_STRIP"
9244 if test -n "$STRIP"; then
9245 echo "$ac_t""$STRIP" 1>&6
9247 echo "$ac_t""no" 1>&6
9251 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9252 echo "configure:9253: checking if make is GNU make" >&5
9253 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9254 echo $ac_n "(cached) $ac_c" 1>&6
9257 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9259 wx_cv_prog_makeisgnu
="yes"
9261 wx_cv_prog_makeisgnu
="no"
9266 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9268 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9276 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9277 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9278 echo "configure:9279: checking if make supports VPATH" >&5
9279 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9280 echo $ac_n "(cached) $ac_c" 1>&6
9283 cat - << EOF > confMake
9289 if test ! -d sub
; then
9292 echo dummy
> sub
/file
9293 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9295 rm -f sub
/file check final_file confMake
9297 if test "$RESULT" = 0; then
9298 wx_cv_prog_makevpath
="yes"
9300 wx_cv_prog_makevpath
="no"
9305 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9307 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9308 { echo "configure: error:
9309 You need a make-utility that is able to use the variable
9311 If your version of make does not support VPATH correctly,
9312 please install GNU-make (possibly as gmake), and start
9313 configure with the following command:
9314 export MAKE=gmake; ./configure for sh-type shells
9315 setenv MAKE gmake; ./configure for csh-type shells
9316 Also please do remember to use gmake in this case every time
9317 you are trying to compile.
9320 for ac_prog
in 'bison -y' byacc
9322 # Extract the first word of "$ac_prog", so it can be a program name with args.
9323 set dummy
$ac_prog; ac_word
=$2
9324 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9325 echo "configure:9326: checking for $ac_word" >&5
9326 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9327 echo $ac_n "(cached) $ac_c" 1>&6
9329 if test -n "$YACC"; then
9330 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9332 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9334 for ac_dir
in $ac_dummy; do
9335 test -z "$ac_dir" && ac_dir
=.
9336 if test -f $ac_dir/$ac_word; then
9337 ac_cv_prog_YACC
="$ac_prog"
9344 YACC
="$ac_cv_prog_YACC"
9345 if test -n "$YACC"; then
9346 echo "$ac_t""$YACC" 1>&6
9348 echo "$ac_t""no" 1>&6
9351 test -n "$YACC" && break
9353 test -n "$YACC" || YACC
="yacc"
9356 # Extract the first word of "flex", so it can be a program name with args.
9357 set dummy flex
; ac_word
=$2
9358 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9359 echo "configure:9360: checking for $ac_word" >&5
9360 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9361 echo $ac_n "(cached) $ac_c" 1>&6
9363 if test -n "$LEX"; then
9364 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9366 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9368 for ac_dir
in $ac_dummy; do
9369 test -z "$ac_dir" && ac_dir
=.
9370 if test -f $ac_dir/$ac_word; then
9371 ac_cv_prog_LEX
="flex"
9376 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9379 LEX
="$ac_cv_prog_LEX"
9380 if test -n "$LEX"; then
9381 echo "$ac_t""$LEX" 1>&6
9383 echo "$ac_t""no" 1>&6
9386 if test -z "$LEXLIB"
9392 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9393 echo "configure:9394: checking for yywrap in -l$ac_lib" >&5
9394 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9395 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9396 echo $ac_n "(cached) $ac_c" 1>&6
9398 ac_save_LIBS
="$LIBS"
9399 LIBS
="-l$ac_lib $LIBS"
9400 cat > conftest.
$ac_ext <<EOF
9401 #line 9402 "configure"
9402 #include "confdefs.h"
9403 /* Override any gcc2 internal prototype to avoid an error. */
9404 /* We use char because int might match the return type of a gcc2
9405 builtin and then its argument prototype would still apply. */
9412 if { (eval echo configure
:9413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9414 eval "ac_cv_lib_$ac_lib_var=yes"
9416 echo "configure: failed program was:" >&5
9417 cat conftest.
$ac_ext >&5
9419 eval "ac_cv_lib_$ac_lib_var=no"
9422 LIBS
="$ac_save_LIBS"
9425 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9426 echo "$ac_t""yes" 1>&6
9429 echo "$ac_t""no" 1>&6
9435 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9436 echo "configure:9437: checking whether ln -s works" >&5
9437 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9438 echo $ac_n "(cached) $ac_c" 1>&6
9441 if ln -s X conftestdata
2>/dev
/null
9444 ac_cv_prog_LN_S
="ln -s"
9449 LN_S
="$ac_cv_prog_LN_S"
9450 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9451 echo "$ac_t""yes" 1>&6
9453 echo "$ac_t""no" 1>&6
9459 /usr/local/include \
9461 /usr/Motif-1.2/include \
9462 /usr/Motif-2.1/include \
9464 /usr/include/Motif1.2 \
9465 /opt/xpm/include/X11 \
9466 /opt/GBxpm/include/ \
9467 /opt/GBxpm/X11/include/ \
9469 /usr/Motif1.2/include \
9471 /usr/openwin/include \
9475 /usr/X11R6/include \
9476 /usr/X11R6.4/include \
9477 /usr/X11R5/include \
9478 /usr/X11R4/include \
9480 /usr/include/X11R6 \
9481 /usr/include/X11R5 \
9482 /usr/include/X11R4 \
9484 /usr/local/X11R6/include \
9485 /usr/local/X11R5/include \
9486 /usr/local/X11R4/include \
9488 /usr/local/include/X11R6 \
9489 /usr/local/include/X11R5 \
9490 /usr/local/include/X11R4 \
9494 /usr/local/X11/include \
9495 /usr/local/include/X11 \
9499 /usr/XFree86/include/X11 \
9501 X:/XFree86/include \
9502 X:/XFree86/include/X11 \
9505 /usr/local/include/gtk \
9507 /usr/local/include/glib \
9510 /usr/local/include/qt \
9512 /usr/include/windows \
9514 /usr/local/include/wine \
9516 /usr/unsupported/include \
9517 /usr/athena/include \
9518 /usr/local/x11r5/include \
9519 /usr/lpp/Xamples/include \
9521 /usr/openwin/share/include \
9525 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9528 cat > confcache
<<\EOF
9529 # This file is a shell script that caches the results of configure
9530 # tests run on this system so they can be shared between configure
9531 # scripts and configure runs. It is not useful on other systems.
9532 # If it contains results you don't want to keep, you may remove or edit it.
9534 # By default, configure uses ./config.cache as the cache file,
9535 # creating it if it does not exist already. You can give configure
9536 # the --cache-file=FILE option to use a different cache file; that is
9537 # what configure does when it calls configure scripts in
9538 # subdirectories, so they share the cache.
9539 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9540 # config.status only pays attention to the cache file if you give it the
9541 # --recheck option to rerun configure.
9544 # The following way of writing the cache mishandles newlines in values,
9545 # but we know of no workaround that is simple, portable, and efficient.
9546 # So, don't put newlines in cache variables' values.
9547 # Ultrix sh set writes to stderr and can't be redirected directly,
9548 # and sets the high bit in the cache file unless we assign to the vars.
9550 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9552 # `set' does not quote correctly, so add quotes (double-quote substitution
9553 # turns \\\\ into \\, and sed turns \\ into \).
9555 -e "s/'/'\\\\''/g" \
9556 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9559 # `set' quotes correctly as required by POSIX, so do not add quotes.
9560 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9563 if cmp -s $cache_file confcache
; then
9566 if test -w $cache_file; then
9567 echo "updating cache $cache_file"
9568 cat confcache
> $cache_file
9570 echo "not updating unwritable cache $cache_file"
9579 if test "$wxUSE_REGEX" != "no"; then
9580 cat >> confdefs.h
<<\EOF
9581 #define wxUSE_REGEX 1
9585 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9586 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9587 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9588 echo "configure:9589: checking for regex.h" >&5
9589 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9590 echo $ac_n "(cached) $ac_c" 1>&6
9592 cat > conftest.
$ac_ext <<EOF
9593 #line 9594 "configure"
9594 #include "confdefs.h"
9597 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9598 { (eval echo configure
:9599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9599 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9600 if test -z "$ac_err"; then
9602 eval "ac_cv_header_$ac_safe=yes"
9605 echo "configure: failed program was:" >&5
9606 cat conftest.
$ac_ext >&5
9608 eval "ac_cv_header_$ac_safe=no"
9612 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9613 echo "$ac_t""yes" 1>&6
9614 for ac_func
in regcomp
9616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9617 echo "configure:9618: checking for $ac_func" >&5
9618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9619 echo $ac_n "(cached) $ac_c" 1>&6
9621 cat > conftest.
$ac_ext <<EOF
9622 #line 9623 "configure"
9623 #include "confdefs.h"
9624 /* System header to define __stub macros and hopefully few prototypes,
9625 which can conflict with char $ac_func(); below. */
9627 /* Override any gcc2 internal prototype to avoid an error. */
9628 /* We use char because int might match the return type of a gcc2
9629 builtin and then its argument prototype would still apply. */
9634 /* The GNU C library defines this for functions which it implements
9635 to always fail with ENOSYS. Some functions are actually named
9636 something starting with __ and the normal name is an alias. */
9637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9645 if { (eval echo configure
:9646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9647 eval "ac_cv_func_$ac_func=yes"
9649 echo "configure: failed program was:" >&5
9650 cat conftest.
$ac_ext >&5
9652 eval "ac_cv_func_$ac_func=no"
9657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9658 echo "$ac_t""yes" 1>&6
9659 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9660 cat >> confdefs.h
<<EOF
9661 #define $ac_tr_func 1
9665 echo "$ac_t""no" 1>&6
9670 echo "$ac_t""no" 1>&6
9674 if test "x$ac_cv_func_regcomp" != "xyes"; then
9675 if test "$wxUSE_REGEX" = "sys" ; then
9676 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9678 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9686 if test "$wxUSE_REGEX" = "builtin" ; then
9687 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9694 if test "$wxUSE_ZLIB" != "no" ; then
9695 cat >> confdefs.h
<<\EOF
9696 #define wxUSE_ZLIB 1
9700 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9701 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9702 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9703 echo "configure:9704: checking for zlib.h" >&5
9704 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9705 echo $ac_n "(cached) $ac_c" 1>&6
9707 cat > conftest.
$ac_ext <<EOF
9708 #line 9709 "configure"
9709 #include "confdefs.h"
9712 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9713 { (eval echo configure
:9714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9714 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9715 if test -z "$ac_err"; then
9717 eval "ac_cv_header_$ac_safe=yes"
9720 echo "configure: failed program was:" >&5
9721 cat conftest.
$ac_ext >&5
9723 eval "ac_cv_header_$ac_safe=no"
9727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9728 echo "$ac_t""yes" 1>&6
9729 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9730 echo "configure:9731: checking for deflate in -lz" >&5
9731 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9732 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9733 echo $ac_n "(cached) $ac_c" 1>&6
9735 ac_save_LIBS
="$LIBS"
9737 cat > conftest.
$ac_ext <<EOF
9738 #line 9739 "configure"
9739 #include "confdefs.h"
9740 /* Override any gcc2 internal prototype to avoid an error. */
9741 /* We use char because int might match the return type of a gcc2
9742 builtin and then its argument prototype would still apply. */
9749 if { (eval echo configure
:9750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9751 eval "ac_cv_lib_$ac_lib_var=yes"
9753 echo "configure: failed program was:" >&5
9754 cat conftest.
$ac_ext >&5
9756 eval "ac_cv_lib_$ac_lib_var=no"
9759 LIBS
="$ac_save_LIBS"
9762 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9763 echo "$ac_t""yes" 1>&6
9766 echo "$ac_t""no" 1>&6
9770 echo "$ac_t""no" 1>&6
9774 if test "x$ZLIB_LINK" = "x" ; then
9775 if test "$wxUSE_ZLIB" = "sys" ; then
9776 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9778 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9786 if test "$wxUSE_ZLIB" = "builtin" ; then
9787 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9794 if test "$wxUSE_LIBPNG" != "no" ; then
9795 cat >> confdefs.h
<<\EOF
9796 #define wxUSE_LIBPNG 1
9800 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
9801 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
9805 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9806 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9807 wxUSE_LIBPNG
=builtin
9810 if test "$wxUSE_MGL" != 1 ; then
9811 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9812 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9813 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9814 echo "configure:9815: checking for png.h" >&5
9815 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9816 echo $ac_n "(cached) $ac_c" 1>&6
9818 cat > conftest.
$ac_ext <<EOF
9819 #line 9820 "configure"
9820 #include "confdefs.h"
9823 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9824 { (eval echo configure
:9825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9825 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9826 if test -z "$ac_err"; then
9828 eval "ac_cv_header_$ac_safe=yes"
9831 echo "configure: failed program was:" >&5
9832 cat conftest.
$ac_ext >&5
9834 eval "ac_cv_header_$ac_safe=no"
9838 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9839 echo "$ac_t""yes" 1>&6
9840 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9841 echo "configure:9842: checking for png_check_sig in -lpng" >&5
9842 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9843 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9844 echo $ac_n "(cached) $ac_c" 1>&6
9846 ac_save_LIBS
="$LIBS"
9847 LIBS
="-lpng -lz -lm $LIBS"
9848 cat > conftest.
$ac_ext <<EOF
9849 #line 9850 "configure"
9850 #include "confdefs.h"
9851 /* Override any gcc2 internal prototype to avoid an error. */
9852 /* We use char because int might match the return type of a gcc2
9853 builtin and then its argument prototype would still apply. */
9854 char png_check_sig();
9860 if { (eval echo configure
:9861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9862 eval "ac_cv_lib_$ac_lib_var=yes"
9864 echo "configure: failed program was:" >&5
9865 cat conftest.
$ac_ext >&5
9867 eval "ac_cv_lib_$ac_lib_var=no"
9870 LIBS
="$ac_save_LIBS"
9873 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9874 echo "$ac_t""yes" 1>&6
9877 echo "$ac_t""no" 1>&6
9882 echo "$ac_t""no" 1>&6
9886 if test "x$PNG_LINK" = "x" ; then
9887 if test "$wxUSE_LIBPNG" = "sys" ; then
9888 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9890 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9891 wxUSE_LIBPNG
=builtin
9899 if test "$wxUSE_LIBPNG" = "builtin" ; then
9900 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9909 if test "$wxUSE_LIBJPEG" != "no" ; then
9910 cat >> confdefs.h
<<\EOF
9911 #define wxUSE_LIBJPEG 1
9915 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
9916 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
9920 if test "$wxUSE_MGL" != 1 ; then
9921 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9922 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9923 echo "configure:9924: checking for jpeglib.h" >&5
9924 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9925 echo $ac_n "(cached) $ac_c" 1>&6
9927 cat > conftest.
$ac_ext <<EOF
9928 #line 9929 "configure"
9929 #include "confdefs.h"
9931 #undef HAVE_STDLIB_H
9933 #include <jpeglib.h>
9940 if { (eval echo configure
:9941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9942 ac_cv_header_jpeglib_h
=yes
9944 echo "configure: failed program was:" >&5
9945 cat conftest.
$ac_ext >&5
9947 ac_cv_header_jpeglib_h
=no
9954 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9956 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9957 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9958 echo "configure:9959: checking for jpeg_read_header in -ljpeg" >&5
9959 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9960 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9961 echo $ac_n "(cached) $ac_c" 1>&6
9963 ac_save_LIBS
="$LIBS"
9965 cat > conftest.
$ac_ext <<EOF
9966 #line 9967 "configure"
9967 #include "confdefs.h"
9968 /* Override any gcc2 internal prototype to avoid an error. */
9969 /* We use char because int might match the return type of a gcc2
9970 builtin and then its argument prototype would still apply. */
9971 char jpeg_read_header();
9977 if { (eval echo configure
:9978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9979 eval "ac_cv_lib_$ac_lib_var=yes"
9981 echo "configure: failed program was:" >&5
9982 cat conftest.
$ac_ext >&5
9984 eval "ac_cv_lib_$ac_lib_var=no"
9987 LIBS
="$ac_save_LIBS"
9990 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9991 echo "$ac_t""yes" 1>&6
9994 echo "$ac_t""no" 1>&6
9999 if test "x$JPEG_LINK" = "x" ; then
10000 if test "$wxUSE_LIBJPEG" = "sys" ; then
10001 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
10003 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
10004 wxUSE_LIBJPEG
=builtin
10012 if test "$wxUSE_LIBJPEG" = "builtin" ; then
10013 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10020 if test "$wxUSE_LIBTIFF" != "no" ; then
10021 cat >> confdefs.h
<<\EOF
10022 #define wxUSE_LIBTIFF 1
10026 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
10027 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10028 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10029 echo "configure:10030: checking for tiffio.h" >&5
10030 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10031 echo $ac_n "(cached) $ac_c" 1>&6
10033 cat > conftest.
$ac_ext <<EOF
10034 #line 10035 "configure"
10035 #include "confdefs.h"
10036 #include <tiffio.h>
10038 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10039 { (eval echo configure
:10040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10040 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10041 if test -z "$ac_err"; then
10043 eval "ac_cv_header_$ac_safe=yes"
10046 echo "configure: failed program was:" >&5
10047 cat conftest.
$ac_ext >&5
10049 eval "ac_cv_header_$ac_safe=no"
10053 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10054 echo "$ac_t""yes" 1>&6
10055 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
10056 echo "configure:10057: checking for TIFFError in -ltiff" >&5
10057 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
10058 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10059 echo $ac_n "(cached) $ac_c" 1>&6
10061 ac_save_LIBS
="$LIBS"
10062 LIBS
="-ltiff -lm $LIBS"
10063 cat > conftest.
$ac_ext <<EOF
10064 #line 10065 "configure"
10065 #include "confdefs.h"
10066 /* Override any gcc2 internal prototype to avoid an error. */
10067 /* We use char because int might match the return type of a gcc2
10068 builtin and then its argument prototype would still apply. */
10075 if { (eval echo configure
:10076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10077 eval "ac_cv_lib_$ac_lib_var=yes"
10079 echo "configure: failed program was:" >&5
10080 cat conftest.
$ac_ext >&5
10082 eval "ac_cv_lib_$ac_lib_var=no"
10085 LIBS
="$ac_save_LIBS"
10088 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10089 echo "$ac_t""yes" 1>&6
10090 TIFF_LINK
=" -ltiff"
10092 echo "$ac_t""no" 1>&6
10097 echo "$ac_t""no" 1>&6
10101 if test "x$TIFF_LINK" = "x" ; then
10102 if test "$wxUSE_LIBTIFF" = "sys" ; then
10103 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10105 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10106 wxUSE_LIBTIFF
=builtin
10113 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10114 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
10125 if test "$USE_WIN32" = 1 ; then
10126 for ac_hdr
in w32api.h
10128 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10129 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10130 echo "configure:10131: checking for $ac_hdr" >&5
10131 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10132 echo $ac_n "(cached) $ac_c" 1>&6
10134 cat > conftest.
$ac_ext <<EOF
10135 #line 10136 "configure"
10136 #include "confdefs.h"
10139 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10140 { (eval echo configure
:10141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10141 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10142 if test -z "$ac_err"; then
10144 eval "ac_cv_header_$ac_safe=yes"
10147 echo "configure: failed program was:" >&5
10148 cat conftest.
$ac_ext >&5
10150 eval "ac_cv_header_$ac_safe=no"
10154 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10155 echo "$ac_t""yes" 1>&6
10156 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10157 cat >> confdefs.h
<<EOF
10158 #define $ac_tr_hdr 1
10162 echo "$ac_t""no" 1>&6
10166 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10167 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10168 echo "configure:10169: checking for windows.h" >&5
10169 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10170 echo $ac_n "(cached) $ac_c" 1>&6
10172 cat > conftest.
$ac_ext <<EOF
10173 #line 10174 "configure"
10174 #include "confdefs.h"
10175 #include <windows.h>
10177 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10178 { (eval echo configure
:10179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10179 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10180 if test -z "$ac_err"; then
10182 eval "ac_cv_header_$ac_safe=yes"
10185 echo "configure: failed program was:" >&5
10186 cat conftest.
$ac_ext >&5
10188 eval "ac_cv_header_$ac_safe=no"
10192 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10193 echo "$ac_t""yes" 1>&6
10196 echo "$ac_t""no" 1>&6
10198 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10203 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10204 echo "configure:10205: checking if w32api has good enough MSIE support" >&5
10205 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10206 echo $ac_n "(cached) $ac_c" 1>&6
10209 cat > conftest.
$ac_ext <<EOF
10210 #line 10211 "configure"
10211 #include "confdefs.h"
10212 #include <w32api.h>
10215 #define wxCHECK_W32API_VERSION( major, minor ) \
10216 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10217 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10218 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10220 #if !wxCHECK_W32API_VERSION(1,1)
10221 #error You need w32api 1.1 or newer
10226 if { (eval echo configure
:10227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10229 wx_cv_w32api_win32_ie
=yes
10232 echo "configure: failed program was:" >&5
10233 cat conftest.
$ac_ext >&5
10236 wx_cv_w32api_win32_ie
=no
10243 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10244 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10245 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10248 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10252 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10253 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10256 if test "$wxUSE_ODBC" = "yes" ; then
10257 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10260 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10261 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10264 if test "$wxUSE_GUI" = "yes"; then
10273 if test "$wxUSE_MSW" = 1 ; then
10279 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10283 if test "$wxUSE_GTK" = 1; then
10284 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10285 echo "configure:10286: checking for GTK+ version" >&5
10287 gtk_version_cached
=1
10288 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10289 echo $ac_n "(cached) $ac_c" 1>&6
10292 gtk_version_cached
=0
10293 echo "$ac_t""" 1>&6
10296 if test "$wxUSE_THREADS" = "yes"; then
10297 GTK_MODULES
=gthread
10301 if test "x$wxUSE_GTK2" = "xyes"; then
10302 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10303 if test "${with_gtk_prefix+set}" = set; then
10304 withval
="$with_gtk_prefix"
10305 gtk_config_prefix
="$withval"
10307 gtk_config_prefix
=""
10310 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10311 if test "${with_gtk_exec_prefix+set}" = set; then
10312 withval
="$with_gtk_exec_prefix"
10313 gtk_config_exec_prefix
="$withval"
10315 gtk_config_exec_prefix
=""
10318 # Check whether --enable-gtktest or --disable-gtktest was given.
10319 if test "${enable_gtktest+set}" = set; then
10320 enableval
="$enable_gtktest"
10327 for module
in .
$GTK_MODULES
10331 gtk_config_args
="$gtk_config_args gthread"
10336 if test x
$gtk_config_exec_prefix != x
; then
10337 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10338 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10339 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
10342 if test x
$gtk_config_prefix != x
; then
10343 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10344 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10345 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
10349 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10350 set dummy gtk
-config-2.0
; ac_word
=$2
10351 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10352 echo "configure:10353: checking for $ac_word" >&5
10353 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10354 echo $ac_n "(cached) $ac_c" 1>&6
10356 case "$GTK_CONFIG_2_0" in
10358 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10361 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10364 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10366 for ac_dir
in $ac_dummy; do
10367 test -z "$ac_dir" && ac_dir
=.
10368 if test -f $ac_dir/$ac_word; then
10369 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
10374 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
10378 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
10379 if test -n "$GTK_CONFIG_2_0"; then
10380 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10382 echo "$ac_t""no" 1>&6
10385 min_gtk_version
=1.3.1
10386 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10387 echo "configure:10388: checking for GTK - version >= $min_gtk_version" >&5
10389 if test "$GTK_CONFIG_2_0" = "no" ; then
10392 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10393 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10394 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10396 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10398 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10399 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10400 if test "x$enable_gtktest" = "xyes" ; then
10401 ac_save_CFLAGS
="$CFLAGS"
10402 ac_save_LIBS
="$LIBS"
10403 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10404 LIBS
="$GTK_LIBS $LIBS"
10406 if test "$cross_compiling" = yes; then
10407 echo $ac_n "cross compiling; assumed OK... $ac_c"
10409 cat > conftest.
$ac_ext <<EOF
10410 #line 10411 "configure"
10411 #include "confdefs.h"
10413 #include <gtk/gtk.h>
10415 #include <stdlib.h>
10420 int major, minor, micro;
10423 system ("touch conf.gtktest");
10425 /* HP/UX 9 (%@#!) writes to sscanf strings */
10426 tmp_version = g_strdup("$min_gtk_version");
10427 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10428 printf("%s, bad version string\n", "$min_gtk_version");
10432 if ((gtk_major_version != $gtk_config_major_version) ||
10433 (gtk_minor_version != $gtk_config_minor_version) ||
10434 (gtk_micro_version != $gtk_config_micro_version))
10436 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10437 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10438 gtk_major_version, gtk_minor_version, gtk_micro_version);
10439 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10440 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10441 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10442 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10443 printf("*** required on your system.\n");
10444 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10445 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10446 printf("*** before re-running configure\n");
10448 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10449 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10450 (gtk_minor_version != GTK_MINOR_VERSION) ||
10451 (gtk_micro_version != GTK_MICRO_VERSION))
10453 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10454 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10455 printf("*** library (version %d.%d.%d)\n",
10456 gtk_major_version, gtk_minor_version, gtk_micro_version);
10458 #endif /* defined (GTK_MAJOR_VERSION) ... */
10461 if ((gtk_major_version > major) ||
10462 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10463 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10469 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10470 gtk_major_version, gtk_minor_version, gtk_micro_version);
10471 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10472 major, minor, micro);
10473 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10475 printf("*** If you have already installed a sufficiently new version, this error\n");
10476 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10477 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10478 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10479 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10480 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10481 printf("*** so that the correct libraries are found at run-time))\n");
10488 if { (eval echo configure
:10489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10492 echo "configure: failed program was:" >&5
10493 cat conftest.
$ac_ext >&5
10500 CFLAGS
="$ac_save_CFLAGS"
10501 LIBS
="$ac_save_LIBS"
10504 if test "x$no_gtk" = x
; then
10505 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10508 echo "$ac_t""no" 1>&6
10509 if test "$GTK_CONFIG_2_0" = "no" ; then
10510 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10511 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10512 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10513 echo "*** full path to gtk-config-2.0."
10515 if test -f conf.gtktest
; then
10518 echo "*** Could not run GTK test program, checking why..."
10519 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10520 LIBS
="$LIBS $GTK_LIBS"
10521 cat > conftest.
$ac_ext <<EOF
10522 #line 10523 "configure"
10523 #include "confdefs.h"
10525 #include <gtk/gtk.h>
10529 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10532 if { (eval echo configure
:10533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10534 echo "*** The test program compiled, but did not run. This usually means"
10535 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10536 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10537 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10538 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10539 echo "*** is required on your system"
10541 echo "*** If you have an old version installed, it is best to remove it, although"
10542 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10544 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10545 echo "*** came with the system with the command"
10547 echo "*** rpm --erase --nodeps gtk gtk-devel"
10549 echo "configure: failed program was:" >&5
10550 cat conftest.
$ac_ext >&5
10552 echo "*** The test program failed to compile or link. See the file config.log for the"
10553 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10554 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10555 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10558 CFLAGS
="$ac_save_CFLAGS"
10559 LIBS
="$ac_save_LIBS"
10572 if test -z "$wx_cv_lib_gtk"; then
10573 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10574 if test "${with_gtk_prefix+set}" = set; then
10575 withval
="$with_gtk_prefix"
10576 gtk_config_prefix
="$withval"
10578 gtk_config_prefix
=""
10581 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10582 if test "${with_gtk_exec_prefix+set}" = set; then
10583 withval
="$with_gtk_exec_prefix"
10584 gtk_config_exec_prefix
="$withval"
10586 gtk_config_exec_prefix
=""
10589 # Check whether --enable-gtktest or --disable-gtktest was given.
10590 if test "${enable_gtktest+set}" = set; then
10591 enableval
="$enable_gtktest"
10598 for module
in .
$GTK_MODULES
10602 gtk_config_args
="$gtk_config_args gthread"
10607 if test x
$gtk_config_exec_prefix != x
; then
10608 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10609 if test x
${GTK_CONFIG+set} != xset
; then
10610 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10613 if test x
$gtk_config_prefix != x
; then
10614 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10615 if test x
${GTK_CONFIG+set} != xset
; then
10616 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10620 # Extract the first word of "gtk-config", so it can be a program name with args.
10621 set dummy gtk
-config; ac_word
=$2
10622 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10623 echo "configure:10624: checking for $ac_word" >&5
10624 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10625 echo $ac_n "(cached) $ac_c" 1>&6
10627 case "$GTK_CONFIG" in
10629 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10632 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10635 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10637 for ac_dir
in $ac_dummy; do
10638 test -z "$ac_dir" && ac_dir
=.
10639 if test -f $ac_dir/$ac_word; then
10640 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10645 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10649 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10650 if test -n "$GTK_CONFIG"; then
10651 echo "$ac_t""$GTK_CONFIG" 1>&6
10653 echo "$ac_t""no" 1>&6
10656 min_gtk_version
=1.2.7
10657 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10658 echo "configure:10659: checking for GTK - version >= $min_gtk_version" >&5
10660 if test "$GTK_CONFIG" = "no" ; then
10663 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10664 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10665 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10666 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10667 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10668 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10669 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10670 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10671 if test "x$enable_gtktest" = "xyes" ; then
10672 ac_save_CFLAGS
="$CFLAGS"
10673 ac_save_LIBS
="$LIBS"
10674 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10675 LIBS
="$GTK_LIBS $LIBS"
10677 if test "$cross_compiling" = yes; then
10678 echo $ac_n "cross compiling; assumed OK... $ac_c"
10680 cat > conftest.
$ac_ext <<EOF
10681 #line 10682 "configure"
10682 #include "confdefs.h"
10684 #include <gtk/gtk.h>
10686 #include <stdlib.h>
10691 int major, minor, micro;
10694 system ("touch conf.gtktest");
10696 /* HP/UX 9 (%@#!) writes to sscanf strings */
10697 tmp_version = g_strdup("$min_gtk_version");
10698 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10699 printf("%s, bad version string\n", "$min_gtk_version");
10703 if ((gtk_major_version != $gtk_config_major_version) ||
10704 (gtk_minor_version != $gtk_config_minor_version) ||
10705 (gtk_micro_version != $gtk_config_micro_version))
10707 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10708 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10709 gtk_major_version, gtk_minor_version, gtk_micro_version);
10710 printf ("*** was found! If gtk-config was correct, then it is best\n");
10711 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10712 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10713 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10714 printf("*** required on your system.\n");
10715 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10716 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10717 printf("*** before re-running configure\n");
10719 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10720 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10721 (gtk_minor_version != GTK_MINOR_VERSION) ||
10722 (gtk_micro_version != GTK_MICRO_VERSION))
10724 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10725 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10726 printf("*** library (version %d.%d.%d)\n",
10727 gtk_major_version, gtk_minor_version, gtk_micro_version);
10729 #endif /* defined (GTK_MAJOR_VERSION) ... */
10732 if ((gtk_major_version > major) ||
10733 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10734 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10740 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10741 gtk_major_version, gtk_minor_version, gtk_micro_version);
10742 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10743 major, minor, micro);
10744 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10746 printf("*** If you have already installed a sufficiently new version, this error\n");
10747 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10748 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10749 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10750 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10751 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10752 printf("*** so that the correct libraries are found at run-time))\n");
10759 if { (eval echo configure
:10760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10763 echo "configure: failed program was:" >&5
10764 cat conftest.
$ac_ext >&5
10771 CFLAGS
="$ac_save_CFLAGS"
10772 LIBS
="$ac_save_LIBS"
10775 if test "x$no_gtk" = x
; then
10776 echo "$ac_t""yes" 1>&6
10777 wx_cv_lib_gtk
=1.2.7
10779 echo "$ac_t""no" 1>&6
10780 if test "$GTK_CONFIG" = "no" ; then
10781 echo "*** The gtk-config script installed by GTK could not be found"
10782 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10783 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10784 echo "*** full path to gtk-config."
10786 if test -f conf.gtktest
; then
10789 echo "*** Could not run GTK test program, checking why..."
10790 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10791 LIBS
="$LIBS $GTK_LIBS"
10792 cat > conftest.
$ac_ext <<EOF
10793 #line 10794 "configure"
10794 #include "confdefs.h"
10796 #include <gtk/gtk.h>
10800 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10803 if { (eval echo configure
:10804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10805 echo "*** The test program compiled, but did not run. This usually means"
10806 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10807 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10808 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10809 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10810 echo "*** is required on your system"
10812 echo "*** If you have an old version installed, it is best to remove it, although"
10813 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10815 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10816 echo "*** came with the system with the command"
10818 echo "*** rpm --erase --nodeps gtk gtk-devel"
10820 echo "configure: failed program was:" >&5
10821 cat conftest.
$ac_ext >&5
10823 echo "*** The test program failed to compile or link. See the file config.log for the"
10824 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10825 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10826 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10829 CFLAGS
="$ac_save_CFLAGS"
10830 LIBS
="$ac_save_LIBS"
10843 if test -z "$wx_cv_lib_gtk"; then
10844 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10845 if test "${with_gtk_prefix+set}" = set; then
10846 withval
="$with_gtk_prefix"
10847 gtk_config_prefix
="$withval"
10849 gtk_config_prefix
=""
10852 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10853 if test "${with_gtk_exec_prefix+set}" = set; then
10854 withval
="$with_gtk_exec_prefix"
10855 gtk_config_exec_prefix
="$withval"
10857 gtk_config_exec_prefix
=""
10860 # Check whether --enable-gtktest or --disable-gtktest was given.
10861 if test "${enable_gtktest+set}" = set; then
10862 enableval
="$enable_gtktest"
10869 for module
in .
$GTK_MODULES
10873 gtk_config_args
="$gtk_config_args gthread"
10878 if test x
$gtk_config_exec_prefix != x
; then
10879 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10880 if test x
${GTK_CONFIG+set} != xset
; then
10881 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10884 if test x
$gtk_config_prefix != x
; then
10885 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10886 if test x
${GTK_CONFIG+set} != xset
; then
10887 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10891 # Extract the first word of "gtk-config", so it can be a program name with args.
10892 set dummy gtk
-config; ac_word
=$2
10893 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10894 echo "configure:10895: checking for $ac_word" >&5
10895 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10896 echo $ac_n "(cached) $ac_c" 1>&6
10898 case "$GTK_CONFIG" in
10900 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10903 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10906 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10908 for ac_dir
in $ac_dummy; do
10909 test -z "$ac_dir" && ac_dir
=.
10910 if test -f $ac_dir/$ac_word; then
10911 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10916 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10920 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10921 if test -n "$GTK_CONFIG"; then
10922 echo "$ac_t""$GTK_CONFIG" 1>&6
10924 echo "$ac_t""no" 1>&6
10927 min_gtk_version
=1.2.3
10928 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10929 echo "configure:10930: checking for GTK - version >= $min_gtk_version" >&5
10931 if test "$GTK_CONFIG" = "no" ; then
10934 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10935 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10936 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10938 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10940 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10942 if test "x$enable_gtktest" = "xyes" ; then
10943 ac_save_CFLAGS
="$CFLAGS"
10944 ac_save_LIBS
="$LIBS"
10945 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10946 LIBS
="$GTK_LIBS $LIBS"
10948 if test "$cross_compiling" = yes; then
10949 echo $ac_n "cross compiling; assumed OK... $ac_c"
10951 cat > conftest.
$ac_ext <<EOF
10952 #line 10953 "configure"
10953 #include "confdefs.h"
10955 #include <gtk/gtk.h>
10957 #include <stdlib.h>
10962 int major, minor, micro;
10965 system ("touch conf.gtktest");
10967 /* HP/UX 9 (%@#!) writes to sscanf strings */
10968 tmp_version = g_strdup("$min_gtk_version");
10969 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10970 printf("%s, bad version string\n", "$min_gtk_version");
10974 if ((gtk_major_version != $gtk_config_major_version) ||
10975 (gtk_minor_version != $gtk_config_minor_version) ||
10976 (gtk_micro_version != $gtk_config_micro_version))
10978 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10979 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10980 gtk_major_version, gtk_minor_version, gtk_micro_version);
10981 printf ("*** was found! If gtk-config was correct, then it is best\n");
10982 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10983 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10984 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10985 printf("*** required on your system.\n");
10986 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10987 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10988 printf("*** before re-running configure\n");
10990 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10991 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10992 (gtk_minor_version != GTK_MINOR_VERSION) ||
10993 (gtk_micro_version != GTK_MICRO_VERSION))
10995 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10996 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10997 printf("*** library (version %d.%d.%d)\n",
10998 gtk_major_version, gtk_minor_version, gtk_micro_version);
11000 #endif /* defined (GTK_MAJOR_VERSION) ... */
11003 if ((gtk_major_version > major) ||
11004 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11005 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11011 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11012 gtk_major_version, gtk_minor_version, gtk_micro_version);
11013 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11014 major, minor, micro);
11015 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11017 printf("*** If you have already installed a sufficiently new version, this error\n");
11018 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11019 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11020 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11021 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11022 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11023 printf("*** so that the correct libraries are found at run-time))\n");
11030 if { (eval echo configure
:11031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11034 echo "configure: failed program was:" >&5
11035 cat conftest.
$ac_ext >&5
11042 CFLAGS
="$ac_save_CFLAGS"
11043 LIBS
="$ac_save_LIBS"
11046 if test "x$no_gtk" = x
; then
11047 echo "$ac_t""yes" 1>&6
11048 wx_cv_lib_gtk
=1.2.3
11050 echo "$ac_t""no" 1>&6
11051 if test "$GTK_CONFIG" = "no" ; then
11052 echo "*** The gtk-config script installed by GTK could not be found"
11053 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11054 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11055 echo "*** full path to gtk-config."
11057 if test -f conf.gtktest
; then
11060 echo "*** Could not run GTK test program, checking why..."
11061 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11062 LIBS
="$LIBS $GTK_LIBS"
11063 cat > conftest.
$ac_ext <<EOF
11064 #line 11065 "configure"
11065 #include "confdefs.h"
11067 #include <gtk/gtk.h>
11071 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11074 if { (eval echo configure
:11075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11076 echo "*** The test program compiled, but did not run. This usually means"
11077 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11078 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11079 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11080 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11081 echo "*** is required on your system"
11083 echo "*** If you have an old version installed, it is best to remove it, although"
11084 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11086 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11087 echo "*** came with the system with the command"
11089 echo "*** rpm --erase --nodeps gtk gtk-devel"
11091 echo "configure: failed program was:" >&5
11092 cat conftest.
$ac_ext >&5
11094 echo "*** The test program failed to compile or link. See the file config.log for the"
11095 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11096 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11097 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11100 CFLAGS
="$ac_save_CFLAGS"
11101 LIBS
="$ac_save_LIBS"
11114 if test -z "$wx_cv_lib_gtk"; then
11117 wx_cv_cflags_gtk
=$GTK_CFLAGS
11118 wx_cv_libs_gtk
=$GTK_LIBS
11125 if test "$gtk_version_cached" = 1; then
11126 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11129 case "$wx_cv_lib_gtk" in
11137 *) { echo "configure: error:
11138 Please check that gtk-config is in path, the directory
11139 where GTK+ libraries are installed (returned by
11140 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11141 equivalent variable and GTK+ is version 1.2.3 or above.
11146 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
11147 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
11149 AFMINSTALL
=afminstall
11153 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11154 echo "configure:11155: checking for gdk_im_open in -lgdk" >&5
11155 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11156 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11157 echo $ac_n "(cached) $ac_c" 1>&6
11159 ac_save_LIBS
="$LIBS"
11161 cat > conftest.
$ac_ext <<EOF
11162 #line 11163 "configure"
11163 #include "confdefs.h"
11164 /* Override any gcc2 internal prototype to avoid an error. */
11165 /* We use char because int might match the return type of a gcc2
11166 builtin and then its argument prototype would still apply. */
11167 char gdk_im_open();
11173 if { (eval echo configure
:11174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11175 eval "ac_cv_lib_$ac_lib_var=yes"
11177 echo "configure: failed program was:" >&5
11178 cat conftest.
$ac_ext >&5
11180 eval "ac_cv_lib_$ac_lib_var=no"
11183 LIBS
="$ac_save_LIBS"
11186 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11187 echo "$ac_t""yes" 1>&6
11188 cat >> confdefs.h
<<\EOF
11193 echo "$ac_t""no" 1>&6
11198 if test "$wxUSE_MGL" = 1; then
11199 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11200 echo "configure:11201: checking for SciTech MGL library" >&5
11201 if test "x$MGL_ROOT" = x
; then
11202 echo "$ac_t""not found" 1>&6
11203 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11205 echo "$ac_t""$MGL_ROOT" 1>&6
11210 mgl_os
=linux
/gcc
/glibc
11216 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11221 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11222 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11223 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11227 if test "x$mgl_lib_type" = x
; then
11228 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11229 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11230 mgl_lib_type
=release
11232 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11236 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11237 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11239 AFMINSTALL
=afminstall
11244 if test "$wxUSE_MICROWIN" = 1; then
11245 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11246 echo "configure:11247: checking for MicroWindows" >&5
11247 if test "x$MICROWINDOWS" = x
; then
11248 echo "$ac_t""not found" 1>&6
11249 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11251 echo "$ac_t""$MICROWINDOWS" 1>&6
11254 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11255 echo "$ac_t""MicroWindows' libraries found." 1>&6
11257 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11260 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11261 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11263 AFMINSTALL
=afminstall
11265 GUIDIST
=MICROWIN_DIST
11267 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11270 if test "$wxUSE_X11" = 1; then
11271 # If we find X, set shell vars x_includes and x_libraries to the
11272 # paths, otherwise set no_x=yes.
11273 # Uses ac_ vars as temps to allow command line to override cache and checks.
11274 # --without-x overrides everything else, but does not touch the cache.
11275 echo $ac_n "checking for X""... $ac_c" 1>&6
11276 echo "configure:11277: checking for X" >&5
11278 # Check whether --with-x or --without-x was given.
11279 if test "${with_x+set}" = set; then
11284 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11285 if test "x$with_x" = xno
; then
11286 # The user explicitly disabled X.
11289 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11290 # Both variables are already set.
11293 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11294 echo $ac_n "(cached) $ac_c" 1>&6
11296 # One or both of the vars are not set, and there is no cached value.
11297 ac_x_includes
=NO ac_x_libraries
=NO
11299 if mkdir conftestdir
; then
11301 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11302 cat > Imakefile
<<'EOF'
11304 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11306 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11307 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11308 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11309 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11310 for ac_extension
in a so sl
; do
11311 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11312 test -f $ac_im_libdir/libX11.
$ac_extension; then
11313 ac_im_usrlibdir
=$ac_im_libdir; break
11316 # Screen out bogus values from the imake configuration. They are
11317 # bogus both because they are the default anyway, and because
11318 # using them would break gcc on systems where it needs fixed includes.
11319 case "$ac_im_incroot" in
11321 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11323 case "$ac_im_usrlibdir" in
11324 /usr
/lib
| /lib
) ;;
11325 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11332 if test "$ac_x_includes" = NO
; then
11333 # Guess where to find include files, by looking for this one X11 .h file.
11334 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11336 # First, try using that file with no special directory specified.
11337 cat > conftest.
$ac_ext <<EOF
11338 #line 11339 "configure"
11339 #include "confdefs.h"
11340 #include <$x_direct_test_include>
11342 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11343 { (eval echo configure
:11344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11344 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11345 if test -z "$ac_err"; then
11347 # We can compile using X headers with no special include directory.
11351 echo "configure: failed program was:" >&5
11352 cat conftest.
$ac_ext >&5
11354 # Look for the header file in a standard set of common directories.
11355 # Check X11 before X11Rn because it is often a symlink to the current release.
11358 /usr
/X
11R
6/include \
11359 /usr
/X
11R
5/include \
11360 /usr
/X
11R
4/include \
11363 /usr
/include
/X11R6 \
11364 /usr
/include
/X11R5 \
11365 /usr
/include
/X11R4 \
11367 /usr
/local
/X
11/include \
11368 /usr
/local
/X
11R
6/include \
11369 /usr
/local
/X
11R
5/include \
11370 /usr
/local
/X
11R
4/include \
11372 /usr
/local
/include
/X11 \
11373 /usr
/local
/include
/X11R6 \
11374 /usr
/local
/include
/X11R5 \
11375 /usr
/local
/include
/X11R4 \
11377 /usr
/X
386/include \
11378 /usr
/x
386/include \
11379 /usr
/XFree
86/include
/X11 \
11382 /usr
/local
/include \
11383 /usr
/unsupported
/include \
11384 /usr
/athena
/include \
11385 /usr
/local
/x
11r
5/include \
11386 /usr
/lpp
/Xamples
/include \
11388 /usr
/openwin
/include \
11389 /usr
/openwin
/share
/include \
11392 if test -r "$ac_dir/$x_direct_test_include"; then
11393 ac_x_includes
=$ac_dir
11399 fi # $ac_x_includes = NO
11401 if test "$ac_x_libraries" = NO
; then
11402 # Check for the libraries.
11404 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11405 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11407 # See if we find them without any special options.
11408 # Don't add to $LIBS permanently.
11409 ac_save_LIBS
="$LIBS"
11410 LIBS
="-l$x_direct_test_library $LIBS"
11411 cat > conftest.
$ac_ext <<EOF
11412 #line 11413 "configure"
11413 #include "confdefs.h"
11416 ${x_direct_test_function}()
11419 if { (eval echo configure
:11420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11421 LIBS
="$ac_save_LIBS"
11422 # We can link X programs with no special library path.
11425 echo "configure: failed program was:" >&5
11426 cat conftest.
$ac_ext >&5
11428 LIBS
="$ac_save_LIBS"
11429 # First see if replacing the include by lib works.
11430 # Check X11 before X11Rn because it is often a symlink to the current release.
11431 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11442 /usr
/local
/X
11/lib \
11443 /usr
/local
/X
11R
6/lib \
11444 /usr
/local
/X
11R
5/lib \
11445 /usr
/local
/X
11R
4/lib \
11447 /usr
/local
/lib
/X11 \
11448 /usr
/local
/lib
/X11R6 \
11449 /usr
/local
/lib
/X11R5 \
11450 /usr
/local
/lib
/X11R4 \
11454 /usr
/XFree
86/lib
/X11 \
11458 /usr
/unsupported
/lib \
11460 /usr
/local
/x
11r
5/lib \
11461 /usr
/lpp
/Xamples
/lib \
11465 /usr
/openwin
/share
/lib \
11468 for ac_extension
in a so sl
; do
11469 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11470 ac_x_libraries
=$ac_dir
11477 fi # $ac_x_libraries = NO
11479 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11480 # Didn't find X anywhere. Cache the known absence of X.
11481 ac_cv_have_x
="have_x=no"
11483 # Record where we found X for the cache.
11484 ac_cv_have_x
="have_x=yes \
11485 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11489 eval "$ac_cv_have_x"
11492 if test "$have_x" != yes; then
11493 echo "$ac_t""$have_x" 1>&6
11496 # If each of the values was on the command line, it overrides each guess.
11497 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11498 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11499 # Update the cache value to reflect the command line values.
11500 ac_cv_have_x
="have_x=yes \
11501 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11502 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11505 if test "$no_x" = yes; then
11506 # Not all programs may use this symbol, but it does not hurt to define it.
11507 cat >> confdefs.h
<<\EOF
11508 #define X_DISPLAY_MISSING 1
11511 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11513 if test -n "$x_includes"; then
11514 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11517 # It would also be nice to do this for all -L options, not just this one.
11518 if test -n "$x_libraries"; then
11519 X_LIBS
="$X_LIBS -L$x_libraries"
11520 # For Solaris; some versions of Sun CC require a space after -R and
11521 # others require no space. Words are not sufficient . . . .
11522 case "`(uname -sr) 2>/dev/null`" in
11524 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11525 echo "configure:11526: checking whether -R must be followed by a space" >&5
11526 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11527 cat > conftest.
$ac_ext <<EOF
11528 #line 11529 "configure"
11529 #include "confdefs.h"
11535 if { (eval echo configure
:11536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11539 echo "configure: failed program was:" >&5
11540 cat conftest.
$ac_ext >&5
11545 if test $ac_R_nospace = yes; then
11546 echo "$ac_t""no" 1>&6
11547 X_LIBS
="$X_LIBS -R$x_libraries"
11549 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11550 cat > conftest.
$ac_ext <<EOF
11551 #line 11552 "configure"
11552 #include "confdefs.h"
11558 if { (eval echo configure
:11559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11562 echo "configure: failed program was:" >&5
11563 cat conftest.
$ac_ext >&5
11568 if test $ac_R_space = yes; then
11569 echo "$ac_t""yes" 1>&6
11570 X_LIBS
="$X_LIBS -R $x_libraries"
11572 echo "$ac_t""neither works" 1>&6
11575 LIBS
="$ac_xsave_LIBS"
11579 # Check for system-dependent libraries X programs must link with.
11580 # Do this before checking for the system-independent R6 libraries
11581 # (-lICE), since we may need -lsocket or whatever for X linking.
11583 if test "$ISC" = yes; then
11584 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11586 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11587 # libraries were built with DECnet support. And karl@cs.umb.edu says
11588 # the Alpha needs dnet_stub (dnet does not exist).
11589 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11590 echo "configure:11591: checking for dnet_ntoa in -ldnet" >&5
11591 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11592 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11593 echo $ac_n "(cached) $ac_c" 1>&6
11595 ac_save_LIBS
="$LIBS"
11596 LIBS
="-ldnet $LIBS"
11597 cat > conftest.
$ac_ext <<EOF
11598 #line 11599 "configure"
11599 #include "confdefs.h"
11600 /* Override any gcc2 internal prototype to avoid an error. */
11601 /* We use char because int might match the return type of a gcc2
11602 builtin and then its argument prototype would still apply. */
11609 if { (eval echo configure
:11610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11611 eval "ac_cv_lib_$ac_lib_var=yes"
11613 echo "configure: failed program was:" >&5
11614 cat conftest.
$ac_ext >&5
11616 eval "ac_cv_lib_$ac_lib_var=no"
11619 LIBS
="$ac_save_LIBS"
11622 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11623 echo "$ac_t""yes" 1>&6
11624 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11626 echo "$ac_t""no" 1>&6
11629 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11630 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11631 echo "configure:11632: checking for dnet_ntoa in -ldnet_stub" >&5
11632 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11633 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11634 echo $ac_n "(cached) $ac_c" 1>&6
11636 ac_save_LIBS
="$LIBS"
11637 LIBS
="-ldnet_stub $LIBS"
11638 cat > conftest.
$ac_ext <<EOF
11639 #line 11640 "configure"
11640 #include "confdefs.h"
11641 /* Override any gcc2 internal prototype to avoid an error. */
11642 /* We use char because int might match the return type of a gcc2
11643 builtin and then its argument prototype would still apply. */
11650 if { (eval echo configure
:11651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11652 eval "ac_cv_lib_$ac_lib_var=yes"
11654 echo "configure: failed program was:" >&5
11655 cat conftest.
$ac_ext >&5
11657 eval "ac_cv_lib_$ac_lib_var=no"
11660 LIBS
="$ac_save_LIBS"
11663 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11664 echo "$ac_t""yes" 1>&6
11665 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11667 echo "$ac_t""no" 1>&6
11672 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11673 # to get the SysV transport functions.
11674 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11676 # The nsl library prevents programs from opening the X display
11677 # on Irix 5.2, according to dickey@clark.net.
11678 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11679 echo "configure:11680: checking for gethostbyname" >&5
11680 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11681 echo $ac_n "(cached) $ac_c" 1>&6
11683 cat > conftest.
$ac_ext <<EOF
11684 #line 11685 "configure"
11685 #include "confdefs.h"
11686 /* System header to define __stub macros and hopefully few prototypes,
11687 which can conflict with char gethostbyname(); below. */
11688 #include <assert.h>
11689 /* Override any gcc2 internal prototype to avoid an error. */
11690 /* We use char because int might match the return type of a gcc2
11691 builtin and then its argument prototype would still apply. */
11692 char gethostbyname();
11696 /* The GNU C library defines this for functions which it implements
11697 to always fail with ENOSYS. Some functions are actually named
11698 something starting with __ and the normal name is an alias. */
11699 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11707 if { (eval echo configure
:11708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11709 eval "ac_cv_func_gethostbyname=yes"
11711 echo "configure: failed program was:" >&5
11712 cat conftest.
$ac_ext >&5
11714 eval "ac_cv_func_gethostbyname=no"
11719 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11720 echo "$ac_t""yes" 1>&6
11723 echo "$ac_t""no" 1>&6
11726 if test $ac_cv_func_gethostbyname = no
; then
11727 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11728 echo "configure:11729: checking for gethostbyname in -lnsl" >&5
11729 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11730 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11731 echo $ac_n "(cached) $ac_c" 1>&6
11733 ac_save_LIBS
="$LIBS"
11735 cat > conftest.
$ac_ext <<EOF
11736 #line 11737 "configure"
11737 #include "confdefs.h"
11738 /* Override any gcc2 internal prototype to avoid an error. */
11739 /* We use char because int might match the return type of a gcc2
11740 builtin and then its argument prototype would still apply. */
11741 char gethostbyname();
11747 if { (eval echo configure
:11748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11749 eval "ac_cv_lib_$ac_lib_var=yes"
11751 echo "configure: failed program was:" >&5
11752 cat conftest.
$ac_ext >&5
11754 eval "ac_cv_lib_$ac_lib_var=no"
11757 LIBS
="$ac_save_LIBS"
11760 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11761 echo "$ac_t""yes" 1>&6
11762 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11764 echo "$ac_t""no" 1>&6
11769 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11770 # socket/setsockopt and other routines are undefined under SCO ODT
11771 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11772 # on later versions), says simon@lia.di.epfl.ch: it contains
11773 # gethostby* variants that don't use the nameserver (or something).
11774 # -lsocket must be given before -lnsl if both are needed.
11775 # We assume that if connect needs -lnsl, so does gethostbyname.
11776 echo $ac_n "checking for connect""... $ac_c" 1>&6
11777 echo "configure:11778: checking for connect" >&5
11778 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11779 echo $ac_n "(cached) $ac_c" 1>&6
11781 cat > conftest.
$ac_ext <<EOF
11782 #line 11783 "configure"
11783 #include "confdefs.h"
11784 /* System header to define __stub macros and hopefully few prototypes,
11785 which can conflict with char connect(); below. */
11786 #include <assert.h>
11787 /* Override any gcc2 internal prototype to avoid an error. */
11788 /* We use char because int might match the return type of a gcc2
11789 builtin and then its argument prototype would still apply. */
11794 /* The GNU C library defines this for functions which it implements
11795 to always fail with ENOSYS. Some functions are actually named
11796 something starting with __ and the normal name is an alias. */
11797 #if defined (__stub_connect) || defined (__stub___connect)
11805 if { (eval echo configure
:11806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11807 eval "ac_cv_func_connect=yes"
11809 echo "configure: failed program was:" >&5
11810 cat conftest.
$ac_ext >&5
11812 eval "ac_cv_func_connect=no"
11817 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11818 echo "$ac_t""yes" 1>&6
11821 echo "$ac_t""no" 1>&6
11824 if test $ac_cv_func_connect = no
; then
11825 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11826 echo "configure:11827: checking for connect in -lsocket" >&5
11827 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11828 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11829 echo $ac_n "(cached) $ac_c" 1>&6
11831 ac_save_LIBS
="$LIBS"
11832 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11833 cat > conftest.
$ac_ext <<EOF
11834 #line 11835 "configure"
11835 #include "confdefs.h"
11836 /* Override any gcc2 internal prototype to avoid an error. */
11837 /* We use char because int might match the return type of a gcc2
11838 builtin and then its argument prototype would still apply. */
11845 if { (eval echo configure
:11846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11847 eval "ac_cv_lib_$ac_lib_var=yes"
11849 echo "configure: failed program was:" >&5
11850 cat conftest.
$ac_ext >&5
11852 eval "ac_cv_lib_$ac_lib_var=no"
11855 LIBS
="$ac_save_LIBS"
11858 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11859 echo "$ac_t""yes" 1>&6
11860 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11862 echo "$ac_t""no" 1>&6
11867 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11868 echo $ac_n "checking for remove""... $ac_c" 1>&6
11869 echo "configure:11870: checking for remove" >&5
11870 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11871 echo $ac_n "(cached) $ac_c" 1>&6
11873 cat > conftest.
$ac_ext <<EOF
11874 #line 11875 "configure"
11875 #include "confdefs.h"
11876 /* System header to define __stub macros and hopefully few prototypes,
11877 which can conflict with char remove(); below. */
11878 #include <assert.h>
11879 /* Override any gcc2 internal prototype to avoid an error. */
11880 /* We use char because int might match the return type of a gcc2
11881 builtin and then its argument prototype would still apply. */
11886 /* The GNU C library defines this for functions which it implements
11887 to always fail with ENOSYS. Some functions are actually named
11888 something starting with __ and the normal name is an alias. */
11889 #if defined (__stub_remove) || defined (__stub___remove)
11897 if { (eval echo configure
:11898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11899 eval "ac_cv_func_remove=yes"
11901 echo "configure: failed program was:" >&5
11902 cat conftest.
$ac_ext >&5
11904 eval "ac_cv_func_remove=no"
11909 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11910 echo "$ac_t""yes" 1>&6
11913 echo "$ac_t""no" 1>&6
11916 if test $ac_cv_func_remove = no
; then
11917 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11918 echo "configure:11919: checking for remove in -lposix" >&5
11919 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11920 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11921 echo $ac_n "(cached) $ac_c" 1>&6
11923 ac_save_LIBS
="$LIBS"
11924 LIBS
="-lposix $LIBS"
11925 cat > conftest.
$ac_ext <<EOF
11926 #line 11927 "configure"
11927 #include "confdefs.h"
11928 /* Override any gcc2 internal prototype to avoid an error. */
11929 /* We use char because int might match the return type of a gcc2
11930 builtin and then its argument prototype would still apply. */
11937 if { (eval echo configure
:11938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11939 eval "ac_cv_lib_$ac_lib_var=yes"
11941 echo "configure: failed program was:" >&5
11942 cat conftest.
$ac_ext >&5
11944 eval "ac_cv_lib_$ac_lib_var=no"
11947 LIBS
="$ac_save_LIBS"
11950 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11951 echo "$ac_t""yes" 1>&6
11952 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11954 echo "$ac_t""no" 1>&6
11959 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11960 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11961 echo "configure:11962: checking for shmat" >&5
11962 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11963 echo $ac_n "(cached) $ac_c" 1>&6
11965 cat > conftest.
$ac_ext <<EOF
11966 #line 11967 "configure"
11967 #include "confdefs.h"
11968 /* System header to define __stub macros and hopefully few prototypes,
11969 which can conflict with char shmat(); below. */
11970 #include <assert.h>
11971 /* Override any gcc2 internal prototype to avoid an error. */
11972 /* We use char because int might match the return type of a gcc2
11973 builtin and then its argument prototype would still apply. */
11978 /* The GNU C library defines this for functions which it implements
11979 to always fail with ENOSYS. Some functions are actually named
11980 something starting with __ and the normal name is an alias. */
11981 #if defined (__stub_shmat) || defined (__stub___shmat)
11989 if { (eval echo configure
:11990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11991 eval "ac_cv_func_shmat=yes"
11993 echo "configure: failed program was:" >&5
11994 cat conftest.
$ac_ext >&5
11996 eval "ac_cv_func_shmat=no"
12001 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12002 echo "$ac_t""yes" 1>&6
12005 echo "$ac_t""no" 1>&6
12008 if test $ac_cv_func_shmat = no
; then
12009 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12010 echo "configure:12011: checking for shmat in -lipc" >&5
12011 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12012 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12013 echo $ac_n "(cached) $ac_c" 1>&6
12015 ac_save_LIBS
="$LIBS"
12017 cat > conftest.
$ac_ext <<EOF
12018 #line 12019 "configure"
12019 #include "confdefs.h"
12020 /* Override any gcc2 internal prototype to avoid an error. */
12021 /* We use char because int might match the return type of a gcc2
12022 builtin and then its argument prototype would still apply. */
12029 if { (eval echo configure
:12030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12031 eval "ac_cv_lib_$ac_lib_var=yes"
12033 echo "configure: failed program was:" >&5
12034 cat conftest.
$ac_ext >&5
12036 eval "ac_cv_lib_$ac_lib_var=no"
12039 LIBS
="$ac_save_LIBS"
12042 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12043 echo "$ac_t""yes" 1>&6
12044 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12046 echo "$ac_t""no" 1>&6
12052 # Check for libraries that X11R6 Xt/Xaw programs need.
12053 ac_save_LDFLAGS
="$LDFLAGS"
12054 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12055 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12056 # check for ICE first), but we must link in the order -lSM -lICE or
12057 # we get undefined symbols. So assume we have SM if we have ICE.
12058 # These have to be linked with before -lX11, unlike the other
12059 # libraries we check for below, so use a different variable.
12060 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12061 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12062 echo "configure:12063: checking for IceConnectionNumber in -lICE" >&5
12063 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12064 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12065 echo $ac_n "(cached) $ac_c" 1>&6
12067 ac_save_LIBS
="$LIBS"
12068 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12069 cat > conftest.
$ac_ext <<EOF
12070 #line 12071 "configure"
12071 #include "confdefs.h"
12072 /* Override any gcc2 internal prototype to avoid an error. */
12073 /* We use char because int might match the return type of a gcc2
12074 builtin and then its argument prototype would still apply. */
12075 char IceConnectionNumber();
12078 IceConnectionNumber()
12081 if { (eval echo configure
:12082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12083 eval "ac_cv_lib_$ac_lib_var=yes"
12085 echo "configure: failed program was:" >&5
12086 cat conftest.
$ac_ext >&5
12088 eval "ac_cv_lib_$ac_lib_var=no"
12091 LIBS
="$ac_save_LIBS"
12094 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12095 echo "$ac_t""yes" 1>&6
12096 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12098 echo "$ac_t""no" 1>&6
12101 LDFLAGS
="$ac_save_LDFLAGS"
12106 if test "$no_x" = "yes"; then
12107 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12110 GUI_TK_LIBRARY
="$X_LIBS"
12111 TOOLKIT_INCLUDE
="$X_CFLAGS"
12112 AFMINSTALL
=afminstall
12113 COMPILED_X_PROGRAM
=0
12116 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12117 echo "configure:12118: checking for Xpm library" >&5
12120 for ac_dir
in $SEARCH_LIB;
12122 for ac_extension
in a so sl dylib
; do
12123 if test -f "$ac_dir/libXpm.$ac_extension"; then
12124 ac_find_libraries
=$ac_dir
12130 if test "$ac_find_libraries" != "" ; then
12132 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12134 if test $result = 0; then
12137 ac_path_to_link
=" -L$ac_find_libraries"
12140 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12142 cat >> confdefs.h
<<\EOF
12143 #define wxHAVE_LIB_XPM 1
12146 echo "$ac_t""found at $ac_find_libraries" 1>&6
12148 cat > conftest.
$ac_ext <<EOF
12149 #line 12150 "configure"
12150 #include "confdefs.h"
12152 #include <X11/xpm.h>
12157 version = XpmLibraryVersion();
12161 if { (eval echo configure
:12162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12165 cat >> confdefs.h
<<\EOF
12166 #define wxHAVE_LIB_XPM 1
12169 echo "$ac_t""found in default search path" 1>&6
12170 COMPILED_X_PROGRAM
=0
12173 echo "configure: failed program was:" >&5
12174 cat conftest.
$ac_ext >&5
12177 echo "$ac_t""no" 1>&6
12178 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12185 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext -lXt -lX11"
12186 TOOLKIT_VPATH
="\${top_srcdir}/src/x11 \${top_srcdir}/src/univ \${top_srcdir}/src/univ/themes"
12189 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
12192 if test "$wxUSE_WINE" = 1; then
12193 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12194 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12195 echo "configure:12196: checking for windows.h" >&5
12196 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12197 echo $ac_n "(cached) $ac_c" 1>&6
12199 cat > conftest.
$ac_ext <<EOF
12200 #line 12201 "configure"
12201 #include "confdefs.h"
12202 #include <windows.h>
12204 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12205 { (eval echo configure
:12206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12206 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12207 if test -z "$ac_err"; then
12209 eval "ac_cv_header_$ac_safe=yes"
12212 echo "configure: failed program was:" >&5
12213 cat conftest.
$ac_ext >&5
12215 eval "ac_cv_header_$ac_safe=no"
12219 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12220 echo "$ac_t""yes" 1>&6
12223 echo "$ac_t""no" 1>&6
12225 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12231 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12232 echo "configure:12233: checking for Xpm library" >&5
12235 for ac_dir
in $SEARCH_LIB;
12237 for ac_extension
in a so sl dylib
; do
12238 if test -f "$ac_dir/libXpm.$ac_extension"; then
12239 ac_find_libraries
=$ac_dir
12245 if test "$ac_find_libraries" != "" ; then
12246 GUI_TK_LIBRARY
="-L$ac_find_libraries"
12248 cat >> confdefs.h
<<\EOF
12249 #define wxHAVE_LIB_XPM 1
12252 echo "$ac_t""found at $ac_find_libraries" 1>&6
12254 echo "$ac_t""no" 1>&6
12255 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12259 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
12260 echo "configure:12261: checking for Mesa library" >&5
12263 for ac_dir
in $SEARCH_LIB;
12265 for ac_extension
in a so sl dylib
; do
12266 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12267 ac_find_libraries
=$ac_dir
12273 if test "$ac_find_libraries" != "" ; then
12274 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
12275 mesa_link
=" -lMesaGL"
12276 echo "$ac_t""found at $ac_find_libraries" 1>&6
12278 { echo "configure: error: no" 1>&2; exit 1; }
12281 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
12284 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
12287 if test "$wxUSE_MOTIF" = 1; then
12288 if test "$no_x" = yes; then
12289 # Not all programs may use this symbol, but it does not hurt to define it.
12290 cat >> confdefs.h
<<\EOF
12291 #define X_DISPLAY_MISSING 1
12294 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12296 if test -n "$x_includes"; then
12297 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12300 # It would also be nice to do this for all -L options, not just this one.
12301 if test -n "$x_libraries"; then
12302 X_LIBS
="$X_LIBS -L$x_libraries"
12303 # For Solaris; some versions of Sun CC require a space after -R and
12304 # others require no space. Words are not sufficient . . . .
12305 case "`(uname -sr) 2>/dev/null`" in
12307 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12308 echo "configure:12309: checking whether -R must be followed by a space" >&5
12309 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12310 cat > conftest.
$ac_ext <<EOF
12311 #line 12312 "configure"
12312 #include "confdefs.h"
12318 if { (eval echo configure
:12319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12322 echo "configure: failed program was:" >&5
12323 cat conftest.
$ac_ext >&5
12328 if test $ac_R_nospace = yes; then
12329 echo "$ac_t""no" 1>&6
12330 X_LIBS
="$X_LIBS -R$x_libraries"
12332 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12333 cat > conftest.
$ac_ext <<EOF
12334 #line 12335 "configure"
12335 #include "confdefs.h"
12341 if { (eval echo configure
:12342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12345 echo "configure: failed program was:" >&5
12346 cat conftest.
$ac_ext >&5
12351 if test $ac_R_space = yes; then
12352 echo "$ac_t""yes" 1>&6
12353 X_LIBS
="$X_LIBS -R $x_libraries"
12355 echo "$ac_t""neither works" 1>&6
12358 LIBS
="$ac_xsave_LIBS"
12362 # Check for system-dependent libraries X programs must link with.
12363 # Do this before checking for the system-independent R6 libraries
12364 # (-lICE), since we may need -lsocket or whatever for X linking.
12366 if test "$ISC" = yes; then
12367 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
12369 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
12370 # libraries were built with DECnet support. And karl@cs.umb.edu says
12371 # the Alpha needs dnet_stub (dnet does not exist).
12372 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
12373 echo "configure:12374: checking for dnet_ntoa in -ldnet" >&5
12374 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12375 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12376 echo $ac_n "(cached) $ac_c" 1>&6
12378 ac_save_LIBS
="$LIBS"
12379 LIBS
="-ldnet $LIBS"
12380 cat > conftest.
$ac_ext <<EOF
12381 #line 12382 "configure"
12382 #include "confdefs.h"
12383 /* Override any gcc2 internal prototype to avoid an error. */
12384 /* We use char because int might match the return type of a gcc2
12385 builtin and then its argument prototype would still apply. */
12392 if { (eval echo configure
:12393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12394 eval "ac_cv_lib_$ac_lib_var=yes"
12396 echo "configure: failed program was:" >&5
12397 cat conftest.
$ac_ext >&5
12399 eval "ac_cv_lib_$ac_lib_var=no"
12402 LIBS
="$ac_save_LIBS"
12405 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12406 echo "$ac_t""yes" 1>&6
12407 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
12409 echo "$ac_t""no" 1>&6
12412 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
12413 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
12414 echo "configure:12415: checking for dnet_ntoa in -ldnet_stub" >&5
12415 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12416 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12417 echo $ac_n "(cached) $ac_c" 1>&6
12419 ac_save_LIBS
="$LIBS"
12420 LIBS
="-ldnet_stub $LIBS"
12421 cat > conftest.
$ac_ext <<EOF
12422 #line 12423 "configure"
12423 #include "confdefs.h"
12424 /* Override any gcc2 internal prototype to avoid an error. */
12425 /* We use char because int might match the return type of a gcc2
12426 builtin and then its argument prototype would still apply. */
12433 if { (eval echo configure
:12434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12435 eval "ac_cv_lib_$ac_lib_var=yes"
12437 echo "configure: failed program was:" >&5
12438 cat conftest.
$ac_ext >&5
12440 eval "ac_cv_lib_$ac_lib_var=no"
12443 LIBS
="$ac_save_LIBS"
12446 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12447 echo "$ac_t""yes" 1>&6
12448 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
12450 echo "$ac_t""no" 1>&6
12455 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12456 # to get the SysV transport functions.
12457 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
12459 # The nsl library prevents programs from opening the X display
12460 # on Irix 5.2, according to dickey@clark.net.
12461 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
12462 echo "configure:12463: checking for gethostbyname" >&5
12463 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
12464 echo $ac_n "(cached) $ac_c" 1>&6
12466 cat > conftest.
$ac_ext <<EOF
12467 #line 12468 "configure"
12468 #include "confdefs.h"
12469 /* System header to define __stub macros and hopefully few prototypes,
12470 which can conflict with char gethostbyname(); below. */
12471 #include <assert.h>
12472 /* Override any gcc2 internal prototype to avoid an error. */
12473 /* We use char because int might match the return type of a gcc2
12474 builtin and then its argument prototype would still apply. */
12475 char gethostbyname();
12479 /* The GNU C library defines this for functions which it implements
12480 to always fail with ENOSYS. Some functions are actually named
12481 something starting with __ and the normal name is an alias. */
12482 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
12490 if { (eval echo configure
:12491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12492 eval "ac_cv_func_gethostbyname=yes"
12494 echo "configure: failed program was:" >&5
12495 cat conftest.
$ac_ext >&5
12497 eval "ac_cv_func_gethostbyname=no"
12502 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
12503 echo "$ac_t""yes" 1>&6
12506 echo "$ac_t""no" 1>&6
12509 if test $ac_cv_func_gethostbyname = no
; then
12510 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
12511 echo "configure:12512: checking for gethostbyname in -lnsl" >&5
12512 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
12513 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12514 echo $ac_n "(cached) $ac_c" 1>&6
12516 ac_save_LIBS
="$LIBS"
12518 cat > conftest.
$ac_ext <<EOF
12519 #line 12520 "configure"
12520 #include "confdefs.h"
12521 /* Override any gcc2 internal prototype to avoid an error. */
12522 /* We use char because int might match the return type of a gcc2
12523 builtin and then its argument prototype would still apply. */
12524 char gethostbyname();
12530 if { (eval echo configure
:12531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12532 eval "ac_cv_lib_$ac_lib_var=yes"
12534 echo "configure: failed program was:" >&5
12535 cat conftest.
$ac_ext >&5
12537 eval "ac_cv_lib_$ac_lib_var=no"
12540 LIBS
="$ac_save_LIBS"
12543 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12544 echo "$ac_t""yes" 1>&6
12545 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
12547 echo "$ac_t""no" 1>&6
12552 # lieder@skyler.mavd.honeywell.com says without -lsocket,
12553 # socket/setsockopt and other routines are undefined under SCO ODT
12554 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
12555 # on later versions), says simon@lia.di.epfl.ch: it contains
12556 # gethostby* variants that don't use the nameserver (or something).
12557 # -lsocket must be given before -lnsl if both are needed.
12558 # We assume that if connect needs -lnsl, so does gethostbyname.
12559 echo $ac_n "checking for connect""... $ac_c" 1>&6
12560 echo "configure:12561: checking for connect" >&5
12561 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
12562 echo $ac_n "(cached) $ac_c" 1>&6
12564 cat > conftest.
$ac_ext <<EOF
12565 #line 12566 "configure"
12566 #include "confdefs.h"
12567 /* System header to define __stub macros and hopefully few prototypes,
12568 which can conflict with char connect(); below. */
12569 #include <assert.h>
12570 /* Override any gcc2 internal prototype to avoid an error. */
12571 /* We use char because int might match the return type of a gcc2
12572 builtin and then its argument prototype would still apply. */
12577 /* The GNU C library defines this for functions which it implements
12578 to always fail with ENOSYS. Some functions are actually named
12579 something starting with __ and the normal name is an alias. */
12580 #if defined (__stub_connect) || defined (__stub___connect)
12588 if { (eval echo configure
:12589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12590 eval "ac_cv_func_connect=yes"
12592 echo "configure: failed program was:" >&5
12593 cat conftest.
$ac_ext >&5
12595 eval "ac_cv_func_connect=no"
12600 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
12601 echo "$ac_t""yes" 1>&6
12604 echo "$ac_t""no" 1>&6
12607 if test $ac_cv_func_connect = no
; then
12608 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12609 echo "configure:12610: checking for connect in -lsocket" >&5
12610 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12611 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12612 echo $ac_n "(cached) $ac_c" 1>&6
12614 ac_save_LIBS
="$LIBS"
12615 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
12616 cat > conftest.
$ac_ext <<EOF
12617 #line 12618 "configure"
12618 #include "confdefs.h"
12619 /* Override any gcc2 internal prototype to avoid an error. */
12620 /* We use char because int might match the return type of a gcc2
12621 builtin and then its argument prototype would still apply. */
12628 if { (eval echo configure
:12629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12630 eval "ac_cv_lib_$ac_lib_var=yes"
12632 echo "configure: failed program was:" >&5
12633 cat conftest.
$ac_ext >&5
12635 eval "ac_cv_lib_$ac_lib_var=no"
12638 LIBS
="$ac_save_LIBS"
12641 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12642 echo "$ac_t""yes" 1>&6
12643 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
12645 echo "$ac_t""no" 1>&6
12650 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12651 echo $ac_n "checking for remove""... $ac_c" 1>&6
12652 echo "configure:12653: checking for remove" >&5
12653 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12654 echo $ac_n "(cached) $ac_c" 1>&6
12656 cat > conftest.
$ac_ext <<EOF
12657 #line 12658 "configure"
12658 #include "confdefs.h"
12659 /* System header to define __stub macros and hopefully few prototypes,
12660 which can conflict with char remove(); below. */
12661 #include <assert.h>
12662 /* Override any gcc2 internal prototype to avoid an error. */
12663 /* We use char because int might match the return type of a gcc2
12664 builtin and then its argument prototype would still apply. */
12669 /* The GNU C library defines this for functions which it implements
12670 to always fail with ENOSYS. Some functions are actually named
12671 something starting with __ and the normal name is an alias. */
12672 #if defined (__stub_remove) || defined (__stub___remove)
12680 if { (eval echo configure
:12681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12682 eval "ac_cv_func_remove=yes"
12684 echo "configure: failed program was:" >&5
12685 cat conftest.
$ac_ext >&5
12687 eval "ac_cv_func_remove=no"
12692 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12693 echo "$ac_t""yes" 1>&6
12696 echo "$ac_t""no" 1>&6
12699 if test $ac_cv_func_remove = no
; then
12700 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12701 echo "configure:12702: checking for remove in -lposix" >&5
12702 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12703 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12704 echo $ac_n "(cached) $ac_c" 1>&6
12706 ac_save_LIBS
="$LIBS"
12707 LIBS
="-lposix $LIBS"
12708 cat > conftest.
$ac_ext <<EOF
12709 #line 12710 "configure"
12710 #include "confdefs.h"
12711 /* Override any gcc2 internal prototype to avoid an error. */
12712 /* We use char because int might match the return type of a gcc2
12713 builtin and then its argument prototype would still apply. */
12720 if { (eval echo configure
:12721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12722 eval "ac_cv_lib_$ac_lib_var=yes"
12724 echo "configure: failed program was:" >&5
12725 cat conftest.
$ac_ext >&5
12727 eval "ac_cv_lib_$ac_lib_var=no"
12730 LIBS
="$ac_save_LIBS"
12733 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12734 echo "$ac_t""yes" 1>&6
12735 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12737 echo "$ac_t""no" 1>&6
12742 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12743 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12744 echo "configure:12745: checking for shmat" >&5
12745 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12746 echo $ac_n "(cached) $ac_c" 1>&6
12748 cat > conftest.
$ac_ext <<EOF
12749 #line 12750 "configure"
12750 #include "confdefs.h"
12751 /* System header to define __stub macros and hopefully few prototypes,
12752 which can conflict with char shmat(); below. */
12753 #include <assert.h>
12754 /* Override any gcc2 internal prototype to avoid an error. */
12755 /* We use char because int might match the return type of a gcc2
12756 builtin and then its argument prototype would still apply. */
12761 /* The GNU C library defines this for functions which it implements
12762 to always fail with ENOSYS. Some functions are actually named
12763 something starting with __ and the normal name is an alias. */
12764 #if defined (__stub_shmat) || defined (__stub___shmat)
12772 if { (eval echo configure
:12773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12774 eval "ac_cv_func_shmat=yes"
12776 echo "configure: failed program was:" >&5
12777 cat conftest.
$ac_ext >&5
12779 eval "ac_cv_func_shmat=no"
12784 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12785 echo "$ac_t""yes" 1>&6
12788 echo "$ac_t""no" 1>&6
12791 if test $ac_cv_func_shmat = no
; then
12792 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12793 echo "configure:12794: checking for shmat in -lipc" >&5
12794 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12795 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12796 echo $ac_n "(cached) $ac_c" 1>&6
12798 ac_save_LIBS
="$LIBS"
12800 cat > conftest.
$ac_ext <<EOF
12801 #line 12802 "configure"
12802 #include "confdefs.h"
12803 /* Override any gcc2 internal prototype to avoid an error. */
12804 /* We use char because int might match the return type of a gcc2
12805 builtin and then its argument prototype would still apply. */
12812 if { (eval echo configure
:12813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12814 eval "ac_cv_lib_$ac_lib_var=yes"
12816 echo "configure: failed program was:" >&5
12817 cat conftest.
$ac_ext >&5
12819 eval "ac_cv_lib_$ac_lib_var=no"
12822 LIBS
="$ac_save_LIBS"
12825 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12826 echo "$ac_t""yes" 1>&6
12827 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12829 echo "$ac_t""no" 1>&6
12835 # Check for libraries that X11R6 Xt/Xaw programs need.
12836 ac_save_LDFLAGS
="$LDFLAGS"
12837 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12838 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12839 # check for ICE first), but we must link in the order -lSM -lICE or
12840 # we get undefined symbols. So assume we have SM if we have ICE.
12841 # These have to be linked with before -lX11, unlike the other
12842 # libraries we check for below, so use a different variable.
12843 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12844 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12845 echo "configure:12846: checking for IceConnectionNumber in -lICE" >&5
12846 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12847 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12848 echo $ac_n "(cached) $ac_c" 1>&6
12850 ac_save_LIBS
="$LIBS"
12851 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12852 cat > conftest.
$ac_ext <<EOF
12853 #line 12854 "configure"
12854 #include "confdefs.h"
12855 /* Override any gcc2 internal prototype to avoid an error. */
12856 /* We use char because int might match the return type of a gcc2
12857 builtin and then its argument prototype would still apply. */
12858 char IceConnectionNumber();
12861 IceConnectionNumber()
12864 if { (eval echo configure
:12865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12866 eval "ac_cv_lib_$ac_lib_var=yes"
12868 echo "configure: failed program was:" >&5
12869 cat conftest.
$ac_ext >&5
12871 eval "ac_cv_lib_$ac_lib_var=no"
12874 LIBS
="$ac_save_LIBS"
12877 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12878 echo "$ac_t""yes" 1>&6
12879 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12881 echo "$ac_t""no" 1>&6
12884 LDFLAGS
="$ac_save_LDFLAGS"
12889 if test "$no_x" = "yes"; then
12890 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12893 GUI_TK_LIBRARY
="$X_LIBS"
12894 TOOLKIT_INCLUDE
="$X_CFLAGS"
12895 AFMINSTALL
=afminstall
12896 COMPILED_X_PROGRAM
=0
12898 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12899 echo "configure:12900: checking for Motif/Lesstif headers" >&5
12902 for ac_dir
in $SEARCH_INCLUDE;
12904 if test -f "$ac_dir/Xm/Xm.h"; then
12905 ac_find_includes
=$ac_dir
12910 if test "$ac_find_includes" != "" ; then
12911 echo "$ac_t""found $ac_find_includes" 1>&6
12913 cat > conftest.
$ac_ext <<EOF
12914 #line 12915 "configure"
12915 #include "confdefs.h"
12922 version = xmUseVersion;
12926 if { (eval echo configure
:12927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12929 echo "$ac_t""found in default search path" 1>&6
12930 COMPILED_X_PROGRAM
=1
12933 echo "configure: failed program was:" >&5
12934 cat conftest.
$ac_ext >&5
12937 echo "$ac_t""no" 1>&6
12938 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
12945 if test "$COMPILED_X_PROGRAM" = 0; then
12946 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
12947 echo "configure:12948: checking for Motif/Lesstif library" >&5
12950 for ac_dir
in $SEARCH_LIB;
12952 for ac_extension
in a so sl dylib
; do
12953 if test -f "$ac_dir/libXm.$ac_extension"; then
12954 ac_find_libraries
=$ac_dir
12960 if test "$ac_find_libraries" != "" ; then
12962 ac_path_to_include
=$ac_find_includes
12963 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
12965 if test $result = 0; then
12966 ac_path_to_include
=""
12968 ac_path_to_include
=" -I$ac_find_includes"
12972 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12974 if test $result = 0; then
12977 ac_path_to_link
=" -L$ac_find_libraries"
12981 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12982 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
12983 echo "$ac_t""found at $ac_find_libraries" 1>&6
12985 cat > conftest.
$ac_ext <<EOF
12986 #line 12987 "configure"
12987 #include "confdefs.h"
12994 version = xmUseVersion;
12998 if { (eval echo configure
:12999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13001 echo "$ac_t""found in default search path" 1>&6
13002 COMPILED_X_PROGRAM
=1
13005 echo "configure: failed program was:" >&5
13006 cat conftest.
$ac_ext >&5
13009 echo "$ac_t""no" 1>&6
13010 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
13019 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13020 echo "configure:13021: checking for Xpm library" >&5
13023 for ac_dir
in $SEARCH_LIB;
13025 for ac_extension
in a so sl dylib
; do
13026 if test -f "$ac_dir/libXpm.$ac_extension"; then
13027 ac_find_libraries
=$ac_dir
13033 if test "$ac_find_libraries" != "" ; then
13035 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13037 if test $result = 0; then
13040 ac_path_to_link
=" -L$ac_find_libraries"
13043 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13045 cat >> confdefs.h
<<\EOF
13046 #define wxHAVE_LIB_XPM 1
13049 echo "$ac_t""found at $ac_find_libraries" 1>&6
13051 cat > conftest.
$ac_ext <<EOF
13052 #line 13053 "configure"
13053 #include "confdefs.h"
13055 #include <X11/xpm.h>
13060 version = XpmLibraryVersion();
13064 if { (eval echo configure
:13065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13068 cat >> confdefs.h
<<\EOF
13069 #define wxHAVE_LIB_XPM 1
13072 echo "$ac_t""found in default search path" 1>&6
13073 COMPILED_X_PROGRAM
=0
13076 echo "configure: failed program was:" >&5
13077 cat conftest.
$ac_ext >&5
13080 echo "$ac_t""no" 1>&6
13081 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13088 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
13089 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
13094 if test "$wxUSE_MAC" = 1; then
13095 if test "$wxUSE_PRECOMP" = "yes"; then
13096 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
13098 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
13099 CFLAGS
="$CFLAGS -fpascal-strings"
13100 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
13102 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
13107 if test "$wxUSE_PM" = 1; then
13112 if test "$TOOLKIT" = "PM" ; then
13115 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
13118 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
13120 if test "$wxUSE_UNIVERSAL" = "yes"; then
13121 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
13123 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
13124 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
13126 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
13127 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
13128 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
13131 ALL_OBJECTS
="\$(GUIOBJS)"
13132 ALL_SOURCES
="\$(ALL_SOURCES)"
13133 ALL_HEADERS
="\$(ALL_HEADERS)"
13136 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
13138 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
13139 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
13142 if test "$wxUSE_HTML" = "yes"; then
13143 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
13146 if test "$wxUSE_LIBJPEG" = "builtin" ; then
13147 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
13149 if test "$wxUSE_LIBTIFF" = "builtin" ; then
13150 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
13152 if test "$wxUSE_LIBPNG" = "builtin" ; then
13153 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
13156 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
13157 DISTDIR
="wx\$(TOOLKIT)"
13163 if test "$USE_WIN32" = 1 ; then
13164 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
13165 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
13169 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
13170 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
13173 PORT_FILES
="\${top_srcdir}/src/files.lst"
13175 GUIDIST
="BASE_DIST"
13180 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
13181 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
13184 if test "$wxUSE_REGEX" = "builtin" ; then
13185 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
13187 if test "$wxUSE_ZLIB" = "builtin" ; then
13188 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
13191 if test "$wxUSE_OPENGL" = "yes"; then
13192 if test "$wxUSE_MAC" = 1; then
13193 OPENGL_LIBS
="-framework OpenGL -framework AGL"
13196 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13197 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13198 echo "configure:13199: checking for GL/gl.h" >&5
13199 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13200 echo $ac_n "(cached) $ac_c" 1>&6
13202 cat > conftest.
$ac_ext <<EOF
13203 #line 13204 "configure"
13204 #include "confdefs.h"
13207 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13208 { (eval echo configure
:13209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13209 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13210 if test -z "$ac_err"; then
13212 eval "ac_cv_header_$ac_safe=yes"
13215 echo "configure: failed program was:" >&5
13216 cat conftest.
$ac_ext >&5
13218 eval "ac_cv_header_$ac_safe=no"
13222 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13223 echo "$ac_t""yes" 1>&6
13225 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
13226 echo "configure:13227: checking for -lGL" >&5
13229 for ac_dir
in $SEARCH_LIB;
13231 for ac_extension
in a so sl dylib
; do
13232 if test -f "$ac_dir/libGL.$ac_extension"; then
13233 ac_find_libraries
=$ac_dir
13239 if test "$ac_find_libraries" != "" ; then
13241 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13243 if test $result = 0; then
13246 ac_path_to_link
=" -L$ac_find_libraries"
13249 if test "$ac_path_to_link" = " -L/usr/lib" ; then
13250 LDFLAGS_GL
="$LDFLAGS"
13252 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13254 OPENGL_LIBS
="-lGL -lGLU"
13255 echo "$ac_t""yes" 1>&6
13257 echo "$ac_t""no" 1>&6
13258 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
13259 echo "configure:13260: checking for -lMesaGL" >&5
13262 for ac_dir
in $SEARCH_LIB;
13264 for ac_extension
in a so sl dylib
; do
13265 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13266 ac_find_libraries
=$ac_dir
13272 if test "$ac_find_libraries" != "" ; then
13274 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13276 if test $result = 0; then
13279 ac_path_to_link
=" -L$ac_find_libraries"
13282 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13283 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
13284 echo "$ac_t""yes" 1>&6
13286 echo "$ac_t""no" 1>&6
13291 echo "$ac_t""no" 1>&6
13296 # AC_CHECK_HEADER(GL/gl.h,
13298 # AC_CHECK_LIB(GL, glFlush,
13300 # OPENGL_LIBS="-lGL -lGLU"
13303 # AC_CHECK_LIB(MesaGL, glFlush,
13305 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
13313 if test "x$OPENGL_LIBS" = "x"; then
13314 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
13318 if test "$wxUSE_OPENGL" = "yes"; then
13319 cat >> confdefs.h
<<\EOF
13320 #define wxUSE_OPENGL 1
13323 cat >> confdefs.h
<<\EOF
13324 #define wxUSE_GLCANVAS 1
13327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
13331 if test -z "$TOOLKIT_VPATH" ; then
13332 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
13335 if test -n "$TOOLKIT" ; then
13336 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
13339 lib_unicode_suffix
=
13340 if test "$wxUSE_UNICODE" = "yes"; then
13341 lib_unicode_suffix
=u
13345 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
13349 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
13350 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
13352 if test "$cross_compiling" = "yes"; then
13353 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
13354 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
13357 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
13358 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
13360 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13361 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13363 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
13364 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13365 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
13366 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13368 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
13369 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
13372 *-*-cygwin* | *-*-mingw32* )
13376 if test "$cross_compiling" != "yes"; then
13377 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13378 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13379 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
13380 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
13382 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13383 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13388 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
13389 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
13391 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
13392 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
13394 if test "$wxUSE_OPENGL" = "yes"; then
13395 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
13396 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
13401 if test "$wxUSE_SHARED" = "yes"; then
13403 if test "$wxUSE_OPENGL" = "yes"; then
13404 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
13405 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
13407 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
13408 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
13411 if test "$GCC" = "yes"; then
13415 SHARED_LD
="${CXX} -shared -o"
13419 if test "$GCC" == "yes"; then
13420 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
13422 LDFLAGS
="$LDFLAGS -L/usr/lib"
13424 SHARED_LD
="${CXX} -b -o"
13428 if test "$wxUSE_OPENGL" = "yes"; then
13429 WX_ALL_INSTALLED
="preinstall_gl"
13430 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13432 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13437 if test "$GCC" != "yes"; then
13438 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
13439 echo "configure:13440: checking for Intel compiler" >&5
13440 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
13441 echo $ac_n "(cached) $ac_c" 1>&6
13444 cat > conftest.
$ac_ext <<EOF
13445 #line 13446 "configure"
13446 #include "confdefs.h"
13450 #ifndef __INTEL_COMPILER
13456 if { (eval echo configure
:13457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13460 echo "configure: failed program was:" >&5
13461 cat conftest.
$ac_ext >&5
13470 echo "$ac_t""$wx_cv_prog_icc" 1>&6
13471 if test "$wx_cv_prog_icc" = "yes"; then
13476 if test "$wxUSE_SONAME" = "yes" ; then
13477 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
13478 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
13479 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
13484 if test "$GCC" = yes ; then
13485 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
13487 SHARED_LD
="${CXX} -G -o"
13489 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
13490 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
13495 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
13496 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
13497 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
13498 PIC_FLAG
="-dynamic -fPIC"
13502 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
13505 *-*-cygwin* | *-*-mingw32* )
13507 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
13509 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
13510 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
13512 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
13514 if test "$wxUSE_OPENGL" = "yes"; then
13515 WX_ALL_INSTALLED
="preinstall_gl"
13516 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13518 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13522 *-pc-os2_emx | *-pc-os2-emx )
13527 SHARED_LD
="${LD} -shared -o"
13530 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
13532 *-*-irix5* | *-*-irix6* | \
13539 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
13542 if test "x$WX_TARGET_LIBRARY" = "x"; then
13543 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
13544 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
13547 WX_TARGET_LIBRARY_TYPE
="so"
13548 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
13551 if test "$wxUSE_SHARED" = "no"; then
13553 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
13554 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13557 if test "$wxUSE_MAC" = 1; then
13558 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13561 if test "$wxUSE_OPENGL" = "yes"; then
13562 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
13563 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
13565 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
13568 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
13569 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
13571 WX_TARGET_LIBRARY_TYPE
="a"
13572 INSTALL_LIBRARY
='$(INSTALL_DATA)'
13575 if test "$wxUSE_MAC" = 1; then
13576 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
13577 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
13578 # Extract the first word of "Rez", so it can be a program name with args.
13579 set dummy Rez
; ac_word
=$2
13580 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13581 echo "configure:13582: checking for $ac_word" >&5
13582 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
13583 echo $ac_n "(cached) $ac_c" 1>&6
13585 if test -n "$RESCOMP"; then
13586 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13588 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13590 for ac_dir
in $ac_dummy; do
13591 test -z "$ac_dir" && ac_dir
=.
13592 if test -f $ac_dir/$ac_word; then
13593 ac_cv_prog_RESCOMP
="Rez"
13598 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
13601 RESCOMP
="$ac_cv_prog_RESCOMP"
13602 if test -n "$RESCOMP"; then
13603 echo "$ac_t""$RESCOMP" 1>&6
13605 echo "$ac_t""no" 1>&6
13608 # Extract the first word of "DeRez", so it can be a program name with args.
13609 set dummy DeRez
; ac_word
=$2
13610 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13611 echo "configure:13612: checking for $ac_word" >&5
13612 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13613 echo $ac_n "(cached) $ac_c" 1>&6
13615 if test -n "$DEREZ"; then
13616 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
13618 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13620 for ac_dir
in $ac_dummy; do
13621 test -z "$ac_dir" && ac_dir
=.
13622 if test -f $ac_dir/$ac_word; then
13623 ac_cv_prog_DEREZ
="DeRez"
13628 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
13631 DEREZ
="$ac_cv_prog_DEREZ"
13632 if test -n "$DEREZ"; then
13633 echo "$ac_t""$DEREZ" 1>&6
13635 echo "$ac_t""no" 1>&6
13638 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
13639 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
13640 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
13644 if test "$wxUSE_MAC" != 1; then
13645 for ac_hdr
in strings.h
13647 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13648 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13649 echo "configure:13650: checking for $ac_hdr" >&5
13650 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13651 echo $ac_n "(cached) $ac_c" 1>&6
13653 cat > conftest.
$ac_ext <<EOF
13654 #line 13655 "configure"
13655 #include "confdefs.h"
13658 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13659 { (eval echo configure
:13660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13660 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13661 if test -z "$ac_err"; then
13663 eval "ac_cv_header_$ac_safe=yes"
13666 echo "configure: failed program was:" >&5
13667 cat conftest.
$ac_ext >&5
13669 eval "ac_cv_header_$ac_safe=no"
13673 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13674 echo "$ac_t""yes" 1>&6
13675 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13676 cat >> confdefs.h
<<EOF
13677 #define $ac_tr_hdr 1
13681 echo "$ac_t""no" 1>&6
13687 for ac_hdr
in stdlib.h
13689 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13690 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13691 echo "configure:13692: checking for $ac_hdr" >&5
13692 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13693 echo $ac_n "(cached) $ac_c" 1>&6
13695 cat > conftest.
$ac_ext <<EOF
13696 #line 13697 "configure"
13697 #include "confdefs.h"
13700 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13701 { (eval echo configure
:13702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13702 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13703 if test -z "$ac_err"; then
13705 eval "ac_cv_header_$ac_safe=yes"
13708 echo "configure: failed program was:" >&5
13709 cat conftest.
$ac_ext >&5
13711 eval "ac_cv_header_$ac_safe=no"
13715 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13716 echo "$ac_t""yes" 1>&6
13717 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13718 cat >> confdefs.h
<<EOF
13719 #define $ac_tr_hdr 1
13723 echo "$ac_t""no" 1>&6
13727 for ac_hdr
in malloc.h
13729 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13730 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13731 echo "configure:13732: checking for $ac_hdr" >&5
13732 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13733 echo $ac_n "(cached) $ac_c" 1>&6
13735 cat > conftest.
$ac_ext <<EOF
13736 #line 13737 "configure"
13737 #include "confdefs.h"
13740 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13741 { (eval echo configure
:13742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13742 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13743 if test -z "$ac_err"; then
13745 eval "ac_cv_header_$ac_safe=yes"
13748 echo "configure: failed program was:" >&5
13749 cat conftest.
$ac_ext >&5
13751 eval "ac_cv_header_$ac_safe=no"
13755 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13756 echo "$ac_t""yes" 1>&6
13757 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13758 cat >> confdefs.h
<<EOF
13759 #define $ac_tr_hdr 1
13763 echo "$ac_t""no" 1>&6
13767 for ac_hdr
in unistd.h
13769 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13770 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13771 echo "configure:13772: checking for $ac_hdr" >&5
13772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13773 echo $ac_n "(cached) $ac_c" 1>&6
13775 cat > conftest.
$ac_ext <<EOF
13776 #line 13777 "configure"
13777 #include "confdefs.h"
13780 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13781 { (eval echo configure
:13782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13782 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13783 if test -z "$ac_err"; then
13785 eval "ac_cv_header_$ac_safe=yes"
13788 echo "configure: failed program was:" >&5
13789 cat conftest.
$ac_ext >&5
13791 eval "ac_cv_header_$ac_safe=no"
13795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13796 echo "$ac_t""yes" 1>&6
13797 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13798 cat >> confdefs.h
<<EOF
13799 #define $ac_tr_hdr 1
13803 echo "$ac_t""no" 1>&6
13807 for ac_hdr
in wchar.h
13809 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13810 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13811 echo "configure:13812: checking for $ac_hdr" >&5
13812 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13813 echo $ac_n "(cached) $ac_c" 1>&6
13815 cat > conftest.
$ac_ext <<EOF
13816 #line 13817 "configure"
13817 #include "confdefs.h"
13820 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13821 { (eval echo configure
:13822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13822 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13823 if test -z "$ac_err"; then
13825 eval "ac_cv_header_$ac_safe=yes"
13828 echo "configure: failed program was:" >&5
13829 cat conftest.
$ac_ext >&5
13831 eval "ac_cv_header_$ac_safe=no"
13835 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13836 echo "$ac_t""yes" 1>&6
13837 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13838 cat >> confdefs.h
<<EOF
13839 #define $ac_tr_hdr 1
13843 echo "$ac_t""no" 1>&6
13847 for ac_hdr
in wcstr.h
13849 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13850 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13851 echo "configure:13852: checking for $ac_hdr" >&5
13852 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13853 echo $ac_n "(cached) $ac_c" 1>&6
13855 cat > conftest.
$ac_ext <<EOF
13856 #line 13857 "configure"
13857 #include "confdefs.h"
13860 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13861 { (eval echo configure
:13862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13862 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13863 if test -z "$ac_err"; then
13865 eval "ac_cv_header_$ac_safe=yes"
13868 echo "configure: failed program was:" >&5
13869 cat conftest.
$ac_ext >&5
13871 eval "ac_cv_header_$ac_safe=no"
13875 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13876 echo "$ac_t""yes" 1>&6
13877 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13878 cat >> confdefs.h
<<EOF
13879 #define $ac_tr_hdr 1
13883 echo "$ac_t""no" 1>&6
13887 for ac_hdr
in wctype.h
13889 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13890 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13891 echo "configure:13892: checking for $ac_hdr" >&5
13892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13893 echo $ac_n "(cached) $ac_c" 1>&6
13895 cat > conftest.
$ac_ext <<EOF
13896 #line 13897 "configure"
13897 #include "confdefs.h"
13900 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13901 { (eval echo configure
:13902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13902 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13903 if test -z "$ac_err"; then
13905 eval "ac_cv_header_$ac_safe=yes"
13908 echo "configure: failed program was:" >&5
13909 cat conftest.
$ac_ext >&5
13911 eval "ac_cv_header_$ac_safe=no"
13915 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13916 echo "$ac_t""yes" 1>&6
13917 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13918 cat >> confdefs.h
<<EOF
13919 #define $ac_tr_hdr 1
13923 echo "$ac_t""no" 1>&6
13927 for ac_hdr
in fnmatch.h
13929 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13930 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13931 echo "configure:13932: checking for $ac_hdr" >&5
13932 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13933 echo $ac_n "(cached) $ac_c" 1>&6
13935 cat > conftest.
$ac_ext <<EOF
13936 #line 13937 "configure"
13937 #include "confdefs.h"
13940 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13941 { (eval echo configure
:13942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13942 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13943 if test -z "$ac_err"; then
13945 eval "ac_cv_header_$ac_safe=yes"
13948 echo "configure: failed program was:" >&5
13949 cat conftest.
$ac_ext >&5
13951 eval "ac_cv_header_$ac_safe=no"
13955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13956 echo "$ac_t""yes" 1>&6
13957 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13958 cat >> confdefs.h
<<EOF
13959 #define $ac_tr_hdr 1
13963 echo "$ac_t""no" 1>&6
13967 for ac_hdr
in langinfo.h
13969 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13970 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13971 echo "configure:13972: checking for $ac_hdr" >&5
13972 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13973 echo $ac_n "(cached) $ac_c" 1>&6
13975 cat > conftest.
$ac_ext <<EOF
13976 #line 13977 "configure"
13977 #include "confdefs.h"
13980 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13981 { (eval echo configure
:13982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13982 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13983 if test -z "$ac_err"; then
13985 eval "ac_cv_header_$ac_safe=yes"
13988 echo "configure: failed program was:" >&5
13989 cat conftest.
$ac_ext >&5
13991 eval "ac_cv_header_$ac_safe=no"
13995 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13996 echo "$ac_t""yes" 1>&6
13997 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13998 cat >> confdefs.h
<<EOF
13999 #define $ac_tr_hdr 1
14003 echo "$ac_t""no" 1>&6
14008 if test "$wxUSE_GUI" = "yes"; then
14009 if test "$wxUSE_UNIX" = "yes"; then
14010 for ac_hdr
in X
11/XKBlib.h
14012 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14013 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14014 echo "configure:14015: checking for $ac_hdr" >&5
14015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14016 echo $ac_n "(cached) $ac_c" 1>&6
14018 cat > conftest.
$ac_ext <<EOF
14019 #line 14020 "configure"
14020 #include "confdefs.h"
14023 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14024 { (eval echo configure
:14025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14025 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14026 if test -z "$ac_err"; then
14028 eval "ac_cv_header_$ac_safe=yes"
14031 echo "configure: failed program was:" >&5
14032 cat conftest.
$ac_ext >&5
14034 eval "ac_cv_header_$ac_safe=no"
14038 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14039 echo "$ac_t""yes" 1>&6
14040 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14041 cat >> confdefs.h
<<EOF
14042 #define $ac_tr_hdr 1
14046 echo "$ac_t""no" 1>&6
14054 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
14055 echo "configure:14056: checking for ANSI C header files" >&5
14056 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
14057 echo $ac_n "(cached) $ac_c" 1>&6
14059 cat > conftest.
$ac_ext <<EOF
14060 #line 14061 "configure"
14061 #include "confdefs.h"
14062 #include <stdlib.h>
14063 #include <stdarg.h>
14064 #include <string.h>
14067 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14068 { (eval echo configure
:14069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14069 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14070 if test -z "$ac_err"; then
14072 ac_cv_header_stdc
=yes
14075 echo "configure: failed program was:" >&5
14076 cat conftest.
$ac_ext >&5
14078 ac_cv_header_stdc
=no
14082 if test $ac_cv_header_stdc = yes; then
14083 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14084 cat > conftest.
$ac_ext <<EOF
14085 #line 14086 "configure"
14086 #include "confdefs.h"
14087 #include <string.h>
14089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14090 egrep "memchr" >/dev
/null
2>&1; then
14094 ac_cv_header_stdc
=no
14100 if test $ac_cv_header_stdc = yes; then
14101 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14102 cat > conftest.
$ac_ext <<EOF
14103 #line 14104 "configure"
14104 #include "confdefs.h"
14105 #include <stdlib.h>
14107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14108 egrep "free" >/dev
/null
2>&1; then
14112 ac_cv_header_stdc
=no
14118 if test $ac_cv_header_stdc = yes; then
14119 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14120 if test "$cross_compiling" = yes; then
14123 cat > conftest.
$ac_ext <<EOF
14124 #line 14125 "configure"
14125 #include "confdefs.h"
14127 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14128 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14129 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14130 int main () { int i; for (i = 0; i < 256; i++)
14131 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
14135 if { (eval echo configure
:14136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14139 echo "configure: failed program was:" >&5
14140 cat conftest.
$ac_ext >&5
14142 ac_cv_header_stdc
=no
14150 echo "$ac_t""$ac_cv_header_stdc" 1>&6
14151 if test $ac_cv_header_stdc = yes; then
14152 cat >> confdefs.h
<<\EOF
14153 #define STDC_HEADERS 1
14158 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
14159 echo "configure:14160: checking for mode_t" >&5
14160 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
14161 echo $ac_n "(cached) $ac_c" 1>&6
14163 cat > conftest.
$ac_ext <<EOF
14164 #line 14165 "configure"
14165 #include "confdefs.h"
14166 #include <sys/types.h>
14168 #include <stdlib.h>
14169 #include <stddef.h>
14172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14173 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14175 ac_cv_type_mode_t
=yes
14178 ac_cv_type_mode_t
=no
14183 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
14184 if test $ac_cv_type_mode_t = no
; then
14185 cat >> confdefs.h
<<\EOF
14191 echo $ac_n "checking for off_t""... $ac_c" 1>&6
14192 echo "configure:14193: checking for off_t" >&5
14193 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
14194 echo $ac_n "(cached) $ac_c" 1>&6
14196 cat > conftest.
$ac_ext <<EOF
14197 #line 14198 "configure"
14198 #include "confdefs.h"
14199 #include <sys/types.h>
14201 #include <stdlib.h>
14202 #include <stddef.h>
14205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14206 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14208 ac_cv_type_off_t
=yes
14211 ac_cv_type_off_t
=no
14216 echo "$ac_t""$ac_cv_type_off_t" 1>&6
14217 if test $ac_cv_type_off_t = no
; then
14218 cat >> confdefs.h
<<\EOF
14224 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
14225 echo "configure:14226: checking for pid_t" >&5
14226 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
14227 echo $ac_n "(cached) $ac_c" 1>&6
14229 cat > conftest.
$ac_ext <<EOF
14230 #line 14231 "configure"
14231 #include "confdefs.h"
14232 #include <sys/types.h>
14234 #include <stdlib.h>
14235 #include <stddef.h>
14238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14239 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14241 ac_cv_type_pid_t
=yes
14244 ac_cv_type_pid_t
=no
14249 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
14250 if test $ac_cv_type_pid_t = no
; then
14251 cat >> confdefs.h
<<\EOF
14257 echo $ac_n "checking for size_t""... $ac_c" 1>&6
14258 echo "configure:14259: checking for size_t" >&5
14259 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
14260 echo $ac_n "(cached) $ac_c" 1>&6
14262 cat > conftest.
$ac_ext <<EOF
14263 #line 14264 "configure"
14264 #include "confdefs.h"
14265 #include <sys/types.h>
14267 #include <stdlib.h>
14268 #include <stddef.h>
14271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14272 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14274 ac_cv_type_size_t
=yes
14277 ac_cv_type_size_t
=no
14282 echo "$ac_t""$ac_cv_type_size_t" 1>&6
14283 if test $ac_cv_type_size_t = no
; then
14284 cat >> confdefs.h
<<\EOF
14285 #define size_t unsigned
14290 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
14291 echo "configure:14292: checking for uid_t in sys/types.h" >&5
14292 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
14293 echo $ac_n "(cached) $ac_c" 1>&6
14295 cat > conftest.
$ac_ext <<EOF
14296 #line 14297 "configure"
14297 #include "confdefs.h"
14298 #include <sys/types.h>
14300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14301 egrep "uid_t" >/dev
/null
2>&1; then
14303 ac_cv_type_uid_t
=yes
14306 ac_cv_type_uid_t
=no
14312 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
14313 if test $ac_cv_type_uid_t = no
; then
14314 cat >> confdefs.h
<<\EOF
14318 cat >> confdefs.h
<<\EOF
14325 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
14326 echo "configure:14327: checking for wchar_t" >&5
14327 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
14328 echo $ac_n "(cached) $ac_c" 1>&6
14331 cat > conftest.
$ac_ext <<EOF
14332 #line 14333 "configure"
14333 #include "confdefs.h"
14335 #ifdef HAVE_WCHAR_H
14337 # include <stddef.h>
14339 # include <wchar.h>
14341 #ifdef HAVE_STDLIB_H
14342 # include <stdlib.h>
14349 ws = L"Hello, world!";
14353 if { (eval echo configure
:14354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14355 wx_cv_type_wchar_t
=yes
14357 echo "configure: failed program was:" >&5
14358 cat conftest.
$ac_ext >&5
14360 wx_cv_type_wchar_t
=no
14367 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
14369 if test "$wx_cv_type_wchar_t" = "yes"; then
14370 cat >> confdefs.h
<<\EOF
14371 #define wxUSE_WCHAR_T 1
14378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14379 ac_cpp
='$CXXCPP $CPPFLAGS'
14380 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14381 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14382 cross_compiling
=$ac_cv_prog_cxx_cross
14384 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
14385 echo "configure:14386: checking if size_t is unsigned int" >&5
14386 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
14387 echo $ac_n "(cached) $ac_c" 1>&6
14389 cat > conftest.
$ac_ext <<EOF
14390 #line 14391 "configure"
14391 #include "confdefs.h"
14392 #include <stddef.h>
14397 struct Foo { void foo(size_t); void foo(unsigned int); };
14403 if { (eval echo configure
:14404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14405 wx_cv_size_t_is_uint
=no
14407 echo "configure: failed program was:" >&5
14408 cat conftest.
$ac_ext >&5
14410 wx_cv_size_t_is_uint
=yes
14417 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
14419 if test "$wx_cv_size_t_is_uint" = "yes"; then
14420 cat >> confdefs.h
<<\EOF
14421 #define wxSIZE_T_IS_UINT 1
14425 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
14426 echo "configure:14427: checking if size_t is unsigned long" >&5
14427 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
14428 echo $ac_n "(cached) $ac_c" 1>&6
14430 cat > conftest.
$ac_ext <<EOF
14431 #line 14432 "configure"
14432 #include "confdefs.h"
14433 #include <stddef.h>
14438 struct Foo { void foo(size_t); void foo(unsigned long); };
14444 if { (eval echo configure
:14445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14446 wx_cv_size_t_is_ulong
=no
14448 echo "configure: failed program was:" >&5
14449 cat conftest.
$ac_ext >&5
14451 wx_cv_size_t_is_ulong
=yes
14458 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
14460 if test "$wx_cv_size_t_is_ulong" = "yes"; then
14461 cat >> confdefs.h
<<\EOF
14462 #define wxSIZE_T_IS_ULONG 1
14469 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14470 ac_cpp
='$CPP $CPPFLAGS'
14471 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14472 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14473 cross_compiling
=$ac_cv_prog_cc_cross
14477 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
14478 echo "configure:14479: checking for pw_gecos in struct passwd" >&5
14479 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
14480 echo $ac_n "(cached) $ac_c" 1>&6
14483 cat > conftest.
$ac_ext <<EOF
14484 #line 14485 "configure"
14485 #include "confdefs.h"
14495 if { (eval echo configure
:14496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14498 wx_cv_struct_pw_gecos
=yes
14501 echo "configure: failed program was:" >&5
14502 cat conftest.
$ac_ext >&5
14505 wx_cv_struct_pw_gecos
=no
14514 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
14516 if test "$wx_cv_struct_pw_gecos" = "yes"; then
14517 cat >> confdefs.h
<<\EOF
14518 #define HAVE_PW_GECOS 1
14524 echo $ac_n "checking for working const""... $ac_c" 1>&6
14525 echo "configure:14526: checking for working const" >&5
14526 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
14527 echo $ac_n "(cached) $ac_c" 1>&6
14529 cat > conftest.
$ac_ext <<EOF
14530 #line 14531 "configure"
14531 #include "confdefs.h"
14535 /* Ultrix mips cc rejects this. */
14536 typedef int charset[2]; const charset x;
14537 /* SunOS 4.1.1 cc rejects this. */
14538 char const *const *ccp;
14540 /* NEC SVR4.0.2 mips cc rejects this. */
14541 struct point {int x, y;};
14542 static struct point const zero = {0,0};
14543 /* AIX XL C 1.02.0.0 rejects this.
14544 It does not let you subtract one const X* pointer from another in an arm
14545 of an if-expression whose if-part is not a constant expression */
14546 const char *g = "string";
14547 ccp = &g + (g ? g-g : 0);
14548 /* HPUX 7.0 cc rejects these. */
14551 ccp = (char const *const *) p;
14552 { /* SCO 3.2v4 cc rejects this. */
14554 char const *s = 0 ? (char *) 0 : (char const *) 0;
14558 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14559 int x[] = {25, 17};
14560 const int *foo = &x[0];
14563 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14564 typedef const int *iptr;
14568 { /* AIX XL C 1.02.0.0 rejects this saying
14569 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14570 struct s { int j; const int *ap[3]; };
14571 struct s *b; b->j = 5;
14573 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14574 const int foo = 10;
14579 if { (eval echo configure
:14580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14583 echo "configure: failed program was:" >&5
14584 cat conftest.
$ac_ext >&5
14591 echo "$ac_t""$ac_cv_c_const" 1>&6
14592 if test $ac_cv_c_const = no
; then
14593 cat >> confdefs.h
<<\EOF
14599 echo $ac_n "checking for inline""... $ac_c" 1>&6
14600 echo "configure:14601: checking for inline" >&5
14601 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
14602 echo $ac_n "(cached) $ac_c" 1>&6
14605 for ac_kw
in inline __inline__ __inline
; do
14606 cat > conftest.
$ac_ext <<EOF
14607 #line 14608 "configure"
14608 #include "confdefs.h"
14614 if { (eval echo configure
:14615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14616 ac_cv_c_inline
=$ac_kw; break
14618 echo "configure: failed program was:" >&5
14619 cat conftest.
$ac_ext >&5
14626 echo "$ac_t""$ac_cv_c_inline" 1>&6
14627 case "$ac_cv_c_inline" in
14629 no
) cat >> confdefs.h
<<\EOF
14633 *) cat >> confdefs.h
<<EOF
14634 #define inline $ac_cv_c_inline
14640 echo $ac_n "checking size of char""... $ac_c" 1>&6
14641 echo "configure:14642: checking size of char" >&5
14642 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14643 echo $ac_n "(cached) $ac_c" 1>&6
14645 if test "$cross_compiling" = yes; then
14646 ac_cv_sizeof_char
=1
14648 cat > conftest.
$ac_ext <<EOF
14649 #line 14650 "configure"
14650 #include "confdefs.h"
14654 FILE *f=fopen("conftestval", "w");
14656 fprintf(f, "%d\n", sizeof(char));
14660 if { (eval echo configure
:14661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14662 ac_cv_sizeof_char
=`cat conftestval`
14664 echo "configure: failed program was:" >&5
14665 cat conftest.
$ac_ext >&5
14667 ac_cv_sizeof_char
=0
14673 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14674 cat >> confdefs.h
<<EOF
14675 #define SIZEOF_CHAR $ac_cv_sizeof_char
14679 echo $ac_n "checking size of short""... $ac_c" 1>&6
14680 echo "configure:14681: checking size of short" >&5
14681 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14682 echo $ac_n "(cached) $ac_c" 1>&6
14684 if test "$cross_compiling" = yes; then
14685 ac_cv_sizeof_short
=2
14687 cat > conftest.
$ac_ext <<EOF
14688 #line 14689 "configure"
14689 #include "confdefs.h"
14693 FILE *f=fopen("conftestval", "w");
14695 fprintf(f, "%d\n", sizeof(short));
14699 if { (eval echo configure
:14700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14701 ac_cv_sizeof_short
=`cat conftestval`
14703 echo "configure: failed program was:" >&5
14704 cat conftest.
$ac_ext >&5
14706 ac_cv_sizeof_short
=0
14712 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14713 cat >> confdefs.h
<<EOF
14714 #define SIZEOF_SHORT $ac_cv_sizeof_short
14718 echo $ac_n "checking size of int *""... $ac_c" 1>&6
14719 echo "configure:14720: checking size of int *" >&5
14720 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
14721 echo $ac_n "(cached) $ac_c" 1>&6
14723 if test "$cross_compiling" = yes; then
14724 ac_cv_sizeof_int_p
=4
14726 cat > conftest.
$ac_ext <<EOF
14727 #line 14728 "configure"
14728 #include "confdefs.h"
14732 FILE *f=fopen("conftestval", "w");
14734 fprintf(f, "%d\n", sizeof(int *));
14738 if { (eval echo configure
:14739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14740 ac_cv_sizeof_int_p
=`cat conftestval`
14742 echo "configure: failed program was:" >&5
14743 cat conftest.
$ac_ext >&5
14745 ac_cv_sizeof_int_p
=0
14751 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
14752 cat >> confdefs.h
<<EOF
14753 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
14757 echo $ac_n "checking size of int""... $ac_c" 1>&6
14758 echo "configure:14759: checking size of int" >&5
14759 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14760 echo $ac_n "(cached) $ac_c" 1>&6
14762 if test "$cross_compiling" = yes; then
14765 cat > conftest.
$ac_ext <<EOF
14766 #line 14767 "configure"
14767 #include "confdefs.h"
14771 FILE *f=fopen("conftestval", "w");
14773 fprintf(f, "%d\n", sizeof(int));
14777 if { (eval echo configure
:14778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14779 ac_cv_sizeof_int
=`cat conftestval`
14781 echo "configure: failed program was:" >&5
14782 cat conftest.
$ac_ext >&5
14790 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14791 cat >> confdefs.h
<<EOF
14792 #define SIZEOF_INT $ac_cv_sizeof_int
14796 echo $ac_n "checking size of long""... $ac_c" 1>&6
14797 echo "configure:14798: checking size of long" >&5
14798 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14799 echo $ac_n "(cached) $ac_c" 1>&6
14801 if test "$cross_compiling" = yes; then
14802 ac_cv_sizeof_long
=4
14804 cat > conftest.
$ac_ext <<EOF
14805 #line 14806 "configure"
14806 #include "confdefs.h"
14810 FILE *f=fopen("conftestval", "w");
14812 fprintf(f, "%d\n", sizeof(long));
14816 if { (eval echo configure
:14817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14818 ac_cv_sizeof_long
=`cat conftestval`
14820 echo "configure: failed program was:" >&5
14821 cat conftest.
$ac_ext >&5
14823 ac_cv_sizeof_long
=0
14829 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14830 cat >> confdefs.h
<<EOF
14831 #define SIZEOF_LONG $ac_cv_sizeof_long
14835 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14836 echo "configure:14837: checking size of long long" >&5
14837 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14838 echo $ac_n "(cached) $ac_c" 1>&6
14840 if test "$cross_compiling" = yes; then
14841 ac_cv_sizeof_long_long
=0
14843 cat > conftest.
$ac_ext <<EOF
14844 #line 14845 "configure"
14845 #include "confdefs.h"
14849 FILE *f=fopen("conftestval", "w");
14851 fprintf(f, "%d\n", sizeof(long long));
14855 if { (eval echo configure
:14856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14857 ac_cv_sizeof_long_long
=`cat conftestval`
14859 echo "configure: failed program was:" >&5
14860 cat conftest.
$ac_ext >&5
14862 ac_cv_sizeof_long_long
=0
14868 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14869 cat >> confdefs.h
<<EOF
14870 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14875 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14876 echo "configure:14877: checking size of wchar_t" >&5
14877 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14878 echo $ac_n "(cached) $ac_c" 1>&6
14881 if test "$cross_compiling" = yes; then
14882 wx_cv_sizeof_wchar_t
=4
14885 cat > conftest.
$ac_ext <<EOF
14886 #line 14887 "configure"
14887 #include "confdefs.h"
14889 #ifdef HAVE_WCHAR_H
14891 # include <stddef.h>
14893 # include <wchar.h>
14895 #ifdef HAVE_STDLIB_H
14896 # include <stdlib.h>
14901 FILE *f=fopen("conftestval", "w");
14903 fprintf(f, "%i", sizeof(wchar_t));
14908 if { (eval echo configure
:14909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14910 wx_cv_sizeof_wchar_t
=`cat conftestval`
14912 echo "configure: failed program was:" >&5
14913 cat conftest.
$ac_ext >&5
14915 wx_cv_sizeof_wchar_t
=0
14923 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
14925 cat >> confdefs.h
<<EOF
14926 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
14930 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
14931 echo "configure:14932: checking whether byte ordering is bigendian" >&5
14932 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
14933 echo $ac_n "(cached) $ac_c" 1>&6
14935 ac_cv_c_bigendian
=unknown
14936 # See if sys/param.h defines the BYTE_ORDER macro.
14937 cat > conftest.
$ac_ext <<EOF
14938 #line 14939 "configure"
14939 #include "confdefs.h"
14940 #include <sys/types.h>
14941 #include <sys/param.h>
14944 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14945 bogus endian macros
14949 if { (eval echo configure
:14950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14951 # It does; now see whether it defined to BIG_ENDIAN or not.
14952 cat > conftest.
$ac_ext <<EOF
14953 #line 14954 "configure"
14954 #include "confdefs.h"
14955 #include <sys/types.h>
14956 #include <sys/param.h>
14959 #if BYTE_ORDER != BIG_ENDIAN
14964 if { (eval echo configure
:14965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14966 ac_cv_c_bigendian
=yes
14968 echo "configure: failed program was:" >&5
14969 cat conftest.
$ac_ext >&5
14971 ac_cv_c_bigendian
=no
14975 echo "configure: failed program was:" >&5
14976 cat conftest.
$ac_ext >&5
14979 if test $ac_cv_c_bigendian = unknown
; then
14980 if test "$cross_compiling" = yes; then
14981 ac_cv_c_bigendian
=unknown
14983 cat > conftest.
$ac_ext <<EOF
14984 #line 14985 "configure"
14985 #include "confdefs.h"
14987 /* Are we little or big endian? From Harbison&Steele. */
14991 char c[sizeof (long)];
14994 exit (u.c[sizeof (long) - 1] == 1);
14997 if { (eval echo configure
:14998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14999 ac_cv_c_bigendian
=no
15001 echo "configure: failed program was:" >&5
15002 cat conftest.
$ac_ext >&5
15004 ac_cv_c_bigendian
=yes
15012 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
15013 if test $ac_cv_c_bigendian = unknown
; then
15014 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
15016 if test $ac_cv_c_bigendian = yes; then
15017 cat >> confdefs.h
<<\EOF
15018 #define WORDS_BIGENDIAN 1
15024 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
15025 echo "configure:15026: checking how to run the C++ preprocessor" >&5
15026 if test -z "$CXXCPP"; then
15027 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
15028 echo $ac_n "(cached) $ac_c" 1>&6
15031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15032 ac_cpp
='$CXXCPP $CPPFLAGS'
15033 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15034 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15035 cross_compiling
=$ac_cv_prog_cxx_cross
15036 CXXCPP
="${CXX-g++} -E"
15037 cat > conftest.
$ac_ext <<EOF
15038 #line 15039 "configure"
15039 #include "confdefs.h"
15040 #include <stdlib.h>
15042 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15043 { (eval echo configure
:15044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15044 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15045 if test -z "$ac_err"; then
15049 echo "configure: failed program was:" >&5
15050 cat conftest.
$ac_ext >&5
15055 ac_cv_prog_CXXCPP
="$CXXCPP"
15057 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15058 ac_cpp
='$CXXCPP $CPPFLAGS'
15059 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15060 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15061 cross_compiling
=$ac_cv_prog_cxx_cross
15064 CXXCPP
="$ac_cv_prog_CXXCPP"
15065 echo "$ac_t""$CXXCPP" 1>&6
15068 if test "$cross_compiling" = "yes"; then
15069 cat >> confdefs.h
<<\EOF
15070 #define wxUSE_IOSTREAMH 1
15076 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15077 ac_cpp
='$CXXCPP $CPPFLAGS'
15078 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15079 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15080 cross_compiling
=$ac_cv_prog_cxx_cross
15083 for ac_hdr
in iostream
15085 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15086 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15087 echo "configure:15088: checking for $ac_hdr" >&5
15088 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15089 echo $ac_n "(cached) $ac_c" 1>&6
15091 cat > conftest.
$ac_ext <<EOF
15092 #line 15093 "configure"
15093 #include "confdefs.h"
15096 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15097 { (eval echo configure
:15098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15098 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15099 if test -z "$ac_err"; then
15101 eval "ac_cv_header_$ac_safe=yes"
15104 echo "configure: failed program was:" >&5
15105 cat conftest.
$ac_ext >&5
15107 eval "ac_cv_header_$ac_safe=no"
15111 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15112 echo "$ac_t""yes" 1>&6
15113 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15114 cat >> confdefs.h
<<EOF
15115 #define $ac_tr_hdr 1
15119 echo "$ac_t""no" 1>&6
15124 if test "$ac_cv_header_iostream" = "yes" ; then
15127 cat >> confdefs.h
<<\EOF
15128 #define wxUSE_IOSTREAMH 1
15134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15135 ac_cpp
='$CPP $CPPFLAGS'
15136 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15137 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15138 cross_compiling
=$ac_cv_prog_cc_cross
15144 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
15145 echo "configure:15146: checking if C++ compiler supports bool" >&5
15146 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
15147 echo $ac_n "(cached) $ac_c" 1>&6
15152 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15153 ac_cpp
='$CXXCPP $CPPFLAGS'
15154 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15155 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15156 cross_compiling
=$ac_cv_prog_cxx_cross
15159 cat > conftest.
$ac_ext <<EOF
15160 #line 15161 "configure"
15161 #include "confdefs.h"
15172 if { (eval echo configure
:15173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15178 echo "configure: failed program was:" >&5
15179 cat conftest.
$ac_ext >&5
15189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15190 ac_cpp
='$CPP $CPPFLAGS'
15191 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15192 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15193 cross_compiling
=$ac_cv_prog_cc_cross
15198 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
15200 if test "$wx_cv_cpp_bool" = "yes"; then
15201 cat >> confdefs.h
<<\EOF
15202 #define HAVE_BOOL 1
15209 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
15210 echo "configure:15211: checking for wcslen in -lc" >&5
15211 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
15212 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15213 echo $ac_n "(cached) $ac_c" 1>&6
15215 ac_save_LIBS
="$LIBS"
15217 cat > conftest.
$ac_ext <<EOF
15218 #line 15219 "configure"
15219 #include "confdefs.h"
15220 /* Override any gcc2 internal prototype to avoid an error. */
15221 /* We use char because int might match the return type of a gcc2
15222 builtin and then its argument prototype would still apply. */
15229 if { (eval echo configure
:15230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15231 eval "ac_cv_lib_$ac_lib_var=yes"
15233 echo "configure: failed program was:" >&5
15234 cat conftest.
$ac_ext >&5
15236 eval "ac_cv_lib_$ac_lib_var=no"
15239 LIBS
="$ac_save_LIBS"
15242 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15243 echo "$ac_t""yes" 1>&6
15245 cat >> confdefs.h
<<\EOF
15246 #define HAVE_WCSLEN 1
15252 echo "$ac_t""no" 1>&6
15254 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15255 echo "configure:15256: checking for wcslen in -lw" >&5
15256 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15257 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15258 echo $ac_n "(cached) $ac_c" 1>&6
15260 ac_save_LIBS
="$LIBS"
15262 cat > conftest.
$ac_ext <<EOF
15263 #line 15264 "configure"
15264 #include "confdefs.h"
15265 /* Override any gcc2 internal prototype to avoid an error. */
15266 /* We use char because int might match the return type of a gcc2
15267 builtin and then its argument prototype would still apply. */
15274 if { (eval echo configure
:15275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15276 eval "ac_cv_lib_$ac_lib_var=yes"
15278 echo "configure: failed program was:" >&5
15279 cat conftest.
$ac_ext >&5
15281 eval "ac_cv_lib_$ac_lib_var=no"
15284 LIBS
="$ac_save_LIBS"
15287 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15288 echo "$ac_t""yes" 1>&6
15290 cat >> confdefs.h
<<\EOF
15291 #define HAVE_WCSLEN 1
15297 echo "$ac_t""no" 1>&6
15299 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15300 echo "configure:15301: checking for wcslen in -lmsvcrt" >&5
15301 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15302 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15303 echo $ac_n "(cached) $ac_c" 1>&6
15305 ac_save_LIBS
="$LIBS"
15306 LIBS
="-lmsvcrt $LIBS"
15307 cat > conftest.
$ac_ext <<EOF
15308 #line 15309 "configure"
15309 #include "confdefs.h"
15310 /* Override any gcc2 internal prototype to avoid an error. */
15311 /* We use char because int might match the return type of a gcc2
15312 builtin and then its argument prototype would still apply. */
15319 if { (eval echo configure
:15320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15321 eval "ac_cv_lib_$ac_lib_var=yes"
15323 echo "configure: failed program was:" >&5
15324 cat conftest.
$ac_ext >&5
15326 eval "ac_cv_lib_$ac_lib_var=no"
15329 LIBS
="$ac_save_LIBS"
15332 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15333 echo "$ac_t""yes" 1>&6
15335 cat >> confdefs.h
<<\EOF
15336 #define HAVE_WCSLEN 1
15342 echo "$ac_t""no" 1>&6
15352 for ac_func
in wcsrtombs
15354 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15355 echo "configure:15356: checking for $ac_func" >&5
15356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15357 echo $ac_n "(cached) $ac_c" 1>&6
15359 cat > conftest.
$ac_ext <<EOF
15360 #line 15361 "configure"
15361 #include "confdefs.h"
15362 /* System header to define __stub macros and hopefully few prototypes,
15363 which can conflict with char $ac_func(); below. */
15364 #include <assert.h>
15365 /* Override any gcc2 internal prototype to avoid an error. */
15366 /* We use char because int might match the return type of a gcc2
15367 builtin and then its argument prototype would still apply. */
15372 /* The GNU C library defines this for functions which it implements
15373 to always fail with ENOSYS. Some functions are actually named
15374 something starting with __ and the normal name is an alias. */
15375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15383 if { (eval echo configure
:15384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15385 eval "ac_cv_func_$ac_func=yes"
15387 echo "configure: failed program was:" >&5
15388 cat conftest.
$ac_ext >&5
15390 eval "ac_cv_func_$ac_func=no"
15395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15396 echo "$ac_t""yes" 1>&6
15397 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15398 cat >> confdefs.h
<<EOF
15399 #define $ac_tr_func 1
15403 echo "$ac_t""no" 1>&6
15408 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15409 echo "configure:15410: checking for vprintf" >&5
15410 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15411 echo $ac_n "(cached) $ac_c" 1>&6
15413 cat > conftest.
$ac_ext <<EOF
15414 #line 15415 "configure"
15415 #include "confdefs.h"
15416 /* System header to define __stub macros and hopefully few prototypes,
15417 which can conflict with char vprintf(); below. */
15418 #include <assert.h>
15419 /* Override any gcc2 internal prototype to avoid an error. */
15420 /* We use char because int might match the return type of a gcc2
15421 builtin and then its argument prototype would still apply. */
15426 /* The GNU C library defines this for functions which it implements
15427 to always fail with ENOSYS. Some functions are actually named
15428 something starting with __ and the normal name is an alias. */
15429 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15437 if { (eval echo configure
:15438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15439 eval "ac_cv_func_vprintf=yes"
15441 echo "configure: failed program was:" >&5
15442 cat conftest.
$ac_ext >&5
15444 eval "ac_cv_func_vprintf=no"
15449 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15450 echo "$ac_t""yes" 1>&6
15451 cat >> confdefs.h
<<\EOF
15452 #define HAVE_VPRINTF 1
15456 echo "$ac_t""no" 1>&6
15459 if test "$ac_cv_func_vprintf" != yes; then
15460 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15461 echo "configure:15462: checking for _doprnt" >&5
15462 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15463 echo $ac_n "(cached) $ac_c" 1>&6
15465 cat > conftest.
$ac_ext <<EOF
15466 #line 15467 "configure"
15467 #include "confdefs.h"
15468 /* System header to define __stub macros and hopefully few prototypes,
15469 which can conflict with char _doprnt(); below. */
15470 #include <assert.h>
15471 /* Override any gcc2 internal prototype to avoid an error. */
15472 /* We use char because int might match the return type of a gcc2
15473 builtin and then its argument prototype would still apply. */
15478 /* The GNU C library defines this for functions which it implements
15479 to always fail with ENOSYS. Some functions are actually named
15480 something starting with __ and the normal name is an alias. */
15481 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15489 if { (eval echo configure
:15490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15491 eval "ac_cv_func__doprnt=yes"
15493 echo "configure: failed program was:" >&5
15494 cat conftest.
$ac_ext >&5
15496 eval "ac_cv_func__doprnt=no"
15501 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15502 echo "$ac_t""yes" 1>&6
15503 cat >> confdefs.h
<<\EOF
15504 #define HAVE_DOPRNT 1
15508 echo "$ac_t""no" 1>&6
15518 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15519 echo "configure:15520: checking for vsnprintf" >&5
15520 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15521 echo $ac_n "(cached) $ac_c" 1>&6
15524 cat > conftest.
$ac_ext <<EOF
15525 #line 15526 "configure"
15526 #include "confdefs.h"
15529 #include <stdarg.h>
15533 int wx_test_vsnprintf(const char *, ...);
15535 wx_test_vsnprintf("%s");
15539 int wx_test_vsnprintf(const char *fmt, ...)
15544 va_start(argp, fmt);
15545 vsnprintf(s, 42, fmt, argp);
15550 if { (eval echo configure
:15551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15553 wx_cv_func_vsnprintf
=yes
15556 echo "configure: failed program was:" >&5
15557 cat conftest.
$ac_ext >&5
15560 cat > conftest.
$ac_ext <<EOF
15561 #line 15562 "configure"
15562 #include "confdefs.h"
15565 #include <stdarg.h>
15569 int wx_test_vsnprintf(const char *, ...);
15571 wx_test_vsnprintf("%s");
15575 int wx_test_vsnprintf(const char *fmt, ...)
15580 va_start(argp, fmt);
15581 _vsnprintf(s, 42, fmt, argp);
15586 if { (eval echo configure
:15587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15589 wx_cv_func_vsnprintf
=yes
15592 echo "configure: failed program was:" >&5
15593 cat conftest.
$ac_ext >&5
15596 wx_cv_func_vsnprintf
=no
15606 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15608 if test "$wx_cv_func_vsnprintf" = yes; then
15609 cat >> confdefs.h
<<\EOF
15610 #define HAVE_VSNPRINTF 1
15614 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15617 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15618 echo "configure:15619: checking for vsscanf" >&5
15619 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15620 echo $ac_n "(cached) $ac_c" 1>&6
15623 cat > conftest.
$ac_ext <<EOF
15624 #line 15625 "configure"
15625 #include "confdefs.h"
15628 #include <stdarg.h>
15632 int wx_test_vsscanf(const char *, ...);
15634 wx_test_vsscanf("%d");
15638 int wx_test_vsscanf(const char *fmt, ...)
15641 va_start(argp, fmt);
15642 vsscanf("42", fmt, argp);
15647 if { (eval echo configure
:15648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15650 wx_cv_func_vsscanf
=yes
15653 echo "configure: failed program was:" >&5
15654 cat conftest.
$ac_ext >&5
15657 wx_cv_func_vsscanf
=no
15664 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15666 if test "$wx_cv_func_vsscanf" = yes; then
15667 cat >> confdefs.h
<<\EOF
15668 #define HAVE_VSSCANF 1
15673 if test "$TOOLKIT" != "MSW"; then
15678 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15679 ac_cpp
='$CXXCPP $CPPFLAGS'
15680 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15681 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15682 cross_compiling
=$ac_cv_prog_cxx_cross
15686 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15687 if test "${with_libiconv_prefix+set}" = set; then
15688 withval
="$with_libiconv_prefix"
15690 for dir
in `echo "$withval" | tr : ' '`; do
15691 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
15692 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
15698 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15699 echo "configure:15700: checking for iconv" >&5
15700 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15701 echo $ac_n "(cached) $ac_c" 1>&6
15704 am_cv_func_iconv
="no, consider installing GNU libiconv"
15706 cat > conftest.
$ac_ext <<EOF
15707 #line 15708 "configure"
15708 #include "confdefs.h"
15709 #include <stdlib.h>
15712 iconv_t cd = iconv_open("","");
15713 iconv(cd,NULL,NULL,NULL,NULL);
15717 if { (eval echo configure
:15718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15719 am_cv_func_iconv
=yes
15721 echo "configure: failed program was:" >&5
15722 cat conftest.
$ac_ext >&5
15725 if test "$am_cv_func_iconv" != yes; then
15726 am_save_LIBS
="$LIBS"
15727 LIBS
="$LIBS -liconv"
15728 cat > conftest.
$ac_ext <<EOF
15729 #line 15730 "configure"
15730 #include "confdefs.h"
15731 #include <stdlib.h>
15734 iconv_t cd = iconv_open("","");
15735 iconv(cd,NULL,NULL,NULL,NULL);
15739 if { (eval echo configure
:15740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15741 am_cv_lib_iconv
=yes
15742 am_cv_func_iconv
=yes
15744 echo "configure: failed program was:" >&5
15745 cat conftest.
$ac_ext >&5
15748 LIBS
="$am_save_LIBS"
15753 echo "$ac_t""$am_cv_func_iconv" 1>&6
15754 if test "$am_cv_func_iconv" = yes; then
15755 cat >> confdefs.h
<<\EOF
15756 #define HAVE_ICONV 1
15759 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
15760 echo "configure:15761: checking if iconv needs const" >&5
15761 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
15762 echo $ac_n "(cached) $ac_c" 1>&6
15764 cat > conftest.
$ac_ext <<EOF
15765 #line 15766 "configure"
15766 #include "confdefs.h"
15768 #include <stdlib.h>
15774 #if defined(__STDC__) || defined(__cplusplus)
15775 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15784 if { (eval echo configure
:15785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15786 wx_cv_func_iconv_const
="no"
15788 echo "configure: failed program was:" >&5
15789 cat conftest.
$ac_ext >&5
15791 wx_cv_func_iconv_const
="yes"
15798 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
15801 if test "x$wx_cv_func_iconv_const" = "xyes"; then
15802 iconv_const
="const"
15805 cat >> confdefs.h
<<EOF
15806 #define ICONV_CONST $iconv_const
15811 if test "$am_cv_lib_iconv" = yes; then
15816 LIBS
="$LIBICONV $LIBS"
15818 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15819 ac_cpp
='$CPP $CPPFLAGS'
15820 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15821 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15822 cross_compiling
=$ac_cv_prog_cc_cross
15825 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15826 for ac_func
in sigaction
15828 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15829 echo "configure:15830: checking for $ac_func" >&5
15830 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15831 echo $ac_n "(cached) $ac_c" 1>&6
15833 cat > conftest.
$ac_ext <<EOF
15834 #line 15835 "configure"
15835 #include "confdefs.h"
15836 /* System header to define __stub macros and hopefully few prototypes,
15837 which can conflict with char $ac_func(); below. */
15838 #include <assert.h>
15839 /* Override any gcc2 internal prototype to avoid an error. */
15840 /* We use char because int might match the return type of a gcc2
15841 builtin and then its argument prototype would still apply. */
15846 /* The GNU C library defines this for functions which it implements
15847 to always fail with ENOSYS. Some functions are actually named
15848 something starting with __ and the normal name is an alias. */
15849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15857 if { (eval echo configure
:15858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15859 eval "ac_cv_func_$ac_func=yes"
15861 echo "configure: failed program was:" >&5
15862 cat conftest.
$ac_ext >&5
15864 eval "ac_cv_func_$ac_func=no"
15869 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15870 echo "$ac_t""yes" 1>&6
15871 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15872 cat >> confdefs.h
<<EOF
15873 #define $ac_tr_func 1
15877 echo "$ac_t""no" 1>&6
15882 if test "$ac_cv_func_sigaction" = "no"; then
15883 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15884 wxUSE_ON_FATAL_EXCEPTION
=no
15887 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15891 ac_cpp
='$CXXCPP $CPPFLAGS'
15892 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15893 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15894 cross_compiling
=$ac_cv_prog_cxx_cross
15897 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15898 echo "configure:15899: checking for sa_handler type" >&5
15899 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15900 echo $ac_n "(cached) $ac_c" 1>&6
15903 cat > conftest.
$ac_ext <<EOF
15904 #line 15905 "configure"
15905 #include "confdefs.h"
15906 #include <signal.h>
15909 extern void testSigHandler(int);
15911 struct sigaction sa;
15912 sa.sa_handler = testSigHandler;
15916 if { (eval echo configure
:15917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15919 wx_cv_type_sa_handler
=int
15922 echo "configure: failed program was:" >&5
15923 cat conftest.
$ac_ext >&5
15926 wx_cv_type_sa_handler
=void
15933 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
15936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15937 ac_cpp
='$CPP $CPPFLAGS'
15938 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15939 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15940 cross_compiling
=$ac_cv_prog_cc_cross
15943 cat >> confdefs.h
<<EOF
15944 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
15950 for ac_func
in vfork
15952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15953 echo "configure:15954: checking for $ac_func" >&5
15954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15955 echo $ac_n "(cached) $ac_c" 1>&6
15957 cat > conftest.
$ac_ext <<EOF
15958 #line 15959 "configure"
15959 #include "confdefs.h"
15960 /* System header to define __stub macros and hopefully few prototypes,
15961 which can conflict with char $ac_func(); below. */
15962 #include <assert.h>
15963 /* Override any gcc2 internal prototype to avoid an error. */
15964 /* We use char because int might match the return type of a gcc2
15965 builtin and then its argument prototype would still apply. */
15970 /* The GNU C library defines this for functions which it implements
15971 to always fail with ENOSYS. Some functions are actually named
15972 something starting with __ and the normal name is an alias. */
15973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15981 if { (eval echo configure
:15982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15983 eval "ac_cv_func_$ac_func=yes"
15985 echo "configure: failed program was:" >&5
15986 cat conftest.
$ac_ext >&5
15988 eval "ac_cv_func_$ac_func=no"
15993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15994 echo "$ac_t""yes" 1>&6
15995 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15996 cat >> confdefs.h
<<EOF
15997 #define $ac_tr_func 1
16001 echo "$ac_t""no" 1>&6
16006 for ac_func
in mkstemp mktemp
16008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16009 echo "configure:16010: checking for $ac_func" >&5
16010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16011 echo $ac_n "(cached) $ac_c" 1>&6
16013 cat > conftest.
$ac_ext <<EOF
16014 #line 16015 "configure"
16015 #include "confdefs.h"
16016 /* System header to define __stub macros and hopefully few prototypes,
16017 which can conflict with char $ac_func(); below. */
16018 #include <assert.h>
16019 /* Override any gcc2 internal prototype to avoid an error. */
16020 /* We use char because int might match the return type of a gcc2
16021 builtin and then its argument prototype would still apply. */
16026 /* The GNU C library defines this for functions which it implements
16027 to always fail with ENOSYS. Some functions are actually named
16028 something starting with __ and the normal name is an alias. */
16029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16037 if { (eval echo configure
:16038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16039 eval "ac_cv_func_$ac_func=yes"
16041 echo "configure: failed program was:" >&5
16042 cat conftest.
$ac_ext >&5
16044 eval "ac_cv_func_$ac_func=no"
16049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16050 echo "$ac_t""yes" 1>&6
16051 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16052 cat >> confdefs.h
<<EOF
16053 #define $ac_tr_func 1
16057 echo "$ac_t""no" 1>&6
16062 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16063 echo "configure:16064: checking for statfs" >&5
16064 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16065 echo $ac_n "(cached) $ac_c" 1>&6
16067 cat > conftest.
$ac_ext <<EOF
16068 #line 16069 "configure"
16069 #include "confdefs.h"
16071 #if defined(__BSD__)
16072 #include <sys/param.h>
16073 #include <sys/mount.h>
16075 #include <sys/vfs.h>
16089 if { (eval echo configure
:16090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16092 wx_cv_func_statfs
=yes
16095 echo "configure: failed program was:" >&5
16096 cat conftest.
$ac_ext >&5
16099 wx_cv_func_statfs
=no
16107 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16109 if test "$wx_cv_func_statfs" = "yes"; then
16110 cat >> confdefs.h
<<\EOF
16111 #define HAVE_STATFS 1
16115 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16116 echo "configure:16117: checking for statvfs" >&5
16117 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16118 echo $ac_n "(cached) $ac_c" 1>&6
16120 cat > conftest.
$ac_ext <<EOF
16121 #line 16122 "configure"
16122 #include "confdefs.h"
16124 #include <sys/statvfs.h>
16137 if { (eval echo configure
:16138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16140 wx_cv_func_statvfs
=yes
16143 echo "configure: failed program was:" >&5
16144 cat conftest.
$ac_ext >&5
16147 wx_cv_func_statvfs
=no
16155 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16157 if test "$wx_cv_func_statvfs" = "yes"; then
16158 cat >> confdefs.h
<<\EOF
16159 #define HAVE_STATVFS 1
16163 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16167 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16168 for ac_func
in fcntl flock
16170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16171 echo "configure:16172: checking for $ac_func" >&5
16172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16173 echo $ac_n "(cached) $ac_c" 1>&6
16175 cat > conftest.
$ac_ext <<EOF
16176 #line 16177 "configure"
16177 #include "confdefs.h"
16178 /* System header to define __stub macros and hopefully few prototypes,
16179 which can conflict with char $ac_func(); below. */
16180 #include <assert.h>
16181 /* Override any gcc2 internal prototype to avoid an error. */
16182 /* We use char because int might match the return type of a gcc2
16183 builtin and then its argument prototype would still apply. */
16188 /* The GNU C library defines this for functions which it implements
16189 to always fail with ENOSYS. Some functions are actually named
16190 something starting with __ and the normal name is an alias. */
16191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16199 if { (eval echo configure
:16200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16201 eval "ac_cv_func_$ac_func=yes"
16203 echo "configure: failed program was:" >&5
16204 cat conftest.
$ac_ext >&5
16206 eval "ac_cv_func_$ac_func=no"
16211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16212 echo "$ac_t""yes" 1>&6
16213 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16214 cat >> confdefs.h
<<EOF
16215 #define $ac_tr_func 1
16219 echo "$ac_t""no" 1>&6
16224 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16225 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16226 wxUSE_SNGLINST_CHECKER
=no
16230 for ac_func
in timegm
16232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16233 echo "configure:16234: checking for $ac_func" >&5
16234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16235 echo $ac_n "(cached) $ac_c" 1>&6
16237 cat > conftest.
$ac_ext <<EOF
16238 #line 16239 "configure"
16239 #include "confdefs.h"
16240 /* System header to define __stub macros and hopefully few prototypes,
16241 which can conflict with char $ac_func(); below. */
16242 #include <assert.h>
16243 /* Override any gcc2 internal prototype to avoid an error. */
16244 /* We use char because int might match the return type of a gcc2
16245 builtin and then its argument prototype would still apply. */
16250 /* The GNU C library defines this for functions which it implements
16251 to always fail with ENOSYS. Some functions are actually named
16252 something starting with __ and the normal name is an alias. */
16253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16261 if { (eval echo configure
:16262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16263 eval "ac_cv_func_$ac_func=yes"
16265 echo "configure: failed program was:" >&5
16266 cat conftest.
$ac_ext >&5
16268 eval "ac_cv_func_$ac_func=no"
16273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16274 echo "$ac_t""yes" 1>&6
16275 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16276 cat >> confdefs.h
<<EOF
16277 #define $ac_tr_func 1
16281 echo "$ac_t""no" 1>&6
16286 for ac_func
in putenv setenv
16288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16289 echo "configure:16290: checking for $ac_func" >&5
16290 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16291 echo $ac_n "(cached) $ac_c" 1>&6
16293 cat > conftest.
$ac_ext <<EOF
16294 #line 16295 "configure"
16295 #include "confdefs.h"
16296 /* System header to define __stub macros and hopefully few prototypes,
16297 which can conflict with char $ac_func(); below. */
16298 #include <assert.h>
16299 /* Override any gcc2 internal prototype to avoid an error. */
16300 /* We use char because int might match the return type of a gcc2
16301 builtin and then its argument prototype would still apply. */
16306 /* The GNU C library defines this for functions which it implements
16307 to always fail with ENOSYS. Some functions are actually named
16308 something starting with __ and the normal name is an alias. */
16309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16317 if { (eval echo configure
:16318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16319 eval "ac_cv_func_$ac_func=yes"
16321 echo "configure: failed program was:" >&5
16322 cat conftest.
$ac_ext >&5
16324 eval "ac_cv_func_$ac_func=no"
16329 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16330 echo "$ac_t""yes" 1>&6
16331 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16332 cat >> confdefs.h
<<EOF
16333 #define $ac_tr_func 1
16337 echo "$ac_t""no" 1>&6
16342 HAVE_SOME_SLEEP_FUNC
=0
16343 if test "$USE_BEOS" = 1; then
16344 cat >> confdefs.h
<<\EOF
16345 #define HAVE_SLEEP 1
16348 HAVE_SOME_SLEEP_FUNC
=1
16351 if test "$USE_DARWIN" = 1; then
16352 cat >> confdefs.h
<<\EOF
16353 #define HAVE_USLEEP 1
16356 HAVE_SOME_SLEEP_FUNC
=1
16359 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16361 for ac_func
in nanosleep
16363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16364 echo "configure:16365: checking for $ac_func" >&5
16365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16366 echo $ac_n "(cached) $ac_c" 1>&6
16368 cat > conftest.
$ac_ext <<EOF
16369 #line 16370 "configure"
16370 #include "confdefs.h"
16371 /* System header to define __stub macros and hopefully few prototypes,
16372 which can conflict with char $ac_func(); below. */
16373 #include <assert.h>
16374 /* Override any gcc2 internal prototype to avoid an error. */
16375 /* We use char because int might match the return type of a gcc2
16376 builtin and then its argument prototype would still apply. */
16381 /* The GNU C library defines this for functions which it implements
16382 to always fail with ENOSYS. Some functions are actually named
16383 something starting with __ and the normal name is an alias. */
16384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16392 if { (eval echo configure
:16393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16394 eval "ac_cv_func_$ac_func=yes"
16396 echo "configure: failed program was:" >&5
16397 cat conftest.
$ac_ext >&5
16399 eval "ac_cv_func_$ac_func=no"
16404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16405 echo "$ac_t""yes" 1>&6
16406 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16407 cat >> confdefs.h
<<EOF
16408 #define $ac_tr_func 1
16410 cat >> confdefs.h
<<\EOF
16411 #define HAVE_NANOSLEEP 1
16415 echo "$ac_t""no" 1>&6
16416 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16417 echo "configure:16418: checking for nanosleep in -lposix4" >&5
16418 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16419 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16420 echo $ac_n "(cached) $ac_c" 1>&6
16422 ac_save_LIBS
="$LIBS"
16423 LIBS
="-lposix4 $LIBS"
16424 cat > conftest.
$ac_ext <<EOF
16425 #line 16426 "configure"
16426 #include "confdefs.h"
16427 /* Override any gcc2 internal prototype to avoid an error. */
16428 /* We use char because int might match the return type of a gcc2
16429 builtin and then its argument prototype would still apply. */
16436 if { (eval echo configure
:16437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16438 eval "ac_cv_lib_$ac_lib_var=yes"
16440 echo "configure: failed program was:" >&5
16441 cat conftest.
$ac_ext >&5
16443 eval "ac_cv_lib_$ac_lib_var=no"
16446 LIBS
="$ac_save_LIBS"
16449 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16450 echo "$ac_t""yes" 1>&6
16452 cat >> confdefs.h
<<\EOF
16453 #define HAVE_NANOSLEEP 1
16456 POSIX4_LINK
=" -lposix4"
16459 echo "$ac_t""no" 1>&6
16461 for ac_func
in usleep
16463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16464 echo "configure:16465: checking for $ac_func" >&5
16465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16466 echo $ac_n "(cached) $ac_c" 1>&6
16468 cat > conftest.
$ac_ext <<EOF
16469 #line 16470 "configure"
16470 #include "confdefs.h"
16471 /* System header to define __stub macros and hopefully few prototypes,
16472 which can conflict with char $ac_func(); below. */
16473 #include <assert.h>
16474 /* Override any gcc2 internal prototype to avoid an error. */
16475 /* We use char because int might match the return type of a gcc2
16476 builtin and then its argument prototype would still apply. */
16481 /* The GNU C library defines this for functions which it implements
16482 to always fail with ENOSYS. Some functions are actually named
16483 something starting with __ and the normal name is an alias. */
16484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16492 if { (eval echo configure
:16493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16494 eval "ac_cv_func_$ac_func=yes"
16496 echo "configure: failed program was:" >&5
16497 cat conftest.
$ac_ext >&5
16499 eval "ac_cv_func_$ac_func=no"
16504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16505 echo "$ac_t""yes" 1>&6
16506 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16507 cat >> confdefs.h
<<EOF
16508 #define $ac_tr_func 1
16510 cat >> confdefs.h
<<\EOF
16511 #define HAVE_USLEEP 1
16515 echo "$ac_t""no" 1>&6
16516 echo "configure: warning: wxSleep() function will not work" 1>&2
16532 for ac_func
in uname gethostname
16534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16535 echo "configure:16536: checking for $ac_func" >&5
16536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16537 echo $ac_n "(cached) $ac_c" 1>&6
16539 cat > conftest.
$ac_ext <<EOF
16540 #line 16541 "configure"
16541 #include "confdefs.h"
16542 /* System header to define __stub macros and hopefully few prototypes,
16543 which can conflict with char $ac_func(); below. */
16544 #include <assert.h>
16545 /* Override any gcc2 internal prototype to avoid an error. */
16546 /* We use char because int might match the return type of a gcc2
16547 builtin and then its argument prototype would still apply. */
16552 /* The GNU C library defines this for functions which it implements
16553 to always fail with ENOSYS. Some functions are actually named
16554 something starting with __ and the normal name is an alias. */
16555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16563 if { (eval echo configure
:16564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16565 eval "ac_cv_func_$ac_func=yes"
16567 echo "configure: failed program was:" >&5
16568 cat conftest.
$ac_ext >&5
16570 eval "ac_cv_func_$ac_func=no"
16575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16576 echo "$ac_t""yes" 1>&6
16577 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16578 cat >> confdefs.h
<<EOF
16579 #define $ac_tr_func 1
16583 echo "$ac_t""no" 1>&6
16590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16591 ac_cpp
='$CXXCPP $CPPFLAGS'
16592 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16593 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16594 cross_compiling
=$ac_cv_prog_cxx_cross
16597 for ac_func
in strtok_r
16599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16600 echo "configure:16601: checking for $ac_func" >&5
16601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16602 echo $ac_n "(cached) $ac_c" 1>&6
16604 cat > conftest.
$ac_ext <<EOF
16605 #line 16606 "configure"
16606 #include "confdefs.h"
16607 /* System header to define __stub macros and hopefully few prototypes,
16608 which can conflict with char $ac_func(); below. */
16609 #include <assert.h>
16610 /* Override any gcc2 internal prototype to avoid an error. */
16614 /* We use char because int might match the return type of a gcc2
16615 builtin and then its argument prototype would still apply. */
16620 /* The GNU C library defines this for functions which it implements
16621 to always fail with ENOSYS. Some functions are actually named
16622 something starting with __ and the normal name is an alias. */
16623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16631 if { (eval echo configure
:16632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16633 eval "ac_cv_func_$ac_func=yes"
16635 echo "configure: failed program was:" >&5
16636 cat conftest.
$ac_ext >&5
16638 eval "ac_cv_func_$ac_func=no"
16643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16644 echo "$ac_t""yes" 1>&6
16645 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16646 cat >> confdefs.h
<<EOF
16647 #define $ac_tr_func 1
16651 echo "$ac_t""no" 1>&6
16657 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16658 ac_cpp
='$CPP $CPPFLAGS'
16659 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16660 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16661 cross_compiling
=$ac_cv_prog_cc_cross
16665 for ac_func
in inet_addr
16667 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16668 echo "configure:16669: checking for $ac_func" >&5
16669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16670 echo $ac_n "(cached) $ac_c" 1>&6
16672 cat > conftest.
$ac_ext <<EOF
16673 #line 16674 "configure"
16674 #include "confdefs.h"
16675 /* System header to define __stub macros and hopefully few prototypes,
16676 which can conflict with char $ac_func(); below. */
16677 #include <assert.h>
16678 /* Override any gcc2 internal prototype to avoid an error. */
16679 /* We use char because int might match the return type of a gcc2
16680 builtin and then its argument prototype would still apply. */
16685 /* The GNU C library defines this for functions which it implements
16686 to always fail with ENOSYS. Some functions are actually named
16687 something starting with __ and the normal name is an alias. */
16688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16696 if { (eval echo configure
:16697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16698 eval "ac_cv_func_$ac_func=yes"
16700 echo "configure: failed program was:" >&5
16701 cat conftest.
$ac_ext >&5
16703 eval "ac_cv_func_$ac_func=no"
16708 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16709 echo "$ac_t""yes" 1>&6
16710 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16711 cat >> confdefs.h
<<EOF
16712 #define $ac_tr_func 1
16714 cat >> confdefs.h
<<\EOF
16715 #define HAVE_INET_ADDR 1
16719 echo "$ac_t""no" 1>&6
16720 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16721 echo "configure:16722: checking for inet_addr in -lnsl" >&5
16722 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16723 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16724 echo $ac_n "(cached) $ac_c" 1>&6
16726 ac_save_LIBS
="$LIBS"
16728 cat > conftest.
$ac_ext <<EOF
16729 #line 16730 "configure"
16730 #include "confdefs.h"
16731 /* Override any gcc2 internal prototype to avoid an error. */
16732 /* We use char because int might match the return type of a gcc2
16733 builtin and then its argument prototype would still apply. */
16740 if { (eval echo configure
:16741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16742 eval "ac_cv_lib_$ac_lib_var=yes"
16744 echo "configure: failed program was:" >&5
16745 cat conftest.
$ac_ext >&5
16747 eval "ac_cv_lib_$ac_lib_var=no"
16750 LIBS
="$ac_save_LIBS"
16753 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16754 echo "$ac_t""yes" 1>&6
16757 echo "$ac_t""no" 1>&6
16758 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16759 echo "configure:16760: checking for inet_addr in -lresolv" >&5
16760 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16761 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16762 echo $ac_n "(cached) $ac_c" 1>&6
16764 ac_save_LIBS
="$LIBS"
16765 LIBS
="-lresolv $LIBS"
16766 cat > conftest.
$ac_ext <<EOF
16767 #line 16768 "configure"
16768 #include "confdefs.h"
16769 /* Override any gcc2 internal prototype to avoid an error. */
16770 /* We use char because int might match the return type of a gcc2
16771 builtin and then its argument prototype would still apply. */
16778 if { (eval echo configure
:16779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16780 eval "ac_cv_lib_$ac_lib_var=yes"
16782 echo "configure: failed program was:" >&5
16783 cat conftest.
$ac_ext >&5
16785 eval "ac_cv_lib_$ac_lib_var=no"
16788 LIBS
="$ac_save_LIBS"
16791 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16792 echo "$ac_t""yes" 1>&6
16796 echo "$ac_t""no" 1>&6
16808 for ac_func
in inet_aton
16810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16811 echo "configure:16812: checking for $ac_func" >&5
16812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16813 echo $ac_n "(cached) $ac_c" 1>&6
16815 cat > conftest.
$ac_ext <<EOF
16816 #line 16817 "configure"
16817 #include "confdefs.h"
16818 /* System header to define __stub macros and hopefully few prototypes,
16819 which can conflict with char $ac_func(); below. */
16820 #include <assert.h>
16821 /* Override any gcc2 internal prototype to avoid an error. */
16822 /* We use char because int might match the return type of a gcc2
16823 builtin and then its argument prototype would still apply. */
16828 /* The GNU C library defines this for functions which it implements
16829 to always fail with ENOSYS. Some functions are actually named
16830 something starting with __ and the normal name is an alias. */
16831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16839 if { (eval echo configure
:16840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16841 eval "ac_cv_func_$ac_func=yes"
16843 echo "configure: failed program was:" >&5
16844 cat conftest.
$ac_ext >&5
16846 eval "ac_cv_func_$ac_func=no"
16851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16852 echo "$ac_t""yes" 1>&6
16853 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16854 cat >> confdefs.h
<<EOF
16855 #define $ac_tr_func 1
16857 cat >> confdefs.h
<<\EOF
16858 #define HAVE_INET_ATON 1
16862 echo "$ac_t""no" 1>&6
16863 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
16864 echo "configure:16865: checking for inet_aton in -l$INET_LINK" >&5
16865 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
16866 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16867 echo $ac_n "(cached) $ac_c" 1>&6
16869 ac_save_LIBS
="$LIBS"
16870 LIBS
="-l$INET_LINK $LIBS"
16871 cat > conftest.
$ac_ext <<EOF
16872 #line 16873 "configure"
16873 #include "confdefs.h"
16874 /* Override any gcc2 internal prototype to avoid an error. */
16875 /* We use char because int might match the return type of a gcc2
16876 builtin and then its argument prototype would still apply. */
16883 if { (eval echo configure
:16884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16885 eval "ac_cv_lib_$ac_lib_var=yes"
16887 echo "configure: failed program was:" >&5
16888 cat conftest.
$ac_ext >&5
16890 eval "ac_cv_lib_$ac_lib_var=no"
16893 LIBS
="$ac_save_LIBS"
16896 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16897 echo "$ac_t""yes" 1>&6
16898 cat >> confdefs.h
<<\EOF
16899 #define HAVE_INET_ATON 1
16903 echo "$ac_t""no" 1>&6
16911 if test "x$INET_LINK" != "x"; then
16912 cat >> confdefs.h
<<\EOF
16913 #define HAVE_INET_ADDR 1
16916 INET_LINK
=" -l$INET_LINK"
16922 cat > confcache
<<\EOF
16923 # This file is a shell script that caches the results of configure
16924 # tests run on this system so they can be shared between configure
16925 # scripts and configure runs. It is not useful on other systems.
16926 # If it contains results you don't want to keep, you may remove or edit it.
16928 # By default, configure uses ./config.cache as the cache file,
16929 # creating it if it does not exist already. You can give configure
16930 # the --cache-file=FILE option to use a different cache file; that is
16931 # what configure does when it calls configure scripts in
16932 # subdirectories, so they share the cache.
16933 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16934 # config.status only pays attention to the cache file if you give it the
16935 # --recheck option to rerun configure.
16938 # The following way of writing the cache mishandles newlines in values,
16939 # but we know of no workaround that is simple, portable, and efficient.
16940 # So, don't put newlines in cache variables' values.
16941 # Ultrix sh set writes to stderr and can't be redirected directly,
16942 # and sets the high bit in the cache file unless we assign to the vars.
16944 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16946 # `set' does not quote correctly, so add quotes (double-quote substitution
16947 # turns \\\\ into \\, and sed turns \\ into \).
16949 -e "s/'/'\\\\''/g" \
16950 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16953 # `set' quotes correctly as required by POSIX, so do not add quotes.
16954 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16957 if cmp -s $cache_file confcache
; then
16960 if test -w $cache_file; then
16961 echo "updating cache $cache_file"
16962 cat confcache
> $cache_file
16964 echo "not updating unwritable cache $cache_file"
16971 if test "$TOOLKIT" != "MSW"; then
16977 CODE_GEN_FLAGS_CXX
=
16979 if test "$wxUSE_THREADS" = "yes" ; then
16980 if test "$wxUSE_WINE" = 1 ; then
16981 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
16983 elif test "$USE_BEOS" = 1; then
16984 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
16989 if test "$wxUSE_THREADS" = "yes" ; then
16991 if test "$USE_AIX" = 1; then
16992 THREADS_LIB
=pthreads
16994 THREADS_LIB
=pthread
16997 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
16998 echo "configure:16999: checking for pthread_create in -l$THREADS_LIB" >&5
16999 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
17000 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17001 echo $ac_n "(cached) $ac_c" 1>&6
17003 ac_save_LIBS
="$LIBS"
17004 LIBS
="-l$THREADS_LIB $LIBS"
17005 cat > conftest.
$ac_ext <<EOF
17006 #line 17007 "configure"
17007 #include "confdefs.h"
17008 /* Override any gcc2 internal prototype to avoid an error. */
17009 /* We use char because int might match the return type of a gcc2
17010 builtin and then its argument prototype would still apply. */
17011 char pthread_create();
17017 if { (eval echo configure
:17018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17019 eval "ac_cv_lib_$ac_lib_var=yes"
17021 echo "configure: failed program was:" >&5
17022 cat conftest.
$ac_ext >&5
17024 eval "ac_cv_lib_$ac_lib_var=no"
17027 LIBS
="$ac_save_LIBS"
17030 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17031 echo "$ac_t""yes" 1>&6
17033 THREADS_OBJ
="threadpsx.lo"
17034 THREADS_LINK
=$THREADS_LIB
17037 echo "$ac_t""no" 1>&6
17039 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
17040 echo "configure:17041: checking for pthread_create in -lc_r" >&5
17041 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
17042 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17043 echo $ac_n "(cached) $ac_c" 1>&6
17045 ac_save_LIBS
="$LIBS"
17047 cat > conftest.
$ac_ext <<EOF
17048 #line 17049 "configure"
17049 #include "confdefs.h"
17050 /* Override any gcc2 internal prototype to avoid an error. */
17051 /* We use char because int might match the return type of a gcc2
17052 builtin and then its argument prototype would still apply. */
17053 char pthread_create();
17059 if { (eval echo configure
:17060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17061 eval "ac_cv_lib_$ac_lib_var=yes"
17063 echo "configure: failed program was:" >&5
17064 cat conftest.
$ac_ext >&5
17066 eval "ac_cv_lib_$ac_lib_var=no"
17069 LIBS
="$ac_save_LIBS"
17072 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17073 echo "$ac_t""yes" 1>&6
17075 THREADS_OBJ
="threadpsx.lo"
17079 echo "$ac_t""no" 1>&6
17081 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
17082 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
17083 echo "configure:17084: checking for sys/prctl.h" >&5
17084 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17085 echo $ac_n "(cached) $ac_c" 1>&6
17087 cat > conftest.
$ac_ext <<EOF
17088 #line 17089 "configure"
17089 #include "confdefs.h"
17090 #include <sys/prctl.h>
17092 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17093 { (eval echo configure
:17094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17094 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17095 if test -z "$ac_err"; then
17097 eval "ac_cv_header_$ac_safe=yes"
17100 echo "configure: failed program was:" >&5
17101 cat conftest.
$ac_ext >&5
17103 eval "ac_cv_header_$ac_safe=no"
17107 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17108 echo "$ac_t""yes" 1>&6
17110 THREADS_OBJ
="threadsgi.lo"
17113 echo "$ac_t""no" 1>&6
17123 if test -z "$THREADS_OBJ" ; then
17125 echo "configure: warning: No thread support on this system... disabled" 1>&2
17129 if test "$wxUSE_THREADS" = "yes" ; then
17130 for ac_func
in thr_setconcurrency
17132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17133 echo "configure:17134: checking for $ac_func" >&5
17134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17135 echo $ac_n "(cached) $ac_c" 1>&6
17137 cat > conftest.
$ac_ext <<EOF
17138 #line 17139 "configure"
17139 #include "confdefs.h"
17140 /* System header to define __stub macros and hopefully few prototypes,
17141 which can conflict with char $ac_func(); below. */
17142 #include <assert.h>
17143 /* Override any gcc2 internal prototype to avoid an error. */
17144 /* We use char because int might match the return type of a gcc2
17145 builtin and then its argument prototype would still apply. */
17150 /* The GNU C library defines this for functions which it implements
17151 to always fail with ENOSYS. Some functions are actually named
17152 something starting with __ and the normal name is an alias. */
17153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17161 if { (eval echo configure
:17162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17163 eval "ac_cv_func_$ac_func=yes"
17165 echo "configure: failed program was:" >&5
17166 cat conftest.
$ac_ext >&5
17168 eval "ac_cv_func_$ac_func=no"
17173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17174 echo "$ac_t""yes" 1>&6
17175 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17176 cat >> confdefs.h
<<EOF
17177 #define $ac_tr_func 1
17181 echo "$ac_t""no" 1>&6
17187 for ac_hdr
in sched.h
17189 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17190 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17191 echo "configure:17192: checking for $ac_hdr" >&5
17192 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17193 echo $ac_n "(cached) $ac_c" 1>&6
17195 cat > conftest.
$ac_ext <<EOF
17196 #line 17197 "configure"
17197 #include "confdefs.h"
17200 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17201 { (eval echo configure
:17202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17202 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17203 if test -z "$ac_err"; then
17205 eval "ac_cv_header_$ac_safe=yes"
17208 echo "configure: failed program was:" >&5
17209 cat conftest.
$ac_ext >&5
17211 eval "ac_cv_header_$ac_safe=no"
17215 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17216 echo "$ac_t""yes" 1>&6
17217 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17218 cat >> confdefs.h
<<EOF
17219 #define $ac_tr_hdr 1
17223 echo "$ac_t""no" 1>&6
17228 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
17229 echo "configure:17230: checking for sched_yield in -l$THREADS_LINK" >&5
17230 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
17231 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17232 echo $ac_n "(cached) $ac_c" 1>&6
17234 ac_save_LIBS
="$LIBS"
17235 LIBS
="-l$THREADS_LINK $LIBS"
17236 cat > conftest.
$ac_ext <<EOF
17237 #line 17238 "configure"
17238 #include "confdefs.h"
17239 /* Override any gcc2 internal prototype to avoid an error. */
17240 /* We use char because int might match the return type of a gcc2
17241 builtin and then its argument prototype would still apply. */
17242 char sched_yield();
17248 if { (eval echo configure
:17249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17250 eval "ac_cv_lib_$ac_lib_var=yes"
17252 echo "configure: failed program was:" >&5
17253 cat conftest.
$ac_ext >&5
17255 eval "ac_cv_lib_$ac_lib_var=no"
17258 LIBS
="$ac_save_LIBS"
17261 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17262 echo "$ac_t""yes" 1>&6
17263 cat >> confdefs.h
<<\EOF
17264 #define HAVE_SCHED_YIELD 1
17268 echo "$ac_t""no" 1>&6
17269 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17270 echo "configure:17271: checking for sched_yield in -lposix4" >&5
17271 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17272 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17273 echo $ac_n "(cached) $ac_c" 1>&6
17275 ac_save_LIBS
="$LIBS"
17276 LIBS
="-lposix4 $LIBS"
17277 cat > conftest.
$ac_ext <<EOF
17278 #line 17279 "configure"
17279 #include "confdefs.h"
17280 /* Override any gcc2 internal prototype to avoid an error. */
17281 /* We use char because int might match the return type of a gcc2
17282 builtin and then its argument prototype would still apply. */
17283 char sched_yield();
17289 if { (eval echo configure
:17290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17291 eval "ac_cv_lib_$ac_lib_var=yes"
17293 echo "configure: failed program was:" >&5
17294 cat conftest.
$ac_ext >&5
17296 eval "ac_cv_lib_$ac_lib_var=no"
17299 LIBS
="$ac_save_LIBS"
17302 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17303 echo "$ac_t""yes" 1>&6
17304 cat >> confdefs.h
<<\EOF
17305 #define HAVE_SCHED_YIELD 1
17307 POSIX4_LINK
=" -lposix4"
17309 echo "$ac_t""no" 1>&6
17310 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17319 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
17320 echo "configure:17321: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
17321 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
17322 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17323 echo $ac_n "(cached) $ac_c" 1>&6
17325 ac_save_LIBS
="$LIBS"
17326 LIBS
="-l$THREADS_LINK $LIBS"
17327 cat > conftest.
$ac_ext <<EOF
17328 #line 17329 "configure"
17329 #include "confdefs.h"
17330 /* Override any gcc2 internal prototype to avoid an error. */
17331 /* We use char because int might match the return type of a gcc2
17332 builtin and then its argument prototype would still apply. */
17333 char pthread_attr_getschedpolicy();
17336 pthread_attr_getschedpolicy()
17339 if { (eval echo configure
:17340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17341 eval "ac_cv_lib_$ac_lib_var=yes"
17343 echo "configure: failed program was:" >&5
17344 cat conftest.
$ac_ext >&5
17346 eval "ac_cv_lib_$ac_lib_var=no"
17349 LIBS
="$ac_save_LIBS"
17352 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17353 echo "$ac_t""yes" 1>&6
17354 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
17355 echo "configure:17356: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
17356 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
17357 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17358 echo $ac_n "(cached) $ac_c" 1>&6
17360 ac_save_LIBS
="$LIBS"
17361 LIBS
="-l$THREADS_LINK $LIBS"
17362 cat > conftest.
$ac_ext <<EOF
17363 #line 17364 "configure"
17364 #include "confdefs.h"
17365 /* Override any gcc2 internal prototype to avoid an error. */
17366 /* We use char because int might match the return type of a gcc2
17367 builtin and then its argument prototype would still apply. */
17368 char pthread_attr_setschedparam();
17371 pthread_attr_setschedparam()
17374 if { (eval echo configure
:17375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17376 eval "ac_cv_lib_$ac_lib_var=yes"
17378 echo "configure: failed program was:" >&5
17379 cat conftest.
$ac_ext >&5
17381 eval "ac_cv_lib_$ac_lib_var=no"
17384 LIBS
="$ac_save_LIBS"
17387 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17388 echo "$ac_t""yes" 1>&6
17389 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
17390 echo "configure:17391: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
17391 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17392 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17393 echo $ac_n "(cached) $ac_c" 1>&6
17395 ac_save_LIBS
="$LIBS"
17396 LIBS
="-l$THREADS_LINK $LIBS"
17397 cat > conftest.
$ac_ext <<EOF
17398 #line 17399 "configure"
17399 #include "confdefs.h"
17400 /* Override any gcc2 internal prototype to avoid an error. */
17401 /* We use char because int might match the return type of a gcc2
17402 builtin and then its argument prototype would still apply. */
17403 char sched_get_priority_max();
17406 sched_get_priority_max()
17409 if { (eval echo configure
:17410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17411 eval "ac_cv_lib_$ac_lib_var=yes"
17413 echo "configure: failed program was:" >&5
17414 cat conftest.
$ac_ext >&5
17416 eval "ac_cv_lib_$ac_lib_var=no"
17419 LIBS
="$ac_save_LIBS"
17422 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17423 echo "$ac_t""yes" 1>&6
17426 echo "$ac_t""no" 1>&6
17427 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17428 echo "configure:17429: checking for sched_get_priority_max in -lposix4" >&5
17429 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17430 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17431 echo $ac_n "(cached) $ac_c" 1>&6
17433 ac_save_LIBS
="$LIBS"
17434 LIBS
="-lposix4 $LIBS"
17435 cat > conftest.
$ac_ext <<EOF
17436 #line 17437 "configure"
17437 #include "confdefs.h"
17438 /* Override any gcc2 internal prototype to avoid an error. */
17439 /* We use char because int might match the return type of a gcc2
17440 builtin and then its argument prototype would still apply. */
17441 char sched_get_priority_max();
17444 sched_get_priority_max()
17447 if { (eval echo configure
:17448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17449 eval "ac_cv_lib_$ac_lib_var=yes"
17451 echo "configure: failed program was:" >&5
17452 cat conftest.
$ac_ext >&5
17454 eval "ac_cv_lib_$ac_lib_var=no"
17457 LIBS
="$ac_save_LIBS"
17460 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17461 echo "$ac_t""yes" 1>&6
17464 POSIX4_LINK
=" -lposix4"
17467 echo "$ac_t""no" 1>&6
17475 echo "$ac_t""no" 1>&6
17480 echo "$ac_t""no" 1>&6
17484 if test "$HAVE_PRIOR_FUNCS" = 1; then
17485 cat >> confdefs.h
<<\EOF
17486 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17490 echo "configure: warning: Setting thread priority will not work" 1>&2
17493 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
17494 echo "configure:17495: checking for pthread_cancel in -l$THREADS_LINK" >&5
17495 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
17496 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17497 echo $ac_n "(cached) $ac_c" 1>&6
17499 ac_save_LIBS
="$LIBS"
17500 LIBS
="-l$THREADS_LINK $LIBS"
17501 cat > conftest.
$ac_ext <<EOF
17502 #line 17503 "configure"
17503 #include "confdefs.h"
17504 /* Override any gcc2 internal prototype to avoid an error. */
17505 /* We use char because int might match the return type of a gcc2
17506 builtin and then its argument prototype would still apply. */
17507 char pthread_cancel();
17513 if { (eval echo configure
:17514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17515 eval "ac_cv_lib_$ac_lib_var=yes"
17517 echo "configure: failed program was:" >&5
17518 cat conftest.
$ac_ext >&5
17520 eval "ac_cv_lib_$ac_lib_var=no"
17523 LIBS
="$ac_save_LIBS"
17526 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17527 echo "$ac_t""yes" 1>&6
17528 cat >> confdefs.h
<<\EOF
17529 #define HAVE_PTHREAD_CANCEL 1
17533 echo "$ac_t""no" 1>&6
17534 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17538 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17539 echo "configure:17540: checking for pthread_cleanup_push/pop" >&5
17540 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17541 echo $ac_n "(cached) $ac_c" 1>&6
17544 cat > conftest.
$ac_ext <<EOF
17545 #line 17546 "configure"
17546 #include "confdefs.h"
17547 #include <pthread.h>
17550 pthread_cleanup_push(NULL, NULL);
17551 pthread_cleanup_pop(0);
17555 if { (eval echo configure
:17556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17558 wx_cv_func_pthread_cleanup_push
=yes
17561 echo "configure: failed program was:" >&5
17562 cat conftest.
$ac_ext >&5
17565 wx_cv_func_pthread_cleanup_push
=no
17572 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17574 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17575 cat >> confdefs.h
<<\EOF
17576 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17582 if test "x$wx_lib_glibc21" = "xyes"; then
17583 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
17586 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17587 echo "configure:17588: checking for pthread_mutexattr_t" >&5
17588 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17589 echo $ac_n "(cached) $ac_c" 1>&6
17592 cat > conftest.
$ac_ext <<EOF
17593 #line 17594 "configure"
17594 #include "confdefs.h"
17595 #include <pthread.h>
17598 pthread_mutexattr_t attr;
17599 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17603 if { (eval echo configure
:17604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17606 wx_cv_type_pthread_mutexattr_t
=yes
17609 echo "configure: failed program was:" >&5
17610 cat conftest.
$ac_ext >&5
17613 wx_cv_type_pthread_mutexattr_t
=no
17621 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17623 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17624 cat >> confdefs.h
<<\EOF
17625 #define HAVE_PTHREAD_MUTEXATTR_T 1
17629 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17630 echo "configure:17631: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17631 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17632 echo $ac_n "(cached) $ac_c" 1>&6
17635 cat > conftest.
$ac_ext <<EOF
17636 #line 17637 "configure"
17637 #include "confdefs.h"
17638 #include <pthread.h>
17641 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17645 if { (eval echo configure
:17646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17648 wx_cv_type_pthread_rec_mutex_init
=yes
17651 echo "configure: failed program was:" >&5
17652 cat conftest.
$ac_ext >&5
17655 wx_cv_type_pthread_rec_mutex_init
=no
17663 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17664 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17665 cat >> confdefs.h
<<\EOF
17666 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17670 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17674 THREADS_LINK
=" -l$THREADS_LINK"
17676 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
17677 CPPFLAGS
="$CFLAGS -mt"
17678 CXXFLAGS
="$CXXFLAGS -mt"
17679 LDFLAGS
="$LDFLAGS -mt"
17685 if test "$wxUSE_THREADS" = "yes"; then
17686 cat >> confdefs.h
<<\EOF
17687 #define wxUSE_THREADS 1
17691 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
17693 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
17695 if test "$ac_cv_func_strtok_r" = "yes"; then
17696 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17697 echo "configure:17698: checking if -D_REENTRANT is needed" >&5
17698 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17699 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
17700 echo "$ac_t""yes" 1>&6
17702 echo "$ac_t""no" 1>&6
17707 if test "$WXGTK20" = 1 ; then
17708 cat >> confdefs.h
<<EOF
17709 #define __WXGTK20__ $WXGTK20
17715 if test "$WXGTK12" = 1 ; then
17716 cat >> confdefs.h
<<EOF
17717 #define __WXGTK12__ $WXGTK12
17722 if test "$WXGTK127" = 1 ; then
17723 cat >> confdefs.h
<<EOF
17724 #define __WXGTK127__ $WXGTK127
17731 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17736 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17737 wxUSE_DEBUG_INFO
=yes
17741 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17742 cat >> confdefs.h
<<\EOF
17746 WXDEBUG_DEFINE
="-D__WXDEBUG__"
17748 if test "$wxUSE_GTK" = 1 ; then
17749 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
17753 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17754 cat >> confdefs.h
<<\EOF
17755 #define wxUSE_MEMORY_TRACING 1
17758 cat >> confdefs.h
<<\EOF
17759 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17762 cat >> confdefs.h
<<\EOF
17763 #define wxUSE_DEBUG_NEW_ALWAYS 1
17766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
17769 if test "$wxUSE_DMALLOC" = "yes" ; then
17770 DMALLOC_LIBS
="-ldmalloc"
17774 if test "$wxUSE_PROFILE" = "yes" ; then
17778 if test "$GCC" = "yes" ; then
17779 if test "$wxUSE_NO_RTTI" = "yes" ; then
17780 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
17782 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17783 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17785 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17786 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
17788 if test "$USE_WIN32" = 1 ; then
17789 # I'm not even really sure what this was ever added to solve,
17790 # but someone added it for mingw native builds, so I guess
17791 # they had a reason, right??
17792 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17797 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17798 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17799 if test "$wxUSE_OPTIMISE" = "no" ; then
17802 if test "$GCC" = yes ; then
17805 i586
-*-*|i686
-*-* )
17806 OPTIMISE
="${OPTIMISE} "
17814 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17815 cat >> confdefs.h
<<\EOF
17816 #define WXWIN_COMPATIBILITY_2 1
17820 WXWIN_COMPATIBILITY_2_2
="yes"
17823 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
17824 cat >> confdefs.h
<<\EOF
17825 #define WXWIN_COMPATIBILITY_2_2 1
17831 if test "$wxUSE_GUI" = "yes"; then
17832 cat >> confdefs.h
<<\EOF
17833 #define wxUSE_GUI 1
17838 cat >> confdefs.h
<<\EOF
17839 #define wxUSE_NOGUI 1
17845 if test "$wxUSE_UNIX" = "yes"; then
17846 cat >> confdefs.h
<<\EOF
17847 #define wxUSE_UNIX 1
17853 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17854 cat >> confdefs.h
<<\EOF
17855 #define wxUSE_APPLE_IEEE 1
17860 if test "$wxUSE_TIMER" = "yes"; then
17861 cat >> confdefs.h
<<\EOF
17862 #define wxUSE_TIMER 1
17867 if test "$wxUSE_WAVE" = "yes"; then
17868 cat >> confdefs.h
<<\EOF
17869 #define wxUSE_WAVE 1
17874 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
17875 cat >> confdefs.h
<<\EOF
17876 #define wxUSE_CMDLINE_PARSER 1
17881 if test "$wxUSE_STOPWATCH" = "yes"; then
17882 cat >> confdefs.h
<<\EOF
17883 #define wxUSE_STOPWATCH 1
17888 if test "$wxUSE_DATETIME" = "yes"; then
17889 cat >> confdefs.h
<<\EOF
17890 #define wxUSE_DATETIME 1
17895 if test "$wxUSE_TIMEDATE" = "yes"; then
17896 cat >> confdefs.h
<<\EOF
17897 #define wxUSE_TIMEDATE 1
17902 if test "$wxUSE_FILE" = "yes"; then
17903 cat >> confdefs.h
<<\EOF
17904 #define wxUSE_FILE 1
17909 if test "$wxUSE_FFILE" = "yes"; then
17910 cat >> confdefs.h
<<\EOF
17911 #define wxUSE_FFILE 1
17916 if test "$wxUSE_FILESYSTEM" = "yes"; then
17917 cat >> confdefs.h
<<\EOF
17918 #define wxUSE_FILESYSTEM 1
17923 if test "$wxUSE_FS_INET" = "yes"; then
17924 cat >> confdefs.h
<<\EOF
17925 #define wxUSE_FS_INET 1
17930 if test "$wxUSE_FS_ZIP" = "yes"; then
17931 cat >> confdefs.h
<<\EOF
17932 #define wxUSE_FS_ZIP 1
17937 if test "$wxUSE_ZIPSTREAM" = "yes"; then
17938 cat >> confdefs.h
<<\EOF
17939 #define wxUSE_ZIPSTREAM 1
17944 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17945 cat >> confdefs.h
<<\EOF
17946 #define wxUSE_ON_FATAL_EXCEPTION 1
17951 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17952 cat >> confdefs.h
<<\EOF
17953 #define wxUSE_SNGLINST_CHECKER 1
17958 if test "$wxUSE_BUSYINFO" = "yes"; then
17959 cat >> confdefs.h
<<\EOF
17960 #define wxUSE_BUSYINFO 1
17965 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
17966 cat >> confdefs.h
<<\EOF
17967 #define wxUSE_STD_IOSTREAM 1
17972 if test "$wxUSE_TEXTBUFFER" = "yes"; then
17973 cat >> confdefs.h
<<\EOF
17974 #define wxUSE_TEXTBUFFER 1
17979 if test "$wxUSE_TEXTFILE" = "yes"; then
17980 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
17981 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
17983 cat >> confdefs.h
<<\EOF
17984 #define wxUSE_TEXTFILE 1
17990 if test "$wxUSE_CONFIG" = "yes" ; then
17991 if test "$wxUSE_TEXTFILE" != "yes"; then
17992 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
17994 cat >> confdefs.h
<<\EOF
17995 #define wxUSE_CONFIG 1
17998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18002 if test "$wxUSE_INTL" = "yes" ; then
18003 if test "$wxUSE_FILE" != "yes"; then
18004 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18006 cat >> confdefs.h
<<\EOF
18007 #define wxUSE_INTL 1
18010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18011 GUIDIST
="$GUIDIST INTL_DIST"
18015 if test "$wxUSE_LOG" = "yes"; then
18016 cat >> confdefs.h
<<\EOF
18017 #define wxUSE_LOG 1
18021 if test "$wxUSE_LOGGUI" = "yes"; then
18022 cat >> confdefs.h
<<\EOF
18023 #define wxUSE_LOGGUI 1
18028 if test "$wxUSE_LOGWINDOW" = "yes"; then
18029 cat >> confdefs.h
<<\EOF
18030 #define wxUSE_LOGWINDOW 1
18035 if test "$wxUSE_LOGDIALOG" = "yes"; then
18036 cat >> confdefs.h
<<\EOF
18037 #define wxUSE_LOG_DIALOG 1
18043 if test "$wxUSE_LONGLONG" = "yes"; then
18044 cat >> confdefs.h
<<\EOF
18045 #define wxUSE_LONGLONG 1
18050 if test "$wxUSE_GEOMETRY" = "yes"; then
18051 cat >> confdefs.h
<<\EOF
18052 #define wxUSE_GEOMETRY 1
18057 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18058 cat >> confdefs.h
<<\EOF
18059 #define wxUSE_DIALUP_MANAGER 1
18062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18065 if test "$wxUSE_STREAMS" = "yes" ; then
18066 cat >> confdefs.h
<<\EOF
18067 #define wxUSE_STREAMS 1
18073 if test "$wxUSE_DATETIME" = "yes"; then
18074 for ac_func
in strptime
18076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18077 echo "configure:18078: checking for $ac_func" >&5
18078 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18079 echo $ac_n "(cached) $ac_c" 1>&6
18081 cat > conftest.
$ac_ext <<EOF
18082 #line 18083 "configure"
18083 #include "confdefs.h"
18084 /* System header to define __stub macros and hopefully few prototypes,
18085 which can conflict with char $ac_func(); below. */
18086 #include <assert.h>
18087 /* Override any gcc2 internal prototype to avoid an error. */
18088 /* We use char because int might match the return type of a gcc2
18089 builtin and then its argument prototype would still apply. */
18094 /* The GNU C library defines this for functions which it implements
18095 to always fail with ENOSYS. Some functions are actually named
18096 something starting with __ and the normal name is an alias. */
18097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18105 if { (eval echo configure
:18106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18107 eval "ac_cv_func_$ac_func=yes"
18109 echo "configure: failed program was:" >&5
18110 cat conftest.
$ac_ext >&5
18112 eval "ac_cv_func_$ac_func=no"
18117 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18118 echo "$ac_t""yes" 1>&6
18119 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18120 cat >> confdefs.h
<<EOF
18121 #define $ac_tr_func 1
18125 echo "$ac_t""no" 1>&6
18130 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18131 echo "configure:18132: checking for timezone variable in <time.h>" >&5
18132 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18133 echo $ac_n "(cached) $ac_c" 1>&6
18136 cat > conftest.
$ac_ext <<EOF
18137 #line 18138 "configure"
18138 #include "confdefs.h"
18149 if { (eval echo configure
:18150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18152 wx_cv_var_timezone
=timezone
18155 echo "configure: failed program was:" >&5
18156 cat conftest.
$ac_ext >&5
18159 cat > conftest.
$ac_ext <<EOF
18160 #line 18161 "configure"
18161 #include "confdefs.h"
18172 if { (eval echo configure
:18173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18175 wx_cv_var_timezone
=_timezone
18178 echo "configure: failed program was:" >&5
18179 cat conftest.
$ac_ext >&5
18182 cat > conftest.
$ac_ext <<EOF
18183 #line 18184 "configure"
18184 #include "confdefs.h"
18195 if { (eval echo configure
:18196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18198 wx_cv_var_timezone
=__timezone
18201 echo "configure: failed program was:" >&5
18202 cat conftest.
$ac_ext >&5
18205 if test "$USE_DOS" = 0 ; then
18206 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
18224 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18226 if test "x$wx_cv_var_timezone" != x
; then
18227 cat >> confdefs.h
<<EOF
18228 #define WX_TIMEZONE $wx_cv_var_timezone
18233 for ac_func
in localtime
18235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18236 echo "configure:18237: checking for $ac_func" >&5
18237 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18238 echo $ac_n "(cached) $ac_c" 1>&6
18240 cat > conftest.
$ac_ext <<EOF
18241 #line 18242 "configure"
18242 #include "confdefs.h"
18243 /* System header to define __stub macros and hopefully few prototypes,
18244 which can conflict with char $ac_func(); below. */
18245 #include <assert.h>
18246 /* Override any gcc2 internal prototype to avoid an error. */
18247 /* We use char because int might match the return type of a gcc2
18248 builtin and then its argument prototype would still apply. */
18253 /* The GNU C library defines this for functions which it implements
18254 to always fail with ENOSYS. Some functions are actually named
18255 something starting with __ and the normal name is an alias. */
18256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18264 if { (eval echo configure
:18265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18266 eval "ac_cv_func_$ac_func=yes"
18268 echo "configure: failed program was:" >&5
18269 cat conftest.
$ac_ext >&5
18271 eval "ac_cv_func_$ac_func=no"
18276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18277 echo "$ac_t""yes" 1>&6
18278 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18279 cat >> confdefs.h
<<EOF
18280 #define $ac_tr_func 1
18284 echo "$ac_t""no" 1>&6
18289 if test "$ac_cv_func_localtime" = "yes"; then
18290 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18291 echo "configure:18292: checking for tm_gmtoff in struct tm" >&5
18292 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18293 echo $ac_n "(cached) $ac_c" 1>&6
18296 cat > conftest.
$ac_ext <<EOF
18297 #line 18298 "configure"
18298 #include "confdefs.h"
18309 if { (eval echo configure
:18310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18312 wx_cv_struct_tm_has_gmtoff
=yes
18315 echo "configure: failed program was:" >&5
18316 cat conftest.
$ac_ext >&5
18318 wx_cv_struct_tm_has_gmtoff
=no
18325 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18328 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18329 cat >> confdefs.h
<<\EOF
18330 #define WX_GMTOFF_IN_TM 1
18335 for ac_func
in gettimeofday ftime
18337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18338 echo "configure:18339: checking for $ac_func" >&5
18339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18340 echo $ac_n "(cached) $ac_c" 1>&6
18342 cat > conftest.
$ac_ext <<EOF
18343 #line 18344 "configure"
18344 #include "confdefs.h"
18345 /* System header to define __stub macros and hopefully few prototypes,
18346 which can conflict with char $ac_func(); below. */
18347 #include <assert.h>
18348 /* Override any gcc2 internal prototype to avoid an error. */
18349 /* We use char because int might match the return type of a gcc2
18350 builtin and then its argument prototype would still apply. */
18355 /* The GNU C library defines this for functions which it implements
18356 to always fail with ENOSYS. Some functions are actually named
18357 something starting with __ and the normal name is an alias. */
18358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18366 if { (eval echo configure
:18367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18368 eval "ac_cv_func_$ac_func=yes"
18370 echo "configure: failed program was:" >&5
18371 cat conftest.
$ac_ext >&5
18373 eval "ac_cv_func_$ac_func=no"
18378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18379 echo "$ac_t""yes" 1>&6
18380 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18381 cat >> confdefs.h
<<EOF
18382 #define $ac_tr_func 1
18386 echo "$ac_t""no" 1>&6
18391 if test "$ac_cv_func_gettimeofday" = "yes"; then
18392 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18393 echo "configure:18394: checking whether gettimeofday takes two arguments" >&5
18394 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18395 echo $ac_n "(cached) $ac_c" 1>&6
18400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18401 ac_cpp
='$CXXCPP $CPPFLAGS'
18402 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18403 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18404 cross_compiling
=$ac_cv_prog_cxx_cross
18407 cat > conftest.
$ac_ext <<EOF
18408 #line 18409 "configure"
18409 #include "confdefs.h"
18411 #include <sys/time.h>
18412 #include <unistd.h>
18417 gettimeofday(&tv, NULL);
18421 if { (eval echo configure
:18422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18423 wx_cv_func_gettimeofday_has_2_args
=yes
18425 echo "configure: failed program was:" >&5
18426 cat conftest.
$ac_ext >&5
18428 cat > conftest.
$ac_ext <<EOF
18429 #line 18430 "configure"
18430 #include "confdefs.h"
18432 #include <sys/time.h>
18433 #include <unistd.h>
18442 if { (eval echo configure
:18443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18444 wx_cv_func_gettimeofday_has_2_args
=no
18446 echo "configure: failed program was:" >&5
18447 cat conftest.
$ac_ext >&5
18450 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18451 wx_cv_func_gettimeofday_has_2_args
=unknown
18460 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18461 ac_cpp
='$CPP $CPPFLAGS'
18462 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18463 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18464 cross_compiling
=$ac_cv_prog_cc_cross
18469 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18471 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18472 cat >> confdefs.h
<<\EOF
18473 #define WX_GETTIMEOFDAY_NO_TZ 1
18479 cat >> confdefs.h
<<\EOF
18480 #define wxUSE_TIMEDATE 1
18483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18487 if test "$TOOLKIT" != "MSW"; then
18489 if test "$wxUSE_SOCKETS" = "yes"; then
18490 echo $ac_n "checking for socket""... $ac_c" 1>&6
18491 echo "configure:18492: checking for socket" >&5
18492 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18493 echo $ac_n "(cached) $ac_c" 1>&6
18495 cat > conftest.
$ac_ext <<EOF
18496 #line 18497 "configure"
18497 #include "confdefs.h"
18498 /* System header to define __stub macros and hopefully few prototypes,
18499 which can conflict with char socket(); below. */
18500 #include <assert.h>
18501 /* Override any gcc2 internal prototype to avoid an error. */
18502 /* We use char because int might match the return type of a gcc2
18503 builtin and then its argument prototype would still apply. */
18508 /* The GNU C library defines this for functions which it implements
18509 to always fail with ENOSYS. Some functions are actually named
18510 something starting with __ and the normal name is an alias. */
18511 #if defined (__stub_socket) || defined (__stub___socket)
18519 if { (eval echo configure
:18520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18521 eval "ac_cv_func_socket=yes"
18523 echo "configure: failed program was:" >&5
18524 cat conftest.
$ac_ext >&5
18526 eval "ac_cv_func_socket=no"
18531 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18532 echo "$ac_t""yes" 1>&6
18535 echo "$ac_t""no" 1>&6
18536 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18537 echo "configure:18538: checking for socket in -lsocket" >&5
18538 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18539 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18540 echo $ac_n "(cached) $ac_c" 1>&6
18542 ac_save_LIBS
="$LIBS"
18543 LIBS
="-lsocket $LIBS"
18544 cat > conftest.
$ac_ext <<EOF
18545 #line 18546 "configure"
18546 #include "confdefs.h"
18547 /* Override any gcc2 internal prototype to avoid an error. */
18548 /* We use char because int might match the return type of a gcc2
18549 builtin and then its argument prototype would still apply. */
18556 if { (eval echo configure
:18557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18558 eval "ac_cv_lib_$ac_lib_var=yes"
18560 echo "configure: failed program was:" >&5
18561 cat conftest.
$ac_ext >&5
18563 eval "ac_cv_lib_$ac_lib_var=no"
18566 LIBS
="$ac_save_LIBS"
18569 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18570 echo "$ac_t""yes" 1>&6
18571 INET_LINK
="$INET_LINK -lsocket"
18573 echo "$ac_t""no" 1>&6
18575 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18587 if test "$wxUSE_SOCKETS" = "yes" ; then
18588 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18589 echo "configure:18590: checking what is the type of the third argument of getsockname" >&5
18590 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18591 echo $ac_n "(cached) $ac_c" 1>&6
18596 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18597 ac_cpp
='$CXXCPP $CPPFLAGS'
18598 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18599 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18600 cross_compiling
=$ac_cv_prog_cxx_cross
18603 cat > conftest.
$ac_ext <<EOF
18604 #line 18605 "configure"
18605 #include "confdefs.h"
18607 #include <sys/types.h>
18608 #include <sys/socket.h>
18613 getsockname(0, 0, &len);
18617 if { (eval echo configure
:18618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18619 wx_cv_type_getsockname3
=socklen_t
18621 echo "configure: failed program was:" >&5
18622 cat conftest.
$ac_ext >&5
18624 cat > conftest.
$ac_ext <<EOF
18625 #line 18626 "configure"
18626 #include "confdefs.h"
18628 #include <sys/types.h>
18629 #include <sys/socket.h>
18634 getsockname(0, 0, &len);
18638 if { (eval echo configure
:18639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18640 wx_cv_type_getsockname3
=size_t
18642 echo "configure: failed program was:" >&5
18643 cat conftest.
$ac_ext >&5
18645 cat > conftest.
$ac_ext <<EOF
18646 #line 18647 "configure"
18647 #include "confdefs.h"
18649 #include <sys/types.h>
18650 #include <sys/socket.h>
18655 getsockname(0, 0, &len);
18659 if { (eval echo configure
:18660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18661 wx_cv_type_getsockname3
=int
18663 echo "configure: failed program was:" >&5
18664 cat conftest.
$ac_ext >&5
18666 wx_cv_type_getsockname3
=unknown
18678 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18679 ac_cpp
='$CPP $CPPFLAGS'
18680 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18681 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18682 cross_compiling
=$ac_cv_prog_cc_cross
18687 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18689 if test "$wx_cv_type_getsockname3" = "unknown"; then
18691 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18693 cat >> confdefs.h
<<EOF
18694 #define SOCKLEN_T $wx_cv_type_getsockname3
18701 if test "$wxUSE_SOCKETS" = "yes" ; then
18702 cat >> confdefs.h
<<\EOF
18703 #define wxUSE_SOCKETS 1
18706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
18710 if test "$wxUSE_GUI" = "yes"; then
18712 if test "$TOOLKIT" = "MAC"; then
18713 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18716 if test "$TOOLKIT" = "MOTIF"; then
18717 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18720 if test "$TOOLKIT" = "X11"; then
18721 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
18725 if test "$TOOLKIT" != "MSW"; then
18726 if test "$wxUSE_JOYSTICK" = "yes"; then
18727 for ac_hdr
in linux
/joystick.h
18729 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18730 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18731 echo "configure:18732: checking for $ac_hdr" >&5
18732 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18733 echo $ac_n "(cached) $ac_c" 1>&6
18735 cat > conftest.
$ac_ext <<EOF
18736 #line 18737 "configure"
18737 #include "confdefs.h"
18740 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18741 { (eval echo configure
:18742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18742 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18743 if test -z "$ac_err"; then
18745 eval "ac_cv_header_$ac_safe=yes"
18748 echo "configure: failed program was:" >&5
18749 cat conftest.
$ac_ext >&5
18751 eval "ac_cv_header_$ac_safe=no"
18755 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18756 echo "$ac_t""yes" 1>&6
18757 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18758 cat >> confdefs.h
<<EOF
18759 #define $ac_tr_hdr 1
18763 echo "$ac_t""no" 1>&6
18767 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18769 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18774 if test "$wxUSE_JOYSTICK" = "yes"; then
18775 cat >> confdefs.h
<<\EOF
18776 #define wxUSE_JOYSTICK 1
18779 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
18784 if test "$TOOLKIT" != "MSW"; then
18788 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18789 if test "$USE_DARWIN" = 1; then
18792 for ac_func
in dlopen
18794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18795 echo "configure:18796: checking for $ac_func" >&5
18796 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18797 echo $ac_n "(cached) $ac_c" 1>&6
18799 cat > conftest.
$ac_ext <<EOF
18800 #line 18801 "configure"
18801 #include "confdefs.h"
18802 /* System header to define __stub macros and hopefully few prototypes,
18803 which can conflict with char $ac_func(); below. */
18804 #include <assert.h>
18805 /* Override any gcc2 internal prototype to avoid an error. */
18806 /* We use char because int might match the return type of a gcc2
18807 builtin and then its argument prototype would still apply. */
18812 /* The GNU C library defines this for functions which it implements
18813 to always fail with ENOSYS. Some functions are actually named
18814 something starting with __ and the normal name is an alias. */
18815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18823 if { (eval echo configure
:18824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18825 eval "ac_cv_func_$ac_func=yes"
18827 echo "configure: failed program was:" >&5
18828 cat conftest.
$ac_ext >&5
18830 eval "ac_cv_func_$ac_func=no"
18835 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18836 echo "$ac_t""yes" 1>&6
18837 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18838 cat >> confdefs.h
<<EOF
18839 #define $ac_tr_func 1
18842 cat >> confdefs.h
<<\EOF
18843 #define HAVE_DLOPEN 1
18849 echo "$ac_t""no" 1>&6
18850 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18851 echo "configure:18852: checking for dlopen in -ldl" >&5
18852 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18853 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18854 echo $ac_n "(cached) $ac_c" 1>&6
18856 ac_save_LIBS
="$LIBS"
18858 cat > conftest.
$ac_ext <<EOF
18859 #line 18860 "configure"
18860 #include "confdefs.h"
18861 /* Override any gcc2 internal prototype to avoid an error. */
18862 /* We use char because int might match the return type of a gcc2
18863 builtin and then its argument prototype would still apply. */
18870 if { (eval echo configure
:18871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18872 eval "ac_cv_lib_$ac_lib_var=yes"
18874 echo "configure: failed program was:" >&5
18875 cat conftest.
$ac_ext >&5
18877 eval "ac_cv_lib_$ac_lib_var=no"
18880 LIBS
="$ac_save_LIBS"
18883 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18884 echo "$ac_t""yes" 1>&6
18886 cat >> confdefs.h
<<\EOF
18887 #define HAVE_DLOPEN 1
18891 DL_LINK
=" -ldl$DL_LINK"
18894 echo "$ac_t""no" 1>&6
18896 for ac_func
in shl_load
18898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18899 echo "configure:18900: checking for $ac_func" >&5
18900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18901 echo $ac_n "(cached) $ac_c" 1>&6
18903 cat > conftest.
$ac_ext <<EOF
18904 #line 18905 "configure"
18905 #include "confdefs.h"
18906 /* System header to define __stub macros and hopefully few prototypes,
18907 which can conflict with char $ac_func(); below. */
18908 #include <assert.h>
18909 /* Override any gcc2 internal prototype to avoid an error. */
18910 /* We use char because int might match the return type of a gcc2
18911 builtin and then its argument prototype would still apply. */
18916 /* The GNU C library defines this for functions which it implements
18917 to always fail with ENOSYS. Some functions are actually named
18918 something starting with __ and the normal name is an alias. */
18919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18927 if { (eval echo configure
:18928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18929 eval "ac_cv_func_$ac_func=yes"
18931 echo "configure: failed program was:" >&5
18932 cat conftest.
$ac_ext >&5
18934 eval "ac_cv_func_$ac_func=no"
18939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18940 echo "$ac_t""yes" 1>&6
18941 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18942 cat >> confdefs.h
<<EOF
18943 #define $ac_tr_func 1
18946 cat >> confdefs.h
<<\EOF
18947 #define HAVE_SHL_LOAD 1
18953 echo "$ac_t""no" 1>&6
18954 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
18955 echo "configure:18956: checking for dld in -lshl_load" >&5
18956 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
18957 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18958 echo $ac_n "(cached) $ac_c" 1>&6
18960 ac_save_LIBS
="$LIBS"
18961 LIBS
="-lshl_load $LIBS"
18962 cat > conftest.
$ac_ext <<EOF
18963 #line 18964 "configure"
18964 #include "confdefs.h"
18965 /* Override any gcc2 internal prototype to avoid an error. */
18966 /* We use char because int might match the return type of a gcc2
18967 builtin and then its argument prototype would still apply. */
18974 if { (eval echo configure
:18975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18976 eval "ac_cv_lib_$ac_lib_var=yes"
18978 echo "configure: failed program was:" >&5
18979 cat conftest.
$ac_ext >&5
18981 eval "ac_cv_lib_$ac_lib_var=no"
18984 LIBS
="$ac_save_LIBS"
18987 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18988 echo "$ac_t""yes" 1>&6
18991 DL_LINK
=" -ldld$DL_LINK"
18994 echo "$ac_t""no" 1>&6
19009 if test "$HAVE_DL_FUNCS" = 1; then
19010 for ac_func
in dlerror
19012 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19013 echo "configure:19014: checking for $ac_func" >&5
19014 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19015 echo $ac_n "(cached) $ac_c" 1>&6
19017 cat > conftest.
$ac_ext <<EOF
19018 #line 19019 "configure"
19019 #include "confdefs.h"
19020 /* System header to define __stub macros and hopefully few prototypes,
19021 which can conflict with char $ac_func(); below. */
19022 #include <assert.h>
19023 /* Override any gcc2 internal prototype to avoid an error. */
19024 /* We use char because int might match the return type of a gcc2
19025 builtin and then its argument prototype would still apply. */
19030 /* The GNU C library defines this for functions which it implements
19031 to always fail with ENOSYS. Some functions are actually named
19032 something starting with __ and the normal name is an alias. */
19033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19041 if { (eval echo configure
:19042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19043 eval "ac_cv_func_$ac_func=yes"
19045 echo "configure: failed program was:" >&5
19046 cat conftest.
$ac_ext >&5
19048 eval "ac_cv_func_$ac_func=no"
19053 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19054 echo "$ac_t""yes" 1>&6
19055 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19056 cat >> confdefs.h
<<EOF
19057 #define $ac_tr_func 1
19059 cat >> confdefs.h
<<\EOF
19060 #define HAVE_DLERROR 1
19064 echo "$ac_t""no" 1>&6
19065 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19066 echo "configure:19067: checking for dlerror in -ldl" >&5
19067 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19068 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19069 echo $ac_n "(cached) $ac_c" 1>&6
19071 ac_save_LIBS
="$LIBS"
19073 cat > conftest.
$ac_ext <<EOF
19074 #line 19075 "configure"
19075 #include "confdefs.h"
19076 /* Override any gcc2 internal prototype to avoid an error. */
19077 /* We use char because int might match the return type of a gcc2
19078 builtin and then its argument prototype would still apply. */
19085 if { (eval echo configure
:19086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19087 eval "ac_cv_lib_$ac_lib_var=yes"
19089 echo "configure: failed program was:" >&5
19090 cat conftest.
$ac_ext >&5
19092 eval "ac_cv_lib_$ac_lib_var=no"
19095 LIBS
="$ac_save_LIBS"
19098 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19099 echo "$ac_t""yes" 1>&6
19100 cat >> confdefs.h
<<\EOF
19101 #define HAVE_DLERROR 1
19105 echo "$ac_t""no" 1>&6
19114 if test "$HAVE_DL_FUNCS" = 0; then
19115 if test "$HAVE_SHL_FUNCS" = 0; then
19116 if test "$USE_UNIX" = 1; then
19117 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19118 wxUSE_DYNAMIC_LOADER
=no
19119 wxUSE_DYNLIB_CLASS
=no
19121 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19128 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19129 cat >> confdefs.h
<<\EOF
19130 #define wxUSE_DYNAMIC_LOADER 1
19133 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19134 cat >> confdefs.h
<<\EOF
19135 #define wxUSE_DYNLIB_CLASS 1
19141 if test "$wxUSE_FONTMAP" = "yes" ; then
19142 cat >> confdefs.h
<<\EOF
19143 #define wxUSE_FONTMAP 1
19148 if test "$wxUSE_UNICODE" = "yes" ; then
19149 cat >> confdefs.h
<<\EOF
19150 #define wxUSE_UNICODE 1
19154 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19155 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19156 echo "configure:19157: checking for main in -lunicows" >&5
19157 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19158 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19159 echo $ac_n "(cached) $ac_c" 1>&6
19161 ac_save_LIBS
="$LIBS"
19162 LIBS
="-lunicows $LIBS"
19163 cat > conftest.
$ac_ext <<EOF
19164 #line 19165 "configure"
19165 #include "confdefs.h"
19171 if { (eval echo configure
:19172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19173 eval "ac_cv_lib_$ac_lib_var=yes"
19175 echo "configure: failed program was:" >&5
19176 cat conftest.
$ac_ext >&5
19178 eval "ac_cv_lib_$ac_lib_var=no"
19181 LIBS
="$ac_save_LIBS"
19184 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19185 echo "$ac_t""yes" 1>&6
19187 cat >> confdefs.h
<<\EOF
19188 #define wxUSE_UNICODE_MSLU 1
19193 echo "$ac_t""no" 1>&6
19195 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19196 Applications will only run on Windows NT/2000/XP!" 1>&2
19197 wxUSE_UNICODE_MSLU
=no
19204 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19205 cat >> confdefs.h
<<\EOF
19206 #define wxUSE_EXPERIMENTAL_PRINTF 1
19214 if test "$wxUSE_ODBC" = "yes" ; then
19215 cat >> confdefs.h
<<\EOF
19216 #define wxUSE_ODBC 1
19219 WXODBCFLAG
="-D_IODBC_"
19220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19224 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19225 cat >> confdefs.h
<<\EOF
19226 #define wxUSE_POSTSCRIPT 1
19231 cat >> confdefs.h
<<\EOF
19232 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19236 cat >> confdefs.h
<<\EOF
19237 #define wxUSE_NORMALIZED_PS_FONTS 1
19242 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19243 cat >> confdefs.h
<<\EOF
19244 #define wxUSE_CONSTRAINTS 1
19247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19250 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19251 if test "$wxUSE_UNIVERSAL" = "yes"; then
19252 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
19253 wxUSE_MDI_ARCHITECTURE
=no
19256 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19257 cat >> confdefs.h
<<\EOF
19258 #define wxUSE_MDI_ARCHITECTURE 1
19261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19265 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19266 cat >> confdefs.h
<<\EOF
19267 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19271 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19276 if test "$wxUSE_HELP" = "yes"; then
19277 cat >> confdefs.h
<<\EOF
19278 #define wxUSE_HELP 1
19281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19283 if test "$wxUSE_MSW" = 1; then
19284 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19285 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
19286 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
19287 echo "configure:19288: checking for htmlhelp.h" >&5
19288 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19289 echo $ac_n "(cached) $ac_c" 1>&6
19291 cat > conftest.
$ac_ext <<EOF
19292 #line 19293 "configure"
19293 #include "confdefs.h"
19294 #include <htmlhelp.h>
19296 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19297 { (eval echo configure
:19298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19298 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19299 if test -z "$ac_err"; then
19301 eval "ac_cv_header_$ac_safe=yes"
19304 echo "configure: failed program was:" >&5
19305 cat conftest.
$ac_ext >&5
19307 eval "ac_cv_header_$ac_safe=no"
19311 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19312 echo "$ac_t""yes" 1>&6
19314 cat >> confdefs.h
<<\EOF
19315 #define wxUSE_MS_HTML_HELP 1
19320 echo "$ac_t""no" 1>&6
19322 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
19323 wxUSE_MS_HTML_HELP
=no
19330 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19331 if test "$wxUSE_HTML" = "yes"; then
19332 cat >> confdefs.h
<<\EOF
19333 #define wxUSE_WXHTML_HELP 1
19337 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19338 wxUSE_WXHTML_HELP
=no
19343 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19344 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19345 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19347 cat >> confdefs.h
<<\EOF
19348 #define wxUSE_PRINTING_ARCHITECTURE 1
19352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19355 if test "$wxUSE_PROLOGIO" = "yes" ; then
19356 cat >> confdefs.h
<<\EOF
19357 #define wxUSE_PROLOGIO 1
19362 if test "$wxUSE_RESOURCES" = "yes" ; then
19363 cat >> confdefs.h
<<\EOF
19364 #define wxUSE_RESOURCES 1
19367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19370 if test "$wxUSE_X_RESOURCES" = "yes"; then
19371 cat >> confdefs.h
<<\EOF
19372 #define wxUSE_X_RESOURCES 1
19378 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19379 -o "$wxUSE_CLIPBOARD" = "yes" \
19380 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19381 for ac_hdr
in ole2.h
19383 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19384 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19385 echo "configure:19386: checking for $ac_hdr" >&5
19386 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19387 echo $ac_n "(cached) $ac_c" 1>&6
19389 cat > conftest.
$ac_ext <<EOF
19390 #line 19391 "configure"
19391 #include "confdefs.h"
19394 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19395 { (eval echo configure
:19396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19396 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19397 if test -z "$ac_err"; then
19399 eval "ac_cv_header_$ac_safe=yes"
19402 echo "configure: failed program was:" >&5
19403 cat conftest.
$ac_ext >&5
19405 eval "ac_cv_header_$ac_safe=no"
19409 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19410 echo "$ac_t""yes" 1>&6
19411 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19412 cat >> confdefs.h
<<EOF
19413 #define $ac_tr_hdr 1
19417 echo "$ac_t""no" 1>&6
19422 if test "$ac_cv_header_ole2_h" = "yes" ; then
19423 if test "$GCC" = yes ; then
19424 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19425 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19426 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19427 cat >> confdefs.h
<<\EOF
19428 #define wxUSE_OLE 1
19434 cat >> confdefs.h
<<\EOF
19435 #define wxUSE_DATAOBJ 1
19439 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19442 wxUSE_DRAG_AND_DROP
=no
19446 if test "$wxUSE_METAFILE" = "yes"; then
19447 cat >> confdefs.h
<<\EOF
19448 #define wxUSE_METAFILE 1
19452 cat >> confdefs.h
<<\EOF
19453 #define wxUSE_ENH_METAFILE 1
19459 if test "$wxUSE_IPC" = "yes"; then
19460 if test "$wxUSE_SOCKETS" != "yes"; then
19461 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19464 cat >> confdefs.h
<<\EOF
19465 #define wxUSE_IPC 1
19470 if test "$wxUSE_CLIPBOARD" = "yes"; then
19471 if test "$wxUSE_X11" = 1; then
19472 echo "configure: warning: Clipboard not yet supported under X11... disabled" 1>&2
19476 if test "$wxUSE_CLIPBOARD" = "yes"; then
19477 cat >> confdefs.h
<<\EOF
19478 #define wxUSE_CLIPBOARD 1
19482 cat >> confdefs.h
<<\EOF
19483 #define wxUSE_DATAOBJ 1
19489 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19490 if test "$wxUSE_GTK" = 1; then
19491 if test "$WXGTK12" != 1; then
19492 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19493 wxUSE_DRAG_AND_DROP
=no
19497 if test "$wxUSE_MOTIF" = 1; then
19498 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19499 wxUSE_DRAG_AND_DROP
=no
19502 if test "$wxUSE_X11" = 1; then
19503 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19504 wxUSE_DRAG_AND_DROP
=no
19507 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19508 cat >> confdefs.h
<<\EOF
19509 #define wxUSE_DRAG_AND_DROP 1
19512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19517 if test "$wxUSE_SPLINES" = "yes" ; then
19518 cat >> confdefs.h
<<\EOF
19519 #define wxUSE_SPLINES 1
19526 if test "$wxUSE_CONTROLS" = "yes"; then
19530 if test "$wxUSE_ACCEL" = "yes"; then
19531 cat >> confdefs.h
<<\EOF
19532 #define wxUSE_ACCEL 1
19538 if test "$wxUSE_BUTTON" = "yes"; then
19539 cat >> confdefs.h
<<\EOF
19540 #define wxUSE_BUTTON 1
19546 if test "$wxUSE_BMPBUTTON" = "yes"; then
19547 cat >> confdefs.h
<<\EOF
19548 #define wxUSE_BMPBUTTON 1
19554 if test "$wxUSE_CALCTRL" = "yes"; then
19555 cat >> confdefs.h
<<\EOF
19556 #define wxUSE_CALENDARCTRL 1
19560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
19563 if test "$wxUSE_CARET" = "yes"; then
19564 cat >> confdefs.h
<<\EOF
19565 #define wxUSE_CARET 1
19569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
19572 if test "$wxUSE_COMBOBOX" = "yes"; then
19573 cat >> confdefs.h
<<\EOF
19574 #define wxUSE_COMBOBOX 1
19580 if test "$wxUSE_CHOICE" = "yes"; then
19581 cat >> confdefs.h
<<\EOF
19582 #define wxUSE_CHOICE 1
19588 if test "$wxUSE_CHECKBOX" = "yes"; then
19589 cat >> confdefs.h
<<\EOF
19590 #define wxUSE_CHECKBOX 1
19596 if test "$wxUSE_CHECKLST" = "yes"; then
19597 cat >> confdefs.h
<<\EOF
19598 #define wxUSE_CHECKLISTBOX 1
19602 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
19605 if test "$wxUSE_GAUGE" = "yes"; then
19606 cat >> confdefs.h
<<\EOF
19607 #define wxUSE_GAUGE 1
19613 if test "$wxUSE_NEW_GRID" = "yes"; then
19615 cat >> confdefs.h
<<\EOF
19616 #define wxUSE_NEW_GRID 1
19620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
19623 if test "$wxUSE_GRID" = "yes"; then
19624 cat >> confdefs.h
<<\EOF
19625 #define wxUSE_GRID 1
19629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
19632 if test "$wxUSE_IMAGLIST" = "yes"; then
19633 cat >> confdefs.h
<<\EOF
19634 #define wxUSE_IMAGLIST 1
19639 if test "$wxUSE_LISTBOX" = "yes"; then
19640 cat >> confdefs.h
<<\EOF
19641 #define wxUSE_LISTBOX 1
19647 if test "$wxUSE_LISTCTRL" = "yes"; then
19648 if test "$wxUSE_IMAGLIST" = "yes"; then
19649 cat >> confdefs.h
<<\EOF
19650 #define wxUSE_LISTCTRL 1
19654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
19656 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19660 if test "$wxUSE_NOTEBOOK" = "yes"; then
19661 cat >> confdefs.h
<<\EOF
19662 #define wxUSE_NOTEBOOK 1
19666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
19669 if test "$wxUSE_PROPSHEET" = "yes"; then
19670 cat >> confdefs.h
<<\EOF
19671 #define wxUSE_PROPSHEET 1
19675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
19678 if test "$wxUSE_RADIOBOX" = "yes"; then
19679 cat >> confdefs.h
<<\EOF
19680 #define wxUSE_RADIOBOX 1
19686 if test "$wxUSE_RADIOBTN" = "yes"; then
19687 cat >> confdefs.h
<<\EOF
19688 #define wxUSE_RADIOBTN 1
19694 if test "$wxUSE_SASH" = "yes"; then
19695 cat >> confdefs.h
<<\EOF
19696 #define wxUSE_SASH 1
19699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
19702 if test "$wxUSE_SCROLLBAR" = "yes"; then
19703 cat >> confdefs.h
<<\EOF
19704 #define wxUSE_SCROLLBAR 1
19708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
19711 if test "$wxUSE_SLIDER" = "yes"; then
19712 cat >> confdefs.h
<<\EOF
19713 #define wxUSE_SLIDER 1
19719 if test "$wxUSE_SPINBTN" = "yes"; then
19720 cat >> confdefs.h
<<\EOF
19721 #define wxUSE_SPINBTN 1
19727 if test "$wxUSE_SPINCTRL" = "yes"; then
19728 cat >> confdefs.h
<<\EOF
19729 #define wxUSE_SPINCTRL 1
19735 if test "$wxUSE_SPLITTER" = "yes"; then
19736 cat >> confdefs.h
<<\EOF
19737 #define wxUSE_SPLITTER 1
19740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
19743 if test "$wxUSE_STATBMP" = "yes"; then
19744 cat >> confdefs.h
<<\EOF
19745 #define wxUSE_STATBMP 1
19751 if test "$wxUSE_STATBOX" = "yes"; then
19752 cat >> confdefs.h
<<\EOF
19753 #define wxUSE_STATBOX 1
19759 if test "$wxUSE_STATTEXT" = "yes"; then
19760 cat >> confdefs.h
<<\EOF
19761 #define wxUSE_STATTEXT 1
19767 if test "$wxUSE_STATLINE" = "yes"; then
19768 if test "$wxUSE_WINE" = 1 ; then
19769 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19771 cat >> confdefs.h
<<\EOF
19772 #define wxUSE_STATLINE 1
19779 if test "$wxUSE_STATUSBAR" = "yes"; then
19780 cat >> confdefs.h
<<\EOF
19781 #define wxUSE_STATUSBAR 1
19786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
19789 if test "$wxUSE_TABDIALOG" = "yes"; then
19790 cat >> confdefs.h
<<\EOF
19791 #define wxUSE_TAB_DIALOG 1
19794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
19797 if test "$wxUSE_TEXTCTRL" = "yes"; then
19798 cat >> confdefs.h
<<\EOF
19799 #define wxUSE_TEXTCTRL 1
19803 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
19806 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19807 if test "$wxUSE_MAC" = 1; then
19808 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19811 if test "$wxUSE_UNIVERSAL" = "yes"; then
19812 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
19816 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19817 cat >> confdefs.h
<<\EOF
19818 #define wxUSE_TOGGLEBTN 1
19825 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19826 cat >> confdefs.h
<<\EOF
19827 #define wxUSE_TOOLBAR_SIMPLE 1
19830 wxUSE_TOOLBAR
="yes"
19834 if test "$wxUSE_TOOLBAR" = "yes"; then
19835 cat >> confdefs.h
<<\EOF
19836 #define wxUSE_TOOLBAR 1
19841 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19842 wxUSE_TOOLBAR_NATIVE
="yes"
19845 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19846 cat >> confdefs.h
<<\EOF
19847 #define wxUSE_TOOLBAR_NATIVE 1
19853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
19856 if test "$wxUSE_TOOLTIPS" = "yes"; then
19857 if test "$wxUSE_MOTIF" = 1; then
19858 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19860 if test "$wxUSE_WINE" = 1; then
19861 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19863 if test "$wxUSE_UNIVERSAL" = "yes"; then
19864 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
19866 if test "$wxUSE_X11" = "1"; then
19867 echo "configure: warning: wxTooltip not supported yet under X11... disabled" 1>&2
19869 cat >> confdefs.h
<<\EOF
19870 #define wxUSE_TOOLTIPS 1
19879 if test "$wxUSE_TREECTRL" = "yes"; then
19880 if test "$wxUSE_IMAGLIST" = "yes"; then
19881 cat >> confdefs.h
<<\EOF
19882 #define wxUSE_TREECTRL 1
19886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
19888 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19892 if test "$wxUSE_POPUPWIN" = "yes"; then
19893 if test "$wxUSE_MAC" = 1; then
19894 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
19896 if test "$wxUSE_MOTIF" = 1; then
19897 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
19899 cat >> confdefs.h
<<\EOF
19900 #define wxUSE_POPUPWIN 1
19909 if test "$wxUSE_TIPWINDOW" = "yes"; then
19910 cat >> confdefs.h
<<\EOF
19911 #define wxUSE_TIPWINDOW 1
19916 if test "$USES_CONTROLS" = 1; then
19917 cat >> confdefs.h
<<\EOF
19918 #define wxUSE_CONTROLS 1
19924 if test "$wxUSE_TREELAYOUT" = "yes"; then
19925 cat >> confdefs.h
<<\EOF
19926 #define wxUSE_TREELAYOUT 1
19929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
19932 if test "$wxUSE_DRAGIMAGE" = "yes"; then
19933 cat >> confdefs.h
<<\EOF
19934 #define wxUSE_DRAGIMAGE 1
19937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
19940 if test "$wxUSE_MENUS" = "yes"; then
19941 cat >> confdefs.h
<<\EOF
19942 #define wxUSE_MENUS 1
19945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
19948 if test "$wxUSE_METAFILE" = "yes"; then
19949 cat >> confdefs.h
<<\EOF
19950 #define wxUSE_METAFILE 1
19955 if test "$wxUSE_MIMETYPE" = "yes"; then
19956 cat >> confdefs.h
<<\EOF
19957 #define wxUSE_MIMETYPE 1
19962 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
19963 cat >> confdefs.h
<<\EOF
19964 #define wxUSE_SYSTEM_OPTIONS 1
19969 if test "$wxUSE_PROTOCOL" = "yes"; then
19970 if test "$wxUSE_SOCKETS" != "yes"; then
19971 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
19975 if test "$wxUSE_PROTOCOL" = "yes"; then
19976 cat >> confdefs.h
<<\EOF
19977 #define wxUSE_PROTOCOL 1
19981 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
19982 cat >> confdefs.h
<<\EOF
19983 #define wxUSE_PROTOCOL_HTTP 1
19987 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
19988 cat >> confdefs.h
<<\EOF
19989 #define wxUSE_PROTOCOL_FTP 1
19993 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
19994 cat >> confdefs.h
<<\EOF
19995 #define wxUSE_PROTOCOL_FILE 1
20002 if test "$wxUSE_URL" = "yes"; then
20003 if test "$wxUSE_PROTOCOL" != "yes"; then
20004 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20007 if test "$wxUSE_URL" = "yes"; then
20008 cat >> confdefs.h
<<\EOF
20009 #define wxUSE_URL 1
20015 if test "$wxUSE_MINIFRAME" = "yes"; then
20016 cat >> confdefs.h
<<\EOF
20017 #define wxUSE_MINIFRAME 1
20020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20023 if test "$wxUSE_HTML" = "yes"; then
20024 cat >> confdefs.h
<<\EOF
20025 #define wxUSE_HTML 1
20028 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20031 if test "$wxUSE_VALIDATORS" = "yes"; then
20032 cat >> confdefs.h
<<\EOF
20033 #define wxUSE_VALIDATORS 1
20036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20039 if test "$wxUSE_PALETTE" = "yes" ; then
20040 cat >> confdefs.h
<<\EOF
20041 #define wxUSE_PALETTE 1
20046 if test "$wxUSE_IMAGE" = "yes" ; then
20047 cat >> confdefs.h
<<\EOF
20048 #define wxUSE_IMAGE 1
20053 if test "$wxUSE_GIF" = "yes" ; then
20054 cat >> confdefs.h
<<\EOF
20055 #define wxUSE_GIF 1
20060 if test "$wxUSE_PCX" = "yes" ; then
20061 cat >> confdefs.h
<<\EOF
20062 #define wxUSE_PCX 1
20067 if test "$wxUSE_IFF" = "yes" ; then
20068 cat >> confdefs.h
<<\EOF
20069 #define wxUSE_IFF 1
20074 if test "$wxUSE_PNM" = "yes" ; then
20075 cat >> confdefs.h
<<\EOF
20076 #define wxUSE_PNM 1
20081 if test "$wxUSE_XPM" = "yes" ; then
20082 cat >> confdefs.h
<<\EOF
20083 #define wxUSE_XPM 1
20088 if test "$wxUSE_ICO_CUR" = "yes" ; then
20089 cat >> confdefs.h
<<\EOF
20090 #define wxUSE_ICO_CUR 1
20095 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20096 LIBS
=" -lunicows $LIBS"
20100 if test "$wxUSE_CHOICEDLG" = "yes"; then
20101 cat >> confdefs.h
<<\EOF
20102 #define wxUSE_CHOICEDLG 1
20107 if test "$wxUSE_COLOURDLG" = "yes"; then
20108 cat >> confdefs.h
<<\EOF
20109 #define wxUSE_COLOURDLG 1
20114 if test "$wxUSE_FILEDLG" = "yes"; then
20115 cat >> confdefs.h
<<\EOF
20116 #define wxUSE_FILEDLG 1
20121 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20122 cat >> confdefs.h
<<\EOF
20123 #define wxUSE_FINDREPLDLG 1
20128 if test "$wxUSE_FONTDLG" = "yes"; then
20129 cat >> confdefs.h
<<\EOF
20130 #define wxUSE_FONTDLG 1
20135 if test "$wxUSE_DIRDLG" = "yes"; then
20136 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20137 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
20139 if test "$wxUSE_TREECTRL" != "yes"; then
20140 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20142 cat >> confdefs.h
<<\EOF
20143 #define wxUSE_DIRDLG 1
20150 if test "$wxUSE_MSGDLG" = "yes"; then
20151 cat >> confdefs.h
<<\EOF
20152 #define wxUSE_MSGDLG 1
20157 if test "$wxUSE_NUMBERDLG" = "yes"; then
20158 cat >> confdefs.h
<<\EOF
20159 #define wxUSE_NUMBERDLG 1
20164 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20165 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20166 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20168 cat >> confdefs.h
<<\EOF
20169 #define wxUSE_PROGRESSDLG 1
20175 if test "$wxUSE_SPLASH" = "yes"; then
20176 cat >> confdefs.h
<<\EOF
20177 #define wxUSE_SPLASH 1
20182 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20183 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20184 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20186 cat >> confdefs.h
<<\EOF
20187 #define wxUSE_STARTUP_TIPS 1
20193 if test "$wxUSE_TEXTDLG" = "yes"; then
20194 cat >> confdefs.h
<<\EOF
20195 #define wxUSE_TEXTDLG 1
20200 if test "$wxUSE_WIZARDDLG" = "yes"; then
20201 cat >> confdefs.h
<<\EOF
20202 #define wxUSE_WIZARDDLG 1
20205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20209 if test "$cross_compiling" = "yes"; then
20212 OSINFO
=`uname -s -r -m`
20213 OSINFO
="\"$OSINFO\""
20216 cat >> confdefs.h
<<EOF
20217 #define WXWIN_OS_DESCRIPTION $OSINFO
20222 if test "x$prefix" != "xNONE"; then
20225 wxPREFIX
=$ac_default_prefix
20228 cat >> confdefs.h
<<EOF
20229 #define wxINSTALL_PREFIX "$wxPREFIX"
20236 if test "$wxUSE_MAC" = 1 ; then
20237 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20241 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DL_LINK -lm $LIBS"
20243 if test "$wxUSE_GUI" = "yes"; then
20245 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
20249 drawing dynamic erase event exec font image \
20250 minimal richedit rotate widgets"
20252 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20254 SAMPLES_SUBDIRS
="console"
20258 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
20259 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
20261 if test "$wxUSE_GTK" = 1; then
20264 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20267 if test "$GXX" = yes ; then
20268 CXXWARNINGS
="-Wall"
20270 if test "$wxUSE_NO_DEPS" = "no" ; then
20271 CFLAGS
="-MMD $CFLAGS"
20272 CXXFLAGS
="-MMD $CXXFLAGS"
20276 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20278 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20279 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20281 LDFLAGS
="$LDFLAGS$PROFILE"
20283 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20371 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20372 echo "configure:20373: checking whether ${MAKE-make} sets \${MAKE}" >&5
20373 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20374 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20375 echo $ac_n "(cached) $ac_c" 1>&6
20377 cat > conftestmake
<<\EOF
20379 @
echo 'ac_maketemp="${MAKE}"'
20381 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20382 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20383 if test -n "$ac_maketemp"; then
20384 eval ac_cv_prog_make_
${ac_make}_set
=yes
20386 eval ac_cv_prog_make_
${ac_make}_set
=no
20390 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20391 echo "$ac_t""yes" 1>&6
20394 echo "$ac_t""no" 1>&6
20395 SET_MAKE
="MAKE=${MAKE-make}"
20399 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20400 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20405 if test "$wxUSE_GUI" = "yes"; then
20406 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20407 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20408 wx_cv_path_ifs
=$PATH_IFS
20409 wx_cv_program_ext
=$PROGRAM_EXT
20410 wx_cv_target_library
=$WX_TARGET_LIBRARY
20411 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20412 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20413 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20414 wx_cv_path_ifs wx_cv_program_ext \
20415 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20416 subdirs
="demos samples utils contrib"
20421 cat > confcache
<<\EOF
20422 # This file is a shell script that caches the results of configure
20423 # tests run on this system so they can be shared between configure
20424 # scripts and configure runs. It is not useful on other systems.
20425 # If it contains results you don't want to keep, you may remove or edit it.
20427 # By default, configure uses ./config.cache as the cache file,
20428 # creating it if it does not exist already. You can give configure
20429 # the --cache-file=FILE option to use a different cache file; that is
20430 # what configure does when it calls configure scripts in
20431 # subdirectories, so they share the cache.
20432 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20433 # config.status only pays attention to the cache file if you give it the
20434 # --recheck option to rerun configure.
20437 # The following way of writing the cache mishandles newlines in values,
20438 # but we know of no workaround that is simple, portable, and efficient.
20439 # So, don't put newlines in cache variables' values.
20440 # Ultrix sh set writes to stderr and can't be redirected directly,
20441 # and sets the high bit in the cache file unless we assign to the vars.
20443 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20445 # `set' does not quote correctly, so add quotes (double-quote substitution
20446 # turns \\\\ into \\, and sed turns \\ into \).
20448 -e "s/'/'\\\\''/g" \
20449 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20452 # `set' quotes correctly as required by POSIX, so do not add quotes.
20453 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20456 if cmp -s $cache_file confcache
; then
20459 if test -w $cache_file; then
20460 echo "updating cache $cache_file"
20461 cat confcache
> $cache_file
20463 echo "not updating unwritable cache $cache_file"
20468 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20470 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20471 # Let make expand exec_prefix.
20472 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20474 # Any assignment to VPATH causes Sun make to only execute
20475 # the first set of double-colon rules, so remove it if not needed.
20476 # If there is a colon in the path, we need to keep it.
20477 if test "x$srcdir" = x.
; then
20478 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20481 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20483 DEFS
=-DHAVE_CONFIG_H
20485 # Without the "./", some shells look in PATH for config.status.
20486 : ${CONFIG_STATUS=./config.status}
20488 echo creating
$CONFIG_STATUS
20489 rm -f $CONFIG_STATUS
20490 cat > $CONFIG_STATUS <<EOF
20492 # Generated automatically by configure.
20493 # Run this file to recreate the current configuration.
20494 # This directory was configured as follows,
20495 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20497 # $0 $ac_configure_args
20499 # Compiler output produced by configure, useful for debugging
20500 # configure, is in ./config.log if it exists.
20502 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20505 case "\$ac_option" in
20506 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20507 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20508 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20509 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20510 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20512 -help | --help | --hel | --he | --h)
20513 echo "\$ac_cs_usage"; exit 0 ;;
20514 *) echo "\$ac_cs_usage"; exit 1 ;;
20518 ac_given_srcdir=$srcdir
20519 ac_given_INSTALL="$INSTALL"
20521 trap 'rm -fr `echo "
20527 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20529 cat >> $CONFIG_STATUS <<EOF
20531 # Protect against being on the right side of a sed subst in config.status.
20532 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20533 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20537 s%@CFLAGS@%$CFLAGS%g
20538 s%@CPPFLAGS@%$CPPFLAGS%g
20539 s%@CXXFLAGS@%$CXXFLAGS%g
20540 s%@FFLAGS@%$FFLAGS%g
20542 s%@LDFLAGS@%$LDFLAGS%g
20544 s%@exec_prefix@%$exec_prefix%g
20545 s%@prefix@%$prefix%g
20546 s%@program_transform_name@%$program_transform_name%g
20547 s%@bindir@%$bindir%g
20548 s%@sbindir@%$sbindir%g
20549 s%@libexecdir@%$libexecdir%g
20550 s%@datadir@%$datadir%g
20551 s%@sysconfdir@%$sysconfdir%g
20552 s%@sharedstatedir@%$sharedstatedir%g
20553 s%@localstatedir@%$localstatedir%g
20554 s%@libdir@%$libdir%g
20555 s%@includedir@%$includedir%g
20556 s%@oldincludedir@%$oldincludedir%g
20557 s%@infodir@%$infodir%g
20558 s%@mandir@%$mandir%g
20560 s%@host_alias@%$host_alias%g
20561 s%@host_cpu@%$host_cpu%g
20562 s%@host_vendor@%$host_vendor%g
20563 s%@host_os@%$host_os%g
20564 s%@target@%$target%g
20565 s%@target_alias@%$target_alias%g
20566 s%@target_cpu@%$target_cpu%g
20567 s%@target_vendor@%$target_vendor%g
20568 s%@target_os@%$target_os%g
20570 s%@build_alias@%$build_alias%g
20571 s%@build_cpu@%$build_cpu%g
20572 s%@build_vendor@%$build_vendor%g
20573 s%@build_os@%$build_os%g
20577 s%@RANLIB@%$RANLIB%g
20579 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20580 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20581 s%@INSTALL_DATA@%$INSTALL_DATA%g
20583 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20586 s%@LEXLIB@%$LEXLIB%g
20588 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
20589 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20590 s%@GTK_LIBS@%$GTK_LIBS%g
20591 s%@GTK_CONFIG@%$GTK_CONFIG%g
20592 s%@X_CFLAGS@%$X_CFLAGS%g
20593 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20594 s%@X_LIBS@%$X_LIBS%g
20595 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20596 s%@RESCOMP@%$RESCOMP%g
20598 s%@CXXCPP@%$CXXCPP%g
20599 s%@LIBICONV@%$LIBICONV%g
20600 s%@LEX_STEM@%$LEX_STEM%g
20601 s%@PATH_IFS@%$PATH_IFS%g
20602 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20603 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20604 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20605 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20606 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20607 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20608 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20609 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20610 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20611 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20612 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20613 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20614 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20615 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20616 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20617 s%@WX_ALL@%$WX_ALL%g
20618 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20619 s%@SHARED_LD@%$SHARED_LD%g
20620 s%@PIC_FLAG@%$PIC_FLAG%g
20621 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20622 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20623 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20624 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20625 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20626 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20627 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20628 s%@USE_GUI@%$USE_GUI%g
20629 s%@AFMINSTALL@%$AFMINSTALL%g
20630 s%@TOOLKIT@%$TOOLKIT%g
20631 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20632 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20633 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20634 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20635 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20636 s%@cross_compiling@%$cross_compiling%g
20637 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20638 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20639 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20640 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20641 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20642 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20643 s%@ALL_HEADERS@%$ALL_HEADERS%g
20644 s%@ALL_SOURCES@%$ALL_SOURCES%g
20645 s%@GUIDIST@%$GUIDIST%g
20646 s%@PORT_FILES@%$PORT_FILES%g
20647 s%@DISTDIR@%$DISTDIR%g
20648 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20649 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20650 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20651 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20652 s%@EXTRADEFS@%$EXTRADEFS%g
20653 s%@RESFLAGS@%$RESFLAGS%g
20654 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20655 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
20656 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
20657 s%@LIBWXMACRES@%$LIBWXMACRES%g
20658 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20659 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20660 s%@DLLTOOL@%$DLLTOOL%g
20664 s%@MAKEINFO@%$MAKEINFO%g
20665 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20666 s%@SET_MAKE@%$SET_MAKE%g
20667 s%@subdirs@%$subdirs%g
20672 cat >> $CONFIG_STATUS <<\EOF
20674 # Split the substitutions into bite-sized pieces for seds with
20675 # small command number limits, like on Digital OSF/1 and HP-UX.
20676 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
20677 ac_file
=1 # Number of current file.
20678 ac_beg
=1 # First line for current file.
20679 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
20682 while $ac_more_lines; do
20683 if test $ac_beg -gt 1; then
20684 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
20686 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
20688 if test ! -s conftest.s
$ac_file; then
20689 ac_more_lines
=false
20690 rm -f conftest.s
$ac_file
20692 if test -z "$ac_sed_cmds"; then
20693 ac_sed_cmds
="sed -f conftest.s$ac_file"
20695 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
20697 ac_file
=`expr $ac_file + 1`
20699 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
20702 if test -z "$ac_sed_cmds"; then
20707 cat >> $CONFIG_STATUS <<EOF
20709 CONFIG_FILES=\${CONFIG_FILES-"wx-config
20716 cat >> $CONFIG_STATUS <<\EOF
20717 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
20718 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20720 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20721 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20722 *) ac_file_in
="${ac_file}.in" ;;
20725 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20727 # Remove last slash and all that follows it. Not all systems have dirname.
20728 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20729 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
20730 # The file is in a subdirectory.
20731 test ! -d "$ac_dir" && mkdir "$ac_dir"
20732 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
20733 # A "../" for each directory in $ac_dir_suffix.
20734 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20736 ac_dir_suffix
= ac_dots
=
20739 case "$ac_given_srcdir" in
20741 if test -z "$ac_dots"; then top_srcdir
=.
20742 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20743 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
20744 *) # Relative path.
20745 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20746 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20749 case "$ac_given_INSTALL" in
20750 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
20751 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
20754 echo creating
"$ac_file"
20756 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20758 *Makefile
*) ac_comsub
="1i\\
20759 # $configure_input" ;;
20763 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20765 s%@configure_input@%$configure_input%g
20766 s%@srcdir@%$srcdir%g
20767 s%@top_srcdir@%$top_srcdir%g
20768 s%@INSTALL@%$INSTALL%g
20769 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20773 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20774 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20776 # ac_d sets the value in "#define NAME VALUE" lines.
20777 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20778 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
20781 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20782 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20783 ac_uB
='\([ ]\)%\1#\2define\3'
20786 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20787 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20788 ac_eB
='$%\1#\2define\3'
20792 if test "${CONFIG_HEADERS+set}" != set; then
20794 cat >> $CONFIG_STATUS <<EOF
20795 CONFIG_HEADERS="setup.h:setup.h.in"
20797 cat >> $CONFIG_STATUS <<\EOF
20799 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
20800 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20802 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20803 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20804 *) ac_file_in
="${ac_file}.in" ;;
20807 echo creating
$ac_file
20809 rm -f conftest.frag conftest.
in conftest.out
20810 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20811 cat $ac_file_inputs > conftest.
in
20815 # Transform confdefs.h into a sed script conftest.vals that substitutes
20816 # the proper values into config.h.in to produce config.h. And first:
20817 # Protect against being on the right side of a sed subst in config.status.
20818 # Protect against being in an unquoted here document in config.status.
20819 rm -f conftest.vals
20820 cat > conftest.hdr
<<\EOF
20823 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20827 sed -n -f conftest.hdr confdefs.h > conftest.vals
20830 # This sed command replaces #undef with comments. This is necessary, for
20831 # example, in the case of _POSIX_SOURCE, which is predefined and required
20832 # on some systems where configure will not decide to define it.
20833 cat >> conftest.vals <<\EOF
20834 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20837 # Break up conftest.vals because some shells have a limit on
20838 # the size of here documents, and old seds have small limits too.
20840 rm -f conftest.tail
20843 ac_lines=`grep -c . conftest.vals
`
20844 # grep -c gives empty output for an empty file on some AIX systems.
20845 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20846 # Write a limited-size here document to conftest.frag.
20847 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20848 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20850 sed -f conftest.frag conftest.in > conftest.out
20852 mv conftest.out conftest.in
20853 ' >> $CONFIG_STATUS
20854 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20855 rm -f conftest.vals
20856 mv conftest.tail conftest.vals
20858 rm -f conftest.vals
20860 cat >> $CONFIG_STATUS <<\EOF
20861 rm -f conftest.frag conftest.h
20862 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20863 cat conftest.in >> conftest.h
20865 if cmp -s $ac_file conftest.h 2>/dev/null; then
20866 echo "$ac_file is unchanged"
20869 # Remove last slash and all that follows it. Not all systems have dirname.
20870 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20871 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20872 # The file is in a subdirectory.
20873 test ! -d "$ac_dir" && mkdir "$ac_dir"
20876 mv conftest.h $ac_file
20881 cat >> $CONFIG_STATUS <<EOF
20883 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
20888 cat >> $CONFIG_STATUS <<\EOF
20890 if test ! -h wx-config; then
20892 mv wx-config wx${TOOLCHAIN_NAME}-config
20893 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
20896 if test ! -d lib; then
20899 if test ! -d lib/wx; then
20902 if test ! -d lib/wx/include; then
20903 mkdir lib/wx/include
20905 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
20906 mkdir lib/wx/include/${TOOLCHAIN_NAME}
20908 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
20909 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
20911 if test -f setup.h; then
20912 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
20917 chmod +x $CONFIG_STATUS
20918 rm -fr confdefs* $ac_clean_files
20919 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20921 if test "$no_recursion" != yes; then
20923 # Remove --cache-file and --srcdir arguments so they do not pile up.
20924 ac_sub_configure_args=
20926 for ac_arg in $ac_configure_args; do
20927 if test -n "$ac_prev"; then
20932 -cache-file | --cache-file | --cache-fil | --cache-fi \
20933 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20934 ac_prev=cache_file ;;
20935 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
20936 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
20938 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20940 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20942 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20946 for ac_config_dir in demos samples utils contrib; do
20948 # Do not complain, so a configure script can configure whichever
20949 # parts of a large source tree are present.
20950 if test ! -d $srcdir/$ac_config_dir; then
20954 echo configuring in $ac_config_dir
20959 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
20961 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
20969 # A "../" for each directory in /$ac_config_dir.
20970 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
20973 .) # No --srcdir option. We are building in place.
20974 ac_sub_srcdir=$srcdir ;;
20975 /*) # Absolute path.
20976 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
20977 *) # Relative path.
20978 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
20981 # Check for guested configure; otherwise get Cygnus style configure.
20982 if test -f $ac_sub_srcdir/configure; then
20983 ac_sub_configure=$ac_sub_srcdir/configure
20984 elif test -f $ac_sub_srcdir/configure.in; then
20985 ac_sub_configure=$ac_configure
20987 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
20991 # The recursion is here.
20992 if test -n "$ac_sub_configure"; then
20994 # Make the cache file name correct relative to the subdirectory.
20995 case "$cache_file" in
20996 /*) ac_sub_cache_file=$cache_file ;;
20997 *) # Relative path.
20998 ac_sub_cache_file="$ac_dots$cache_file" ;;
21000 case "$ac_given_INSTALL" in
21001 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21002 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21005 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21006 # The eval makes quoting arguments work.
21007 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21010 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }