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-nanox use NanoX"
93 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
95 --with-libpng use libpng (PNG image format)"
97 --with-libjpeg use libjpeg (JPEG file format)"
99 --with-libtiff use libtiff (TIFF file format)"
101 --with-opengl use OpenGL (or Mesa)"
103 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
105 --with-regex enable support for wxRegEx class"
107 --with-zlib use zlib for LZW compression"
109 --with-odbc use the IODBC and wxODBC classes"
111 --enable-shared create shared library code"
113 --enable-soname set the DT_SONAME field in ELF shared libraries"
115 --enable-optimise create optimised code"
117 --enable-debug same as debug_flag and debug_info"
119 --enable-precomp enable use of precompiled headers (Mac OS X)"
121 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
123 --enable-debug_info create code with debugging information"
125 --enable-debug_gdb create code with extra GDB debugging information"
127 --enable-debug_cntxt use wxDebugContext"
129 --enable-mem_tracing create code with memory tracing"
131 --enable-profile create code with profiling information"
133 --enable-no_rtti create code without RTTI information"
135 --enable-no_exceptions create code without C++ exceptions handling"
137 --enable-permissive compile code disregarding strict ANSI"
139 --enable-no_deps create code without dependency information"
141 --enable-compat20 enable wxWindows 2.0 compatibility"
143 --enable-compat22 enable wxWindows 2.2 compatibility"
145 --enable-intl use internationalization system"
147 --enable-config use wxConfig (and derived) classes"
149 --enable-protocols use wxProtocol and derived classes"
151 --enable-ftp use wxFTP (requires wxProtocol"
153 --enable-http use wxHTTP (requires wxProtocol"
155 --enable-fileproto use wxFileProto class (requires wxProtocol"
157 --enable-sockets use socket/network classes"
159 --enable-ipc use interprocess communication (wxSocket etc.)"
161 --enable-cmdline use wxCmdLineParser class"
163 --enable-datetime use wxDateTime class"
165 --enable-timedate use obsolete wxDate/wxTime classes"
167 --enable-stopwatch use wxStopWatch class"
169 --enable-dialupman use dialup network classes"
171 --enable-apple_ieee use the Apple IEEE codec"
173 --enable-timer use wxTimer class"
175 --enable-wave use wxWave class"
177 --enable-fraction use wxFraction class"
179 --enable-dynlib use wxLibrary class for DLL loading"
181 --enable-dynamicloader use (new) wxDynamicLibrary class"
183 --enable-longlong use wxLongLong class"
185 --enable-geometry use geometry class"
187 --enable-log use logging system"
189 --enable-streams use wxStream etc classes"
191 --enable-file use wxFile classes"
193 --enable-ffile use wxFFile classes"
195 --enable-textbuf use wxTextBuffer class"
197 --enable-textfile use wxTextFile class"
199 --enable-fontmap use font encodings conversion classes"
201 --enable-unicode compile wxString with Unicode support"
203 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
205 --enable-wxprintfv use wxWindows implementation of vprintf()"
207 --enable-std_iostreams use standard C++ stream classes"
209 --enable-filesystem use virtual file systems classes"
211 --enable-fs_inet use virtual HTTP/FTP filesystems"
213 --enable-fs_zip use virtual ZIP filesystems"
215 --enable-zipstream use wxZipInputStream"
217 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
219 --enable-snglinst use wxSingleInstanceChecker class"
221 --enable-mimetype use wxMimeTypesManager"
223 --enable-sysoptions use wxSystemOptions"
225 --enable-url use wxURL class"
227 --enable-protocol use wxProtocol class"
229 --enable-protocol-http HTTP support in wxProtocol"
231 --enable-protocol-ftp FTP support in wxProtocol"
233 --enable-protocol-file FILE support in wxProtocol"
235 --enable-threads use threads"
237 --enable-docview use document view architecture"
239 --enable-help use help subsystem"
241 --enable-mshtmlhelp use MS HTML Help (win32)"
243 --enable-html use wxHTML sub-library"
245 --enable-htmlhelp use wxHTML-based help"
247 --enable-constraints use layout-constraints system"
249 --enable-printarch use printing architecture"
251 --enable-mdi use multiple document interface architecture"
253 --enable-loggui use standard GUI logger"
255 --enable-logwin use wxLogWindow"
257 --enable-logdialog use wxLogDialog"
259 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
261 --enable-prologio use Prolog IO library"
263 --enable-resources use wxWindows resources"
265 --enable-xresources use X resources for save (default for gtk+)"
267 --enable-clipboard use wxClipboard classes"
269 --enable-dnd use Drag'n'Drop classes"
271 --enable-metafile use win32 metafiles"
273 --enable-treelayout use wxTreeLayout classes"
275 --enable-controls use all usual controls"
277 --enable-accel use accelerators"
279 --enable-button use wxButton class"
281 --enable-bmpbutton use wxBitmapButton class"
283 --enable-calendar use wxCalendarCtrl class"
285 --enable-caret use wxCaret class"
287 --enable-checkbox use wxCheckBox class"
289 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
291 --enable-choice use wxChoice class"
293 --enable-combobox use wxComboBox classes"
295 --enable-gauge use wxGauge class"
297 --enable-grid use wxGrid class"
299 --enable-newgrid use new wxGrid class"
301 --enable-imaglist use wxImageList class"
303 --enable-listbox use wxListBox class"
305 --enable-listctrl use wxListCtrl class"
307 --enable-notebook use wxNotebook class"
309 --enable-propsheet use wxPropertySheet class"
311 --enable-radiobox use wxRadioBox class"
313 --enable-radiobtn use wxRadioButton class"
315 --enable-sash use wxSashWindow class"
317 --enable-scrollbar use wxScrollBar class and scrollable windows"
319 --enable-slider use wxSlider class"
321 --enable-spinbtn use wxSpinButton class"
323 --enable-spinctrl use wxSpinCtrl class"
325 --enable-splitter use wxSplitterWindow class"
327 --enable-statbmp use wxStaticBitmap class"
329 --enable-statbox use wxStaticBox class"
331 --enable-statline use wxStaticLine class"
333 --enable-stattext use wxStaticText class"
335 --enable-statusbar use wxStatusBar class"
337 --enable-tabdialog use wxTabControl class"
339 --enable-textctrl use wxTextCtrl class"
341 --enable-togglebtn use wxToggleButton class"
343 --enable-toolbar use wxToolBar class"
345 --enable-tbarnative use native wxToolBar class"
347 --enable-tbarsmpl use wxToolBarSimple class"
349 --enable-treectrl use wxTreeCtrl class"
351 --enable-tipwindow use wxTipWindow class"
353 --enable-popupwin use wxPopUpWindow class"
355 --enable-commondlg use all common dialogs"
357 --enable-choicedlg use wxChoiceDialog"
359 --enable-coldlg use wxColourDialog"
361 --enable-filedlg use wxFileDialog"
363 --enable-finddlg use wxFindReplaceDialog"
365 --enable-fontdlg use wxFontDialog"
367 --enable-dirdlg use wxDirDialog"
369 --enable-msgdlg use wxMessageDialog"
371 --enable-numberdlg use wxNumberEntryDialog"
373 --enable-splash use wxSplashScreen"
375 --enable-textdlg use wxTextDialog"
377 --enable-tipdlg use startup tips"
379 --enable-progressdlg use wxProgressDialog"
381 --enable-wizarddlg use wxWizard"
383 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
385 --enable-miniframe use wxMiniFrame class"
387 --enable-tooltips use wxToolTip class"
389 --enable-splines use spline drawing code"
391 --enable-validators use wxValidator and derived classes"
393 --enable-busyinfo use wxBusyInfo"
395 --enable-joystick use wxJoystick (Linux only)"
397 --enable-metafiles use wxMetaFile (Windows only)"
399 --enable-dragimage use wxDragImage"
401 --enable-palette use wxPalette class"
403 --enable-image use wxImage class"
405 --enable-gif use gif images (GIF file format)"
407 --enable-pcx use pcx images (PCX file format)"
409 --enable-iff use iff images (IFF file format)"
411 --enable-pnm use pnm images (PNM file format)"
413 --enable-xpm use xpm images (XPM file format)"
415 --enable-icocur use Windows ICO and CUR formats"
417 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
419 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
421 --disable-gtktest Do not try to compile and run a test GTK program"
423 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
425 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
427 --disable-gtktest Do not try to compile and run a test GTK program"
429 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
431 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
433 --disable-gtktest Do not try to compile and run a test GTK program"
435 --with-x use the X Window System"
437 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
439 # Initialize some variables set by options.
440 # The variables have the same names as the options, with
441 # dashes changed to underlines.
443 cache_file
=.
/config.cache
452 program_transform_name
=s
,x
,x
,
460 bindir
='${exec_prefix}/bin'
461 sbindir
='${exec_prefix}/sbin'
462 libexecdir
='${exec_prefix}/libexec'
463 datadir
='${prefix}/share'
464 sysconfdir
='${prefix}/etc'
465 sharedstatedir
='${prefix}/com'
466 localstatedir
='${prefix}/var'
467 libdir
='${exec_prefix}/lib'
468 includedir
='${prefix}/include'
469 oldincludedir
='/usr/include'
470 infodir
='${prefix}/info'
471 mandir
='${prefix}/man'
473 # Initialize some other variables.
476 SHELL
=${CONFIG_SHELL-/bin/sh}
477 # Maximum number of lines to put in a shell here document.
484 # If the previous option needs an argument, assign it.
485 if test -n "$ac_prev"; then
486 eval "$ac_prev=\$ac_option"
492 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
496 # Accept the important Cygnus configure options, so we can diagnose typos.
500 -bindir | --bindir | --bindi | --bind | --bin | --bi)
502 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
503 bindir
="$ac_optarg" ;;
505 -build | --build | --buil | --bui | --bu)
507 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
508 build
="$ac_optarg" ;;
510 -cache-file | --cache-file | --cache-fil | --cache-fi \
511 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
512 ac_prev
=cache_file
;;
513 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
514 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
515 cache_file
="$ac_optarg" ;;
517 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
519 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
521 datadir
="$ac_optarg" ;;
523 -disable-* | --disable-*)
524 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
525 # Reject names that are not valid shell variable names.
526 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
527 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
529 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
530 eval "enable_${ac_feature}=no" ;;
532 -enable-* | --enable-*)
533 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
534 # Reject names that are not valid shell variable names.
535 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
536 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
538 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
543 eval "enable_${ac_feature}='$ac_optarg'" ;;
545 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
546 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
547 | --exec | --exe | --ex)
548 ac_prev
=exec_prefix
;;
549 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
550 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
551 | --exec=* | --exe=* | --ex=*)
552 exec_prefix
="$ac_optarg" ;;
554 -gas | --gas | --ga | --g)
555 # Obsolete; use --with-gas.
558 -help | --help | --hel | --he)
559 # Omit some internal or obsolete options to make the list less imposing.
560 # This message is too long to be a string in the A/UX 3.1 sh.
562 Usage: configure [options] [host]
563 Options: [defaults in brackets after descriptions]
565 --cache-file=FILE cache test results in FILE
566 --help print this message
567 --no-create do not create output files
568 --quiet, --silent do not print \`checking...' messages
569 --version print the version of autoconf that created configure
570 Directory and file names:
571 --prefix=PREFIX install architecture-independent files in PREFIX
573 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
575 --bindir=DIR user executables in DIR [EPREFIX/bin]
576 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
577 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
578 --datadir=DIR read-only architecture-independent data in DIR
580 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
581 --sharedstatedir=DIR modifiable architecture-independent data in DIR
583 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
584 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
585 --includedir=DIR C header files in DIR [PREFIX/include]
586 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
587 --infodir=DIR info documentation in DIR [PREFIX/info]
588 --mandir=DIR man documentation in DIR [PREFIX/man]
589 --srcdir=DIR find the sources in DIR [configure dir or ..]
590 --program-prefix=PREFIX prepend PREFIX to installed program names
591 --program-suffix=SUFFIX append SUFFIX to installed program names
592 --program-transform-name=PROGRAM
593 run sed PROGRAM on installed program names
597 --build=BUILD configure for building on BUILD [BUILD=HOST]
598 --host=HOST configure for HOST [guessed]
599 --target=TARGET configure for TARGET [TARGET=HOST]
600 Features and packages:
601 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
602 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
603 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
604 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
605 --x-includes=DIR X include files are in DIR
606 --x-libraries=DIR X library files are in DIR
608 if test -n "$ac_help"; then
609 echo "--enable and --with options recognized:$ac_help"
613 -host | --host | --hos | --ho)
615 -host=* | --host=* | --hos=* | --ho=*)
618 -includedir | --includedir | --includedi | --included | --include \
619 | --includ | --inclu | --incl | --inc)
620 ac_prev
=includedir
;;
621 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
622 | --includ=* | --inclu=* | --incl=* | --inc=*)
623 includedir
="$ac_optarg" ;;
625 -infodir | --infodir | --infodi | --infod | --info | --inf)
627 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
628 infodir
="$ac_optarg" ;;
630 -libdir | --libdir | --libdi | --libd)
632 -libdir=* | --libdir=* | --libdi=* | --libd=*)
633 libdir
="$ac_optarg" ;;
635 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
636 | --libexe | --libex | --libe)
637 ac_prev
=libexecdir
;;
638 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
639 | --libexe=* | --libex=* | --libe=*)
640 libexecdir
="$ac_optarg" ;;
642 -localstatedir | --localstatedir | --localstatedi | --localstated \
643 | --localstate | --localstat | --localsta | --localst \
644 | --locals | --local | --loca | --loc | --lo)
645 ac_prev
=localstatedir
;;
646 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
647 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
648 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
649 localstatedir
="$ac_optarg" ;;
651 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
653 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
654 mandir
="$ac_optarg" ;;
657 # Obsolete; use --without-fp.
660 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
664 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
665 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
668 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
669 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
670 | --oldin | --oldi | --old | --ol | --o)
671 ac_prev
=oldincludedir
;;
672 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
673 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
674 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
675 oldincludedir
="$ac_optarg" ;;
677 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
679 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
680 prefix
="$ac_optarg" ;;
682 -program-prefix | --program-prefix | --program-prefi | --program-pref \
683 | --program-pre | --program-pr | --program-p)
684 ac_prev
=program_prefix
;;
685 -program-prefix=* | --program-prefix=* | --program-prefi=* \
686 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
687 program_prefix
="$ac_optarg" ;;
689 -program-suffix | --program-suffix | --program-suffi | --program-suff \
690 | --program-suf | --program-su | --program-s)
691 ac_prev
=program_suffix
;;
692 -program-suffix=* | --program-suffix=* | --program-suffi=* \
693 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
694 program_suffix
="$ac_optarg" ;;
696 -program-transform-name | --program-transform-name \
697 | --program-transform-nam | --program-transform-na \
698 | --program-transform-n | --program-transform- \
699 | --program-transform | --program-transfor \
700 | --program-transfo | --program-transf \
701 | --program-trans | --program-tran \
702 | --progr-tra | --program-tr | --program-t)
703 ac_prev
=program_transform_name
;;
704 -program-transform-name=* | --program-transform-name=* \
705 | --program-transform-nam=* | --program-transform-na=* \
706 | --program-transform-n=* | --program-transform-=* \
707 | --program-transform=* | --program-transfor=* \
708 | --program-transfo=* | --program-transf=* \
709 | --program-trans=* | --program-tran=* \
710 | --progr-tra=* | --program-tr=* | --program-t=*)
711 program_transform_name
="$ac_optarg" ;;
713 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
714 | -silent | --silent | --silen | --sile | --sil)
717 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
719 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
721 sbindir
="$ac_optarg" ;;
723 -sharedstatedir | --sharedstatedir | --sharedstatedi \
724 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
725 | --sharedst | --shareds | --shared | --share | --shar \
727 ac_prev
=sharedstatedir
;;
728 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
729 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
730 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
732 sharedstatedir
="$ac_optarg" ;;
734 -site | --site | --sit)
736 -site=* | --site=* | --sit=*)
739 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
741 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
742 srcdir
="$ac_optarg" ;;
744 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
745 | --syscon | --sysco | --sysc | --sys | --sy)
746 ac_prev
=sysconfdir
;;
747 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
748 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
749 sysconfdir
="$ac_optarg" ;;
751 -target | --target | --targe | --targ | --tar | --ta | --t)
753 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
754 target
="$ac_optarg" ;;
756 -v | -verbose | --verbose | --verbos | --verbo | --verb)
759 -version | --version | --versio | --versi | --vers)
760 echo "configure generated by autoconf version 2.13"
764 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
765 # Reject names that are not valid shell variable names.
766 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
767 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
769 ac_package
=`echo $ac_package| sed 's/-/_/g'`
774 eval "with_${ac_package}='$ac_optarg'" ;;
776 -without-* | --without-*)
777 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
778 # Reject names that are not valid shell variable names.
779 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
780 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
782 ac_package
=`echo $ac_package| sed 's/-/_/g'`
783 eval "with_${ac_package}=no" ;;
786 # Obsolete; use --with-x.
789 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
790 | --x-incl | --x-inc | --x-in | --x-i)
791 ac_prev
=x_includes
;;
792 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
793 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
794 x_includes
="$ac_optarg" ;;
796 -x-libraries | --x-libraries | --x-librarie | --x-librari \
797 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
798 ac_prev
=x_libraries
;;
799 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
800 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
801 x_libraries
="$ac_optarg" ;;
803 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
807 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
808 echo "configure: warning: $ac_option: invalid host type" 1>&2
810 if test "x$nonopt" != xNONE
; then
811 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
819 if test -n "$ac_prev"; then
820 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
823 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
825 # File descriptor usage:
828 # 2 errors and warnings
829 # 3 some systems may open it to /dev/tty
830 # 4 used on the Kubota Titan
831 # 6 checking for... messages and results
832 # 5 compiler messages saved in config.log
833 if test "$silent" = yes; then
841 This file contains any messages produced by compilers while
842 running configure, to aid debugging if configure makes a mistake.
845 # Strip out --no-create and --no-recursion so they do not pile up.
846 # Also quote any args containing shell metacharacters.
851 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
852 | --no-cr | --no-c) ;;
853 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
854 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
855 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
856 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
857 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
862 # Only set these to C if already set. These must not be set unconditionally
863 # because not all systems understand e.g. LANG=C (notably SCO).
864 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
865 # Non-C LC_CTYPE values break the ctype check.
866 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
867 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
868 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
869 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
871 # confdefs.h avoids OS command line length limits that DEFS can exceed.
872 rm -rf conftest
* confdefs.h
873 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
876 # A filename unique to this package, relative to the directory that
877 # configure is in, which we can look for to find out if srcdir is correct.
878 ac_unique_file
=wx
-config.
in
880 # Find the source files, if location was not specified.
881 if test -z "$srcdir"; then
882 ac_srcdir_defaulted
=yes
883 # Try the directory containing this script, then its parent.
885 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
886 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
888 if test ! -r $srcdir/$ac_unique_file; then
892 ac_srcdir_defaulted
=no
894 if test ! -r $srcdir/$ac_unique_file; then
895 if test "$ac_srcdir_defaulted" = yes; then
896 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
898 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
901 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
903 # Prefer explicitly selected file to automatically selected ones.
904 if test -z "$CONFIG_SITE"; then
905 if test "x$prefix" != xNONE
; then
906 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
908 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
911 for ac_site_file
in $CONFIG_SITE; do
912 if test -r "$ac_site_file"; then
913 echo "loading site script $ac_site_file"
918 if test -r "$cache_file"; then
919 echo "loading cache $cache_file"
922 echo "creating cache $cache_file"
927 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
928 ac_cpp
='$CPP $CPPFLAGS'
929 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
930 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
931 cross_compiling
=$ac_cv_prog_cc_cross
935 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
936 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
937 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
944 ac_n
= ac_c
='\c' ac_t
=
950 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
951 if test -f $ac_dir/install-sh; then
953 ac_install_sh
="$ac_aux_dir/install-sh -c"
955 elif test -f $ac_dir/install.sh
; then
957 ac_install_sh
="$ac_aux_dir/install.sh -c"
961 if test -z "$ac_aux_dir"; then
962 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
964 ac_config_guess
=$ac_aux_dir/config.guess
965 ac_config_sub
=$ac_aux_dir/config.sub
966 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
969 # Do some error checking and defaulting for the host and target type.
971 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
974 # 1. You are not allowed to specify --host, --target, and nonopt at the
976 # 2. Host defaults to nonopt.
977 # 3. If nonopt is not specified, then host defaults to the current host,
978 # as determined by config.guess.
979 # 4. Target and build default to nonopt.
980 # 5. If nonopt is not specified, then target and build default to host.
982 # The aliases save the names the user supplied, while $host etc.
983 # will get canonicalized.
984 case $host---$target---$nonopt in
985 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
986 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
990 # Make sure we can run config.sub.
991 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
992 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
995 echo $ac_n "checking host system type""... $ac_c" 1>&6
996 echo "configure:997: checking host system type" >&5
999 case "$host_alias" in
1003 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1004 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1006 *) host_alias
=$nonopt ;;
1010 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1011 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1012 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1013 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1014 echo "$ac_t""$host" 1>&6
1016 echo $ac_n "checking target system type""... $ac_c" 1>&6
1017 echo "configure:1018: checking target system type" >&5
1019 target_alias
=$target
1020 case "$target_alias" in
1023 NONE
) target_alias
=$host_alias ;;
1024 *) target_alias
=$nonopt ;;
1028 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1029 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1030 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1031 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1032 echo "$ac_t""$target" 1>&6
1034 echo $ac_n "checking build system type""... $ac_c" 1>&6
1035 echo "configure:1036: checking build system type" >&5
1038 case "$build_alias" in
1041 NONE
) build_alias
=$host_alias ;;
1042 *) build_alias
=$nonopt ;;
1046 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1047 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1048 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1049 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1050 echo "$ac_t""$build" 1>&6
1052 test "$host_alias" != "$target_alias" &&
1053 test "$program_prefix$program_suffix$program_transform_name" = \
1055 program_prefix
=${target_alias}-
1059 WX_MAJOR_VERSION_NUMBER
=2
1060 WX_MINOR_VERSION_NUMBER
=3
1063 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1064 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1066 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1100 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1102 CPP_MT_FLAG
=-D_REENTRANT
1104 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1109 DEFAULT_wxUSE_MICROWIN
=0
1110 DEFAULT_wxUSE_MOTIF
=0
1113 DEFAULT_wxUSE_WINE
=0
1116 DEFAULT_DEFAULT_wxUSE_GTK
=0
1117 DEFAULT_DEFAULT_wxUSE_MAC
=0
1118 DEFAULT_DEFAULT_wxUSE_MGL
=0
1119 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1120 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1121 DEFAULT_DEFAULT_wxUSE_MSW
=0
1122 DEFAULT_DEFAULT_wxUSE_PM
=0
1123 DEFAULT_DEFAULT_wxUSE_WINE
=0
1124 DEFAULT_DEFAULT_wxUSE_X11
=0
1132 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1133 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1135 cat >> confdefs.h
<<\EOF
1142 cat >> confdefs.h
<<\EOF
1147 if test "x$TMP" = "xalpha"; then
1149 cat >> confdefs.h
<<\EOF
1154 DEFAULT_DEFAULT_wxUSE_GTK
=1
1156 *-*-irix5* | *-*-irix6* )
1159 cat >> confdefs.h
<<\EOF
1163 cat >> confdefs.h
<<\EOF
1167 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1173 cat >> confdefs.h
<<\EOF
1177 cat >> confdefs.h
<<\EOF
1178 #define __SOLARIS__ 1
1181 cat >> confdefs.h
<<\EOF
1185 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1186 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1192 cat >> confdefs.h
<<\EOF
1196 cat >> confdefs.h
<<\EOF
1200 cat >> confdefs.h
<<\EOF
1204 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1209 CPP_MT_FLAG
=-D_THREAD_SAFE
1210 cat >> confdefs.h
<<\EOF
1211 #define __FREEBSD__ 1
1214 cat >> confdefs.h
<<\EOF
1218 DEFAULT_DEFAULT_wxUSE_GTK
=1
1223 cat >> confdefs.h
<<\EOF
1224 #define __FREEBSD__ 1
1227 cat >> confdefs.h
<<\EOF
1228 #define __OPENBSD__ 1
1231 DEFAULT_DEFAULT_wxUSE_GTK
=1
1236 cat >> confdefs.h
<<\EOF
1237 #define __FREEBSD__ 1
1240 cat >> confdefs.h
<<\EOF
1241 #define __NETBSD__ 1
1244 DEFAULT_DEFAULT_wxUSE_GTK
=1
1249 cat >> confdefs.h
<<\EOF
1253 cat >> confdefs.h
<<\EOF
1257 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1258 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1263 cat >> confdefs.h
<<\EOF
1267 cat >> confdefs.h
<<\EOF
1271 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1276 cat >> confdefs.h
<<\EOF
1280 cat >> confdefs.h
<<\EOF
1284 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1290 cat >> confdefs.h
<<\EOF
1294 cat >> confdefs.h
<<\EOF
1298 cat >> confdefs.h
<<\EOF
1302 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1305 *-*-cygwin* | *-*-mingw32* )
1309 cat >> confdefs.h
<<\EOF
1313 cat >> confdefs.h
<<\EOF
1317 cat >> confdefs.h
<<\EOF
1318 #define __WINDOWS__ 1
1321 cat >> confdefs.h
<<\EOF
1322 #define __GNUWIN32__ 1
1325 cat >> confdefs.h
<<\EOF
1329 cat >> confdefs.h
<<\EOF
1330 #define WINVER 0x0400
1335 DEFAULT_DEFAULT_wxUSE_MSW
=1
1341 cat >> confdefs.h
<<\EOF
1346 DEFAULT_DEFAULT_wxUSE_MGL
=1
1349 *-pc-os2_emx | *-pc-os2-emx )
1350 cat >> confdefs.h
<<\EOF
1355 DEFAULT_DEFAULT_wxUSE_PM
=1
1363 cat >> confdefs.h
<<\EOF
1367 cat >> confdefs.h
<<\EOF
1368 #define __DARWIN__ 1
1371 cat >> confdefs.h
<<\EOF
1372 #define __POWERPC__ 1
1375 DEFAULT_DEFAULT_wxUSE_MAC
=1
1380 cat >> confdefs.h
<<\EOF
1387 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1390 if test "$USE_UNIX" = 1 ; then
1392 cat >> confdefs.h
<<\EOF
1398 if test "$USE_LINUX" = 1; then
1399 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1400 echo "configure:1401: checking for glibc 2.1 or later" >&5
1401 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1402 echo $ac_n "(cached) $ac_c" 1>&6
1405 cat > conftest.
$ac_ext <<EOF
1406 #line 1407 "configure"
1407 #include "confdefs.h"
1408 #include <features.h>
1411 #if !__GLIBC_PREREQ(2, 1)
1417 if { (eval echo configure
:1418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1423 echo "configure: failed program was:" >&5
1424 cat conftest.
$ac_ext >&5
1435 echo "$ac_t""$wx_lib_glibc21" 1>&6
1436 if test "$wx_lib_glibc21" = "yes"; then
1437 cat >> confdefs.h
<<\EOF
1438 #define wxHAVE_GLIBC2 1
1447 wx_arg_cache_file
="configarg.cache"
1448 echo "loading argument cache $wx_arg_cache_file"
1449 rm -f ${wx_arg_cache_file}.tmp
1450 touch ${wx_arg_cache_file}.tmp
1451 touch ${wx_arg_cache_file}
1455 if test $DEBUG_CONFIGURE = 1; then
1456 DEFAULT_wxUSE_UNIVERSAL
=no
1458 DEFAULT_wxUSE_NANOX
=no
1460 DEFAULT_wxUSE_THREADS
=yes
1462 DEFAULT_wxUSE_SHARED
=yes
1463 DEFAULT_wxUSE_SONAME
=no
1464 DEFAULT_wxUSE_OPTIMISE
=no
1465 DEFAULT_wxUSE_PROFILE
=no
1466 DEFAULT_wxUSE_NO_DEPS
=no
1467 DEFAULT_wxUSE_NO_RTTI
=yes
1468 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1469 DEFAULT_wxUSE_PERMISSIVE
=no
1470 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1471 DEFAULT_wxUSE_DEBUG_INFO
=yes
1472 DEFAULT_wxUSE_DEBUG_GDB
=yes
1473 DEFAULT_wxUSE_MEM_TRACING
=no
1474 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1475 DEFAULT_wxUSE_DMALLOC
=no
1476 DEFAULT_wxUSE_PRECOMP
=no
1477 DEFAULT_wxUSE_APPLE_IEEE
=no
1479 DEFAULT_wxUSE_LOG
=yes
1480 DEFAULT_wxUSE_LOGWINDOW
=no
1481 DEFAULT_wxUSE_LOGGUI
=no
1482 DEFAULT_wxUSE_LOGDIALOG
=no
1484 DEFAULT_wxUSE_GUI
=yes
1485 DEFAULT_wxUSE_CONTROLS
=no
1487 DEFAULT_wxUSE_REGEX
=no
1488 DEFAULT_wxUSE_ZLIB
=no
1489 DEFAULT_wxUSE_LIBPNG
=no
1490 DEFAULT_wxUSE_LIBJPEG
=no
1491 DEFAULT_wxUSE_LIBTIFF
=no
1492 DEFAULT_wxUSE_ODBC
=no
1493 DEFAULT_wxUSE_OPENGL
=no
1495 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1496 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1497 DEFAULT_wxUSE_STD_IOSTREAM
=no
1498 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1499 DEFAULT_wxUSE_DATETIME
=no
1500 DEFAULT_wxUSE_TIMEDATE
=no
1501 DEFAULT_wxUSE_TIMER
=no
1502 DEFAULT_wxUSE_STOPWATCH
=no
1503 DEFAULT_wxUSE_FILE
=no
1504 DEFAULT_wxUSE_FFILE
=no
1505 DEFAULT_wxUSE_TEXTBUFFER
=no
1506 DEFAULT_wxUSE_TEXTFILE
=no
1507 DEFAULT_wxUSE_WAVE
=no
1508 DEFAULT_wxUSE_INTL
=no
1509 DEFAULT_wxUSE_CONFIG
=no
1510 DEFAULT_wxUSE_FONTMAP
=no
1511 DEFAULT_wxUSE_STREAMS
=no
1512 DEFAULT_wxUSE_SOCKETS
=no
1513 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1514 DEFAULT_wxUSE_JOYSTICK
=no
1515 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1516 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1517 DEFAULT_wxUSE_LONGLONG
=no
1518 DEFAULT_wxUSE_GEOMETRY
=no
1520 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1521 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1522 DEFAULT_wxUSE_POSTSCRIPT
=no
1524 DEFAULT_wxUSE_X_RESOURCES
=no
1525 DEFAULT_wxUSE_CLIPBOARD
=no
1526 DEFAULT_wxUSE_TOOLTIPS
=no
1527 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1528 DEFAULT_wxUSE_DRAGIMAGE
=no
1529 DEFAULT_wxUSE_SPLINES
=no
1531 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1532 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1533 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1535 DEFAULT_wxUSE_PROLOGIO
=no
1536 DEFAULT_wxUSE_RESOURCES
=no
1537 DEFAULT_wxUSE_CONSTRAINTS
=no
1538 DEFAULT_wxUSE_IPC
=no
1539 DEFAULT_wxUSE_HELP
=no
1540 DEFAULT_wxUSE_MS_HTML_HELP
=no
1541 DEFAULT_wxUSE_WXHTML_HELP
=no
1542 DEFAULT_wxUSE_TREELAYOUT
=no
1543 DEFAULT_wxUSE_METAFILE
=no
1544 DEFAULT_wxUSE_MIMETYPE
=no
1545 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1546 DEFAULT_wxUSE_PROTOCOL
=no
1547 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1548 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1549 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1550 DEFAULT_wxUSE_URL
=no
1552 DEFAULT_wxUSE_COMMONDLGS
=no
1553 DEFAULT_wxUSE_CHOICEDLG
=no
1554 DEFAULT_wxUSE_COLOURDLG
=no
1555 DEFAULT_wxUSE_DIRDLG
=no
1556 DEFAULT_wxUSE_FILEDLG
=no
1557 DEFAULT_wxUSE_FINDREPLDLG
=no
1558 DEFAULT_wxUSE_FONTDLG
=no
1559 DEFAULT_wxUSE_MSGDLG
=no
1560 DEFAULT_wxUSE_NUMBERDLG
=no
1561 DEFAULT_wxUSE_TEXTDLG
=no
1562 DEFAULT_wxUSE_SPLASH
=no
1563 DEFAULT_wxUSE_STARTUP_TIPS
=no
1564 DEFAULT_wxUSE_PROGRESSDLG
=no
1565 DEFAULT_wxUSE_WIZARDDLG
=no
1567 DEFAULT_wxUSE_MENUS
=no
1568 DEFAULT_wxUSE_MINIFRAME
=no
1569 DEFAULT_wxUSE_HTML
=no
1570 DEFAULT_wxUSE_FILESYSTEM
=no
1571 DEFAULT_wxUSE_FS_INET
=no
1572 DEFAULT_wxUSE_FS_ZIP
=no
1573 DEFAULT_wxUSE_BUSYINFO
=no
1574 DEFAULT_wxUSE_ZIPSTREAM
=no
1575 DEFAULT_wxUSE_VALIDATORS
=no
1577 DEFAULT_wxUSE_ACCEL
=no
1578 DEFAULT_wxUSE_BUTTON
=no
1579 DEFAULT_wxUSE_BMPBUTTON
=no
1580 DEFAULT_wxUSE_CALCTRL
=no
1581 DEFAULT_wxUSE_CARET
=no
1582 DEFAULT_wxUSE_CHECKBOX
=no
1583 DEFAULT_wxUSE_CHECKLST
=no
1584 DEFAULT_wxUSE_CHOICE
=no
1585 DEFAULT_wxUSE_COMBOBOX
=no
1586 DEFAULT_wxUSE_GAUGE
=no
1587 DEFAULT_wxUSE_GRID
=no
1588 DEFAULT_wxUSE_NEW_GRID
=no
1589 DEFAULT_wxUSE_IMAGLIST
=no
1590 DEFAULT_wxUSE_LISTBOX
=no
1591 DEFAULT_wxUSE_LISTCTRL
=no
1592 DEFAULT_wxUSE_NOTEBOOK
=no
1593 DEFAULT_wxUSE_PROPSHEET
=no
1594 DEFAULT_wxUSE_RADIOBOX
=no
1595 DEFAULT_wxUSE_RADIOBTN
=no
1596 DEFAULT_wxUSE_SASH
=no
1597 DEFAULT_wxUSE_SCROLLBAR
=no
1598 DEFAULT_wxUSE_SLIDER
=no
1599 DEFAULT_wxUSE_SPINBTN
=no
1600 DEFAULT_wxUSE_SPINCTRL
=no
1601 DEFAULT_wxUSE_SPLITTER
=no
1602 DEFAULT_wxUSE_STATBMP
=no
1603 DEFAULT_wxUSE_STATBOX
=no
1604 DEFAULT_wxUSE_STATLINE
=no
1605 DEFAULT_wxUSE_STATTEXT
=no
1606 DEFAULT_wxUSE_STATUSBAR
=yes
1607 DEFAULT_wxUSE_TABDIALOG
=no
1608 DEFAULT_wxUSE_TEXTCTRL
=no
1609 DEFAULT_wxUSE_TOGGLEBTN
=no
1610 DEFAULT_wxUSE_TOOLBAR
=no
1611 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1612 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1613 DEFAULT_wxUSE_TREECTRL
=no
1614 DEFAULT_wxUSE_POPUPWIN
=no
1615 DEFAULT_wxUSE_TIPWINDOW
=no
1617 DEFAULT_wxUSE_UNICODE
=no
1618 DEFAULT_wxUSE_UNICODE_MSLU
=no
1619 DEFAULT_wxUSE_WCSRTOMBS
=no
1621 DEFAULT_wxUSE_PALETTE
=no
1622 DEFAULT_wxUSE_IMAGE
=no
1623 DEFAULT_wxUSE_GIF
=no
1624 DEFAULT_wxUSE_PCX
=no
1625 DEFAULT_wxUSE_PNM
=no
1626 DEFAULT_wxUSE_IFF
=no
1627 DEFAULT_wxUSE_XPM
=no
1628 DEFAULT_wxUSE_ICO_CUR
=no
1630 DEFAULT_wxUSE_UNIVERSAL
=no
1632 DEFAULT_wxUSE_NANOX
=no
1634 DEFAULT_wxUSE_THREADS
=yes
1636 DEFAULT_wxUSE_SHARED
=yes
1637 DEFAULT_wxUSE_SONAME
=no
1638 DEFAULT_wxUSE_OPTIMISE
=yes
1639 DEFAULT_wxUSE_PROFILE
=no
1640 DEFAULT_wxUSE_NO_DEPS
=no
1641 DEFAULT_wxUSE_NO_RTTI
=yes
1642 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1643 DEFAULT_wxUSE_PERMISSIVE
=no
1644 DEFAULT_wxUSE_DEBUG_FLAG
=no
1645 DEFAULT_wxUSE_DEBUG_INFO
=no
1646 DEFAULT_wxUSE_DEBUG_GDB
=no
1647 DEFAULT_wxUSE_MEM_TRACING
=no
1648 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1649 DEFAULT_wxUSE_DMALLOC
=no
1650 DEFAULT_wxUSE_PRECOMP
=no
1651 DEFAULT_wxUSE_APPLE_IEEE
=yes
1653 DEFAULT_wxUSE_LOG
=yes
1654 DEFAULT_wxUSE_LOGWINDOW
=yes
1655 DEFAULT_wxUSE_LOGGUI
=yes
1656 DEFAULT_wxUSE_LOGDIALOG
=yes
1658 DEFAULT_wxUSE_GUI
=yes
1660 DEFAULT_wxUSE_REGEX
=yes
1661 DEFAULT_wxUSE_ZLIB
=yes
1662 DEFAULT_wxUSE_LIBPNG
=yes
1663 DEFAULT_wxUSE_LIBJPEG
=yes
1664 DEFAULT_wxUSE_LIBTIFF
=yes
1665 DEFAULT_wxUSE_ODBC
=no
1666 DEFAULT_wxUSE_OPENGL
=no
1668 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1669 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1670 DEFAULT_wxUSE_STD_IOSTREAM
=no
1671 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1672 DEFAULT_wxUSE_DATETIME
=yes
1673 DEFAULT_wxUSE_TIMEDATE
=no
1674 DEFAULT_wxUSE_TIMER
=yes
1675 DEFAULT_wxUSE_STOPWATCH
=yes
1676 DEFAULT_wxUSE_FILE
=yes
1677 DEFAULT_wxUSE_FFILE
=yes
1678 DEFAULT_wxUSE_TEXTBUFFER
=yes
1679 DEFAULT_wxUSE_TEXTFILE
=yes
1680 DEFAULT_wxUSE_WAVE
=no
1681 DEFAULT_wxUSE_INTL
=yes
1682 DEFAULT_wxUSE_CONFIG
=yes
1683 DEFAULT_wxUSE_FONTMAP
=yes
1684 DEFAULT_wxUSE_STREAMS
=yes
1685 DEFAULT_wxUSE_SOCKETS
=yes
1686 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1687 DEFAULT_wxUSE_JOYSTICK
=yes
1688 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1689 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1690 DEFAULT_wxUSE_LONGLONG
=yes
1691 DEFAULT_wxUSE_GEOMETRY
=yes
1693 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1694 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1695 DEFAULT_wxUSE_POSTSCRIPT
=yes
1697 DEFAULT_wxUSE_X_RESOURCES
=no
1698 DEFAULT_wxUSE_CLIPBOARD
=yes
1699 DEFAULT_wxUSE_TOOLTIPS
=yes
1700 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1701 DEFAULT_wxUSE_DRAGIMAGE
=yes
1702 DEFAULT_wxUSE_SPLINES
=yes
1704 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1705 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1706 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1708 DEFAULT_wxUSE_PROLOGIO
=yes
1709 DEFAULT_wxUSE_RESOURCES
=yes
1710 DEFAULT_wxUSE_CONSTRAINTS
=yes
1711 DEFAULT_wxUSE_IPC
=yes
1712 DEFAULT_wxUSE_HELP
=yes
1713 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1714 DEFAULT_wxUSE_WXHTML_HELP
=yes
1715 DEFAULT_wxUSE_TREELAYOUT
=yes
1716 DEFAULT_wxUSE_METAFILE
=yes
1717 DEFAULT_wxUSE_MIMETYPE
=yes
1718 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1719 DEFAULT_wxUSE_PROTOCOL
=yes
1720 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1721 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1722 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1723 DEFAULT_wxUSE_URL
=yes
1725 DEFAULT_wxUSE_COMMONDLGS
=yes
1726 DEFAULT_wxUSE_CHOICEDLG
=yes
1727 DEFAULT_wxUSE_COLOURDLG
=yes
1728 DEFAULT_wxUSE_DIRDLG
=yes
1729 DEFAULT_wxUSE_FILEDLG
=yes
1730 DEFAULT_wxUSE_FINDREPLDLG
=yes
1731 DEFAULT_wxUSE_FONTDLG
=yes
1732 DEFAULT_wxUSE_MSGDLG
=yes
1733 DEFAULT_wxUSE_NUMBERDLG
=yes
1734 DEFAULT_wxUSE_TEXTDLG
=yes
1735 DEFAULT_wxUSE_SPLASH
=yes
1736 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1737 DEFAULT_wxUSE_PROGRESSDLG
=yes
1738 DEFAULT_wxUSE_WIZARDDLG
=yes
1740 DEFAULT_wxUSE_MENUS
=yes
1741 DEFAULT_wxUSE_MINIFRAME
=yes
1742 DEFAULT_wxUSE_HTML
=yes
1743 DEFAULT_wxUSE_FILESYSTEM
=yes
1744 DEFAULT_wxUSE_FS_INET
=yes
1745 DEFAULT_wxUSE_FS_ZIP
=yes
1746 DEFAULT_wxUSE_BUSYINFO
=yes
1747 DEFAULT_wxUSE_ZIPSTREAM
=yes
1748 DEFAULT_wxUSE_VALIDATORS
=yes
1750 DEFAULT_wxUSE_ACCEL
=yes
1751 DEFAULT_wxUSE_BUTTON
=yes
1752 DEFAULT_wxUSE_BMPBUTTON
=yes
1753 DEFAULT_wxUSE_CALCTRL
=yes
1754 DEFAULT_wxUSE_CARET
=yes
1755 DEFAULT_wxUSE_CHECKBOX
=yes
1756 DEFAULT_wxUSE_CHECKLST
=yes
1757 DEFAULT_wxUSE_CHOICE
=yes
1758 DEFAULT_wxUSE_COMBOBOX
=yes
1759 DEFAULT_wxUSE_GAUGE
=yes
1760 DEFAULT_wxUSE_GRID
=yes
1761 DEFAULT_wxUSE_NEW_GRID
=yes
1762 DEFAULT_wxUSE_IMAGLIST
=yes
1763 DEFAULT_wxUSE_LISTBOX
=yes
1764 DEFAULT_wxUSE_LISTCTRL
=yes
1765 DEFAULT_wxUSE_NOTEBOOK
=yes
1766 DEFAULT_wxUSE_PROPSHEET
=yes
1767 DEFAULT_wxUSE_RADIOBOX
=yes
1768 DEFAULT_wxUSE_RADIOBTN
=yes
1769 DEFAULT_wxUSE_SASH
=yes
1770 DEFAULT_wxUSE_SCROLLBAR
=yes
1771 DEFAULT_wxUSE_SLIDER
=yes
1772 DEFAULT_wxUSE_SPINBTN
=yes
1773 DEFAULT_wxUSE_SPINCTRL
=yes
1774 DEFAULT_wxUSE_SPLITTER
=yes
1775 DEFAULT_wxUSE_STATBMP
=yes
1776 DEFAULT_wxUSE_STATBOX
=yes
1777 DEFAULT_wxUSE_STATLINE
=yes
1778 DEFAULT_wxUSE_STATTEXT
=yes
1779 DEFAULT_wxUSE_STATUSBAR
=yes
1780 DEFAULT_wxUSE_TABDIALOG
=no
1781 DEFAULT_wxUSE_TEXTCTRL
=yes
1782 DEFAULT_wxUSE_TOGGLEBTN
=yes
1783 DEFAULT_wxUSE_TOOLBAR
=yes
1784 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1785 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1786 DEFAULT_wxUSE_TREECTRL
=yes
1787 DEFAULT_wxUSE_POPUPWIN
=yes
1788 DEFAULT_wxUSE_TIPWINDOW
=yes
1790 DEFAULT_wxUSE_UNICODE
=no
1791 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1792 DEFAULT_wxUSE_WCSRTOMBS
=no
1794 DEFAULT_wxUSE_PALETTE
=yes
1795 DEFAULT_wxUSE_IMAGE
=yes
1796 DEFAULT_wxUSE_GIF
=yes
1797 DEFAULT_wxUSE_PCX
=yes
1798 DEFAULT_wxUSE_IFF
=no
1799 DEFAULT_wxUSE_PNM
=yes
1800 DEFAULT_wxUSE_XPM
=yes
1801 DEFAULT_wxUSE_ICO_CUR
=yes
1806 for toolkit
in `echo $ALL_TOOLKITS`; do
1807 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1808 if test "x$LINE" != x
; then
1809 has_toolkit_in_cache
=1
1810 eval "DEFAULT_$LINE"
1811 eval "CACHE_$toolkit=1"
1817 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1818 echo "configure:1819: checking for --enable-gui" >&5
1820 # Check whether --enable-gui or --disable-gui was given.
1821 if test "${enable_gui+set}" = set; then
1822 enableval
="$enable_gui"
1824 if test "$enableval" = yes; then
1825 ac_cv_use_gui
='wxUSE_GUI=yes'
1827 ac_cv_use_gui
='wxUSE_GUI=no'
1832 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1833 if test "x$LINE" != x
; then
1834 eval "DEFAULT_$LINE"
1839 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1844 eval "$ac_cv_use_gui"
1845 if test "$no_cache" != 1; then
1846 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1849 if test "$wxUSE_GUI" = yes; then
1850 echo "$ac_t""yes" 1>&6
1852 echo "$ac_t""no" 1>&6
1856 if test "$wxUSE_GUI" = "yes"; then
1859 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1860 echo "configure:1861: checking for --enable-universal" >&5
1862 # Check whether --enable-universal or --disable-universal was given.
1863 if test "${enable_universal+set}" = set; then
1864 enableval
="$enable_universal"
1866 if test "$enableval" = yes; then
1867 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1869 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1874 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1875 if test "x$LINE" != x
; then
1876 eval "DEFAULT_$LINE"
1881 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1886 eval "$ac_cv_use_universal"
1887 if test "$no_cache" != 1; then
1888 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1891 if test "$wxUSE_UNIVERSAL" = yes; then
1892 echo "$ac_t""yes" 1>&6
1894 echo "$ac_t""no" 1>&6
1897 # Check whether --with-gtk or --without-gtk was given.
1898 if test "${with_gtk+set}" = set; then
1900 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1903 # Check whether --with-motif or --without-motif was given.
1904 if test "${with_motif+set}" = set; then
1905 withval
="$with_motif"
1906 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1909 # Check whether --with-mac or --without-mac was given.
1910 if test "${with_mac+set}" = set; then
1912 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1915 # Check whether --with-wine or --without-wine was given.
1916 if test "${with_wine+set}" = set; then
1917 withval
="$with_wine"
1918 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1921 # Check whether --with-msw or --without-msw was given.
1922 if test "${with_msw+set}" = set; then
1924 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1927 # Check whether --with-pm or --without-pm was given.
1928 if test "${with_pm+set}" = set; then
1930 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1933 # Check whether --with-mgl or --without-mgl was given.
1934 if test "${with_mgl+set}" = set; then
1936 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1939 # Check whether --with-microwin or --without-microwin was given.
1940 if test "${with_microwin+set}" = set; then
1941 withval
="$with_microwin"
1942 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1945 # Check whether --with-x11 or --without-x11 was given.
1946 if test "${with_x11+set}" = set; then
1948 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1952 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1953 echo "configure:1954: checking for --enable-nanox" >&5
1955 # Check whether --enable-nanox or --disable-nanox was given.
1956 if test "${enable_nanox+set}" = set; then
1957 enableval
="$enable_nanox"
1959 if test "$enableval" = yes; then
1960 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1962 ac_cv_use_nanox
='wxUSE_NANOX=no'
1967 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1968 if test "x$LINE" != x
; then
1969 eval "DEFAULT_$LINE"
1974 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1979 eval "$ac_cv_use_nanox"
1980 if test "$no_cache" != 1; then
1981 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1984 if test "$wxUSE_NANOX" = yes; then
1985 echo "$ac_t""yes" 1>&6
1987 echo "$ac_t""no" 1>&6
1991 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1992 if test "${enable_gtk2+set}" = set; then
1993 enableval
="$enable_gtk2"
2001 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
2002 echo "configure:2003: checking for --with-libpng" >&5
2004 # Check whether --with-libpng or --without-libpng was given.
2005 if test "${with_libpng+set}" = set; then
2006 withval
="$with_libpng"
2008 if test "$withval" = yes; then
2009 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2010 elif test "$withval" = no
; then
2011 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2012 elif test "$withval" = sys
; then
2013 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2014 elif test "$withval" = builtin; then
2015 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2017 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2022 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2023 if test "x$LINE" != x
; then
2024 eval "DEFAULT_$LINE"
2029 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2034 eval "$ac_cv_use_libpng"
2035 if test "$no_cache" != 1; then
2036 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2039 if test "$wxUSE_LIBPNG" = yes; then
2040 echo "$ac_t""yes" 1>&6
2041 elif test "$wxUSE_LIBPNG" = no
; then
2042 echo "$ac_t""no" 1>&6
2043 elif test "$wxUSE_LIBPNG" = sys
; then
2044 echo "$ac_t""system version" 1>&6
2045 elif test "$wxUSE_LIBPNG" = builtin; then
2046 echo "$ac_t""builtin version" 1>&6
2048 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2052 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2053 echo "configure:2054: checking for --with-libjpeg" >&5
2055 # Check whether --with-libjpeg or --without-libjpeg was given.
2056 if test "${with_libjpeg+set}" = set; then
2057 withval
="$with_libjpeg"
2059 if test "$withval" = yes; then
2060 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2061 elif test "$withval" = no
; then
2062 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2063 elif test "$withval" = sys
; then
2064 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2065 elif test "$withval" = builtin; then
2066 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2068 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2073 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2074 if test "x$LINE" != x
; then
2075 eval "DEFAULT_$LINE"
2080 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2085 eval "$ac_cv_use_libjpeg"
2086 if test "$no_cache" != 1; then
2087 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2090 if test "$wxUSE_LIBJPEG" = yes; then
2091 echo "$ac_t""yes" 1>&6
2092 elif test "$wxUSE_LIBJPEG" = no
; then
2093 echo "$ac_t""no" 1>&6
2094 elif test "$wxUSE_LIBJPEG" = sys
; then
2095 echo "$ac_t""system version" 1>&6
2096 elif test "$wxUSE_LIBJPEG" = builtin; then
2097 echo "$ac_t""builtin version" 1>&6
2099 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2103 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2104 echo "configure:2105: checking for --with-libtiff" >&5
2106 # Check whether --with-libtiff or --without-libtiff was given.
2107 if test "${with_libtiff+set}" = set; then
2108 withval
="$with_libtiff"
2110 if test "$withval" = yes; then
2111 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2112 elif test "$withval" = no
; then
2113 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2114 elif test "$withval" = sys
; then
2115 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2116 elif test "$withval" = builtin; then
2117 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2119 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2124 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2125 if test "x$LINE" != x
; then
2126 eval "DEFAULT_$LINE"
2131 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2136 eval "$ac_cv_use_libtiff"
2137 if test "$no_cache" != 1; then
2138 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2141 if test "$wxUSE_LIBTIFF" = yes; then
2142 echo "$ac_t""yes" 1>&6
2143 elif test "$wxUSE_LIBTIFF" = no
; then
2144 echo "$ac_t""no" 1>&6
2145 elif test "$wxUSE_LIBTIFF" = sys
; then
2146 echo "$ac_t""system version" 1>&6
2147 elif test "$wxUSE_LIBTIFF" = builtin; then
2148 echo "$ac_t""builtin version" 1>&6
2150 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2154 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2155 echo "configure:2156: checking for --with-opengl" >&5
2157 # Check whether --with-opengl or --without-opengl was given.
2158 if test "${with_opengl+set}" = set; then
2159 withval
="$with_opengl"
2161 if test "$withval" = yes; then
2162 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2164 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2169 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2170 if test "x$LINE" != x
; then
2171 eval "DEFAULT_$LINE"
2176 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2181 eval "$ac_cv_use_opengl"
2182 if test "$no_cache" != 1; then
2183 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2186 if test "$wxUSE_OPENGL" = yes; then
2187 echo "$ac_t""yes" 1>&6
2189 echo "$ac_t""no" 1>&6
2196 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2197 echo "configure:2198: checking for --with-dmalloc" >&5
2199 # Check whether --with-dmalloc or --without-dmalloc was given.
2200 if test "${with_dmalloc+set}" = set; then
2201 withval
="$with_dmalloc"
2203 if test "$withval" = yes; then
2204 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2206 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2211 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2212 if test "x$LINE" != x
; then
2213 eval "DEFAULT_$LINE"
2218 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2223 eval "$ac_cv_use_dmalloc"
2224 if test "$no_cache" != 1; then
2225 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2228 if test "$wxUSE_DMALLOC" = yes; then
2229 echo "$ac_t""yes" 1>&6
2231 echo "$ac_t""no" 1>&6
2235 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2236 echo "configure:2237: checking for --with-regex" >&5
2238 # Check whether --with-regex or --without-regex was given.
2239 if test "${with_regex+set}" = set; then
2240 withval
="$with_regex"
2242 if test "$withval" = yes; then
2243 ac_cv_use_regex
='wxUSE_REGEX=yes'
2244 elif test "$withval" = no
; then
2245 ac_cv_use_regex
='wxUSE_REGEX=no'
2246 elif test "$withval" = sys
; then
2247 ac_cv_use_regex
='wxUSE_REGEX=sys'
2248 elif test "$withval" = builtin; then
2249 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2251 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2256 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2257 if test "x$LINE" != x
; then
2258 eval "DEFAULT_$LINE"
2263 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2268 eval "$ac_cv_use_regex"
2269 if test "$no_cache" != 1; then
2270 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2273 if test "$wxUSE_REGEX" = yes; then
2274 echo "$ac_t""yes" 1>&6
2275 elif test "$wxUSE_REGEX" = no
; then
2276 echo "$ac_t""no" 1>&6
2277 elif test "$wxUSE_REGEX" = sys
; then
2278 echo "$ac_t""system version" 1>&6
2279 elif test "$wxUSE_REGEX" = builtin; then
2280 echo "$ac_t""builtin version" 1>&6
2282 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2286 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2287 echo "configure:2288: checking for --with-zlib" >&5
2289 # Check whether --with-zlib or --without-zlib was given.
2290 if test "${with_zlib+set}" = set; then
2291 withval
="$with_zlib"
2293 if test "$withval" = yes; then
2294 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2295 elif test "$withval" = no
; then
2296 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2297 elif test "$withval" = sys
; then
2298 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2299 elif test "$withval" = builtin; then
2300 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2302 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2307 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2308 if test "x$LINE" != x
; then
2309 eval "DEFAULT_$LINE"
2314 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2319 eval "$ac_cv_use_zlib"
2320 if test "$no_cache" != 1; then
2321 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2324 if test "$wxUSE_ZLIB" = yes; then
2325 echo "$ac_t""yes" 1>&6
2326 elif test "$wxUSE_ZLIB" = no
; then
2327 echo "$ac_t""no" 1>&6
2328 elif test "$wxUSE_ZLIB" = sys
; then
2329 echo "$ac_t""system version" 1>&6
2330 elif test "$wxUSE_ZLIB" = builtin; then
2331 echo "$ac_t""builtin version" 1>&6
2333 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2337 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2338 echo "configure:2339: checking for --with-odbc" >&5
2340 # Check whether --with-odbc or --without-odbc was given.
2341 if test "${with_odbc+set}" = set; then
2342 withval
="$with_odbc"
2344 if test "$withval" = yes; then
2345 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2347 ac_cv_use_odbc
='wxUSE_ODBC=no'
2352 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2353 if test "x$LINE" != x
; then
2354 eval "DEFAULT_$LINE"
2359 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2364 eval "$ac_cv_use_odbc"
2365 if test "$no_cache" != 1; then
2366 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2369 if test "$wxUSE_ODBC" = yes; then
2370 echo "$ac_t""yes" 1>&6
2372 echo "$ac_t""no" 1>&6
2378 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2379 echo "configure:2380: checking for --enable-shared" >&5
2381 # Check whether --enable-shared or --disable-shared was given.
2382 if test "${enable_shared+set}" = set; then
2383 enableval
="$enable_shared"
2385 if test "$enableval" = yes; then
2386 ac_cv_use_shared
='wxUSE_SHARED=yes'
2388 ac_cv_use_shared
='wxUSE_SHARED=no'
2393 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2394 if test "x$LINE" != x
; then
2395 eval "DEFAULT_$LINE"
2400 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2405 eval "$ac_cv_use_shared"
2406 if test "$no_cache" != 1; then
2407 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2410 if test "$wxUSE_SHARED" = yes; then
2411 echo "$ac_t""yes" 1>&6
2413 echo "$ac_t""no" 1>&6
2417 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2418 echo "configure:2419: checking for --enable-soname" >&5
2420 # Check whether --enable-soname or --disable-soname was given.
2421 if test "${enable_soname+set}" = set; then
2422 enableval
="$enable_soname"
2424 if test "$enableval" = yes; then
2425 ac_cv_use_soname
='wxUSE_SONAME=yes'
2427 ac_cv_use_soname
='wxUSE_SONAME=no'
2432 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x
; then
2434 eval "DEFAULT_$LINE"
2439 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2444 eval "$ac_cv_use_soname"
2445 if test "$no_cache" != 1; then
2446 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2449 if test "$wxUSE_SONAME" = yes; then
2450 echo "$ac_t""yes" 1>&6
2452 echo "$ac_t""no" 1>&6
2456 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2457 echo "configure:2458: checking for --enable-optimise" >&5
2459 # Check whether --enable-optimise or --disable-optimise was given.
2460 if test "${enable_optimise+set}" = set; then
2461 enableval
="$enable_optimise"
2463 if test "$enableval" = yes; then
2464 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2466 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2471 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2472 if test "x$LINE" != x
; then
2473 eval "DEFAULT_$LINE"
2478 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2483 eval "$ac_cv_use_optimise"
2484 if test "$no_cache" != 1; then
2485 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2488 if test "$wxUSE_OPTIMISE" = yes; then
2489 echo "$ac_t""yes" 1>&6
2491 echo "$ac_t""no" 1>&6
2495 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2496 echo "configure:2497: checking for --enable-debug" >&5
2498 # Check whether --enable-debug or --disable-debug was given.
2499 if test "${enable_debug+set}" = set; then
2500 enableval
="$enable_debug"
2502 if test "$enableval" = yes; then
2503 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2505 ac_cv_use_debug
='wxUSE_DEBUG=no'
2510 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2511 if test "x$LINE" != x
; then
2512 eval "DEFAULT_$LINE"
2517 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2522 eval "$ac_cv_use_debug"
2523 if test "$no_cache" != 1; then
2524 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2527 if test "$wxUSE_DEBUG" = yes; then
2528 echo "$ac_t""yes" 1>&6
2530 echo "$ac_t""no" 1>&6
2535 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2536 echo "configure:2537: checking for --enable-precomp" >&5
2538 # Check whether --enable-precomp or --disable-precomp was given.
2539 if test "${enable_precomp+set}" = set; then
2540 enableval
="$enable_precomp"
2542 if test "$enableval" = yes; then
2543 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2545 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2550 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2551 if test "x$LINE" != x
; then
2552 eval "DEFAULT_$LINE"
2557 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2562 eval "$ac_cv_use_precomp"
2563 if test "$no_cache" != 1; then
2564 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2567 if test "$wxUSE_PRECOMP" = yes; then
2568 echo "$ac_t""yes" 1>&6
2570 echo "$ac_t""no" 1>&6
2574 if test "$wxUSE_DEBUG" = "yes"; then
2575 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2576 DEFAULT_wxUSE_DEBUG_INFO
=yes
2577 elif test "$wxUSE_DEBUG" = "no"; then
2578 DEFAULT_wxUSE_DEBUG_FLAG
=no
2579 DEFAULT_wxUSE_DEBUG_INFO
=no
2583 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2584 echo "configure:2585: checking for --enable-debug_flag" >&5
2586 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2587 if test "${enable_debug_flag+set}" = set; then
2588 enableval
="$enable_debug_flag"
2590 if test "$enableval" = yes; then
2591 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2593 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2598 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2599 if test "x$LINE" != x
; then
2600 eval "DEFAULT_$LINE"
2605 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2610 eval "$ac_cv_use_debug_flag"
2611 if test "$no_cache" != 1; then
2612 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2615 if test "$wxUSE_DEBUG_FLAG" = yes; then
2616 echo "$ac_t""yes" 1>&6
2618 echo "$ac_t""no" 1>&6
2622 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2623 echo "configure:2624: checking for --enable-debug_info" >&5
2625 # Check whether --enable-debug_info or --disable-debug_info was given.
2626 if test "${enable_debug_info+set}" = set; then
2627 enableval
="$enable_debug_info"
2629 if test "$enableval" = yes; then
2630 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2632 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2637 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2638 if test "x$LINE" != x
; then
2639 eval "DEFAULT_$LINE"
2644 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2649 eval "$ac_cv_use_debug_info"
2650 if test "$no_cache" != 1; then
2651 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2654 if test "$wxUSE_DEBUG_INFO" = yes; then
2655 echo "$ac_t""yes" 1>&6
2657 echo "$ac_t""no" 1>&6
2661 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2662 echo "configure:2663: checking for --enable-debug_gdb" >&5
2664 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2665 if test "${enable_debug_gdb+set}" = set; then
2666 enableval
="$enable_debug_gdb"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2671 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2676 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x
; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2688 eval "$ac_cv_use_debug_gdb"
2689 if test "$no_cache" != 1; then
2690 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2693 if test "$wxUSE_DEBUG_GDB" = yes; then
2694 echo "$ac_t""yes" 1>&6
2696 echo "$ac_t""no" 1>&6
2700 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2701 echo "configure:2702: checking for --enable-debug_cntxt" >&5
2703 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2704 if test "${enable_debug_cntxt+set}" = set; then
2705 enableval
="$enable_debug_cntxt"
2707 if test "$enableval" = yes; then
2708 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2710 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2715 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2716 if test "x$LINE" != x
; then
2717 eval "DEFAULT_$LINE"
2722 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2727 eval "$ac_cv_use_debug_cntxt"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2732 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2733 echo "$ac_t""yes" 1>&6
2735 echo "$ac_t""no" 1>&6
2739 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2740 echo "configure:2741: checking for --enable-mem_tracing" >&5
2742 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2743 if test "${enable_mem_tracing+set}" = set; then
2744 enableval
="$enable_mem_tracing"
2746 if test "$enableval" = yes; then
2747 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2749 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2754 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x
; then
2756 eval "DEFAULT_$LINE"
2761 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2766 eval "$ac_cv_use_mem_tracing"
2767 if test "$no_cache" != 1; then
2768 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2771 if test "$wxUSE_MEM_TRACING" = yes; then
2772 echo "$ac_t""yes" 1>&6
2774 echo "$ac_t""no" 1>&6
2778 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2779 echo "configure:2780: checking for --enable-profile" >&5
2781 # Check whether --enable-profile or --disable-profile was given.
2782 if test "${enable_profile+set}" = set; then
2783 enableval
="$enable_profile"
2785 if test "$enableval" = yes; then
2786 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2788 ac_cv_use_profile
='wxUSE_PROFILE=no'
2793 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2794 if test "x$LINE" != x
; then
2795 eval "DEFAULT_$LINE"
2800 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2805 eval "$ac_cv_use_profile"
2806 if test "$no_cache" != 1; then
2807 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2810 if test "$wxUSE_PROFILE" = yes; then
2811 echo "$ac_t""yes" 1>&6
2813 echo "$ac_t""no" 1>&6
2817 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2818 echo "configure:2819: checking for --enable-no_rtti" >&5
2820 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2821 if test "${enable_no_rtti+set}" = set; then
2822 enableval
="$enable_no_rtti"
2824 if test "$enableval" = yes; then
2825 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2827 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2832 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x
; then
2834 eval "DEFAULT_$LINE"
2839 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2844 eval "$ac_cv_use_no_rtti"
2845 if test "$no_cache" != 1; then
2846 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2849 if test "$wxUSE_NO_RTTI" = yes; then
2850 echo "$ac_t""yes" 1>&6
2852 echo "$ac_t""no" 1>&6
2856 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2857 echo "configure:2858: checking for --enable-no_exceptions" >&5
2859 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2860 if test "${enable_no_exceptions+set}" = set; then
2861 enableval
="$enable_no_exceptions"
2863 if test "$enableval" = yes; then
2864 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2866 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2871 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2872 if test "x$LINE" != x
; then
2873 eval "DEFAULT_$LINE"
2878 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2883 eval "$ac_cv_use_no_exceptions"
2884 if test "$no_cache" != 1; then
2885 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2888 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2889 echo "$ac_t""yes" 1>&6
2891 echo "$ac_t""no" 1>&6
2895 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2896 echo "configure:2897: checking for --enable-permissive" >&5
2898 # Check whether --enable-permissive or --disable-permissive was given.
2899 if test "${enable_permissive+set}" = set; then
2900 enableval
="$enable_permissive"
2902 if test "$enableval" = yes; then
2903 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2905 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2910 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x
; then
2912 eval "DEFAULT_$LINE"
2917 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2922 eval "$ac_cv_use_permissive"
2923 if test "$no_cache" != 1; then
2924 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2927 if test "$wxUSE_PERMISSIVE" = yes; then
2928 echo "$ac_t""yes" 1>&6
2930 echo "$ac_t""no" 1>&6
2934 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2935 echo "configure:2936: checking for --enable-no_deps" >&5
2937 # Check whether --enable-no_deps or --disable-no_deps was given.
2938 if test "${enable_no_deps+set}" = set; then
2939 enableval
="$enable_no_deps"
2941 if test "$enableval" = yes; then
2942 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2944 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2949 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2950 if test "x$LINE" != x
; then
2951 eval "DEFAULT_$LINE"
2956 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2961 eval "$ac_cv_use_no_deps"
2962 if test "$no_cache" != 1; then
2963 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2966 if test "$wxUSE_NO_DEPS" = yes; then
2967 echo "$ac_t""yes" 1>&6
2969 echo "$ac_t""no" 1>&6
2974 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2975 echo "configure:2976: checking for --enable-compat20" >&5
2977 # Check whether --enable-compat20 or --disable-compat20 was given.
2978 if test "${enable_compat20+set}" = set; then
2979 enableval
="$enable_compat20"
2981 if test "$enableval" = yes; then
2982 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2984 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2989 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2990 if test "x$LINE" != x
; then
2991 eval "DEFAULT_$LINE"
2996 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3001 eval "$ac_cv_use_compat20"
3002 if test "$no_cache" != 1; then
3003 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3006 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3007 echo "$ac_t""yes" 1>&6
3009 echo "$ac_t""no" 1>&6
3013 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
3014 echo "configure:3015: checking for --enable-compat22" >&5
3016 # Check whether --enable-compat22 or --disable-compat22 was given.
3017 if test "${enable_compat22+set}" = set; then
3018 enableval
="$enable_compat22"
3020 if test "$enableval" = yes; then
3021 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3023 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3028 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3029 if test "x$LINE" != x
; then
3030 eval "DEFAULT_$LINE"
3035 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3040 eval "$ac_cv_use_compat22"
3041 if test "$no_cache" != 1; then
3042 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3045 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3046 echo "$ac_t""yes" 1>&6
3048 echo "$ac_t""no" 1>&6
3054 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3055 echo "configure:3056: checking for --enable-intl" >&5
3057 # Check whether --enable-intl or --disable-intl was given.
3058 if test "${enable_intl+set}" = set; then
3059 enableval
="$enable_intl"
3061 if test "$enableval" = yes; then
3062 ac_cv_use_intl
='wxUSE_INTL=yes'
3064 ac_cv_use_intl
='wxUSE_INTL=no'
3069 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3070 if test "x$LINE" != x
; then
3071 eval "DEFAULT_$LINE"
3076 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3081 eval "$ac_cv_use_intl"
3082 if test "$no_cache" != 1; then
3083 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3086 if test "$wxUSE_INTL" = yes; then
3087 echo "$ac_t""yes" 1>&6
3089 echo "$ac_t""no" 1>&6
3093 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3094 echo "configure:3095: checking for --enable-config" >&5
3096 # Check whether --enable-config or --disable-config was given.
3097 if test "${enable_config+set}" = set; then
3098 enableval
="$enable_config"
3100 if test "$enableval" = yes; then
3101 ac_cv_use_config
='wxUSE_CONFIG=yes'
3103 ac_cv_use_config
='wxUSE_CONFIG=no'
3108 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3109 if test "x$LINE" != x
; then
3110 eval "DEFAULT_$LINE"
3115 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3120 eval "$ac_cv_use_config"
3121 if test "$no_cache" != 1; then
3122 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3125 if test "$wxUSE_CONFIG" = yes; then
3126 echo "$ac_t""yes" 1>&6
3128 echo "$ac_t""no" 1>&6
3133 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3134 echo "configure:3135: checking for --enable-protocols" >&5
3136 # Check whether --enable-protocols or --disable-protocols was given.
3137 if test "${enable_protocols+set}" = set; then
3138 enableval
="$enable_protocols"
3140 if test "$enableval" = yes; then
3141 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3143 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3148 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3149 if test "x$LINE" != x
; then
3150 eval "DEFAULT_$LINE"
3155 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3160 eval "$ac_cv_use_protocols"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_PROTOCOL" = yes; then
3166 echo "$ac_t""yes" 1>&6
3168 echo "$ac_t""no" 1>&6
3172 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3173 echo "configure:3174: checking for --enable-ftp" >&5
3175 # Check whether --enable-ftp or --disable-ftp was given.
3176 if test "${enable_ftp+set}" = set; then
3177 enableval
="$enable_ftp"
3179 if test "$enableval" = yes; then
3180 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3182 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3187 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x
; then
3189 eval "DEFAULT_$LINE"
3194 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3199 eval "$ac_cv_use_ftp"
3200 if test "$no_cache" != 1; then
3201 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3204 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3205 echo "$ac_t""yes" 1>&6
3207 echo "$ac_t""no" 1>&6
3211 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3212 echo "configure:3213: checking for --enable-http" >&5
3214 # Check whether --enable-http or --disable-http was given.
3215 if test "${enable_http+set}" = set; then
3216 enableval
="$enable_http"
3218 if test "$enableval" = yes; then
3219 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3221 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3226 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3227 if test "x$LINE" != x
; then
3228 eval "DEFAULT_$LINE"
3233 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3238 eval "$ac_cv_use_http"
3239 if test "$no_cache" != 1; then
3240 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3243 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3244 echo "$ac_t""yes" 1>&6
3246 echo "$ac_t""no" 1>&6
3250 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3251 echo "configure:3252: checking for --enable-fileproto" >&5
3253 # Check whether --enable-fileproto or --disable-fileproto was given.
3254 if test "${enable_fileproto+set}" = set; then
3255 enableval
="$enable_fileproto"
3257 if test "$enableval" = yes; then
3258 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3260 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3265 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x
; then
3267 eval "DEFAULT_$LINE"
3272 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3277 eval "$ac_cv_use_fileproto"
3278 if test "$no_cache" != 1; then
3279 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3282 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3283 echo "$ac_t""yes" 1>&6
3285 echo "$ac_t""no" 1>&6
3289 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3290 echo "configure:3291: checking for --enable-sockets" >&5
3292 # Check whether --enable-sockets or --disable-sockets was given.
3293 if test "${enable_sockets+set}" = set; then
3294 enableval
="$enable_sockets"
3296 if test "$enableval" = yes; then
3297 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3299 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3304 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x
; then
3306 eval "DEFAULT_$LINE"
3311 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3316 eval "$ac_cv_use_sockets"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3321 if test "$wxUSE_SOCKETS" = yes; then
3322 echo "$ac_t""yes" 1>&6
3324 echo "$ac_t""no" 1>&6
3329 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3330 echo "configure:3331: checking for --enable-ipc" >&5
3332 # Check whether --enable-ipc or --disable-ipc was given.
3333 if test "${enable_ipc+set}" = set; then
3334 enableval
="$enable_ipc"
3336 if test "$enableval" = yes; then
3337 ac_cv_use_ipc
='wxUSE_IPC=yes'
3339 ac_cv_use_ipc
='wxUSE_IPC=no'
3344 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x
; then
3346 eval "DEFAULT_$LINE"
3351 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3356 eval "$ac_cv_use_ipc"
3357 if test "$no_cache" != 1; then
3358 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3361 if test "$wxUSE_IPC" = yes; then
3362 echo "$ac_t""yes" 1>&6
3364 echo "$ac_t""no" 1>&6
3369 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3370 echo "configure:3371: checking for --enable-cmdline" >&5
3372 # Check whether --enable-cmdline or --disable-cmdline was given.
3373 if test "${enable_cmdline+set}" = set; then
3374 enableval
="$enable_cmdline"
3376 if test "$enableval" = yes; then
3377 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3379 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3384 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3385 if test "x$LINE" != x
; then
3386 eval "DEFAULT_$LINE"
3391 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3396 eval "$ac_cv_use_cmdline"
3397 if test "$no_cache" != 1; then
3398 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3401 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3402 echo "$ac_t""yes" 1>&6
3404 echo "$ac_t""no" 1>&6
3408 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3409 echo "configure:3410: checking for --enable-datetime" >&5
3411 # Check whether --enable-datetime or --disable-datetime was given.
3412 if test "${enable_datetime+set}" = set; then
3413 enableval
="$enable_datetime"
3415 if test "$enableval" = yes; then
3416 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3418 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3423 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3424 if test "x$LINE" != x
; then
3425 eval "DEFAULT_$LINE"
3430 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3435 eval "$ac_cv_use_datetime"
3436 if test "$no_cache" != 1; then
3437 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3440 if test "$wxUSE_DATETIME" = yes; then
3441 echo "$ac_t""yes" 1>&6
3443 echo "$ac_t""no" 1>&6
3447 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3448 echo "configure:3449: checking for --enable-timedate" >&5
3450 # Check whether --enable-timedate or --disable-timedate was given.
3451 if test "${enable_timedate+set}" = set; then
3452 enableval
="$enable_timedate"
3454 if test "$enableval" = yes; then
3455 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3457 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3462 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x
; then
3464 eval "DEFAULT_$LINE"
3469 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3474 eval "$ac_cv_use_timedate"
3475 if test "$no_cache" != 1; then
3476 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3479 if test "$wxUSE_TIMEDATE" = yes; then
3480 echo "$ac_t""yes" 1>&6
3482 echo "$ac_t""no" 1>&6
3486 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3487 echo "configure:3488: checking for --enable-stopwatch" >&5
3489 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3490 if test "${enable_stopwatch+set}" = set; then
3491 enableval
="$enable_stopwatch"
3493 if test "$enableval" = yes; then
3494 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3496 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3501 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3502 if test "x$LINE" != x
; then
3503 eval "DEFAULT_$LINE"
3508 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3513 eval "$ac_cv_use_stopwatch"
3514 if test "$no_cache" != 1; then
3515 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3518 if test "$wxUSE_STOPWATCH" = yes; then
3519 echo "$ac_t""yes" 1>&6
3521 echo "$ac_t""no" 1>&6
3525 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3526 echo "configure:3527: checking for --enable-dialupman" >&5
3528 # Check whether --enable-dialupman or --disable-dialupman was given.
3529 if test "${enable_dialupman+set}" = set; then
3530 enableval
="$enable_dialupman"
3532 if test "$enableval" = yes; then
3533 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3535 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3540 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3541 if test "x$LINE" != x
; then
3542 eval "DEFAULT_$LINE"
3547 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3552 eval "$ac_cv_use_dialupman"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3557 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3558 echo "$ac_t""yes" 1>&6
3560 echo "$ac_t""no" 1>&6
3564 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3565 echo "configure:3566: checking for --enable-apple_ieee" >&5
3567 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3568 if test "${enable_apple_ieee+set}" = set; then
3569 enableval
="$enable_apple_ieee"
3571 if test "$enableval" = yes; then
3572 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3574 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3579 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3580 if test "x$LINE" != x
; then
3581 eval "DEFAULT_$LINE"
3586 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3591 eval "$ac_cv_use_apple_ieee"
3592 if test "$no_cache" != 1; then
3593 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3596 if test "$wxUSE_APPLE_IEEE" = yes; then
3597 echo "$ac_t""yes" 1>&6
3599 echo "$ac_t""no" 1>&6
3603 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3604 echo "configure:3605: checking for --enable-timer" >&5
3606 # Check whether --enable-timer or --disable-timer was given.
3607 if test "${enable_timer+set}" = set; then
3608 enableval
="$enable_timer"
3610 if test "$enableval" = yes; then
3611 ac_cv_use_timer
='wxUSE_TIMER=yes'
3613 ac_cv_use_timer
='wxUSE_TIMER=no'
3618 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3619 if test "x$LINE" != x
; then
3620 eval "DEFAULT_$LINE"
3625 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3630 eval "$ac_cv_use_timer"
3631 if test "$no_cache" != 1; then
3632 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3635 if test "$wxUSE_TIMER" = yes; then
3636 echo "$ac_t""yes" 1>&6
3638 echo "$ac_t""no" 1>&6
3642 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3643 echo "configure:3644: checking for --enable-wave" >&5
3645 # Check whether --enable-wave or --disable-wave was given.
3646 if test "${enable_wave+set}" = set; then
3647 enableval
="$enable_wave"
3649 if test "$enableval" = yes; then
3650 ac_cv_use_wave
='wxUSE_WAVE=yes'
3652 ac_cv_use_wave
='wxUSE_WAVE=no'
3657 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3658 if test "x$LINE" != x
; then
3659 eval "DEFAULT_$LINE"
3664 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3669 eval "$ac_cv_use_wave"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3674 if test "$wxUSE_WAVE" = yes; then
3675 echo "$ac_t""yes" 1>&6
3677 echo "$ac_t""no" 1>&6
3681 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3682 echo "configure:3683: checking for --enable-fraction" >&5
3684 # Check whether --enable-fraction or --disable-fraction was given.
3685 if test "${enable_fraction+set}" = set; then
3686 enableval
="$enable_fraction"
3688 if test "$enableval" = yes; then
3689 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3691 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3696 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x
; then
3698 eval "DEFAULT_$LINE"
3703 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3708 eval "$ac_cv_use_fraction"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3713 if test "$wxUSE_FRACTION" = yes; then
3714 echo "$ac_t""yes" 1>&6
3716 echo "$ac_t""no" 1>&6
3720 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3721 echo "configure:3722: checking for --enable-dynlib" >&5
3723 # Check whether --enable-dynlib or --disable-dynlib was given.
3724 if test "${enable_dynlib+set}" = set; then
3725 enableval
="$enable_dynlib"
3727 if test "$enableval" = yes; then
3728 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3730 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3735 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3736 if test "x$LINE" != x
; then
3737 eval "DEFAULT_$LINE"
3742 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3747 eval "$ac_cv_use_dynlib"
3748 if test "$no_cache" != 1; then
3749 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3752 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3753 echo "$ac_t""yes" 1>&6
3755 echo "$ac_t""no" 1>&6
3759 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3760 echo "configure:3761: checking for --enable-dynamicloader" >&5
3762 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3763 if test "${enable_dynamicloader+set}" = set; then
3764 enableval
="$enable_dynamicloader"
3766 if test "$enableval" = yes; then
3767 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3769 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3774 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3775 if test "x$LINE" != x
; then
3776 eval "DEFAULT_$LINE"
3781 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3786 eval "$ac_cv_use_dynamicloader"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3791 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3792 echo "$ac_t""yes" 1>&6
3794 echo "$ac_t""no" 1>&6
3798 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3799 echo "configure:3800: checking for --enable-longlong" >&5
3801 # Check whether --enable-longlong or --disable-longlong was given.
3802 if test "${enable_longlong+set}" = set; then
3803 enableval
="$enable_longlong"
3805 if test "$enableval" = yes; then
3806 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3808 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3813 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x
; then
3815 eval "DEFAULT_$LINE"
3820 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3825 eval "$ac_cv_use_longlong"
3826 if test "$no_cache" != 1; then
3827 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3830 if test "$wxUSE_LONGLONG" = yes; then
3831 echo "$ac_t""yes" 1>&6
3833 echo "$ac_t""no" 1>&6
3837 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3838 echo "configure:3839: checking for --enable-geometry" >&5
3840 # Check whether --enable-geometry or --disable-geometry was given.
3841 if test "${enable_geometry+set}" = set; then
3842 enableval
="$enable_geometry"
3844 if test "$enableval" = yes; then
3845 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3847 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3852 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x
; then
3854 eval "DEFAULT_$LINE"
3859 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3864 eval "$ac_cv_use_geometry"
3865 if test "$no_cache" != 1; then
3866 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3869 if test "$wxUSE_GEOMETRY" = yes; then
3870 echo "$ac_t""yes" 1>&6
3872 echo "$ac_t""no" 1>&6
3876 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3877 echo "configure:3878: checking for --enable-log" >&5
3879 # Check whether --enable-log or --disable-log was given.
3880 if test "${enable_log+set}" = set; then
3881 enableval
="$enable_log"
3883 if test "$enableval" = yes; then
3884 ac_cv_use_log
='wxUSE_LOG=yes'
3886 ac_cv_use_log
='wxUSE_LOG=no'
3891 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3892 if test "x$LINE" != x
; then
3893 eval "DEFAULT_$LINE"
3898 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3903 eval "$ac_cv_use_log"
3904 if test "$no_cache" != 1; then
3905 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3908 if test "$wxUSE_LOG" = yes; then
3909 echo "$ac_t""yes" 1>&6
3911 echo "$ac_t""no" 1>&6
3915 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3916 echo "configure:3917: checking for --enable-streams" >&5
3918 # Check whether --enable-streams or --disable-streams was given.
3919 if test "${enable_streams+set}" = set; then
3920 enableval
="$enable_streams"
3922 if test "$enableval" = yes; then
3923 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3925 ac_cv_use_streams
='wxUSE_STREAMS=no'
3930 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3931 if test "x$LINE" != x
; then
3932 eval "DEFAULT_$LINE"
3937 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3942 eval "$ac_cv_use_streams"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3947 if test "$wxUSE_STREAMS" = yes; then
3948 echo "$ac_t""yes" 1>&6
3950 echo "$ac_t""no" 1>&6
3954 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3955 echo "configure:3956: checking for --enable-file" >&5
3957 # Check whether --enable-file or --disable-file was given.
3958 if test "${enable_file+set}" = set; then
3959 enableval
="$enable_file"
3961 if test "$enableval" = yes; then
3962 ac_cv_use_file
='wxUSE_FILE=yes'
3964 ac_cv_use_file
='wxUSE_FILE=no'
3969 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3970 if test "x$LINE" != x
; then
3971 eval "DEFAULT_$LINE"
3976 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3981 eval "$ac_cv_use_file"
3982 if test "$no_cache" != 1; then
3983 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3986 if test "$wxUSE_FILE" = yes; then
3987 echo "$ac_t""yes" 1>&6
3989 echo "$ac_t""no" 1>&6
3993 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3994 echo "configure:3995: checking for --enable-ffile" >&5
3996 # Check whether --enable-ffile or --disable-ffile was given.
3997 if test "${enable_ffile+set}" = set; then
3998 enableval
="$enable_ffile"
4000 if test "$enableval" = yes; then
4001 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4003 ac_cv_use_ffile
='wxUSE_FFILE=no'
4008 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4009 if test "x$LINE" != x
; then
4010 eval "DEFAULT_$LINE"
4015 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4020 eval "$ac_cv_use_ffile"
4021 if test "$no_cache" != 1; then
4022 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4025 if test "$wxUSE_FFILE" = yes; then
4026 echo "$ac_t""yes" 1>&6
4028 echo "$ac_t""no" 1>&6
4032 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4033 echo "configure:4034: checking for --enable-textbuf" >&5
4035 # Check whether --enable-textbuf or --disable-textbuf was given.
4036 if test "${enable_textbuf+set}" = set; then
4037 enableval
="$enable_textbuf"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4042 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4047 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4059 eval "$ac_cv_use_textbuf"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4064 if test "$wxUSE_TEXTBUFFER" = yes; then
4065 echo "$ac_t""yes" 1>&6
4067 echo "$ac_t""no" 1>&6
4071 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4072 echo "configure:4073: checking for --enable-textfile" >&5
4074 # Check whether --enable-textfile or --disable-textfile was given.
4075 if test "${enable_textfile+set}" = set; then
4076 enableval
="$enable_textfile"
4078 if test "$enableval" = yes; then
4079 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4081 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4086 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x
; then
4088 eval "DEFAULT_$LINE"
4093 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4098 eval "$ac_cv_use_textfile"
4099 if test "$no_cache" != 1; then
4100 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4103 if test "$wxUSE_TEXTFILE" = yes; then
4104 echo "$ac_t""yes" 1>&6
4106 echo "$ac_t""no" 1>&6
4110 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4111 echo "configure:4112: checking for --enable-fontmap" >&5
4113 # Check whether --enable-fontmap or --disable-fontmap was given.
4114 if test "${enable_fontmap+set}" = set; then
4115 enableval
="$enable_fontmap"
4117 if test "$enableval" = yes; then
4118 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4120 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4125 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4126 if test "x$LINE" != x
; then
4127 eval "DEFAULT_$LINE"
4132 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4137 eval "$ac_cv_use_fontmap"
4138 if test "$no_cache" != 1; then
4139 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4142 if test "$wxUSE_FONTMAP" = yes; then
4143 echo "$ac_t""yes" 1>&6
4145 echo "$ac_t""no" 1>&6
4149 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4150 echo "configure:4151: checking for --enable-unicode" >&5
4152 # Check whether --enable-unicode or --disable-unicode was given.
4153 if test "${enable_unicode+set}" = set; then
4154 enableval
="$enable_unicode"
4156 if test "$enableval" = yes; then
4157 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4159 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4164 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4165 if test "x$LINE" != x
; then
4166 eval "DEFAULT_$LINE"
4171 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4176 eval "$ac_cv_use_unicode"
4177 if test "$no_cache" != 1; then
4178 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4181 if test "$wxUSE_UNICODE" = yes; then
4182 echo "$ac_t""yes" 1>&6
4184 echo "$ac_t""no" 1>&6
4188 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4189 echo "configure:4190: checking for --enable-mslu" >&5
4191 # Check whether --enable-mslu or --disable-mslu was given.
4192 if test "${enable_mslu+set}" = set; then
4193 enableval
="$enable_mslu"
4195 if test "$enableval" = yes; then
4196 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4198 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4203 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x
; then
4205 eval "DEFAULT_$LINE"
4210 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4215 eval "$ac_cv_use_mslu"
4216 if test "$no_cache" != 1; then
4217 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4220 if test "$wxUSE_UNICODE_MSLU" = yes; then
4221 echo "$ac_t""yes" 1>&6
4223 echo "$ac_t""no" 1>&6
4227 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4228 echo "configure:4229: checking for --enable-wxprintfv" >&5
4230 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4231 if test "${enable_wxprintfv+set}" = set; then
4232 enableval
="$enable_wxprintfv"
4234 if test "$enableval" = yes; then
4235 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4237 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4242 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4243 if test "x$LINE" != x
; then
4244 eval "DEFAULT_$LINE"
4249 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4254 eval "$ac_cv_use_wxprintfv"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4259 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4260 echo "$ac_t""yes" 1>&6
4262 echo "$ac_t""no" 1>&6
4266 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4267 echo "configure:4268: checking for --enable-std_iostreams" >&5
4269 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4270 if test "${enable_std_iostreams+set}" = set; then
4271 enableval
="$enable_std_iostreams"
4273 if test "$enableval" = yes; then
4274 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4276 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4281 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4282 if test "x$LINE" != x
; then
4283 eval "DEFAULT_$LINE"
4288 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4293 eval "$ac_cv_use_std_iostreams"
4294 if test "$no_cache" != 1; then
4295 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4298 if test "$wxUSE_STD_IOSTREAM" = yes; then
4299 echo "$ac_t""yes" 1>&6
4301 echo "$ac_t""no" 1>&6
4305 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4306 echo "configure:4307: checking for --enable-filesystem" >&5
4308 # Check whether --enable-filesystem or --disable-filesystem was given.
4309 if test "${enable_filesystem+set}" = set; then
4310 enableval
="$enable_filesystem"
4312 if test "$enableval" = yes; then
4313 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4315 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4320 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4321 if test "x$LINE" != x
; then
4322 eval "DEFAULT_$LINE"
4327 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4332 eval "$ac_cv_use_filesystem"
4333 if test "$no_cache" != 1; then
4334 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4337 if test "$wxUSE_FILESYSTEM" = yes; then
4338 echo "$ac_t""yes" 1>&6
4340 echo "$ac_t""no" 1>&6
4344 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4345 echo "configure:4346: checking for --enable-fs_inet" >&5
4347 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4348 if test "${enable_fs_inet+set}" = set; then
4349 enableval
="$enable_fs_inet"
4351 if test "$enableval" = yes; then
4352 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4354 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4359 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x
; then
4361 eval "DEFAULT_$LINE"
4366 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4371 eval "$ac_cv_use_fs_inet"
4372 if test "$no_cache" != 1; then
4373 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4376 if test "$wxUSE_FS_INET" = yes; then
4377 echo "$ac_t""yes" 1>&6
4379 echo "$ac_t""no" 1>&6
4383 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4384 echo "configure:4385: checking for --enable-fs_zip" >&5
4386 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4387 if test "${enable_fs_zip+set}" = set; then
4388 enableval
="$enable_fs_zip"
4390 if test "$enableval" = yes; then
4391 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4393 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4398 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x
; then
4400 eval "DEFAULT_$LINE"
4405 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4410 eval "$ac_cv_use_fs_zip"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4415 if test "$wxUSE_FS_ZIP" = yes; then
4416 echo "$ac_t""yes" 1>&6
4418 echo "$ac_t""no" 1>&6
4422 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4423 echo "configure:4424: checking for --enable-zipstream" >&5
4425 # Check whether --enable-zipstream or --disable-zipstream was given.
4426 if test "${enable_zipstream+set}" = set; then
4427 enableval
="$enable_zipstream"
4429 if test "$enableval" = yes; then
4430 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4432 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4437 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x
; then
4439 eval "DEFAULT_$LINE"
4444 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4449 eval "$ac_cv_use_zipstream"
4450 if test "$no_cache" != 1; then
4451 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4454 if test "$wxUSE_ZIPSTREAM" = yes; then
4455 echo "$ac_t""yes" 1>&6
4457 echo "$ac_t""no" 1>&6
4462 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4463 echo "configure:4464: checking for --enable-catch_segvs" >&5
4465 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4466 if test "${enable_catch_segvs+set}" = set; then
4467 enableval
="$enable_catch_segvs"
4469 if test "$enableval" = yes; then
4470 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4472 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4477 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x
; then
4479 eval "DEFAULT_$LINE"
4484 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4489 eval "$ac_cv_use_catch_segvs"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4494 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4495 echo "$ac_t""yes" 1>&6
4497 echo "$ac_t""no" 1>&6
4501 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4502 echo "configure:4503: checking for --enable-snglinst" >&5
4504 # Check whether --enable-snglinst or --disable-snglinst was given.
4505 if test "${enable_snglinst+set}" = set; then
4506 enableval
="$enable_snglinst"
4508 if test "$enableval" = yes; then
4509 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4511 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4516 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4517 if test "x$LINE" != x
; then
4518 eval "DEFAULT_$LINE"
4523 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4528 eval "$ac_cv_use_snglinst"
4529 if test "$no_cache" != 1; then
4530 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4533 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4534 echo "$ac_t""yes" 1>&6
4536 echo "$ac_t""no" 1>&6
4541 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4542 echo "configure:4543: checking for --enable-mimetype" >&5
4544 # Check whether --enable-mimetype or --disable-mimetype was given.
4545 if test "${enable_mimetype+set}" = set; then
4546 enableval
="$enable_mimetype"
4548 if test "$enableval" = yes; then
4549 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4551 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4556 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4557 if test "x$LINE" != x
; then
4558 eval "DEFAULT_$LINE"
4563 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4568 eval "$ac_cv_use_mimetype"
4569 if test "$no_cache" != 1; then
4570 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4573 if test "$wxUSE_MIMETYPE" = yes; then
4574 echo "$ac_t""yes" 1>&6
4576 echo "$ac_t""no" 1>&6
4580 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4581 echo "configure:4582: checking for --enable-system_options" >&5
4583 # Check whether --enable-system_options or --disable-system_options was given.
4584 if test "${enable_system_options+set}" = set; then
4585 enableval
="$enable_system_options"
4587 if test "$enableval" = yes; then
4588 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4590 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4595 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4596 if test "x$LINE" != x
; then
4597 eval "DEFAULT_$LINE"
4602 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4607 eval "$ac_cv_use_system_options"
4608 if test "$no_cache" != 1; then
4609 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4612 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4613 echo "$ac_t""yes" 1>&6
4615 echo "$ac_t""no" 1>&6
4620 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4621 echo "configure:4622: checking for --enable-url" >&5
4623 # Check whether --enable-url or --disable-url was given.
4624 if test "${enable_url+set}" = set; then
4625 enableval
="$enable_url"
4627 if test "$enableval" = yes; then
4628 ac_cv_use_url
='wxUSE_URL=yes'
4630 ac_cv_use_url
='wxUSE_URL=no'
4635 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x
; then
4637 eval "DEFAULT_$LINE"
4642 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4647 eval "$ac_cv_use_url"
4648 if test "$no_cache" != 1; then
4649 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4652 if test "$wxUSE_URL" = yes; then
4653 echo "$ac_t""yes" 1>&6
4655 echo "$ac_t""no" 1>&6
4659 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4660 echo "configure:4661: checking for --enable-protocol" >&5
4662 # Check whether --enable-protocol or --disable-protocol was given.
4663 if test "${enable_protocol+set}" = set; then
4664 enableval
="$enable_protocol"
4666 if test "$enableval" = yes; then
4667 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4669 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4674 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4675 if test "x$LINE" != x
; then
4676 eval "DEFAULT_$LINE"
4681 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4686 eval "$ac_cv_use_protocol"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4691 if test "$wxUSE_PROTOCOL" = yes; then
4692 echo "$ac_t""yes" 1>&6
4694 echo "$ac_t""no" 1>&6
4698 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4699 echo "configure:4700: checking for --enable-protocol_http" >&5
4701 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4702 if test "${enable_protocol_http+set}" = set; then
4703 enableval
="$enable_protocol_http"
4705 if test "$enableval" = yes; then
4706 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4708 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4713 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4714 if test "x$LINE" != x
; then
4715 eval "DEFAULT_$LINE"
4720 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4725 eval "$ac_cv_use_protocol_http"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4730 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4731 echo "$ac_t""yes" 1>&6
4733 echo "$ac_t""no" 1>&6
4737 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4738 echo "configure:4739: checking for --enable-protocol_ftp" >&5
4740 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4741 if test "${enable_protocol_ftp+set}" = set; then
4742 enableval
="$enable_protocol_ftp"
4744 if test "$enableval" = yes; then
4745 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4747 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4752 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4753 if test "x$LINE" != x
; then
4754 eval "DEFAULT_$LINE"
4759 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4764 eval "$ac_cv_use_protocol_ftp"
4765 if test "$no_cache" != 1; then
4766 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4769 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4770 echo "$ac_t""yes" 1>&6
4772 echo "$ac_t""no" 1>&6
4776 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4777 echo "configure:4778: checking for --enable-protocol_file" >&5
4779 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4780 if test "${enable_protocol_file+set}" = set; then
4781 enableval
="$enable_protocol_file"
4783 if test "$enableval" = yes; then
4784 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4786 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4791 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4792 if test "x$LINE" != x
; then
4793 eval "DEFAULT_$LINE"
4798 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4803 eval "$ac_cv_use_protocol_file"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4808 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4809 echo "$ac_t""yes" 1>&6
4811 echo "$ac_t""no" 1>&6
4818 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4819 echo "configure:4820: checking for --enable-threads" >&5
4821 # Check whether --enable-threads or --disable-threads was given.
4822 if test "${enable_threads+set}" = set; then
4823 enableval
="$enable_threads"
4825 if test "$enableval" = yes; then
4826 ac_cv_use_threads
='wxUSE_THREADS=yes'
4828 ac_cv_use_threads
='wxUSE_THREADS=no'
4833 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4834 if test "x$LINE" != x
; then
4835 eval "DEFAULT_$LINE"
4840 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4845 eval "$ac_cv_use_threads"
4846 if test "$no_cache" != 1; then
4847 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4850 if test "$wxUSE_THREADS" = yes; then
4851 echo "$ac_t""yes" 1>&6
4853 echo "$ac_t""no" 1>&6
4857 if test "$wxUSE_GUI" = "yes"; then
4861 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4862 echo "configure:4863: checking for --enable-docview" >&5
4864 # Check whether --enable-docview or --disable-docview was given.
4865 if test "${enable_docview+set}" = set; then
4866 enableval
="$enable_docview"
4868 if test "$enableval" = yes; then
4869 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4871 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4876 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x
; then
4878 eval "DEFAULT_$LINE"
4883 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4888 eval "$ac_cv_use_docview"
4889 if test "$no_cache" != 1; then
4890 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4893 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4894 echo "$ac_t""yes" 1>&6
4896 echo "$ac_t""no" 1>&6
4900 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4901 echo "configure:4902: checking for --enable-help" >&5
4903 # Check whether --enable-help or --disable-help was given.
4904 if test "${enable_help+set}" = set; then
4905 enableval
="$enable_help"
4907 if test "$enableval" = yes; then
4908 ac_cv_use_help
='wxUSE_HELP=yes'
4910 ac_cv_use_help
='wxUSE_HELP=no'
4915 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4916 if test "x$LINE" != x
; then
4917 eval "DEFAULT_$LINE"
4922 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4927 eval "$ac_cv_use_help"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_HELP" = yes; then
4933 echo "$ac_t""yes" 1>&6
4935 echo "$ac_t""no" 1>&6
4939 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4940 echo "configure:4941: checking for --enable-mshtmlhelp" >&5
4942 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4943 if test "${enable_mshtmlhelp+set}" = set; then
4944 enableval
="$enable_mshtmlhelp"
4946 if test "$enableval" = yes; then
4947 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4949 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4954 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4955 if test "x$LINE" != x
; then
4956 eval "DEFAULT_$LINE"
4961 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4966 eval "$ac_cv_use_mshtmlhelp"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_MS_HTML_HELP" = yes; then
4972 echo "$ac_t""yes" 1>&6
4974 echo "$ac_t""no" 1>&6
4978 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4979 echo "configure:4980: checking for --enable-html" >&5
4981 # Check whether --enable-html or --disable-html was given.
4982 if test "${enable_html+set}" = set; then
4983 enableval
="$enable_html"
4985 if test "$enableval" = yes; then
4986 ac_cv_use_html
='wxUSE_HTML=yes'
4988 ac_cv_use_html
='wxUSE_HTML=no'
4993 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x
; then
4995 eval "DEFAULT_$LINE"
5000 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5005 eval "$ac_cv_use_html"
5006 if test "$no_cache" != 1; then
5007 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5010 if test "$wxUSE_HTML" = yes; then
5011 echo "$ac_t""yes" 1>&6
5013 echo "$ac_t""no" 1>&6
5017 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5018 echo "configure:5019: checking for --enable-htmlhelp" >&5
5020 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5021 if test "${enable_htmlhelp+set}" = set; then
5022 enableval
="$enable_htmlhelp"
5024 if test "$enableval" = yes; then
5025 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5027 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5032 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5033 if test "x$LINE" != x
; then
5034 eval "DEFAULT_$LINE"
5039 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5044 eval "$ac_cv_use_htmlhelp"
5045 if test "$no_cache" != 1; then
5046 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5049 if test "$wxUSE_WXHTML_HELP" = yes; then
5050 echo "$ac_t""yes" 1>&6
5052 echo "$ac_t""no" 1>&6
5056 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5057 echo "configure:5058: checking for --enable-constraints" >&5
5059 # Check whether --enable-constraints or --disable-constraints was given.
5060 if test "${enable_constraints+set}" = set; then
5061 enableval
="$enable_constraints"
5063 if test "$enableval" = yes; then
5064 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5066 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5071 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5072 if test "x$LINE" != x
; then
5073 eval "DEFAULT_$LINE"
5078 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5083 eval "$ac_cv_use_constraints"
5084 if test "$no_cache" != 1; then
5085 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5088 if test "$wxUSE_CONSTRAINTS" = yes; then
5089 echo "$ac_t""yes" 1>&6
5091 echo "$ac_t""no" 1>&6
5095 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5096 echo "configure:5097: checking for --enable-printarch" >&5
5098 # Check whether --enable-printarch or --disable-printarch was given.
5099 if test "${enable_printarch+set}" = set; then
5100 enableval
="$enable_printarch"
5102 if test "$enableval" = yes; then
5103 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5105 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5110 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5111 if test "x$LINE" != x
; then
5112 eval "DEFAULT_$LINE"
5117 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5122 eval "$ac_cv_use_printarch"
5123 if test "$no_cache" != 1; then
5124 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5127 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5128 echo "$ac_t""yes" 1>&6
5130 echo "$ac_t""no" 1>&6
5134 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5135 echo "configure:5136: checking for --enable-mdi" >&5
5137 # Check whether --enable-mdi or --disable-mdi was given.
5138 if test "${enable_mdi+set}" = set; then
5139 enableval
="$enable_mdi"
5141 if test "$enableval" = yes; then
5142 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5144 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5149 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5150 if test "x$LINE" != x
; then
5151 eval "DEFAULT_$LINE"
5156 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5161 eval "$ac_cv_use_mdi"
5162 if test "$no_cache" != 1; then
5163 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5166 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5167 echo "$ac_t""yes" 1>&6
5169 echo "$ac_t""no" 1>&6
5173 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5174 echo "configure:5175: checking for --enable-loggui" >&5
5176 # Check whether --enable-loggui or --disable-loggui was given.
5177 if test "${enable_loggui+set}" = set; then
5178 enableval
="$enable_loggui"
5180 if test "$enableval" = yes; then
5181 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5183 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5188 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x
; then
5190 eval "DEFAULT_$LINE"
5195 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5200 eval "$ac_cv_use_loggui"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5205 if test "$wxUSE_LOGGUI" = yes; then
5206 echo "$ac_t""yes" 1>&6
5208 echo "$ac_t""no" 1>&6
5212 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5213 echo "configure:5214: checking for --enable-logwin" >&5
5215 # Check whether --enable-logwin or --disable-logwin was given.
5216 if test "${enable_logwin+set}" = set; then
5217 enableval
="$enable_logwin"
5219 if test "$enableval" = yes; then
5220 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5222 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5227 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x
; then
5229 eval "DEFAULT_$LINE"
5234 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5239 eval "$ac_cv_use_logwin"
5240 if test "$no_cache" != 1; then
5241 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5244 if test "$wxUSE_LOGWINDOW" = yes; then
5245 echo "$ac_t""yes" 1>&6
5247 echo "$ac_t""no" 1>&6
5251 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5252 echo "configure:5253: checking for --enable-logdialog" >&5
5254 # Check whether --enable-logdialog or --disable-logdialog was given.
5255 if test "${enable_logdialog+set}" = set; then
5256 enableval
="$enable_logdialog"
5258 if test "$enableval" = yes; then
5259 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5261 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5266 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5267 if test "x$LINE" != x
; then
5268 eval "DEFAULT_$LINE"
5273 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5278 eval "$ac_cv_use_logdialog"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_LOGDIALOG" = yes; then
5284 echo "$ac_t""yes" 1>&6
5286 echo "$ac_t""no" 1>&6
5291 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5292 echo "configure:5293: checking for --enable-postscript" >&5
5294 # Check whether --enable-postscript or --disable-postscript was given.
5295 if test "${enable_postscript+set}" = set; then
5296 enableval
="$enable_postscript"
5298 if test "$enableval" = yes; then
5299 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5301 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5306 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x
; then
5308 eval "DEFAULT_$LINE"
5313 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5318 eval "$ac_cv_use_postscript"
5319 if test "$no_cache" != 1; then
5320 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5323 if test "$wxUSE_POSTSCRIPT" = yes; then
5324 echo "$ac_t""yes" 1>&6
5326 echo "$ac_t""no" 1>&6
5333 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5334 echo "configure:5335: checking for --enable-prologio" >&5
5336 # Check whether --enable-prologio or --disable-prologio was given.
5337 if test "${enable_prologio+set}" = set; then
5338 enableval
="$enable_prologio"
5340 if test "$enableval" = yes; then
5341 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5343 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5348 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5349 if test "x$LINE" != x
; then
5350 eval "DEFAULT_$LINE"
5355 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5360 eval "$ac_cv_use_prologio"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5365 if test "$wxUSE_PROLOGIO" = yes; then
5366 echo "$ac_t""yes" 1>&6
5368 echo "$ac_t""no" 1>&6
5372 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5373 echo "configure:5374: checking for --enable-resources" >&5
5375 # Check whether --enable-resources or --disable-resources was given.
5376 if test "${enable_resources+set}" = set; then
5377 enableval
="$enable_resources"
5379 if test "$enableval" = yes; then
5380 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5382 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5387 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5388 if test "x$LINE" != x
; then
5389 eval "DEFAULT_$LINE"
5394 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5399 eval "$ac_cv_use_resources"
5400 if test "$no_cache" != 1; then
5401 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5404 if test "$wxUSE_RESOURCES" = yes; then
5405 echo "$ac_t""yes" 1>&6
5407 echo "$ac_t""no" 1>&6
5412 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5413 echo "configure:5414: checking for --enable-xresources" >&5
5415 # Check whether --enable-xresources or --disable-xresources was given.
5416 if test "${enable_xresources+set}" = set; then
5417 enableval
="$enable_xresources"
5419 if test "$enableval" = yes; then
5420 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5422 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5427 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5428 if test "x$LINE" != x
; then
5429 eval "DEFAULT_$LINE"
5434 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5439 eval "$ac_cv_use_xresources"
5440 if test "$no_cache" != 1; then
5441 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5444 if test "$wxUSE_X_RESOURCES" = yes; then
5445 echo "$ac_t""yes" 1>&6
5447 echo "$ac_t""no" 1>&6
5453 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5454 echo "configure:5455: checking for --enable-clipboard" >&5
5456 # Check whether --enable-clipboard or --disable-clipboard was given.
5457 if test "${enable_clipboard+set}" = set; then
5458 enableval
="$enable_clipboard"
5460 if test "$enableval" = yes; then
5461 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5463 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5468 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5469 if test "x$LINE" != x
; then
5470 eval "DEFAULT_$LINE"
5475 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5480 eval "$ac_cv_use_clipboard"
5481 if test "$no_cache" != 1; then
5482 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5485 if test "$wxUSE_CLIPBOARD" = yes; then
5486 echo "$ac_t""yes" 1>&6
5488 echo "$ac_t""no" 1>&6
5492 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5493 echo "configure:5494: checking for --enable-dnd" >&5
5495 # Check whether --enable-dnd or --disable-dnd was given.
5496 if test "${enable_dnd+set}" = set; then
5497 enableval
="$enable_dnd"
5499 if test "$enableval" = yes; then
5500 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5502 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5507 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5508 if test "x$LINE" != x
; then
5509 eval "DEFAULT_$LINE"
5514 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5519 eval "$ac_cv_use_dnd"
5520 if test "$no_cache" != 1; then
5521 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5524 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5525 echo "$ac_t""yes" 1>&6
5527 echo "$ac_t""no" 1>&6
5531 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5532 echo "configure:5533: checking for --enable-metafile" >&5
5534 # Check whether --enable-metafile or --disable-metafile was given.
5535 if test "${enable_metafile+set}" = set; then
5536 enableval
="$enable_metafile"
5538 if test "$enableval" = yes; then
5539 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5541 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5546 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x
; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5558 eval "$ac_cv_use_metafile"
5559 if test "$no_cache" != 1; then
5560 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5563 if test "$wxUSE_METAFILE" = yes; then
5564 echo "$ac_t""yes" 1>&6
5566 echo "$ac_t""no" 1>&6
5571 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5572 echo "configure:5573: checking for --enable-treelayout" >&5
5574 # Check whether --enable-treelayout or --disable-treelayout was given.
5575 if test "${enable_treelayout+set}" = set; then
5576 enableval
="$enable_treelayout"
5578 if test "$enableval" = yes; then
5579 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5581 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5586 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5587 if test "x$LINE" != x
; then
5588 eval "DEFAULT_$LINE"
5593 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5598 eval "$ac_cv_use_treelayout"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_TREELAYOUT" = yes; then
5604 echo "$ac_t""yes" 1>&6
5606 echo "$ac_t""no" 1>&6
5612 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5613 echo "configure:5614: checking for --enable-controls" >&5
5615 # Check whether --enable-controls or --disable-controls was given.
5616 if test "${enable_controls+set}" = set; then
5617 enableval
="$enable_controls"
5619 if test "$enableval" = yes; then
5620 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5622 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5627 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5628 if test "x$LINE" != x
; then
5629 eval "DEFAULT_$LINE"
5634 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5639 eval "$ac_cv_use_controls"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5644 if test "$wxUSE_CONTROLS" = yes; then
5645 echo "$ac_t""yes" 1>&6
5647 echo "$ac_t""no" 1>&6
5651 if test "$wxUSE_CONTROLS" = "yes"; then
5652 DEFAULT_wxUSE_ACCEL
=yes
5653 DEFAULT_wxUSE_BMPBUTTON
=yes
5654 DEFAULT_wxUSE_BUTTON
=yes
5655 DEFAULT_wxUSE_CALCTRL
=no
5656 DEFAULT_wxUSE_CARET
=yes
5657 DEFAULT_wxUSE_COMBOBOX
=yes
5658 DEFAULT_wxUSE_CHECKBOX
=yes
5659 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5660 DEFAULT_wxUSE_CHOICE
=yes
5661 DEFAULT_wxUSE_GAUGE
=yes
5662 DEFAULT_wxUSE_GRID
=yes
5663 DEFAULT_wxUSE_NEW_GRID
=yes
5664 DEFAULT_wxUSE_IMAGLIST
=yes
5665 DEFAULT_wxUSE_LISTBOX
=yes
5666 DEFAULT_wxUSE_LISTCTRL
=yes
5667 DEFAULT_wxUSE_NOTEBOOK
=yes
5668 DEFAULT_wxUSE_PROPSHEET
=yes
5669 DEFAULT_wxUSE_RADIOBOX
=yes
5670 DEFAULT_wxUSE_RADIOBTN
=yes
5671 DEFAULT_wxUSE_SASH
=yes
5672 DEFAULT_wxUSE_SCROLLBAR
=yes
5673 DEFAULT_wxUSE_SLIDER
=yes
5674 DEFAULT_wxUSE_SPINBTN
=yes
5675 DEFAULT_wxUSE_SPINCTRL
=yes
5676 DEFAULT_wxUSE_SPLITTER
=yes
5677 DEFAULT_wxUSE_STATBMP
=yes
5678 DEFAULT_wxUSE_STATBOX
=yes
5679 DEFAULT_wxUSE_STATLINE
=yes
5680 DEFAULT_wxUSE_STATUSBAR
=yes
5681 DEFAULT_wxUSE_TAB_DIALOG
=yes
5682 DEFAULT_wxUSE_TOGGLEBTN
=yes
5683 DEFAULT_wxUSE_TOOLBAR
=yes
5684 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5685 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5686 DEFAULT_wxUSE_TOOLTIPS
=yes
5687 DEFAULT_wxUSE_TREECTRL
=yes
5688 DEFAULT_wxUSE_POPUPWIN
=yes
5689 DEFAULT_wxUSE_TIPWINDOW
=yes
5690 elif test "$wxUSE_CONTROLS" = "no"; then
5691 DEFAULT_wxUSE_ACCEL
=no
5692 DEFAULT_wxUSE_BMPBUTTON
=no
5693 DEFAULT_wxUSE_BUTTON
=no
5694 DEFAULT_wxUSE_CALCTRL
=no
5695 DEFAULT_wxUSE_CARET
=no
5696 DEFAULT_wxUSE_COMBOBOX
=no
5697 DEFAULT_wxUSE_CHECKBOX
=no
5698 DEFAULT_wxUSE_CHECKLISTBOX
=no
5699 DEFAULT_wxUSE_CHOICE
=no
5700 DEFAULT_wxUSE_GAUGE
=no
5701 DEFAULT_wxUSE_GRID
=no
5702 DEFAULT_wxUSE_NEW_GRID
=no
5703 DEFAULT_wxUSE_IMAGLIST
=no
5704 DEFAULT_wxUSE_LISTBOX
=no
5705 DEFAULT_wxUSE_LISTCTRL
=no
5706 DEFAULT_wxUSE_NOTEBOOK
=no
5707 DEFAULT_wxUSE_PROPSHEET
=no
5708 DEFAULT_wxUSE_RADIOBOX
=no
5709 DEFAULT_wxUSE_RADIOBTN
=no
5710 DEFAULT_wxUSE_SASH
=no
5711 DEFAULT_wxUSE_SCROLLBAR
=no
5712 DEFAULT_wxUSE_SLIDER
=no
5713 DEFAULT_wxUSE_SPINBTN
=no
5714 DEFAULT_wxUSE_SPINCTRL
=no
5715 DEFAULT_wxUSE_SPLITTER
=no
5716 DEFAULT_wxUSE_STATBMP
=no
5717 DEFAULT_wxUSE_STATBOX
=no
5718 DEFAULT_wxUSE_STATLINE
=no
5719 DEFAULT_wxUSE_STATUSBAR
=no
5720 DEFAULT_wxUSE_TAB_DIALOG
=no
5721 DEFAULT_wxUSE_TOGGLEBTN
=no
5722 DEFAULT_wxUSE_TOOLBAR
=no
5723 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5724 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5725 DEFAULT_wxUSE_TOOLTIPS
=no
5726 DEFAULT_wxUSE_TREECTRL
=no
5727 DEFAULT_wxUSE_POPUPWIN
=no
5728 DEFAULT_wxUSE_TIPWINDOW
=no
5732 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5733 echo "configure:5734: checking for --enable-accel" >&5
5735 # Check whether --enable-accel or --disable-accel was given.
5736 if test "${enable_accel+set}" = set; then
5737 enableval
="$enable_accel"
5739 if test "$enableval" = yes; then
5740 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5742 ac_cv_use_accel
='wxUSE_ACCEL=no'
5747 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5748 if test "x$LINE" != x
; then
5749 eval "DEFAULT_$LINE"
5754 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5759 eval "$ac_cv_use_accel"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5764 if test "$wxUSE_ACCEL" = yes; then
5765 echo "$ac_t""yes" 1>&6
5767 echo "$ac_t""no" 1>&6
5771 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5772 echo "configure:5773: checking for --enable-button" >&5
5774 # Check whether --enable-button or --disable-button was given.
5775 if test "${enable_button+set}" = set; then
5776 enableval
="$enable_button"
5778 if test "$enableval" = yes; then
5779 ac_cv_use_button
='wxUSE_BUTTON=yes'
5781 ac_cv_use_button
='wxUSE_BUTTON=no'
5786 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x
; then
5788 eval "DEFAULT_$LINE"
5793 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5798 eval "$ac_cv_use_button"
5799 if test "$no_cache" != 1; then
5800 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5803 if test "$wxUSE_BUTTON" = yes; then
5804 echo "$ac_t""yes" 1>&6
5806 echo "$ac_t""no" 1>&6
5810 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5811 echo "configure:5812: checking for --enable-bmpbutton" >&5
5813 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5814 if test "${enable_bmpbutton+set}" = set; then
5815 enableval
="$enable_bmpbutton"
5817 if test "$enableval" = yes; then
5818 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5820 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5825 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x
; then
5827 eval "DEFAULT_$LINE"
5832 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5837 eval "$ac_cv_use_bmpbutton"
5838 if test "$no_cache" != 1; then
5839 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5842 if test "$wxUSE_BMPBUTTON" = yes; then
5843 echo "$ac_t""yes" 1>&6
5845 echo "$ac_t""no" 1>&6
5849 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5850 echo "configure:5851: checking for --enable-calendar" >&5
5852 # Check whether --enable-calendar or --disable-calendar was given.
5853 if test "${enable_calendar+set}" = set; then
5854 enableval
="$enable_calendar"
5856 if test "$enableval" = yes; then
5857 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5859 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5864 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5865 if test "x$LINE" != x
; then
5866 eval "DEFAULT_$LINE"
5871 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5876 eval "$ac_cv_use_calendar"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5881 if test "$wxUSE_CALCTRL" = yes; then
5882 echo "$ac_t""yes" 1>&6
5884 echo "$ac_t""no" 1>&6
5888 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5889 echo "configure:5890: checking for --enable-caret" >&5
5891 # Check whether --enable-caret or --disable-caret was given.
5892 if test "${enable_caret+set}" = set; then
5893 enableval
="$enable_caret"
5895 if test "$enableval" = yes; then
5896 ac_cv_use_caret
='wxUSE_CARET=yes'
5898 ac_cv_use_caret
='wxUSE_CARET=no'
5903 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x
; then
5905 eval "DEFAULT_$LINE"
5910 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5915 eval "$ac_cv_use_caret"
5916 if test "$no_cache" != 1; then
5917 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5920 if test "$wxUSE_CARET" = yes; then
5921 echo "$ac_t""yes" 1>&6
5923 echo "$ac_t""no" 1>&6
5927 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5928 echo "configure:5929: checking for --enable-checkbox" >&5
5930 # Check whether --enable-checkbox or --disable-checkbox was given.
5931 if test "${enable_checkbox+set}" = set; then
5932 enableval
="$enable_checkbox"
5934 if test "$enableval" = yes; then
5935 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5937 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5942 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x
; then
5944 eval "DEFAULT_$LINE"
5949 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5954 eval "$ac_cv_use_checkbox"
5955 if test "$no_cache" != 1; then
5956 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5959 if test "$wxUSE_CHECKBOX" = yes; then
5960 echo "$ac_t""yes" 1>&6
5962 echo "$ac_t""no" 1>&6
5966 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5967 echo "configure:5968: checking for --enable-checklst" >&5
5969 # Check whether --enable-checklst or --disable-checklst was given.
5970 if test "${enable_checklst+set}" = set; then
5971 enableval
="$enable_checklst"
5973 if test "$enableval" = yes; then
5974 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5976 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5981 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x
; then
5983 eval "DEFAULT_$LINE"
5988 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5993 eval "$ac_cv_use_checklst"
5994 if test "$no_cache" != 1; then
5995 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5998 if test "$wxUSE_CHECKLST" = yes; then
5999 echo "$ac_t""yes" 1>&6
6001 echo "$ac_t""no" 1>&6
6005 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
6006 echo "configure:6007: checking for --enable-choice" >&5
6008 # Check whether --enable-choice or --disable-choice was given.
6009 if test "${enable_choice+set}" = set; then
6010 enableval
="$enable_choice"
6012 if test "$enableval" = yes; then
6013 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6015 ac_cv_use_choice
='wxUSE_CHOICE=no'
6020 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6021 if test "x$LINE" != x
; then
6022 eval "DEFAULT_$LINE"
6027 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6032 eval "$ac_cv_use_choice"
6033 if test "$no_cache" != 1; then
6034 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6037 if test "$wxUSE_CHOICE" = yes; then
6038 echo "$ac_t""yes" 1>&6
6040 echo "$ac_t""no" 1>&6
6044 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6045 echo "configure:6046: checking for --enable-combobox" >&5
6047 # Check whether --enable-combobox or --disable-combobox was given.
6048 if test "${enable_combobox+set}" = set; then
6049 enableval
="$enable_combobox"
6051 if test "$enableval" = yes; then
6052 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6054 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6059 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6060 if test "x$LINE" != x
; then
6061 eval "DEFAULT_$LINE"
6066 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6071 eval "$ac_cv_use_combobox"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6076 if test "$wxUSE_COMBOBOX" = yes; then
6077 echo "$ac_t""yes" 1>&6
6079 echo "$ac_t""no" 1>&6
6083 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6084 echo "configure:6085: checking for --enable-gauge" >&5
6086 # Check whether --enable-gauge or --disable-gauge was given.
6087 if test "${enable_gauge+set}" = set; then
6088 enableval
="$enable_gauge"
6090 if test "$enableval" = yes; then
6091 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6093 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6098 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x
; then
6100 eval "DEFAULT_$LINE"
6105 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6110 eval "$ac_cv_use_gauge"
6111 if test "$no_cache" != 1; then
6112 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6115 if test "$wxUSE_GAUGE" = yes; then
6116 echo "$ac_t""yes" 1>&6
6118 echo "$ac_t""no" 1>&6
6122 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6123 echo "configure:6124: checking for --enable-grid" >&5
6125 # Check whether --enable-grid or --disable-grid was given.
6126 if test "${enable_grid+set}" = set; then
6127 enableval
="$enable_grid"
6129 if test "$enableval" = yes; then
6130 ac_cv_use_grid
='wxUSE_GRID=yes'
6132 ac_cv_use_grid
='wxUSE_GRID=no'
6137 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6138 if test "x$LINE" != x
; then
6139 eval "DEFAULT_$LINE"
6144 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6149 eval "$ac_cv_use_grid"
6150 if test "$no_cache" != 1; then
6151 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6154 if test "$wxUSE_GRID" = yes; then
6155 echo "$ac_t""yes" 1>&6
6157 echo "$ac_t""no" 1>&6
6161 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6162 echo "configure:6163: checking for --enable-newgrid" >&5
6164 # Check whether --enable-newgrid or --disable-newgrid was given.
6165 if test "${enable_newgrid+set}" = set; then
6166 enableval
="$enable_newgrid"
6168 if test "$enableval" = yes; then
6169 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6171 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6176 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6177 if test "x$LINE" != x
; then
6178 eval "DEFAULT_$LINE"
6183 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6188 eval "$ac_cv_use_newgrid"
6189 if test "$no_cache" != 1; then
6190 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6193 if test "$wxUSE_NEW_GRID" = yes; then
6194 echo "$ac_t""yes" 1>&6
6196 echo "$ac_t""no" 1>&6
6200 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6201 echo "configure:6202: checking for --enable-imaglist" >&5
6203 # Check whether --enable-imaglist or --disable-imaglist was given.
6204 if test "${enable_imaglist+set}" = set; then
6205 enableval
="$enable_imaglist"
6207 if test "$enableval" = yes; then
6208 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6210 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6215 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6216 if test "x$LINE" != x
; then
6217 eval "DEFAULT_$LINE"
6222 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6227 eval "$ac_cv_use_imaglist"
6228 if test "$no_cache" != 1; then
6229 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6232 if test "$wxUSE_IMAGLIST" = yes; then
6233 echo "$ac_t""yes" 1>&6
6235 echo "$ac_t""no" 1>&6
6239 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6240 echo "configure:6241: checking for --enable-listbox" >&5
6242 # Check whether --enable-listbox or --disable-listbox was given.
6243 if test "${enable_listbox+set}" = set; then
6244 enableval
="$enable_listbox"
6246 if test "$enableval" = yes; then
6247 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6249 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6254 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6255 if test "x$LINE" != x
; then
6256 eval "DEFAULT_$LINE"
6261 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6266 eval "$ac_cv_use_listbox"
6267 if test "$no_cache" != 1; then
6268 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6271 if test "$wxUSE_LISTBOX" = yes; then
6272 echo "$ac_t""yes" 1>&6
6274 echo "$ac_t""no" 1>&6
6278 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6279 echo "configure:6280: checking for --enable-listctrl" >&5
6281 # Check whether --enable-listctrl or --disable-listctrl was given.
6282 if test "${enable_listctrl+set}" = set; then
6283 enableval
="$enable_listctrl"
6285 if test "$enableval" = yes; then
6286 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6288 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6293 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x
; then
6295 eval "DEFAULT_$LINE"
6300 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6305 eval "$ac_cv_use_listctrl"
6306 if test "$no_cache" != 1; then
6307 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6310 if test "$wxUSE_LISTCTRL" = yes; then
6311 echo "$ac_t""yes" 1>&6
6313 echo "$ac_t""no" 1>&6
6317 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6318 echo "configure:6319: checking for --enable-notebook" >&5
6320 # Check whether --enable-notebook or --disable-notebook was given.
6321 if test "${enable_notebook+set}" = set; then
6322 enableval
="$enable_notebook"
6324 if test "$enableval" = yes; then
6325 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6327 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6332 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6333 if test "x$LINE" != x
; then
6334 eval "DEFAULT_$LINE"
6339 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6344 eval "$ac_cv_use_notebook"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6349 if test "$wxUSE_NOTEBOOK" = yes; then
6350 echo "$ac_t""yes" 1>&6
6352 echo "$ac_t""no" 1>&6
6356 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6357 echo "configure:6358: checking for --enable-propsheet" >&5
6359 # Check whether --enable-propsheet or --disable-propsheet was given.
6360 if test "${enable_propsheet+set}" = set; then
6361 enableval
="$enable_propsheet"
6363 if test "$enableval" = yes; then
6364 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6366 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6371 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6372 if test "x$LINE" != x
; then
6373 eval "DEFAULT_$LINE"
6378 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6383 eval "$ac_cv_use_propsheet"
6384 if test "$no_cache" != 1; then
6385 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6388 if test "$wxUSE_PROPSHEET" = yes; then
6389 echo "$ac_t""yes" 1>&6
6391 echo "$ac_t""no" 1>&6
6395 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6396 echo "configure:6397: checking for --enable-radiobox" >&5
6398 # Check whether --enable-radiobox or --disable-radiobox was given.
6399 if test "${enable_radiobox+set}" = set; then
6400 enableval
="$enable_radiobox"
6402 if test "$enableval" = yes; then
6403 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6405 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6410 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6411 if test "x$LINE" != x
; then
6412 eval "DEFAULT_$LINE"
6417 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6422 eval "$ac_cv_use_radiobox"
6423 if test "$no_cache" != 1; then
6424 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6427 if test "$wxUSE_RADIOBOX" = yes; then
6428 echo "$ac_t""yes" 1>&6
6430 echo "$ac_t""no" 1>&6
6434 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6435 echo "configure:6436: checking for --enable-radiobtn" >&5
6437 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6438 if test "${enable_radiobtn+set}" = set; then
6439 enableval
="$enable_radiobtn"
6441 if test "$enableval" = yes; then
6442 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6444 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6449 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6450 if test "x$LINE" != x
; then
6451 eval "DEFAULT_$LINE"
6456 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6461 eval "$ac_cv_use_radiobtn"
6462 if test "$no_cache" != 1; then
6463 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6466 if test "$wxUSE_RADIOBTN" = yes; then
6467 echo "$ac_t""yes" 1>&6
6469 echo "$ac_t""no" 1>&6
6473 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6474 echo "configure:6475: checking for --enable-sash" >&5
6476 # Check whether --enable-sash or --disable-sash was given.
6477 if test "${enable_sash+set}" = set; then
6478 enableval
="$enable_sash"
6480 if test "$enableval" = yes; then
6481 ac_cv_use_sash
='wxUSE_SASH=yes'
6483 ac_cv_use_sash
='wxUSE_SASH=no'
6488 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6489 if test "x$LINE" != x
; then
6490 eval "DEFAULT_$LINE"
6495 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6500 eval "$ac_cv_use_sash"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6505 if test "$wxUSE_SASH" = yes; then
6506 echo "$ac_t""yes" 1>&6
6508 echo "$ac_t""no" 1>&6
6512 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6513 echo "configure:6514: checking for --enable-scrollbar" >&5
6515 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6516 if test "${enable_scrollbar+set}" = set; then
6517 enableval
="$enable_scrollbar"
6519 if test "$enableval" = yes; then
6520 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6522 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6527 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x
; then
6529 eval "DEFAULT_$LINE"
6534 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6539 eval "$ac_cv_use_scrollbar"
6540 if test "$no_cache" != 1; then
6541 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6544 if test "$wxUSE_SCROLLBAR" = yes; then
6545 echo "$ac_t""yes" 1>&6
6547 echo "$ac_t""no" 1>&6
6551 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6552 echo "configure:6553: checking for --enable-slider" >&5
6554 # Check whether --enable-slider or --disable-slider was given.
6555 if test "${enable_slider+set}" = set; then
6556 enableval
="$enable_slider"
6558 if test "$enableval" = yes; then
6559 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6561 ac_cv_use_slider
='wxUSE_SLIDER=no'
6566 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6567 if test "x$LINE" != x
; then
6568 eval "DEFAULT_$LINE"
6573 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6578 eval "$ac_cv_use_slider"
6579 if test "$no_cache" != 1; then
6580 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6583 if test "$wxUSE_SLIDER" = yes; then
6584 echo "$ac_t""yes" 1>&6
6586 echo "$ac_t""no" 1>&6
6590 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6591 echo "configure:6592: checking for --enable-spinbtn" >&5
6593 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6594 if test "${enable_spinbtn+set}" = set; then
6595 enableval
="$enable_spinbtn"
6597 if test "$enableval" = yes; then
6598 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6600 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6605 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6606 if test "x$LINE" != x
; then
6607 eval "DEFAULT_$LINE"
6612 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6617 eval "$ac_cv_use_spinbtn"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6622 if test "$wxUSE_SPINBTN" = yes; then
6623 echo "$ac_t""yes" 1>&6
6625 echo "$ac_t""no" 1>&6
6629 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6630 echo "configure:6631: checking for --enable-spinctrl" >&5
6632 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6633 if test "${enable_spinctrl+set}" = set; then
6634 enableval
="$enable_spinctrl"
6636 if test "$enableval" = yes; then
6637 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6639 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6644 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6645 if test "x$LINE" != x
; then
6646 eval "DEFAULT_$LINE"
6651 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6656 eval "$ac_cv_use_spinctrl"
6657 if test "$no_cache" != 1; then
6658 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6661 if test "$wxUSE_SPINCTRL" = yes; then
6662 echo "$ac_t""yes" 1>&6
6664 echo "$ac_t""no" 1>&6
6668 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6669 echo "configure:6670: checking for --enable-splitter" >&5
6671 # Check whether --enable-splitter or --disable-splitter was given.
6672 if test "${enable_splitter+set}" = set; then
6673 enableval
="$enable_splitter"
6675 if test "$enableval" = yes; then
6676 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6678 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6683 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6684 if test "x$LINE" != x
; then
6685 eval "DEFAULT_$LINE"
6690 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6695 eval "$ac_cv_use_splitter"
6696 if test "$no_cache" != 1; then
6697 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6700 if test "$wxUSE_SPLITTER" = yes; then
6701 echo "$ac_t""yes" 1>&6
6703 echo "$ac_t""no" 1>&6
6707 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6708 echo "configure:6709: checking for --enable-statbmp" >&5
6710 # Check whether --enable-statbmp or --disable-statbmp was given.
6711 if test "${enable_statbmp+set}" = set; then
6712 enableval
="$enable_statbmp"
6714 if test "$enableval" = yes; then
6715 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6717 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6722 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6723 if test "x$LINE" != x
; then
6724 eval "DEFAULT_$LINE"
6729 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6734 eval "$ac_cv_use_statbmp"
6735 if test "$no_cache" != 1; then
6736 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6739 if test "$wxUSE_STATBMP" = yes; then
6740 echo "$ac_t""yes" 1>&6
6742 echo "$ac_t""no" 1>&6
6746 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6747 echo "configure:6748: checking for --enable-statbox" >&5
6749 # Check whether --enable-statbox or --disable-statbox was given.
6750 if test "${enable_statbox+set}" = set; then
6751 enableval
="$enable_statbox"
6753 if test "$enableval" = yes; then
6754 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6756 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6761 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6762 if test "x$LINE" != x
; then
6763 eval "DEFAULT_$LINE"
6768 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6773 eval "$ac_cv_use_statbox"
6774 if test "$no_cache" != 1; then
6775 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6778 if test "$wxUSE_STATBOX" = yes; then
6779 echo "$ac_t""yes" 1>&6
6781 echo "$ac_t""no" 1>&6
6785 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6786 echo "configure:6787: checking for --enable-statline" >&5
6788 # Check whether --enable-statline or --disable-statline was given.
6789 if test "${enable_statline+set}" = set; then
6790 enableval
="$enable_statline"
6792 if test "$enableval" = yes; then
6793 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6795 ac_cv_use_statline
='wxUSE_STATLINE=no'
6800 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6801 if test "x$LINE" != x
; then
6802 eval "DEFAULT_$LINE"
6807 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6812 eval "$ac_cv_use_statline"
6813 if test "$no_cache" != 1; then
6814 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6817 if test "$wxUSE_STATLINE" = yes; then
6818 echo "$ac_t""yes" 1>&6
6820 echo "$ac_t""no" 1>&6
6824 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6825 echo "configure:6826: checking for --enable-stattext" >&5
6827 # Check whether --enable-stattext or --disable-stattext was given.
6828 if test "${enable_stattext+set}" = set; then
6829 enableval
="$enable_stattext"
6831 if test "$enableval" = yes; then
6832 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6834 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6839 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6840 if test "x$LINE" != x
; then
6841 eval "DEFAULT_$LINE"
6846 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6851 eval "$ac_cv_use_stattext"
6852 if test "$no_cache" != 1; then
6853 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6856 if test "$wxUSE_STATTEXT" = yes; then
6857 echo "$ac_t""yes" 1>&6
6859 echo "$ac_t""no" 1>&6
6863 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6864 echo "configure:6865: checking for --enable-statusbar" >&5
6866 # Check whether --enable-statusbar or --disable-statusbar was given.
6867 if test "${enable_statusbar+set}" = set; then
6868 enableval
="$enable_statusbar"
6870 if test "$enableval" = yes; then
6871 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6873 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6878 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6879 if test "x$LINE" != x
; then
6880 eval "DEFAULT_$LINE"
6885 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6890 eval "$ac_cv_use_statusbar"
6891 if test "$no_cache" != 1; then
6892 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6895 if test "$wxUSE_STATUSBAR" = yes; then
6896 echo "$ac_t""yes" 1>&6
6898 echo "$ac_t""no" 1>&6
6902 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6903 echo "configure:6904: checking for --enable-tabdialog" >&5
6905 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6906 if test "${enable_tabdialog+set}" = set; then
6907 enableval
="$enable_tabdialog"
6909 if test "$enableval" = yes; then
6910 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6912 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6917 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6918 if test "x$LINE" != x
; then
6919 eval "DEFAULT_$LINE"
6924 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6929 eval "$ac_cv_use_tabdialog"
6930 if test "$no_cache" != 1; then
6931 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6934 if test "$wxUSE_TABDIALOG" = yes; then
6935 echo "$ac_t""yes" 1>&6
6937 echo "$ac_t""no" 1>&6
6941 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6942 echo "configure:6943: checking for --enable-textctrl" >&5
6944 # Check whether --enable-textctrl or --disable-textctrl was given.
6945 if test "${enable_textctrl+set}" = set; then
6946 enableval
="$enable_textctrl"
6948 if test "$enableval" = yes; then
6949 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6951 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6956 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x
; then
6958 eval "DEFAULT_$LINE"
6963 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6968 eval "$ac_cv_use_textctrl"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6973 if test "$wxUSE_TEXTCTRL" = yes; then
6974 echo "$ac_t""yes" 1>&6
6976 echo "$ac_t""no" 1>&6
6980 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6981 echo "configure:6982: checking for --enable-togglebtn" >&5
6983 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6984 if test "${enable_togglebtn+set}" = set; then
6985 enableval
="$enable_togglebtn"
6987 if test "$enableval" = yes; then
6988 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6990 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6995 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x
; then
6997 eval "DEFAULT_$LINE"
7002 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7007 eval "$ac_cv_use_togglebtn"
7008 if test "$no_cache" != 1; then
7009 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7012 if test "$wxUSE_TOGGLEBTN" = yes; then
7013 echo "$ac_t""yes" 1>&6
7015 echo "$ac_t""no" 1>&6
7019 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7020 echo "configure:7021: checking for --enable-toolbar" >&5
7022 # Check whether --enable-toolbar or --disable-toolbar was given.
7023 if test "${enable_toolbar+set}" = set; then
7024 enableval
="$enable_toolbar"
7026 if test "$enableval" = yes; then
7027 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7029 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7034 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7035 if test "x$LINE" != x
; then
7036 eval "DEFAULT_$LINE"
7041 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7046 eval "$ac_cv_use_toolbar"
7047 if test "$no_cache" != 1; then
7048 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7051 if test "$wxUSE_TOOLBAR" = yes; then
7052 echo "$ac_t""yes" 1>&6
7054 echo "$ac_t""no" 1>&6
7058 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7059 echo "configure:7060: checking for --enable-tbarnative" >&5
7061 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7062 if test "${enable_tbarnative+set}" = set; then
7063 enableval
="$enable_tbarnative"
7065 if test "$enableval" = yes; then
7066 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7068 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7073 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7074 if test "x$LINE" != x
; then
7075 eval "DEFAULT_$LINE"
7080 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7085 eval "$ac_cv_use_tbarnative"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7090 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7091 echo "$ac_t""yes" 1>&6
7093 echo "$ac_t""no" 1>&6
7097 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7098 echo "configure:7099: checking for --enable-tbarsmpl" >&5
7100 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7101 if test "${enable_tbarsmpl+set}" = set; then
7102 enableval
="$enable_tbarsmpl"
7104 if test "$enableval" = yes; then
7105 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7107 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7112 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x
; then
7114 eval "DEFAULT_$LINE"
7119 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7124 eval "$ac_cv_use_tbarsmpl"
7125 if test "$no_cache" != 1; then
7126 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7129 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7130 echo "$ac_t""yes" 1>&6
7132 echo "$ac_t""no" 1>&6
7136 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7137 echo "configure:7138: checking for --enable-treectrl" >&5
7139 # Check whether --enable-treectrl or --disable-treectrl was given.
7140 if test "${enable_treectrl+set}" = set; then
7141 enableval
="$enable_treectrl"
7143 if test "$enableval" = yes; then
7144 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7146 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7151 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7152 if test "x$LINE" != x
; then
7153 eval "DEFAULT_$LINE"
7158 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7163 eval "$ac_cv_use_treectrl"
7164 if test "$no_cache" != 1; then
7165 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7168 if test "$wxUSE_TREECTRL" = yes; then
7169 echo "$ac_t""yes" 1>&6
7171 echo "$ac_t""no" 1>&6
7175 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7176 echo "configure:7177: checking for --enable-tipwindow" >&5
7178 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7179 if test "${enable_tipwindow+set}" = set; then
7180 enableval
="$enable_tipwindow"
7182 if test "$enableval" = yes; then
7183 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7185 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7190 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7191 if test "x$LINE" != x
; then
7192 eval "DEFAULT_$LINE"
7197 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7202 eval "$ac_cv_use_tipwindow"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7207 if test "$wxUSE_TIPWINDOW" = yes; then
7208 echo "$ac_t""yes" 1>&6
7210 echo "$ac_t""no" 1>&6
7214 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7215 echo "configure:7216: checking for --enable-popupwin" >&5
7217 # Check whether --enable-popupwin or --disable-popupwin was given.
7218 if test "${enable_popupwin+set}" = set; then
7219 enableval
="$enable_popupwin"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7224 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7229 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7241 eval "$ac_cv_use_popupwin"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7246 if test "$wxUSE_POPUPWIN" = yes; then
7247 echo "$ac_t""yes" 1>&6
7249 echo "$ac_t""no" 1>&6
7255 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7256 echo "configure:7257: checking for --enable-commondlg" >&5
7258 # Check whether --enable-commondlg or --disable-commondlg was given.
7259 if test "${enable_commondlg+set}" = set; then
7260 enableval
="$enable_commondlg"
7262 if test "$enableval" = yes; then
7263 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7265 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7270 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x
; then
7272 eval "DEFAULT_$LINE"
7277 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7282 eval "$ac_cv_use_commondlg"
7283 if test "$no_cache" != 1; then
7284 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7287 if test "$wxUSE_COMMONDLGS" = yes; then
7288 echo "$ac_t""yes" 1>&6
7290 echo "$ac_t""no" 1>&6
7294 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7295 echo "configure:7296: checking for --enable-choicedlg" >&5
7297 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7298 if test "${enable_choicedlg+set}" = set; then
7299 enableval
="$enable_choicedlg"
7301 if test "$enableval" = yes; then
7302 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7304 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7309 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x
; then
7311 eval "DEFAULT_$LINE"
7316 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7321 eval "$ac_cv_use_choicedlg"
7322 if test "$no_cache" != 1; then
7323 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7326 if test "$wxUSE_CHOICEDLG" = yes; then
7327 echo "$ac_t""yes" 1>&6
7329 echo "$ac_t""no" 1>&6
7333 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7334 echo "configure:7335: checking for --enable-coldlg" >&5
7336 # Check whether --enable-coldlg or --disable-coldlg was given.
7337 if test "${enable_coldlg+set}" = set; then
7338 enableval
="$enable_coldlg"
7340 if test "$enableval" = yes; then
7341 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7343 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7348 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7349 if test "x$LINE" != x
; then
7350 eval "DEFAULT_$LINE"
7355 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7360 eval "$ac_cv_use_coldlg"
7361 if test "$no_cache" != 1; then
7362 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7365 if test "$wxUSE_COLOURDLG" = yes; then
7366 echo "$ac_t""yes" 1>&6
7368 echo "$ac_t""no" 1>&6
7372 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7373 echo "configure:7374: checking for --enable-filedlg" >&5
7375 # Check whether --enable-filedlg or --disable-filedlg was given.
7376 if test "${enable_filedlg+set}" = set; then
7377 enableval
="$enable_filedlg"
7379 if test "$enableval" = yes; then
7380 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7382 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7387 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7388 if test "x$LINE" != x
; then
7389 eval "DEFAULT_$LINE"
7394 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7399 eval "$ac_cv_use_filedlg"
7400 if test "$no_cache" != 1; then
7401 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7404 if test "$wxUSE_FILEDLG" = yes; then
7405 echo "$ac_t""yes" 1>&6
7407 echo "$ac_t""no" 1>&6
7411 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7412 echo "configure:7413: checking for --enable-finddlg" >&5
7414 # Check whether --enable-finddlg or --disable-finddlg was given.
7415 if test "${enable_finddlg+set}" = set; then
7416 enableval
="$enable_finddlg"
7418 if test "$enableval" = yes; then
7419 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7421 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7426 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7427 if test "x$LINE" != x
; then
7428 eval "DEFAULT_$LINE"
7433 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7438 eval "$ac_cv_use_finddlg"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7443 if test "$wxUSE_FINDREPLDLG" = yes; then
7444 echo "$ac_t""yes" 1>&6
7446 echo "$ac_t""no" 1>&6
7450 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7451 echo "configure:7452: checking for --enable-fontdlg" >&5
7453 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7454 if test "${enable_fontdlg+set}" = set; then
7455 enableval
="$enable_fontdlg"
7457 if test "$enableval" = yes; then
7458 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7460 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7465 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7466 if test "x$LINE" != x
; then
7467 eval "DEFAULT_$LINE"
7472 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7477 eval "$ac_cv_use_fontdlg"
7478 if test "$no_cache" != 1; then
7479 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7482 if test "$wxUSE_FONTDLG" = yes; then
7483 echo "$ac_t""yes" 1>&6
7485 echo "$ac_t""no" 1>&6
7489 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7490 echo "configure:7491: checking for --enable-dirdlg" >&5
7492 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7493 if test "${enable_dirdlg+set}" = set; then
7494 enableval
="$enable_dirdlg"
7496 if test "$enableval" = yes; then
7497 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7499 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7504 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7505 if test "x$LINE" != x
; then
7506 eval "DEFAULT_$LINE"
7511 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7516 eval "$ac_cv_use_dirdlg"
7517 if test "$no_cache" != 1; then
7518 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7521 if test "$wxUSE_DIRDLG" = yes; then
7522 echo "$ac_t""yes" 1>&6
7524 echo "$ac_t""no" 1>&6
7528 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7529 echo "configure:7530: checking for --enable-msgdlg" >&5
7531 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7532 if test "${enable_msgdlg+set}" = set; then
7533 enableval
="$enable_msgdlg"
7535 if test "$enableval" = yes; then
7536 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7538 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7543 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7544 if test "x$LINE" != x
; then
7545 eval "DEFAULT_$LINE"
7550 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7555 eval "$ac_cv_use_msgdlg"
7556 if test "$no_cache" != 1; then
7557 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7560 if test "$wxUSE_MSGDLG" = yes; then
7561 echo "$ac_t""yes" 1>&6
7563 echo "$ac_t""no" 1>&6
7567 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7568 echo "configure:7569: checking for --enable-numberdlg" >&5
7570 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7571 if test "${enable_numberdlg+set}" = set; then
7572 enableval
="$enable_numberdlg"
7574 if test "$enableval" = yes; then
7575 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7577 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7582 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x
; then
7584 eval "DEFAULT_$LINE"
7589 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7594 eval "$ac_cv_use_numberdlg"
7595 if test "$no_cache" != 1; then
7596 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7599 if test "$wxUSE_NUMBERDLG" = yes; then
7600 echo "$ac_t""yes" 1>&6
7602 echo "$ac_t""no" 1>&6
7606 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7607 echo "configure:7608: checking for --enable-splash" >&5
7609 # Check whether --enable-splash or --disable-splash was given.
7610 if test "${enable_splash+set}" = set; then
7611 enableval
="$enable_splash"
7613 if test "$enableval" = yes; then
7614 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7616 ac_cv_use_splash
='wxUSE_SPLASH=no'
7621 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7622 if test "x$LINE" != x
; then
7623 eval "DEFAULT_$LINE"
7628 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7633 eval "$ac_cv_use_splash"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7638 if test "$wxUSE_SPLASH" = yes; then
7639 echo "$ac_t""yes" 1>&6
7641 echo "$ac_t""no" 1>&6
7645 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7646 echo "configure:7647: checking for --enable-textdlg" >&5
7648 # Check whether --enable-textdlg or --disable-textdlg was given.
7649 if test "${enable_textdlg+set}" = set; then
7650 enableval
="$enable_textdlg"
7652 if test "$enableval" = yes; then
7653 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7655 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7660 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x
; then
7662 eval "DEFAULT_$LINE"
7667 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7672 eval "$ac_cv_use_textdlg"
7673 if test "$no_cache" != 1; then
7674 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7677 if test "$wxUSE_TEXTDLG" = yes; then
7678 echo "$ac_t""yes" 1>&6
7680 echo "$ac_t""no" 1>&6
7684 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7685 echo "configure:7686: checking for --enable-tipdlg" >&5
7687 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7688 if test "${enable_tipdlg+set}" = set; then
7689 enableval
="$enable_tipdlg"
7691 if test "$enableval" = yes; then
7692 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7694 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7699 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7700 if test "x$LINE" != x
; then
7701 eval "DEFAULT_$LINE"
7706 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7711 eval "$ac_cv_use_tipdlg"
7712 if test "$no_cache" != 1; then
7713 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7716 if test "$wxUSE_STARTUP_TIPS" = yes; then
7717 echo "$ac_t""yes" 1>&6
7719 echo "$ac_t""no" 1>&6
7723 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7724 echo "configure:7725: checking for --enable-progressdlg" >&5
7726 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7727 if test "${enable_progressdlg+set}" = set; then
7728 enableval
="$enable_progressdlg"
7730 if test "$enableval" = yes; then
7731 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7733 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7738 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7739 if test "x$LINE" != x
; then
7740 eval "DEFAULT_$LINE"
7745 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7750 eval "$ac_cv_use_progressdlg"
7751 if test "$no_cache" != 1; then
7752 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7755 if test "$wxUSE_PROGRESSDLG" = yes; then
7756 echo "$ac_t""yes" 1>&6
7758 echo "$ac_t""no" 1>&6
7762 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7763 echo "configure:7764: checking for --enable-wizarddlg" >&5
7765 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7766 if test "${enable_wizarddlg+set}" = set; then
7767 enableval
="$enable_wizarddlg"
7769 if test "$enableval" = yes; then
7770 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7772 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7777 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7778 if test "x$LINE" != x
; then
7779 eval "DEFAULT_$LINE"
7784 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7789 eval "$ac_cv_use_wizarddlg"
7790 if test "$no_cache" != 1; then
7791 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7794 if test "$wxUSE_WIZARDDLG" = yes; then
7795 echo "$ac_t""yes" 1>&6
7797 echo "$ac_t""no" 1>&6
7803 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7804 echo "configure:7805: checking for --enable-menus" >&5
7806 # Check whether --enable-menus or --disable-menus was given.
7807 if test "${enable_menus+set}" = set; then
7808 enableval
="$enable_menus"
7810 if test "$enableval" = yes; then
7811 ac_cv_use_menus
='wxUSE_MENUS=yes'
7813 ac_cv_use_menus
='wxUSE_MENUS=no'
7818 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7819 if test "x$LINE" != x
; then
7820 eval "DEFAULT_$LINE"
7825 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7830 eval "$ac_cv_use_menus"
7831 if test "$no_cache" != 1; then
7832 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7835 if test "$wxUSE_MENUS" = yes; then
7836 echo "$ac_t""yes" 1>&6
7838 echo "$ac_t""no" 1>&6
7842 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7843 echo "configure:7844: checking for --enable-miniframe" >&5
7845 # Check whether --enable-miniframe or --disable-miniframe was given.
7846 if test "${enable_miniframe+set}" = set; then
7847 enableval
="$enable_miniframe"
7849 if test "$enableval" = yes; then
7850 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7852 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7857 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7858 if test "x$LINE" != x
; then
7859 eval "DEFAULT_$LINE"
7864 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7869 eval "$ac_cv_use_miniframe"
7870 if test "$no_cache" != 1; then
7871 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7874 if test "$wxUSE_MINIFRAME" = yes; then
7875 echo "$ac_t""yes" 1>&6
7877 echo "$ac_t""no" 1>&6
7881 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7882 echo "configure:7883: checking for --enable-tooltips" >&5
7884 # Check whether --enable-tooltips or --disable-tooltips was given.
7885 if test "${enable_tooltips+set}" = set; then
7886 enableval
="$enable_tooltips"
7888 if test "$enableval" = yes; then
7889 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7891 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7896 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7897 if test "x$LINE" != x
; then
7898 eval "DEFAULT_$LINE"
7903 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7908 eval "$ac_cv_use_tooltips"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7913 if test "$wxUSE_TOOLTIPS" = yes; then
7914 echo "$ac_t""yes" 1>&6
7916 echo "$ac_t""no" 1>&6
7920 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7921 echo "configure:7922: checking for --enable-splines" >&5
7923 # Check whether --enable-splines or --disable-splines was given.
7924 if test "${enable_splines+set}" = set; then
7925 enableval
="$enable_splines"
7927 if test "$enableval" = yes; then
7928 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7930 ac_cv_use_splines
='wxUSE_SPLINES=no'
7935 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7936 if test "x$LINE" != x
; then
7937 eval "DEFAULT_$LINE"
7942 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7947 eval "$ac_cv_use_splines"
7948 if test "$no_cache" != 1; then
7949 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7952 if test "$wxUSE_SPLINES" = yes; then
7953 echo "$ac_t""yes" 1>&6
7955 echo "$ac_t""no" 1>&6
7959 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7960 echo "configure:7961: checking for --enable-validators" >&5
7962 # Check whether --enable-validators or --disable-validators was given.
7963 if test "${enable_validators+set}" = set; then
7964 enableval
="$enable_validators"
7966 if test "$enableval" = yes; then
7967 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7969 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7974 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7975 if test "x$LINE" != x
; then
7976 eval "DEFAULT_$LINE"
7981 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7986 eval "$ac_cv_use_validators"
7987 if test "$no_cache" != 1; then
7988 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7991 if test "$wxUSE_VALIDATORS" = yes; then
7992 echo "$ac_t""yes" 1>&6
7994 echo "$ac_t""no" 1>&6
7998 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7999 echo "configure:8000: checking for --enable-busyinfo" >&5
8001 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8002 if test "${enable_busyinfo+set}" = set; then
8003 enableval
="$enable_busyinfo"
8005 if test "$enableval" = yes; then
8006 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8008 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8013 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8014 if test "x$LINE" != x
; then
8015 eval "DEFAULT_$LINE"
8020 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8025 eval "$ac_cv_use_busyinfo"
8026 if test "$no_cache" != 1; then
8027 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8030 if test "$wxUSE_BUSYINFO" = yes; then
8031 echo "$ac_t""yes" 1>&6
8033 echo "$ac_t""no" 1>&6
8037 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8038 echo "configure:8039: checking for --enable-joystick" >&5
8040 # Check whether --enable-joystick or --disable-joystick was given.
8041 if test "${enable_joystick+set}" = set; then
8042 enableval
="$enable_joystick"
8044 if test "$enableval" = yes; then
8045 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8047 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8052 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x
; then
8054 eval "DEFAULT_$LINE"
8059 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8064 eval "$ac_cv_use_joystick"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8069 if test "$wxUSE_JOYSTICK" = yes; then
8070 echo "$ac_t""yes" 1>&6
8072 echo "$ac_t""no" 1>&6
8076 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8077 echo "configure:8078: checking for --enable-metafile" >&5
8079 # Check whether --enable-metafile or --disable-metafile was given.
8080 if test "${enable_metafile+set}" = set; then
8081 enableval
="$enable_metafile"
8083 if test "$enableval" = yes; then
8084 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8086 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8091 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x
; then
8093 eval "DEFAULT_$LINE"
8098 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8103 eval "$ac_cv_use_metafile"
8104 if test "$no_cache" != 1; then
8105 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8108 if test "$wxUSE_METAFILE" = yes; then
8109 echo "$ac_t""yes" 1>&6
8111 echo "$ac_t""no" 1>&6
8115 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8116 echo "configure:8117: checking for --enable-dragimage" >&5
8118 # Check whether --enable-dragimage or --disable-dragimage was given.
8119 if test "${enable_dragimage+set}" = set; then
8120 enableval
="$enable_dragimage"
8122 if test "$enableval" = yes; then
8123 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8125 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8130 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8131 if test "x$LINE" != x
; then
8132 eval "DEFAULT_$LINE"
8137 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8142 eval "$ac_cv_use_dragimage"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8147 if test "$wxUSE_DRAGIMAGE" = yes; then
8148 echo "$ac_t""yes" 1>&6
8150 echo "$ac_t""no" 1>&6
8156 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8157 echo "configure:8158: checking for --enable-palette" >&5
8159 # Check whether --enable-palette or --disable-palette was given.
8160 if test "${enable_palette+set}" = set; then
8161 enableval
="$enable_palette"
8163 if test "$enableval" = yes; then
8164 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8166 ac_cv_use_palette
='wxUSE_PALETTE=no'
8171 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8172 if test "x$LINE" != x
; then
8173 eval "DEFAULT_$LINE"
8178 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8183 eval "$ac_cv_use_palette"
8184 if test "$no_cache" != 1; then
8185 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8188 if test "$wxUSE_PALETTE" = yes; then
8189 echo "$ac_t""yes" 1>&6
8191 echo "$ac_t""no" 1>&6
8195 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8196 echo "configure:8197: checking for --enable-image" >&5
8198 # Check whether --enable-image or --disable-image was given.
8199 if test "${enable_image+set}" = set; then
8200 enableval
="$enable_image"
8202 if test "$enableval" = yes; then
8203 ac_cv_use_image
='wxUSE_IMAGE=yes'
8205 ac_cv_use_image
='wxUSE_IMAGE=no'
8210 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8211 if test "x$LINE" != x
; then
8212 eval "DEFAULT_$LINE"
8217 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8222 eval "$ac_cv_use_image"
8223 if test "$no_cache" != 1; then
8224 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8227 if test "$wxUSE_IMAGE" = yes; then
8228 echo "$ac_t""yes" 1>&6
8230 echo "$ac_t""no" 1>&6
8234 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8235 echo "configure:8236: checking for --enable-gif" >&5
8237 # Check whether --enable-gif or --disable-gif was given.
8238 if test "${enable_gif+set}" = set; then
8239 enableval
="$enable_gif"
8241 if test "$enableval" = yes; then
8242 ac_cv_use_gif
='wxUSE_GIF=yes'
8244 ac_cv_use_gif
='wxUSE_GIF=no'
8249 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8250 if test "x$LINE" != x
; then
8251 eval "DEFAULT_$LINE"
8256 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8261 eval "$ac_cv_use_gif"
8262 if test "$no_cache" != 1; then
8263 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8266 if test "$wxUSE_GIF" = yes; then
8267 echo "$ac_t""yes" 1>&6
8269 echo "$ac_t""no" 1>&6
8273 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8274 echo "configure:8275: checking for --enable-pcx" >&5
8276 # Check whether --enable-pcx or --disable-pcx was given.
8277 if test "${enable_pcx+set}" = set; then
8278 enableval
="$enable_pcx"
8280 if test "$enableval" = yes; then
8281 ac_cv_use_pcx
='wxUSE_PCX=yes'
8283 ac_cv_use_pcx
='wxUSE_PCX=no'
8288 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8289 if test "x$LINE" != x
; then
8290 eval "DEFAULT_$LINE"
8295 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8300 eval "$ac_cv_use_pcx"
8301 if test "$no_cache" != 1; then
8302 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8305 if test "$wxUSE_PCX" = yes; then
8306 echo "$ac_t""yes" 1>&6
8308 echo "$ac_t""no" 1>&6
8312 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8313 echo "configure:8314: checking for --enable-iff" >&5
8315 # Check whether --enable-iff or --disable-iff was given.
8316 if test "${enable_iff+set}" = set; then
8317 enableval
="$enable_iff"
8319 if test "$enableval" = yes; then
8320 ac_cv_use_iff
='wxUSE_IFF=yes'
8322 ac_cv_use_iff
='wxUSE_IFF=no'
8327 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8328 if test "x$LINE" != x
; then
8329 eval "DEFAULT_$LINE"
8334 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8339 eval "$ac_cv_use_iff"
8340 if test "$no_cache" != 1; then
8341 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8344 if test "$wxUSE_IFF" = yes; then
8345 echo "$ac_t""yes" 1>&6
8347 echo "$ac_t""no" 1>&6
8351 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8352 echo "configure:8353: checking for --enable-pnm" >&5
8354 # Check whether --enable-pnm or --disable-pnm was given.
8355 if test "${enable_pnm+set}" = set; then
8356 enableval
="$enable_pnm"
8358 if test "$enableval" = yes; then
8359 ac_cv_use_pnm
='wxUSE_PNM=yes'
8361 ac_cv_use_pnm
='wxUSE_PNM=no'
8366 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8367 if test "x$LINE" != x
; then
8368 eval "DEFAULT_$LINE"
8373 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8378 eval "$ac_cv_use_pnm"
8379 if test "$no_cache" != 1; then
8380 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8383 if test "$wxUSE_PNM" = yes; then
8384 echo "$ac_t""yes" 1>&6
8386 echo "$ac_t""no" 1>&6
8390 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8391 echo "configure:8392: checking for --enable-xpm" >&5
8393 # Check whether --enable-xpm or --disable-xpm was given.
8394 if test "${enable_xpm+set}" = set; then
8395 enableval
="$enable_xpm"
8397 if test "$enableval" = yes; then
8398 ac_cv_use_xpm
='wxUSE_XPM=yes'
8400 ac_cv_use_xpm
='wxUSE_XPM=no'
8405 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8406 if test "x$LINE" != x
; then
8407 eval "DEFAULT_$LINE"
8412 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8417 eval "$ac_cv_use_xpm"
8418 if test "$no_cache" != 1; then
8419 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8422 if test "$wxUSE_XPM" = yes; then
8423 echo "$ac_t""yes" 1>&6
8425 echo "$ac_t""no" 1>&6
8429 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8430 echo "configure:8431: checking for --enable-ico_cur" >&5
8432 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8433 if test "${enable_ico_cur+set}" = set; then
8434 enableval
="$enable_ico_cur"
8436 if test "$enableval" = yes; then
8437 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8439 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8444 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x
; then
8446 eval "DEFAULT_$LINE"
8451 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8456 eval "$ac_cv_use_ico_cur"
8457 if test "$no_cache" != 1; then
8458 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8461 if test "$wxUSE_ICO_CUR" = yes; then
8462 echo "$ac_t""yes" 1>&6
8464 echo "$ac_t""no" 1>&6
8471 echo "saving argument cache $wx_arg_cache_file"
8472 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8476 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8477 echo "configure:8478: checking for toolkit" >&5
8479 if test "$wxUSE_GUI" = "yes"; then
8481 if test "$USE_BEOS" = 1; then
8482 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8485 if test "$TOOLKIT_GIVEN" = 1; then
8486 for toolkit
in `echo $ALL_TOOLKITS`; do
8488 eval "value=\$${var}"
8489 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8492 for toolkit
in `echo $ALL_TOOLKITS`; do
8493 if test "$has_toolkit_in_cache" != 1; then
8494 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8496 var
=DEFAULT_wxUSE_
$toolkit
8498 eval "wxUSE_$toolkit=\$${var}"
8502 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8503 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8506 *-pc-os2_emx | *-pc-os2-emx )
8507 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8508 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8517 case "$NUM_TOOLKITS" in
8521 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8524 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8527 for toolkit
in `echo $ALL_TOOLKITS`; do
8529 eval "value=\$${var}"
8530 if test "x$value" != x
; then
8531 cache_var
=CACHE_
$toolkit
8532 eval "cache=\$${cache_var}"
8533 if test "$cache" = 1; then
8534 echo "$var=$value" >> ${wx_arg_cache_file}
8536 if test "$value" = 1; then
8537 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8538 echo "$ac_t""$toolkit_echo" 1>&6
8544 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8548 cat > confcache
<<\EOF
8549 # This file is a shell script that caches the results of configure
8550 # tests run on this system so they can be shared between configure
8551 # scripts and configure runs. It is not useful on other systems.
8552 # If it contains results you don't want to keep, you may remove or edit it.
8554 # By default, configure uses ./config.cache as the cache file,
8555 # creating it if it does not exist already. You can give configure
8556 # the --cache-file=FILE option to use a different cache file; that is
8557 # what configure does when it calls configure scripts in
8558 # subdirectories, so they share the cache.
8559 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8560 # config.status only pays attention to the cache file if you give it the
8561 # --recheck option to rerun configure.
8564 # The following way of writing the cache mishandles newlines in values,
8565 # but we know of no workaround that is simple, portable, and efficient.
8566 # So, don't put newlines in cache variables' values.
8567 # Ultrix sh set writes to stderr and can't be redirected directly,
8568 # and sets the high bit in the cache file unless we assign to the vars.
8570 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8572 # `set' does not quote correctly, so add quotes (double-quote substitution
8573 # turns \\\\ into \\, and sed turns \\ into \).
8575 -e "s/'/'\\\\''/g" \
8576 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8579 # `set' quotes correctly as required by POSIX, so do not add quotes.
8580 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8583 if cmp -s $cache_file confcache
; then
8586 if test -w $cache_file; then
8587 echo "updating cache $cache_file"
8588 cat confcache
> $cache_file
8590 echo "not updating unwritable cache $cache_file"
8596 if test "$build" != "$host" ; then
8597 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8601 RANLIB
=$host_alias-ranlib
8602 DLLTOOL
=$host_alias-dlltool
8603 RESCOMP
=$host_alias-windres
8606 STRIP
=$host_alias-strip
8608 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8612 # Extract the first word of "gcc", so it can be a program name with args.
8613 set dummy gcc
; ac_word
=$2
8614 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8615 echo "configure:8616: checking for $ac_word" >&5
8616 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8617 echo $ac_n "(cached) $ac_c" 1>&6
8619 if test -n "$CC"; then
8620 ac_cv_prog_CC
="$CC" # Let the user override the test.
8622 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8624 for ac_dir
in $ac_dummy; do
8625 test -z "$ac_dir" && ac_dir
=.
8626 if test -f $ac_dir/$ac_word; then
8635 if test -n "$CC"; then
8636 echo "$ac_t""$CC" 1>&6
8638 echo "$ac_t""no" 1>&6
8641 if test -z "$CC"; then
8642 # Extract the first word of "cc", so it can be a program name with args.
8643 set dummy cc
; ac_word
=$2
8644 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8645 echo "configure:8646: checking for $ac_word" >&5
8646 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8647 echo $ac_n "(cached) $ac_c" 1>&6
8649 if test -n "$CC"; then
8650 ac_cv_prog_CC
="$CC" # Let the user override the test.
8652 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8655 for ac_dir
in $ac_dummy; do
8656 test -z "$ac_dir" && ac_dir
=.
8657 if test -f $ac_dir/$ac_word; then
8658 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8659 ac_prog_rejected
=yes
8667 if test $ac_prog_rejected = yes; then
8668 # We found a bogon in the path, so make sure we never use it.
8669 set dummy
$ac_cv_prog_CC
8671 if test $# -gt 0; then
8672 # We chose a different compiler from the bogus one.
8673 # However, it has the same basename, so the bogon will be chosen
8674 # first if we set CC to just the basename; use the full file name.
8676 set dummy
"$ac_dir/$ac_word" "$@"
8684 if test -n "$CC"; then
8685 echo "$ac_t""$CC" 1>&6
8687 echo "$ac_t""no" 1>&6
8690 if test -z "$CC"; then
8691 case "`uname -s`" in
8693 # Extract the first word of "cl", so it can be a program name with args.
8694 set dummy cl
; ac_word
=$2
8695 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8696 echo "configure:8697: checking for $ac_word" >&5
8697 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8698 echo $ac_n "(cached) $ac_c" 1>&6
8700 if test -n "$CC"; then
8701 ac_cv_prog_CC
="$CC" # Let the user override the test.
8703 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8705 for ac_dir
in $ac_dummy; do
8706 test -z "$ac_dir" && ac_dir
=.
8707 if test -f $ac_dir/$ac_word; then
8716 if test -n "$CC"; then
8717 echo "$ac_t""$CC" 1>&6
8719 echo "$ac_t""no" 1>&6
8724 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8727 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8728 echo "configure:8729: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8731 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8732 ac_cpp
='$CPP $CPPFLAGS'
8733 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8734 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8735 cross_compiling
=$ac_cv_prog_cc_cross
8737 cat > conftest.
$ac_ext << EOF
8739 #line 8740 "configure"
8740 #include "confdefs.h"
8744 if { (eval echo configure
:8745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8745 ac_cv_prog_cc_works
=yes
8746 # If we can't run a trivial program, we are probably using a cross compiler.
8747 if (.
/conftest
; exit) 2>/dev
/null
; then
8748 ac_cv_prog_cc_cross
=no
8750 ac_cv_prog_cc_cross
=yes
8753 echo "configure: failed program was:" >&5
8754 cat conftest.
$ac_ext >&5
8755 ac_cv_prog_cc_works
=no
8759 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8760 ac_cpp
='$CPP $CPPFLAGS'
8761 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8762 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8763 cross_compiling
=$ac_cv_prog_cc_cross
8765 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8766 if test $ac_cv_prog_cc_works = no
; then
8767 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8769 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8770 echo "configure:8771: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8771 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8772 cross_compiling
=$ac_cv_prog_cc_cross
8774 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8775 echo "configure:8776: checking whether we are using GNU C" >&5
8776 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8777 echo $ac_n "(cached) $ac_c" 1>&6
8779 cat > conftest.c
<<EOF
8784 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8791 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8793 if test $ac_cv_prog_gcc = yes; then
8799 ac_test_CFLAGS
="${CFLAGS+set}"
8800 ac_save_CFLAGS
="$CFLAGS"
8802 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8803 echo "configure:8804: checking whether ${CC-cc} accepts -g" >&5
8804 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8805 echo $ac_n "(cached) $ac_c" 1>&6
8807 echo 'void f(){}' > conftest.c
8808 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8817 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8818 if test "$ac_test_CFLAGS" = set; then
8819 CFLAGS
="$ac_save_CFLAGS"
8820 elif test $ac_cv_prog_cc_g = yes; then
8821 if test "$GCC" = yes; then
8827 if test "$GCC" = yes; then
8835 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8837 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8838 echo "configure:8839: checking how to run the C preprocessor" >&5
8839 # On Suns, sometimes $CPP names a directory.
8840 if test -n "$CPP" && test -d "$CPP"; then
8843 if test -z "$CPP"; then
8844 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8845 echo $ac_n "(cached) $ac_c" 1>&6
8847 # This must be in double quotes, not single quotes, because CPP may get
8848 # substituted into the Makefile and "${CC-cc}" will confuse make.
8850 # On the NeXT, cc -E runs the code through the compiler's parser,
8851 # not just through cpp.
8852 cat > conftest.
$ac_ext <<EOF
8853 #line 8854 "configure"
8854 #include "confdefs.h"
8858 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8859 { (eval echo configure
:8860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8860 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8861 if test -z "$ac_err"; then
8865 echo "configure: failed program was:" >&5
8866 cat conftest.
$ac_ext >&5
8868 CPP
="${CC-cc} -E -traditional-cpp"
8869 cat > conftest.
$ac_ext <<EOF
8870 #line 8871 "configure"
8871 #include "confdefs.h"
8875 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8876 { (eval echo configure
:8877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8877 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8878 if test -z "$ac_err"; then
8882 echo "configure: failed program was:" >&5
8883 cat conftest.
$ac_ext >&5
8885 CPP
="${CC-cc} -nologo -E"
8886 cat > conftest.
$ac_ext <<EOF
8887 #line 8888 "configure"
8888 #include "confdefs.h"
8892 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8893 { (eval echo configure
:8894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8894 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8895 if test -z "$ac_err"; then
8899 echo "configure: failed program was:" >&5
8900 cat conftest.
$ac_ext >&5
8909 ac_cv_prog_CPP
="$CPP"
8911 CPP
="$ac_cv_prog_CPP"
8913 ac_cv_prog_CPP
="$CPP"
8915 echo "$ac_t""$CPP" 1>&6
8917 if test $ac_cv_prog_gcc = yes; then
8918 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8919 echo "configure:8920: checking whether ${CC-cc} needs -traditional" >&5
8920 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8921 echo $ac_n "(cached) $ac_c" 1>&6
8923 ac_pattern
="Autoconf.*'x'"
8924 cat > conftest.
$ac_ext <<EOF
8925 #line 8926 "configure"
8926 #include "confdefs.h"
8930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8931 egrep "$ac_pattern" >/dev
/null
2>&1; then
8933 ac_cv_prog_gcc_traditional
=yes
8936 ac_cv_prog_gcc_traditional
=no
8941 if test $ac_cv_prog_gcc_traditional = no
; then
8942 cat > conftest.
$ac_ext <<EOF
8943 #line 8944 "configure"
8944 #include "confdefs.h"
8948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8949 egrep "$ac_pattern" >/dev
/null
2>&1; then
8951 ac_cv_prog_gcc_traditional
=yes
8958 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8959 if test $ac_cv_prog_gcc_traditional = yes; then
8960 CC
="$CC -traditional"
8967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8968 ac_cpp
='$CXXCPP $CPPFLAGS'
8969 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8970 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8971 cross_compiling
=$ac_cv_prog_cxx_cross
8974 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8976 # Extract the first word of "$ac_prog", so it can be a program name with args.
8977 set dummy
$ac_prog; ac_word
=$2
8978 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8979 echo "configure:8980: checking for $ac_word" >&5
8980 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8981 echo $ac_n "(cached) $ac_c" 1>&6
8983 if test -n "$CXX"; then
8984 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8986 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8988 for ac_dir
in $ac_dummy; do
8989 test -z "$ac_dir" && ac_dir
=.
8990 if test -f $ac_dir/$ac_word; then
8991 ac_cv_prog_CXX
="$ac_prog"
8998 CXX
="$ac_cv_prog_CXX"
8999 if test -n "$CXX"; then
9000 echo "$ac_t""$CXX" 1>&6
9002 echo "$ac_t""no" 1>&6
9005 test -n "$CXX" && break
9007 test -n "$CXX" || CXX
="gcc"
9010 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9011 echo "configure:9012: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9015 ac_cpp
='$CXXCPP $CPPFLAGS'
9016 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9017 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9018 cross_compiling
=$ac_cv_prog_cxx_cross
9020 cat > conftest.
$ac_ext << EOF
9022 #line 9023 "configure"
9023 #include "confdefs.h"
9025 int main(){return(0);}
9027 if { (eval echo configure
:9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9028 ac_cv_prog_cxx_works
=yes
9029 # If we can't run a trivial program, we are probably using a cross compiler.
9030 if (.
/conftest
; exit) 2>/dev
/null
; then
9031 ac_cv_prog_cxx_cross
=no
9033 ac_cv_prog_cxx_cross
=yes
9036 echo "configure: failed program was:" >&5
9037 cat conftest.
$ac_ext >&5
9038 ac_cv_prog_cxx_works
=no
9042 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9043 ac_cpp
='$CXXCPP $CPPFLAGS'
9044 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9045 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9046 cross_compiling
=$ac_cv_prog_cxx_cross
9048 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9049 if test $ac_cv_prog_cxx_works = no
; then
9050 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9052 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9053 echo "configure:9054: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9054 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9055 cross_compiling
=$ac_cv_prog_cxx_cross
9057 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9058 echo "configure:9059: checking whether we are using GNU C++" >&5
9059 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9060 echo $ac_n "(cached) $ac_c" 1>&6
9062 cat > conftest.C
<<EOF
9067 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9074 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9076 if test $ac_cv_prog_gxx = yes; then
9082 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9083 ac_save_CXXFLAGS
="$CXXFLAGS"
9085 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9086 echo "configure:9087: checking whether ${CXX-g++} accepts -g" >&5
9087 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9088 echo $ac_n "(cached) $ac_c" 1>&6
9090 echo 'void f(){}' > conftest.cc
9091 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9092 ac_cv_prog_cxx_g
=yes
9100 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9101 if test "$ac_test_CXXFLAGS" = set; then
9102 CXXFLAGS
="$ac_save_CXXFLAGS"
9103 elif test $ac_cv_prog_cxx_g = yes; then
9104 if test "$GXX" = yes; then
9110 if test "$GXX" = yes; then
9118 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
9121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9122 ac_cpp
='$CPP $CPPFLAGS'
9123 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9124 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9125 cross_compiling
=$ac_cv_prog_cc_cross
9128 # Extract the first word of "ranlib", so it can be a program name with args.
9129 set dummy ranlib
; ac_word
=$2
9130 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9131 echo "configure:9132: checking for $ac_word" >&5
9132 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9133 echo $ac_n "(cached) $ac_c" 1>&6
9135 if test -n "$RANLIB"; then
9136 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9138 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9140 for ac_dir
in $ac_dummy; do
9141 test -z "$ac_dir" && ac_dir
=.
9142 if test -f $ac_dir/$ac_word; then
9143 ac_cv_prog_RANLIB
="ranlib"
9148 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9151 RANLIB
="$ac_cv_prog_RANLIB"
9152 if test -n "$RANLIB"; then
9153 echo "$ac_t""$RANLIB" 1>&6
9155 echo "$ac_t""no" 1>&6
9159 # Extract the first word of "ar", so it can be a program name with args.
9160 set dummy
ar; ac_word
=$2
9161 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9162 echo "configure:9163: checking for $ac_word" >&5
9163 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9164 echo $ac_n "(cached) $ac_c" 1>&6
9166 if test -n "$AR"; then
9167 ac_cv_prog_AR
="$AR" # Let the user override the test.
9169 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9171 for ac_dir
in $ac_dummy; do
9172 test -z "$ac_dir" && ac_dir
=.
9173 if test -f $ac_dir/$ac_word; then
9179 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9183 if test -n "$AR"; then
9184 echo "$ac_t""$AR" 1>&6
9186 echo "$ac_t""no" 1>&6
9190 # Find a good install program. We prefer a C program (faster),
9191 # so one script is as good as another. But avoid the broken or
9192 # incompatible versions:
9193 # SysV /etc/install, /usr/sbin/install
9194 # SunOS /usr/etc/install
9195 # IRIX /sbin/install
9197 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9198 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9199 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9200 # ./install, which can be erroneously created by make from ./install.sh.
9201 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9202 echo "configure:9203: checking for a BSD compatible install" >&5
9203 if test -z "$INSTALL"; then
9204 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9205 echo $ac_n "(cached) $ac_c" 1>&6
9207 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9208 for ac_dir
in $PATH; do
9209 # Account for people who put trailing slashes in PATH elements.
9211 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9213 # OSF1 and SCO ODT 3.0 have their own names for install.
9214 # Don't use installbsd from OSF since it installs stuff as root
9216 for ac_prog
in ginstall scoinst
install; do
9217 if test -f $ac_dir/$ac_prog; then
9218 if test $ac_prog = install &&
9219 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9220 # AIX install. It has an incompatible calling convention.
9223 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9234 if test "${ac_cv_path_install+set}" = set; then
9235 INSTALL
="$ac_cv_path_install"
9237 # As a last resort, use the slow shell script. We don't cache a
9238 # path for INSTALL within a source directory, because that will
9239 # break other packages using the cache if that directory is
9240 # removed, or if the path is relative.
9241 INSTALL
="$ac_install_sh"
9244 echo "$ac_t""$INSTALL" 1>&6
9246 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9247 # It thinks the first close brace ends the variable substitution.
9248 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9250 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9252 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9257 INSTALL_PROGRAM
="cp -fp"
9258 INSTALL_DATA
="cp -fp"
9264 # Extract the first word of "strip", so it can be a program name with args.
9265 set dummy strip
; ac_word
=$2
9266 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9267 echo "configure:9268: checking for $ac_word" >&5
9268 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9269 echo $ac_n "(cached) $ac_c" 1>&6
9271 if test -n "$STRIP"; then
9272 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9274 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9276 for ac_dir
in $ac_dummy; do
9277 test -z "$ac_dir" && ac_dir
=.
9278 if test -f $ac_dir/$ac_word; then
9279 ac_cv_prog_STRIP
="strip"
9284 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9287 STRIP
="$ac_cv_prog_STRIP"
9288 if test -n "$STRIP"; then
9289 echo "$ac_t""$STRIP" 1>&6
9291 echo "$ac_t""no" 1>&6
9295 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9296 echo "configure:9297: checking if make is GNU make" >&5
9297 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9298 echo $ac_n "(cached) $ac_c" 1>&6
9301 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9303 wx_cv_prog_makeisgnu
="yes"
9305 wx_cv_prog_makeisgnu
="no"
9310 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9312 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9320 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9321 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9322 echo "configure:9323: checking if make supports VPATH" >&5
9323 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9324 echo $ac_n "(cached) $ac_c" 1>&6
9327 cat - << EOF > confMake
9333 if test ! -d sub
; then
9336 echo dummy
> sub
/file
9337 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9339 rm -f sub
/file check final_file confMake
9341 if test "$RESULT" = 0; then
9342 wx_cv_prog_makevpath
="yes"
9344 wx_cv_prog_makevpath
="no"
9349 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9351 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9352 { echo "configure: error:
9353 You need a make-utility that is able to use the variable
9355 If your version of make does not support VPATH correctly,
9356 please install GNU-make (possibly as gmake), and start
9357 configure with the following command:
9358 export MAKE=gmake; ./configure for sh-type shells
9359 setenv MAKE gmake; ./configure for csh-type shells
9360 Also please do remember to use gmake in this case every time
9361 you are trying to compile.
9364 for ac_prog
in 'bison -y' byacc
9366 # Extract the first word of "$ac_prog", so it can be a program name with args.
9367 set dummy
$ac_prog; ac_word
=$2
9368 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9369 echo "configure:9370: checking for $ac_word" >&5
9370 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9371 echo $ac_n "(cached) $ac_c" 1>&6
9373 if test -n "$YACC"; then
9374 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9376 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9378 for ac_dir
in $ac_dummy; do
9379 test -z "$ac_dir" && ac_dir
=.
9380 if test -f $ac_dir/$ac_word; then
9381 ac_cv_prog_YACC
="$ac_prog"
9388 YACC
="$ac_cv_prog_YACC"
9389 if test -n "$YACC"; then
9390 echo "$ac_t""$YACC" 1>&6
9392 echo "$ac_t""no" 1>&6
9395 test -n "$YACC" && break
9397 test -n "$YACC" || YACC
="yacc"
9400 # Extract the first word of "flex", so it can be a program name with args.
9401 set dummy flex
; ac_word
=$2
9402 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9403 echo "configure:9404: checking for $ac_word" >&5
9404 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9405 echo $ac_n "(cached) $ac_c" 1>&6
9407 if test -n "$LEX"; then
9408 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9410 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9412 for ac_dir
in $ac_dummy; do
9413 test -z "$ac_dir" && ac_dir
=.
9414 if test -f $ac_dir/$ac_word; then
9415 ac_cv_prog_LEX
="flex"
9420 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9423 LEX
="$ac_cv_prog_LEX"
9424 if test -n "$LEX"; then
9425 echo "$ac_t""$LEX" 1>&6
9427 echo "$ac_t""no" 1>&6
9430 if test -z "$LEXLIB"
9436 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9437 echo "configure:9438: checking for yywrap in -l$ac_lib" >&5
9438 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9439 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9440 echo $ac_n "(cached) $ac_c" 1>&6
9442 ac_save_LIBS
="$LIBS"
9443 LIBS
="-l$ac_lib $LIBS"
9444 cat > conftest.
$ac_ext <<EOF
9445 #line 9446 "configure"
9446 #include "confdefs.h"
9447 /* Override any gcc2 internal prototype to avoid an error. */
9448 /* We use char because int might match the return type of a gcc2
9449 builtin and then its argument prototype would still apply. */
9456 if { (eval echo configure
:9457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9458 eval "ac_cv_lib_$ac_lib_var=yes"
9460 echo "configure: failed program was:" >&5
9461 cat conftest.
$ac_ext >&5
9463 eval "ac_cv_lib_$ac_lib_var=no"
9466 LIBS
="$ac_save_LIBS"
9469 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9470 echo "$ac_t""yes" 1>&6
9473 echo "$ac_t""no" 1>&6
9479 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9480 echo "configure:9481: checking whether ln -s works" >&5
9481 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9482 echo $ac_n "(cached) $ac_c" 1>&6
9485 if ln -s X conftestdata
2>/dev
/null
9488 ac_cv_prog_LN_S
="ln -s"
9493 LN_S
="$ac_cv_prog_LN_S"
9494 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9495 echo "$ac_t""yes" 1>&6
9497 echo "$ac_t""no" 1>&6
9503 /usr/local/include \
9505 /usr/Motif-1.2/include \
9506 /usr/Motif-2.1/include \
9508 /usr/include/Motif1.2 \
9509 /opt/xpm/include/X11 \
9510 /opt/GBxpm/include/ \
9511 /opt/GBxpm/X11/include/ \
9513 /usr/Motif1.2/include \
9515 /usr/openwin/include \
9519 /usr/X11R6/include \
9520 /usr/X11R6.4/include \
9521 /usr/X11R5/include \
9522 /usr/X11R4/include \
9524 /usr/include/X11R6 \
9525 /usr/include/X11R5 \
9526 /usr/include/X11R4 \
9528 /usr/local/X11R6/include \
9529 /usr/local/X11R5/include \
9530 /usr/local/X11R4/include \
9532 /usr/local/include/X11R6 \
9533 /usr/local/include/X11R5 \
9534 /usr/local/include/X11R4 \
9538 /usr/local/X11/include \
9539 /usr/local/include/X11 \
9543 /usr/XFree86/include/X11 \
9545 X:/XFree86/include \
9546 X:/XFree86/include/X11 \
9549 /usr/local/include/gtk \
9551 /usr/local/include/glib \
9554 /usr/local/include/qt \
9556 /usr/include/windows \
9558 /usr/local/include/wine \
9560 /usr/unsupported/include \
9561 /usr/athena/include \
9562 /usr/local/x11r5/include \
9563 /usr/lpp/Xamples/include \
9565 /usr/openwin/share/include \
9569 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9572 cat > confcache
<<\EOF
9573 # This file is a shell script that caches the results of configure
9574 # tests run on this system so they can be shared between configure
9575 # scripts and configure runs. It is not useful on other systems.
9576 # If it contains results you don't want to keep, you may remove or edit it.
9578 # By default, configure uses ./config.cache as the cache file,
9579 # creating it if it does not exist already. You can give configure
9580 # the --cache-file=FILE option to use a different cache file; that is
9581 # what configure does when it calls configure scripts in
9582 # subdirectories, so they share the cache.
9583 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9584 # config.status only pays attention to the cache file if you give it the
9585 # --recheck option to rerun configure.
9588 # The following way of writing the cache mishandles newlines in values,
9589 # but we know of no workaround that is simple, portable, and efficient.
9590 # So, don't put newlines in cache variables' values.
9591 # Ultrix sh set writes to stderr and can't be redirected directly,
9592 # and sets the high bit in the cache file unless we assign to the vars.
9594 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9596 # `set' does not quote correctly, so add quotes (double-quote substitution
9597 # turns \\\\ into \\, and sed turns \\ into \).
9599 -e "s/'/'\\\\''/g" \
9600 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9603 # `set' quotes correctly as required by POSIX, so do not add quotes.
9604 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9607 if cmp -s $cache_file confcache
; then
9610 if test -w $cache_file; then
9611 echo "updating cache $cache_file"
9612 cat confcache
> $cache_file
9614 echo "not updating unwritable cache $cache_file"
9623 if test "$wxUSE_REGEX" != "no"; then
9624 cat >> confdefs.h
<<\EOF
9625 #define wxUSE_REGEX 1
9629 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9630 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9631 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9632 echo "configure:9633: checking for regex.h" >&5
9633 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9634 echo $ac_n "(cached) $ac_c" 1>&6
9636 cat > conftest.
$ac_ext <<EOF
9637 #line 9638 "configure"
9638 #include "confdefs.h"
9641 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9642 { (eval echo configure
:9643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9643 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9644 if test -z "$ac_err"; then
9646 eval "ac_cv_header_$ac_safe=yes"
9649 echo "configure: failed program was:" >&5
9650 cat conftest.
$ac_ext >&5
9652 eval "ac_cv_header_$ac_safe=no"
9656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9657 echo "$ac_t""yes" 1>&6
9658 for ac_func
in regcomp
9660 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9661 echo "configure:9662: checking for $ac_func" >&5
9662 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9663 echo $ac_n "(cached) $ac_c" 1>&6
9665 cat > conftest.
$ac_ext <<EOF
9666 #line 9667 "configure"
9667 #include "confdefs.h"
9668 /* System header to define __stub macros and hopefully few prototypes,
9669 which can conflict with char $ac_func(); below. */
9671 /* Override any gcc2 internal prototype to avoid an error. */
9672 /* We use char because int might match the return type of a gcc2
9673 builtin and then its argument prototype would still apply. */
9678 /* The GNU C library defines this for functions which it implements
9679 to always fail with ENOSYS. Some functions are actually named
9680 something starting with __ and the normal name is an alias. */
9681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9689 if { (eval echo configure
:9690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9691 eval "ac_cv_func_$ac_func=yes"
9693 echo "configure: failed program was:" >&5
9694 cat conftest.
$ac_ext >&5
9696 eval "ac_cv_func_$ac_func=no"
9701 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9702 echo "$ac_t""yes" 1>&6
9703 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9704 cat >> confdefs.h
<<EOF
9705 #define $ac_tr_func 1
9709 echo "$ac_t""no" 1>&6
9714 echo "$ac_t""no" 1>&6
9718 if test "x$ac_cv_func_regcomp" != "xyes"; then
9719 if test "$wxUSE_REGEX" = "sys" ; then
9720 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9722 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9730 if test "$wxUSE_REGEX" = "builtin" ; then
9731 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9738 if test "$wxUSE_ZLIB" != "no" ; then
9739 cat >> confdefs.h
<<\EOF
9740 #define wxUSE_ZLIB 1
9744 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9745 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9746 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9747 echo "configure:9748: checking for zlib.h" >&5
9748 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9749 echo $ac_n "(cached) $ac_c" 1>&6
9751 cat > conftest.
$ac_ext <<EOF
9752 #line 9753 "configure"
9753 #include "confdefs.h"
9756 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9757 { (eval echo configure
:9758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9758 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9759 if test -z "$ac_err"; then
9761 eval "ac_cv_header_$ac_safe=yes"
9764 echo "configure: failed program was:" >&5
9765 cat conftest.
$ac_ext >&5
9767 eval "ac_cv_header_$ac_safe=no"
9771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9772 echo "$ac_t""yes" 1>&6
9773 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9774 echo "configure:9775: checking for deflate in -lz" >&5
9775 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9776 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9777 echo $ac_n "(cached) $ac_c" 1>&6
9779 ac_save_LIBS
="$LIBS"
9781 cat > conftest.
$ac_ext <<EOF
9782 #line 9783 "configure"
9783 #include "confdefs.h"
9784 /* Override any gcc2 internal prototype to avoid an error. */
9785 /* We use char because int might match the return type of a gcc2
9786 builtin and then its argument prototype would still apply. */
9793 if { (eval echo configure
:9794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9795 eval "ac_cv_lib_$ac_lib_var=yes"
9797 echo "configure: failed program was:" >&5
9798 cat conftest.
$ac_ext >&5
9800 eval "ac_cv_lib_$ac_lib_var=no"
9803 LIBS
="$ac_save_LIBS"
9806 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9807 echo "$ac_t""yes" 1>&6
9810 echo "$ac_t""no" 1>&6
9814 echo "$ac_t""no" 1>&6
9818 if test "x$ZLIB_LINK" = "x" ; then
9819 if test "$wxUSE_ZLIB" = "sys" ; then
9820 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9822 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9830 if test "$wxUSE_ZLIB" = "builtin" ; then
9831 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9838 if test "$wxUSE_LIBPNG" != "no" ; then
9839 cat >> confdefs.h
<<\EOF
9840 #define wxUSE_LIBPNG 1
9844 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
9845 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
9849 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9850 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9851 wxUSE_LIBPNG
=builtin
9854 if test "$wxUSE_MGL" != 1 ; then
9855 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9856 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9857 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9858 echo "configure:9859: checking for png.h" >&5
9859 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9860 echo $ac_n "(cached) $ac_c" 1>&6
9862 cat > conftest.
$ac_ext <<EOF
9863 #line 9864 "configure"
9864 #include "confdefs.h"
9867 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9868 { (eval echo configure
:9869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9869 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9870 if test -z "$ac_err"; then
9872 eval "ac_cv_header_$ac_safe=yes"
9875 echo "configure: failed program was:" >&5
9876 cat conftest.
$ac_ext >&5
9878 eval "ac_cv_header_$ac_safe=no"
9882 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9883 echo "$ac_t""yes" 1>&6
9884 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9885 echo "configure:9886: checking for png_check_sig in -lpng" >&5
9886 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9887 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9888 echo $ac_n "(cached) $ac_c" 1>&6
9890 ac_save_LIBS
="$LIBS"
9891 LIBS
="-lpng -lz -lm $LIBS"
9892 cat > conftest.
$ac_ext <<EOF
9893 #line 9894 "configure"
9894 #include "confdefs.h"
9895 /* Override any gcc2 internal prototype to avoid an error. */
9896 /* We use char because int might match the return type of a gcc2
9897 builtin and then its argument prototype would still apply. */
9898 char png_check_sig();
9904 if { (eval echo configure
:9905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9906 eval "ac_cv_lib_$ac_lib_var=yes"
9908 echo "configure: failed program was:" >&5
9909 cat conftest.
$ac_ext >&5
9911 eval "ac_cv_lib_$ac_lib_var=no"
9914 LIBS
="$ac_save_LIBS"
9917 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9918 echo "$ac_t""yes" 1>&6
9921 echo "$ac_t""no" 1>&6
9926 echo "$ac_t""no" 1>&6
9930 if test "x$PNG_LINK" = "x" ; then
9931 if test "$wxUSE_LIBPNG" = "sys" ; then
9932 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9934 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9935 wxUSE_LIBPNG
=builtin
9943 if test "$wxUSE_LIBPNG" = "builtin" ; then
9944 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9953 if test "$wxUSE_LIBJPEG" != "no" ; then
9954 cat >> confdefs.h
<<\EOF
9955 #define wxUSE_LIBJPEG 1
9959 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
9960 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
9964 if test "$wxUSE_MGL" != 1 ; then
9965 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9966 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9967 echo "configure:9968: checking for jpeglib.h" >&5
9968 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9969 echo $ac_n "(cached) $ac_c" 1>&6
9971 cat > conftest.
$ac_ext <<EOF
9972 #line 9973 "configure"
9973 #include "confdefs.h"
9975 #undef HAVE_STDLIB_H
9977 #include <jpeglib.h>
9984 if { (eval echo configure
:9985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9986 ac_cv_header_jpeglib_h
=yes
9988 echo "configure: failed program was:" >&5
9989 cat conftest.
$ac_ext >&5
9991 ac_cv_header_jpeglib_h
=no
9998 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
10000 if test "$ac_cv_header_jpeglib_h" = "yes"; then
10001 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
10002 echo "configure:10003: checking for jpeg_read_header in -ljpeg" >&5
10003 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
10004 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10005 echo $ac_n "(cached) $ac_c" 1>&6
10007 ac_save_LIBS
="$LIBS"
10008 LIBS
="-ljpeg $LIBS"
10009 cat > conftest.
$ac_ext <<EOF
10010 #line 10011 "configure"
10011 #include "confdefs.h"
10012 /* Override any gcc2 internal prototype to avoid an error. */
10013 /* We use char because int might match the return type of a gcc2
10014 builtin and then its argument prototype would still apply. */
10015 char jpeg_read_header();
10021 if { (eval echo configure
:10022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10023 eval "ac_cv_lib_$ac_lib_var=yes"
10025 echo "configure: failed program was:" >&5
10026 cat conftest.
$ac_ext >&5
10028 eval "ac_cv_lib_$ac_lib_var=no"
10031 LIBS
="$ac_save_LIBS"
10034 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10035 echo "$ac_t""yes" 1>&6
10036 JPEG_LINK
=" -ljpeg"
10038 echo "$ac_t""no" 1>&6
10043 if test "x$JPEG_LINK" = "x" ; then
10044 if test "$wxUSE_LIBJPEG" = "sys" ; then
10045 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
10047 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
10048 wxUSE_LIBJPEG
=builtin
10056 if test "$wxUSE_LIBJPEG" = "builtin" ; then
10057 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10064 if test "$wxUSE_LIBTIFF" != "no" ; then
10065 cat >> confdefs.h
<<\EOF
10066 #define wxUSE_LIBTIFF 1
10070 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
10071 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10072 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10073 echo "configure:10074: checking for tiffio.h" >&5
10074 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10075 echo $ac_n "(cached) $ac_c" 1>&6
10077 cat > conftest.
$ac_ext <<EOF
10078 #line 10079 "configure"
10079 #include "confdefs.h"
10080 #include <tiffio.h>
10082 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10083 { (eval echo configure
:10084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10084 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10085 if test -z "$ac_err"; then
10087 eval "ac_cv_header_$ac_safe=yes"
10090 echo "configure: failed program was:" >&5
10091 cat conftest.
$ac_ext >&5
10093 eval "ac_cv_header_$ac_safe=no"
10097 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10098 echo "$ac_t""yes" 1>&6
10099 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
10100 echo "configure:10101: checking for TIFFError in -ltiff" >&5
10101 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
10102 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10103 echo $ac_n "(cached) $ac_c" 1>&6
10105 ac_save_LIBS
="$LIBS"
10106 LIBS
="-ltiff -lm $LIBS"
10107 cat > conftest.
$ac_ext <<EOF
10108 #line 10109 "configure"
10109 #include "confdefs.h"
10110 /* Override any gcc2 internal prototype to avoid an error. */
10111 /* We use char because int might match the return type of a gcc2
10112 builtin and then its argument prototype would still apply. */
10119 if { (eval echo configure
:10120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10121 eval "ac_cv_lib_$ac_lib_var=yes"
10123 echo "configure: failed program was:" >&5
10124 cat conftest.
$ac_ext >&5
10126 eval "ac_cv_lib_$ac_lib_var=no"
10129 LIBS
="$ac_save_LIBS"
10132 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10133 echo "$ac_t""yes" 1>&6
10134 TIFF_LINK
=" -ltiff"
10136 echo "$ac_t""no" 1>&6
10141 echo "$ac_t""no" 1>&6
10145 if test "x$TIFF_LINK" = "x" ; then
10146 if test "$wxUSE_LIBTIFF" = "sys" ; then
10147 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10149 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10150 wxUSE_LIBTIFF
=builtin
10157 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10158 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
10169 if test "$USE_WIN32" = 1 ; then
10170 for ac_hdr
in w32api.h
10172 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10173 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10174 echo "configure:10175: checking for $ac_hdr" >&5
10175 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10176 echo $ac_n "(cached) $ac_c" 1>&6
10178 cat > conftest.
$ac_ext <<EOF
10179 #line 10180 "configure"
10180 #include "confdefs.h"
10183 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10184 { (eval echo configure
:10185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10185 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10186 if test -z "$ac_err"; then
10188 eval "ac_cv_header_$ac_safe=yes"
10191 echo "configure: failed program was:" >&5
10192 cat conftest.
$ac_ext >&5
10194 eval "ac_cv_header_$ac_safe=no"
10198 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10199 echo "$ac_t""yes" 1>&6
10200 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10201 cat >> confdefs.h
<<EOF
10202 #define $ac_tr_hdr 1
10206 echo "$ac_t""no" 1>&6
10210 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10211 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10212 echo "configure:10213: checking for windows.h" >&5
10213 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10214 echo $ac_n "(cached) $ac_c" 1>&6
10216 cat > conftest.
$ac_ext <<EOF
10217 #line 10218 "configure"
10218 #include "confdefs.h"
10219 #include <windows.h>
10221 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10222 { (eval echo configure
:10223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10223 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10224 if test -z "$ac_err"; then
10226 eval "ac_cv_header_$ac_safe=yes"
10229 echo "configure: failed program was:" >&5
10230 cat conftest.
$ac_ext >&5
10232 eval "ac_cv_header_$ac_safe=no"
10236 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10237 echo "$ac_t""yes" 1>&6
10240 echo "$ac_t""no" 1>&6
10242 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10247 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10248 echo "configure:10249: checking if w32api has good enough MSIE support" >&5
10249 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10250 echo $ac_n "(cached) $ac_c" 1>&6
10253 cat > conftest.
$ac_ext <<EOF
10254 #line 10255 "configure"
10255 #include "confdefs.h"
10256 #include <w32api.h>
10259 #define wxCHECK_W32API_VERSION( major, minor ) \
10260 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10261 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10262 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10264 #if !wxCHECK_W32API_VERSION(1,1)
10265 #error You need w32api 1.1 or newer
10270 if { (eval echo configure
:10271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10273 wx_cv_w32api_win32_ie
=yes
10276 echo "configure: failed program was:" >&5
10277 cat conftest.
$ac_ext >&5
10280 wx_cv_w32api_win32_ie
=no
10287 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10288 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10289 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10292 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10296 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10297 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10300 if test "$wxUSE_ODBC" = "yes" ; then
10301 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10304 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10305 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10308 if test "$wxUSE_GUI" = "yes"; then
10317 if test "$wxUSE_MSW" = 1 ; then
10323 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10327 if test "$wxUSE_GTK" = 1; then
10328 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10329 echo "configure:10330: checking for GTK+ version" >&5
10331 gtk_version_cached
=1
10332 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10333 echo $ac_n "(cached) $ac_c" 1>&6
10336 gtk_version_cached
=0
10337 echo "$ac_t""" 1>&6
10340 if test "$wxUSE_THREADS" = "yes"; then
10341 GTK_MODULES
=gthread
10345 if test "x$wxUSE_GTK2" = "xyes"; then
10346 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10347 if test "${with_gtk_prefix+set}" = set; then
10348 withval
="$with_gtk_prefix"
10349 gtk_config_prefix
="$withval"
10351 gtk_config_prefix
=""
10354 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10355 if test "${with_gtk_exec_prefix+set}" = set; then
10356 withval
="$with_gtk_exec_prefix"
10357 gtk_config_exec_prefix
="$withval"
10359 gtk_config_exec_prefix
=""
10362 # Check whether --enable-gtktest or --disable-gtktest was given.
10363 if test "${enable_gtktest+set}" = set; then
10364 enableval
="$enable_gtktest"
10371 for module
in .
$GTK_MODULES
10375 gtk_config_args
="$gtk_config_args gthread"
10380 if test x
$gtk_config_exec_prefix != x
; then
10381 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10382 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10383 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
10386 if test x
$gtk_config_prefix != x
; then
10387 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10388 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10389 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
10393 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10394 set dummy gtk
-config-2.0
; ac_word
=$2
10395 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10396 echo "configure:10397: checking for $ac_word" >&5
10397 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10398 echo $ac_n "(cached) $ac_c" 1>&6
10400 case "$GTK_CONFIG_2_0" in
10402 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10405 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10408 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10410 for ac_dir
in $ac_dummy; do
10411 test -z "$ac_dir" && ac_dir
=.
10412 if test -f $ac_dir/$ac_word; then
10413 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
10418 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
10422 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
10423 if test -n "$GTK_CONFIG_2_0"; then
10424 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10426 echo "$ac_t""no" 1>&6
10429 min_gtk_version
=1.3.1
10430 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10431 echo "configure:10432: checking for GTK - version >= $min_gtk_version" >&5
10433 if test "$GTK_CONFIG_2_0" = "no" ; then
10436 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10437 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10438 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10440 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10442 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10444 if test "x$enable_gtktest" = "xyes" ; then
10445 ac_save_CFLAGS
="$CFLAGS"
10446 ac_save_LIBS
="$LIBS"
10447 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10448 LIBS
="$GTK_LIBS $LIBS"
10450 if test "$cross_compiling" = yes; then
10451 echo $ac_n "cross compiling; assumed OK... $ac_c"
10453 cat > conftest.
$ac_ext <<EOF
10454 #line 10455 "configure"
10455 #include "confdefs.h"
10457 #include <gtk/gtk.h>
10459 #include <stdlib.h>
10464 int major, minor, micro;
10467 system ("touch conf.gtktest");
10469 /* HP/UX 9 (%@#!) writes to sscanf strings */
10470 tmp_version = g_strdup("$min_gtk_version");
10471 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10472 printf("%s, bad version string\n", "$min_gtk_version");
10476 if ((gtk_major_version != $gtk_config_major_version) ||
10477 (gtk_minor_version != $gtk_config_minor_version) ||
10478 (gtk_micro_version != $gtk_config_micro_version))
10480 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10481 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10482 gtk_major_version, gtk_minor_version, gtk_micro_version);
10483 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10484 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10485 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10486 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10487 printf("*** required on your system.\n");
10488 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10489 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10490 printf("*** before re-running configure\n");
10492 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10493 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10494 (gtk_minor_version != GTK_MINOR_VERSION) ||
10495 (gtk_micro_version != GTK_MICRO_VERSION))
10497 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10498 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10499 printf("*** library (version %d.%d.%d)\n",
10500 gtk_major_version, gtk_minor_version, gtk_micro_version);
10502 #endif /* defined (GTK_MAJOR_VERSION) ... */
10505 if ((gtk_major_version > major) ||
10506 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10507 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10513 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10514 gtk_major_version, gtk_minor_version, gtk_micro_version);
10515 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10516 major, minor, micro);
10517 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10519 printf("*** If you have already installed a sufficiently new version, this error\n");
10520 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10521 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10522 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10523 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10524 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10525 printf("*** so that the correct libraries are found at run-time))\n");
10532 if { (eval echo configure
:10533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10536 echo "configure: failed program was:" >&5
10537 cat conftest.
$ac_ext >&5
10544 CFLAGS
="$ac_save_CFLAGS"
10545 LIBS
="$ac_save_LIBS"
10548 if test "x$no_gtk" = x
; then
10549 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10552 echo "$ac_t""no" 1>&6
10553 if test "$GTK_CONFIG_2_0" = "no" ; then
10554 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10555 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10556 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10557 echo "*** full path to gtk-config-2.0."
10559 if test -f conf.gtktest
; then
10562 echo "*** Could not run GTK test program, checking why..."
10563 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10564 LIBS
="$LIBS $GTK_LIBS"
10565 cat > conftest.
$ac_ext <<EOF
10566 #line 10567 "configure"
10567 #include "confdefs.h"
10569 #include <gtk/gtk.h>
10573 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10576 if { (eval echo configure
:10577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10578 echo "*** The test program compiled, but did not run. This usually means"
10579 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10580 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10581 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10582 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10583 echo "*** is required on your system"
10585 echo "*** If you have an old version installed, it is best to remove it, although"
10586 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10588 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10589 echo "*** came with the system with the command"
10591 echo "*** rpm --erase --nodeps gtk gtk-devel"
10593 echo "configure: failed program was:" >&5
10594 cat conftest.
$ac_ext >&5
10596 echo "*** The test program failed to compile or link. See the file config.log for the"
10597 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10598 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10599 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10602 CFLAGS
="$ac_save_CFLAGS"
10603 LIBS
="$ac_save_LIBS"
10616 if test -z "$wx_cv_lib_gtk"; then
10617 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10618 if test "${with_gtk_prefix+set}" = set; then
10619 withval
="$with_gtk_prefix"
10620 gtk_config_prefix
="$withval"
10622 gtk_config_prefix
=""
10625 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10626 if test "${with_gtk_exec_prefix+set}" = set; then
10627 withval
="$with_gtk_exec_prefix"
10628 gtk_config_exec_prefix
="$withval"
10630 gtk_config_exec_prefix
=""
10633 # Check whether --enable-gtktest or --disable-gtktest was given.
10634 if test "${enable_gtktest+set}" = set; then
10635 enableval
="$enable_gtktest"
10642 for module
in .
$GTK_MODULES
10646 gtk_config_args
="$gtk_config_args gthread"
10651 if test x
$gtk_config_exec_prefix != x
; then
10652 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10653 if test x
${GTK_CONFIG+set} != xset
; then
10654 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10657 if test x
$gtk_config_prefix != x
; then
10658 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10659 if test x
${GTK_CONFIG+set} != xset
; then
10660 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10664 # Extract the first word of "gtk-config", so it can be a program name with args.
10665 set dummy gtk
-config; ac_word
=$2
10666 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10667 echo "configure:10668: checking for $ac_word" >&5
10668 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10669 echo $ac_n "(cached) $ac_c" 1>&6
10671 case "$GTK_CONFIG" in
10673 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10676 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10679 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10681 for ac_dir
in $ac_dummy; do
10682 test -z "$ac_dir" && ac_dir
=.
10683 if test -f $ac_dir/$ac_word; then
10684 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10689 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10693 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10694 if test -n "$GTK_CONFIG"; then
10695 echo "$ac_t""$GTK_CONFIG" 1>&6
10697 echo "$ac_t""no" 1>&6
10700 min_gtk_version
=1.2.7
10701 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10702 echo "configure:10703: checking for GTK - version >= $min_gtk_version" >&5
10704 if test "$GTK_CONFIG" = "no" ; then
10707 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10708 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10709 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10710 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10711 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10712 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10713 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10714 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10715 if test "x$enable_gtktest" = "xyes" ; then
10716 ac_save_CFLAGS
="$CFLAGS"
10717 ac_save_LIBS
="$LIBS"
10718 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10719 LIBS
="$GTK_LIBS $LIBS"
10721 if test "$cross_compiling" = yes; then
10722 echo $ac_n "cross compiling; assumed OK... $ac_c"
10724 cat > conftest.
$ac_ext <<EOF
10725 #line 10726 "configure"
10726 #include "confdefs.h"
10728 #include <gtk/gtk.h>
10730 #include <stdlib.h>
10735 int major, minor, micro;
10738 system ("touch conf.gtktest");
10740 /* HP/UX 9 (%@#!) writes to sscanf strings */
10741 tmp_version = g_strdup("$min_gtk_version");
10742 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10743 printf("%s, bad version string\n", "$min_gtk_version");
10747 if ((gtk_major_version != $gtk_config_major_version) ||
10748 (gtk_minor_version != $gtk_config_minor_version) ||
10749 (gtk_micro_version != $gtk_config_micro_version))
10751 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10752 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10753 gtk_major_version, gtk_minor_version, gtk_micro_version);
10754 printf ("*** was found! If gtk-config was correct, then it is best\n");
10755 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10756 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10757 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10758 printf("*** required on your system.\n");
10759 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10760 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10761 printf("*** before re-running configure\n");
10763 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10764 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10765 (gtk_minor_version != GTK_MINOR_VERSION) ||
10766 (gtk_micro_version != GTK_MICRO_VERSION))
10768 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10769 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10770 printf("*** library (version %d.%d.%d)\n",
10771 gtk_major_version, gtk_minor_version, gtk_micro_version);
10773 #endif /* defined (GTK_MAJOR_VERSION) ... */
10776 if ((gtk_major_version > major) ||
10777 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10778 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10784 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10785 gtk_major_version, gtk_minor_version, gtk_micro_version);
10786 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10787 major, minor, micro);
10788 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10790 printf("*** If you have already installed a sufficiently new version, this error\n");
10791 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10792 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10793 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10794 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10795 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10796 printf("*** so that the correct libraries are found at run-time))\n");
10803 if { (eval echo configure
:10804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10807 echo "configure: failed program was:" >&5
10808 cat conftest.
$ac_ext >&5
10815 CFLAGS
="$ac_save_CFLAGS"
10816 LIBS
="$ac_save_LIBS"
10819 if test "x$no_gtk" = x
; then
10820 echo "$ac_t""yes" 1>&6
10821 wx_cv_lib_gtk
=1.2.7
10823 echo "$ac_t""no" 1>&6
10824 if test "$GTK_CONFIG" = "no" ; then
10825 echo "*** The gtk-config script installed by GTK could not be found"
10826 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10827 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10828 echo "*** full path to gtk-config."
10830 if test -f conf.gtktest
; then
10833 echo "*** Could not run GTK test program, checking why..."
10834 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10835 LIBS
="$LIBS $GTK_LIBS"
10836 cat > conftest.
$ac_ext <<EOF
10837 #line 10838 "configure"
10838 #include "confdefs.h"
10840 #include <gtk/gtk.h>
10844 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10847 if { (eval echo configure
:10848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10849 echo "*** The test program compiled, but did not run. This usually means"
10850 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10851 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10852 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10853 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10854 echo "*** is required on your system"
10856 echo "*** If you have an old version installed, it is best to remove it, although"
10857 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10859 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10860 echo "*** came with the system with the command"
10862 echo "*** rpm --erase --nodeps gtk gtk-devel"
10864 echo "configure: failed program was:" >&5
10865 cat conftest.
$ac_ext >&5
10867 echo "*** The test program failed to compile or link. See the file config.log for the"
10868 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10869 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10870 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10873 CFLAGS
="$ac_save_CFLAGS"
10874 LIBS
="$ac_save_LIBS"
10887 if test -z "$wx_cv_lib_gtk"; then
10888 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10889 if test "${with_gtk_prefix+set}" = set; then
10890 withval
="$with_gtk_prefix"
10891 gtk_config_prefix
="$withval"
10893 gtk_config_prefix
=""
10896 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10897 if test "${with_gtk_exec_prefix+set}" = set; then
10898 withval
="$with_gtk_exec_prefix"
10899 gtk_config_exec_prefix
="$withval"
10901 gtk_config_exec_prefix
=""
10904 # Check whether --enable-gtktest or --disable-gtktest was given.
10905 if test "${enable_gtktest+set}" = set; then
10906 enableval
="$enable_gtktest"
10913 for module
in .
$GTK_MODULES
10917 gtk_config_args
="$gtk_config_args gthread"
10922 if test x
$gtk_config_exec_prefix != x
; then
10923 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10924 if test x
${GTK_CONFIG+set} != xset
; then
10925 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10928 if test x
$gtk_config_prefix != x
; then
10929 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10930 if test x
${GTK_CONFIG+set} != xset
; then
10931 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10935 # Extract the first word of "gtk-config", so it can be a program name with args.
10936 set dummy gtk
-config; ac_word
=$2
10937 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10938 echo "configure:10939: checking for $ac_word" >&5
10939 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10940 echo $ac_n "(cached) $ac_c" 1>&6
10942 case "$GTK_CONFIG" in
10944 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10947 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10950 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10952 for ac_dir
in $ac_dummy; do
10953 test -z "$ac_dir" && ac_dir
=.
10954 if test -f $ac_dir/$ac_word; then
10955 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10960 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10964 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10965 if test -n "$GTK_CONFIG"; then
10966 echo "$ac_t""$GTK_CONFIG" 1>&6
10968 echo "$ac_t""no" 1>&6
10971 min_gtk_version
=1.2.3
10972 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10973 echo "configure:10974: checking for GTK - version >= $min_gtk_version" >&5
10975 if test "$GTK_CONFIG" = "no" ; then
10978 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10979 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10980 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10982 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10984 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10985 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10986 if test "x$enable_gtktest" = "xyes" ; then
10987 ac_save_CFLAGS
="$CFLAGS"
10988 ac_save_LIBS
="$LIBS"
10989 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10990 LIBS
="$GTK_LIBS $LIBS"
10992 if test "$cross_compiling" = yes; then
10993 echo $ac_n "cross compiling; assumed OK... $ac_c"
10995 cat > conftest.
$ac_ext <<EOF
10996 #line 10997 "configure"
10997 #include "confdefs.h"
10999 #include <gtk/gtk.h>
11001 #include <stdlib.h>
11006 int major, minor, micro;
11009 system ("touch conf.gtktest");
11011 /* HP/UX 9 (%@#!) writes to sscanf strings */
11012 tmp_version = g_strdup("$min_gtk_version");
11013 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11014 printf("%s, bad version string\n", "$min_gtk_version");
11018 if ((gtk_major_version != $gtk_config_major_version) ||
11019 (gtk_minor_version != $gtk_config_minor_version) ||
11020 (gtk_micro_version != $gtk_config_micro_version))
11022 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11023 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11024 gtk_major_version, gtk_minor_version, gtk_micro_version);
11025 printf ("*** was found! If gtk-config was correct, then it is best\n");
11026 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11027 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11028 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11029 printf("*** required on your system.\n");
11030 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
11031 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
11032 printf("*** before re-running configure\n");
11034 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
11035 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11036 (gtk_minor_version != GTK_MINOR_VERSION) ||
11037 (gtk_micro_version != GTK_MICRO_VERSION))
11039 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11040 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11041 printf("*** library (version %d.%d.%d)\n",
11042 gtk_major_version, gtk_minor_version, gtk_micro_version);
11044 #endif /* defined (GTK_MAJOR_VERSION) ... */
11047 if ((gtk_major_version > major) ||
11048 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11049 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11055 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11056 gtk_major_version, gtk_minor_version, gtk_micro_version);
11057 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11058 major, minor, micro);
11059 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11061 printf("*** If you have already installed a sufficiently new version, this error\n");
11062 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11063 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11064 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11065 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11066 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11067 printf("*** so that the correct libraries are found at run-time))\n");
11074 if { (eval echo configure
:11075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11078 echo "configure: failed program was:" >&5
11079 cat conftest.
$ac_ext >&5
11086 CFLAGS
="$ac_save_CFLAGS"
11087 LIBS
="$ac_save_LIBS"
11090 if test "x$no_gtk" = x
; then
11091 echo "$ac_t""yes" 1>&6
11092 wx_cv_lib_gtk
=1.2.3
11094 echo "$ac_t""no" 1>&6
11095 if test "$GTK_CONFIG" = "no" ; then
11096 echo "*** The gtk-config script installed by GTK could not be found"
11097 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11098 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11099 echo "*** full path to gtk-config."
11101 if test -f conf.gtktest
; then
11104 echo "*** Could not run GTK test program, checking why..."
11105 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11106 LIBS
="$LIBS $GTK_LIBS"
11107 cat > conftest.
$ac_ext <<EOF
11108 #line 11109 "configure"
11109 #include "confdefs.h"
11111 #include <gtk/gtk.h>
11115 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11118 if { (eval echo configure
:11119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11120 echo "*** The test program compiled, but did not run. This usually means"
11121 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11122 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11123 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11124 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11125 echo "*** is required on your system"
11127 echo "*** If you have an old version installed, it is best to remove it, although"
11128 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11130 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11131 echo "*** came with the system with the command"
11133 echo "*** rpm --erase --nodeps gtk gtk-devel"
11135 echo "configure: failed program was:" >&5
11136 cat conftest.
$ac_ext >&5
11138 echo "*** The test program failed to compile or link. See the file config.log for the"
11139 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11140 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11141 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11144 CFLAGS
="$ac_save_CFLAGS"
11145 LIBS
="$ac_save_LIBS"
11158 if test -z "$wx_cv_lib_gtk"; then
11161 wx_cv_cflags_gtk
=$GTK_CFLAGS
11162 wx_cv_libs_gtk
=$GTK_LIBS
11169 if test "$gtk_version_cached" = 1; then
11170 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11173 case "$wx_cv_lib_gtk" in
11181 *) { echo "configure: error:
11182 Please check that gtk-config is in path, the directory
11183 where GTK+ libraries are installed (returned by
11184 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11185 equivalent variable and GTK+ is version 1.2.3 or above.
11190 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
11191 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
11193 AFMINSTALL
=afminstall
11197 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11198 echo "configure:11199: checking for gdk_im_open in -lgdk" >&5
11199 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11200 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11201 echo $ac_n "(cached) $ac_c" 1>&6
11203 ac_save_LIBS
="$LIBS"
11205 cat > conftest.
$ac_ext <<EOF
11206 #line 11207 "configure"
11207 #include "confdefs.h"
11208 /* Override any gcc2 internal prototype to avoid an error. */
11209 /* We use char because int might match the return type of a gcc2
11210 builtin and then its argument prototype would still apply. */
11211 char gdk_im_open();
11217 if { (eval echo configure
:11218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11219 eval "ac_cv_lib_$ac_lib_var=yes"
11221 echo "configure: failed program was:" >&5
11222 cat conftest.
$ac_ext >&5
11224 eval "ac_cv_lib_$ac_lib_var=no"
11227 LIBS
="$ac_save_LIBS"
11230 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11231 echo "$ac_t""yes" 1>&6
11232 cat >> confdefs.h
<<\EOF
11237 echo "$ac_t""no" 1>&6
11242 if test "$wxUSE_MGL" = 1; then
11243 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11244 echo "configure:11245: checking for SciTech MGL library" >&5
11245 if test "x$MGL_ROOT" = x
; then
11246 echo "$ac_t""not found" 1>&6
11247 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11249 echo "$ac_t""$MGL_ROOT" 1>&6
11254 mgl_os
=linux
/gcc
/glibc
11260 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11265 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11266 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11267 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11271 if test "x$mgl_lib_type" = x
; then
11272 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11273 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11274 mgl_lib_type
=release
11276 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11280 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11281 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11283 AFMINSTALL
=afminstall
11288 if test "$wxUSE_MICROWIN" = 1; then
11289 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11290 echo "configure:11291: checking for MicroWindows" >&5
11291 if test "x$MICROWINDOWS" = x
; then
11292 echo "$ac_t""not found" 1>&6
11293 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11295 echo "$ac_t""$MICROWINDOWS" 1>&6
11298 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11299 echo "$ac_t""MicroWindows' libraries found." 1>&6
11301 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11304 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11305 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11307 AFMINSTALL
=afminstall
11309 GUIDIST
=MICROWIN_DIST
11311 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11314 if test "$wxUSE_X11" = 1; then
11315 # If we find X, set shell vars x_includes and x_libraries to the
11316 # paths, otherwise set no_x=yes.
11317 # Uses ac_ vars as temps to allow command line to override cache and checks.
11318 # --without-x overrides everything else, but does not touch the cache.
11319 echo $ac_n "checking for X""... $ac_c" 1>&6
11320 echo "configure:11321: checking for X" >&5
11322 # Check whether --with-x or --without-x was given.
11323 if test "${with_x+set}" = set; then
11328 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11329 if test "x$with_x" = xno
; then
11330 # The user explicitly disabled X.
11333 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11334 # Both variables are already set.
11337 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11338 echo $ac_n "(cached) $ac_c" 1>&6
11340 # One or both of the vars are not set, and there is no cached value.
11341 ac_x_includes
=NO ac_x_libraries
=NO
11343 if mkdir conftestdir
; then
11345 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11346 cat > Imakefile
<<'EOF'
11348 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11350 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11351 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11352 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11353 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11354 for ac_extension
in a so sl
; do
11355 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11356 test -f $ac_im_libdir/libX11.
$ac_extension; then
11357 ac_im_usrlibdir
=$ac_im_libdir; break
11360 # Screen out bogus values from the imake configuration. They are
11361 # bogus both because they are the default anyway, and because
11362 # using them would break gcc on systems where it needs fixed includes.
11363 case "$ac_im_incroot" in
11365 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11367 case "$ac_im_usrlibdir" in
11368 /usr
/lib
| /lib
) ;;
11369 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11376 if test "$ac_x_includes" = NO
; then
11377 # Guess where to find include files, by looking for this one X11 .h file.
11378 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11380 # First, try using that file with no special directory specified.
11381 cat > conftest.
$ac_ext <<EOF
11382 #line 11383 "configure"
11383 #include "confdefs.h"
11384 #include <$x_direct_test_include>
11386 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11387 { (eval echo configure
:11388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11388 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11389 if test -z "$ac_err"; then
11391 # We can compile using X headers with no special include directory.
11395 echo "configure: failed program was:" >&5
11396 cat conftest.
$ac_ext >&5
11398 # Look for the header file in a standard set of common directories.
11399 # Check X11 before X11Rn because it is often a symlink to the current release.
11402 /usr
/X
11R
6/include \
11403 /usr
/X
11R
5/include \
11404 /usr
/X
11R
4/include \
11407 /usr
/include
/X11R6 \
11408 /usr
/include
/X11R5 \
11409 /usr
/include
/X11R4 \
11411 /usr
/local
/X
11/include \
11412 /usr
/local
/X
11R
6/include \
11413 /usr
/local
/X
11R
5/include \
11414 /usr
/local
/X
11R
4/include \
11416 /usr
/local
/include
/X11 \
11417 /usr
/local
/include
/X11R6 \
11418 /usr
/local
/include
/X11R5 \
11419 /usr
/local
/include
/X11R4 \
11421 /usr
/X
386/include \
11422 /usr
/x
386/include \
11423 /usr
/XFree
86/include
/X11 \
11426 /usr
/local
/include \
11427 /usr
/unsupported
/include \
11428 /usr
/athena
/include \
11429 /usr
/local
/x
11r
5/include \
11430 /usr
/lpp
/Xamples
/include \
11432 /usr
/openwin
/include \
11433 /usr
/openwin
/share
/include \
11436 if test -r "$ac_dir/$x_direct_test_include"; then
11437 ac_x_includes
=$ac_dir
11443 fi # $ac_x_includes = NO
11445 if test "$ac_x_libraries" = NO
; then
11446 # Check for the libraries.
11448 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11449 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11451 # See if we find them without any special options.
11452 # Don't add to $LIBS permanently.
11453 ac_save_LIBS
="$LIBS"
11454 LIBS
="-l$x_direct_test_library $LIBS"
11455 cat > conftest.
$ac_ext <<EOF
11456 #line 11457 "configure"
11457 #include "confdefs.h"
11460 ${x_direct_test_function}()
11463 if { (eval echo configure
:11464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11465 LIBS
="$ac_save_LIBS"
11466 # We can link X programs with no special library path.
11469 echo "configure: failed program was:" >&5
11470 cat conftest.
$ac_ext >&5
11472 LIBS
="$ac_save_LIBS"
11473 # First see if replacing the include by lib works.
11474 # Check X11 before X11Rn because it is often a symlink to the current release.
11475 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11486 /usr
/local
/X
11/lib \
11487 /usr
/local
/X
11R
6/lib \
11488 /usr
/local
/X
11R
5/lib \
11489 /usr
/local
/X
11R
4/lib \
11491 /usr
/local
/lib
/X11 \
11492 /usr
/local
/lib
/X11R6 \
11493 /usr
/local
/lib
/X11R5 \
11494 /usr
/local
/lib
/X11R4 \
11498 /usr
/XFree
86/lib
/X11 \
11502 /usr
/unsupported
/lib \
11504 /usr
/local
/x
11r
5/lib \
11505 /usr
/lpp
/Xamples
/lib \
11509 /usr
/openwin
/share
/lib \
11512 for ac_extension
in a so sl
; do
11513 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11514 ac_x_libraries
=$ac_dir
11521 fi # $ac_x_libraries = NO
11523 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11524 # Didn't find X anywhere. Cache the known absence of X.
11525 ac_cv_have_x
="have_x=no"
11527 # Record where we found X for the cache.
11528 ac_cv_have_x
="have_x=yes \
11529 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11533 eval "$ac_cv_have_x"
11536 if test "$have_x" != yes; then
11537 echo "$ac_t""$have_x" 1>&6
11540 # If each of the values was on the command line, it overrides each guess.
11541 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11542 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11543 # Update the cache value to reflect the command line values.
11544 ac_cv_have_x
="have_x=yes \
11545 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11546 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11549 if test "$no_x" = yes; then
11550 # Not all programs may use this symbol, but it does not hurt to define it.
11551 cat >> confdefs.h
<<\EOF
11552 #define X_DISPLAY_MISSING 1
11555 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11557 if test -n "$x_includes"; then
11558 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11561 # It would also be nice to do this for all -L options, not just this one.
11562 if test -n "$x_libraries"; then
11563 X_LIBS
="$X_LIBS -L$x_libraries"
11564 # For Solaris; some versions of Sun CC require a space after -R and
11565 # others require no space. Words are not sufficient . . . .
11566 case "`(uname -sr) 2>/dev/null`" in
11568 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11569 echo "configure:11570: checking whether -R must be followed by a space" >&5
11570 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11571 cat > conftest.
$ac_ext <<EOF
11572 #line 11573 "configure"
11573 #include "confdefs.h"
11579 if { (eval echo configure
:11580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11583 echo "configure: failed program was:" >&5
11584 cat conftest.
$ac_ext >&5
11589 if test $ac_R_nospace = yes; then
11590 echo "$ac_t""no" 1>&6
11591 X_LIBS
="$X_LIBS -R$x_libraries"
11593 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11594 cat > conftest.
$ac_ext <<EOF
11595 #line 11596 "configure"
11596 #include "confdefs.h"
11602 if { (eval echo configure
:11603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11606 echo "configure: failed program was:" >&5
11607 cat conftest.
$ac_ext >&5
11612 if test $ac_R_space = yes; then
11613 echo "$ac_t""yes" 1>&6
11614 X_LIBS
="$X_LIBS -R $x_libraries"
11616 echo "$ac_t""neither works" 1>&6
11619 LIBS
="$ac_xsave_LIBS"
11623 # Check for system-dependent libraries X programs must link with.
11624 # Do this before checking for the system-independent R6 libraries
11625 # (-lICE), since we may need -lsocket or whatever for X linking.
11627 if test "$ISC" = yes; then
11628 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11630 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11631 # libraries were built with DECnet support. And karl@cs.umb.edu says
11632 # the Alpha needs dnet_stub (dnet does not exist).
11633 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11634 echo "configure:11635: checking for dnet_ntoa in -ldnet" >&5
11635 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11636 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11637 echo $ac_n "(cached) $ac_c" 1>&6
11639 ac_save_LIBS
="$LIBS"
11640 LIBS
="-ldnet $LIBS"
11641 cat > conftest.
$ac_ext <<EOF
11642 #line 11643 "configure"
11643 #include "confdefs.h"
11644 /* Override any gcc2 internal prototype to avoid an error. */
11645 /* We use char because int might match the return type of a gcc2
11646 builtin and then its argument prototype would still apply. */
11653 if { (eval echo configure
:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11655 eval "ac_cv_lib_$ac_lib_var=yes"
11657 echo "configure: failed program was:" >&5
11658 cat conftest.
$ac_ext >&5
11660 eval "ac_cv_lib_$ac_lib_var=no"
11663 LIBS
="$ac_save_LIBS"
11666 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11667 echo "$ac_t""yes" 1>&6
11668 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11670 echo "$ac_t""no" 1>&6
11673 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11674 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11675 echo "configure:11676: checking for dnet_ntoa in -ldnet_stub" >&5
11676 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11677 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11678 echo $ac_n "(cached) $ac_c" 1>&6
11680 ac_save_LIBS
="$LIBS"
11681 LIBS
="-ldnet_stub $LIBS"
11682 cat > conftest.
$ac_ext <<EOF
11683 #line 11684 "configure"
11684 #include "confdefs.h"
11685 /* Override any gcc2 internal prototype to avoid an error. */
11686 /* We use char because int might match the return type of a gcc2
11687 builtin and then its argument prototype would still apply. */
11694 if { (eval echo configure
:11695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11696 eval "ac_cv_lib_$ac_lib_var=yes"
11698 echo "configure: failed program was:" >&5
11699 cat conftest.
$ac_ext >&5
11701 eval "ac_cv_lib_$ac_lib_var=no"
11704 LIBS
="$ac_save_LIBS"
11707 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11708 echo "$ac_t""yes" 1>&6
11709 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11711 echo "$ac_t""no" 1>&6
11716 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11717 # to get the SysV transport functions.
11718 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11720 # The nsl library prevents programs from opening the X display
11721 # on Irix 5.2, according to dickey@clark.net.
11722 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11723 echo "configure:11724: checking for gethostbyname" >&5
11724 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11725 echo $ac_n "(cached) $ac_c" 1>&6
11727 cat > conftest.
$ac_ext <<EOF
11728 #line 11729 "configure"
11729 #include "confdefs.h"
11730 /* System header to define __stub macros and hopefully few prototypes,
11731 which can conflict with char gethostbyname(); below. */
11732 #include <assert.h>
11733 /* Override any gcc2 internal prototype to avoid an error. */
11734 /* We use char because int might match the return type of a gcc2
11735 builtin and then its argument prototype would still apply. */
11736 char gethostbyname();
11740 /* The GNU C library defines this for functions which it implements
11741 to always fail with ENOSYS. Some functions are actually named
11742 something starting with __ and the normal name is an alias. */
11743 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11751 if { (eval echo configure
:11752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11753 eval "ac_cv_func_gethostbyname=yes"
11755 echo "configure: failed program was:" >&5
11756 cat conftest.
$ac_ext >&5
11758 eval "ac_cv_func_gethostbyname=no"
11763 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11764 echo "$ac_t""yes" 1>&6
11767 echo "$ac_t""no" 1>&6
11770 if test $ac_cv_func_gethostbyname = no
; then
11771 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11772 echo "configure:11773: checking for gethostbyname in -lnsl" >&5
11773 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11774 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11775 echo $ac_n "(cached) $ac_c" 1>&6
11777 ac_save_LIBS
="$LIBS"
11779 cat > conftest.
$ac_ext <<EOF
11780 #line 11781 "configure"
11781 #include "confdefs.h"
11782 /* Override any gcc2 internal prototype to avoid an error. */
11783 /* We use char because int might match the return type of a gcc2
11784 builtin and then its argument prototype would still apply. */
11785 char gethostbyname();
11791 if { (eval echo configure
:11792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11793 eval "ac_cv_lib_$ac_lib_var=yes"
11795 echo "configure: failed program was:" >&5
11796 cat conftest.
$ac_ext >&5
11798 eval "ac_cv_lib_$ac_lib_var=no"
11801 LIBS
="$ac_save_LIBS"
11804 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11805 echo "$ac_t""yes" 1>&6
11806 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11808 echo "$ac_t""no" 1>&6
11813 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11814 # socket/setsockopt and other routines are undefined under SCO ODT
11815 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11816 # on later versions), says simon@lia.di.epfl.ch: it contains
11817 # gethostby* variants that don't use the nameserver (or something).
11818 # -lsocket must be given before -lnsl if both are needed.
11819 # We assume that if connect needs -lnsl, so does gethostbyname.
11820 echo $ac_n "checking for connect""... $ac_c" 1>&6
11821 echo "configure:11822: checking for connect" >&5
11822 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11823 echo $ac_n "(cached) $ac_c" 1>&6
11825 cat > conftest.
$ac_ext <<EOF
11826 #line 11827 "configure"
11827 #include "confdefs.h"
11828 /* System header to define __stub macros and hopefully few prototypes,
11829 which can conflict with char connect(); below. */
11830 #include <assert.h>
11831 /* Override any gcc2 internal prototype to avoid an error. */
11832 /* We use char because int might match the return type of a gcc2
11833 builtin and then its argument prototype would still apply. */
11838 /* The GNU C library defines this for functions which it implements
11839 to always fail with ENOSYS. Some functions are actually named
11840 something starting with __ and the normal name is an alias. */
11841 #if defined (__stub_connect) || defined (__stub___connect)
11849 if { (eval echo configure
:11850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11851 eval "ac_cv_func_connect=yes"
11853 echo "configure: failed program was:" >&5
11854 cat conftest.
$ac_ext >&5
11856 eval "ac_cv_func_connect=no"
11861 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11862 echo "$ac_t""yes" 1>&6
11865 echo "$ac_t""no" 1>&6
11868 if test $ac_cv_func_connect = no
; then
11869 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11870 echo "configure:11871: checking for connect in -lsocket" >&5
11871 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11872 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11873 echo $ac_n "(cached) $ac_c" 1>&6
11875 ac_save_LIBS
="$LIBS"
11876 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11877 cat > conftest.
$ac_ext <<EOF
11878 #line 11879 "configure"
11879 #include "confdefs.h"
11880 /* Override any gcc2 internal prototype to avoid an error. */
11881 /* We use char because int might match the return type of a gcc2
11882 builtin and then its argument prototype would still apply. */
11889 if { (eval echo configure
:11890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11891 eval "ac_cv_lib_$ac_lib_var=yes"
11893 echo "configure: failed program was:" >&5
11894 cat conftest.
$ac_ext >&5
11896 eval "ac_cv_lib_$ac_lib_var=no"
11899 LIBS
="$ac_save_LIBS"
11902 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11903 echo "$ac_t""yes" 1>&6
11904 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11906 echo "$ac_t""no" 1>&6
11911 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11912 echo $ac_n "checking for remove""... $ac_c" 1>&6
11913 echo "configure:11914: checking for remove" >&5
11914 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11915 echo $ac_n "(cached) $ac_c" 1>&6
11917 cat > conftest.
$ac_ext <<EOF
11918 #line 11919 "configure"
11919 #include "confdefs.h"
11920 /* System header to define __stub macros and hopefully few prototypes,
11921 which can conflict with char remove(); below. */
11922 #include <assert.h>
11923 /* Override any gcc2 internal prototype to avoid an error. */
11924 /* We use char because int might match the return type of a gcc2
11925 builtin and then its argument prototype would still apply. */
11930 /* The GNU C library defines this for functions which it implements
11931 to always fail with ENOSYS. Some functions are actually named
11932 something starting with __ and the normal name is an alias. */
11933 #if defined (__stub_remove) || defined (__stub___remove)
11941 if { (eval echo configure
:11942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11943 eval "ac_cv_func_remove=yes"
11945 echo "configure: failed program was:" >&5
11946 cat conftest.
$ac_ext >&5
11948 eval "ac_cv_func_remove=no"
11953 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11954 echo "$ac_t""yes" 1>&6
11957 echo "$ac_t""no" 1>&6
11960 if test $ac_cv_func_remove = no
; then
11961 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11962 echo "configure:11963: checking for remove in -lposix" >&5
11963 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11964 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11965 echo $ac_n "(cached) $ac_c" 1>&6
11967 ac_save_LIBS
="$LIBS"
11968 LIBS
="-lposix $LIBS"
11969 cat > conftest.
$ac_ext <<EOF
11970 #line 11971 "configure"
11971 #include "confdefs.h"
11972 /* Override any gcc2 internal prototype to avoid an error. */
11973 /* We use char because int might match the return type of a gcc2
11974 builtin and then its argument prototype would still apply. */
11981 if { (eval echo configure
:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11983 eval "ac_cv_lib_$ac_lib_var=yes"
11985 echo "configure: failed program was:" >&5
11986 cat conftest.
$ac_ext >&5
11988 eval "ac_cv_lib_$ac_lib_var=no"
11991 LIBS
="$ac_save_LIBS"
11994 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11995 echo "$ac_t""yes" 1>&6
11996 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11998 echo "$ac_t""no" 1>&6
12003 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12004 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12005 echo "configure:12006: checking for shmat" >&5
12006 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12007 echo $ac_n "(cached) $ac_c" 1>&6
12009 cat > conftest.
$ac_ext <<EOF
12010 #line 12011 "configure"
12011 #include "confdefs.h"
12012 /* System header to define __stub macros and hopefully few prototypes,
12013 which can conflict with char shmat(); below. */
12014 #include <assert.h>
12015 /* Override any gcc2 internal prototype to avoid an error. */
12016 /* We use char because int might match the return type of a gcc2
12017 builtin and then its argument prototype would still apply. */
12022 /* The GNU C library defines this for functions which it implements
12023 to always fail with ENOSYS. Some functions are actually named
12024 something starting with __ and the normal name is an alias. */
12025 #if defined (__stub_shmat) || defined (__stub___shmat)
12033 if { (eval echo configure
:12034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12035 eval "ac_cv_func_shmat=yes"
12037 echo "configure: failed program was:" >&5
12038 cat conftest.
$ac_ext >&5
12040 eval "ac_cv_func_shmat=no"
12045 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12046 echo "$ac_t""yes" 1>&6
12049 echo "$ac_t""no" 1>&6
12052 if test $ac_cv_func_shmat = no
; then
12053 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12054 echo "configure:12055: checking for shmat in -lipc" >&5
12055 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12056 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12057 echo $ac_n "(cached) $ac_c" 1>&6
12059 ac_save_LIBS
="$LIBS"
12061 cat > conftest.
$ac_ext <<EOF
12062 #line 12063 "configure"
12063 #include "confdefs.h"
12064 /* Override any gcc2 internal prototype to avoid an error. */
12065 /* We use char because int might match the return type of a gcc2
12066 builtin and then its argument prototype would still apply. */
12073 if { (eval echo configure
:12074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12075 eval "ac_cv_lib_$ac_lib_var=yes"
12077 echo "configure: failed program was:" >&5
12078 cat conftest.
$ac_ext >&5
12080 eval "ac_cv_lib_$ac_lib_var=no"
12083 LIBS
="$ac_save_LIBS"
12086 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12087 echo "$ac_t""yes" 1>&6
12088 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12090 echo "$ac_t""no" 1>&6
12096 # Check for libraries that X11R6 Xt/Xaw programs need.
12097 ac_save_LDFLAGS
="$LDFLAGS"
12098 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12099 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12100 # check for ICE first), but we must link in the order -lSM -lICE or
12101 # we get undefined symbols. So assume we have SM if we have ICE.
12102 # These have to be linked with before -lX11, unlike the other
12103 # libraries we check for below, so use a different variable.
12104 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12105 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12106 echo "configure:12107: checking for IceConnectionNumber in -lICE" >&5
12107 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12108 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12109 echo $ac_n "(cached) $ac_c" 1>&6
12111 ac_save_LIBS
="$LIBS"
12112 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12113 cat > conftest.
$ac_ext <<EOF
12114 #line 12115 "configure"
12115 #include "confdefs.h"
12116 /* Override any gcc2 internal prototype to avoid an error. */
12117 /* We use char because int might match the return type of a gcc2
12118 builtin and then its argument prototype would still apply. */
12119 char IceConnectionNumber();
12122 IceConnectionNumber()
12125 if { (eval echo configure
:12126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12127 eval "ac_cv_lib_$ac_lib_var=yes"
12129 echo "configure: failed program was:" >&5
12130 cat conftest.
$ac_ext >&5
12132 eval "ac_cv_lib_$ac_lib_var=no"
12135 LIBS
="$ac_save_LIBS"
12138 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12139 echo "$ac_t""yes" 1>&6
12140 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12142 echo "$ac_t""no" 1>&6
12145 LDFLAGS
="$ac_save_LDFLAGS"
12150 if test "$no_x" = "yes"; then
12151 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12154 GUI_TK_LIBRARY
="$X_LIBS"
12155 TOOLKIT_INCLUDE
="$X_CFLAGS"
12156 AFMINSTALL
=afminstall
12157 COMPILED_X_PROGRAM
=0
12159 if test "$wxUSE_NANOX" = 1; then
12160 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
12161 echo "configure:12162: checking for MicroWindows/NanoX distribution" >&5
12162 if test "x$MICROWIN" = x
; then
12163 echo "$ac_t""not found" 1>&6
12164 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
12166 echo "$ac_t""$MICROWIN" 1>&6
12171 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12172 echo "configure:12173: checking for Xpm library" >&5
12175 for ac_dir
in $SEARCH_LIB;
12177 for ac_extension
in a so sl dylib
; do
12178 if test -f "$ac_dir/libXpm.$ac_extension"; then
12179 ac_find_libraries
=$ac_dir
12185 if test "$ac_find_libraries" != "" ; then
12187 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12189 if test $result = 0; then
12192 ac_path_to_link
=" -L$ac_find_libraries"
12195 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12197 cat >> confdefs.h
<<\EOF
12198 #define wxHAVE_LIB_XPM 1
12201 echo "$ac_t""found at $ac_find_libraries" 1>&6
12203 cat > conftest.
$ac_ext <<EOF
12204 #line 12205 "configure"
12205 #include "confdefs.h"
12207 #include <X11/xpm.h>
12212 version = XpmLibraryVersion();
12216 if { (eval echo configure
:12217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12220 cat >> confdefs.h
<<\EOF
12221 #define wxHAVE_LIB_XPM 1
12224 echo "$ac_t""found in default search path" 1>&6
12225 COMPILED_X_PROGRAM
=0
12228 echo "configure: failed program was:" >&5
12229 cat conftest.
$ac_ext >&5
12232 echo "$ac_t""no" 1>&6
12233 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12240 if test "$wxUSE_NANOX" = 1; then
12241 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
12242 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__NANOX__"
12243 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$MICROWIN/src/lib/libnano-X.a \$MICROWIN/src/lib/libmwengine.a \$MICROWIN/src/lib/libmwfonts.a \$MICROWIN/src/lib/libmwdrivers.a \$MICROWIN/src/lib/libmwobjects.a"
12245 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
12248 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
12253 if test "$wxUSE_WINE" = 1; then
12254 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12255 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12256 echo "configure:12257: checking for windows.h" >&5
12257 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12258 echo $ac_n "(cached) $ac_c" 1>&6
12260 cat > conftest.
$ac_ext <<EOF
12261 #line 12262 "configure"
12262 #include "confdefs.h"
12263 #include <windows.h>
12265 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12266 { (eval echo configure
:12267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12267 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12268 if test -z "$ac_err"; then
12270 eval "ac_cv_header_$ac_safe=yes"
12273 echo "configure: failed program was:" >&5
12274 cat conftest.
$ac_ext >&5
12276 eval "ac_cv_header_$ac_safe=no"
12280 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12281 echo "$ac_t""yes" 1>&6
12284 echo "$ac_t""no" 1>&6
12286 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12292 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12293 echo "configure:12294: checking for Xpm library" >&5
12296 for ac_dir
in $SEARCH_LIB;
12298 for ac_extension
in a so sl dylib
; do
12299 if test -f "$ac_dir/libXpm.$ac_extension"; then
12300 ac_find_libraries
=$ac_dir
12306 if test "$ac_find_libraries" != "" ; then
12307 GUI_TK_LIBRARY
="-L$ac_find_libraries"
12309 cat >> confdefs.h
<<\EOF
12310 #define wxHAVE_LIB_XPM 1
12313 echo "$ac_t""found at $ac_find_libraries" 1>&6
12315 echo "$ac_t""no" 1>&6
12316 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12320 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
12321 echo "configure:12322: checking for Mesa library" >&5
12324 for ac_dir
in $SEARCH_LIB;
12326 for ac_extension
in a so sl dylib
; do
12327 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12328 ac_find_libraries
=$ac_dir
12334 if test "$ac_find_libraries" != "" ; then
12335 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
12336 mesa_link
=" -lMesaGL"
12337 echo "$ac_t""found at $ac_find_libraries" 1>&6
12339 { echo "configure: error: no" 1>&2; exit 1; }
12342 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
12345 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
12348 if test "$wxUSE_MOTIF" = 1; then
12349 if test "$no_x" = yes; then
12350 # Not all programs may use this symbol, but it does not hurt to define it.
12351 cat >> confdefs.h
<<\EOF
12352 #define X_DISPLAY_MISSING 1
12355 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12357 if test -n "$x_includes"; then
12358 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12361 # It would also be nice to do this for all -L options, not just this one.
12362 if test -n "$x_libraries"; then
12363 X_LIBS
="$X_LIBS -L$x_libraries"
12364 # For Solaris; some versions of Sun CC require a space after -R and
12365 # others require no space. Words are not sufficient . . . .
12366 case "`(uname -sr) 2>/dev/null`" in
12368 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12369 echo "configure:12370: checking whether -R must be followed by a space" >&5
12370 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12371 cat > conftest.
$ac_ext <<EOF
12372 #line 12373 "configure"
12373 #include "confdefs.h"
12379 if { (eval echo configure
:12380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12383 echo "configure: failed program was:" >&5
12384 cat conftest.
$ac_ext >&5
12389 if test $ac_R_nospace = yes; then
12390 echo "$ac_t""no" 1>&6
12391 X_LIBS
="$X_LIBS -R$x_libraries"
12393 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12394 cat > conftest.
$ac_ext <<EOF
12395 #line 12396 "configure"
12396 #include "confdefs.h"
12402 if { (eval echo configure
:12403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12406 echo "configure: failed program was:" >&5
12407 cat conftest.
$ac_ext >&5
12412 if test $ac_R_space = yes; then
12413 echo "$ac_t""yes" 1>&6
12414 X_LIBS
="$X_LIBS -R $x_libraries"
12416 echo "$ac_t""neither works" 1>&6
12419 LIBS
="$ac_xsave_LIBS"
12423 # Check for system-dependent libraries X programs must link with.
12424 # Do this before checking for the system-independent R6 libraries
12425 # (-lICE), since we may need -lsocket or whatever for X linking.
12427 if test "$ISC" = yes; then
12428 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
12430 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
12431 # libraries were built with DECnet support. And karl@cs.umb.edu says
12432 # the Alpha needs dnet_stub (dnet does not exist).
12433 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
12434 echo "configure:12435: checking for dnet_ntoa in -ldnet" >&5
12435 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12436 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12437 echo $ac_n "(cached) $ac_c" 1>&6
12439 ac_save_LIBS
="$LIBS"
12440 LIBS
="-ldnet $LIBS"
12441 cat > conftest.
$ac_ext <<EOF
12442 #line 12443 "configure"
12443 #include "confdefs.h"
12444 /* Override any gcc2 internal prototype to avoid an error. */
12445 /* We use char because int might match the return type of a gcc2
12446 builtin and then its argument prototype would still apply. */
12453 if { (eval echo configure
:12454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12455 eval "ac_cv_lib_$ac_lib_var=yes"
12457 echo "configure: failed program was:" >&5
12458 cat conftest.
$ac_ext >&5
12460 eval "ac_cv_lib_$ac_lib_var=no"
12463 LIBS
="$ac_save_LIBS"
12466 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12467 echo "$ac_t""yes" 1>&6
12468 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
12470 echo "$ac_t""no" 1>&6
12473 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
12474 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
12475 echo "configure:12476: checking for dnet_ntoa in -ldnet_stub" >&5
12476 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12477 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12478 echo $ac_n "(cached) $ac_c" 1>&6
12480 ac_save_LIBS
="$LIBS"
12481 LIBS
="-ldnet_stub $LIBS"
12482 cat > conftest.
$ac_ext <<EOF
12483 #line 12484 "configure"
12484 #include "confdefs.h"
12485 /* Override any gcc2 internal prototype to avoid an error. */
12486 /* We use char because int might match the return type of a gcc2
12487 builtin and then its argument prototype would still apply. */
12494 if { (eval echo configure
:12495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12496 eval "ac_cv_lib_$ac_lib_var=yes"
12498 echo "configure: failed program was:" >&5
12499 cat conftest.
$ac_ext >&5
12501 eval "ac_cv_lib_$ac_lib_var=no"
12504 LIBS
="$ac_save_LIBS"
12507 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12508 echo "$ac_t""yes" 1>&6
12509 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
12511 echo "$ac_t""no" 1>&6
12516 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12517 # to get the SysV transport functions.
12518 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
12520 # The nsl library prevents programs from opening the X display
12521 # on Irix 5.2, according to dickey@clark.net.
12522 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
12523 echo "configure:12524: checking for gethostbyname" >&5
12524 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
12525 echo $ac_n "(cached) $ac_c" 1>&6
12527 cat > conftest.
$ac_ext <<EOF
12528 #line 12529 "configure"
12529 #include "confdefs.h"
12530 /* System header to define __stub macros and hopefully few prototypes,
12531 which can conflict with char gethostbyname(); below. */
12532 #include <assert.h>
12533 /* Override any gcc2 internal prototype to avoid an error. */
12534 /* We use char because int might match the return type of a gcc2
12535 builtin and then its argument prototype would still apply. */
12536 char gethostbyname();
12540 /* The GNU C library defines this for functions which it implements
12541 to always fail with ENOSYS. Some functions are actually named
12542 something starting with __ and the normal name is an alias. */
12543 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
12551 if { (eval echo configure
:12552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12553 eval "ac_cv_func_gethostbyname=yes"
12555 echo "configure: failed program was:" >&5
12556 cat conftest.
$ac_ext >&5
12558 eval "ac_cv_func_gethostbyname=no"
12563 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
12564 echo "$ac_t""yes" 1>&6
12567 echo "$ac_t""no" 1>&6
12570 if test $ac_cv_func_gethostbyname = no
; then
12571 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
12572 echo "configure:12573: checking for gethostbyname in -lnsl" >&5
12573 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
12574 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12575 echo $ac_n "(cached) $ac_c" 1>&6
12577 ac_save_LIBS
="$LIBS"
12579 cat > conftest.
$ac_ext <<EOF
12580 #line 12581 "configure"
12581 #include "confdefs.h"
12582 /* Override any gcc2 internal prototype to avoid an error. */
12583 /* We use char because int might match the return type of a gcc2
12584 builtin and then its argument prototype would still apply. */
12585 char gethostbyname();
12591 if { (eval echo configure
:12592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12593 eval "ac_cv_lib_$ac_lib_var=yes"
12595 echo "configure: failed program was:" >&5
12596 cat conftest.
$ac_ext >&5
12598 eval "ac_cv_lib_$ac_lib_var=no"
12601 LIBS
="$ac_save_LIBS"
12604 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12605 echo "$ac_t""yes" 1>&6
12606 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
12608 echo "$ac_t""no" 1>&6
12613 # lieder@skyler.mavd.honeywell.com says without -lsocket,
12614 # socket/setsockopt and other routines are undefined under SCO ODT
12615 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
12616 # on later versions), says simon@lia.di.epfl.ch: it contains
12617 # gethostby* variants that don't use the nameserver (or something).
12618 # -lsocket must be given before -lnsl if both are needed.
12619 # We assume that if connect needs -lnsl, so does gethostbyname.
12620 echo $ac_n "checking for connect""... $ac_c" 1>&6
12621 echo "configure:12622: checking for connect" >&5
12622 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
12623 echo $ac_n "(cached) $ac_c" 1>&6
12625 cat > conftest.
$ac_ext <<EOF
12626 #line 12627 "configure"
12627 #include "confdefs.h"
12628 /* System header to define __stub macros and hopefully few prototypes,
12629 which can conflict with char connect(); below. */
12630 #include <assert.h>
12631 /* Override any gcc2 internal prototype to avoid an error. */
12632 /* We use char because int might match the return type of a gcc2
12633 builtin and then its argument prototype would still apply. */
12638 /* The GNU C library defines this for functions which it implements
12639 to always fail with ENOSYS. Some functions are actually named
12640 something starting with __ and the normal name is an alias. */
12641 #if defined (__stub_connect) || defined (__stub___connect)
12649 if { (eval echo configure
:12650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12651 eval "ac_cv_func_connect=yes"
12653 echo "configure: failed program was:" >&5
12654 cat conftest.
$ac_ext >&5
12656 eval "ac_cv_func_connect=no"
12661 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
12662 echo "$ac_t""yes" 1>&6
12665 echo "$ac_t""no" 1>&6
12668 if test $ac_cv_func_connect = no
; then
12669 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12670 echo "configure:12671: checking for connect in -lsocket" >&5
12671 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12672 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12673 echo $ac_n "(cached) $ac_c" 1>&6
12675 ac_save_LIBS
="$LIBS"
12676 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
12677 cat > conftest.
$ac_ext <<EOF
12678 #line 12679 "configure"
12679 #include "confdefs.h"
12680 /* Override any gcc2 internal prototype to avoid an error. */
12681 /* We use char because int might match the return type of a gcc2
12682 builtin and then its argument prototype would still apply. */
12689 if { (eval echo configure
:12690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12691 eval "ac_cv_lib_$ac_lib_var=yes"
12693 echo "configure: failed program was:" >&5
12694 cat conftest.
$ac_ext >&5
12696 eval "ac_cv_lib_$ac_lib_var=no"
12699 LIBS
="$ac_save_LIBS"
12702 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12703 echo "$ac_t""yes" 1>&6
12704 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
12706 echo "$ac_t""no" 1>&6
12711 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12712 echo $ac_n "checking for remove""... $ac_c" 1>&6
12713 echo "configure:12714: checking for remove" >&5
12714 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12715 echo $ac_n "(cached) $ac_c" 1>&6
12717 cat > conftest.
$ac_ext <<EOF
12718 #line 12719 "configure"
12719 #include "confdefs.h"
12720 /* System header to define __stub macros and hopefully few prototypes,
12721 which can conflict with char remove(); below. */
12722 #include <assert.h>
12723 /* Override any gcc2 internal prototype to avoid an error. */
12724 /* We use char because int might match the return type of a gcc2
12725 builtin and then its argument prototype would still apply. */
12730 /* The GNU C library defines this for functions which it implements
12731 to always fail with ENOSYS. Some functions are actually named
12732 something starting with __ and the normal name is an alias. */
12733 #if defined (__stub_remove) || defined (__stub___remove)
12741 if { (eval echo configure
:12742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12743 eval "ac_cv_func_remove=yes"
12745 echo "configure: failed program was:" >&5
12746 cat conftest.
$ac_ext >&5
12748 eval "ac_cv_func_remove=no"
12753 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12754 echo "$ac_t""yes" 1>&6
12757 echo "$ac_t""no" 1>&6
12760 if test $ac_cv_func_remove = no
; then
12761 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12762 echo "configure:12763: checking for remove in -lposix" >&5
12763 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12764 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12765 echo $ac_n "(cached) $ac_c" 1>&6
12767 ac_save_LIBS
="$LIBS"
12768 LIBS
="-lposix $LIBS"
12769 cat > conftest.
$ac_ext <<EOF
12770 #line 12771 "configure"
12771 #include "confdefs.h"
12772 /* Override any gcc2 internal prototype to avoid an error. */
12773 /* We use char because int might match the return type of a gcc2
12774 builtin and then its argument prototype would still apply. */
12781 if { (eval echo configure
:12782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12783 eval "ac_cv_lib_$ac_lib_var=yes"
12785 echo "configure: failed program was:" >&5
12786 cat conftest.
$ac_ext >&5
12788 eval "ac_cv_lib_$ac_lib_var=no"
12791 LIBS
="$ac_save_LIBS"
12794 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12795 echo "$ac_t""yes" 1>&6
12796 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12798 echo "$ac_t""no" 1>&6
12803 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12804 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12805 echo "configure:12806: checking for shmat" >&5
12806 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12807 echo $ac_n "(cached) $ac_c" 1>&6
12809 cat > conftest.
$ac_ext <<EOF
12810 #line 12811 "configure"
12811 #include "confdefs.h"
12812 /* System header to define __stub macros and hopefully few prototypes,
12813 which can conflict with char shmat(); below. */
12814 #include <assert.h>
12815 /* Override any gcc2 internal prototype to avoid an error. */
12816 /* We use char because int might match the return type of a gcc2
12817 builtin and then its argument prototype would still apply. */
12822 /* The GNU C library defines this for functions which it implements
12823 to always fail with ENOSYS. Some functions are actually named
12824 something starting with __ and the normal name is an alias. */
12825 #if defined (__stub_shmat) || defined (__stub___shmat)
12833 if { (eval echo configure
:12834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12835 eval "ac_cv_func_shmat=yes"
12837 echo "configure: failed program was:" >&5
12838 cat conftest.
$ac_ext >&5
12840 eval "ac_cv_func_shmat=no"
12845 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12846 echo "$ac_t""yes" 1>&6
12849 echo "$ac_t""no" 1>&6
12852 if test $ac_cv_func_shmat = no
; then
12853 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12854 echo "configure:12855: checking for shmat in -lipc" >&5
12855 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12856 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12857 echo $ac_n "(cached) $ac_c" 1>&6
12859 ac_save_LIBS
="$LIBS"
12861 cat > conftest.
$ac_ext <<EOF
12862 #line 12863 "configure"
12863 #include "confdefs.h"
12864 /* Override any gcc2 internal prototype to avoid an error. */
12865 /* We use char because int might match the return type of a gcc2
12866 builtin and then its argument prototype would still apply. */
12873 if { (eval echo configure
:12874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12875 eval "ac_cv_lib_$ac_lib_var=yes"
12877 echo "configure: failed program was:" >&5
12878 cat conftest.
$ac_ext >&5
12880 eval "ac_cv_lib_$ac_lib_var=no"
12883 LIBS
="$ac_save_LIBS"
12886 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12887 echo "$ac_t""yes" 1>&6
12888 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12890 echo "$ac_t""no" 1>&6
12896 # Check for libraries that X11R6 Xt/Xaw programs need.
12897 ac_save_LDFLAGS
="$LDFLAGS"
12898 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12899 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12900 # check for ICE first), but we must link in the order -lSM -lICE or
12901 # we get undefined symbols. So assume we have SM if we have ICE.
12902 # These have to be linked with before -lX11, unlike the other
12903 # libraries we check for below, so use a different variable.
12904 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12905 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12906 echo "configure:12907: checking for IceConnectionNumber in -lICE" >&5
12907 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12908 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12909 echo $ac_n "(cached) $ac_c" 1>&6
12911 ac_save_LIBS
="$LIBS"
12912 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12913 cat > conftest.
$ac_ext <<EOF
12914 #line 12915 "configure"
12915 #include "confdefs.h"
12916 /* Override any gcc2 internal prototype to avoid an error. */
12917 /* We use char because int might match the return type of a gcc2
12918 builtin and then its argument prototype would still apply. */
12919 char IceConnectionNumber();
12922 IceConnectionNumber()
12925 if { (eval echo configure
:12926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12927 eval "ac_cv_lib_$ac_lib_var=yes"
12929 echo "configure: failed program was:" >&5
12930 cat conftest.
$ac_ext >&5
12932 eval "ac_cv_lib_$ac_lib_var=no"
12935 LIBS
="$ac_save_LIBS"
12938 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12939 echo "$ac_t""yes" 1>&6
12940 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12942 echo "$ac_t""no" 1>&6
12945 LDFLAGS
="$ac_save_LDFLAGS"
12950 if test "$no_x" = "yes"; then
12951 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12954 GUI_TK_LIBRARY
="$X_LIBS"
12955 TOOLKIT_INCLUDE
="$X_CFLAGS"
12956 AFMINSTALL
=afminstall
12957 COMPILED_X_PROGRAM
=0
12959 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12960 echo "configure:12961: checking for Motif/Lesstif headers" >&5
12963 for ac_dir
in $SEARCH_INCLUDE;
12965 if test -f "$ac_dir/Xm/Xm.h"; then
12966 ac_find_includes
=$ac_dir
12971 if test "$ac_find_includes" != "" ; then
12972 echo "$ac_t""found $ac_find_includes" 1>&6
12974 cat > conftest.
$ac_ext <<EOF
12975 #line 12976 "configure"
12976 #include "confdefs.h"
12983 version = xmUseVersion;
12987 if { (eval echo configure
:12988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12990 echo "$ac_t""found in default search path" 1>&6
12991 COMPILED_X_PROGRAM
=1
12994 echo "configure: failed program was:" >&5
12995 cat conftest.
$ac_ext >&5
12998 echo "$ac_t""no" 1>&6
12999 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
13006 if test "$COMPILED_X_PROGRAM" = 0; then
13007 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
13008 echo "configure:13009: checking for Motif/Lesstif library" >&5
13011 for ac_dir
in $SEARCH_LIB;
13013 for ac_extension
in a so sl dylib
; do
13014 if test -f "$ac_dir/libXm.$ac_extension"; then
13015 ac_find_libraries
=$ac_dir
13021 if test "$ac_find_libraries" != "" ; then
13023 ac_path_to_include
=$ac_find_includes
13024 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
13026 if test $result = 0; then
13027 ac_path_to_include
=""
13029 ac_path_to_include
=" -I$ac_find_includes"
13033 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13035 if test $result = 0; then
13038 ac_path_to_link
=" -L$ac_find_libraries"
13042 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13043 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
13044 echo "$ac_t""found at $ac_find_libraries" 1>&6
13046 cat > conftest.
$ac_ext <<EOF
13047 #line 13048 "configure"
13048 #include "confdefs.h"
13055 version = xmUseVersion;
13059 if { (eval echo configure
:13060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13062 echo "$ac_t""found in default search path" 1>&6
13063 COMPILED_X_PROGRAM
=1
13066 echo "configure: failed program was:" >&5
13067 cat conftest.
$ac_ext >&5
13070 echo "$ac_t""no" 1>&6
13071 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
13080 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13081 echo "configure:13082: checking for Xpm library" >&5
13084 for ac_dir
in $SEARCH_LIB;
13086 for ac_extension
in a so sl dylib
; do
13087 if test -f "$ac_dir/libXpm.$ac_extension"; then
13088 ac_find_libraries
=$ac_dir
13094 if test "$ac_find_libraries" != "" ; then
13096 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13098 if test $result = 0; then
13101 ac_path_to_link
=" -L$ac_find_libraries"
13104 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13106 cat >> confdefs.h
<<\EOF
13107 #define wxHAVE_LIB_XPM 1
13110 echo "$ac_t""found at $ac_find_libraries" 1>&6
13112 cat > conftest.
$ac_ext <<EOF
13113 #line 13114 "configure"
13114 #include "confdefs.h"
13116 #include <X11/xpm.h>
13121 version = XpmLibraryVersion();
13125 if { (eval echo configure
:13126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13129 cat >> confdefs.h
<<\EOF
13130 #define wxHAVE_LIB_XPM 1
13133 echo "$ac_t""found in default search path" 1>&6
13134 COMPILED_X_PROGRAM
=0
13137 echo "configure: failed program was:" >&5
13138 cat conftest.
$ac_ext >&5
13141 echo "$ac_t""no" 1>&6
13142 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13149 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
13150 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
13155 if test "$wxUSE_MAC" = 1; then
13156 if test "$wxUSE_PRECOMP" = "yes"; then
13157 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
13159 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
13160 CFLAGS
="$CFLAGS -fpascal-strings"
13161 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
13163 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
13168 if test "$wxUSE_PM" = 1; then
13173 if test "$TOOLKIT" = "PM" ; then
13176 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
13179 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
13181 if test "$wxUSE_UNIVERSAL" = "yes"; then
13182 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
13184 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
13185 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
13187 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
13188 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
13189 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
13192 ALL_OBJECTS
="\$(GUIOBJS)"
13193 ALL_SOURCES
="\$(ALL_SOURCES)"
13194 ALL_HEADERS
="\$(ALL_HEADERS)"
13197 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
13199 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
13200 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
13203 if test "$wxUSE_HTML" = "yes"; then
13204 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
13207 if test "$wxUSE_LIBJPEG" = "builtin" ; then
13208 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
13210 if test "$wxUSE_LIBTIFF" = "builtin" ; then
13211 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
13213 if test "$wxUSE_LIBPNG" = "builtin" ; then
13214 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
13217 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
13218 DISTDIR
="wx\$(TOOLKIT)"
13224 if test "$USE_WIN32" = 1 ; then
13225 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
13226 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
13230 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
13231 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
13234 ALL_SOURCES
="\$(ALL_SOURCES)"
13235 ALL_HEADERS
="\$(ALL_HEADERS)"
13237 PORT_FILES
="\${top_srcdir}/src/files.lst"
13239 GUIDIST
="BASE_DIST"
13244 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
13245 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
13248 if test "$wxUSE_REGEX" = "builtin" ; then
13249 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
13251 if test "$wxUSE_ZLIB" = "builtin" ; then
13252 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
13255 if test "$wxUSE_OPENGL" = "yes"; then
13256 if test "$wxUSE_MAC" = 1; then
13257 OPENGL_LIBS
="-framework OpenGL -framework AGL"
13260 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13261 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13262 echo "configure:13263: checking for GL/gl.h" >&5
13263 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13264 echo $ac_n "(cached) $ac_c" 1>&6
13266 cat > conftest.
$ac_ext <<EOF
13267 #line 13268 "configure"
13268 #include "confdefs.h"
13271 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13272 { (eval echo configure
:13273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13273 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13274 if test -z "$ac_err"; then
13276 eval "ac_cv_header_$ac_safe=yes"
13279 echo "configure: failed program was:" >&5
13280 cat conftest.
$ac_ext >&5
13282 eval "ac_cv_header_$ac_safe=no"
13286 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13287 echo "$ac_t""yes" 1>&6
13289 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
13290 echo "configure:13291: checking for -lGL" >&5
13293 for ac_dir
in $SEARCH_LIB;
13295 for ac_extension
in a so sl dylib
; do
13296 if test -f "$ac_dir/libGL.$ac_extension"; then
13297 ac_find_libraries
=$ac_dir
13303 if test "$ac_find_libraries" != "" ; then
13305 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13307 if test $result = 0; then
13310 ac_path_to_link
=" -L$ac_find_libraries"
13313 if test "$ac_path_to_link" = " -L/usr/lib" ; then
13314 LDFLAGS_GL
="$LDFLAGS"
13316 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13318 OPENGL_LIBS
="-lGL -lGLU"
13319 echo "$ac_t""yes" 1>&6
13321 echo "$ac_t""no" 1>&6
13322 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
13323 echo "configure:13324: checking for -lMesaGL" >&5
13326 for ac_dir
in $SEARCH_LIB;
13328 for ac_extension
in a so sl dylib
; do
13329 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13330 ac_find_libraries
=$ac_dir
13336 if test "$ac_find_libraries" != "" ; then
13338 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13340 if test $result = 0; then
13343 ac_path_to_link
=" -L$ac_find_libraries"
13346 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13347 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
13348 echo "$ac_t""yes" 1>&6
13350 echo "$ac_t""no" 1>&6
13355 echo "$ac_t""no" 1>&6
13360 # AC_CHECK_HEADER(GL/gl.h,
13362 # AC_CHECK_LIB(GL, glFlush,
13364 # OPENGL_LIBS="-lGL -lGLU"
13367 # AC_CHECK_LIB(MesaGL, glFlush,
13369 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
13377 if test "x$OPENGL_LIBS" = "x"; then
13378 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
13382 if test "$wxUSE_OPENGL" = "yes"; then
13383 cat >> confdefs.h
<<\EOF
13384 #define wxUSE_OPENGL 1
13387 cat >> confdefs.h
<<\EOF
13388 #define wxUSE_GLCANVAS 1
13391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
13395 if test -z "$TOOLKIT_VPATH" ; then
13396 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
13399 if test -n "$TOOLKIT" ; then
13400 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
13403 lib_unicode_suffix
=
13404 if test "$wxUSE_UNICODE" = "yes"; then
13405 lib_unicode_suffix
=u
13409 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
13413 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
13414 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
13416 if test "$cross_compiling" = "yes"; then
13417 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
13418 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
13421 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
13422 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
13424 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13425 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13427 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
13428 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13429 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
13430 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13432 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
13433 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
13436 *-*-cygwin* | *-*-mingw32* )
13440 if test "$cross_compiling" != "yes"; then
13441 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13442 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13443 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
13444 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
13446 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13447 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13452 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
13453 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
13455 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
13456 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
13458 if test "$wxUSE_OPENGL" = "yes"; then
13459 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
13460 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
13465 if test "$wxUSE_SHARED" = "yes"; then
13467 *-pc-os2_emx | *-pc-os2-emx | \
13470 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
13475 if test "$wxUSE_SHARED" = "yes"; then
13477 if test "$wxUSE_OPENGL" = "yes"; then
13478 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
13479 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
13481 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
13482 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
13485 if test "$GCC" = "yes"; then
13489 SHARED_LD
="${CXX} -shared -o"
13493 if test "$GCC" == "yes"; then
13494 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
13496 LDFLAGS
="$LDFLAGS -L/usr/lib"
13498 SHARED_LD
="${CXX} -b -o"
13502 if test "$wxUSE_OPENGL" = "yes"; then
13503 WX_ALL_INSTALLED
="preinstall_gl"
13504 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13506 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13511 if test "$GCC" != "yes"; then
13512 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
13513 echo "configure:13514: checking for Intel compiler" >&5
13514 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
13515 echo $ac_n "(cached) $ac_c" 1>&6
13518 cat > conftest.
$ac_ext <<EOF
13519 #line 13520 "configure"
13520 #include "confdefs.h"
13524 #ifndef __INTEL_COMPILER
13530 if { (eval echo configure
:13531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13534 echo "configure: failed program was:" >&5
13535 cat conftest.
$ac_ext >&5
13544 echo "$ac_t""$wx_cv_prog_icc" 1>&6
13545 if test "$wx_cv_prog_icc" = "yes"; then
13550 if test "$wxUSE_SONAME" = "yes" ; then
13551 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
13552 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
13553 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
13558 if test "$GCC" = yes ; then
13559 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
13561 SHARED_LD
="${CXX} -G -o"
13563 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
13564 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
13569 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
13570 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
13571 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
13572 PIC_FLAG
="-dynamic -fPIC"
13576 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
13579 *-*-cygwin* | *-*-mingw32* )
13581 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
13583 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
13584 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
13586 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
13588 if test "$wxUSE_OPENGL" = "yes"; then
13589 WX_ALL_INSTALLED
="preinstall_gl"
13590 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13592 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13597 SHARED_LD
="${LD} -shared -o"
13600 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
13602 *-*-irix5* | *-*-irix6* | \
13609 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
13612 if test "x$WX_TARGET_LIBRARY" = "x"; then
13613 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
13614 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
13617 WX_TARGET_LIBRARY_TYPE
="so"
13618 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
13621 if test "$wxUSE_SHARED" = "no"; then
13623 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
13624 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13627 if test "$wxUSE_MAC" = 1; then
13628 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13631 if test "$wxUSE_OPENGL" = "yes"; then
13632 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
13633 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
13635 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
13638 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
13639 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
13641 WX_TARGET_LIBRARY_TYPE
="a"
13642 INSTALL_LIBRARY
='$(INSTALL_DATA)'
13645 if test "$wxUSE_MAC" = 1; then
13646 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
13647 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
13648 # Extract the first word of "Rez", so it can be a program name with args.
13649 set dummy Rez
; ac_word
=$2
13650 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13651 echo "configure:13652: checking for $ac_word" >&5
13652 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
13653 echo $ac_n "(cached) $ac_c" 1>&6
13655 if test -n "$RESCOMP"; then
13656 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13658 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13660 for ac_dir
in $ac_dummy; do
13661 test -z "$ac_dir" && ac_dir
=.
13662 if test -f $ac_dir/$ac_word; then
13663 ac_cv_prog_RESCOMP
="Rez"
13668 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
13671 RESCOMP
="$ac_cv_prog_RESCOMP"
13672 if test -n "$RESCOMP"; then
13673 echo "$ac_t""$RESCOMP" 1>&6
13675 echo "$ac_t""no" 1>&6
13678 # Extract the first word of "DeRez", so it can be a program name with args.
13679 set dummy DeRez
; ac_word
=$2
13680 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13681 echo "configure:13682: checking for $ac_word" >&5
13682 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13683 echo $ac_n "(cached) $ac_c" 1>&6
13685 if test -n "$DEREZ"; then
13686 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
13688 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13690 for ac_dir
in $ac_dummy; do
13691 test -z "$ac_dir" && ac_dir
=.
13692 if test -f $ac_dir/$ac_word; then
13693 ac_cv_prog_DEREZ
="DeRez"
13698 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
13701 DEREZ
="$ac_cv_prog_DEREZ"
13702 if test -n "$DEREZ"; then
13703 echo "$ac_t""$DEREZ" 1>&6
13705 echo "$ac_t""no" 1>&6
13708 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
13709 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
13710 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
13714 if test "$wxUSE_MAC" != 1; then
13715 for ac_hdr
in strings.h
13717 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13718 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13719 echo "configure:13720: checking for $ac_hdr" >&5
13720 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13721 echo $ac_n "(cached) $ac_c" 1>&6
13723 cat > conftest.
$ac_ext <<EOF
13724 #line 13725 "configure"
13725 #include "confdefs.h"
13728 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13729 { (eval echo configure
:13730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13730 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13731 if test -z "$ac_err"; then
13733 eval "ac_cv_header_$ac_safe=yes"
13736 echo "configure: failed program was:" >&5
13737 cat conftest.
$ac_ext >&5
13739 eval "ac_cv_header_$ac_safe=no"
13743 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13744 echo "$ac_t""yes" 1>&6
13745 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13746 cat >> confdefs.h
<<EOF
13747 #define $ac_tr_hdr 1
13751 echo "$ac_t""no" 1>&6
13757 for ac_hdr
in stdlib.h
13759 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13760 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13761 echo "configure:13762: checking for $ac_hdr" >&5
13762 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13763 echo $ac_n "(cached) $ac_c" 1>&6
13765 cat > conftest.
$ac_ext <<EOF
13766 #line 13767 "configure"
13767 #include "confdefs.h"
13770 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13771 { (eval echo configure
:13772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13772 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13773 if test -z "$ac_err"; then
13775 eval "ac_cv_header_$ac_safe=yes"
13778 echo "configure: failed program was:" >&5
13779 cat conftest.
$ac_ext >&5
13781 eval "ac_cv_header_$ac_safe=no"
13785 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13786 echo "$ac_t""yes" 1>&6
13787 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13788 cat >> confdefs.h
<<EOF
13789 #define $ac_tr_hdr 1
13793 echo "$ac_t""no" 1>&6
13797 for ac_hdr
in malloc.h
13799 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13800 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13801 echo "configure:13802: checking for $ac_hdr" >&5
13802 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13803 echo $ac_n "(cached) $ac_c" 1>&6
13805 cat > conftest.
$ac_ext <<EOF
13806 #line 13807 "configure"
13807 #include "confdefs.h"
13810 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13811 { (eval echo configure
:13812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13812 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13813 if test -z "$ac_err"; then
13815 eval "ac_cv_header_$ac_safe=yes"
13818 echo "configure: failed program was:" >&5
13819 cat conftest.
$ac_ext >&5
13821 eval "ac_cv_header_$ac_safe=no"
13825 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13826 echo "$ac_t""yes" 1>&6
13827 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13828 cat >> confdefs.h
<<EOF
13829 #define $ac_tr_hdr 1
13833 echo "$ac_t""no" 1>&6
13837 for ac_hdr
in unistd.h
13839 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13840 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13841 echo "configure:13842: checking for $ac_hdr" >&5
13842 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13843 echo $ac_n "(cached) $ac_c" 1>&6
13845 cat > conftest.
$ac_ext <<EOF
13846 #line 13847 "configure"
13847 #include "confdefs.h"
13850 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13851 { (eval echo configure
:13852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13852 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13853 if test -z "$ac_err"; then
13855 eval "ac_cv_header_$ac_safe=yes"
13858 echo "configure: failed program was:" >&5
13859 cat conftest.
$ac_ext >&5
13861 eval "ac_cv_header_$ac_safe=no"
13865 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13866 echo "$ac_t""yes" 1>&6
13867 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13868 cat >> confdefs.h
<<EOF
13869 #define $ac_tr_hdr 1
13873 echo "$ac_t""no" 1>&6
13877 for ac_hdr
in wchar.h
13879 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13880 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13881 echo "configure:13882: checking for $ac_hdr" >&5
13882 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13883 echo $ac_n "(cached) $ac_c" 1>&6
13885 cat > conftest.
$ac_ext <<EOF
13886 #line 13887 "configure"
13887 #include "confdefs.h"
13890 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13891 { (eval echo configure
:13892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13892 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13893 if test -z "$ac_err"; then
13895 eval "ac_cv_header_$ac_safe=yes"
13898 echo "configure: failed program was:" >&5
13899 cat conftest.
$ac_ext >&5
13901 eval "ac_cv_header_$ac_safe=no"
13905 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13906 echo "$ac_t""yes" 1>&6
13907 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13908 cat >> confdefs.h
<<EOF
13909 #define $ac_tr_hdr 1
13913 echo "$ac_t""no" 1>&6
13917 for ac_hdr
in wcstr.h
13919 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13920 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13921 echo "configure:13922: checking for $ac_hdr" >&5
13922 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13923 echo $ac_n "(cached) $ac_c" 1>&6
13925 cat > conftest.
$ac_ext <<EOF
13926 #line 13927 "configure"
13927 #include "confdefs.h"
13930 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13931 { (eval echo configure
:13932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13932 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13933 if test -z "$ac_err"; then
13935 eval "ac_cv_header_$ac_safe=yes"
13938 echo "configure: failed program was:" >&5
13939 cat conftest.
$ac_ext >&5
13941 eval "ac_cv_header_$ac_safe=no"
13945 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13946 echo "$ac_t""yes" 1>&6
13947 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13948 cat >> confdefs.h
<<EOF
13949 #define $ac_tr_hdr 1
13953 echo "$ac_t""no" 1>&6
13957 for ac_hdr
in wctype.h
13959 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13960 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13961 echo "configure:13962: checking for $ac_hdr" >&5
13962 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13963 echo $ac_n "(cached) $ac_c" 1>&6
13965 cat > conftest.
$ac_ext <<EOF
13966 #line 13967 "configure"
13967 #include "confdefs.h"
13970 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13971 { (eval echo configure
:13972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13972 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13973 if test -z "$ac_err"; then
13975 eval "ac_cv_header_$ac_safe=yes"
13978 echo "configure: failed program was:" >&5
13979 cat conftest.
$ac_ext >&5
13981 eval "ac_cv_header_$ac_safe=no"
13985 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13986 echo "$ac_t""yes" 1>&6
13987 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13988 cat >> confdefs.h
<<EOF
13989 #define $ac_tr_hdr 1
13993 echo "$ac_t""no" 1>&6
13997 for ac_hdr
in fnmatch.h
13999 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14000 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14001 echo "configure:14002: checking for $ac_hdr" >&5
14002 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14003 echo $ac_n "(cached) $ac_c" 1>&6
14005 cat > conftest.
$ac_ext <<EOF
14006 #line 14007 "configure"
14007 #include "confdefs.h"
14010 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14011 { (eval echo configure
:14012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14012 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14013 if test -z "$ac_err"; then
14015 eval "ac_cv_header_$ac_safe=yes"
14018 echo "configure: failed program was:" >&5
14019 cat conftest.
$ac_ext >&5
14021 eval "ac_cv_header_$ac_safe=no"
14025 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14026 echo "$ac_t""yes" 1>&6
14027 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14028 cat >> confdefs.h
<<EOF
14029 #define $ac_tr_hdr 1
14033 echo "$ac_t""no" 1>&6
14037 for ac_hdr
in langinfo.h
14039 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14040 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14041 echo "configure:14042: checking for $ac_hdr" >&5
14042 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14043 echo $ac_n "(cached) $ac_c" 1>&6
14045 cat > conftest.
$ac_ext <<EOF
14046 #line 14047 "configure"
14047 #include "confdefs.h"
14050 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14051 { (eval echo configure
:14052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14052 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14053 if test -z "$ac_err"; then
14055 eval "ac_cv_header_$ac_safe=yes"
14058 echo "configure: failed program was:" >&5
14059 cat conftest.
$ac_ext >&5
14061 eval "ac_cv_header_$ac_safe=no"
14065 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14066 echo "$ac_t""yes" 1>&6
14067 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14068 cat >> confdefs.h
<<EOF
14069 #define $ac_tr_hdr 1
14073 echo "$ac_t""no" 1>&6
14078 if test "$wxUSE_GUI" = "yes"; then
14079 if test "$wxUSE_UNIX" = "yes"; then
14080 for ac_hdr
in X
11/XKBlib.h
14082 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14083 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14084 echo "configure:14085: checking for $ac_hdr" >&5
14085 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14086 echo $ac_n "(cached) $ac_c" 1>&6
14088 cat > conftest.
$ac_ext <<EOF
14089 #line 14090 "configure"
14090 #include "confdefs.h"
14093 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14094 { (eval echo configure
:14095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14095 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14096 if test -z "$ac_err"; then
14098 eval "ac_cv_header_$ac_safe=yes"
14101 echo "configure: failed program was:" >&5
14102 cat conftest.
$ac_ext >&5
14104 eval "ac_cv_header_$ac_safe=no"
14108 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14109 echo "$ac_t""yes" 1>&6
14110 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14111 cat >> confdefs.h
<<EOF
14112 #define $ac_tr_hdr 1
14116 echo "$ac_t""no" 1>&6
14124 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
14125 echo "configure:14126: checking for ANSI C header files" >&5
14126 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
14127 echo $ac_n "(cached) $ac_c" 1>&6
14129 cat > conftest.
$ac_ext <<EOF
14130 #line 14131 "configure"
14131 #include "confdefs.h"
14132 #include <stdlib.h>
14133 #include <stdarg.h>
14134 #include <string.h>
14137 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14138 { (eval echo configure
:14139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14139 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14140 if test -z "$ac_err"; then
14142 ac_cv_header_stdc
=yes
14145 echo "configure: failed program was:" >&5
14146 cat conftest.
$ac_ext >&5
14148 ac_cv_header_stdc
=no
14152 if test $ac_cv_header_stdc = yes; then
14153 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14154 cat > conftest.
$ac_ext <<EOF
14155 #line 14156 "configure"
14156 #include "confdefs.h"
14157 #include <string.h>
14159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14160 egrep "memchr" >/dev
/null
2>&1; then
14164 ac_cv_header_stdc
=no
14170 if test $ac_cv_header_stdc = yes; then
14171 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14172 cat > conftest.
$ac_ext <<EOF
14173 #line 14174 "configure"
14174 #include "confdefs.h"
14175 #include <stdlib.h>
14177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14178 egrep "free" >/dev
/null
2>&1; then
14182 ac_cv_header_stdc
=no
14188 if test $ac_cv_header_stdc = yes; then
14189 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14190 if test "$cross_compiling" = yes; then
14193 cat > conftest.
$ac_ext <<EOF
14194 #line 14195 "configure"
14195 #include "confdefs.h"
14197 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14198 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14199 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14200 int main () { int i; for (i = 0; i < 256; i++)
14201 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
14205 if { (eval echo configure
:14206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14209 echo "configure: failed program was:" >&5
14210 cat conftest.
$ac_ext >&5
14212 ac_cv_header_stdc
=no
14220 echo "$ac_t""$ac_cv_header_stdc" 1>&6
14221 if test $ac_cv_header_stdc = yes; then
14222 cat >> confdefs.h
<<\EOF
14223 #define STDC_HEADERS 1
14228 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
14229 echo "configure:14230: checking for mode_t" >&5
14230 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
14231 echo $ac_n "(cached) $ac_c" 1>&6
14233 cat > conftest.
$ac_ext <<EOF
14234 #line 14235 "configure"
14235 #include "confdefs.h"
14236 #include <sys/types.h>
14238 #include <stdlib.h>
14239 #include <stddef.h>
14242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14243 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14245 ac_cv_type_mode_t
=yes
14248 ac_cv_type_mode_t
=no
14253 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
14254 if test $ac_cv_type_mode_t = no
; then
14255 cat >> confdefs.h
<<\EOF
14261 echo $ac_n "checking for off_t""... $ac_c" 1>&6
14262 echo "configure:14263: checking for off_t" >&5
14263 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
14264 echo $ac_n "(cached) $ac_c" 1>&6
14266 cat > conftest.
$ac_ext <<EOF
14267 #line 14268 "configure"
14268 #include "confdefs.h"
14269 #include <sys/types.h>
14271 #include <stdlib.h>
14272 #include <stddef.h>
14275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14276 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14278 ac_cv_type_off_t
=yes
14281 ac_cv_type_off_t
=no
14286 echo "$ac_t""$ac_cv_type_off_t" 1>&6
14287 if test $ac_cv_type_off_t = no
; then
14288 cat >> confdefs.h
<<\EOF
14294 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
14295 echo "configure:14296: checking for pid_t" >&5
14296 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
14297 echo $ac_n "(cached) $ac_c" 1>&6
14299 cat > conftest.
$ac_ext <<EOF
14300 #line 14301 "configure"
14301 #include "confdefs.h"
14302 #include <sys/types.h>
14304 #include <stdlib.h>
14305 #include <stddef.h>
14308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14309 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14311 ac_cv_type_pid_t
=yes
14314 ac_cv_type_pid_t
=no
14319 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
14320 if test $ac_cv_type_pid_t = no
; then
14321 cat >> confdefs.h
<<\EOF
14327 echo $ac_n "checking for size_t""... $ac_c" 1>&6
14328 echo "configure:14329: checking for size_t" >&5
14329 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
14330 echo $ac_n "(cached) $ac_c" 1>&6
14332 cat > conftest.
$ac_ext <<EOF
14333 #line 14334 "configure"
14334 #include "confdefs.h"
14335 #include <sys/types.h>
14337 #include <stdlib.h>
14338 #include <stddef.h>
14341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14342 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14344 ac_cv_type_size_t
=yes
14347 ac_cv_type_size_t
=no
14352 echo "$ac_t""$ac_cv_type_size_t" 1>&6
14353 if test $ac_cv_type_size_t = no
; then
14354 cat >> confdefs.h
<<\EOF
14355 #define size_t unsigned
14360 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
14361 echo "configure:14362: checking for uid_t in sys/types.h" >&5
14362 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
14363 echo $ac_n "(cached) $ac_c" 1>&6
14365 cat > conftest.
$ac_ext <<EOF
14366 #line 14367 "configure"
14367 #include "confdefs.h"
14368 #include <sys/types.h>
14370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14371 egrep "uid_t" >/dev
/null
2>&1; then
14373 ac_cv_type_uid_t
=yes
14376 ac_cv_type_uid_t
=no
14382 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
14383 if test $ac_cv_type_uid_t = no
; then
14384 cat >> confdefs.h
<<\EOF
14388 cat >> confdefs.h
<<\EOF
14395 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
14396 echo "configure:14397: checking for wchar_t" >&5
14397 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
14398 echo $ac_n "(cached) $ac_c" 1>&6
14401 cat > conftest.
$ac_ext <<EOF
14402 #line 14403 "configure"
14403 #include "confdefs.h"
14405 #ifdef HAVE_WCHAR_H
14407 # include <stddef.h>
14409 # include <wchar.h>
14411 #ifdef HAVE_STDLIB_H
14412 # include <stdlib.h>
14419 ws = L"Hello, world!";
14423 if { (eval echo configure
:14424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14425 wx_cv_type_wchar_t
=yes
14427 echo "configure: failed program was:" >&5
14428 cat conftest.
$ac_ext >&5
14430 wx_cv_type_wchar_t
=no
14437 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
14439 if test "$wx_cv_type_wchar_t" = "yes"; then
14440 cat >> confdefs.h
<<\EOF
14441 #define wxUSE_WCHAR_T 1
14448 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14449 ac_cpp
='$CXXCPP $CPPFLAGS'
14450 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14451 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14452 cross_compiling
=$ac_cv_prog_cxx_cross
14454 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
14455 echo "configure:14456: checking if size_t is unsigned int" >&5
14456 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
14457 echo $ac_n "(cached) $ac_c" 1>&6
14459 cat > conftest.
$ac_ext <<EOF
14460 #line 14461 "configure"
14461 #include "confdefs.h"
14462 #include <stddef.h>
14467 struct Foo { void foo(size_t); void foo(unsigned int); };
14473 if { (eval echo configure
:14474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14475 wx_cv_size_t_is_uint
=no
14477 echo "configure: failed program was:" >&5
14478 cat conftest.
$ac_ext >&5
14480 wx_cv_size_t_is_uint
=yes
14487 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
14489 if test "$wx_cv_size_t_is_uint" = "yes"; then
14490 cat >> confdefs.h
<<\EOF
14491 #define wxSIZE_T_IS_UINT 1
14495 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
14496 echo "configure:14497: checking if size_t is unsigned long" >&5
14497 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
14498 echo $ac_n "(cached) $ac_c" 1>&6
14500 cat > conftest.
$ac_ext <<EOF
14501 #line 14502 "configure"
14502 #include "confdefs.h"
14503 #include <stddef.h>
14508 struct Foo { void foo(size_t); void foo(unsigned long); };
14514 if { (eval echo configure
:14515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14516 wx_cv_size_t_is_ulong
=no
14518 echo "configure: failed program was:" >&5
14519 cat conftest.
$ac_ext >&5
14521 wx_cv_size_t_is_ulong
=yes
14528 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
14530 if test "$wx_cv_size_t_is_ulong" = "yes"; then
14531 cat >> confdefs.h
<<\EOF
14532 #define wxSIZE_T_IS_ULONG 1
14539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14540 ac_cpp
='$CPP $CPPFLAGS'
14541 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14542 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14543 cross_compiling
=$ac_cv_prog_cc_cross
14547 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
14548 echo "configure:14549: checking for pw_gecos in struct passwd" >&5
14549 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
14550 echo $ac_n "(cached) $ac_c" 1>&6
14553 cat > conftest.
$ac_ext <<EOF
14554 #line 14555 "configure"
14555 #include "confdefs.h"
14565 if { (eval echo configure
:14566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14568 wx_cv_struct_pw_gecos
=yes
14571 echo "configure: failed program was:" >&5
14572 cat conftest.
$ac_ext >&5
14575 wx_cv_struct_pw_gecos
=no
14584 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
14586 if test "$wx_cv_struct_pw_gecos" = "yes"; then
14587 cat >> confdefs.h
<<\EOF
14588 #define HAVE_PW_GECOS 1
14594 echo $ac_n "checking for working const""... $ac_c" 1>&6
14595 echo "configure:14596: checking for working const" >&5
14596 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
14597 echo $ac_n "(cached) $ac_c" 1>&6
14599 cat > conftest.
$ac_ext <<EOF
14600 #line 14601 "configure"
14601 #include "confdefs.h"
14605 /* Ultrix mips cc rejects this. */
14606 typedef int charset[2]; const charset x;
14607 /* SunOS 4.1.1 cc rejects this. */
14608 char const *const *ccp;
14610 /* NEC SVR4.0.2 mips cc rejects this. */
14611 struct point {int x, y;};
14612 static struct point const zero = {0,0};
14613 /* AIX XL C 1.02.0.0 rejects this.
14614 It does not let you subtract one const X* pointer from another in an arm
14615 of an if-expression whose if-part is not a constant expression */
14616 const char *g = "string";
14617 ccp = &g + (g ? g-g : 0);
14618 /* HPUX 7.0 cc rejects these. */
14621 ccp = (char const *const *) p;
14622 { /* SCO 3.2v4 cc rejects this. */
14624 char const *s = 0 ? (char *) 0 : (char const *) 0;
14628 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14629 int x[] = {25, 17};
14630 const int *foo = &x[0];
14633 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14634 typedef const int *iptr;
14638 { /* AIX XL C 1.02.0.0 rejects this saying
14639 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14640 struct s { int j; const int *ap[3]; };
14641 struct s *b; b->j = 5;
14643 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14644 const int foo = 10;
14649 if { (eval echo configure
:14650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14653 echo "configure: failed program was:" >&5
14654 cat conftest.
$ac_ext >&5
14661 echo "$ac_t""$ac_cv_c_const" 1>&6
14662 if test $ac_cv_c_const = no
; then
14663 cat >> confdefs.h
<<\EOF
14669 echo $ac_n "checking for inline""... $ac_c" 1>&6
14670 echo "configure:14671: checking for inline" >&5
14671 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
14672 echo $ac_n "(cached) $ac_c" 1>&6
14675 for ac_kw
in inline __inline__ __inline
; do
14676 cat > conftest.
$ac_ext <<EOF
14677 #line 14678 "configure"
14678 #include "confdefs.h"
14684 if { (eval echo configure
:14685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14686 ac_cv_c_inline
=$ac_kw; break
14688 echo "configure: failed program was:" >&5
14689 cat conftest.
$ac_ext >&5
14696 echo "$ac_t""$ac_cv_c_inline" 1>&6
14697 case "$ac_cv_c_inline" in
14699 no
) cat >> confdefs.h
<<\EOF
14703 *) cat >> confdefs.h
<<EOF
14704 #define inline $ac_cv_c_inline
14710 echo $ac_n "checking size of char""... $ac_c" 1>&6
14711 echo "configure:14712: checking size of char" >&5
14712 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14713 echo $ac_n "(cached) $ac_c" 1>&6
14715 if test "$cross_compiling" = yes; then
14716 ac_cv_sizeof_char
=1
14718 cat > conftest.
$ac_ext <<EOF
14719 #line 14720 "configure"
14720 #include "confdefs.h"
14724 FILE *f=fopen("conftestval", "w");
14726 fprintf(f, "%d\n", sizeof(char));
14730 if { (eval echo configure
:14731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14732 ac_cv_sizeof_char
=`cat conftestval`
14734 echo "configure: failed program was:" >&5
14735 cat conftest.
$ac_ext >&5
14737 ac_cv_sizeof_char
=0
14743 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14744 cat >> confdefs.h
<<EOF
14745 #define SIZEOF_CHAR $ac_cv_sizeof_char
14749 echo $ac_n "checking size of short""... $ac_c" 1>&6
14750 echo "configure:14751: checking size of short" >&5
14751 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14752 echo $ac_n "(cached) $ac_c" 1>&6
14754 if test "$cross_compiling" = yes; then
14755 ac_cv_sizeof_short
=2
14757 cat > conftest.
$ac_ext <<EOF
14758 #line 14759 "configure"
14759 #include "confdefs.h"
14763 FILE *f=fopen("conftestval", "w");
14765 fprintf(f, "%d\n", sizeof(short));
14769 if { (eval echo configure
:14770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14771 ac_cv_sizeof_short
=`cat conftestval`
14773 echo "configure: failed program was:" >&5
14774 cat conftest.
$ac_ext >&5
14776 ac_cv_sizeof_short
=0
14782 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14783 cat >> confdefs.h
<<EOF
14784 #define SIZEOF_SHORT $ac_cv_sizeof_short
14788 echo $ac_n "checking size of int *""... $ac_c" 1>&6
14789 echo "configure:14790: checking size of int *" >&5
14790 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
14791 echo $ac_n "(cached) $ac_c" 1>&6
14793 if test "$cross_compiling" = yes; then
14794 ac_cv_sizeof_int_p
=4
14796 cat > conftest.
$ac_ext <<EOF
14797 #line 14798 "configure"
14798 #include "confdefs.h"
14802 FILE *f=fopen("conftestval", "w");
14804 fprintf(f, "%d\n", sizeof(int *));
14808 if { (eval echo configure
:14809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14810 ac_cv_sizeof_int_p
=`cat conftestval`
14812 echo "configure: failed program was:" >&5
14813 cat conftest.
$ac_ext >&5
14815 ac_cv_sizeof_int_p
=0
14821 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
14822 cat >> confdefs.h
<<EOF
14823 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
14827 echo $ac_n "checking size of int""... $ac_c" 1>&6
14828 echo "configure:14829: checking size of int" >&5
14829 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14830 echo $ac_n "(cached) $ac_c" 1>&6
14832 if test "$cross_compiling" = yes; then
14835 cat > conftest.
$ac_ext <<EOF
14836 #line 14837 "configure"
14837 #include "confdefs.h"
14841 FILE *f=fopen("conftestval", "w");
14843 fprintf(f, "%d\n", sizeof(int));
14847 if { (eval echo configure
:14848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14849 ac_cv_sizeof_int
=`cat conftestval`
14851 echo "configure: failed program was:" >&5
14852 cat conftest.
$ac_ext >&5
14860 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14861 cat >> confdefs.h
<<EOF
14862 #define SIZEOF_INT $ac_cv_sizeof_int
14866 echo $ac_n "checking size of long""... $ac_c" 1>&6
14867 echo "configure:14868: checking size of long" >&5
14868 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14869 echo $ac_n "(cached) $ac_c" 1>&6
14871 if test "$cross_compiling" = yes; then
14872 ac_cv_sizeof_long
=4
14874 cat > conftest.
$ac_ext <<EOF
14875 #line 14876 "configure"
14876 #include "confdefs.h"
14880 FILE *f=fopen("conftestval", "w");
14882 fprintf(f, "%d\n", sizeof(long));
14886 if { (eval echo configure
:14887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14888 ac_cv_sizeof_long
=`cat conftestval`
14890 echo "configure: failed program was:" >&5
14891 cat conftest.
$ac_ext >&5
14893 ac_cv_sizeof_long
=0
14899 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14900 cat >> confdefs.h
<<EOF
14901 #define SIZEOF_LONG $ac_cv_sizeof_long
14905 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14906 echo "configure:14907: checking size of long long" >&5
14907 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14908 echo $ac_n "(cached) $ac_c" 1>&6
14910 if test "$cross_compiling" = yes; then
14911 ac_cv_sizeof_long_long
=0
14913 cat > conftest.
$ac_ext <<EOF
14914 #line 14915 "configure"
14915 #include "confdefs.h"
14919 FILE *f=fopen("conftestval", "w");
14921 fprintf(f, "%d\n", sizeof(long long));
14925 if { (eval echo configure
:14926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14927 ac_cv_sizeof_long_long
=`cat conftestval`
14929 echo "configure: failed program was:" >&5
14930 cat conftest.
$ac_ext >&5
14932 ac_cv_sizeof_long_long
=0
14938 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14939 cat >> confdefs.h
<<EOF
14940 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14945 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14946 echo "configure:14947: checking size of wchar_t" >&5
14947 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14948 echo $ac_n "(cached) $ac_c" 1>&6
14951 if test "$cross_compiling" = yes; then
14952 wx_cv_sizeof_wchar_t
=4
14955 cat > conftest.
$ac_ext <<EOF
14956 #line 14957 "configure"
14957 #include "confdefs.h"
14959 #ifdef HAVE_WCHAR_H
14961 # include <stddef.h>
14963 # include <wchar.h>
14965 #ifdef HAVE_STDLIB_H
14966 # include <stdlib.h>
14971 FILE *f=fopen("conftestval", "w");
14973 fprintf(f, "%i", sizeof(wchar_t));
14978 if { (eval echo configure
:14979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14980 wx_cv_sizeof_wchar_t
=`cat conftestval`
14982 echo "configure: failed program was:" >&5
14983 cat conftest.
$ac_ext >&5
14985 wx_cv_sizeof_wchar_t
=0
14993 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
14995 cat >> confdefs.h
<<EOF
14996 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
15000 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
15001 echo "configure:15002: checking whether byte ordering is bigendian" >&5
15002 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
15003 echo $ac_n "(cached) $ac_c" 1>&6
15005 ac_cv_c_bigendian
=unknown
15006 # See if sys/param.h defines the BYTE_ORDER macro.
15007 cat > conftest.
$ac_ext <<EOF
15008 #line 15009 "configure"
15009 #include "confdefs.h"
15010 #include <sys/types.h>
15011 #include <sys/param.h>
15014 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15015 bogus endian macros
15019 if { (eval echo configure
:15020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15021 # It does; now see whether it defined to BIG_ENDIAN or not.
15022 cat > conftest.
$ac_ext <<EOF
15023 #line 15024 "configure"
15024 #include "confdefs.h"
15025 #include <sys/types.h>
15026 #include <sys/param.h>
15029 #if BYTE_ORDER != BIG_ENDIAN
15034 if { (eval echo configure
:15035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15036 ac_cv_c_bigendian
=yes
15038 echo "configure: failed program was:" >&5
15039 cat conftest.
$ac_ext >&5
15041 ac_cv_c_bigendian
=no
15045 echo "configure: failed program was:" >&5
15046 cat conftest.
$ac_ext >&5
15049 if test $ac_cv_c_bigendian = unknown
; then
15050 if test "$cross_compiling" = yes; then
15051 ac_cv_c_bigendian
=unknown
15053 cat > conftest.
$ac_ext <<EOF
15054 #line 15055 "configure"
15055 #include "confdefs.h"
15057 /* Are we little or big endian? From Harbison&Steele. */
15061 char c[sizeof (long)];
15064 exit (u.c[sizeof (long) - 1] == 1);
15067 if { (eval echo configure
:15068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15069 ac_cv_c_bigendian
=no
15071 echo "configure: failed program was:" >&5
15072 cat conftest.
$ac_ext >&5
15074 ac_cv_c_bigendian
=yes
15082 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
15083 if test $ac_cv_c_bigendian = unknown
; then
15084 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
15086 if test $ac_cv_c_bigendian = yes; then
15087 cat >> confdefs.h
<<\EOF
15088 #define WORDS_BIGENDIAN 1
15094 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
15095 echo "configure:15096: checking how to run the C++ preprocessor" >&5
15096 if test -z "$CXXCPP"; then
15097 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
15098 echo $ac_n "(cached) $ac_c" 1>&6
15101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15102 ac_cpp
='$CXXCPP $CPPFLAGS'
15103 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15104 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15105 cross_compiling
=$ac_cv_prog_cxx_cross
15106 CXXCPP
="${CXX-g++} -E"
15107 cat > conftest.
$ac_ext <<EOF
15108 #line 15109 "configure"
15109 #include "confdefs.h"
15110 #include <stdlib.h>
15112 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15113 { (eval echo configure
:15114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15114 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15115 if test -z "$ac_err"; then
15119 echo "configure: failed program was:" >&5
15120 cat conftest.
$ac_ext >&5
15125 ac_cv_prog_CXXCPP
="$CXXCPP"
15127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15128 ac_cpp
='$CXXCPP $CPPFLAGS'
15129 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15130 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15131 cross_compiling
=$ac_cv_prog_cxx_cross
15134 CXXCPP
="$ac_cv_prog_CXXCPP"
15135 echo "$ac_t""$CXXCPP" 1>&6
15138 if test "$cross_compiling" = "yes"; then
15139 cat >> confdefs.h
<<\EOF
15140 #define wxUSE_IOSTREAMH 1
15146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15147 ac_cpp
='$CXXCPP $CPPFLAGS'
15148 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15149 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15150 cross_compiling
=$ac_cv_prog_cxx_cross
15153 for ac_hdr
in iostream
15155 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15156 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15157 echo "configure:15158: checking for $ac_hdr" >&5
15158 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15159 echo $ac_n "(cached) $ac_c" 1>&6
15161 cat > conftest.
$ac_ext <<EOF
15162 #line 15163 "configure"
15163 #include "confdefs.h"
15166 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15167 { (eval echo configure
:15168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15168 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15169 if test -z "$ac_err"; then
15171 eval "ac_cv_header_$ac_safe=yes"
15174 echo "configure: failed program was:" >&5
15175 cat conftest.
$ac_ext >&5
15177 eval "ac_cv_header_$ac_safe=no"
15181 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15182 echo "$ac_t""yes" 1>&6
15183 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15184 cat >> confdefs.h
<<EOF
15185 #define $ac_tr_hdr 1
15189 echo "$ac_t""no" 1>&6
15194 if test "$ac_cv_header_iostream" = "yes" ; then
15197 cat >> confdefs.h
<<\EOF
15198 #define wxUSE_IOSTREAMH 1
15204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15205 ac_cpp
='$CPP $CPPFLAGS'
15206 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15207 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15208 cross_compiling
=$ac_cv_prog_cc_cross
15214 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
15215 echo "configure:15216: checking if C++ compiler supports bool" >&5
15216 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
15217 echo $ac_n "(cached) $ac_c" 1>&6
15222 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15223 ac_cpp
='$CXXCPP $CPPFLAGS'
15224 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15225 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15226 cross_compiling
=$ac_cv_prog_cxx_cross
15229 cat > conftest.
$ac_ext <<EOF
15230 #line 15231 "configure"
15231 #include "confdefs.h"
15242 if { (eval echo configure
:15243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15248 echo "configure: failed program was:" >&5
15249 cat conftest.
$ac_ext >&5
15259 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15260 ac_cpp
='$CPP $CPPFLAGS'
15261 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15262 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15263 cross_compiling
=$ac_cv_prog_cc_cross
15268 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
15270 if test "$wx_cv_cpp_bool" = "yes"; then
15271 cat >> confdefs.h
<<\EOF
15272 #define HAVE_BOOL 1
15279 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
15280 echo "configure:15281: checking for wcslen in -lc" >&5
15281 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
15282 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15283 echo $ac_n "(cached) $ac_c" 1>&6
15285 ac_save_LIBS
="$LIBS"
15287 cat > conftest.
$ac_ext <<EOF
15288 #line 15289 "configure"
15289 #include "confdefs.h"
15290 /* Override any gcc2 internal prototype to avoid an error. */
15291 /* We use char because int might match the return type of a gcc2
15292 builtin and then its argument prototype would still apply. */
15299 if { (eval echo configure
:15300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15301 eval "ac_cv_lib_$ac_lib_var=yes"
15303 echo "configure: failed program was:" >&5
15304 cat conftest.
$ac_ext >&5
15306 eval "ac_cv_lib_$ac_lib_var=no"
15309 LIBS
="$ac_save_LIBS"
15312 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15313 echo "$ac_t""yes" 1>&6
15315 cat >> confdefs.h
<<\EOF
15316 #define HAVE_WCSLEN 1
15322 echo "$ac_t""no" 1>&6
15324 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15325 echo "configure:15326: checking for wcslen in -lw" >&5
15326 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15327 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15328 echo $ac_n "(cached) $ac_c" 1>&6
15330 ac_save_LIBS
="$LIBS"
15332 cat > conftest.
$ac_ext <<EOF
15333 #line 15334 "configure"
15334 #include "confdefs.h"
15335 /* Override any gcc2 internal prototype to avoid an error. */
15336 /* We use char because int might match the return type of a gcc2
15337 builtin and then its argument prototype would still apply. */
15344 if { (eval echo configure
:15345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15346 eval "ac_cv_lib_$ac_lib_var=yes"
15348 echo "configure: failed program was:" >&5
15349 cat conftest.
$ac_ext >&5
15351 eval "ac_cv_lib_$ac_lib_var=no"
15354 LIBS
="$ac_save_LIBS"
15357 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15358 echo "$ac_t""yes" 1>&6
15360 cat >> confdefs.h
<<\EOF
15361 #define HAVE_WCSLEN 1
15367 echo "$ac_t""no" 1>&6
15369 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15370 echo "configure:15371: checking for wcslen in -lmsvcrt" >&5
15371 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15372 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15373 echo $ac_n "(cached) $ac_c" 1>&6
15375 ac_save_LIBS
="$LIBS"
15376 LIBS
="-lmsvcrt $LIBS"
15377 cat > conftest.
$ac_ext <<EOF
15378 #line 15379 "configure"
15379 #include "confdefs.h"
15380 /* Override any gcc2 internal prototype to avoid an error. */
15381 /* We use char because int might match the return type of a gcc2
15382 builtin and then its argument prototype would still apply. */
15389 if { (eval echo configure
:15390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15391 eval "ac_cv_lib_$ac_lib_var=yes"
15393 echo "configure: failed program was:" >&5
15394 cat conftest.
$ac_ext >&5
15396 eval "ac_cv_lib_$ac_lib_var=no"
15399 LIBS
="$ac_save_LIBS"
15402 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15403 echo "$ac_t""yes" 1>&6
15405 cat >> confdefs.h
<<\EOF
15406 #define HAVE_WCSLEN 1
15412 echo "$ac_t""no" 1>&6
15422 for ac_func
in wcsrtombs
15424 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15425 echo "configure:15426: checking for $ac_func" >&5
15426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15427 echo $ac_n "(cached) $ac_c" 1>&6
15429 cat > conftest.
$ac_ext <<EOF
15430 #line 15431 "configure"
15431 #include "confdefs.h"
15432 /* System header to define __stub macros and hopefully few prototypes,
15433 which can conflict with char $ac_func(); below. */
15434 #include <assert.h>
15435 /* Override any gcc2 internal prototype to avoid an error. */
15436 /* We use char because int might match the return type of a gcc2
15437 builtin and then its argument prototype would still apply. */
15442 /* The GNU C library defines this for functions which it implements
15443 to always fail with ENOSYS. Some functions are actually named
15444 something starting with __ and the normal name is an alias. */
15445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15453 if { (eval echo configure
:15454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15455 eval "ac_cv_func_$ac_func=yes"
15457 echo "configure: failed program was:" >&5
15458 cat conftest.
$ac_ext >&5
15460 eval "ac_cv_func_$ac_func=no"
15465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15466 echo "$ac_t""yes" 1>&6
15467 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15468 cat >> confdefs.h
<<EOF
15469 #define $ac_tr_func 1
15473 echo "$ac_t""no" 1>&6
15478 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15479 echo "configure:15480: checking for vprintf" >&5
15480 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15481 echo $ac_n "(cached) $ac_c" 1>&6
15483 cat > conftest.
$ac_ext <<EOF
15484 #line 15485 "configure"
15485 #include "confdefs.h"
15486 /* System header to define __stub macros and hopefully few prototypes,
15487 which can conflict with char vprintf(); below. */
15488 #include <assert.h>
15489 /* Override any gcc2 internal prototype to avoid an error. */
15490 /* We use char because int might match the return type of a gcc2
15491 builtin and then its argument prototype would still apply. */
15496 /* The GNU C library defines this for functions which it implements
15497 to always fail with ENOSYS. Some functions are actually named
15498 something starting with __ and the normal name is an alias. */
15499 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15507 if { (eval echo configure
:15508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15509 eval "ac_cv_func_vprintf=yes"
15511 echo "configure: failed program was:" >&5
15512 cat conftest.
$ac_ext >&5
15514 eval "ac_cv_func_vprintf=no"
15519 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15520 echo "$ac_t""yes" 1>&6
15521 cat >> confdefs.h
<<\EOF
15522 #define HAVE_VPRINTF 1
15526 echo "$ac_t""no" 1>&6
15529 if test "$ac_cv_func_vprintf" != yes; then
15530 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15531 echo "configure:15532: checking for _doprnt" >&5
15532 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15533 echo $ac_n "(cached) $ac_c" 1>&6
15535 cat > conftest.
$ac_ext <<EOF
15536 #line 15537 "configure"
15537 #include "confdefs.h"
15538 /* System header to define __stub macros and hopefully few prototypes,
15539 which can conflict with char _doprnt(); below. */
15540 #include <assert.h>
15541 /* Override any gcc2 internal prototype to avoid an error. */
15542 /* We use char because int might match the return type of a gcc2
15543 builtin and then its argument prototype would still apply. */
15548 /* The GNU C library defines this for functions which it implements
15549 to always fail with ENOSYS. Some functions are actually named
15550 something starting with __ and the normal name is an alias. */
15551 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15559 if { (eval echo configure
:15560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15561 eval "ac_cv_func__doprnt=yes"
15563 echo "configure: failed program was:" >&5
15564 cat conftest.
$ac_ext >&5
15566 eval "ac_cv_func__doprnt=no"
15571 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15572 echo "$ac_t""yes" 1>&6
15573 cat >> confdefs.h
<<\EOF
15574 #define HAVE_DOPRNT 1
15578 echo "$ac_t""no" 1>&6
15588 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15589 echo "configure:15590: checking for vsnprintf" >&5
15590 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15591 echo $ac_n "(cached) $ac_c" 1>&6
15594 cat > conftest.
$ac_ext <<EOF
15595 #line 15596 "configure"
15596 #include "confdefs.h"
15599 #include <stdarg.h>
15603 int wx_test_vsnprintf(const char *, ...);
15605 wx_test_vsnprintf("%s");
15609 int wx_test_vsnprintf(const char *fmt, ...)
15614 va_start(argp, fmt);
15615 vsnprintf(s, 42, fmt, argp);
15620 if { (eval echo configure
:15621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15623 wx_cv_func_vsnprintf
=yes
15626 echo "configure: failed program was:" >&5
15627 cat conftest.
$ac_ext >&5
15630 cat > conftest.
$ac_ext <<EOF
15631 #line 15632 "configure"
15632 #include "confdefs.h"
15635 #include <stdarg.h>
15639 int wx_test_vsnprintf(const char *, ...);
15641 wx_test_vsnprintf("%s");
15645 int wx_test_vsnprintf(const char *fmt, ...)
15650 va_start(argp, fmt);
15651 _vsnprintf(s, 42, fmt, argp);
15656 if { (eval echo configure
:15657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15659 wx_cv_func_vsnprintf
=yes
15662 echo "configure: failed program was:" >&5
15663 cat conftest.
$ac_ext >&5
15666 wx_cv_func_vsnprintf
=no
15676 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15678 if test "$wx_cv_func_vsnprintf" = yes; then
15679 cat >> confdefs.h
<<\EOF
15680 #define HAVE_VSNPRINTF 1
15684 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15687 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15688 echo "configure:15689: checking for vsscanf" >&5
15689 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15690 echo $ac_n "(cached) $ac_c" 1>&6
15693 cat > conftest.
$ac_ext <<EOF
15694 #line 15695 "configure"
15695 #include "confdefs.h"
15698 #include <stdarg.h>
15702 int wx_test_vsscanf(const char *, ...);
15704 wx_test_vsscanf("%d");
15708 int wx_test_vsscanf(const char *fmt, ...)
15711 va_start(argp, fmt);
15712 vsscanf("42", fmt, argp);
15717 if { (eval echo configure
:15718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15720 wx_cv_func_vsscanf
=yes
15723 echo "configure: failed program was:" >&5
15724 cat conftest.
$ac_ext >&5
15727 wx_cv_func_vsscanf
=no
15734 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15736 if test "$wx_cv_func_vsscanf" = yes; then
15737 cat >> confdefs.h
<<\EOF
15738 #define HAVE_VSSCANF 1
15743 if test "$TOOLKIT" != "MSW"; then
15748 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15749 ac_cpp
='$CXXCPP $CPPFLAGS'
15750 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15751 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15752 cross_compiling
=$ac_cv_prog_cxx_cross
15756 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15757 if test "${with_libiconv_prefix+set}" = set; then
15758 withval
="$with_libiconv_prefix"
15760 for dir
in `echo "$withval" | tr : ' '`; do
15761 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
15762 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
15768 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15769 echo "configure:15770: checking for iconv" >&5
15770 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15771 echo $ac_n "(cached) $ac_c" 1>&6
15774 am_cv_func_iconv
="no, consider installing GNU libiconv"
15776 cat > conftest.
$ac_ext <<EOF
15777 #line 15778 "configure"
15778 #include "confdefs.h"
15779 #include <stdlib.h>
15782 iconv_t cd = iconv_open("","");
15783 iconv(cd,NULL,NULL,NULL,NULL);
15787 if { (eval echo configure
:15788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15789 am_cv_func_iconv
=yes
15791 echo "configure: failed program was:" >&5
15792 cat conftest.
$ac_ext >&5
15795 if test "$am_cv_func_iconv" != yes; then
15796 am_save_LIBS
="$LIBS"
15797 LIBS
="$LIBS -liconv"
15798 cat > conftest.
$ac_ext <<EOF
15799 #line 15800 "configure"
15800 #include "confdefs.h"
15801 #include <stdlib.h>
15804 iconv_t cd = iconv_open("","");
15805 iconv(cd,NULL,NULL,NULL,NULL);
15809 if { (eval echo configure
:15810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15811 am_cv_lib_iconv
=yes
15812 am_cv_func_iconv
=yes
15814 echo "configure: failed program was:" >&5
15815 cat conftest.
$ac_ext >&5
15818 LIBS
="$am_save_LIBS"
15823 echo "$ac_t""$am_cv_func_iconv" 1>&6
15824 if test "$am_cv_func_iconv" = yes; then
15825 cat >> confdefs.h
<<\EOF
15826 #define HAVE_ICONV 1
15829 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
15830 echo "configure:15831: checking if iconv needs const" >&5
15831 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
15832 echo $ac_n "(cached) $ac_c" 1>&6
15834 cat > conftest.
$ac_ext <<EOF
15835 #line 15836 "configure"
15836 #include "confdefs.h"
15838 #include <stdlib.h>
15844 #if defined(__STDC__) || defined(__cplusplus)
15845 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15854 if { (eval echo configure
:15855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15856 wx_cv_func_iconv_const
="no"
15858 echo "configure: failed program was:" >&5
15859 cat conftest.
$ac_ext >&5
15861 wx_cv_func_iconv_const
="yes"
15868 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
15871 if test "x$wx_cv_func_iconv_const" = "xyes"; then
15872 iconv_const
="const"
15875 cat >> confdefs.h
<<EOF
15876 #define ICONV_CONST $iconv_const
15881 if test "$am_cv_lib_iconv" = yes; then
15886 LIBS
="$LIBICONV $LIBS"
15888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15889 ac_cpp
='$CPP $CPPFLAGS'
15890 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15891 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15892 cross_compiling
=$ac_cv_prog_cc_cross
15895 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15896 for ac_func
in sigaction
15898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15899 echo "configure:15900: checking for $ac_func" >&5
15900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15901 echo $ac_n "(cached) $ac_c" 1>&6
15903 cat > conftest.
$ac_ext <<EOF
15904 #line 15905 "configure"
15905 #include "confdefs.h"
15906 /* System header to define __stub macros and hopefully few prototypes,
15907 which can conflict with char $ac_func(); below. */
15908 #include <assert.h>
15909 /* Override any gcc2 internal prototype to avoid an error. */
15910 /* We use char because int might match the return type of a gcc2
15911 builtin and then its argument prototype would still apply. */
15916 /* The GNU C library defines this for functions which it implements
15917 to always fail with ENOSYS. Some functions are actually named
15918 something starting with __ and the normal name is an alias. */
15919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15927 if { (eval echo configure
:15928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15929 eval "ac_cv_func_$ac_func=yes"
15931 echo "configure: failed program was:" >&5
15932 cat conftest.
$ac_ext >&5
15934 eval "ac_cv_func_$ac_func=no"
15939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15940 echo "$ac_t""yes" 1>&6
15941 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15942 cat >> confdefs.h
<<EOF
15943 #define $ac_tr_func 1
15947 echo "$ac_t""no" 1>&6
15952 if test "$ac_cv_func_sigaction" = "no"; then
15953 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15954 wxUSE_ON_FATAL_EXCEPTION
=no
15957 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15961 ac_cpp
='$CXXCPP $CPPFLAGS'
15962 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15963 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15964 cross_compiling
=$ac_cv_prog_cxx_cross
15967 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15968 echo "configure:15969: checking for sa_handler type" >&5
15969 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15970 echo $ac_n "(cached) $ac_c" 1>&6
15973 cat > conftest.
$ac_ext <<EOF
15974 #line 15975 "configure"
15975 #include "confdefs.h"
15976 #include <signal.h>
15979 extern void testSigHandler(int);
15981 struct sigaction sa;
15982 sa.sa_handler = testSigHandler;
15986 if { (eval echo configure
:15987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15989 wx_cv_type_sa_handler
=int
15992 echo "configure: failed program was:" >&5
15993 cat conftest.
$ac_ext >&5
15996 wx_cv_type_sa_handler
=void
16003 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16006 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16007 ac_cpp
='$CPP $CPPFLAGS'
16008 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16009 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16010 cross_compiling
=$ac_cv_prog_cc_cross
16013 cat >> confdefs.h
<<EOF
16014 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16020 for ac_func
in vfork
16022 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16023 echo "configure:16024: checking for $ac_func" >&5
16024 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16025 echo $ac_n "(cached) $ac_c" 1>&6
16027 cat > conftest.
$ac_ext <<EOF
16028 #line 16029 "configure"
16029 #include "confdefs.h"
16030 /* System header to define __stub macros and hopefully few prototypes,
16031 which can conflict with char $ac_func(); below. */
16032 #include <assert.h>
16033 /* Override any gcc2 internal prototype to avoid an error. */
16034 /* We use char because int might match the return type of a gcc2
16035 builtin and then its argument prototype would still apply. */
16040 /* The GNU C library defines this for functions which it implements
16041 to always fail with ENOSYS. Some functions are actually named
16042 something starting with __ and the normal name is an alias. */
16043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16051 if { (eval echo configure
:16052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16053 eval "ac_cv_func_$ac_func=yes"
16055 echo "configure: failed program was:" >&5
16056 cat conftest.
$ac_ext >&5
16058 eval "ac_cv_func_$ac_func=no"
16063 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16064 echo "$ac_t""yes" 1>&6
16065 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16066 cat >> confdefs.h
<<EOF
16067 #define $ac_tr_func 1
16071 echo "$ac_t""no" 1>&6
16076 for ac_func
in mkstemp mktemp
16078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16079 echo "configure:16080: checking for $ac_func" >&5
16080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16081 echo $ac_n "(cached) $ac_c" 1>&6
16083 cat > conftest.
$ac_ext <<EOF
16084 #line 16085 "configure"
16085 #include "confdefs.h"
16086 /* System header to define __stub macros and hopefully few prototypes,
16087 which can conflict with char $ac_func(); below. */
16088 #include <assert.h>
16089 /* Override any gcc2 internal prototype to avoid an error. */
16090 /* We use char because int might match the return type of a gcc2
16091 builtin and then its argument prototype would still apply. */
16096 /* The GNU C library defines this for functions which it implements
16097 to always fail with ENOSYS. Some functions are actually named
16098 something starting with __ and the normal name is an alias. */
16099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16107 if { (eval echo configure
:16108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16109 eval "ac_cv_func_$ac_func=yes"
16111 echo "configure: failed program was:" >&5
16112 cat conftest.
$ac_ext >&5
16114 eval "ac_cv_func_$ac_func=no"
16119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16120 echo "$ac_t""yes" 1>&6
16121 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16122 cat >> confdefs.h
<<EOF
16123 #define $ac_tr_func 1
16127 echo "$ac_t""no" 1>&6
16132 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16133 echo "configure:16134: checking for statfs" >&5
16134 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16135 echo $ac_n "(cached) $ac_c" 1>&6
16137 cat > conftest.
$ac_ext <<EOF
16138 #line 16139 "configure"
16139 #include "confdefs.h"
16141 #if defined(__BSD__)
16142 #include <sys/param.h>
16143 #include <sys/mount.h>
16145 #include <sys/vfs.h>
16159 if { (eval echo configure
:16160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16162 wx_cv_func_statfs
=yes
16165 echo "configure: failed program was:" >&5
16166 cat conftest.
$ac_ext >&5
16169 wx_cv_func_statfs
=no
16177 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16179 if test "$wx_cv_func_statfs" = "yes"; then
16180 cat >> confdefs.h
<<\EOF
16181 #define HAVE_STATFS 1
16185 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16186 echo "configure:16187: checking for statvfs" >&5
16187 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16188 echo $ac_n "(cached) $ac_c" 1>&6
16190 cat > conftest.
$ac_ext <<EOF
16191 #line 16192 "configure"
16192 #include "confdefs.h"
16194 #include <sys/statvfs.h>
16207 if { (eval echo configure
:16208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16210 wx_cv_func_statvfs
=yes
16213 echo "configure: failed program was:" >&5
16214 cat conftest.
$ac_ext >&5
16217 wx_cv_func_statvfs
=no
16225 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16227 if test "$wx_cv_func_statvfs" = "yes"; then
16228 cat >> confdefs.h
<<\EOF
16229 #define HAVE_STATVFS 1
16233 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16237 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16238 for ac_func
in fcntl flock
16240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16241 echo "configure:16242: checking for $ac_func" >&5
16242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16243 echo $ac_n "(cached) $ac_c" 1>&6
16245 cat > conftest.
$ac_ext <<EOF
16246 #line 16247 "configure"
16247 #include "confdefs.h"
16248 /* System header to define __stub macros and hopefully few prototypes,
16249 which can conflict with char $ac_func(); below. */
16250 #include <assert.h>
16251 /* Override any gcc2 internal prototype to avoid an error. */
16252 /* We use char because int might match the return type of a gcc2
16253 builtin and then its argument prototype would still apply. */
16258 /* The GNU C library defines this for functions which it implements
16259 to always fail with ENOSYS. Some functions are actually named
16260 something starting with __ and the normal name is an alias. */
16261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16269 if { (eval echo configure
:16270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16271 eval "ac_cv_func_$ac_func=yes"
16273 echo "configure: failed program was:" >&5
16274 cat conftest.
$ac_ext >&5
16276 eval "ac_cv_func_$ac_func=no"
16281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16282 echo "$ac_t""yes" 1>&6
16283 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16284 cat >> confdefs.h
<<EOF
16285 #define $ac_tr_func 1
16289 echo "$ac_t""no" 1>&6
16294 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16295 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16296 wxUSE_SNGLINST_CHECKER
=no
16300 for ac_func
in timegm
16302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16303 echo "configure:16304: checking for $ac_func" >&5
16304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16305 echo $ac_n "(cached) $ac_c" 1>&6
16307 cat > conftest.
$ac_ext <<EOF
16308 #line 16309 "configure"
16309 #include "confdefs.h"
16310 /* System header to define __stub macros and hopefully few prototypes,
16311 which can conflict with char $ac_func(); below. */
16312 #include <assert.h>
16313 /* Override any gcc2 internal prototype to avoid an error. */
16314 /* We use char because int might match the return type of a gcc2
16315 builtin and then its argument prototype would still apply. */
16320 /* The GNU C library defines this for functions which it implements
16321 to always fail with ENOSYS. Some functions are actually named
16322 something starting with __ and the normal name is an alias. */
16323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16331 if { (eval echo configure
:16332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16333 eval "ac_cv_func_$ac_func=yes"
16335 echo "configure: failed program was:" >&5
16336 cat conftest.
$ac_ext >&5
16338 eval "ac_cv_func_$ac_func=no"
16343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16344 echo "$ac_t""yes" 1>&6
16345 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16346 cat >> confdefs.h
<<EOF
16347 #define $ac_tr_func 1
16351 echo "$ac_t""no" 1>&6
16356 for ac_func
in putenv setenv
16358 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16359 echo "configure:16360: checking for $ac_func" >&5
16360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16361 echo $ac_n "(cached) $ac_c" 1>&6
16363 cat > conftest.
$ac_ext <<EOF
16364 #line 16365 "configure"
16365 #include "confdefs.h"
16366 /* System header to define __stub macros and hopefully few prototypes,
16367 which can conflict with char $ac_func(); below. */
16368 #include <assert.h>
16369 /* Override any gcc2 internal prototype to avoid an error. */
16370 /* We use char because int might match the return type of a gcc2
16371 builtin and then its argument prototype would still apply. */
16376 /* The GNU C library defines this for functions which it implements
16377 to always fail with ENOSYS. Some functions are actually named
16378 something starting with __ and the normal name is an alias. */
16379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16387 if { (eval echo configure
:16388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16389 eval "ac_cv_func_$ac_func=yes"
16391 echo "configure: failed program was:" >&5
16392 cat conftest.
$ac_ext >&5
16394 eval "ac_cv_func_$ac_func=no"
16399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16400 echo "$ac_t""yes" 1>&6
16401 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16402 cat >> confdefs.h
<<EOF
16403 #define $ac_tr_func 1
16407 echo "$ac_t""no" 1>&6
16412 HAVE_SOME_SLEEP_FUNC
=0
16413 if test "$USE_BEOS" = 1; then
16414 cat >> confdefs.h
<<\EOF
16415 #define HAVE_SLEEP 1
16418 HAVE_SOME_SLEEP_FUNC
=1
16421 if test "$USE_DARWIN" = 1; then
16422 cat >> confdefs.h
<<\EOF
16423 #define HAVE_USLEEP 1
16426 HAVE_SOME_SLEEP_FUNC
=1
16429 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16431 for ac_func
in nanosleep
16433 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16434 echo "configure:16435: checking for $ac_func" >&5
16435 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16436 echo $ac_n "(cached) $ac_c" 1>&6
16438 cat > conftest.
$ac_ext <<EOF
16439 #line 16440 "configure"
16440 #include "confdefs.h"
16441 /* System header to define __stub macros and hopefully few prototypes,
16442 which can conflict with char $ac_func(); below. */
16443 #include <assert.h>
16444 /* Override any gcc2 internal prototype to avoid an error. */
16445 /* We use char because int might match the return type of a gcc2
16446 builtin and then its argument prototype would still apply. */
16451 /* The GNU C library defines this for functions which it implements
16452 to always fail with ENOSYS. Some functions are actually named
16453 something starting with __ and the normal name is an alias. */
16454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16462 if { (eval echo configure
:16463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16464 eval "ac_cv_func_$ac_func=yes"
16466 echo "configure: failed program was:" >&5
16467 cat conftest.
$ac_ext >&5
16469 eval "ac_cv_func_$ac_func=no"
16474 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16475 echo "$ac_t""yes" 1>&6
16476 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16477 cat >> confdefs.h
<<EOF
16478 #define $ac_tr_func 1
16480 cat >> confdefs.h
<<\EOF
16481 #define HAVE_NANOSLEEP 1
16485 echo "$ac_t""no" 1>&6
16486 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16487 echo "configure:16488: checking for nanosleep in -lposix4" >&5
16488 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16489 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16490 echo $ac_n "(cached) $ac_c" 1>&6
16492 ac_save_LIBS
="$LIBS"
16493 LIBS
="-lposix4 $LIBS"
16494 cat > conftest.
$ac_ext <<EOF
16495 #line 16496 "configure"
16496 #include "confdefs.h"
16497 /* Override any gcc2 internal prototype to avoid an error. */
16498 /* We use char because int might match the return type of a gcc2
16499 builtin and then its argument prototype would still apply. */
16506 if { (eval echo configure
:16507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16508 eval "ac_cv_lib_$ac_lib_var=yes"
16510 echo "configure: failed program was:" >&5
16511 cat conftest.
$ac_ext >&5
16513 eval "ac_cv_lib_$ac_lib_var=no"
16516 LIBS
="$ac_save_LIBS"
16519 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16520 echo "$ac_t""yes" 1>&6
16522 cat >> confdefs.h
<<\EOF
16523 #define HAVE_NANOSLEEP 1
16526 POSIX4_LINK
=" -lposix4"
16529 echo "$ac_t""no" 1>&6
16531 for ac_func
in usleep
16533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16534 echo "configure:16535: checking for $ac_func" >&5
16535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16536 echo $ac_n "(cached) $ac_c" 1>&6
16538 cat > conftest.
$ac_ext <<EOF
16539 #line 16540 "configure"
16540 #include "confdefs.h"
16541 /* System header to define __stub macros and hopefully few prototypes,
16542 which can conflict with char $ac_func(); below. */
16543 #include <assert.h>
16544 /* Override any gcc2 internal prototype to avoid an error. */
16545 /* We use char because int might match the return type of a gcc2
16546 builtin and then its argument prototype would still apply. */
16551 /* The GNU C library defines this for functions which it implements
16552 to always fail with ENOSYS. Some functions are actually named
16553 something starting with __ and the normal name is an alias. */
16554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16562 if { (eval echo configure
:16563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16564 eval "ac_cv_func_$ac_func=yes"
16566 echo "configure: failed program was:" >&5
16567 cat conftest.
$ac_ext >&5
16569 eval "ac_cv_func_$ac_func=no"
16574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16575 echo "$ac_t""yes" 1>&6
16576 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16577 cat >> confdefs.h
<<EOF
16578 #define $ac_tr_func 1
16580 cat >> confdefs.h
<<\EOF
16581 #define HAVE_USLEEP 1
16585 echo "$ac_t""no" 1>&6
16586 echo "configure: warning: wxSleep() function will not work" 1>&2
16602 for ac_func
in uname gethostname
16604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16605 echo "configure:16606: checking for $ac_func" >&5
16606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16607 echo $ac_n "(cached) $ac_c" 1>&6
16609 cat > conftest.
$ac_ext <<EOF
16610 #line 16611 "configure"
16611 #include "confdefs.h"
16612 /* System header to define __stub macros and hopefully few prototypes,
16613 which can conflict with char $ac_func(); below. */
16614 #include <assert.h>
16615 /* Override any gcc2 internal prototype to avoid an error. */
16616 /* We use char because int might match the return type of a gcc2
16617 builtin and then its argument prototype would still apply. */
16622 /* The GNU C library defines this for functions which it implements
16623 to always fail with ENOSYS. Some functions are actually named
16624 something starting with __ and the normal name is an alias. */
16625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16633 if { (eval echo configure
:16634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16635 eval "ac_cv_func_$ac_func=yes"
16637 echo "configure: failed program was:" >&5
16638 cat conftest.
$ac_ext >&5
16640 eval "ac_cv_func_$ac_func=no"
16645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16646 echo "$ac_t""yes" 1>&6
16647 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16648 cat >> confdefs.h
<<EOF
16649 #define $ac_tr_func 1
16653 echo "$ac_t""no" 1>&6
16660 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16661 ac_cpp
='$CXXCPP $CPPFLAGS'
16662 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16663 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16664 cross_compiling
=$ac_cv_prog_cxx_cross
16667 for ac_func
in strtok_r
16669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16670 echo "configure:16671: checking for $ac_func" >&5
16671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16672 echo $ac_n "(cached) $ac_c" 1>&6
16674 cat > conftest.
$ac_ext <<EOF
16675 #line 16676 "configure"
16676 #include "confdefs.h"
16677 /* System header to define __stub macros and hopefully few prototypes,
16678 which can conflict with char $ac_func(); below. */
16679 #include <assert.h>
16680 /* Override any gcc2 internal prototype to avoid an error. */
16684 /* We use char because int might match the return type of a gcc2
16685 builtin and then its argument prototype would still apply. */
16690 /* The GNU C library defines this for functions which it implements
16691 to always fail with ENOSYS. Some functions are actually named
16692 something starting with __ and the normal name is an alias. */
16693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16701 if { (eval echo configure
:16702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16703 eval "ac_cv_func_$ac_func=yes"
16705 echo "configure: failed program was:" >&5
16706 cat conftest.
$ac_ext >&5
16708 eval "ac_cv_func_$ac_func=no"
16713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16714 echo "$ac_t""yes" 1>&6
16715 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16716 cat >> confdefs.h
<<EOF
16717 #define $ac_tr_func 1
16721 echo "$ac_t""no" 1>&6
16727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16728 ac_cpp
='$CPP $CPPFLAGS'
16729 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16730 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16731 cross_compiling
=$ac_cv_prog_cc_cross
16735 for ac_func
in inet_addr
16737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16738 echo "configure:16739: checking for $ac_func" >&5
16739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16740 echo $ac_n "(cached) $ac_c" 1>&6
16742 cat > conftest.
$ac_ext <<EOF
16743 #line 16744 "configure"
16744 #include "confdefs.h"
16745 /* System header to define __stub macros and hopefully few prototypes,
16746 which can conflict with char $ac_func(); below. */
16747 #include <assert.h>
16748 /* Override any gcc2 internal prototype to avoid an error. */
16749 /* We use char because int might match the return type of a gcc2
16750 builtin and then its argument prototype would still apply. */
16755 /* The GNU C library defines this for functions which it implements
16756 to always fail with ENOSYS. Some functions are actually named
16757 something starting with __ and the normal name is an alias. */
16758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16766 if { (eval echo configure
:16767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16768 eval "ac_cv_func_$ac_func=yes"
16770 echo "configure: failed program was:" >&5
16771 cat conftest.
$ac_ext >&5
16773 eval "ac_cv_func_$ac_func=no"
16778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16779 echo "$ac_t""yes" 1>&6
16780 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16781 cat >> confdefs.h
<<EOF
16782 #define $ac_tr_func 1
16784 cat >> confdefs.h
<<\EOF
16785 #define HAVE_INET_ADDR 1
16789 echo "$ac_t""no" 1>&6
16790 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16791 echo "configure:16792: checking for inet_addr in -lnsl" >&5
16792 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16793 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16794 echo $ac_n "(cached) $ac_c" 1>&6
16796 ac_save_LIBS
="$LIBS"
16798 cat > conftest.
$ac_ext <<EOF
16799 #line 16800 "configure"
16800 #include "confdefs.h"
16801 /* Override any gcc2 internal prototype to avoid an error. */
16802 /* We use char because int might match the return type of a gcc2
16803 builtin and then its argument prototype would still apply. */
16810 if { (eval echo configure
:16811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16812 eval "ac_cv_lib_$ac_lib_var=yes"
16814 echo "configure: failed program was:" >&5
16815 cat conftest.
$ac_ext >&5
16817 eval "ac_cv_lib_$ac_lib_var=no"
16820 LIBS
="$ac_save_LIBS"
16823 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16824 echo "$ac_t""yes" 1>&6
16827 echo "$ac_t""no" 1>&6
16828 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16829 echo "configure:16830: checking for inet_addr in -lresolv" >&5
16830 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16832 echo $ac_n "(cached) $ac_c" 1>&6
16834 ac_save_LIBS
="$LIBS"
16835 LIBS
="-lresolv $LIBS"
16836 cat > conftest.
$ac_ext <<EOF
16837 #line 16838 "configure"
16838 #include "confdefs.h"
16839 /* Override any gcc2 internal prototype to avoid an error. */
16840 /* We use char because int might match the return type of a gcc2
16841 builtin and then its argument prototype would still apply. */
16848 if { (eval echo configure
:16849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16850 eval "ac_cv_lib_$ac_lib_var=yes"
16852 echo "configure: failed program was:" >&5
16853 cat conftest.
$ac_ext >&5
16855 eval "ac_cv_lib_$ac_lib_var=no"
16858 LIBS
="$ac_save_LIBS"
16861 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16862 echo "$ac_t""yes" 1>&6
16865 echo "$ac_t""no" 1>&6
16866 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
16867 echo "configure:16868: checking for inet_addr in -lsocket" >&5
16868 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
16869 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16870 echo $ac_n "(cached) $ac_c" 1>&6
16872 ac_save_LIBS
="$LIBS"
16873 LIBS
="-lsocket $LIBS"
16874 cat > conftest.
$ac_ext <<EOF
16875 #line 16876 "configure"
16876 #include "confdefs.h"
16877 /* Override any gcc2 internal prototype to avoid an error. */
16878 /* We use char because int might match the return type of a gcc2
16879 builtin and then its argument prototype would still apply. */
16886 if { (eval echo configure
:16887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16888 eval "ac_cv_lib_$ac_lib_var=yes"
16890 echo "configure: failed program was:" >&5
16891 cat conftest.
$ac_ext >&5
16893 eval "ac_cv_lib_$ac_lib_var=no"
16896 LIBS
="$ac_save_LIBS"
16899 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16900 echo "$ac_t""yes" 1>&6
16904 echo "$ac_t""no" 1>&6
16919 for ac_func
in inet_aton
16921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16922 echo "configure:16923: checking for $ac_func" >&5
16923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16924 echo $ac_n "(cached) $ac_c" 1>&6
16926 cat > conftest.
$ac_ext <<EOF
16927 #line 16928 "configure"
16928 #include "confdefs.h"
16929 /* System header to define __stub macros and hopefully few prototypes,
16930 which can conflict with char $ac_func(); below. */
16931 #include <assert.h>
16932 /* Override any gcc2 internal prototype to avoid an error. */
16933 /* We use char because int might match the return type of a gcc2
16934 builtin and then its argument prototype would still apply. */
16939 /* The GNU C library defines this for functions which it implements
16940 to always fail with ENOSYS. Some functions are actually named
16941 something starting with __ and the normal name is an alias. */
16942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16950 if { (eval echo configure
:16951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16952 eval "ac_cv_func_$ac_func=yes"
16954 echo "configure: failed program was:" >&5
16955 cat conftest.
$ac_ext >&5
16957 eval "ac_cv_func_$ac_func=no"
16962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16963 echo "$ac_t""yes" 1>&6
16964 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16965 cat >> confdefs.h
<<EOF
16966 #define $ac_tr_func 1
16968 cat >> confdefs.h
<<\EOF
16969 #define HAVE_INET_ATON 1
16973 echo "$ac_t""no" 1>&6
16974 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
16975 echo "configure:16976: checking for inet_aton in -l$INET_LINK" >&5
16976 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
16977 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16978 echo $ac_n "(cached) $ac_c" 1>&6
16980 ac_save_LIBS
="$LIBS"
16981 LIBS
="-l$INET_LINK $LIBS"
16982 cat > conftest.
$ac_ext <<EOF
16983 #line 16984 "configure"
16984 #include "confdefs.h"
16985 /* Override any gcc2 internal prototype to avoid an error. */
16986 /* We use char because int might match the return type of a gcc2
16987 builtin and then its argument prototype would still apply. */
16994 if { (eval echo configure
:16995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16996 eval "ac_cv_lib_$ac_lib_var=yes"
16998 echo "configure: failed program was:" >&5
16999 cat conftest.
$ac_ext >&5
17001 eval "ac_cv_lib_$ac_lib_var=no"
17004 LIBS
="$ac_save_LIBS"
17007 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17008 echo "$ac_t""yes" 1>&6
17009 cat >> confdefs.h
<<\EOF
17010 #define HAVE_INET_ATON 1
17014 echo "$ac_t""no" 1>&6
17022 if test "x$INET_LINK" != "x"; then
17023 cat >> confdefs.h
<<\EOF
17024 #define HAVE_INET_ADDR 1
17027 INET_LINK
=" -l$INET_LINK"
17033 cat > confcache
<<\EOF
17034 # This file is a shell script that caches the results of configure
17035 # tests run on this system so they can be shared between configure
17036 # scripts and configure runs. It is not useful on other systems.
17037 # If it contains results you don't want to keep, you may remove or edit it.
17039 # By default, configure uses ./config.cache as the cache file,
17040 # creating it if it does not exist already. You can give configure
17041 # the --cache-file=FILE option to use a different cache file; that is
17042 # what configure does when it calls configure scripts in
17043 # subdirectories, so they share the cache.
17044 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17045 # config.status only pays attention to the cache file if you give it the
17046 # --recheck option to rerun configure.
17049 # The following way of writing the cache mishandles newlines in values,
17050 # but we know of no workaround that is simple, portable, and efficient.
17051 # So, don't put newlines in cache variables' values.
17052 # Ultrix sh set writes to stderr and can't be redirected directly,
17053 # and sets the high bit in the cache file unless we assign to the vars.
17055 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17057 # `set' does not quote correctly, so add quotes (double-quote substitution
17058 # turns \\\\ into \\, and sed turns \\ into \).
17060 -e "s/'/'\\\\''/g" \
17061 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17064 # `set' quotes correctly as required by POSIX, so do not add quotes.
17065 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17068 if cmp -s $cache_file confcache
; then
17071 if test -w $cache_file; then
17072 echo "updating cache $cache_file"
17073 cat confcache
> $cache_file
17075 echo "not updating unwritable cache $cache_file"
17082 if test "$TOOLKIT" != "MSW"; then
17088 CODE_GEN_FLAGS_CXX
=
17090 if test "$wxUSE_THREADS" = "yes" ; then
17091 if test "$wxUSE_WINE" = 1 ; then
17092 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17094 elif test "$USE_BEOS" = 1; then
17095 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17100 if test "$wxUSE_THREADS" = "yes" ; then
17102 if test "$USE_AIX" = 1; then
17103 THREADS_LIB
=pthreads
17105 THREADS_LIB
=pthread
17108 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
17109 echo "configure:17110: checking for pthread_create in -l$THREADS_LIB" >&5
17110 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
17111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17112 echo $ac_n "(cached) $ac_c" 1>&6
17114 ac_save_LIBS
="$LIBS"
17115 LIBS
="-l$THREADS_LIB $LIBS"
17116 cat > conftest.
$ac_ext <<EOF
17117 #line 17118 "configure"
17118 #include "confdefs.h"
17119 /* Override any gcc2 internal prototype to avoid an error. */
17120 /* We use char because int might match the return type of a gcc2
17121 builtin and then its argument prototype would still apply. */
17122 char pthread_create();
17128 if { (eval echo configure
:17129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17130 eval "ac_cv_lib_$ac_lib_var=yes"
17132 echo "configure: failed program was:" >&5
17133 cat conftest.
$ac_ext >&5
17135 eval "ac_cv_lib_$ac_lib_var=no"
17138 LIBS
="$ac_save_LIBS"
17141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17142 echo "$ac_t""yes" 1>&6
17144 THREADS_OBJ
="threadpsx.lo"
17145 THREADS_LINK
=$THREADS_LIB
17148 echo "$ac_t""no" 1>&6
17150 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
17151 echo "configure:17152: checking for pthread_create in -lc_r" >&5
17152 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
17153 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17154 echo $ac_n "(cached) $ac_c" 1>&6
17156 ac_save_LIBS
="$LIBS"
17158 cat > conftest.
$ac_ext <<EOF
17159 #line 17160 "configure"
17160 #include "confdefs.h"
17161 /* Override any gcc2 internal prototype to avoid an error. */
17162 /* We use char because int might match the return type of a gcc2
17163 builtin and then its argument prototype would still apply. */
17164 char pthread_create();
17170 if { (eval echo configure
:17171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17172 eval "ac_cv_lib_$ac_lib_var=yes"
17174 echo "configure: failed program was:" >&5
17175 cat conftest.
$ac_ext >&5
17177 eval "ac_cv_lib_$ac_lib_var=no"
17180 LIBS
="$ac_save_LIBS"
17183 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17184 echo "$ac_t""yes" 1>&6
17186 THREADS_OBJ
="threadpsx.lo"
17190 echo "$ac_t""no" 1>&6
17192 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
17193 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
17194 echo "configure:17195: checking for sys/prctl.h" >&5
17195 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17196 echo $ac_n "(cached) $ac_c" 1>&6
17198 cat > conftest.
$ac_ext <<EOF
17199 #line 17200 "configure"
17200 #include "confdefs.h"
17201 #include <sys/prctl.h>
17203 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17204 { (eval echo configure
:17205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17205 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17206 if test -z "$ac_err"; then
17208 eval "ac_cv_header_$ac_safe=yes"
17211 echo "configure: failed program was:" >&5
17212 cat conftest.
$ac_ext >&5
17214 eval "ac_cv_header_$ac_safe=no"
17218 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17219 echo "$ac_t""yes" 1>&6
17221 THREADS_OBJ
="threadsgi.lo"
17224 echo "$ac_t""no" 1>&6
17234 if test -z "$THREADS_OBJ" ; then
17236 echo "configure: warning: No thread support on this system... disabled" 1>&2
17240 if test "$wxUSE_THREADS" = "yes" ; then
17241 for ac_func
in thr_setconcurrency
17243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17244 echo "configure:17245: checking for $ac_func" >&5
17245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17246 echo $ac_n "(cached) $ac_c" 1>&6
17248 cat > conftest.
$ac_ext <<EOF
17249 #line 17250 "configure"
17250 #include "confdefs.h"
17251 /* System header to define __stub macros and hopefully few prototypes,
17252 which can conflict with char $ac_func(); below. */
17253 #include <assert.h>
17254 /* Override any gcc2 internal prototype to avoid an error. */
17255 /* We use char because int might match the return type of a gcc2
17256 builtin and then its argument prototype would still apply. */
17261 /* The GNU C library defines this for functions which it implements
17262 to always fail with ENOSYS. Some functions are actually named
17263 something starting with __ and the normal name is an alias. */
17264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17272 if { (eval echo configure
:17273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17274 eval "ac_cv_func_$ac_func=yes"
17276 echo "configure: failed program was:" >&5
17277 cat conftest.
$ac_ext >&5
17279 eval "ac_cv_func_$ac_func=no"
17284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17285 echo "$ac_t""yes" 1>&6
17286 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17287 cat >> confdefs.h
<<EOF
17288 #define $ac_tr_func 1
17292 echo "$ac_t""no" 1>&6
17298 for ac_hdr
in sched.h
17300 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17301 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17302 echo "configure:17303: checking for $ac_hdr" >&5
17303 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17304 echo $ac_n "(cached) $ac_c" 1>&6
17306 cat > conftest.
$ac_ext <<EOF
17307 #line 17308 "configure"
17308 #include "confdefs.h"
17311 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17312 { (eval echo configure
:17313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17313 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17314 if test -z "$ac_err"; then
17316 eval "ac_cv_header_$ac_safe=yes"
17319 echo "configure: failed program was:" >&5
17320 cat conftest.
$ac_ext >&5
17322 eval "ac_cv_header_$ac_safe=no"
17326 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17327 echo "$ac_t""yes" 1>&6
17328 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17329 cat >> confdefs.h
<<EOF
17330 #define $ac_tr_hdr 1
17334 echo "$ac_t""no" 1>&6
17339 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
17340 echo "configure:17341: checking for sched_yield in -l$THREADS_LINK" >&5
17341 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
17342 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17343 echo $ac_n "(cached) $ac_c" 1>&6
17345 ac_save_LIBS
="$LIBS"
17346 LIBS
="-l$THREADS_LINK $LIBS"
17347 cat > conftest.
$ac_ext <<EOF
17348 #line 17349 "configure"
17349 #include "confdefs.h"
17350 /* Override any gcc2 internal prototype to avoid an error. */
17351 /* We use char because int might match the return type of a gcc2
17352 builtin and then its argument prototype would still apply. */
17353 char sched_yield();
17359 if { (eval echo configure
:17360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17361 eval "ac_cv_lib_$ac_lib_var=yes"
17363 echo "configure: failed program was:" >&5
17364 cat conftest.
$ac_ext >&5
17366 eval "ac_cv_lib_$ac_lib_var=no"
17369 LIBS
="$ac_save_LIBS"
17372 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17373 echo "$ac_t""yes" 1>&6
17374 cat >> confdefs.h
<<\EOF
17375 #define HAVE_SCHED_YIELD 1
17379 echo "$ac_t""no" 1>&6
17380 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17381 echo "configure:17382: checking for sched_yield in -lposix4" >&5
17382 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17383 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17384 echo $ac_n "(cached) $ac_c" 1>&6
17386 ac_save_LIBS
="$LIBS"
17387 LIBS
="-lposix4 $LIBS"
17388 cat > conftest.
$ac_ext <<EOF
17389 #line 17390 "configure"
17390 #include "confdefs.h"
17391 /* Override any gcc2 internal prototype to avoid an error. */
17392 /* We use char because int might match the return type of a gcc2
17393 builtin and then its argument prototype would still apply. */
17394 char sched_yield();
17400 if { (eval echo configure
:17401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17402 eval "ac_cv_lib_$ac_lib_var=yes"
17404 echo "configure: failed program was:" >&5
17405 cat conftest.
$ac_ext >&5
17407 eval "ac_cv_lib_$ac_lib_var=no"
17410 LIBS
="$ac_save_LIBS"
17413 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17414 echo "$ac_t""yes" 1>&6
17415 cat >> confdefs.h
<<\EOF
17416 #define HAVE_SCHED_YIELD 1
17418 POSIX4_LINK
=" -lposix4"
17420 echo "$ac_t""no" 1>&6
17421 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17430 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
17431 echo "configure:17432: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
17432 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
17433 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17434 echo $ac_n "(cached) $ac_c" 1>&6
17436 ac_save_LIBS
="$LIBS"
17437 LIBS
="-l$THREADS_LINK $LIBS"
17438 cat > conftest.
$ac_ext <<EOF
17439 #line 17440 "configure"
17440 #include "confdefs.h"
17441 /* Override any gcc2 internal prototype to avoid an error. */
17442 /* We use char because int might match the return type of a gcc2
17443 builtin and then its argument prototype would still apply. */
17444 char pthread_attr_getschedpolicy();
17447 pthread_attr_getschedpolicy()
17450 if { (eval echo configure
:17451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17452 eval "ac_cv_lib_$ac_lib_var=yes"
17454 echo "configure: failed program was:" >&5
17455 cat conftest.
$ac_ext >&5
17457 eval "ac_cv_lib_$ac_lib_var=no"
17460 LIBS
="$ac_save_LIBS"
17463 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17464 echo "$ac_t""yes" 1>&6
17465 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
17466 echo "configure:17467: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
17467 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
17468 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17469 echo $ac_n "(cached) $ac_c" 1>&6
17471 ac_save_LIBS
="$LIBS"
17472 LIBS
="-l$THREADS_LINK $LIBS"
17473 cat > conftest.
$ac_ext <<EOF
17474 #line 17475 "configure"
17475 #include "confdefs.h"
17476 /* Override any gcc2 internal prototype to avoid an error. */
17477 /* We use char because int might match the return type of a gcc2
17478 builtin and then its argument prototype would still apply. */
17479 char pthread_attr_setschedparam();
17482 pthread_attr_setschedparam()
17485 if { (eval echo configure
:17486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17487 eval "ac_cv_lib_$ac_lib_var=yes"
17489 echo "configure: failed program was:" >&5
17490 cat conftest.
$ac_ext >&5
17492 eval "ac_cv_lib_$ac_lib_var=no"
17495 LIBS
="$ac_save_LIBS"
17498 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17499 echo "$ac_t""yes" 1>&6
17500 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
17501 echo "configure:17502: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
17502 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17503 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17504 echo $ac_n "(cached) $ac_c" 1>&6
17506 ac_save_LIBS
="$LIBS"
17507 LIBS
="-l$THREADS_LINK $LIBS"
17508 cat > conftest.
$ac_ext <<EOF
17509 #line 17510 "configure"
17510 #include "confdefs.h"
17511 /* Override any gcc2 internal prototype to avoid an error. */
17512 /* We use char because int might match the return type of a gcc2
17513 builtin and then its argument prototype would still apply. */
17514 char sched_get_priority_max();
17517 sched_get_priority_max()
17520 if { (eval echo configure
:17521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17522 eval "ac_cv_lib_$ac_lib_var=yes"
17524 echo "configure: failed program was:" >&5
17525 cat conftest.
$ac_ext >&5
17527 eval "ac_cv_lib_$ac_lib_var=no"
17530 LIBS
="$ac_save_LIBS"
17533 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17534 echo "$ac_t""yes" 1>&6
17537 echo "$ac_t""no" 1>&6
17538 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17539 echo "configure:17540: checking for sched_get_priority_max in -lposix4" >&5
17540 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17541 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17542 echo $ac_n "(cached) $ac_c" 1>&6
17544 ac_save_LIBS
="$LIBS"
17545 LIBS
="-lposix4 $LIBS"
17546 cat > conftest.
$ac_ext <<EOF
17547 #line 17548 "configure"
17548 #include "confdefs.h"
17549 /* Override any gcc2 internal prototype to avoid an error. */
17550 /* We use char because int might match the return type of a gcc2
17551 builtin and then its argument prototype would still apply. */
17552 char sched_get_priority_max();
17555 sched_get_priority_max()
17558 if { (eval echo configure
:17559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17560 eval "ac_cv_lib_$ac_lib_var=yes"
17562 echo "configure: failed program was:" >&5
17563 cat conftest.
$ac_ext >&5
17565 eval "ac_cv_lib_$ac_lib_var=no"
17568 LIBS
="$ac_save_LIBS"
17571 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17572 echo "$ac_t""yes" 1>&6
17575 POSIX4_LINK
=" -lposix4"
17578 echo "$ac_t""no" 1>&6
17586 echo "$ac_t""no" 1>&6
17591 echo "$ac_t""no" 1>&6
17595 if test "$HAVE_PRIOR_FUNCS" = 1; then
17596 cat >> confdefs.h
<<\EOF
17597 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17601 echo "configure: warning: Setting thread priority will not work" 1>&2
17604 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
17605 echo "configure:17606: checking for pthread_cancel in -l$THREADS_LINK" >&5
17606 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
17607 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17608 echo $ac_n "(cached) $ac_c" 1>&6
17610 ac_save_LIBS
="$LIBS"
17611 LIBS
="-l$THREADS_LINK $LIBS"
17612 cat > conftest.
$ac_ext <<EOF
17613 #line 17614 "configure"
17614 #include "confdefs.h"
17615 /* Override any gcc2 internal prototype to avoid an error. */
17616 /* We use char because int might match the return type of a gcc2
17617 builtin and then its argument prototype would still apply. */
17618 char pthread_cancel();
17624 if { (eval echo configure
:17625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17626 eval "ac_cv_lib_$ac_lib_var=yes"
17628 echo "configure: failed program was:" >&5
17629 cat conftest.
$ac_ext >&5
17631 eval "ac_cv_lib_$ac_lib_var=no"
17634 LIBS
="$ac_save_LIBS"
17637 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17638 echo "$ac_t""yes" 1>&6
17639 cat >> confdefs.h
<<\EOF
17640 #define HAVE_PTHREAD_CANCEL 1
17644 echo "$ac_t""no" 1>&6
17645 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17649 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17650 echo "configure:17651: checking for pthread_cleanup_push/pop" >&5
17651 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17652 echo $ac_n "(cached) $ac_c" 1>&6
17655 cat > conftest.
$ac_ext <<EOF
17656 #line 17657 "configure"
17657 #include "confdefs.h"
17658 #include <pthread.h>
17661 pthread_cleanup_push(NULL, NULL);
17662 pthread_cleanup_pop(0);
17666 if { (eval echo configure
:17667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17669 wx_cv_func_pthread_cleanup_push
=yes
17672 echo "configure: failed program was:" >&5
17673 cat conftest.
$ac_ext >&5
17676 wx_cv_func_pthread_cleanup_push
=no
17683 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17685 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17686 cat >> confdefs.h
<<\EOF
17687 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17693 if test "x$wx_lib_glibc21" = "xyes"; then
17694 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
17697 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17698 echo "configure:17699: checking for pthread_mutexattr_t" >&5
17699 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17700 echo $ac_n "(cached) $ac_c" 1>&6
17703 cat > conftest.
$ac_ext <<EOF
17704 #line 17705 "configure"
17705 #include "confdefs.h"
17706 #include <pthread.h>
17709 pthread_mutexattr_t attr;
17710 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17714 if { (eval echo configure
:17715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17717 wx_cv_type_pthread_mutexattr_t
=yes
17720 echo "configure: failed program was:" >&5
17721 cat conftest.
$ac_ext >&5
17724 wx_cv_type_pthread_mutexattr_t
=no
17732 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17734 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17735 cat >> confdefs.h
<<\EOF
17736 #define HAVE_PTHREAD_MUTEXATTR_T 1
17740 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17741 echo "configure:17742: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17742 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17743 echo $ac_n "(cached) $ac_c" 1>&6
17746 cat > conftest.
$ac_ext <<EOF
17747 #line 17748 "configure"
17748 #include "confdefs.h"
17749 #include <pthread.h>
17752 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17756 if { (eval echo configure
:17757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17759 wx_cv_type_pthread_rec_mutex_init
=yes
17762 echo "configure: failed program was:" >&5
17763 cat conftest.
$ac_ext >&5
17766 wx_cv_type_pthread_rec_mutex_init
=no
17774 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17775 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17776 cat >> confdefs.h
<<\EOF
17777 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17781 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17785 THREADS_LINK
=" -l$THREADS_LINK"
17787 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
17788 CPPFLAGS
="$CFLAGS -mt"
17789 CXXFLAGS
="$CXXFLAGS -mt"
17790 LDFLAGS
="$LDFLAGS -mt"
17796 if test "$wxUSE_THREADS" = "yes"; then
17797 cat >> confdefs.h
<<\EOF
17798 #define wxUSE_THREADS 1
17802 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
17804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
17806 if test "$ac_cv_func_strtok_r" = "yes"; then
17807 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17808 echo "configure:17809: checking if -D_REENTRANT is needed" >&5
17809 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17810 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
17811 echo "$ac_t""yes" 1>&6
17813 echo "$ac_t""no" 1>&6
17818 if test "$WXGTK20" = 1 ; then
17819 cat >> confdefs.h
<<EOF
17820 #define __WXGTK20__ $WXGTK20
17826 if test "$WXGTK12" = 1 ; then
17827 cat >> confdefs.h
<<EOF
17828 #define __WXGTK12__ $WXGTK12
17833 if test "$WXGTK127" = 1 ; then
17834 cat >> confdefs.h
<<EOF
17835 #define __WXGTK127__ $WXGTK127
17842 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17847 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17848 wxUSE_DEBUG_INFO
=yes
17852 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17853 cat >> confdefs.h
<<\EOF
17857 WXDEBUG_DEFINE
="-D__WXDEBUG__"
17859 if test "$wxUSE_GTK" = 1 ; then
17860 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
17864 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17865 cat >> confdefs.h
<<\EOF
17866 #define wxUSE_MEMORY_TRACING 1
17869 cat >> confdefs.h
<<\EOF
17870 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17873 cat >> confdefs.h
<<\EOF
17874 #define wxUSE_DEBUG_NEW_ALWAYS 1
17877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
17880 if test "$wxUSE_DMALLOC" = "yes" ; then
17881 DMALLOC_LIBS
="-ldmalloc"
17885 if test "$wxUSE_PROFILE" = "yes" ; then
17889 if test "$GCC" = "yes" ; then
17890 if test "$wxUSE_NO_RTTI" = "yes" ; then
17891 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
17893 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17894 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17896 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17897 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
17899 if test "$USE_WIN32" = 1 ; then
17900 # I'm not even really sure what this was ever added to solve,
17901 # but someone added it for mingw native builds, so I guess
17902 # they had a reason, right??
17903 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17908 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17909 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17910 if test "$wxUSE_OPTIMISE" = "no" ; then
17913 if test "$GCC" = yes ; then
17916 i586
-*-*|i686
-*-* )
17917 OPTIMISE
="${OPTIMISE} "
17925 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17926 cat >> confdefs.h
<<\EOF
17927 #define WXWIN_COMPATIBILITY_2 1
17931 WXWIN_COMPATIBILITY_2_2
="yes"
17934 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
17935 cat >> confdefs.h
<<\EOF
17936 #define WXWIN_COMPATIBILITY_2_2 1
17942 if test "$wxUSE_GUI" = "yes"; then
17943 cat >> confdefs.h
<<\EOF
17944 #define wxUSE_GUI 1
17949 cat >> confdefs.h
<<\EOF
17950 #define wxUSE_NOGUI 1
17956 if test "$wxUSE_UNIX" = "yes"; then
17957 cat >> confdefs.h
<<\EOF
17958 #define wxUSE_UNIX 1
17964 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17965 cat >> confdefs.h
<<\EOF
17966 #define wxUSE_APPLE_IEEE 1
17971 if test "$wxUSE_TIMER" = "yes"; then
17972 cat >> confdefs.h
<<\EOF
17973 #define wxUSE_TIMER 1
17978 if test "$wxUSE_WAVE" = "yes"; then
17979 cat >> confdefs.h
<<\EOF
17980 #define wxUSE_WAVE 1
17985 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
17986 cat >> confdefs.h
<<\EOF
17987 #define wxUSE_CMDLINE_PARSER 1
17992 if test "$wxUSE_STOPWATCH" = "yes"; then
17993 cat >> confdefs.h
<<\EOF
17994 #define wxUSE_STOPWATCH 1
17999 if test "$wxUSE_DATETIME" = "yes"; then
18000 cat >> confdefs.h
<<\EOF
18001 #define wxUSE_DATETIME 1
18006 if test "$wxUSE_TIMEDATE" = "yes"; then
18007 cat >> confdefs.h
<<\EOF
18008 #define wxUSE_TIMEDATE 1
18013 if test "$wxUSE_FILE" = "yes"; then
18014 cat >> confdefs.h
<<\EOF
18015 #define wxUSE_FILE 1
18020 if test "$wxUSE_FFILE" = "yes"; then
18021 cat >> confdefs.h
<<\EOF
18022 #define wxUSE_FFILE 1
18027 if test "$wxUSE_FILESYSTEM" = "yes"; then
18028 cat >> confdefs.h
<<\EOF
18029 #define wxUSE_FILESYSTEM 1
18034 if test "$wxUSE_FS_INET" = "yes"; then
18035 cat >> confdefs.h
<<\EOF
18036 #define wxUSE_FS_INET 1
18041 if test "$wxUSE_FS_ZIP" = "yes"; then
18042 cat >> confdefs.h
<<\EOF
18043 #define wxUSE_FS_ZIP 1
18048 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18049 cat >> confdefs.h
<<\EOF
18050 #define wxUSE_ZIPSTREAM 1
18055 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18056 cat >> confdefs.h
<<\EOF
18057 #define wxUSE_ON_FATAL_EXCEPTION 1
18062 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18063 cat >> confdefs.h
<<\EOF
18064 #define wxUSE_SNGLINST_CHECKER 1
18069 if test "$wxUSE_BUSYINFO" = "yes"; then
18070 cat >> confdefs.h
<<\EOF
18071 #define wxUSE_BUSYINFO 1
18076 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18077 cat >> confdefs.h
<<\EOF
18078 #define wxUSE_STD_IOSTREAM 1
18083 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18084 cat >> confdefs.h
<<\EOF
18085 #define wxUSE_TEXTBUFFER 1
18090 if test "$wxUSE_TEXTFILE" = "yes"; then
18091 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18092 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18094 cat >> confdefs.h
<<\EOF
18095 #define wxUSE_TEXTFILE 1
18101 if test "$wxUSE_CONFIG" = "yes" ; then
18102 if test "$wxUSE_TEXTFILE" != "yes"; then
18103 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18105 cat >> confdefs.h
<<\EOF
18106 #define wxUSE_CONFIG 1
18109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18113 if test "$wxUSE_INTL" = "yes" ; then
18114 if test "$wxUSE_FILE" != "yes"; then
18115 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18117 cat >> confdefs.h
<<\EOF
18118 #define wxUSE_INTL 1
18121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18122 GUIDIST
="$GUIDIST INTL_DIST"
18126 if test "$wxUSE_LOG" = "yes"; then
18127 cat >> confdefs.h
<<\EOF
18128 #define wxUSE_LOG 1
18132 if test "$wxUSE_LOGGUI" = "yes"; then
18133 cat >> confdefs.h
<<\EOF
18134 #define wxUSE_LOGGUI 1
18139 if test "$wxUSE_LOGWINDOW" = "yes"; then
18140 cat >> confdefs.h
<<\EOF
18141 #define wxUSE_LOGWINDOW 1
18146 if test "$wxUSE_LOGDIALOG" = "yes"; then
18147 cat >> confdefs.h
<<\EOF
18148 #define wxUSE_LOG_DIALOG 1
18154 if test "$wxUSE_LONGLONG" = "yes"; then
18155 cat >> confdefs.h
<<\EOF
18156 #define wxUSE_LONGLONG 1
18161 if test "$wxUSE_GEOMETRY" = "yes"; then
18162 cat >> confdefs.h
<<\EOF
18163 #define wxUSE_GEOMETRY 1
18168 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18169 cat >> confdefs.h
<<\EOF
18170 #define wxUSE_DIALUP_MANAGER 1
18173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18176 if test "$wxUSE_STREAMS" = "yes" ; then
18177 cat >> confdefs.h
<<\EOF
18178 #define wxUSE_STREAMS 1
18184 if test "$wxUSE_DATETIME" = "yes"; then
18185 for ac_func
in strptime
18187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18188 echo "configure:18189: checking for $ac_func" >&5
18189 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18190 echo $ac_n "(cached) $ac_c" 1>&6
18192 cat > conftest.
$ac_ext <<EOF
18193 #line 18194 "configure"
18194 #include "confdefs.h"
18195 /* System header to define __stub macros and hopefully few prototypes,
18196 which can conflict with char $ac_func(); below. */
18197 #include <assert.h>
18198 /* Override any gcc2 internal prototype to avoid an error. */
18199 /* We use char because int might match the return type of a gcc2
18200 builtin and then its argument prototype would still apply. */
18205 /* The GNU C library defines this for functions which it implements
18206 to always fail with ENOSYS. Some functions are actually named
18207 something starting with __ and the normal name is an alias. */
18208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18216 if { (eval echo configure
:18217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18218 eval "ac_cv_func_$ac_func=yes"
18220 echo "configure: failed program was:" >&5
18221 cat conftest.
$ac_ext >&5
18223 eval "ac_cv_func_$ac_func=no"
18228 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18229 echo "$ac_t""yes" 1>&6
18230 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18231 cat >> confdefs.h
<<EOF
18232 #define $ac_tr_func 1
18236 echo "$ac_t""no" 1>&6
18241 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18242 echo "configure:18243: checking for timezone variable in <time.h>" >&5
18243 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18244 echo $ac_n "(cached) $ac_c" 1>&6
18247 cat > conftest.
$ac_ext <<EOF
18248 #line 18249 "configure"
18249 #include "confdefs.h"
18260 if { (eval echo configure
:18261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18263 wx_cv_var_timezone
=timezone
18266 echo "configure: failed program was:" >&5
18267 cat conftest.
$ac_ext >&5
18270 cat > conftest.
$ac_ext <<EOF
18271 #line 18272 "configure"
18272 #include "confdefs.h"
18283 if { (eval echo configure
:18284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18286 wx_cv_var_timezone
=_timezone
18289 echo "configure: failed program was:" >&5
18290 cat conftest.
$ac_ext >&5
18293 cat > conftest.
$ac_ext <<EOF
18294 #line 18295 "configure"
18295 #include "confdefs.h"
18306 if { (eval echo configure
:18307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18309 wx_cv_var_timezone
=__timezone
18312 echo "configure: failed program was:" >&5
18313 cat conftest.
$ac_ext >&5
18316 if test "$USE_DOS" = 0 ; then
18317 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
18335 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18337 if test "x$wx_cv_var_timezone" != x
; then
18338 cat >> confdefs.h
<<EOF
18339 #define WX_TIMEZONE $wx_cv_var_timezone
18344 for ac_func
in localtime
18346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18347 echo "configure:18348: checking for $ac_func" >&5
18348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18349 echo $ac_n "(cached) $ac_c" 1>&6
18351 cat > conftest.
$ac_ext <<EOF
18352 #line 18353 "configure"
18353 #include "confdefs.h"
18354 /* System header to define __stub macros and hopefully few prototypes,
18355 which can conflict with char $ac_func(); below. */
18356 #include <assert.h>
18357 /* Override any gcc2 internal prototype to avoid an error. */
18358 /* We use char because int might match the return type of a gcc2
18359 builtin and then its argument prototype would still apply. */
18364 /* The GNU C library defines this for functions which it implements
18365 to always fail with ENOSYS. Some functions are actually named
18366 something starting with __ and the normal name is an alias. */
18367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18375 if { (eval echo configure
:18376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18377 eval "ac_cv_func_$ac_func=yes"
18379 echo "configure: failed program was:" >&5
18380 cat conftest.
$ac_ext >&5
18382 eval "ac_cv_func_$ac_func=no"
18387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18388 echo "$ac_t""yes" 1>&6
18389 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18390 cat >> confdefs.h
<<EOF
18391 #define $ac_tr_func 1
18395 echo "$ac_t""no" 1>&6
18400 if test "$ac_cv_func_localtime" = "yes"; then
18401 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18402 echo "configure:18403: checking for tm_gmtoff in struct tm" >&5
18403 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18404 echo $ac_n "(cached) $ac_c" 1>&6
18407 cat > conftest.
$ac_ext <<EOF
18408 #line 18409 "configure"
18409 #include "confdefs.h"
18420 if { (eval echo configure
:18421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18423 wx_cv_struct_tm_has_gmtoff
=yes
18426 echo "configure: failed program was:" >&5
18427 cat conftest.
$ac_ext >&5
18429 wx_cv_struct_tm_has_gmtoff
=no
18436 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18439 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18440 cat >> confdefs.h
<<\EOF
18441 #define WX_GMTOFF_IN_TM 1
18446 for ac_func
in gettimeofday ftime
18448 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18449 echo "configure:18450: checking for $ac_func" >&5
18450 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18451 echo $ac_n "(cached) $ac_c" 1>&6
18453 cat > conftest.
$ac_ext <<EOF
18454 #line 18455 "configure"
18455 #include "confdefs.h"
18456 /* System header to define __stub macros and hopefully few prototypes,
18457 which can conflict with char $ac_func(); below. */
18458 #include <assert.h>
18459 /* Override any gcc2 internal prototype to avoid an error. */
18460 /* We use char because int might match the return type of a gcc2
18461 builtin and then its argument prototype would still apply. */
18466 /* The GNU C library defines this for functions which it implements
18467 to always fail with ENOSYS. Some functions are actually named
18468 something starting with __ and the normal name is an alias. */
18469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18477 if { (eval echo configure
:18478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18479 eval "ac_cv_func_$ac_func=yes"
18481 echo "configure: failed program was:" >&5
18482 cat conftest.
$ac_ext >&5
18484 eval "ac_cv_func_$ac_func=no"
18489 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18490 echo "$ac_t""yes" 1>&6
18491 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18492 cat >> confdefs.h
<<EOF
18493 #define $ac_tr_func 1
18497 echo "$ac_t""no" 1>&6
18502 if test "$ac_cv_func_gettimeofday" = "yes"; then
18503 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18504 echo "configure:18505: checking whether gettimeofday takes two arguments" >&5
18505 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18506 echo $ac_n "(cached) $ac_c" 1>&6
18511 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18512 ac_cpp
='$CXXCPP $CPPFLAGS'
18513 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18514 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18515 cross_compiling
=$ac_cv_prog_cxx_cross
18518 cat > conftest.
$ac_ext <<EOF
18519 #line 18520 "configure"
18520 #include "confdefs.h"
18522 #include <sys/time.h>
18523 #include <unistd.h>
18528 gettimeofday(&tv, NULL);
18532 if { (eval echo configure
:18533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18534 wx_cv_func_gettimeofday_has_2_args
=yes
18536 echo "configure: failed program was:" >&5
18537 cat conftest.
$ac_ext >&5
18539 cat > conftest.
$ac_ext <<EOF
18540 #line 18541 "configure"
18541 #include "confdefs.h"
18543 #include <sys/time.h>
18544 #include <unistd.h>
18553 if { (eval echo configure
:18554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18555 wx_cv_func_gettimeofday_has_2_args
=no
18557 echo "configure: failed program was:" >&5
18558 cat conftest.
$ac_ext >&5
18561 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18562 wx_cv_func_gettimeofday_has_2_args
=unknown
18571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18572 ac_cpp
='$CPP $CPPFLAGS'
18573 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18574 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18575 cross_compiling
=$ac_cv_prog_cc_cross
18580 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18582 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18583 cat >> confdefs.h
<<\EOF
18584 #define WX_GETTIMEOFDAY_NO_TZ 1
18590 cat >> confdefs.h
<<\EOF
18591 #define wxUSE_TIMEDATE 1
18594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18598 if test "$TOOLKIT" != "MSW"; then
18600 if test "$wxUSE_SOCKETS" = "yes"; then
18601 echo $ac_n "checking for socket""... $ac_c" 1>&6
18602 echo "configure:18603: checking for socket" >&5
18603 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18604 echo $ac_n "(cached) $ac_c" 1>&6
18606 cat > conftest.
$ac_ext <<EOF
18607 #line 18608 "configure"
18608 #include "confdefs.h"
18609 /* System header to define __stub macros and hopefully few prototypes,
18610 which can conflict with char socket(); below. */
18611 #include <assert.h>
18612 /* Override any gcc2 internal prototype to avoid an error. */
18613 /* We use char because int might match the return type of a gcc2
18614 builtin and then its argument prototype would still apply. */
18619 /* The GNU C library defines this for functions which it implements
18620 to always fail with ENOSYS. Some functions are actually named
18621 something starting with __ and the normal name is an alias. */
18622 #if defined (__stub_socket) || defined (__stub___socket)
18630 if { (eval echo configure
:18631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18632 eval "ac_cv_func_socket=yes"
18634 echo "configure: failed program was:" >&5
18635 cat conftest.
$ac_ext >&5
18637 eval "ac_cv_func_socket=no"
18642 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18643 echo "$ac_t""yes" 1>&6
18646 echo "$ac_t""no" 1>&6
18647 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18648 echo "configure:18649: checking for socket in -lsocket" >&5
18649 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18650 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18651 echo $ac_n "(cached) $ac_c" 1>&6
18653 ac_save_LIBS
="$LIBS"
18654 LIBS
="-lsocket $LIBS"
18655 cat > conftest.
$ac_ext <<EOF
18656 #line 18657 "configure"
18657 #include "confdefs.h"
18658 /* Override any gcc2 internal prototype to avoid an error. */
18659 /* We use char because int might match the return type of a gcc2
18660 builtin and then its argument prototype would still apply. */
18667 if { (eval echo configure
:18668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18669 eval "ac_cv_lib_$ac_lib_var=yes"
18671 echo "configure: failed program was:" >&5
18672 cat conftest.
$ac_ext >&5
18674 eval "ac_cv_lib_$ac_lib_var=no"
18677 LIBS
="$ac_save_LIBS"
18680 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18681 echo "$ac_t""yes" 1>&6
18682 INET_LINK
="$INET_LINK -lsocket"
18684 echo "$ac_t""no" 1>&6
18686 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18698 if test "$wxUSE_SOCKETS" = "yes" ; then
18699 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18700 echo "configure:18701: checking what is the type of the third argument of getsockname" >&5
18701 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18702 echo $ac_n "(cached) $ac_c" 1>&6
18707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18708 ac_cpp
='$CXXCPP $CPPFLAGS'
18709 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18710 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18711 cross_compiling
=$ac_cv_prog_cxx_cross
18714 cat > conftest.
$ac_ext <<EOF
18715 #line 18716 "configure"
18716 #include "confdefs.h"
18718 #include <sys/types.h>
18719 #include <sys/socket.h>
18724 getsockname(0, 0, &len);
18728 if { (eval echo configure
:18729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18730 wx_cv_type_getsockname3
=socklen_t
18732 echo "configure: failed program was:" >&5
18733 cat conftest.
$ac_ext >&5
18735 cat > conftest.
$ac_ext <<EOF
18736 #line 18737 "configure"
18737 #include "confdefs.h"
18739 #include <sys/types.h>
18740 #include <sys/socket.h>
18745 getsockname(0, 0, &len);
18749 if { (eval echo configure
:18750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18751 wx_cv_type_getsockname3
=size_t
18753 echo "configure: failed program was:" >&5
18754 cat conftest.
$ac_ext >&5
18756 cat > conftest.
$ac_ext <<EOF
18757 #line 18758 "configure"
18758 #include "confdefs.h"
18760 #include <sys/types.h>
18761 #include <sys/socket.h>
18766 getsockname(0, 0, &len);
18770 if { (eval echo configure
:18771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18772 wx_cv_type_getsockname3
=int
18774 echo "configure: failed program was:" >&5
18775 cat conftest.
$ac_ext >&5
18777 wx_cv_type_getsockname3
=unknown
18789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18790 ac_cpp
='$CPP $CPPFLAGS'
18791 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18792 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18793 cross_compiling
=$ac_cv_prog_cc_cross
18798 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18800 if test "$wx_cv_type_getsockname3" = "unknown"; then
18802 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18804 cat >> confdefs.h
<<EOF
18805 #define SOCKLEN_T $wx_cv_type_getsockname3
18812 if test "$wxUSE_SOCKETS" = "yes" ; then
18813 cat >> confdefs.h
<<\EOF
18814 #define wxUSE_SOCKETS 1
18817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
18821 if test "$wxUSE_GUI" = "yes"; then
18823 if test "$TOOLKIT" = "MAC"; then
18824 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18827 if test "$TOOLKIT" = "MOTIF"; then
18828 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18831 if test "$TOOLKIT" = "X11"; then
18832 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
18836 if test "$TOOLKIT" != "MSW"; then
18837 if test "$wxUSE_JOYSTICK" = "yes"; then
18838 for ac_hdr
in linux
/joystick.h
18840 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18841 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18842 echo "configure:18843: checking for $ac_hdr" >&5
18843 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18844 echo $ac_n "(cached) $ac_c" 1>&6
18846 cat > conftest.
$ac_ext <<EOF
18847 #line 18848 "configure"
18848 #include "confdefs.h"
18851 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18852 { (eval echo configure
:18853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18853 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18854 if test -z "$ac_err"; then
18856 eval "ac_cv_header_$ac_safe=yes"
18859 echo "configure: failed program was:" >&5
18860 cat conftest.
$ac_ext >&5
18862 eval "ac_cv_header_$ac_safe=no"
18866 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18867 echo "$ac_t""yes" 1>&6
18868 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18869 cat >> confdefs.h
<<EOF
18870 #define $ac_tr_hdr 1
18874 echo "$ac_t""no" 1>&6
18878 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18880 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18885 if test "$wxUSE_JOYSTICK" = "yes"; then
18886 cat >> confdefs.h
<<\EOF
18887 #define wxUSE_JOYSTICK 1
18890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
18895 if test "$TOOLKIT" != "MSW"; then
18899 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18900 if test "$USE_DARWIN" = 1; then
18903 for ac_func
in dlopen
18905 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18906 echo "configure:18907: checking for $ac_func" >&5
18907 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18908 echo $ac_n "(cached) $ac_c" 1>&6
18910 cat > conftest.
$ac_ext <<EOF
18911 #line 18912 "configure"
18912 #include "confdefs.h"
18913 /* System header to define __stub macros and hopefully few prototypes,
18914 which can conflict with char $ac_func(); below. */
18915 #include <assert.h>
18916 /* Override any gcc2 internal prototype to avoid an error. */
18917 /* We use char because int might match the return type of a gcc2
18918 builtin and then its argument prototype would still apply. */
18923 /* The GNU C library defines this for functions which it implements
18924 to always fail with ENOSYS. Some functions are actually named
18925 something starting with __ and the normal name is an alias. */
18926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18934 if { (eval echo configure
:18935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18936 eval "ac_cv_func_$ac_func=yes"
18938 echo "configure: failed program was:" >&5
18939 cat conftest.
$ac_ext >&5
18941 eval "ac_cv_func_$ac_func=no"
18946 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18947 echo "$ac_t""yes" 1>&6
18948 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18949 cat >> confdefs.h
<<EOF
18950 #define $ac_tr_func 1
18953 cat >> confdefs.h
<<\EOF
18954 #define HAVE_DLOPEN 1
18960 echo "$ac_t""no" 1>&6
18961 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18962 echo "configure:18963: checking for dlopen in -ldl" >&5
18963 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18964 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18965 echo $ac_n "(cached) $ac_c" 1>&6
18967 ac_save_LIBS
="$LIBS"
18969 cat > conftest.
$ac_ext <<EOF
18970 #line 18971 "configure"
18971 #include "confdefs.h"
18972 /* Override any gcc2 internal prototype to avoid an error. */
18973 /* We use char because int might match the return type of a gcc2
18974 builtin and then its argument prototype would still apply. */
18981 if { (eval echo configure
:18982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18983 eval "ac_cv_lib_$ac_lib_var=yes"
18985 echo "configure: failed program was:" >&5
18986 cat conftest.
$ac_ext >&5
18988 eval "ac_cv_lib_$ac_lib_var=no"
18991 LIBS
="$ac_save_LIBS"
18994 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18995 echo "$ac_t""yes" 1>&6
18997 cat >> confdefs.h
<<\EOF
18998 #define HAVE_DLOPEN 1
19002 DL_LINK
=" -ldl$DL_LINK"
19005 echo "$ac_t""no" 1>&6
19007 for ac_func
in shl_load
19009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19010 echo "configure:19011: checking for $ac_func" >&5
19011 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19012 echo $ac_n "(cached) $ac_c" 1>&6
19014 cat > conftest.
$ac_ext <<EOF
19015 #line 19016 "configure"
19016 #include "confdefs.h"
19017 /* System header to define __stub macros and hopefully few prototypes,
19018 which can conflict with char $ac_func(); below. */
19019 #include <assert.h>
19020 /* Override any gcc2 internal prototype to avoid an error. */
19021 /* We use char because int might match the return type of a gcc2
19022 builtin and then its argument prototype would still apply. */
19027 /* The GNU C library defines this for functions which it implements
19028 to always fail with ENOSYS. Some functions are actually named
19029 something starting with __ and the normal name is an alias. */
19030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19038 if { (eval echo configure
:19039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19040 eval "ac_cv_func_$ac_func=yes"
19042 echo "configure: failed program was:" >&5
19043 cat conftest.
$ac_ext >&5
19045 eval "ac_cv_func_$ac_func=no"
19050 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19051 echo "$ac_t""yes" 1>&6
19052 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19053 cat >> confdefs.h
<<EOF
19054 #define $ac_tr_func 1
19057 cat >> confdefs.h
<<\EOF
19058 #define HAVE_SHL_LOAD 1
19064 echo "$ac_t""no" 1>&6
19065 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19066 echo "configure:19067: checking for dld in -lshl_load" >&5
19067 ac_lib_var
=`echo shl_load'_'dld | 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"
19072 LIBS
="-lshl_load $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
19102 DL_LINK
=" -ldld$DL_LINK"
19105 echo "$ac_t""no" 1>&6
19120 if test "$HAVE_DL_FUNCS" = 1; then
19121 for ac_func
in dlerror
19123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19124 echo "configure:19125: checking for $ac_func" >&5
19125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19126 echo $ac_n "(cached) $ac_c" 1>&6
19128 cat > conftest.
$ac_ext <<EOF
19129 #line 19130 "configure"
19130 #include "confdefs.h"
19131 /* System header to define __stub macros and hopefully few prototypes,
19132 which can conflict with char $ac_func(); below. */
19133 #include <assert.h>
19134 /* Override any gcc2 internal prototype to avoid an error. */
19135 /* We use char because int might match the return type of a gcc2
19136 builtin and then its argument prototype would still apply. */
19141 /* The GNU C library defines this for functions which it implements
19142 to always fail with ENOSYS. Some functions are actually named
19143 something starting with __ and the normal name is an alias. */
19144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19152 if { (eval echo configure
:19153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19154 eval "ac_cv_func_$ac_func=yes"
19156 echo "configure: failed program was:" >&5
19157 cat conftest.
$ac_ext >&5
19159 eval "ac_cv_func_$ac_func=no"
19164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19165 echo "$ac_t""yes" 1>&6
19166 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19167 cat >> confdefs.h
<<EOF
19168 #define $ac_tr_func 1
19170 cat >> confdefs.h
<<\EOF
19171 #define HAVE_DLERROR 1
19175 echo "$ac_t""no" 1>&6
19176 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19177 echo "configure:19178: checking for dlerror in -ldl" >&5
19178 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19179 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19180 echo $ac_n "(cached) $ac_c" 1>&6
19182 ac_save_LIBS
="$LIBS"
19184 cat > conftest.
$ac_ext <<EOF
19185 #line 19186 "configure"
19186 #include "confdefs.h"
19187 /* Override any gcc2 internal prototype to avoid an error. */
19188 /* We use char because int might match the return type of a gcc2
19189 builtin and then its argument prototype would still apply. */
19196 if { (eval echo configure
:19197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19198 eval "ac_cv_lib_$ac_lib_var=yes"
19200 echo "configure: failed program was:" >&5
19201 cat conftest.
$ac_ext >&5
19203 eval "ac_cv_lib_$ac_lib_var=no"
19206 LIBS
="$ac_save_LIBS"
19209 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19210 echo "$ac_t""yes" 1>&6
19211 cat >> confdefs.h
<<\EOF
19212 #define HAVE_DLERROR 1
19216 echo "$ac_t""no" 1>&6
19225 if test "$HAVE_DL_FUNCS" = 0; then
19226 if test "$HAVE_SHL_FUNCS" = 0; then
19227 if test "$USE_UNIX" = 1; then
19228 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19229 wxUSE_DYNAMIC_LOADER
=no
19230 wxUSE_DYNLIB_CLASS
=no
19232 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19239 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19240 cat >> confdefs.h
<<\EOF
19241 #define wxUSE_DYNAMIC_LOADER 1
19244 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19245 cat >> confdefs.h
<<\EOF
19246 #define wxUSE_DYNLIB_CLASS 1
19252 if test "$wxUSE_FONTMAP" = "yes" ; then
19253 cat >> confdefs.h
<<\EOF
19254 #define wxUSE_FONTMAP 1
19259 if test "$wxUSE_UNICODE" = "yes" ; then
19260 cat >> confdefs.h
<<\EOF
19261 #define wxUSE_UNICODE 1
19265 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19266 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19267 echo "configure:19268: checking for main in -lunicows" >&5
19268 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19269 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19270 echo $ac_n "(cached) $ac_c" 1>&6
19272 ac_save_LIBS
="$LIBS"
19273 LIBS
="-lunicows $LIBS"
19274 cat > conftest.
$ac_ext <<EOF
19275 #line 19276 "configure"
19276 #include "confdefs.h"
19282 if { (eval echo configure
:19283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19284 eval "ac_cv_lib_$ac_lib_var=yes"
19286 echo "configure: failed program was:" >&5
19287 cat conftest.
$ac_ext >&5
19289 eval "ac_cv_lib_$ac_lib_var=no"
19292 LIBS
="$ac_save_LIBS"
19295 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19296 echo "$ac_t""yes" 1>&6
19298 cat >> confdefs.h
<<\EOF
19299 #define wxUSE_UNICODE_MSLU 1
19304 echo "$ac_t""no" 1>&6
19306 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19307 Applications will only run on Windows NT/2000/XP!" 1>&2
19308 wxUSE_UNICODE_MSLU
=no
19315 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19316 cat >> confdefs.h
<<\EOF
19317 #define wxUSE_EXPERIMENTAL_PRINTF 1
19325 if test "$wxUSE_ODBC" = "yes" ; then
19326 cat >> confdefs.h
<<\EOF
19327 #define wxUSE_ODBC 1
19330 WXODBCFLAG
="-D_IODBC_"
19331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19335 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19336 cat >> confdefs.h
<<\EOF
19337 #define wxUSE_POSTSCRIPT 1
19342 cat >> confdefs.h
<<\EOF
19343 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19347 cat >> confdefs.h
<<\EOF
19348 #define wxUSE_NORMALIZED_PS_FONTS 1
19353 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19354 cat >> confdefs.h
<<\EOF
19355 #define wxUSE_CONSTRAINTS 1
19358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19361 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19362 if test "$wxUSE_UNIVERSAL" = "yes"; then
19363 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
19364 wxUSE_MDI_ARCHITECTURE
=no
19367 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19368 cat >> confdefs.h
<<\EOF
19369 #define wxUSE_MDI_ARCHITECTURE 1
19372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19376 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19377 cat >> confdefs.h
<<\EOF
19378 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19382 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19387 if test "$wxUSE_HELP" = "yes"; then
19388 cat >> confdefs.h
<<\EOF
19389 #define wxUSE_HELP 1
19392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19394 if test "$wxUSE_MSW" = 1; then
19395 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19396 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
19397 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
19398 echo "configure:19399: checking for htmlhelp.h" >&5
19399 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19400 echo $ac_n "(cached) $ac_c" 1>&6
19402 cat > conftest.
$ac_ext <<EOF
19403 #line 19404 "configure"
19404 #include "confdefs.h"
19405 #include <htmlhelp.h>
19407 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19408 { (eval echo configure
:19409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19409 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19410 if test -z "$ac_err"; then
19412 eval "ac_cv_header_$ac_safe=yes"
19415 echo "configure: failed program was:" >&5
19416 cat conftest.
$ac_ext >&5
19418 eval "ac_cv_header_$ac_safe=no"
19422 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19423 echo "$ac_t""yes" 1>&6
19425 cat >> confdefs.h
<<\EOF
19426 #define wxUSE_MS_HTML_HELP 1
19431 echo "$ac_t""no" 1>&6
19433 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
19434 wxUSE_MS_HTML_HELP
=no
19441 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19442 if test "$wxUSE_HTML" = "yes"; then
19443 cat >> confdefs.h
<<\EOF
19444 #define wxUSE_WXHTML_HELP 1
19448 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19449 wxUSE_WXHTML_HELP
=no
19454 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19455 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19456 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19458 cat >> confdefs.h
<<\EOF
19459 #define wxUSE_PRINTING_ARCHITECTURE 1
19463 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19466 if test "$wxUSE_PROLOGIO" = "yes" ; then
19467 cat >> confdefs.h
<<\EOF
19468 #define wxUSE_PROLOGIO 1
19473 if test "$wxUSE_RESOURCES" = "yes" ; then
19474 cat >> confdefs.h
<<\EOF
19475 #define wxUSE_RESOURCES 1
19478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19481 if test "$wxUSE_X_RESOURCES" = "yes"; then
19482 cat >> confdefs.h
<<\EOF
19483 #define wxUSE_X_RESOURCES 1
19489 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19490 -o "$wxUSE_CLIPBOARD" = "yes" \
19491 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19492 for ac_hdr
in ole2.h
19494 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19495 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19496 echo "configure:19497: checking for $ac_hdr" >&5
19497 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19498 echo $ac_n "(cached) $ac_c" 1>&6
19500 cat > conftest.
$ac_ext <<EOF
19501 #line 19502 "configure"
19502 #include "confdefs.h"
19505 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19506 { (eval echo configure
:19507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19507 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19508 if test -z "$ac_err"; then
19510 eval "ac_cv_header_$ac_safe=yes"
19513 echo "configure: failed program was:" >&5
19514 cat conftest.
$ac_ext >&5
19516 eval "ac_cv_header_$ac_safe=no"
19520 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19521 echo "$ac_t""yes" 1>&6
19522 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19523 cat >> confdefs.h
<<EOF
19524 #define $ac_tr_hdr 1
19528 echo "$ac_t""no" 1>&6
19533 if test "$ac_cv_header_ole2_h" = "yes" ; then
19534 if test "$GCC" = yes ; then
19535 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19536 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19537 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19538 cat >> confdefs.h
<<\EOF
19539 #define wxUSE_OLE 1
19545 cat >> confdefs.h
<<\EOF
19546 #define wxUSE_DATAOBJ 1
19550 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19553 wxUSE_DRAG_AND_DROP
=no
19557 if test "$wxUSE_METAFILE" = "yes"; then
19558 cat >> confdefs.h
<<\EOF
19559 #define wxUSE_METAFILE 1
19563 cat >> confdefs.h
<<\EOF
19564 #define wxUSE_ENH_METAFILE 1
19570 if test "$wxUSE_IPC" = "yes"; then
19571 if test "$wxUSE_SOCKETS" != "yes"; then
19572 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19575 cat >> confdefs.h
<<\EOF
19576 #define wxUSE_IPC 1
19581 if test "$wxUSE_CLIPBOARD" = "yes"; then
19582 if test "$wxUSE_X11" = 1; then
19583 echo "configure: warning: Clipboard not yet supported under X11... disabled" 1>&2
19587 if test "$wxUSE_CLIPBOARD" = "yes"; then
19588 cat >> confdefs.h
<<\EOF
19589 #define wxUSE_CLIPBOARD 1
19593 cat >> confdefs.h
<<\EOF
19594 #define wxUSE_DATAOBJ 1
19600 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19601 if test "$wxUSE_GTK" = 1; then
19602 if test "$WXGTK12" != 1; then
19603 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19604 wxUSE_DRAG_AND_DROP
=no
19608 if test "$wxUSE_MOTIF" = 1; then
19609 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19610 wxUSE_DRAG_AND_DROP
=no
19613 if test "$wxUSE_X11" = 1; then
19614 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19615 wxUSE_DRAG_AND_DROP
=no
19618 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19619 cat >> confdefs.h
<<\EOF
19620 #define wxUSE_DRAG_AND_DROP 1
19623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19628 if test "$wxUSE_SPLINES" = "yes" ; then
19629 cat >> confdefs.h
<<\EOF
19630 #define wxUSE_SPLINES 1
19637 if test "$wxUSE_CONTROLS" = "yes"; then
19641 if test "$wxUSE_ACCEL" = "yes"; then
19642 cat >> confdefs.h
<<\EOF
19643 #define wxUSE_ACCEL 1
19649 if test "$wxUSE_BUTTON" = "yes"; then
19650 cat >> confdefs.h
<<\EOF
19651 #define wxUSE_BUTTON 1
19657 if test "$wxUSE_BMPBUTTON" = "yes"; then
19658 cat >> confdefs.h
<<\EOF
19659 #define wxUSE_BMPBUTTON 1
19665 if test "$wxUSE_CALCTRL" = "yes"; then
19666 cat >> confdefs.h
<<\EOF
19667 #define wxUSE_CALENDARCTRL 1
19671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
19674 if test "$wxUSE_CARET" = "yes"; then
19675 cat >> confdefs.h
<<\EOF
19676 #define wxUSE_CARET 1
19680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
19683 if test "$wxUSE_COMBOBOX" = "yes"; then
19684 cat >> confdefs.h
<<\EOF
19685 #define wxUSE_COMBOBOX 1
19691 if test "$wxUSE_CHOICE" = "yes"; then
19692 cat >> confdefs.h
<<\EOF
19693 #define wxUSE_CHOICE 1
19699 if test "$wxUSE_CHECKBOX" = "yes"; then
19700 cat >> confdefs.h
<<\EOF
19701 #define wxUSE_CHECKBOX 1
19707 if test "$wxUSE_CHECKLST" = "yes"; then
19708 cat >> confdefs.h
<<\EOF
19709 #define wxUSE_CHECKLISTBOX 1
19713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
19716 if test "$wxUSE_GAUGE" = "yes"; then
19717 cat >> confdefs.h
<<\EOF
19718 #define wxUSE_GAUGE 1
19724 if test "$wxUSE_NEW_GRID" = "yes"; then
19726 cat >> confdefs.h
<<\EOF
19727 #define wxUSE_NEW_GRID 1
19731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
19734 if test "$wxUSE_GRID" = "yes"; then
19735 cat >> confdefs.h
<<\EOF
19736 #define wxUSE_GRID 1
19740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
19743 if test "$wxUSE_IMAGLIST" = "yes"; then
19744 cat >> confdefs.h
<<\EOF
19745 #define wxUSE_IMAGLIST 1
19750 if test "$wxUSE_LISTBOX" = "yes"; then
19751 cat >> confdefs.h
<<\EOF
19752 #define wxUSE_LISTBOX 1
19758 if test "$wxUSE_LISTCTRL" = "yes"; then
19759 if test "$wxUSE_IMAGLIST" = "yes"; then
19760 cat >> confdefs.h
<<\EOF
19761 #define wxUSE_LISTCTRL 1
19765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
19767 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19771 if test "$wxUSE_NOTEBOOK" = "yes"; then
19772 cat >> confdefs.h
<<\EOF
19773 #define wxUSE_NOTEBOOK 1
19777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
19780 if test "$wxUSE_PROPSHEET" = "yes"; then
19781 cat >> confdefs.h
<<\EOF
19782 #define wxUSE_PROPSHEET 1
19786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
19789 if test "$wxUSE_RADIOBOX" = "yes"; then
19790 cat >> confdefs.h
<<\EOF
19791 #define wxUSE_RADIOBOX 1
19797 if test "$wxUSE_RADIOBTN" = "yes"; then
19798 cat >> confdefs.h
<<\EOF
19799 #define wxUSE_RADIOBTN 1
19805 if test "$wxUSE_SASH" = "yes"; then
19806 cat >> confdefs.h
<<\EOF
19807 #define wxUSE_SASH 1
19810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
19813 if test "$wxUSE_SCROLLBAR" = "yes"; then
19814 cat >> confdefs.h
<<\EOF
19815 #define wxUSE_SCROLLBAR 1
19819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
19822 if test "$wxUSE_SLIDER" = "yes"; then
19823 cat >> confdefs.h
<<\EOF
19824 #define wxUSE_SLIDER 1
19830 if test "$wxUSE_SPINBTN" = "yes"; then
19831 cat >> confdefs.h
<<\EOF
19832 #define wxUSE_SPINBTN 1
19838 if test "$wxUSE_SPINCTRL" = "yes"; then
19839 cat >> confdefs.h
<<\EOF
19840 #define wxUSE_SPINCTRL 1
19846 if test "$wxUSE_SPLITTER" = "yes"; then
19847 cat >> confdefs.h
<<\EOF
19848 #define wxUSE_SPLITTER 1
19851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
19854 if test "$wxUSE_STATBMP" = "yes"; then
19855 cat >> confdefs.h
<<\EOF
19856 #define wxUSE_STATBMP 1
19862 if test "$wxUSE_STATBOX" = "yes"; then
19863 cat >> confdefs.h
<<\EOF
19864 #define wxUSE_STATBOX 1
19870 if test "$wxUSE_STATTEXT" = "yes"; then
19871 cat >> confdefs.h
<<\EOF
19872 #define wxUSE_STATTEXT 1
19878 if test "$wxUSE_STATLINE" = "yes"; then
19879 if test "$wxUSE_WINE" = 1 ; then
19880 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19882 cat >> confdefs.h
<<\EOF
19883 #define wxUSE_STATLINE 1
19890 if test "$wxUSE_STATUSBAR" = "yes"; then
19891 cat >> confdefs.h
<<\EOF
19892 #define wxUSE_STATUSBAR 1
19897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
19900 if test "$wxUSE_TABDIALOG" = "yes"; then
19901 cat >> confdefs.h
<<\EOF
19902 #define wxUSE_TAB_DIALOG 1
19905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
19908 if test "$wxUSE_TEXTCTRL" = "yes"; then
19909 cat >> confdefs.h
<<\EOF
19910 #define wxUSE_TEXTCTRL 1
19914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
19917 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19918 if test "$wxUSE_MAC" = 1; then
19919 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19922 if test "$wxUSE_UNIVERSAL" = "yes"; then
19923 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
19927 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19928 cat >> confdefs.h
<<\EOF
19929 #define wxUSE_TOGGLEBTN 1
19936 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19937 cat >> confdefs.h
<<\EOF
19938 #define wxUSE_TOOLBAR_SIMPLE 1
19941 wxUSE_TOOLBAR
="yes"
19945 if test "$wxUSE_TOOLBAR" = "yes"; then
19946 cat >> confdefs.h
<<\EOF
19947 #define wxUSE_TOOLBAR 1
19952 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19953 wxUSE_TOOLBAR_NATIVE
="yes"
19956 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19957 cat >> confdefs.h
<<\EOF
19958 #define wxUSE_TOOLBAR_NATIVE 1
19964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
19967 if test "$wxUSE_TOOLTIPS" = "yes"; then
19968 if test "$wxUSE_MOTIF" = 1; then
19969 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19971 if test "$wxUSE_WINE" = 1; then
19972 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19974 if test "$wxUSE_UNIVERSAL" = "yes"; then
19975 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
19977 cat >> confdefs.h
<<\EOF
19978 #define wxUSE_TOOLTIPS 1
19986 if test "$wxUSE_TREECTRL" = "yes"; then
19987 if test "$wxUSE_IMAGLIST" = "yes"; then
19988 cat >> confdefs.h
<<\EOF
19989 #define wxUSE_TREECTRL 1
19993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
19995 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19999 if test "$wxUSE_POPUPWIN" = "yes"; then
20000 if test "$wxUSE_MAC" = 1; then
20001 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20003 if test "$wxUSE_MOTIF" = 1; then
20004 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20006 if test "$wxUSE_PM" = 1; then
20007 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20009 cat >> confdefs.h
<<\EOF
20010 #define wxUSE_POPUPWIN 1
20020 if test "$wxUSE_TIPWINDOW" = "yes"; then
20021 if test "$wxUSE_PM" = 1; then
20022 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20024 cat >> confdefs.h
<<\EOF
20025 #define wxUSE_TIPWINDOW 1
20031 if test "$USES_CONTROLS" = 1; then
20032 cat >> confdefs.h
<<\EOF
20033 #define wxUSE_CONTROLS 1
20039 if test "$wxUSE_TREELAYOUT" = "yes"; then
20040 cat >> confdefs.h
<<\EOF
20041 #define wxUSE_TREELAYOUT 1
20044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20047 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20048 cat >> confdefs.h
<<\EOF
20049 #define wxUSE_DRAGIMAGE 1
20052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20055 if test "$wxUSE_MENUS" = "yes"; then
20056 cat >> confdefs.h
<<\EOF
20057 #define wxUSE_MENUS 1
20060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20063 if test "$wxUSE_METAFILE" = "yes"; then
20064 cat >> confdefs.h
<<\EOF
20065 #define wxUSE_METAFILE 1
20070 if test "$wxUSE_MIMETYPE" = "yes"; then
20071 cat >> confdefs.h
<<\EOF
20072 #define wxUSE_MIMETYPE 1
20077 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20078 cat >> confdefs.h
<<\EOF
20079 #define wxUSE_SYSTEM_OPTIONS 1
20084 if test "$wxUSE_PROTOCOL" = "yes"; then
20085 if test "$wxUSE_SOCKETS" != "yes"; then
20086 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20090 if test "$wxUSE_PROTOCOL" = "yes"; then
20091 cat >> confdefs.h
<<\EOF
20092 #define wxUSE_PROTOCOL 1
20096 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20097 cat >> confdefs.h
<<\EOF
20098 #define wxUSE_PROTOCOL_HTTP 1
20102 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20103 cat >> confdefs.h
<<\EOF
20104 #define wxUSE_PROTOCOL_FTP 1
20108 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20109 cat >> confdefs.h
<<\EOF
20110 #define wxUSE_PROTOCOL_FILE 1
20117 if test "$wxUSE_URL" = "yes"; then
20118 if test "$wxUSE_PROTOCOL" != "yes"; then
20119 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20122 if test "$wxUSE_URL" = "yes"; then
20123 cat >> confdefs.h
<<\EOF
20124 #define wxUSE_URL 1
20130 if test "$wxUSE_MINIFRAME" = "yes"; then
20131 cat >> confdefs.h
<<\EOF
20132 #define wxUSE_MINIFRAME 1
20135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20138 if test "$wxUSE_HTML" = "yes"; then
20139 cat >> confdefs.h
<<\EOF
20140 #define wxUSE_HTML 1
20143 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20146 if test "$wxUSE_VALIDATORS" = "yes"; then
20147 cat >> confdefs.h
<<\EOF
20148 #define wxUSE_VALIDATORS 1
20151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20154 if test "$wxUSE_PALETTE" = "yes" ; then
20155 cat >> confdefs.h
<<\EOF
20156 #define wxUSE_PALETTE 1
20161 if test "$wxUSE_IMAGE" = "yes" ; then
20162 cat >> confdefs.h
<<\EOF
20163 #define wxUSE_IMAGE 1
20168 if test "$wxUSE_GIF" = "yes" ; then
20169 cat >> confdefs.h
<<\EOF
20170 #define wxUSE_GIF 1
20175 if test "$wxUSE_PCX" = "yes" ; then
20176 cat >> confdefs.h
<<\EOF
20177 #define wxUSE_PCX 1
20182 if test "$wxUSE_IFF" = "yes" ; then
20183 cat >> confdefs.h
<<\EOF
20184 #define wxUSE_IFF 1
20189 if test "$wxUSE_PNM" = "yes" ; then
20190 cat >> confdefs.h
<<\EOF
20191 #define wxUSE_PNM 1
20196 if test "$wxUSE_XPM" = "yes" ; then
20197 cat >> confdefs.h
<<\EOF
20198 #define wxUSE_XPM 1
20203 if test "$wxUSE_ICO_CUR" = "yes" ; then
20204 cat >> confdefs.h
<<\EOF
20205 #define wxUSE_ICO_CUR 1
20210 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20211 LIBS
=" -lunicows $LIBS"
20215 if test "$wxUSE_CHOICEDLG" = "yes"; then
20216 cat >> confdefs.h
<<\EOF
20217 #define wxUSE_CHOICEDLG 1
20222 if test "$wxUSE_COLOURDLG" = "yes"; then
20223 cat >> confdefs.h
<<\EOF
20224 #define wxUSE_COLOURDLG 1
20229 if test "$wxUSE_FILEDLG" = "yes"; then
20230 cat >> confdefs.h
<<\EOF
20231 #define wxUSE_FILEDLG 1
20236 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20237 cat >> confdefs.h
<<\EOF
20238 #define wxUSE_FINDREPLDLG 1
20243 if test "$wxUSE_FONTDLG" = "yes"; then
20244 cat >> confdefs.h
<<\EOF
20245 #define wxUSE_FONTDLG 1
20250 if test "$wxUSE_DIRDLG" = "yes"; then
20251 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20252 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
20254 if test "$wxUSE_TREECTRL" != "yes"; then
20255 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20257 cat >> confdefs.h
<<\EOF
20258 #define wxUSE_DIRDLG 1
20265 if test "$wxUSE_MSGDLG" = "yes"; then
20266 cat >> confdefs.h
<<\EOF
20267 #define wxUSE_MSGDLG 1
20272 if test "$wxUSE_NUMBERDLG" = "yes"; then
20273 cat >> confdefs.h
<<\EOF
20274 #define wxUSE_NUMBERDLG 1
20279 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20280 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20281 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20283 cat >> confdefs.h
<<\EOF
20284 #define wxUSE_PROGRESSDLG 1
20290 if test "$wxUSE_SPLASH" = "yes"; then
20291 cat >> confdefs.h
<<\EOF
20292 #define wxUSE_SPLASH 1
20297 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20298 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20299 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20301 cat >> confdefs.h
<<\EOF
20302 #define wxUSE_STARTUP_TIPS 1
20308 if test "$wxUSE_TEXTDLG" = "yes"; then
20309 cat >> confdefs.h
<<\EOF
20310 #define wxUSE_TEXTDLG 1
20315 if test "$wxUSE_WIZARDDLG" = "yes"; then
20316 cat >> confdefs.h
<<\EOF
20317 #define wxUSE_WIZARDDLG 1
20320 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20324 if test "$cross_compiling" = "yes"; then
20327 OSINFO
=`uname -s -r -m`
20328 OSINFO
="\"$OSINFO\""
20331 cat >> confdefs.h
<<EOF
20332 #define WXWIN_OS_DESCRIPTION $OSINFO
20337 if test "x$prefix" != "xNONE"; then
20340 wxPREFIX
=$ac_default_prefix
20343 cat >> confdefs.h
<<EOF
20344 #define wxINSTALL_PREFIX "$wxPREFIX"
20351 if test "$wxUSE_MAC" = 1 ; then
20352 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20356 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DL_LINK -lm $LIBS"
20358 if test "$wxUSE_GUI" = "yes"; then
20360 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
20364 drawing dynamic erase event exec font image \
20365 minimal richedit rotate widgets"
20367 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20369 SAMPLES_SUBDIRS
="console"
20373 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
20374 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
20376 if test "$wxUSE_GTK" = 1; then
20379 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20382 if test "$GXX" = yes ; then
20383 CXXWARNINGS
="-Wall"
20385 if test "$wxUSE_NO_DEPS" = "no" ; then
20386 CFLAGS
="-MMD $CFLAGS"
20387 CXXFLAGS
="-MMD $CXXFLAGS"
20391 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20393 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20394 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20396 LDFLAGS
="$LDFLAGS$PROFILE"
20398 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20486 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20487 echo "configure:20488: checking whether ${MAKE-make} sets \${MAKE}" >&5
20488 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20489 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20490 echo $ac_n "(cached) $ac_c" 1>&6
20492 cat > conftestmake
<<\EOF
20494 @
echo 'ac_maketemp="${MAKE}"'
20496 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20497 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20498 if test -n "$ac_maketemp"; then
20499 eval ac_cv_prog_make_
${ac_make}_set
=yes
20501 eval ac_cv_prog_make_
${ac_make}_set
=no
20505 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20506 echo "$ac_t""yes" 1>&6
20509 echo "$ac_t""no" 1>&6
20510 SET_MAKE
="MAKE=${MAKE-make}"
20514 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20515 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20520 if test "$wxUSE_GUI" = "yes"; then
20521 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20522 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20523 wx_cv_path_ifs
=$PATH_IFS
20524 wx_cv_program_ext
=$PROGRAM_EXT
20525 wx_cv_target_library
=$WX_TARGET_LIBRARY
20526 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20527 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20528 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20529 wx_cv_path_ifs wx_cv_program_ext \
20530 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20531 subdirs
="demos samples utils contrib"
20536 cat > confcache
<<\EOF
20537 # This file is a shell script that caches the results of configure
20538 # tests run on this system so they can be shared between configure
20539 # scripts and configure runs. It is not useful on other systems.
20540 # If it contains results you don't want to keep, you may remove or edit it.
20542 # By default, configure uses ./config.cache as the cache file,
20543 # creating it if it does not exist already. You can give configure
20544 # the --cache-file=FILE option to use a different cache file; that is
20545 # what configure does when it calls configure scripts in
20546 # subdirectories, so they share the cache.
20547 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20548 # config.status only pays attention to the cache file if you give it the
20549 # --recheck option to rerun configure.
20552 # The following way of writing the cache mishandles newlines in values,
20553 # but we know of no workaround that is simple, portable, and efficient.
20554 # So, don't put newlines in cache variables' values.
20555 # Ultrix sh set writes to stderr and can't be redirected directly,
20556 # and sets the high bit in the cache file unless we assign to the vars.
20558 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20560 # `set' does not quote correctly, so add quotes (double-quote substitution
20561 # turns \\\\ into \\, and sed turns \\ into \).
20563 -e "s/'/'\\\\''/g" \
20564 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20567 # `set' quotes correctly as required by POSIX, so do not add quotes.
20568 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20571 if cmp -s $cache_file confcache
; then
20574 if test -w $cache_file; then
20575 echo "updating cache $cache_file"
20576 cat confcache
> $cache_file
20578 echo "not updating unwritable cache $cache_file"
20583 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20585 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20586 # Let make expand exec_prefix.
20587 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20589 # Any assignment to VPATH causes Sun make to only execute
20590 # the first set of double-colon rules, so remove it if not needed.
20591 # If there is a colon in the path, we need to keep it.
20592 if test "x$srcdir" = x.
; then
20593 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20596 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20598 DEFS
=-DHAVE_CONFIG_H
20600 # Without the "./", some shells look in PATH for config.status.
20601 : ${CONFIG_STATUS=./config.status}
20603 echo creating
$CONFIG_STATUS
20604 rm -f $CONFIG_STATUS
20605 cat > $CONFIG_STATUS <<EOF
20607 # Generated automatically by configure.
20608 # Run this file to recreate the current configuration.
20609 # This directory was configured as follows,
20610 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20612 # $0 $ac_configure_args
20614 # Compiler output produced by configure, useful for debugging
20615 # configure, is in ./config.log if it exists.
20617 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20620 case "\$ac_option" in
20621 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20622 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20623 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20624 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20625 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20627 -help | --help | --hel | --he | --h)
20628 echo "\$ac_cs_usage"; exit 0 ;;
20629 *) echo "\$ac_cs_usage"; exit 1 ;;
20633 ac_given_srcdir=$srcdir
20634 ac_given_INSTALL="$INSTALL"
20636 trap 'rm -fr `echo "
20642 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20644 cat >> $CONFIG_STATUS <<EOF
20646 # Protect against being on the right side of a sed subst in config.status.
20647 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20648 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20652 s%@CFLAGS@%$CFLAGS%g
20653 s%@CPPFLAGS@%$CPPFLAGS%g
20654 s%@CXXFLAGS@%$CXXFLAGS%g
20655 s%@FFLAGS@%$FFLAGS%g
20657 s%@LDFLAGS@%$LDFLAGS%g
20659 s%@exec_prefix@%$exec_prefix%g
20660 s%@prefix@%$prefix%g
20661 s%@program_transform_name@%$program_transform_name%g
20662 s%@bindir@%$bindir%g
20663 s%@sbindir@%$sbindir%g
20664 s%@libexecdir@%$libexecdir%g
20665 s%@datadir@%$datadir%g
20666 s%@sysconfdir@%$sysconfdir%g
20667 s%@sharedstatedir@%$sharedstatedir%g
20668 s%@localstatedir@%$localstatedir%g
20669 s%@libdir@%$libdir%g
20670 s%@includedir@%$includedir%g
20671 s%@oldincludedir@%$oldincludedir%g
20672 s%@infodir@%$infodir%g
20673 s%@mandir@%$mandir%g
20675 s%@host_alias@%$host_alias%g
20676 s%@host_cpu@%$host_cpu%g
20677 s%@host_vendor@%$host_vendor%g
20678 s%@host_os@%$host_os%g
20679 s%@target@%$target%g
20680 s%@target_alias@%$target_alias%g
20681 s%@target_cpu@%$target_cpu%g
20682 s%@target_vendor@%$target_vendor%g
20683 s%@target_os@%$target_os%g
20685 s%@build_alias@%$build_alias%g
20686 s%@build_cpu@%$build_cpu%g
20687 s%@build_vendor@%$build_vendor%g
20688 s%@build_os@%$build_os%g
20692 s%@RANLIB@%$RANLIB%g
20694 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20695 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20696 s%@INSTALL_DATA@%$INSTALL_DATA%g
20698 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20701 s%@LEXLIB@%$LEXLIB%g
20703 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
20704 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20705 s%@GTK_LIBS@%$GTK_LIBS%g
20706 s%@GTK_CONFIG@%$GTK_CONFIG%g
20707 s%@X_CFLAGS@%$X_CFLAGS%g
20708 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20709 s%@X_LIBS@%$X_LIBS%g
20710 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20711 s%@RESCOMP@%$RESCOMP%g
20713 s%@CXXCPP@%$CXXCPP%g
20714 s%@LIBICONV@%$LIBICONV%g
20715 s%@LEX_STEM@%$LEX_STEM%g
20716 s%@PATH_IFS@%$PATH_IFS%g
20717 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20718 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20719 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20720 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20721 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20722 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20723 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20724 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20725 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20726 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20727 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20728 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20729 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20730 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20731 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20732 s%@WX_ALL@%$WX_ALL%g
20733 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20734 s%@SHARED_LD@%$SHARED_LD%g
20735 s%@PIC_FLAG@%$PIC_FLAG%g
20736 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20737 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20738 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20739 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20740 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20741 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20742 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20743 s%@USE_GUI@%$USE_GUI%g
20744 s%@AFMINSTALL@%$AFMINSTALL%g
20745 s%@TOOLKIT@%$TOOLKIT%g
20746 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20747 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20748 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20749 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20750 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20751 s%@cross_compiling@%$cross_compiling%g
20752 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20753 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20754 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20755 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20756 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20757 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20758 s%@ALL_HEADERS@%$ALL_HEADERS%g
20759 s%@ALL_SOURCES@%$ALL_SOURCES%g
20760 s%@GUIDIST@%$GUIDIST%g
20761 s%@PORT_FILES@%$PORT_FILES%g
20762 s%@DISTDIR@%$DISTDIR%g
20763 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20764 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20765 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20766 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20767 s%@EXTRADEFS@%$EXTRADEFS%g
20768 s%@RESFLAGS@%$RESFLAGS%g
20769 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20770 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
20771 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
20772 s%@LIBWXMACRES@%$LIBWXMACRES%g
20773 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20774 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20775 s%@DLLTOOL@%$DLLTOOL%g
20779 s%@MAKEINFO@%$MAKEINFO%g
20780 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20781 s%@SET_MAKE@%$SET_MAKE%g
20782 s%@subdirs@%$subdirs%g
20787 cat >> $CONFIG_STATUS <<\EOF
20789 # Split the substitutions into bite-sized pieces for seds with
20790 # small command number limits, like on Digital OSF/1 and HP-UX.
20791 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
20792 ac_file
=1 # Number of current file.
20793 ac_beg
=1 # First line for current file.
20794 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
20797 while $ac_more_lines; do
20798 if test $ac_beg -gt 1; then
20799 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
20801 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
20803 if test ! -s conftest.s
$ac_file; then
20804 ac_more_lines
=false
20805 rm -f conftest.s
$ac_file
20807 if test -z "$ac_sed_cmds"; then
20808 ac_sed_cmds
="sed -f conftest.s$ac_file"
20810 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
20812 ac_file
=`expr $ac_file + 1`
20814 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
20817 if test -z "$ac_sed_cmds"; then
20822 cat >> $CONFIG_STATUS <<EOF
20824 CONFIG_FILES=\${CONFIG_FILES-"wx-config
20831 cat >> $CONFIG_STATUS <<\EOF
20832 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
20833 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20835 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20836 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20837 *) ac_file_in
="${ac_file}.in" ;;
20840 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20842 # Remove last slash and all that follows it. Not all systems have dirname.
20843 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20844 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
20845 # The file is in a subdirectory.
20846 test ! -d "$ac_dir" && mkdir "$ac_dir"
20847 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
20848 # A "../" for each directory in $ac_dir_suffix.
20849 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20851 ac_dir_suffix
= ac_dots
=
20854 case "$ac_given_srcdir" in
20856 if test -z "$ac_dots"; then top_srcdir
=.
20857 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20858 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
20859 *) # Relative path.
20860 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20861 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20864 case "$ac_given_INSTALL" in
20865 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
20866 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
20869 echo creating
"$ac_file"
20871 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20873 *Makefile
*) ac_comsub
="1i\\
20874 # $configure_input" ;;
20878 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20880 s%@configure_input@%$configure_input%g
20881 s%@srcdir@%$srcdir%g
20882 s%@top_srcdir@%$top_srcdir%g
20883 s%@INSTALL@%$INSTALL%g
20884 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20888 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20889 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20891 # ac_d sets the value in "#define NAME VALUE" lines.
20892 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20893 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
20896 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20897 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20898 ac_uB
='\([ ]\)%\1#\2define\3'
20901 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20902 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20903 ac_eB
='$%\1#\2define\3'
20907 if test "${CONFIG_HEADERS+set}" != set; then
20909 cat >> $CONFIG_STATUS <<EOF
20910 CONFIG_HEADERS="setup.h:setup.h.in"
20912 cat >> $CONFIG_STATUS <<\EOF
20914 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
20915 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20917 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20918 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20919 *) ac_file_in
="${ac_file}.in" ;;
20922 echo creating
$ac_file
20924 rm -f conftest.frag conftest.
in conftest.out
20925 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20926 cat $ac_file_inputs > conftest.
in
20930 # Transform confdefs.h into a sed script conftest.vals that substitutes
20931 # the proper values into config.h.in to produce config.h. And first:
20932 # Protect against being on the right side of a sed subst in config.status.
20933 # Protect against being in an unquoted here document in config.status.
20934 rm -f conftest.vals
20935 cat > conftest.hdr
<<\EOF
20938 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20942 sed -n -f conftest.hdr confdefs.h > conftest.vals
20945 # This sed command replaces #undef with comments. This is necessary, for
20946 # example, in the case of _POSIX_SOURCE, which is predefined and required
20947 # on some systems where configure will not decide to define it.
20948 cat >> conftest.vals <<\EOF
20949 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20952 # Break up conftest.vals because some shells have a limit on
20953 # the size of here documents, and old seds have small limits too.
20955 rm -f conftest.tail
20958 ac_lines=`grep -c . conftest.vals
`
20959 # grep -c gives empty output for an empty file on some AIX systems.
20960 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20961 # Write a limited-size here document to conftest.frag.
20962 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20963 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20965 sed -f conftest.frag conftest.in > conftest.out
20967 mv conftest.out conftest.in
20968 ' >> $CONFIG_STATUS
20969 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20970 rm -f conftest.vals
20971 mv conftest.tail conftest.vals
20973 rm -f conftest.vals
20975 cat >> $CONFIG_STATUS <<\EOF
20976 rm -f conftest.frag conftest.h
20977 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20978 cat conftest.in >> conftest.h
20980 if cmp -s $ac_file conftest.h 2>/dev/null; then
20981 echo "$ac_file is unchanged"
20984 # Remove last slash and all that follows it. Not all systems have dirname.
20985 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20986 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20987 # The file is in a subdirectory.
20988 test ! -d "$ac_dir" && mkdir "$ac_dir"
20991 mv conftest.h $ac_file
20996 cat >> $CONFIG_STATUS <<EOF
20998 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21003 cat >> $CONFIG_STATUS <<\EOF
21005 if test ! -h wx-config; then
21007 mv wx-config wx${TOOLCHAIN_NAME}-config
21008 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21011 if test ! -d lib; then
21014 if test ! -d lib/wx; then
21017 if test ! -d lib/wx/include; then
21018 mkdir lib/wx/include
21020 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21021 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21023 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21024 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21026 if test -f setup.h; then
21027 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21032 chmod +x $CONFIG_STATUS
21033 rm -fr confdefs* $ac_clean_files
21034 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21036 if test "$no_recursion" != yes; then
21038 # Remove --cache-file and --srcdir arguments so they do not pile up.
21039 ac_sub_configure_args=
21041 for ac_arg in $ac_configure_args; do
21042 if test -n "$ac_prev"; then
21047 -cache-file | --cache-file | --cache-fil | --cache-fi \
21048 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21049 ac_prev=cache_file ;;
21050 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21051 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21053 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21055 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21057 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21061 for ac_config_dir in demos samples utils contrib; do
21063 # Do not complain, so a configure script can configure whichever
21064 # parts of a large source tree are present.
21065 if test ! -d $srcdir/$ac_config_dir; then
21069 echo configuring in $ac_config_dir
21074 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21076 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21084 # A "../" for each directory in /$ac_config_dir.
21085 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21088 .) # No --srcdir option. We are building in place.
21089 ac_sub_srcdir=$srcdir ;;
21090 /*) # Absolute path.
21091 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21092 *) # Relative path.
21093 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21096 # Check for guested configure; otherwise get Cygnus style configure.
21097 if test -f $ac_sub_srcdir/configure; then
21098 ac_sub_configure=$ac_sub_srcdir/configure
21099 elif test -f $ac_sub_srcdir/configure.in; then
21100 ac_sub_configure=$ac_configure
21102 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21106 # The recursion is here.
21107 if test -n "$ac_sub_configure"; then
21109 # Make the cache file name correct relative to the subdirectory.
21110 case "$cache_file" in
21111 /*) ac_sub_cache_file=$cache_file ;;
21112 *) # Relative path.
21113 ac_sub_cache_file="$ac_dots$cache_file" ;;
21115 case "$ac_given_INSTALL" in
21116 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21117 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21120 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21121 # The eval makes quoting arguments work.
21122 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21125 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }