3 # From configure.in Id: configure.in
44 # Guess values for system-dependent variables and create Makefiles.
45 # Generated automatically using autoconf version 2.13
46 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
48 # This configure script is free software; the Free Software Foundation
49 # gives unlimited permission to copy, distribute and modify it.
53 ac_default_prefix
=/usr
/local
54 # Any additions from configure.in:
56 --enable-gui use GUI classes"
58 --enable-universal use wxWindows GUI controls instead of native ones"
62 --with-motif use Motif/Lesstif"
64 --with-mac use Mac OS X"
68 --with-msw use MS-Windows"
70 --with-pm use OS/2 Presentation Manager"
72 --with-mgl use SciTech MGL"
74 --with-microwin use MicroWindows"
76 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
78 --with-libpng use libpng (PNG image format)"
80 --with-libjpeg use libjpeg (JPEG file format)"
82 --with-libtiff use libtiff (TIFF file format)"
84 --with-freetype use freetype (font rasterizer)"
86 --with-opengl use OpenGL (or Mesa)"
88 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
90 --with-regex enable support for wxRegEx class"
92 --with-zlib use zlib for LZW compression"
94 --with-odbc use the IODBC and wxODBC classes"
96 --enable-shared create shared library code"
98 --enable-soname set the DT_SONAME field in ELF shared libraries"
100 --enable-optimise create optimised code"
102 --enable-debug same as debug_flag and debug_info"
104 --enable-precomp enable use of precompiled headers (Mac OS X)"
106 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
108 --enable-debug_info create code with debugging information"
110 --enable-debug_gdb create code with extra GDB debugging information"
112 --enable-debug_cntxt use wxDebugContext"
114 --enable-mem_tracing create code with memory tracing"
116 --enable-profile create code with profiling information"
118 --enable-no_rtti create code without RTTI information"
120 --enable-no_exceptions create code without C++ exceptions handling"
122 --enable-permissive compile code disregarding strict ANSI"
124 --enable-no_deps create code without dependency information"
126 --enable-compat20 enable wxWindows 2.0 compatibility"
128 --enable-compat22 enable wxWindows 2.2 compatibility"
130 --enable-intl use internationalization system"
132 --enable-config use wxConfig (and derived) classes"
134 --enable-protocols use wxProtocol and derived classes"
136 --enable-ftp use wxFTP (requires wxProtocol"
138 --enable-http use wxHTTP (requires wxProtocol"
140 --enable-fileproto use wxFileProto class (requires wxProtocol"
142 --enable-sockets use socket/network classes"
144 --enable-ipc use interprocess communication (wxSocket etc.)"
146 --enable-cmdline use wxCmdLineParser class"
148 --enable-datetime use wxDateTime class"
150 --enable-timedate use obsolete wxDate/wxTime classes"
152 --enable-stopwatch use wxStopWatch class"
154 --enable-dialupman use dialup network classes"
156 --enable-apple_ieee use the Apple IEEE codec"
158 --enable-timer use wxTimer class"
160 --enable-wave use wxWave class"
162 --enable-fraction use wxFraction class"
164 --enable-dynlib use wxLibrary class for DLL loading"
166 --enable-dynamicloader use (new) wxDynamicLibrary class"
168 --enable-longlong use wxLongLong class"
170 --enable-geometry use geometry class"
172 --enable-log use logging system"
174 --enable-streams use wxStream etc classes"
176 --enable-file use wxFile classes"
178 --enable-ffile use wxFFile classes"
180 --enable-textbuf use wxTextBuffer class"
182 --enable-textfile use wxTextFile class"
184 --enable-fontmap use font encodings conversion classes"
186 --enable-unicode compile wxString with Unicode support"
188 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
190 --enable-wxprintfv use wxWindows implementation of vprintf()"
192 --enable-std_iostreams use standard C++ stream classes"
194 --enable-filesystem use virtual file systems classes"
196 --enable-fs_inet use virtual HTTP/FTP filesystems"
198 --enable-fs_zip use virtual ZIP filesystems"
200 --enable-zipstream use wxZipInputStream"
202 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
204 --enable-snglinst use wxSingleInstanceChecker class"
206 --enable-mimetype use wxMimeTypesManager"
208 --enable-sysoptions use wxSystemOptions"
210 --enable-url use wxURL class"
212 --enable-protocol use wxProtocol class"
214 --enable-protocol-http HTTP support in wxProtocol"
216 --enable-protocol-ftp FTP support in wxProtocol"
218 --enable-protocol-file FILE support in wxProtocol"
220 --enable-threads use threads"
222 --enable-docview use document view architecture"
224 --enable-help use help subsystem"
226 --enable-mshtmlhelp use MS HTML Help (win32)"
228 --enable-html use wxHTML sub-library"
230 --enable-htmlhelp use wxHTML-based help"
232 --enable-constraints use layout-constraints system"
234 --enable-printarch use printing architecture"
236 --enable-mdi use multiple document interface architecture"
238 --enable-loggui use standard GUI logger"
240 --enable-logwin use wxLogWindow"
242 --enable-logdialog use wxLogDialog"
244 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
246 --enable-prologio use Prolog IO library"
248 --enable-resources use wxWindows resources"
250 --enable-xresources use X resources for save (default for gtk+)"
252 --enable-clipboard use wxClipboard classes"
254 --enable-dnd use Drag'n'Drop classes"
256 --enable-metafile use win32 metafiles"
258 --enable-treelayout use wxTreeLayout classes"
260 --enable-controls use all usual controls"
262 --enable-accel use accelerators"
264 --enable-button use wxButton class"
266 --enable-bmpbutton use wxBitmapButton class"
268 --enable-calendar use wxCalendarCtrl class"
270 --enable-caret use wxCaret class"
272 --enable-checkbox use wxCheckBox class"
274 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
276 --enable-choice use wxChoice class"
278 --enable-combobox use wxComboBox classes"
280 --enable-gauge use wxGauge class"
282 --enable-grid use wxGrid class"
284 --enable-newgrid use new wxGrid class"
286 --enable-imaglist use wxImageList class"
288 --enable-listbox use wxListBox class"
290 --enable-listctrl use wxListCtrl class"
292 --enable-notebook use wxNotebook class"
294 --enable-propsheet use wxPropertySheet class"
296 --enable-radiobox use wxRadioBox class"
298 --enable-radiobtn use wxRadioButton class"
300 --enable-sash use wxSashWindow class"
302 --enable-scrollbar use wxScrollBar class and scrollable windows"
304 --enable-slider use wxSlider class"
306 --enable-spinbtn use wxSpinButton class"
308 --enable-spinctrl use wxSpinCtrl class"
310 --enable-splitter use wxSplitterWindow class"
312 --enable-statbmp use wxStaticBitmap class"
314 --enable-statbox use wxStaticBox class"
316 --enable-statline use wxStaticLine class"
318 --enable-stattext use wxStaticText class"
320 --enable-statusbar use wxStatusBar class"
322 --enable-tabdialog use wxTabControl class"
324 --enable-textctrl use wxTextCtrl class"
326 --enable-togglebtn use wxToggleButton class"
328 --enable-toolbar use wxToolBar class"
330 --enable-tbarnative use native wxToolBar class"
332 --enable-tbarsmpl use wxToolBarSimple class"
334 --enable-treectrl use wxTreeCtrl class"
336 --enable-tipwindow use wxTipWindow class"
338 --enable-popupwin use wxPopUpWindow class"
340 --enable-commondlg use all common dialogs"
342 --enable-choicedlg use wxChoiceDialog"
344 --enable-coldlg use wxColourDialog"
346 --enable-filedlg use wxFileDialog"
348 --enable-finddlg use wxFindReplaceDialog"
350 --enable-fontdlg use wxFontDialog"
352 --enable-dirdlg use wxDirDialog"
354 --enable-msgdlg use wxMessageDialog"
356 --enable-numberdlg use wxNumberEntryDialog"
358 --enable-splash use wxSplashScreen"
360 --enable-textdlg use wxTextDialog"
362 --enable-tipdlg use startup tips"
364 --enable-progressdlg use wxProgressDialog"
366 --enable-wizarddlg use wxWizard"
368 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
370 --enable-miniframe use wxMiniFrame class"
372 --enable-tooltips use wxToolTip class"
374 --enable-splines use spline drawing code"
376 --enable-validators use wxValidator and derived classes"
378 --enable-busyinfo use wxBusyInfo"
380 --enable-joystick use wxJoystick (Linux only)"
382 --enable-metafiles use wxMetaFile (Windows only)"
384 --enable-dragimage use wxDragImage"
386 --enable-palette use wxPalette class"
388 --enable-image use wxImage class"
390 --enable-gif use gif images (GIF file format)"
392 --enable-pcx use pcx images (PCX file format)"
394 --enable-iff use iff images (IFF file format)"
396 --enable-pnm use pnm images (PNM file format)"
398 --enable-xpm use xpm images (XPM file format)"
400 --enable-icocur use Windows ICO and CUR formats"
402 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
404 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
406 --disable-gtktest Do not try to compile and run a test GTK program"
408 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
410 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
412 --disable-gtktest Do not try to compile and run a test GTK program"
414 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
416 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
418 --disable-gtktest Do not try to compile and run a test GTK program"
420 --with-x use the X Window System"
422 # Initialize some variables set by options.
423 # The variables have the same names as the options, with
424 # dashes changed to underlines.
426 cache_file
=.
/config.cache
435 program_transform_name
=s
,x
,x
,
443 bindir
='${exec_prefix}/bin'
444 sbindir
='${exec_prefix}/sbin'
445 libexecdir
='${exec_prefix}/libexec'
446 datadir
='${prefix}/share'
447 sysconfdir
='${prefix}/etc'
448 sharedstatedir
='${prefix}/com'
449 localstatedir
='${prefix}/var'
450 libdir
='${exec_prefix}/lib'
451 includedir
='${prefix}/include'
452 oldincludedir
='/usr/include'
453 infodir
='${prefix}/info'
454 mandir
='${prefix}/man'
456 # Initialize some other variables.
459 SHELL
=${CONFIG_SHELL-/bin/sh}
460 # Maximum number of lines to put in a shell here document.
467 # If the previous option needs an argument, assign it.
468 if test -n "$ac_prev"; then
469 eval "$ac_prev=\$ac_option"
475 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
479 # Accept the important Cygnus configure options, so we can diagnose typos.
483 -bindir | --bindir | --bindi | --bind | --bin | --bi)
485 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
486 bindir
="$ac_optarg" ;;
488 -build | --build | --buil | --bui | --bu)
490 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
491 build
="$ac_optarg" ;;
493 -cache-file | --cache-file | --cache-fil | --cache-fi \
494 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
495 ac_prev
=cache_file
;;
496 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
497 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
498 cache_file
="$ac_optarg" ;;
500 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
502 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
504 datadir
="$ac_optarg" ;;
506 -disable-* | --disable-*)
507 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
508 # Reject names that are not valid shell variable names.
509 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
510 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
512 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
513 eval "enable_${ac_feature}=no" ;;
515 -enable-* | --enable-*)
516 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
517 # Reject names that are not valid shell variable names.
518 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
519 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
521 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
526 eval "enable_${ac_feature}='$ac_optarg'" ;;
528 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
529 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
530 | --exec | --exe | --ex)
531 ac_prev
=exec_prefix
;;
532 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
533 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
534 | --exec=* | --exe=* | --ex=*)
535 exec_prefix
="$ac_optarg" ;;
537 -gas | --gas | --ga | --g)
538 # Obsolete; use --with-gas.
541 -help | --help | --hel | --he)
542 # Omit some internal or obsolete options to make the list less imposing.
543 # This message is too long to be a string in the A/UX 3.1 sh.
545 Usage: configure [options] [host]
546 Options: [defaults in brackets after descriptions]
548 --cache-file=FILE cache test results in FILE
549 --help print this message
550 --no-create do not create output files
551 --quiet, --silent do not print \`checking...' messages
552 --version print the version of autoconf that created configure
553 Directory and file names:
554 --prefix=PREFIX install architecture-independent files in PREFIX
556 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
558 --bindir=DIR user executables in DIR [EPREFIX/bin]
559 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
560 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
561 --datadir=DIR read-only architecture-independent data in DIR
563 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
564 --sharedstatedir=DIR modifiable architecture-independent data in DIR
566 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
567 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
568 --includedir=DIR C header files in DIR [PREFIX/include]
569 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
570 --infodir=DIR info documentation in DIR [PREFIX/info]
571 --mandir=DIR man documentation in DIR [PREFIX/man]
572 --srcdir=DIR find the sources in DIR [configure dir or ..]
573 --program-prefix=PREFIX prepend PREFIX to installed program names
574 --program-suffix=SUFFIX append SUFFIX to installed program names
575 --program-transform-name=PROGRAM
576 run sed PROGRAM on installed program names
580 --build=BUILD configure for building on BUILD [BUILD=HOST]
581 --host=HOST configure for HOST [guessed]
582 --target=TARGET configure for TARGET [TARGET=HOST]
583 Features and packages:
584 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
585 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
586 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
587 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
588 --x-includes=DIR X include files are in DIR
589 --x-libraries=DIR X library files are in DIR
591 if test -n "$ac_help"; then
592 echo "--enable and --with options recognized:$ac_help"
596 -host | --host | --hos | --ho)
598 -host=* | --host=* | --hos=* | --ho=*)
601 -includedir | --includedir | --includedi | --included | --include \
602 | --includ | --inclu | --incl | --inc)
603 ac_prev
=includedir
;;
604 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
605 | --includ=* | --inclu=* | --incl=* | --inc=*)
606 includedir
="$ac_optarg" ;;
608 -infodir | --infodir | --infodi | --infod | --info | --inf)
610 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
611 infodir
="$ac_optarg" ;;
613 -libdir | --libdir | --libdi | --libd)
615 -libdir=* | --libdir=* | --libdi=* | --libd=*)
616 libdir
="$ac_optarg" ;;
618 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
619 | --libexe | --libex | --libe)
620 ac_prev
=libexecdir
;;
621 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
622 | --libexe=* | --libex=* | --libe=*)
623 libexecdir
="$ac_optarg" ;;
625 -localstatedir | --localstatedir | --localstatedi | --localstated \
626 | --localstate | --localstat | --localsta | --localst \
627 | --locals | --local | --loca | --loc | --lo)
628 ac_prev
=localstatedir
;;
629 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
630 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
631 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
632 localstatedir
="$ac_optarg" ;;
634 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
636 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
637 mandir
="$ac_optarg" ;;
640 # Obsolete; use --without-fp.
643 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
647 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
648 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
651 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
652 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
653 | --oldin | --oldi | --old | --ol | --o)
654 ac_prev
=oldincludedir
;;
655 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
656 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
657 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
658 oldincludedir
="$ac_optarg" ;;
660 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
662 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
663 prefix
="$ac_optarg" ;;
665 -program-prefix | --program-prefix | --program-prefi | --program-pref \
666 | --program-pre | --program-pr | --program-p)
667 ac_prev
=program_prefix
;;
668 -program-prefix=* | --program-prefix=* | --program-prefi=* \
669 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
670 program_prefix
="$ac_optarg" ;;
672 -program-suffix | --program-suffix | --program-suffi | --program-suff \
673 | --program-suf | --program-su | --program-s)
674 ac_prev
=program_suffix
;;
675 -program-suffix=* | --program-suffix=* | --program-suffi=* \
676 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
677 program_suffix
="$ac_optarg" ;;
679 -program-transform-name | --program-transform-name \
680 | --program-transform-nam | --program-transform-na \
681 | --program-transform-n | --program-transform- \
682 | --program-transform | --program-transfor \
683 | --program-transfo | --program-transf \
684 | --program-trans | --program-tran \
685 | --progr-tra | --program-tr | --program-t)
686 ac_prev
=program_transform_name
;;
687 -program-transform-name=* | --program-transform-name=* \
688 | --program-transform-nam=* | --program-transform-na=* \
689 | --program-transform-n=* | --program-transform-=* \
690 | --program-transform=* | --program-transfor=* \
691 | --program-transfo=* | --program-transf=* \
692 | --program-trans=* | --program-tran=* \
693 | --progr-tra=* | --program-tr=* | --program-t=*)
694 program_transform_name
="$ac_optarg" ;;
696 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
697 | -silent | --silent | --silen | --sile | --sil)
700 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
702 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
704 sbindir
="$ac_optarg" ;;
706 -sharedstatedir | --sharedstatedir | --sharedstatedi \
707 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
708 | --sharedst | --shareds | --shared | --share | --shar \
710 ac_prev
=sharedstatedir
;;
711 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
712 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
713 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
715 sharedstatedir
="$ac_optarg" ;;
717 -site | --site | --sit)
719 -site=* | --site=* | --sit=*)
722 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
724 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
725 srcdir
="$ac_optarg" ;;
727 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
728 | --syscon | --sysco | --sysc | --sys | --sy)
729 ac_prev
=sysconfdir
;;
730 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
731 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
732 sysconfdir
="$ac_optarg" ;;
734 -target | --target | --targe | --targ | --tar | --ta | --t)
736 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
737 target
="$ac_optarg" ;;
739 -v | -verbose | --verbose | --verbos | --verbo | --verb)
742 -version | --version | --versio | --versi | --vers)
743 echo "configure generated by autoconf version 2.13"
747 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
748 # Reject names that are not valid shell variable names.
749 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
750 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
752 ac_package
=`echo $ac_package| sed 's/-/_/g'`
757 eval "with_${ac_package}='$ac_optarg'" ;;
759 -without-* | --without-*)
760 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
761 # Reject names that are not valid shell variable names.
762 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
763 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
765 ac_package
=`echo $ac_package| sed 's/-/_/g'`
766 eval "with_${ac_package}=no" ;;
769 # Obsolete; use --with-x.
772 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
773 | --x-incl | --x-inc | --x-in | --x-i)
774 ac_prev
=x_includes
;;
775 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
776 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
777 x_includes
="$ac_optarg" ;;
779 -x-libraries | --x-libraries | --x-librarie | --x-librari \
780 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
781 ac_prev
=x_libraries
;;
782 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
783 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
784 x_libraries
="$ac_optarg" ;;
786 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
790 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
791 echo "configure: warning: $ac_option: invalid host type" 1>&2
793 if test "x$nonopt" != xNONE
; then
794 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
802 if test -n "$ac_prev"; then
803 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
806 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
808 # File descriptor usage:
811 # 2 errors and warnings
812 # 3 some systems may open it to /dev/tty
813 # 4 used on the Kubota Titan
814 # 6 checking for... messages and results
815 # 5 compiler messages saved in config.log
816 if test "$silent" = yes; then
824 This file contains any messages produced by compilers while
825 running configure, to aid debugging if configure makes a mistake.
828 # Strip out --no-create and --no-recursion so they do not pile up.
829 # Also quote any args containing shell metacharacters.
834 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
835 | --no-cr | --no-c) ;;
836 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
837 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
838 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
839 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
840 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
845 # Only set these to C if already set. These must not be set unconditionally
846 # because not all systems understand e.g. LANG=C (notably SCO).
847 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
848 # Non-C LC_CTYPE values break the ctype check.
849 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
850 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
851 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
852 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
854 # confdefs.h avoids OS command line length limits that DEFS can exceed.
855 rm -rf conftest
* confdefs.h
856 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
859 # A filename unique to this package, relative to the directory that
860 # configure is in, which we can look for to find out if srcdir is correct.
861 ac_unique_file
=wx
-config.
in
863 # Find the source files, if location was not specified.
864 if test -z "$srcdir"; then
865 ac_srcdir_defaulted
=yes
866 # Try the directory containing this script, then its parent.
868 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
869 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted
=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
881 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
884 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
886 # Prefer explicitly selected file to automatically selected ones.
887 if test -z "$CONFIG_SITE"; then
888 if test "x$prefix" != xNONE
; then
889 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
891 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
894 for ac_site_file
in $CONFIG_SITE; do
895 if test -r "$ac_site_file"; then
896 echo "loading site script $ac_site_file"
901 if test -r "$cache_file"; then
902 echo "loading cache $cache_file"
905 echo "creating cache $cache_file"
910 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
911 ac_cpp
='$CPP $CPPFLAGS'
912 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
913 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
914 cross_compiling
=$ac_cv_prog_cc_cross
918 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
919 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
920 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
927 ac_n
= ac_c
='\c' ac_t
=
933 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
934 if test -f $ac_dir/install-sh; then
936 ac_install_sh
="$ac_aux_dir/install-sh -c"
938 elif test -f $ac_dir/install.sh
; then
940 ac_install_sh
="$ac_aux_dir/install.sh -c"
944 if test -z "$ac_aux_dir"; then
945 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
947 ac_config_guess
=$ac_aux_dir/config.guess
948 ac_config_sub
=$ac_aux_dir/config.sub
949 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
952 # Do some error checking and defaulting for the host and target type.
954 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
957 # 1. You are not allowed to specify --host, --target, and nonopt at the
959 # 2. Host defaults to nonopt.
960 # 3. If nonopt is not specified, then host defaults to the current host,
961 # as determined by config.guess.
962 # 4. Target and build default to nonopt.
963 # 5. If nonopt is not specified, then target and build default to host.
965 # The aliases save the names the user supplied, while $host etc.
966 # will get canonicalized.
967 case $host---$target---$nonopt in
968 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
969 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
973 # Make sure we can run config.sub.
974 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
975 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
978 echo $ac_n "checking host system type""... $ac_c" 1>&6
979 echo "configure:980: checking host system type" >&5
982 case "$host_alias" in
986 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
987 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
989 *) host_alias
=$nonopt ;;
993 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
994 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
995 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
996 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
997 echo "$ac_t""$host" 1>&6
999 echo $ac_n "checking target system type""... $ac_c" 1>&6
1000 echo "configure:1001: checking target system type" >&5
1002 target_alias
=$target
1003 case "$target_alias" in
1006 NONE
) target_alias
=$host_alias ;;
1007 *) target_alias
=$nonopt ;;
1011 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1012 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1013 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1014 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1015 echo "$ac_t""$target" 1>&6
1017 echo $ac_n "checking build system type""... $ac_c" 1>&6
1018 echo "configure:1019: checking build system type" >&5
1021 case "$build_alias" in
1024 NONE
) build_alias
=$host_alias ;;
1025 *) build_alias
=$nonopt ;;
1029 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1030 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1031 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1032 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1033 echo "$ac_t""$build" 1>&6
1035 test "$host_alias" != "$target_alias" &&
1036 test "$program_prefix$program_suffix$program_transform_name" = \
1038 program_prefix
=${target_alias}-
1042 WX_MAJOR_VERSION_NUMBER
=2
1043 WX_MINOR_VERSION_NUMBER
=3
1046 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1047 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1049 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1083 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1085 CPP_MT_FLAG
=-D_REENTRANT
1087 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE"
1092 DEFAULT_wxUSE_MICROWIN
=0
1093 DEFAULT_wxUSE_MOTIF
=0
1096 DEFAULT_wxUSE_WINE
=0
1098 DEFAULT_DEFAULT_wxUSE_GTK
=0
1099 DEFAULT_DEFAULT_wxUSE_MAC
=0
1100 DEFAULT_DEFAULT_wxUSE_MGL
=0
1101 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1102 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1103 DEFAULT_DEFAULT_wxUSE_MSW
=0
1104 DEFAULT_DEFAULT_wxUSE_PM
=0
1105 DEFAULT_DEFAULT_wxUSE_WINE
=0
1113 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1114 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1116 cat >> confdefs.h
<<\EOF
1123 cat >> confdefs.h
<<\EOF
1128 if test "x$TMP" = "xalpha"; then
1130 cat >> confdefs.h
<<\EOF
1135 DEFAULT_DEFAULT_wxUSE_GTK
=1
1137 *-*-irix5* | *-*-irix6* )
1140 cat >> confdefs.h
<<\EOF
1144 cat >> confdefs.h
<<\EOF
1148 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1154 cat >> confdefs.h
<<\EOF
1158 cat >> confdefs.h
<<\EOF
1159 #define __SOLARIS__ 1
1162 cat >> confdefs.h
<<\EOF
1166 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1167 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1173 cat >> confdefs.h
<<\EOF
1177 cat >> confdefs.h
<<\EOF
1181 cat >> confdefs.h
<<\EOF
1185 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1190 CPP_MT_FLAG
=-D_THREAD_SAFE
1191 cat >> confdefs.h
<<\EOF
1192 #define __FREEBSD__ 1
1195 cat >> confdefs.h
<<\EOF
1199 DEFAULT_DEFAULT_wxUSE_GTK
=1
1204 cat >> confdefs.h
<<\EOF
1205 #define __FREEBSD__ 1
1208 cat >> confdefs.h
<<\EOF
1209 #define __OPENBSD__ 1
1212 DEFAULT_DEFAULT_wxUSE_GTK
=1
1217 cat >> confdefs.h
<<\EOF
1218 #define __FREEBSD__ 1
1221 cat >> confdefs.h
<<\EOF
1222 #define __NETBSD__ 1
1225 DEFAULT_DEFAULT_wxUSE_GTK
=1
1230 cat >> confdefs.h
<<\EOF
1234 cat >> confdefs.h
<<\EOF
1238 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1239 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1244 cat >> confdefs.h
<<\EOF
1248 cat >> confdefs.h
<<\EOF
1252 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1257 cat >> confdefs.h
<<\EOF
1261 cat >> confdefs.h
<<\EOF
1265 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1271 cat >> confdefs.h
<<\EOF
1275 cat >> confdefs.h
<<\EOF
1279 cat >> confdefs.h
<<\EOF
1283 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1286 *-*-cygwin* | *-*-mingw32* )
1290 cat >> confdefs.h
<<\EOF
1294 cat >> confdefs.h
<<\EOF
1298 cat >> confdefs.h
<<\EOF
1299 #define __WINDOWS__ 1
1302 cat >> confdefs.h
<<\EOF
1303 #define __GNUWIN32__ 1
1306 cat >> confdefs.h
<<\EOF
1310 cat >> confdefs.h
<<\EOF
1311 #define WINVER 0x0400
1316 DEFAULT_DEFAULT_wxUSE_MSW
=1
1322 cat >> confdefs.h
<<\EOF
1327 DEFAULT_DEFAULT_wxUSE_MGL
=1
1328 DEFAULT_DEFAULT_wxUSE_SHARED
=0
1331 *-pc-os2_emx | *-pc-os2-emx )
1332 cat >> confdefs.h
<<\EOF
1337 DEFAULT_DEFAULT_wxUSE_PM
=1
1345 cat >> confdefs.h
<<\EOF
1349 cat >> confdefs.h
<<\EOF
1350 #define __DARWIN__ 1
1353 cat >> confdefs.h
<<\EOF
1354 #define __POWERPC__ 1
1357 DEFAULT_DEFAULT_wxUSE_MAC
=1
1362 cat >> confdefs.h
<<\EOF
1369 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1372 if test "$USE_UNIX" = 1 ; then
1374 cat >> confdefs.h
<<\EOF
1380 if test "$USE_LINUX" = 1; then
1381 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1382 echo "configure:1383: checking for glibc 2.1 or later" >&5
1383 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1384 echo $ac_n "(cached) $ac_c" 1>&6
1387 cat > conftest.
$ac_ext <<EOF
1388 #line 1389 "configure"
1389 #include "confdefs.h"
1390 #include <features.h>
1393 #if !__GLIBC_PREREQ(2, 1)
1399 if { (eval echo configure
:1400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1405 echo "configure: failed program was:" >&5
1406 cat conftest.
$ac_ext >&5
1417 echo "$ac_t""$wx_lib_glibc21" 1>&6
1418 if test "$wx_lib_glibc21" = "yes"; then
1419 cat >> confdefs.h
<<\EOF
1420 #define wxHAVE_GLIBC2 1
1429 wx_arg_cache_file
="configarg.cache"
1430 echo "loading argument cache $wx_arg_cache_file"
1431 rm -f ${wx_arg_cache_file}.tmp
1432 touch ${wx_arg_cache_file}.tmp
1433 touch ${wx_arg_cache_file}
1437 if test $DEBUG_CONFIGURE = 1; then
1438 DEFAULT_wxUSE_UNIVERSAL
=no
1440 DEFAULT_wxUSE_THREADS
=yes
1442 DEFAULT_wxUSE_SHARED
=yes
1443 DEFAULT_wxUSE_SONAME
=no
1444 DEFAULT_wxUSE_OPTIMISE
=no
1445 DEFAULT_wxUSE_PROFILE
=no
1446 DEFAULT_wxUSE_NO_DEPS
=no
1447 DEFAULT_wxUSE_NO_RTTI
=yes
1448 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1449 DEFAULT_wxUSE_PERMISSIVE
=no
1450 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1451 DEFAULT_wxUSE_DEBUG_INFO
=yes
1452 DEFAULT_wxUSE_DEBUG_GDB
=yes
1453 DEFAULT_wxUSE_MEM_TRACING
=no
1454 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1455 DEFAULT_wxUSE_DMALLOC
=no
1456 DEFAULT_wxUSE_PRECOMP
=no
1457 DEFAULT_wxUSE_APPLE_IEEE
=no
1459 DEFAULT_wxUSE_LOG
=yes
1460 DEFAULT_wxUSE_LOGWINDOW
=no
1461 DEFAULT_wxUSE_LOGGUI
=no
1462 DEFAULT_wxUSE_LOGDIALOG
=no
1464 DEFAULT_wxUSE_GUI
=yes
1465 DEFAULT_wxUSE_CONTROLS
=no
1467 DEFAULT_wxUSE_REGEX
=no
1468 DEFAULT_wxUSE_ZLIB
=no
1469 DEFAULT_wxUSE_LIBPNG
=no
1470 DEFAULT_wxUSE_LIBJPEG
=no
1471 DEFAULT_wxUSE_LIBTIFF
=no
1472 DEFAULT_wxUSE_ODBC
=no
1473 DEFAULT_wxUSE_FREETYPE
=no
1474 DEFAULT_wxUSE_OPENGL
=no
1476 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1477 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1478 DEFAULT_wxUSE_STD_IOSTREAM
=no
1479 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1480 DEFAULT_wxUSE_DATETIME
=no
1481 DEFAULT_wxUSE_TIMEDATE
=no
1482 DEFAULT_wxUSE_TIMER
=no
1483 DEFAULT_wxUSE_STOPWATCH
=no
1484 DEFAULT_wxUSE_FILE
=no
1485 DEFAULT_wxUSE_FFILE
=no
1486 DEFAULT_wxUSE_TEXTBUFFER
=no
1487 DEFAULT_wxUSE_TEXTFILE
=no
1488 DEFAULT_wxUSE_WAVE
=no
1489 DEFAULT_wxUSE_INTL
=no
1490 DEFAULT_wxUSE_CONFIG
=no
1491 DEFAULT_wxUSE_FONTMAP
=no
1492 DEFAULT_wxUSE_STREAMS
=no
1493 DEFAULT_wxUSE_SOCKETS
=no
1494 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1495 DEFAULT_wxUSE_JOYSTICK
=no
1496 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1497 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1498 DEFAULT_wxUSE_LONGLONG
=no
1499 DEFAULT_wxUSE_GEOMETRY
=no
1501 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1502 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1503 DEFAULT_wxUSE_POSTSCRIPT
=no
1505 DEFAULT_wxUSE_X_RESOURCES
=no
1506 DEFAULT_wxUSE_CLIPBOARD
=no
1507 DEFAULT_wxUSE_TOOLTIPS
=no
1508 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1509 DEFAULT_wxUSE_DRAGIMAGE
=no
1510 DEFAULT_wxUSE_SPLINES
=no
1512 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1513 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1514 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1516 DEFAULT_wxUSE_PROLOGIO
=no
1517 DEFAULT_wxUSE_RESOURCES
=no
1518 DEFAULT_wxUSE_CONSTRAINTS
=no
1519 DEFAULT_wxUSE_IPC
=no
1520 DEFAULT_wxUSE_HELP
=no
1521 DEFAULT_wxUSE_MS_HTML_HELP
=no
1522 DEFAULT_wxUSE_WXHTML_HELP
=no
1523 DEFAULT_wxUSE_TREELAYOUT
=no
1524 DEFAULT_wxUSE_METAFILE
=no
1525 DEFAULT_wxUSE_MIMETYPE
=no
1526 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1527 DEFAULT_wxUSE_PROTOCOL
=no
1528 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1529 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1530 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1531 DEFAULT_wxUSE_URL
=no
1533 DEFAULT_wxUSE_COMMONDLGS
=no
1534 DEFAULT_wxUSE_CHOICEDLG
=no
1535 DEFAULT_wxUSE_COLOURDLG
=no
1536 DEFAULT_wxUSE_DIRDLG
=no
1537 DEFAULT_wxUSE_FILEDLG
=no
1538 DEFAULT_wxUSE_FINDREPLDLG
=no
1539 DEFAULT_wxUSE_FONTDLG
=no
1540 DEFAULT_wxUSE_MSGDLG
=no
1541 DEFAULT_wxUSE_NUMBERDLG
=no
1542 DEFAULT_wxUSE_TEXTDLG
=no
1543 DEFAULT_wxUSE_SPLASH
=no
1544 DEFAULT_wxUSE_STARTUP_TIPS
=no
1545 DEFAULT_wxUSE_PROGRESSDLG
=no
1546 DEFAULT_wxUSE_WIZARDDLG
=no
1548 DEFAULT_wxUSE_MENUS
=no
1549 DEFAULT_wxUSE_MINIFRAME
=no
1550 DEFAULT_wxUSE_HTML
=no
1551 DEFAULT_wxUSE_FILESYSTEM
=no
1552 DEFAULT_wxUSE_FS_INET
=no
1553 DEFAULT_wxUSE_FS_ZIP
=no
1554 DEFAULT_wxUSE_BUSYINFO
=no
1555 DEFAULT_wxUSE_ZIPSTREAM
=no
1556 DEFAULT_wxUSE_VALIDATORS
=no
1558 DEFAULT_wxUSE_ACCEL
=no
1559 DEFAULT_wxUSE_BUTTON
=no
1560 DEFAULT_wxUSE_BMPBUTTON
=no
1561 DEFAULT_wxUSE_CALCTRL
=no
1562 DEFAULT_wxUSE_CARET
=no
1563 DEFAULT_wxUSE_CHECKBOX
=no
1564 DEFAULT_wxUSE_CHECKLST
=no
1565 DEFAULT_wxUSE_CHOICE
=no
1566 DEFAULT_wxUSE_COMBOBOX
=no
1567 DEFAULT_wxUSE_GAUGE
=no
1568 DEFAULT_wxUSE_GRID
=no
1569 DEFAULT_wxUSE_NEW_GRID
=no
1570 DEFAULT_wxUSE_IMAGLIST
=no
1571 DEFAULT_wxUSE_LISTBOX
=no
1572 DEFAULT_wxUSE_LISTCTRL
=no
1573 DEFAULT_wxUSE_NOTEBOOK
=no
1574 DEFAULT_wxUSE_PROPSHEET
=no
1575 DEFAULT_wxUSE_RADIOBOX
=no
1576 DEFAULT_wxUSE_RADIOBTN
=no
1577 DEFAULT_wxUSE_SASH
=no
1578 DEFAULT_wxUSE_SCROLLBAR
=no
1579 DEFAULT_wxUSE_SLIDER
=no
1580 DEFAULT_wxUSE_SPINBTN
=no
1581 DEFAULT_wxUSE_SPINCTRL
=no
1582 DEFAULT_wxUSE_SPLITTER
=no
1583 DEFAULT_wxUSE_STATBMP
=no
1584 DEFAULT_wxUSE_STATBOX
=no
1585 DEFAULT_wxUSE_STATLINE
=no
1586 DEFAULT_wxUSE_STATTEXT
=no
1587 DEFAULT_wxUSE_STATUSBAR
=yes
1588 DEFAULT_wxUSE_TABDIALOG
=no
1589 DEFAULT_wxUSE_TEXTCTRL
=no
1590 DEFAULT_wxUSE_TOGGLEBTN
=no
1591 DEFAULT_wxUSE_TOOLBAR
=no
1592 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1593 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1594 DEFAULT_wxUSE_TREECTRL
=no
1595 DEFAULT_wxUSE_POPUPWIN
=no
1596 DEFAULT_wxUSE_TIPWINDOW
=no
1598 DEFAULT_wxUSE_UNICODE
=no
1599 DEFAULT_wxUSE_UNICODE_MSLU
=no
1600 DEFAULT_wxUSE_WCSRTOMBS
=no
1602 DEFAULT_wxUSE_PALETTE
=no
1603 DEFAULT_wxUSE_IMAGE
=no
1604 DEFAULT_wxUSE_GIF
=no
1605 DEFAULT_wxUSE_PCX
=no
1606 DEFAULT_wxUSE_PNM
=no
1607 DEFAULT_wxUSE_IFF
=no
1608 DEFAULT_wxUSE_XPM
=no
1609 DEFAULT_wxUSE_ICO_CUR
=no
1611 DEFAULT_wxUSE_UNIVERSAL
=no
1613 DEFAULT_wxUSE_THREADS
=yes
1615 DEFAULT_wxUSE_SHARED
=yes
1616 DEFAULT_wxUSE_SONAME
=no
1617 DEFAULT_wxUSE_OPTIMISE
=yes
1618 DEFAULT_wxUSE_PROFILE
=no
1619 DEFAULT_wxUSE_NO_DEPS
=no
1620 DEFAULT_wxUSE_NO_RTTI
=yes
1621 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1622 DEFAULT_wxUSE_PERMISSIVE
=no
1623 DEFAULT_wxUSE_DEBUG_FLAG
=no
1624 DEFAULT_wxUSE_DEBUG_INFO
=no
1625 DEFAULT_wxUSE_DEBUG_GDB
=no
1626 DEFAULT_wxUSE_MEM_TRACING
=no
1627 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1628 DEFAULT_wxUSE_DMALLOC
=no
1629 DEFAULT_wxUSE_PRECOMP
=no
1630 DEFAULT_wxUSE_APPLE_IEEE
=yes
1632 DEFAULT_wxUSE_LOG
=yes
1633 DEFAULT_wxUSE_LOGWINDOW
=yes
1634 DEFAULT_wxUSE_LOGGUI
=yes
1635 DEFAULT_wxUSE_LOGDIALOG
=yes
1637 DEFAULT_wxUSE_GUI
=yes
1639 DEFAULT_wxUSE_REGEX
=yes
1640 DEFAULT_wxUSE_ZLIB
=yes
1641 DEFAULT_wxUSE_LIBPNG
=yes
1642 DEFAULT_wxUSE_LIBJPEG
=yes
1643 DEFAULT_wxUSE_LIBTIFF
=yes
1644 DEFAULT_wxUSE_ODBC
=no
1645 DEFAULT_wxUSE_FREETYPE
=no
1646 DEFAULT_wxUSE_OPENGL
=no
1648 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1649 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1650 DEFAULT_wxUSE_STD_IOSTREAM
=no
1651 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1652 DEFAULT_wxUSE_DATETIME
=yes
1653 DEFAULT_wxUSE_TIMEDATE
=no
1654 DEFAULT_wxUSE_TIMER
=yes
1655 DEFAULT_wxUSE_STOPWATCH
=yes
1656 DEFAULT_wxUSE_FILE
=yes
1657 DEFAULT_wxUSE_FFILE
=yes
1658 DEFAULT_wxUSE_TEXTBUFFER
=yes
1659 DEFAULT_wxUSE_TEXTFILE
=yes
1660 DEFAULT_wxUSE_WAVE
=no
1661 DEFAULT_wxUSE_INTL
=yes
1662 DEFAULT_wxUSE_CONFIG
=yes
1663 DEFAULT_wxUSE_FONTMAP
=yes
1664 DEFAULT_wxUSE_STREAMS
=yes
1665 DEFAULT_wxUSE_SOCKETS
=yes
1666 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1667 DEFAULT_wxUSE_JOYSTICK
=yes
1668 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1669 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1670 DEFAULT_wxUSE_LONGLONG
=yes
1671 DEFAULT_wxUSE_GEOMETRY
=yes
1673 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1674 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1675 DEFAULT_wxUSE_POSTSCRIPT
=yes
1677 DEFAULT_wxUSE_X_RESOURCES
=no
1678 DEFAULT_wxUSE_CLIPBOARD
=yes
1679 DEFAULT_wxUSE_TOOLTIPS
=yes
1680 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1681 DEFAULT_wxUSE_DRAGIMAGE
=yes
1682 DEFAULT_wxUSE_SPLINES
=yes
1684 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1685 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1686 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1688 DEFAULT_wxUSE_PROLOGIO
=yes
1689 DEFAULT_wxUSE_RESOURCES
=yes
1690 DEFAULT_wxUSE_CONSTRAINTS
=yes
1691 DEFAULT_wxUSE_IPC
=yes
1692 DEFAULT_wxUSE_HELP
=yes
1693 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1694 DEFAULT_wxUSE_WXHTML_HELP
=yes
1695 DEFAULT_wxUSE_TREELAYOUT
=yes
1696 DEFAULT_wxUSE_METAFILE
=yes
1697 DEFAULT_wxUSE_MIMETYPE
=yes
1698 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1699 DEFAULT_wxUSE_PROTOCOL
=yes
1700 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1701 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1702 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1703 DEFAULT_wxUSE_URL
=yes
1705 DEFAULT_wxUSE_COMMONDLGS
=yes
1706 DEFAULT_wxUSE_CHOICEDLG
=yes
1707 DEFAULT_wxUSE_COLOURDLG
=yes
1708 DEFAULT_wxUSE_DIRDLG
=yes
1709 DEFAULT_wxUSE_FILEDLG
=yes
1710 DEFAULT_wxUSE_FINDREPLDLG
=yes
1711 DEFAULT_wxUSE_FONTDLG
=yes
1712 DEFAULT_wxUSE_MSGDLG
=yes
1713 DEFAULT_wxUSE_NUMBERDLG
=yes
1714 DEFAULT_wxUSE_TEXTDLG
=yes
1715 DEFAULT_wxUSE_SPLASH
=yes
1716 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1717 DEFAULT_wxUSE_PROGRESSDLG
=yes
1718 DEFAULT_wxUSE_WIZARDDLG
=yes
1720 DEFAULT_wxUSE_MENUS
=yes
1721 DEFAULT_wxUSE_MINIFRAME
=yes
1722 DEFAULT_wxUSE_HTML
=yes
1723 DEFAULT_wxUSE_FILESYSTEM
=yes
1724 DEFAULT_wxUSE_FS_INET
=yes
1725 DEFAULT_wxUSE_FS_ZIP
=yes
1726 DEFAULT_wxUSE_BUSYINFO
=yes
1727 DEFAULT_wxUSE_ZIPSTREAM
=yes
1728 DEFAULT_wxUSE_VALIDATORS
=yes
1730 DEFAULT_wxUSE_ACCEL
=yes
1731 DEFAULT_wxUSE_BUTTON
=yes
1732 DEFAULT_wxUSE_BMPBUTTON
=yes
1733 DEFAULT_wxUSE_CALCTRL
=yes
1734 DEFAULT_wxUSE_CARET
=yes
1735 DEFAULT_wxUSE_CHECKBOX
=yes
1736 DEFAULT_wxUSE_CHECKLST
=yes
1737 DEFAULT_wxUSE_CHOICE
=yes
1738 DEFAULT_wxUSE_COMBOBOX
=yes
1739 DEFAULT_wxUSE_GAUGE
=yes
1740 DEFAULT_wxUSE_GRID
=yes
1741 DEFAULT_wxUSE_NEW_GRID
=yes
1742 DEFAULT_wxUSE_IMAGLIST
=yes
1743 DEFAULT_wxUSE_LISTBOX
=yes
1744 DEFAULT_wxUSE_LISTCTRL
=yes
1745 DEFAULT_wxUSE_NOTEBOOK
=yes
1746 DEFAULT_wxUSE_PROPSHEET
=yes
1747 DEFAULT_wxUSE_RADIOBOX
=yes
1748 DEFAULT_wxUSE_RADIOBTN
=yes
1749 DEFAULT_wxUSE_SASH
=yes
1750 DEFAULT_wxUSE_SCROLLBAR
=yes
1751 DEFAULT_wxUSE_SLIDER
=yes
1752 DEFAULT_wxUSE_SPINBTN
=yes
1753 DEFAULT_wxUSE_SPINCTRL
=yes
1754 DEFAULT_wxUSE_SPLITTER
=yes
1755 DEFAULT_wxUSE_STATBMP
=yes
1756 DEFAULT_wxUSE_STATBOX
=yes
1757 DEFAULT_wxUSE_STATLINE
=yes
1758 DEFAULT_wxUSE_STATTEXT
=yes
1759 DEFAULT_wxUSE_STATUSBAR
=yes
1760 DEFAULT_wxUSE_TABDIALOG
=no
1761 DEFAULT_wxUSE_TEXTCTRL
=yes
1762 DEFAULT_wxUSE_TOGGLEBTN
=yes
1763 DEFAULT_wxUSE_TOOLBAR
=yes
1764 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1765 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1766 DEFAULT_wxUSE_TREECTRL
=yes
1767 DEFAULT_wxUSE_POPUPWIN
=yes
1768 DEFAULT_wxUSE_TIPWINDOW
=yes
1770 DEFAULT_wxUSE_UNICODE
=no
1771 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1772 DEFAULT_wxUSE_WCSRTOMBS
=no
1774 DEFAULT_wxUSE_PALETTE
=yes
1775 DEFAULT_wxUSE_IMAGE
=yes
1776 DEFAULT_wxUSE_GIF
=yes
1777 DEFAULT_wxUSE_PCX
=yes
1778 DEFAULT_wxUSE_IFF
=no
1779 DEFAULT_wxUSE_PNM
=yes
1780 DEFAULT_wxUSE_XPM
=yes
1781 DEFAULT_wxUSE_ICO_CUR
=yes
1786 for toolkit
in `echo $ALL_TOOLKITS`; do
1787 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1788 if test "x$LINE" != x
; then
1789 has_toolkit_in_cache
=1
1790 eval "DEFAULT_$LINE"
1791 eval "CACHE_$toolkit=1"
1797 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1798 echo "configure:1799: checking for --enable-gui" >&5
1800 # Check whether --enable-gui or --disable-gui was given.
1801 if test "${enable_gui+set}" = set; then
1802 enableval
="$enable_gui"
1804 if test "$enableval" = yes; then
1805 ac_cv_use_gui
='wxUSE_GUI=yes'
1807 ac_cv_use_gui
='wxUSE_GUI=no'
1812 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1813 if test "x$LINE" != x
; then
1814 eval "DEFAULT_$LINE"
1819 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1824 eval "$ac_cv_use_gui"
1825 if test "$no_cache" != 1; then
1826 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1829 if test "$wxUSE_GUI" = yes; then
1830 echo "$ac_t""yes" 1>&6
1832 echo "$ac_t""no" 1>&6
1836 if test "$wxUSE_GUI" = "yes"; then
1839 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1840 echo "configure:1841: checking for --enable-universal" >&5
1842 # Check whether --enable-universal or --disable-universal was given.
1843 if test "${enable_universal+set}" = set; then
1844 enableval
="$enable_universal"
1846 if test "$enableval" = yes; then
1847 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1849 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1854 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1855 if test "x$LINE" != x
; then
1856 eval "DEFAULT_$LINE"
1861 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1866 eval "$ac_cv_use_universal"
1867 if test "$no_cache" != 1; then
1868 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1871 if test "$wxUSE_UNIVERSAL" = yes; then
1872 echo "$ac_t""yes" 1>&6
1874 echo "$ac_t""no" 1>&6
1877 # Check whether --with-gtk or --without-gtk was given.
1878 if test "${with_gtk+set}" = set; then
1880 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1883 # Check whether --with-motif or --without-motif was given.
1884 if test "${with_motif+set}" = set; then
1885 withval
="$with_motif"
1886 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1889 # Check whether --with-mac or --without-mac was given.
1890 if test "${with_mac+set}" = set; then
1892 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1895 # Check whether --with-wine or --without-wine was given.
1896 if test "${with_wine+set}" = set; then
1897 withval
="$with_wine"
1898 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1901 # Check whether --with-msw or --without-msw was given.
1902 if test "${with_msw+set}" = set; then
1904 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1907 # Check whether --with-pm or --without-pm was given.
1908 if test "${with_pm+set}" = set; then
1910 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1913 # Check whether --with-mgl or --without-mgl was given.
1914 if test "${with_mgl+set}" = set; then
1916 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1919 # Check whether --with-microwin or --without-microwin was given.
1920 if test "${with_microwin+set}" = set; then
1921 withval
="$with_microwin"
1922 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1926 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1927 if test "${enable_gtk2+set}" = set; then
1928 enableval
="$enable_gtk2"
1936 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1937 echo "configure:1938: checking for --with-libpng" >&5
1939 # Check whether --with-libpng or --without-libpng was given.
1940 if test "${with_libpng+set}" = set; then
1941 withval
="$with_libpng"
1943 if test "$withval" = yes; then
1944 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1945 elif test "$withval" = no
; then
1946 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1947 elif test "$withval" = sys
; then
1948 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1949 elif test "$withval" = builtin; then
1950 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1952 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1957 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1958 if test "x$LINE" != x
; then
1959 eval "DEFAULT_$LINE"
1964 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1969 eval "$ac_cv_use_libpng"
1970 if test "$no_cache" != 1; then
1971 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1974 if test "$wxUSE_LIBPNG" = yes; then
1975 echo "$ac_t""yes" 1>&6
1976 elif test "$wxUSE_LIBPNG" = no
; then
1977 echo "$ac_t""no" 1>&6
1978 elif test "$wxUSE_LIBPNG" = sys
; then
1979 echo "$ac_t""system version" 1>&6
1980 elif test "$wxUSE_LIBPNG" = builtin; then
1981 echo "$ac_t""builtin version" 1>&6
1983 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1987 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1988 echo "configure:1989: checking for --with-libjpeg" >&5
1990 # Check whether --with-libjpeg or --without-libjpeg was given.
1991 if test "${with_libjpeg+set}" = set; then
1992 withval
="$with_libjpeg"
1994 if test "$withval" = yes; then
1995 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1996 elif test "$withval" = no
; then
1997 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1998 elif test "$withval" = sys
; then
1999 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2000 elif test "$withval" = builtin; then
2001 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2003 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2008 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2009 if test "x$LINE" != x
; then
2010 eval "DEFAULT_$LINE"
2015 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2020 eval "$ac_cv_use_libjpeg"
2021 if test "$no_cache" != 1; then
2022 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2025 if test "$wxUSE_LIBJPEG" = yes; then
2026 echo "$ac_t""yes" 1>&6
2027 elif test "$wxUSE_LIBJPEG" = no
; then
2028 echo "$ac_t""no" 1>&6
2029 elif test "$wxUSE_LIBJPEG" = sys
; then
2030 echo "$ac_t""system version" 1>&6
2031 elif test "$wxUSE_LIBJPEG" = builtin; then
2032 echo "$ac_t""builtin version" 1>&6
2034 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2038 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2039 echo "configure:2040: checking for --with-libtiff" >&5
2041 # Check whether --with-libtiff or --without-libtiff was given.
2042 if test "${with_libtiff+set}" = set; then
2043 withval
="$with_libtiff"
2045 if test "$withval" = yes; then
2046 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2047 elif test "$withval" = no
; then
2048 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2049 elif test "$withval" = sys
; then
2050 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2051 elif test "$withval" = builtin; then
2052 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2054 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2059 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2060 if test "x$LINE" != x
; then
2061 eval "DEFAULT_$LINE"
2066 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2071 eval "$ac_cv_use_libtiff"
2072 if test "$no_cache" != 1; then
2073 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2076 if test "$wxUSE_LIBTIFF" = yes; then
2077 echo "$ac_t""yes" 1>&6
2078 elif test "$wxUSE_LIBTIFF" = no
; then
2079 echo "$ac_t""no" 1>&6
2080 elif test "$wxUSE_LIBTIFF" = sys
; then
2081 echo "$ac_t""system version" 1>&6
2082 elif test "$wxUSE_LIBTIFF" = builtin; then
2083 echo "$ac_t""builtin version" 1>&6
2085 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2089 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2090 echo "configure:2091: checking for --with-freetype" >&5
2092 # Check whether --with-freetype or --without-freetype was given.
2093 if test "${with_freetype+set}" = set; then
2094 withval
="$with_freetype"
2096 if test "$withval" = yes; then
2097 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2098 elif test "$withval" = no
; then
2099 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2100 elif test "$withval" = sys
; then
2101 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2102 elif test "$withval" = builtin; then
2103 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2105 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2110 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2111 if test "x$LINE" != x
; then
2112 eval "DEFAULT_$LINE"
2117 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2122 eval "$ac_cv_use_freetype"
2123 if test "$no_cache" != 1; then
2124 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2127 if test "$wxUSE_FREETYPE" = yes; then
2128 echo "$ac_t""yes" 1>&6
2129 elif test "$wxUSE_FREETYPE" = no
; then
2130 echo "$ac_t""no" 1>&6
2131 elif test "$wxUSE_FREETYPE" = sys
; then
2132 echo "$ac_t""system version" 1>&6
2133 elif test "$wxUSE_FREETYPE" = builtin; then
2134 echo "$ac_t""builtin version" 1>&6
2136 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2140 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2141 echo "configure:2142: checking for --with-opengl" >&5
2143 # Check whether --with-opengl or --without-opengl was given.
2144 if test "${with_opengl+set}" = set; then
2145 withval
="$with_opengl"
2147 if test "$withval" = yes; then
2148 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2150 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2155 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2156 if test "x$LINE" != x
; then
2157 eval "DEFAULT_$LINE"
2162 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2167 eval "$ac_cv_use_opengl"
2168 if test "$no_cache" != 1; then
2169 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2172 if test "$wxUSE_OPENGL" = yes; then
2173 echo "$ac_t""yes" 1>&6
2175 echo "$ac_t""no" 1>&6
2182 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2183 echo "configure:2184: checking for --with-dmalloc" >&5
2185 # Check whether --with-dmalloc or --without-dmalloc was given.
2186 if test "${with_dmalloc+set}" = set; then
2187 withval
="$with_dmalloc"
2189 if test "$withval" = yes; then
2190 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2192 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2197 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2198 if test "x$LINE" != x
; then
2199 eval "DEFAULT_$LINE"
2204 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2209 eval "$ac_cv_use_dmalloc"
2210 if test "$no_cache" != 1; then
2211 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2214 if test "$wxUSE_DMALLOC" = yes; then
2215 echo "$ac_t""yes" 1>&6
2217 echo "$ac_t""no" 1>&6
2221 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2222 echo "configure:2223: checking for --with-regex" >&5
2224 # Check whether --with-regex or --without-regex was given.
2225 if test "${with_regex+set}" = set; then
2226 withval
="$with_regex"
2228 if test "$withval" = yes; then
2229 ac_cv_use_regex
='wxUSE_REGEX=yes'
2230 elif test "$withval" = no
; then
2231 ac_cv_use_regex
='wxUSE_REGEX=no'
2232 elif test "$withval" = sys
; then
2233 ac_cv_use_regex
='wxUSE_REGEX=sys'
2234 elif test "$withval" = builtin; then
2235 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2237 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2242 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2243 if test "x$LINE" != x
; then
2244 eval "DEFAULT_$LINE"
2249 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2254 eval "$ac_cv_use_regex"
2255 if test "$no_cache" != 1; then
2256 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2259 if test "$wxUSE_REGEX" = yes; then
2260 echo "$ac_t""yes" 1>&6
2261 elif test "$wxUSE_REGEX" = no
; then
2262 echo "$ac_t""no" 1>&6
2263 elif test "$wxUSE_REGEX" = sys
; then
2264 echo "$ac_t""system version" 1>&6
2265 elif test "$wxUSE_REGEX" = builtin; then
2266 echo "$ac_t""builtin version" 1>&6
2268 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2272 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2273 echo "configure:2274: checking for --with-zlib" >&5
2275 # Check whether --with-zlib or --without-zlib was given.
2276 if test "${with_zlib+set}" = set; then
2277 withval
="$with_zlib"
2279 if test "$withval" = yes; then
2280 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2281 elif test "$withval" = no
; then
2282 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2283 elif test "$withval" = sys
; then
2284 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2285 elif test "$withval" = builtin; then
2286 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2288 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2293 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2294 if test "x$LINE" != x
; then
2295 eval "DEFAULT_$LINE"
2300 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2305 eval "$ac_cv_use_zlib"
2306 if test "$no_cache" != 1; then
2307 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2310 if test "$wxUSE_ZLIB" = yes; then
2311 echo "$ac_t""yes" 1>&6
2312 elif test "$wxUSE_ZLIB" = no
; then
2313 echo "$ac_t""no" 1>&6
2314 elif test "$wxUSE_ZLIB" = sys
; then
2315 echo "$ac_t""system version" 1>&6
2316 elif test "$wxUSE_ZLIB" = builtin; then
2317 echo "$ac_t""builtin version" 1>&6
2319 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2323 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2324 echo "configure:2325: checking for --with-odbc" >&5
2326 # Check whether --with-odbc or --without-odbc was given.
2327 if test "${with_odbc+set}" = set; then
2328 withval
="$with_odbc"
2330 if test "$withval" = yes; then
2331 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2333 ac_cv_use_odbc
='wxUSE_ODBC=no'
2338 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2339 if test "x$LINE" != x
; then
2340 eval "DEFAULT_$LINE"
2345 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2350 eval "$ac_cv_use_odbc"
2351 if test "$no_cache" != 1; then
2352 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2355 if test "$wxUSE_ODBC" = yes; then
2356 echo "$ac_t""yes" 1>&6
2358 echo "$ac_t""no" 1>&6
2364 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2365 echo "configure:2366: checking for --enable-shared" >&5
2367 # Check whether --enable-shared or --disable-shared was given.
2368 if test "${enable_shared+set}" = set; then
2369 enableval
="$enable_shared"
2371 if test "$enableval" = yes; then
2372 ac_cv_use_shared
='wxUSE_SHARED=yes'
2374 ac_cv_use_shared
='wxUSE_SHARED=no'
2379 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2380 if test "x$LINE" != x
; then
2381 eval "DEFAULT_$LINE"
2386 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2391 eval "$ac_cv_use_shared"
2392 if test "$no_cache" != 1; then
2393 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2396 if test "$wxUSE_SHARED" = yes; then
2397 echo "$ac_t""yes" 1>&6
2399 echo "$ac_t""no" 1>&6
2403 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2404 echo "configure:2405: checking for --enable-soname" >&5
2406 # Check whether --enable-soname or --disable-soname was given.
2407 if test "${enable_soname+set}" = set; then
2408 enableval
="$enable_soname"
2410 if test "$enableval" = yes; then
2411 ac_cv_use_soname
='wxUSE_SONAME=yes'
2413 ac_cv_use_soname
='wxUSE_SONAME=no'
2418 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2419 if test "x$LINE" != x
; then
2420 eval "DEFAULT_$LINE"
2425 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2430 eval "$ac_cv_use_soname"
2431 if test "$no_cache" != 1; then
2432 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2435 if test "$wxUSE_SONAME" = yes; then
2436 echo "$ac_t""yes" 1>&6
2438 echo "$ac_t""no" 1>&6
2442 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2443 echo "configure:2444: checking for --enable-optimise" >&5
2445 # Check whether --enable-optimise or --disable-optimise was given.
2446 if test "${enable_optimise+set}" = set; then
2447 enableval
="$enable_optimise"
2449 if test "$enableval" = yes; then
2450 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2452 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2457 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2458 if test "x$LINE" != x
; then
2459 eval "DEFAULT_$LINE"
2464 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2469 eval "$ac_cv_use_optimise"
2470 if test "$no_cache" != 1; then
2471 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2474 if test "$wxUSE_OPTIMISE" = yes; then
2475 echo "$ac_t""yes" 1>&6
2477 echo "$ac_t""no" 1>&6
2481 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2482 echo "configure:2483: checking for --enable-debug" >&5
2484 # Check whether --enable-debug or --disable-debug was given.
2485 if test "${enable_debug+set}" = set; then
2486 enableval
="$enable_debug"
2488 if test "$enableval" = yes; then
2489 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2491 ac_cv_use_debug
='wxUSE_DEBUG=no'
2496 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2497 if test "x$LINE" != x
; then
2498 eval "DEFAULT_$LINE"
2503 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2508 eval "$ac_cv_use_debug"
2509 if test "$no_cache" != 1; then
2510 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2513 if test "$wxUSE_DEBUG" = yes; then
2514 echo "$ac_t""yes" 1>&6
2516 echo "$ac_t""no" 1>&6
2521 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2522 echo "configure:2523: checking for --enable-precomp" >&5
2524 # Check whether --enable-precomp or --disable-precomp was given.
2525 if test "${enable_precomp+set}" = set; then
2526 enableval
="$enable_precomp"
2528 if test "$enableval" = yes; then
2529 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2531 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2536 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2537 if test "x$LINE" != x
; then
2538 eval "DEFAULT_$LINE"
2543 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2548 eval "$ac_cv_use_precomp"
2549 if test "$no_cache" != 1; then
2550 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2553 if test "$wxUSE_PRECOMP" = yes; then
2554 echo "$ac_t""yes" 1>&6
2556 echo "$ac_t""no" 1>&6
2560 if test "$wxUSE_DEBUG" = "yes"; then
2561 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2562 DEFAULT_wxUSE_DEBUG_INFO
=yes
2563 elif test "$wxUSE_DEBUG" = "no"; then
2564 DEFAULT_wxUSE_DEBUG_FLAG
=no
2565 DEFAULT_wxUSE_DEBUG_INFO
=no
2569 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2570 echo "configure:2571: checking for --enable-debug_flag" >&5
2572 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2573 if test "${enable_debug_flag+set}" = set; then
2574 enableval
="$enable_debug_flag"
2576 if test "$enableval" = yes; then
2577 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2579 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2584 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2585 if test "x$LINE" != x
; then
2586 eval "DEFAULT_$LINE"
2591 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2596 eval "$ac_cv_use_debug_flag"
2597 if test "$no_cache" != 1; then
2598 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2601 if test "$wxUSE_DEBUG_FLAG" = yes; then
2602 echo "$ac_t""yes" 1>&6
2604 echo "$ac_t""no" 1>&6
2608 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2609 echo "configure:2610: checking for --enable-debug_info" >&5
2611 # Check whether --enable-debug_info or --disable-debug_info was given.
2612 if test "${enable_debug_info+set}" = set; then
2613 enableval
="$enable_debug_info"
2615 if test "$enableval" = yes; then
2616 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2618 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2623 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2624 if test "x$LINE" != x
; then
2625 eval "DEFAULT_$LINE"
2630 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2635 eval "$ac_cv_use_debug_info"
2636 if test "$no_cache" != 1; then
2637 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2640 if test "$wxUSE_DEBUG_INFO" = yes; then
2641 echo "$ac_t""yes" 1>&6
2643 echo "$ac_t""no" 1>&6
2647 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2648 echo "configure:2649: checking for --enable-debug_gdb" >&5
2650 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2651 if test "${enable_debug_gdb+set}" = set; then
2652 enableval
="$enable_debug_gdb"
2654 if test "$enableval" = yes; then
2655 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2657 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2662 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2663 if test "x$LINE" != x
; then
2664 eval "DEFAULT_$LINE"
2669 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2674 eval "$ac_cv_use_debug_gdb"
2675 if test "$no_cache" != 1; then
2676 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2679 if test "$wxUSE_DEBUG_GDB" = yes; then
2680 echo "$ac_t""yes" 1>&6
2682 echo "$ac_t""no" 1>&6
2686 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2687 echo "configure:2688: checking for --enable-debug_cntxt" >&5
2689 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2690 if test "${enable_debug_cntxt+set}" = set; then
2691 enableval
="$enable_debug_cntxt"
2693 if test "$enableval" = yes; then
2694 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2696 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2701 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2702 if test "x$LINE" != x
; then
2703 eval "DEFAULT_$LINE"
2708 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2713 eval "$ac_cv_use_debug_cntxt"
2714 if test "$no_cache" != 1; then
2715 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2718 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2719 echo "$ac_t""yes" 1>&6
2721 echo "$ac_t""no" 1>&6
2725 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2726 echo "configure:2727: checking for --enable-mem_tracing" >&5
2728 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2729 if test "${enable_mem_tracing+set}" = set; then
2730 enableval
="$enable_mem_tracing"
2732 if test "$enableval" = yes; then
2733 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2735 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2740 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2741 if test "x$LINE" != x
; then
2742 eval "DEFAULT_$LINE"
2747 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2752 eval "$ac_cv_use_mem_tracing"
2753 if test "$no_cache" != 1; then
2754 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2757 if test "$wxUSE_MEM_TRACING" = yes; then
2758 echo "$ac_t""yes" 1>&6
2760 echo "$ac_t""no" 1>&6
2764 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2765 echo "configure:2766: checking for --enable-profile" >&5
2767 # Check whether --enable-profile or --disable-profile was given.
2768 if test "${enable_profile+set}" = set; then
2769 enableval
="$enable_profile"
2771 if test "$enableval" = yes; then
2772 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2774 ac_cv_use_profile
='wxUSE_PROFILE=no'
2779 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2780 if test "x$LINE" != x
; then
2781 eval "DEFAULT_$LINE"
2786 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2791 eval "$ac_cv_use_profile"
2792 if test "$no_cache" != 1; then
2793 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2796 if test "$wxUSE_PROFILE" = yes; then
2797 echo "$ac_t""yes" 1>&6
2799 echo "$ac_t""no" 1>&6
2803 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2804 echo "configure:2805: checking for --enable-no_rtti" >&5
2806 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2807 if test "${enable_no_rtti+set}" = set; then
2808 enableval
="$enable_no_rtti"
2810 if test "$enableval" = yes; then
2811 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2813 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2818 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x
; then
2820 eval "DEFAULT_$LINE"
2825 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2830 eval "$ac_cv_use_no_rtti"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2835 if test "$wxUSE_NO_RTTI" = yes; then
2836 echo "$ac_t""yes" 1>&6
2838 echo "$ac_t""no" 1>&6
2842 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2843 echo "configure:2844: checking for --enable-no_exceptions" >&5
2845 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2846 if test "${enable_no_exceptions+set}" = set; then
2847 enableval
="$enable_no_exceptions"
2849 if test "$enableval" = yes; then
2850 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2852 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2857 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2858 if test "x$LINE" != x
; then
2859 eval "DEFAULT_$LINE"
2864 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2869 eval "$ac_cv_use_no_exceptions"
2870 if test "$no_cache" != 1; then
2871 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2874 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2875 echo "$ac_t""yes" 1>&6
2877 echo "$ac_t""no" 1>&6
2881 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2882 echo "configure:2883: checking for --enable-permissive" >&5
2884 # Check whether --enable-permissive or --disable-permissive was given.
2885 if test "${enable_permissive+set}" = set; then
2886 enableval
="$enable_permissive"
2888 if test "$enableval" = yes; then
2889 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2891 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2896 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2897 if test "x$LINE" != x
; then
2898 eval "DEFAULT_$LINE"
2903 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2908 eval "$ac_cv_use_permissive"
2909 if test "$no_cache" != 1; then
2910 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2913 if test "$wxUSE_PERMISSIVE" = yes; then
2914 echo "$ac_t""yes" 1>&6
2916 echo "$ac_t""no" 1>&6
2920 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2921 echo "configure:2922: checking for --enable-no_deps" >&5
2923 # Check whether --enable-no_deps or --disable-no_deps was given.
2924 if test "${enable_no_deps+set}" = set; then
2925 enableval
="$enable_no_deps"
2927 if test "$enableval" = yes; then
2928 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2930 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2935 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2936 if test "x$LINE" != x
; then
2937 eval "DEFAULT_$LINE"
2942 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2947 eval "$ac_cv_use_no_deps"
2948 if test "$no_cache" != 1; then
2949 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2952 if test "$wxUSE_NO_DEPS" = yes; then
2953 echo "$ac_t""yes" 1>&6
2955 echo "$ac_t""no" 1>&6
2960 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2961 echo "configure:2962: checking for --enable-compat20" >&5
2963 # Check whether --enable-compat20 or --disable-compat20 was given.
2964 if test "${enable_compat20+set}" = set; then
2965 enableval
="$enable_compat20"
2967 if test "$enableval" = yes; then
2968 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2970 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2975 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2976 if test "x$LINE" != x
; then
2977 eval "DEFAULT_$LINE"
2982 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2987 eval "$ac_cv_use_compat20"
2988 if test "$no_cache" != 1; then
2989 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2992 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2993 echo "$ac_t""yes" 1>&6
2995 echo "$ac_t""no" 1>&6
2999 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
3000 echo "configure:3001: checking for --enable-compat22" >&5
3002 # Check whether --enable-compat22 or --disable-compat22 was given.
3003 if test "${enable_compat22+set}" = set; then
3004 enableval
="$enable_compat22"
3006 if test "$enableval" = yes; then
3007 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3009 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3014 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3015 if test "x$LINE" != x
; then
3016 eval "DEFAULT_$LINE"
3021 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3026 eval "$ac_cv_use_compat22"
3027 if test "$no_cache" != 1; then
3028 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3031 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3032 echo "$ac_t""yes" 1>&6
3034 echo "$ac_t""no" 1>&6
3040 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3041 echo "configure:3042: checking for --enable-intl" >&5
3043 # Check whether --enable-intl or --disable-intl was given.
3044 if test "${enable_intl+set}" = set; then
3045 enableval
="$enable_intl"
3047 if test "$enableval" = yes; then
3048 ac_cv_use_intl
='wxUSE_INTL=yes'
3050 ac_cv_use_intl
='wxUSE_INTL=no'
3055 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x
; then
3057 eval "DEFAULT_$LINE"
3062 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3067 eval "$ac_cv_use_intl"
3068 if test "$no_cache" != 1; then
3069 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3072 if test "$wxUSE_INTL" = yes; then
3073 echo "$ac_t""yes" 1>&6
3075 echo "$ac_t""no" 1>&6
3079 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3080 echo "configure:3081: checking for --enable-config" >&5
3082 # Check whether --enable-config or --disable-config was given.
3083 if test "${enable_config+set}" = set; then
3084 enableval
="$enable_config"
3086 if test "$enableval" = yes; then
3087 ac_cv_use_config
='wxUSE_CONFIG=yes'
3089 ac_cv_use_config
='wxUSE_CONFIG=no'
3094 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3095 if test "x$LINE" != x
; then
3096 eval "DEFAULT_$LINE"
3101 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3106 eval "$ac_cv_use_config"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3111 if test "$wxUSE_CONFIG" = yes; then
3112 echo "$ac_t""yes" 1>&6
3114 echo "$ac_t""no" 1>&6
3119 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3120 echo "configure:3121: checking for --enable-protocols" >&5
3122 # Check whether --enable-protocols or --disable-protocols was given.
3123 if test "${enable_protocols+set}" = set; then
3124 enableval
="$enable_protocols"
3126 if test "$enableval" = yes; then
3127 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3129 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3134 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3135 if test "x$LINE" != x
; then
3136 eval "DEFAULT_$LINE"
3141 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3146 eval "$ac_cv_use_protocols"
3147 if test "$no_cache" != 1; then
3148 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3151 if test "$wxUSE_PROTOCOL" = yes; then
3152 echo "$ac_t""yes" 1>&6
3154 echo "$ac_t""no" 1>&6
3158 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3159 echo "configure:3160: checking for --enable-ftp" >&5
3161 # Check whether --enable-ftp or --disable-ftp was given.
3162 if test "${enable_ftp+set}" = set; then
3163 enableval
="$enable_ftp"
3165 if test "$enableval" = yes; then
3166 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3168 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3173 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3185 eval "$ac_cv_use_ftp"
3186 if test "$no_cache" != 1; then
3187 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3190 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3191 echo "$ac_t""yes" 1>&6
3193 echo "$ac_t""no" 1>&6
3197 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3198 echo "configure:3199: checking for --enable-http" >&5
3200 # Check whether --enable-http or --disable-http was given.
3201 if test "${enable_http+set}" = set; then
3202 enableval
="$enable_http"
3204 if test "$enableval" = yes; then
3205 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3207 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3212 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x
; then
3214 eval "DEFAULT_$LINE"
3219 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3224 eval "$ac_cv_use_http"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3229 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3230 echo "$ac_t""yes" 1>&6
3232 echo "$ac_t""no" 1>&6
3236 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3237 echo "configure:3238: checking for --enable-fileproto" >&5
3239 # Check whether --enable-fileproto or --disable-fileproto was given.
3240 if test "${enable_fileproto+set}" = set; then
3241 enableval
="$enable_fileproto"
3243 if test "$enableval" = yes; then
3244 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3246 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3251 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x
; then
3253 eval "DEFAULT_$LINE"
3258 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3263 eval "$ac_cv_use_fileproto"
3264 if test "$no_cache" != 1; then
3265 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3268 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3269 echo "$ac_t""yes" 1>&6
3271 echo "$ac_t""no" 1>&6
3275 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3276 echo "configure:3277: checking for --enable-sockets" >&5
3278 # Check whether --enable-sockets or --disable-sockets was given.
3279 if test "${enable_sockets+set}" = set; then
3280 enableval
="$enable_sockets"
3282 if test "$enableval" = yes; then
3283 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3285 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3290 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x
; then
3292 eval "DEFAULT_$LINE"
3297 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3302 eval "$ac_cv_use_sockets"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_SOCKETS" = yes; then
3308 echo "$ac_t""yes" 1>&6
3310 echo "$ac_t""no" 1>&6
3315 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3316 echo "configure:3317: checking for --enable-ipc" >&5
3318 # Check whether --enable-ipc or --disable-ipc was given.
3319 if test "${enable_ipc+set}" = set; then
3320 enableval
="$enable_ipc"
3322 if test "$enableval" = yes; then
3323 ac_cv_use_ipc
='wxUSE_IPC=yes'
3325 ac_cv_use_ipc
='wxUSE_IPC=no'
3330 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3331 if test "x$LINE" != x
; then
3332 eval "DEFAULT_$LINE"
3337 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3342 eval "$ac_cv_use_ipc"
3343 if test "$no_cache" != 1; then
3344 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3347 if test "$wxUSE_IPC" = yes; then
3348 echo "$ac_t""yes" 1>&6
3350 echo "$ac_t""no" 1>&6
3355 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3356 echo "configure:3357: checking for --enable-cmdline" >&5
3358 # Check whether --enable-cmdline or --disable-cmdline was given.
3359 if test "${enable_cmdline+set}" = set; then
3360 enableval
="$enable_cmdline"
3362 if test "$enableval" = yes; then
3363 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3365 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3370 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3371 if test "x$LINE" != x
; then
3372 eval "DEFAULT_$LINE"
3377 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3382 eval "$ac_cv_use_cmdline"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3388 echo "$ac_t""yes" 1>&6
3390 echo "$ac_t""no" 1>&6
3394 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3395 echo "configure:3396: checking for --enable-datetime" >&5
3397 # Check whether --enable-datetime or --disable-datetime was given.
3398 if test "${enable_datetime+set}" = set; then
3399 enableval
="$enable_datetime"
3401 if test "$enableval" = yes; then
3402 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3404 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3409 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x
; then
3411 eval "DEFAULT_$LINE"
3416 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3421 eval "$ac_cv_use_datetime"
3422 if test "$no_cache" != 1; then
3423 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3426 if test "$wxUSE_DATETIME" = yes; then
3427 echo "$ac_t""yes" 1>&6
3429 echo "$ac_t""no" 1>&6
3433 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3434 echo "configure:3435: checking for --enable-timedate" >&5
3436 # Check whether --enable-timedate or --disable-timedate was given.
3437 if test "${enable_timedate+set}" = set; then
3438 enableval
="$enable_timedate"
3440 if test "$enableval" = yes; then
3441 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3443 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3448 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x
; then
3450 eval "DEFAULT_$LINE"
3455 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3460 eval "$ac_cv_use_timedate"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3465 if test "$wxUSE_TIMEDATE" = yes; then
3466 echo "$ac_t""yes" 1>&6
3468 echo "$ac_t""no" 1>&6
3472 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3473 echo "configure:3474: checking for --enable-stopwatch" >&5
3475 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3476 if test "${enable_stopwatch+set}" = set; then
3477 enableval
="$enable_stopwatch"
3479 if test "$enableval" = yes; then
3480 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3482 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3487 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x
; then
3489 eval "DEFAULT_$LINE"
3494 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3499 eval "$ac_cv_use_stopwatch"
3500 if test "$no_cache" != 1; then
3501 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3504 if test "$wxUSE_STOPWATCH" = yes; then
3505 echo "$ac_t""yes" 1>&6
3507 echo "$ac_t""no" 1>&6
3511 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3512 echo "configure:3513: checking for --enable-dialupman" >&5
3514 # Check whether --enable-dialupman or --disable-dialupman was given.
3515 if test "${enable_dialupman+set}" = set; then
3516 enableval
="$enable_dialupman"
3518 if test "$enableval" = yes; then
3519 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3521 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3526 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x
; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3538 eval "$ac_cv_use_dialupman"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3543 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3544 echo "$ac_t""yes" 1>&6
3546 echo "$ac_t""no" 1>&6
3550 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3551 echo "configure:3552: checking for --enable-apple_ieee" >&5
3553 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3554 if test "${enable_apple_ieee+set}" = set; then
3555 enableval
="$enable_apple_ieee"
3557 if test "$enableval" = yes; then
3558 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3560 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3565 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x
; then
3567 eval "DEFAULT_$LINE"
3572 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3577 eval "$ac_cv_use_apple_ieee"
3578 if test "$no_cache" != 1; then
3579 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3582 if test "$wxUSE_APPLE_IEEE" = yes; then
3583 echo "$ac_t""yes" 1>&6
3585 echo "$ac_t""no" 1>&6
3589 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3590 echo "configure:3591: checking for --enable-timer" >&5
3592 # Check whether --enable-timer or --disable-timer was given.
3593 if test "${enable_timer+set}" = set; then
3594 enableval
="$enable_timer"
3596 if test "$enableval" = yes; then
3597 ac_cv_use_timer
='wxUSE_TIMER=yes'
3599 ac_cv_use_timer
='wxUSE_TIMER=no'
3604 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x
; then
3606 eval "DEFAULT_$LINE"
3611 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3616 eval "$ac_cv_use_timer"
3617 if test "$no_cache" != 1; then
3618 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3621 if test "$wxUSE_TIMER" = yes; then
3622 echo "$ac_t""yes" 1>&6
3624 echo "$ac_t""no" 1>&6
3628 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3629 echo "configure:3630: checking for --enable-wave" >&5
3631 # Check whether --enable-wave or --disable-wave was given.
3632 if test "${enable_wave+set}" = set; then
3633 enableval
="$enable_wave"
3635 if test "$enableval" = yes; then
3636 ac_cv_use_wave
='wxUSE_WAVE=yes'
3638 ac_cv_use_wave
='wxUSE_WAVE=no'
3643 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x
; then
3645 eval "DEFAULT_$LINE"
3650 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3655 eval "$ac_cv_use_wave"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_WAVE" = yes; then
3661 echo "$ac_t""yes" 1>&6
3663 echo "$ac_t""no" 1>&6
3667 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3668 echo "configure:3669: checking for --enable-fraction" >&5
3670 # Check whether --enable-fraction or --disable-fraction was given.
3671 if test "${enable_fraction+set}" = set; then
3672 enableval
="$enable_fraction"
3674 if test "$enableval" = yes; then
3675 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3677 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3682 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x
; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3694 eval "$ac_cv_use_fraction"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_FRACTION" = yes; then
3700 echo "$ac_t""yes" 1>&6
3702 echo "$ac_t""no" 1>&6
3706 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3707 echo "configure:3708: checking for --enable-dynlib" >&5
3709 # Check whether --enable-dynlib or --disable-dynlib was given.
3710 if test "${enable_dynlib+set}" = set; then
3711 enableval
="$enable_dynlib"
3713 if test "$enableval" = yes; then
3714 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3716 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3721 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x
; then
3723 eval "DEFAULT_$LINE"
3728 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3733 eval "$ac_cv_use_dynlib"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3739 echo "$ac_t""yes" 1>&6
3741 echo "$ac_t""no" 1>&6
3745 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3746 echo "configure:3747: checking for --enable-dynamicloader" >&5
3748 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3749 if test "${enable_dynamicloader+set}" = set; then
3750 enableval
="$enable_dynamicloader"
3752 if test "$enableval" = yes; then
3753 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3755 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3760 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x
; then
3762 eval "DEFAULT_$LINE"
3767 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3772 eval "$ac_cv_use_dynamicloader"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3777 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3778 echo "$ac_t""yes" 1>&6
3780 echo "$ac_t""no" 1>&6
3784 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3785 echo "configure:3786: checking for --enable-longlong" >&5
3787 # Check whether --enable-longlong or --disable-longlong was given.
3788 if test "${enable_longlong+set}" = set; then
3789 enableval
="$enable_longlong"
3791 if test "$enableval" = yes; then
3792 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3794 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3799 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3800 if test "x$LINE" != x
; then
3801 eval "DEFAULT_$LINE"
3806 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3811 eval "$ac_cv_use_longlong"
3812 if test "$no_cache" != 1; then
3813 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3816 if test "$wxUSE_LONGLONG" = yes; then
3817 echo "$ac_t""yes" 1>&6
3819 echo "$ac_t""no" 1>&6
3823 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3824 echo "configure:3825: checking for --enable-geometry" >&5
3826 # Check whether --enable-geometry or --disable-geometry was given.
3827 if test "${enable_geometry+set}" = set; then
3828 enableval
="$enable_geometry"
3830 if test "$enableval" = yes; then
3831 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3833 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3838 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x
; then
3840 eval "DEFAULT_$LINE"
3845 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3850 eval "$ac_cv_use_geometry"
3851 if test "$no_cache" != 1; then
3852 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3855 if test "$wxUSE_GEOMETRY" = yes; then
3856 echo "$ac_t""yes" 1>&6
3858 echo "$ac_t""no" 1>&6
3862 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3863 echo "configure:3864: checking for --enable-log" >&5
3865 # Check whether --enable-log or --disable-log was given.
3866 if test "${enable_log+set}" = set; then
3867 enableval
="$enable_log"
3869 if test "$enableval" = yes; then
3870 ac_cv_use_log
='wxUSE_LOG=yes'
3872 ac_cv_use_log
='wxUSE_LOG=no'
3877 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x
; then
3879 eval "DEFAULT_$LINE"
3884 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3889 eval "$ac_cv_use_log"
3890 if test "$no_cache" != 1; then
3891 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3894 if test "$wxUSE_LOG" = yes; then
3895 echo "$ac_t""yes" 1>&6
3897 echo "$ac_t""no" 1>&6
3901 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3902 echo "configure:3903: checking for --enable-streams" >&5
3904 # Check whether --enable-streams or --disable-streams was given.
3905 if test "${enable_streams+set}" = set; then
3906 enableval
="$enable_streams"
3908 if test "$enableval" = yes; then
3909 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3911 ac_cv_use_streams
='wxUSE_STREAMS=no'
3916 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3917 if test "x$LINE" != x
; then
3918 eval "DEFAULT_$LINE"
3923 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3928 eval "$ac_cv_use_streams"
3929 if test "$no_cache" != 1; then
3930 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3933 if test "$wxUSE_STREAMS" = yes; then
3934 echo "$ac_t""yes" 1>&6
3936 echo "$ac_t""no" 1>&6
3940 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3941 echo "configure:3942: checking for --enable-file" >&5
3943 # Check whether --enable-file or --disable-file was given.
3944 if test "${enable_file+set}" = set; then
3945 enableval
="$enable_file"
3947 if test "$enableval" = yes; then
3948 ac_cv_use_file
='wxUSE_FILE=yes'
3950 ac_cv_use_file
='wxUSE_FILE=no'
3955 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x
; then
3957 eval "DEFAULT_$LINE"
3962 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3967 eval "$ac_cv_use_file"
3968 if test "$no_cache" != 1; then
3969 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3972 if test "$wxUSE_FILE" = yes; then
3973 echo "$ac_t""yes" 1>&6
3975 echo "$ac_t""no" 1>&6
3979 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3980 echo "configure:3981: checking for --enable-ffile" >&5
3982 # Check whether --enable-ffile or --disable-ffile was given.
3983 if test "${enable_ffile+set}" = set; then
3984 enableval
="$enable_ffile"
3986 if test "$enableval" = yes; then
3987 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3989 ac_cv_use_ffile
='wxUSE_FFILE=no'
3994 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3995 if test "x$LINE" != x
; then
3996 eval "DEFAULT_$LINE"
4001 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4006 eval "$ac_cv_use_ffile"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4011 if test "$wxUSE_FFILE" = yes; then
4012 echo "$ac_t""yes" 1>&6
4014 echo "$ac_t""no" 1>&6
4018 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4019 echo "configure:4020: checking for --enable-textbuf" >&5
4021 # Check whether --enable-textbuf or --disable-textbuf was given.
4022 if test "${enable_textbuf+set}" = set; then
4023 enableval
="$enable_textbuf"
4025 if test "$enableval" = yes; then
4026 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4028 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4033 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x
; then
4035 eval "DEFAULT_$LINE"
4040 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4045 eval "$ac_cv_use_textbuf"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4050 if test "$wxUSE_TEXTBUFFER" = yes; then
4051 echo "$ac_t""yes" 1>&6
4053 echo "$ac_t""no" 1>&6
4057 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4058 echo "configure:4059: checking for --enable-textfile" >&5
4060 # Check whether --enable-textfile or --disable-textfile was given.
4061 if test "${enable_textfile+set}" = set; then
4062 enableval
="$enable_textfile"
4064 if test "$enableval" = yes; then
4065 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4067 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4072 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4073 if test "x$LINE" != x
; then
4074 eval "DEFAULT_$LINE"
4079 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4084 eval "$ac_cv_use_textfile"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4089 if test "$wxUSE_TEXTFILE" = yes; then
4090 echo "$ac_t""yes" 1>&6
4092 echo "$ac_t""no" 1>&6
4096 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4097 echo "configure:4098: checking for --enable-fontmap" >&5
4099 # Check whether --enable-fontmap or --disable-fontmap was given.
4100 if test "${enable_fontmap+set}" = set; then
4101 enableval
="$enable_fontmap"
4103 if test "$enableval" = yes; then
4104 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4106 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4111 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4112 if test "x$LINE" != x
; then
4113 eval "DEFAULT_$LINE"
4118 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4123 eval "$ac_cv_use_fontmap"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4128 if test "$wxUSE_FONTMAP" = yes; then
4129 echo "$ac_t""yes" 1>&6
4131 echo "$ac_t""no" 1>&6
4135 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4136 echo "configure:4137: checking for --enable-unicode" >&5
4138 # Check whether --enable-unicode or --disable-unicode was given.
4139 if test "${enable_unicode+set}" = set; then
4140 enableval
="$enable_unicode"
4142 if test "$enableval" = yes; then
4143 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4145 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4150 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x
; then
4152 eval "DEFAULT_$LINE"
4157 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4162 eval "$ac_cv_use_unicode"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4167 if test "$wxUSE_UNICODE" = yes; then
4168 echo "$ac_t""yes" 1>&6
4170 echo "$ac_t""no" 1>&6
4174 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4175 echo "configure:4176: checking for --enable-mslu" >&5
4177 # Check whether --enable-mslu or --disable-mslu was given.
4178 if test "${enable_mslu+set}" = set; then
4179 enableval
="$enable_mslu"
4181 if test "$enableval" = yes; then
4182 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4184 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4189 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4190 if test "x$LINE" != x
; then
4191 eval "DEFAULT_$LINE"
4196 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4201 eval "$ac_cv_use_mslu"
4202 if test "$no_cache" != 1; then
4203 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4206 if test "$wxUSE_UNICODE_MSLU" = yes; then
4207 echo "$ac_t""yes" 1>&6
4209 echo "$ac_t""no" 1>&6
4213 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4214 echo "configure:4215: checking for --enable-wxprintfv" >&5
4216 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4217 if test "${enable_wxprintfv+set}" = set; then
4218 enableval
="$enable_wxprintfv"
4220 if test "$enableval" = yes; then
4221 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4223 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4228 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x
; then
4230 eval "DEFAULT_$LINE"
4235 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4240 eval "$ac_cv_use_wxprintfv"
4241 if test "$no_cache" != 1; then
4242 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4245 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4246 echo "$ac_t""yes" 1>&6
4248 echo "$ac_t""no" 1>&6
4252 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4253 echo "configure:4254: checking for --enable-std_iostreams" >&5
4255 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4256 if test "${enable_std_iostreams+set}" = set; then
4257 enableval
="$enable_std_iostreams"
4259 if test "$enableval" = yes; then
4260 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4262 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4267 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4268 if test "x$LINE" != x
; then
4269 eval "DEFAULT_$LINE"
4274 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4279 eval "$ac_cv_use_std_iostreams"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4284 if test "$wxUSE_STD_IOSTREAM" = yes; then
4285 echo "$ac_t""yes" 1>&6
4287 echo "$ac_t""no" 1>&6
4291 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4292 echo "configure:4293: checking for --enable-filesystem" >&5
4294 # Check whether --enable-filesystem or --disable-filesystem was given.
4295 if test "${enable_filesystem+set}" = set; then
4296 enableval
="$enable_filesystem"
4298 if test "$enableval" = yes; then
4299 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4301 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4306 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x
; then
4308 eval "DEFAULT_$LINE"
4313 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4318 eval "$ac_cv_use_filesystem"
4319 if test "$no_cache" != 1; then
4320 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4323 if test "$wxUSE_FILESYSTEM" = yes; then
4324 echo "$ac_t""yes" 1>&6
4326 echo "$ac_t""no" 1>&6
4330 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4331 echo "configure:4332: checking for --enable-fs_inet" >&5
4333 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4334 if test "${enable_fs_inet+set}" = set; then
4335 enableval
="$enable_fs_inet"
4337 if test "$enableval" = yes; then
4338 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4340 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4345 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x
; then
4347 eval "DEFAULT_$LINE"
4352 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4357 eval "$ac_cv_use_fs_inet"
4358 if test "$no_cache" != 1; then
4359 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4362 if test "$wxUSE_FS_INET" = yes; then
4363 echo "$ac_t""yes" 1>&6
4365 echo "$ac_t""no" 1>&6
4369 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4370 echo "configure:4371: checking for --enable-fs_zip" >&5
4372 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4373 if test "${enable_fs_zip+set}" = set; then
4374 enableval
="$enable_fs_zip"
4376 if test "$enableval" = yes; then
4377 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4379 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4384 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x
; then
4386 eval "DEFAULT_$LINE"
4391 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4396 eval "$ac_cv_use_fs_zip"
4397 if test "$no_cache" != 1; then
4398 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4401 if test "$wxUSE_FS_ZIP" = yes; then
4402 echo "$ac_t""yes" 1>&6
4404 echo "$ac_t""no" 1>&6
4408 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4409 echo "configure:4410: checking for --enable-zipstream" >&5
4411 # Check whether --enable-zipstream or --disable-zipstream was given.
4412 if test "${enable_zipstream+set}" = set; then
4413 enableval
="$enable_zipstream"
4415 if test "$enableval" = yes; then
4416 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4418 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4423 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x
; then
4425 eval "DEFAULT_$LINE"
4430 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4435 eval "$ac_cv_use_zipstream"
4436 if test "$no_cache" != 1; then
4437 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4440 if test "$wxUSE_ZIPSTREAM" = yes; then
4441 echo "$ac_t""yes" 1>&6
4443 echo "$ac_t""no" 1>&6
4448 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4449 echo "configure:4450: checking for --enable-catch_segvs" >&5
4451 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4452 if test "${enable_catch_segvs+set}" = set; then
4453 enableval
="$enable_catch_segvs"
4455 if test "$enableval" = yes; then
4456 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4458 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4463 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4464 if test "x$LINE" != x
; then
4465 eval "DEFAULT_$LINE"
4470 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4475 eval "$ac_cv_use_catch_segvs"
4476 if test "$no_cache" != 1; then
4477 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4480 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4481 echo "$ac_t""yes" 1>&6
4483 echo "$ac_t""no" 1>&6
4487 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4488 echo "configure:4489: checking for --enable-snglinst" >&5
4490 # Check whether --enable-snglinst or --disable-snglinst was given.
4491 if test "${enable_snglinst+set}" = set; then
4492 enableval
="$enable_snglinst"
4494 if test "$enableval" = yes; then
4495 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4497 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4502 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4503 if test "x$LINE" != x
; then
4504 eval "DEFAULT_$LINE"
4509 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4514 eval "$ac_cv_use_snglinst"
4515 if test "$no_cache" != 1; then
4516 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4519 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4520 echo "$ac_t""yes" 1>&6
4522 echo "$ac_t""no" 1>&6
4527 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4528 echo "configure:4529: checking for --enable-mimetype" >&5
4530 # Check whether --enable-mimetype or --disable-mimetype was given.
4531 if test "${enable_mimetype+set}" = set; then
4532 enableval
="$enable_mimetype"
4534 if test "$enableval" = yes; then
4535 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4537 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4542 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4543 if test "x$LINE" != x
; then
4544 eval "DEFAULT_$LINE"
4549 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4554 eval "$ac_cv_use_mimetype"
4555 if test "$no_cache" != 1; then
4556 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4559 if test "$wxUSE_MIMETYPE" = yes; then
4560 echo "$ac_t""yes" 1>&6
4562 echo "$ac_t""no" 1>&6
4566 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4567 echo "configure:4568: checking for --enable-system_options" >&5
4569 # Check whether --enable-system_options or --disable-system_options was given.
4570 if test "${enable_system_options+set}" = set; then
4571 enableval
="$enable_system_options"
4573 if test "$enableval" = yes; then
4574 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4576 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4581 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4582 if test "x$LINE" != x
; then
4583 eval "DEFAULT_$LINE"
4588 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4593 eval "$ac_cv_use_system_options"
4594 if test "$no_cache" != 1; then
4595 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4598 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4599 echo "$ac_t""yes" 1>&6
4601 echo "$ac_t""no" 1>&6
4606 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4607 echo "configure:4608: checking for --enable-url" >&5
4609 # Check whether --enable-url or --disable-url was given.
4610 if test "${enable_url+set}" = set; then
4611 enableval
="$enable_url"
4613 if test "$enableval" = yes; then
4614 ac_cv_use_url
='wxUSE_URL=yes'
4616 ac_cv_use_url
='wxUSE_URL=no'
4621 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4622 if test "x$LINE" != x
; then
4623 eval "DEFAULT_$LINE"
4628 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4633 eval "$ac_cv_use_url"
4634 if test "$no_cache" != 1; then
4635 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4638 if test "$wxUSE_URL" = yes; then
4639 echo "$ac_t""yes" 1>&6
4641 echo "$ac_t""no" 1>&6
4645 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4646 echo "configure:4647: checking for --enable-protocol" >&5
4648 # Check whether --enable-protocol or --disable-protocol was given.
4649 if test "${enable_protocol+set}" = set; then
4650 enableval
="$enable_protocol"
4652 if test "$enableval" = yes; then
4653 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4655 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4660 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4661 if test "x$LINE" != x
; then
4662 eval "DEFAULT_$LINE"
4667 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4672 eval "$ac_cv_use_protocol"
4673 if test "$no_cache" != 1; then
4674 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4677 if test "$wxUSE_PROTOCOL" = yes; then
4678 echo "$ac_t""yes" 1>&6
4680 echo "$ac_t""no" 1>&6
4684 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4685 echo "configure:4686: checking for --enable-protocol_http" >&5
4687 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4688 if test "${enable_protocol_http+set}" = set; then
4689 enableval
="$enable_protocol_http"
4691 if test "$enableval" = yes; then
4692 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4694 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4699 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4700 if test "x$LINE" != x
; then
4701 eval "DEFAULT_$LINE"
4706 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4711 eval "$ac_cv_use_protocol_http"
4712 if test "$no_cache" != 1; then
4713 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4716 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4717 echo "$ac_t""yes" 1>&6
4719 echo "$ac_t""no" 1>&6
4723 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4724 echo "configure:4725: checking for --enable-protocol_ftp" >&5
4726 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4727 if test "${enable_protocol_ftp+set}" = set; then
4728 enableval
="$enable_protocol_ftp"
4730 if test "$enableval" = yes; then
4731 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4733 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4738 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x
; then
4740 eval "DEFAULT_$LINE"
4745 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4750 eval "$ac_cv_use_protocol_ftp"
4751 if test "$no_cache" != 1; then
4752 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4755 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4756 echo "$ac_t""yes" 1>&6
4758 echo "$ac_t""no" 1>&6
4762 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4763 echo "configure:4764: checking for --enable-protocol_file" >&5
4765 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4766 if test "${enable_protocol_file+set}" = set; then
4767 enableval
="$enable_protocol_file"
4769 if test "$enableval" = yes; then
4770 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4772 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4777 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4778 if test "x$LINE" != x
; then
4779 eval "DEFAULT_$LINE"
4784 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4789 eval "$ac_cv_use_protocol_file"
4790 if test "$no_cache" != 1; then
4791 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4794 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4795 echo "$ac_t""yes" 1>&6
4797 echo "$ac_t""no" 1>&6
4804 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4805 echo "configure:4806: checking for --enable-threads" >&5
4807 # Check whether --enable-threads or --disable-threads was given.
4808 if test "${enable_threads+set}" = set; then
4809 enableval
="$enable_threads"
4811 if test "$enableval" = yes; then
4812 ac_cv_use_threads
='wxUSE_THREADS=yes'
4814 ac_cv_use_threads
='wxUSE_THREADS=no'
4819 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x
; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4831 eval "$ac_cv_use_threads"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_THREADS" = yes; then
4837 echo "$ac_t""yes" 1>&6
4839 echo "$ac_t""no" 1>&6
4843 if test "$wxUSE_GUI" = "yes"; then
4847 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4848 echo "configure:4849: checking for --enable-docview" >&5
4850 # Check whether --enable-docview or --disable-docview was given.
4851 if test "${enable_docview+set}" = set; then
4852 enableval
="$enable_docview"
4854 if test "$enableval" = yes; then
4855 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4857 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4862 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4863 if test "x$LINE" != x
; then
4864 eval "DEFAULT_$LINE"
4869 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4874 eval "$ac_cv_use_docview"
4875 if test "$no_cache" != 1; then
4876 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4879 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4880 echo "$ac_t""yes" 1>&6
4882 echo "$ac_t""no" 1>&6
4886 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4887 echo "configure:4888: checking for --enable-help" >&5
4889 # Check whether --enable-help or --disable-help was given.
4890 if test "${enable_help+set}" = set; then
4891 enableval
="$enable_help"
4893 if test "$enableval" = yes; then
4894 ac_cv_use_help
='wxUSE_HELP=yes'
4896 ac_cv_use_help
='wxUSE_HELP=no'
4901 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x
; then
4903 eval "DEFAULT_$LINE"
4908 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4913 eval "$ac_cv_use_help"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4918 if test "$wxUSE_HELP" = yes; then
4919 echo "$ac_t""yes" 1>&6
4921 echo "$ac_t""no" 1>&6
4925 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4926 echo "configure:4927: checking for --enable-mshtmlhelp" >&5
4928 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4929 if test "${enable_mshtmlhelp+set}" = set; then
4930 enableval
="$enable_mshtmlhelp"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4935 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4940 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x
; then
4942 eval "DEFAULT_$LINE"
4947 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4952 eval "$ac_cv_use_mshtmlhelp"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4957 if test "$wxUSE_MS_HTML_HELP" = yes; then
4958 echo "$ac_t""yes" 1>&6
4960 echo "$ac_t""no" 1>&6
4964 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4965 echo "configure:4966: checking for --enable-html" >&5
4967 # Check whether --enable-html or --disable-html was given.
4968 if test "${enable_html+set}" = set; then
4969 enableval
="$enable_html"
4971 if test "$enableval" = yes; then
4972 ac_cv_use_html
='wxUSE_HTML=yes'
4974 ac_cv_use_html
='wxUSE_HTML=no'
4979 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4980 if test "x$LINE" != x
; then
4981 eval "DEFAULT_$LINE"
4986 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4991 eval "$ac_cv_use_html"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4996 if test "$wxUSE_HTML" = yes; then
4997 echo "$ac_t""yes" 1>&6
4999 echo "$ac_t""no" 1>&6
5003 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5004 echo "configure:5005: checking for --enable-htmlhelp" >&5
5006 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5007 if test "${enable_htmlhelp+set}" = set; then
5008 enableval
="$enable_htmlhelp"
5010 if test "$enableval" = yes; then
5011 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5013 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5018 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5019 if test "x$LINE" != x
; then
5020 eval "DEFAULT_$LINE"
5025 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5030 eval "$ac_cv_use_htmlhelp"
5031 if test "$no_cache" != 1; then
5032 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5035 if test "$wxUSE_WXHTML_HELP" = yes; then
5036 echo "$ac_t""yes" 1>&6
5038 echo "$ac_t""no" 1>&6
5042 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5043 echo "configure:5044: checking for --enable-constraints" >&5
5045 # Check whether --enable-constraints or --disable-constraints was given.
5046 if test "${enable_constraints+set}" = set; then
5047 enableval
="$enable_constraints"
5049 if test "$enableval" = yes; then
5050 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5052 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5057 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x
; then
5059 eval "DEFAULT_$LINE"
5064 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5069 eval "$ac_cv_use_constraints"
5070 if test "$no_cache" != 1; then
5071 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5074 if test "$wxUSE_CONSTRAINTS" = yes; then
5075 echo "$ac_t""yes" 1>&6
5077 echo "$ac_t""no" 1>&6
5081 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5082 echo "configure:5083: checking for --enable-printarch" >&5
5084 # Check whether --enable-printarch or --disable-printarch was given.
5085 if test "${enable_printarch+set}" = set; then
5086 enableval
="$enable_printarch"
5088 if test "$enableval" = yes; then
5089 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5091 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5096 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5097 if test "x$LINE" != x
; then
5098 eval "DEFAULT_$LINE"
5103 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5108 eval "$ac_cv_use_printarch"
5109 if test "$no_cache" != 1; then
5110 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5113 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5114 echo "$ac_t""yes" 1>&6
5116 echo "$ac_t""no" 1>&6
5120 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5121 echo "configure:5122: checking for --enable-mdi" >&5
5123 # Check whether --enable-mdi or --disable-mdi was given.
5124 if test "${enable_mdi+set}" = set; then
5125 enableval
="$enable_mdi"
5127 if test "$enableval" = yes; then
5128 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5130 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5135 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5136 if test "x$LINE" != x
; then
5137 eval "DEFAULT_$LINE"
5142 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5147 eval "$ac_cv_use_mdi"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5153 echo "$ac_t""yes" 1>&6
5155 echo "$ac_t""no" 1>&6
5159 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5160 echo "configure:5161: checking for --enable-loggui" >&5
5162 # Check whether --enable-loggui or --disable-loggui was given.
5163 if test "${enable_loggui+set}" = set; then
5164 enableval
="$enable_loggui"
5166 if test "$enableval" = yes; then
5167 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5169 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5174 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x
; then
5176 eval "DEFAULT_$LINE"
5181 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5186 eval "$ac_cv_use_loggui"
5187 if test "$no_cache" != 1; then
5188 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5191 if test "$wxUSE_LOGGUI" = yes; then
5192 echo "$ac_t""yes" 1>&6
5194 echo "$ac_t""no" 1>&6
5198 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5199 echo "configure:5200: checking for --enable-logwin" >&5
5201 # Check whether --enable-logwin or --disable-logwin was given.
5202 if test "${enable_logwin+set}" = set; then
5203 enableval
="$enable_logwin"
5205 if test "$enableval" = yes; then
5206 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5208 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5213 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x
; then
5215 eval "DEFAULT_$LINE"
5220 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5225 eval "$ac_cv_use_logwin"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5230 if test "$wxUSE_LOGWINDOW" = yes; then
5231 echo "$ac_t""yes" 1>&6
5233 echo "$ac_t""no" 1>&6
5237 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5238 echo "configure:5239: checking for --enable-logdialog" >&5
5240 # Check whether --enable-logdialog or --disable-logdialog was given.
5241 if test "${enable_logdialog+set}" = set; then
5242 enableval
="$enable_logdialog"
5244 if test "$enableval" = yes; then
5245 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5247 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5252 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5253 if test "x$LINE" != x
; then
5254 eval "DEFAULT_$LINE"
5259 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5264 eval "$ac_cv_use_logdialog"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5269 if test "$wxUSE_LOGDIALOG" = yes; then
5270 echo "$ac_t""yes" 1>&6
5272 echo "$ac_t""no" 1>&6
5277 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5278 echo "configure:5279: checking for --enable-postscript" >&5
5280 # Check whether --enable-postscript or --disable-postscript was given.
5281 if test "${enable_postscript+set}" = set; then
5282 enableval
="$enable_postscript"
5284 if test "$enableval" = yes; then
5285 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5287 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5292 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x
; then
5294 eval "DEFAULT_$LINE"
5299 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5304 eval "$ac_cv_use_postscript"
5305 if test "$no_cache" != 1; then
5306 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5309 if test "$wxUSE_POSTSCRIPT" = yes; then
5310 echo "$ac_t""yes" 1>&6
5312 echo "$ac_t""no" 1>&6
5319 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5320 echo "configure:5321: checking for --enable-prologio" >&5
5322 # Check whether --enable-prologio or --disable-prologio was given.
5323 if test "${enable_prologio+set}" = set; then
5324 enableval
="$enable_prologio"
5326 if test "$enableval" = yes; then
5327 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5329 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5334 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5335 if test "x$LINE" != x
; then
5336 eval "DEFAULT_$LINE"
5341 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5346 eval "$ac_cv_use_prologio"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5351 if test "$wxUSE_PROLOGIO" = yes; then
5352 echo "$ac_t""yes" 1>&6
5354 echo "$ac_t""no" 1>&6
5358 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5359 echo "configure:5360: checking for --enable-resources" >&5
5361 # Check whether --enable-resources or --disable-resources was given.
5362 if test "${enable_resources+set}" = set; then
5363 enableval
="$enable_resources"
5365 if test "$enableval" = yes; then
5366 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5368 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5373 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x
; then
5375 eval "DEFAULT_$LINE"
5380 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5385 eval "$ac_cv_use_resources"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5390 if test "$wxUSE_RESOURCES" = yes; then
5391 echo "$ac_t""yes" 1>&6
5393 echo "$ac_t""no" 1>&6
5398 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5399 echo "configure:5400: checking for --enable-xresources" >&5
5401 # Check whether --enable-xresources or --disable-xresources was given.
5402 if test "${enable_xresources+set}" = set; then
5403 enableval
="$enable_xresources"
5405 if test "$enableval" = yes; then
5406 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5408 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5413 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x
; then
5415 eval "DEFAULT_$LINE"
5420 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5425 eval "$ac_cv_use_xresources"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5430 if test "$wxUSE_X_RESOURCES" = yes; then
5431 echo "$ac_t""yes" 1>&6
5433 echo "$ac_t""no" 1>&6
5439 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5440 echo "configure:5441: checking for --enable-clipboard" >&5
5442 # Check whether --enable-clipboard or --disable-clipboard was given.
5443 if test "${enable_clipboard+set}" = set; then
5444 enableval
="$enable_clipboard"
5446 if test "$enableval" = yes; then
5447 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5449 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5454 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x
; then
5456 eval "DEFAULT_$LINE"
5461 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5466 eval "$ac_cv_use_clipboard"
5467 if test "$no_cache" != 1; then
5468 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5471 if test "$wxUSE_CLIPBOARD" = yes; then
5472 echo "$ac_t""yes" 1>&6
5474 echo "$ac_t""no" 1>&6
5478 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5479 echo "configure:5480: checking for --enable-dnd" >&5
5481 # Check whether --enable-dnd or --disable-dnd was given.
5482 if test "${enable_dnd+set}" = set; then
5483 enableval
="$enable_dnd"
5485 if test "$enableval" = yes; then
5486 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5488 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5493 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x
; then
5495 eval "DEFAULT_$LINE"
5500 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5505 eval "$ac_cv_use_dnd"
5506 if test "$no_cache" != 1; then
5507 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5510 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5511 echo "$ac_t""yes" 1>&6
5513 echo "$ac_t""no" 1>&6
5517 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5518 echo "configure:5519: checking for --enable-metafile" >&5
5520 # Check whether --enable-metafile or --disable-metafile was given.
5521 if test "${enable_metafile+set}" = set; then
5522 enableval
="$enable_metafile"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5527 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5532 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5544 eval "$ac_cv_use_metafile"
5545 if test "$no_cache" != 1; then
5546 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5549 if test "$wxUSE_METAFILE" = yes; then
5550 echo "$ac_t""yes" 1>&6
5552 echo "$ac_t""no" 1>&6
5557 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5558 echo "configure:5559: checking for --enable-treelayout" >&5
5560 # Check whether --enable-treelayout or --disable-treelayout was given.
5561 if test "${enable_treelayout+set}" = set; then
5562 enableval
="$enable_treelayout"
5564 if test "$enableval" = yes; then
5565 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5567 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5572 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x
; then
5574 eval "DEFAULT_$LINE"
5579 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5584 eval "$ac_cv_use_treelayout"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_TREELAYOUT" = yes; then
5590 echo "$ac_t""yes" 1>&6
5592 echo "$ac_t""no" 1>&6
5598 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5599 echo "configure:5600: checking for --enable-controls" >&5
5601 # Check whether --enable-controls or --disable-controls was given.
5602 if test "${enable_controls+set}" = set; then
5603 enableval
="$enable_controls"
5605 if test "$enableval" = yes; then
5606 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5608 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5613 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x
; then
5615 eval "DEFAULT_$LINE"
5620 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5625 eval "$ac_cv_use_controls"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5630 if test "$wxUSE_CONTROLS" = yes; then
5631 echo "$ac_t""yes" 1>&6
5633 echo "$ac_t""no" 1>&6
5637 if test "$wxUSE_CONTROLS" = "yes"; then
5638 DEFAULT_wxUSE_ACCEL
=yes
5639 DEFAULT_wxUSE_BMPBUTTON
=yes
5640 DEFAULT_wxUSE_BUTTON
=yes
5641 DEFAULT_wxUSE_CALCTRL
=no
5642 DEFAULT_wxUSE_CARET
=yes
5643 DEFAULT_wxUSE_COMBOBOX
=yes
5644 DEFAULT_wxUSE_CHECKBOX
=yes
5645 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5646 DEFAULT_wxUSE_CHOICE
=yes
5647 DEFAULT_wxUSE_GAUGE
=yes
5648 DEFAULT_wxUSE_GRID
=yes
5649 DEFAULT_wxUSE_NEW_GRID
=yes
5650 DEFAULT_wxUSE_IMAGLIST
=yes
5651 DEFAULT_wxUSE_LISTBOX
=yes
5652 DEFAULT_wxUSE_LISTCTRL
=yes
5653 DEFAULT_wxUSE_NOTEBOOK
=yes
5654 DEFAULT_wxUSE_PROPSHEET
=yes
5655 DEFAULT_wxUSE_RADIOBOX
=yes
5656 DEFAULT_wxUSE_RADIOBTN
=yes
5657 DEFAULT_wxUSE_SASH
=yes
5658 DEFAULT_wxUSE_SCROLLBAR
=yes
5659 DEFAULT_wxUSE_SLIDER
=yes
5660 DEFAULT_wxUSE_SPINBTN
=yes
5661 DEFAULT_wxUSE_SPINCTRL
=yes
5662 DEFAULT_wxUSE_SPLITTER
=yes
5663 DEFAULT_wxUSE_STATBMP
=yes
5664 DEFAULT_wxUSE_STATBOX
=yes
5665 DEFAULT_wxUSE_STATLINE
=yes
5666 DEFAULT_wxUSE_STATUSBAR
=yes
5667 DEFAULT_wxUSE_TAB_DIALOG
=yes
5668 DEFAULT_wxUSE_TOGGLEBTN
=yes
5669 DEFAULT_wxUSE_TOOLBAR
=yes
5670 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5671 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5672 DEFAULT_wxUSE_TOOLTIPS
=yes
5673 DEFAULT_wxUSE_TREECTRL
=yes
5674 DEFAULT_wxUSE_POPUPWIN
=yes
5675 DEFAULT_wxUSE_TIPWINDOW
=yes
5676 elif test "$wxUSE_CONTROLS" = "no"; then
5677 DEFAULT_wxUSE_ACCEL
=no
5678 DEFAULT_wxUSE_BMPBUTTON
=no
5679 DEFAULT_wxUSE_BUTTON
=no
5680 DEFAULT_wxUSE_CALCTRL
=no
5681 DEFAULT_wxUSE_CARET
=no
5682 DEFAULT_wxUSE_COMBOBOX
=no
5683 DEFAULT_wxUSE_CHECKBOX
=no
5684 DEFAULT_wxUSE_CHECKLISTBOX
=no
5685 DEFAULT_wxUSE_CHOICE
=no
5686 DEFAULT_wxUSE_GAUGE
=no
5687 DEFAULT_wxUSE_GRID
=no
5688 DEFAULT_wxUSE_NEW_GRID
=no
5689 DEFAULT_wxUSE_IMAGLIST
=no
5690 DEFAULT_wxUSE_LISTBOX
=no
5691 DEFAULT_wxUSE_LISTCTRL
=no
5692 DEFAULT_wxUSE_NOTEBOOK
=no
5693 DEFAULT_wxUSE_PROPSHEET
=no
5694 DEFAULT_wxUSE_RADIOBOX
=no
5695 DEFAULT_wxUSE_RADIOBTN
=no
5696 DEFAULT_wxUSE_SASH
=no
5697 DEFAULT_wxUSE_SCROLLBAR
=no
5698 DEFAULT_wxUSE_SLIDER
=no
5699 DEFAULT_wxUSE_SPINBTN
=no
5700 DEFAULT_wxUSE_SPINCTRL
=no
5701 DEFAULT_wxUSE_SPLITTER
=no
5702 DEFAULT_wxUSE_STATBMP
=no
5703 DEFAULT_wxUSE_STATBOX
=no
5704 DEFAULT_wxUSE_STATLINE
=no
5705 DEFAULT_wxUSE_STATUSBAR
=no
5706 DEFAULT_wxUSE_TAB_DIALOG
=no
5707 DEFAULT_wxUSE_TOGGLEBTN
=no
5708 DEFAULT_wxUSE_TOOLBAR
=no
5709 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5710 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5711 DEFAULT_wxUSE_TOOLTIPS
=no
5712 DEFAULT_wxUSE_TREECTRL
=no
5713 DEFAULT_wxUSE_POPUPWIN
=no
5714 DEFAULT_wxUSE_TIPWINDOW
=no
5718 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5719 echo "configure:5720: checking for --enable-accel" >&5
5721 # Check whether --enable-accel or --disable-accel was given.
5722 if test "${enable_accel+set}" = set; then
5723 enableval
="$enable_accel"
5725 if test "$enableval" = yes; then
5726 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5728 ac_cv_use_accel
='wxUSE_ACCEL=no'
5733 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5734 if test "x$LINE" != x
; then
5735 eval "DEFAULT_$LINE"
5740 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5745 eval "$ac_cv_use_accel"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5750 if test "$wxUSE_ACCEL" = yes; then
5751 echo "$ac_t""yes" 1>&6
5753 echo "$ac_t""no" 1>&6
5757 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5758 echo "configure:5759: checking for --enable-button" >&5
5760 # Check whether --enable-button or --disable-button was given.
5761 if test "${enable_button+set}" = set; then
5762 enableval
="$enable_button"
5764 if test "$enableval" = yes; then
5765 ac_cv_use_button
='wxUSE_BUTTON=yes'
5767 ac_cv_use_button
='wxUSE_BUTTON=no'
5772 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5773 if test "x$LINE" != x
; then
5774 eval "DEFAULT_$LINE"
5779 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5784 eval "$ac_cv_use_button"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5789 if test "$wxUSE_BUTTON" = yes; then
5790 echo "$ac_t""yes" 1>&6
5792 echo "$ac_t""no" 1>&6
5796 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5797 echo "configure:5798: checking for --enable-bmpbutton" >&5
5799 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5800 if test "${enable_bmpbutton+set}" = set; then
5801 enableval
="$enable_bmpbutton"
5803 if test "$enableval" = yes; then
5804 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5806 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5811 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5812 if test "x$LINE" != x
; then
5813 eval "DEFAULT_$LINE"
5818 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5823 eval "$ac_cv_use_bmpbutton"
5824 if test "$no_cache" != 1; then
5825 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5828 if test "$wxUSE_BMPBUTTON" = yes; then
5829 echo "$ac_t""yes" 1>&6
5831 echo "$ac_t""no" 1>&6
5835 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5836 echo "configure:5837: checking for --enable-calendar" >&5
5838 # Check whether --enable-calendar or --disable-calendar was given.
5839 if test "${enable_calendar+set}" = set; then
5840 enableval
="$enable_calendar"
5842 if test "$enableval" = yes; then
5843 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5845 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5850 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5851 if test "x$LINE" != x
; then
5852 eval "DEFAULT_$LINE"
5857 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5862 eval "$ac_cv_use_calendar"
5863 if test "$no_cache" != 1; then
5864 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5867 if test "$wxUSE_CALCTRL" = yes; then
5868 echo "$ac_t""yes" 1>&6
5870 echo "$ac_t""no" 1>&6
5874 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5875 echo "configure:5876: checking for --enable-caret" >&5
5877 # Check whether --enable-caret or --disable-caret was given.
5878 if test "${enable_caret+set}" = set; then
5879 enableval
="$enable_caret"
5881 if test "$enableval" = yes; then
5882 ac_cv_use_caret
='wxUSE_CARET=yes'
5884 ac_cv_use_caret
='wxUSE_CARET=no'
5889 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5890 if test "x$LINE" != x
; then
5891 eval "DEFAULT_$LINE"
5896 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5901 eval "$ac_cv_use_caret"
5902 if test "$no_cache" != 1; then
5903 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5906 if test "$wxUSE_CARET" = yes; then
5907 echo "$ac_t""yes" 1>&6
5909 echo "$ac_t""no" 1>&6
5913 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5914 echo "configure:5915: checking for --enable-checkbox" >&5
5916 # Check whether --enable-checkbox or --disable-checkbox was given.
5917 if test "${enable_checkbox+set}" = set; then
5918 enableval
="$enable_checkbox"
5920 if test "$enableval" = yes; then
5921 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5923 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5928 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5929 if test "x$LINE" != x
; then
5930 eval "DEFAULT_$LINE"
5935 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5940 eval "$ac_cv_use_checkbox"
5941 if test "$no_cache" != 1; then
5942 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5945 if test "$wxUSE_CHECKBOX" = yes; then
5946 echo "$ac_t""yes" 1>&6
5948 echo "$ac_t""no" 1>&6
5952 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5953 echo "configure:5954: checking for --enable-checklst" >&5
5955 # Check whether --enable-checklst or --disable-checklst was given.
5956 if test "${enable_checklst+set}" = set; then
5957 enableval
="$enable_checklst"
5959 if test "$enableval" = yes; then
5960 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5962 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5967 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x
; then
5969 eval "DEFAULT_$LINE"
5974 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5979 eval "$ac_cv_use_checklst"
5980 if test "$no_cache" != 1; then
5981 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5984 if test "$wxUSE_CHECKLST" = yes; then
5985 echo "$ac_t""yes" 1>&6
5987 echo "$ac_t""no" 1>&6
5991 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5992 echo "configure:5993: checking for --enable-choice" >&5
5994 # Check whether --enable-choice or --disable-choice was given.
5995 if test "${enable_choice+set}" = set; then
5996 enableval
="$enable_choice"
5998 if test "$enableval" = yes; then
5999 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6001 ac_cv_use_choice
='wxUSE_CHOICE=no'
6006 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x
; then
6008 eval "DEFAULT_$LINE"
6013 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6018 eval "$ac_cv_use_choice"
6019 if test "$no_cache" != 1; then
6020 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6023 if test "$wxUSE_CHOICE" = yes; then
6024 echo "$ac_t""yes" 1>&6
6026 echo "$ac_t""no" 1>&6
6030 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6031 echo "configure:6032: checking for --enable-combobox" >&5
6033 # Check whether --enable-combobox or --disable-combobox was given.
6034 if test "${enable_combobox+set}" = set; then
6035 enableval
="$enable_combobox"
6037 if test "$enableval" = yes; then
6038 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6040 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6045 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x
; then
6047 eval "DEFAULT_$LINE"
6052 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6057 eval "$ac_cv_use_combobox"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6062 if test "$wxUSE_COMBOBOX" = yes; then
6063 echo "$ac_t""yes" 1>&6
6065 echo "$ac_t""no" 1>&6
6069 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6070 echo "configure:6071: checking for --enable-gauge" >&5
6072 # Check whether --enable-gauge or --disable-gauge was given.
6073 if test "${enable_gauge+set}" = set; then
6074 enableval
="$enable_gauge"
6076 if test "$enableval" = yes; then
6077 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6079 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6084 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6085 if test "x$LINE" != x
; then
6086 eval "DEFAULT_$LINE"
6091 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6096 eval "$ac_cv_use_gauge"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6101 if test "$wxUSE_GAUGE" = yes; then
6102 echo "$ac_t""yes" 1>&6
6104 echo "$ac_t""no" 1>&6
6108 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6109 echo "configure:6110: checking for --enable-grid" >&5
6111 # Check whether --enable-grid or --disable-grid was given.
6112 if test "${enable_grid+set}" = set; then
6113 enableval
="$enable_grid"
6115 if test "$enableval" = yes; then
6116 ac_cv_use_grid
='wxUSE_GRID=yes'
6118 ac_cv_use_grid
='wxUSE_GRID=no'
6123 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x
; then
6125 eval "DEFAULT_$LINE"
6130 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6135 eval "$ac_cv_use_grid"
6136 if test "$no_cache" != 1; then
6137 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6140 if test "$wxUSE_GRID" = yes; then
6141 echo "$ac_t""yes" 1>&6
6143 echo "$ac_t""no" 1>&6
6147 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6148 echo "configure:6149: checking for --enable-newgrid" >&5
6150 # Check whether --enable-newgrid or --disable-newgrid was given.
6151 if test "${enable_newgrid+set}" = set; then
6152 enableval
="$enable_newgrid"
6154 if test "$enableval" = yes; then
6155 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6157 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6162 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x
; then
6164 eval "DEFAULT_$LINE"
6169 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6174 eval "$ac_cv_use_newgrid"
6175 if test "$no_cache" != 1; then
6176 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6179 if test "$wxUSE_NEW_GRID" = yes; then
6180 echo "$ac_t""yes" 1>&6
6182 echo "$ac_t""no" 1>&6
6186 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6187 echo "configure:6188: checking for --enable-imaglist" >&5
6189 # Check whether --enable-imaglist or --disable-imaglist was given.
6190 if test "${enable_imaglist+set}" = set; then
6191 enableval
="$enable_imaglist"
6193 if test "$enableval" = yes; then
6194 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6196 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6201 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x
; then
6203 eval "DEFAULT_$LINE"
6208 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6213 eval "$ac_cv_use_imaglist"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6218 if test "$wxUSE_IMAGLIST" = yes; then
6219 echo "$ac_t""yes" 1>&6
6221 echo "$ac_t""no" 1>&6
6225 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6226 echo "configure:6227: checking for --enable-listbox" >&5
6228 # Check whether --enable-listbox or --disable-listbox was given.
6229 if test "${enable_listbox+set}" = set; then
6230 enableval
="$enable_listbox"
6232 if test "$enableval" = yes; then
6233 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6235 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6240 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x
; then
6242 eval "DEFAULT_$LINE"
6247 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6252 eval "$ac_cv_use_listbox"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6257 if test "$wxUSE_LISTBOX" = yes; then
6258 echo "$ac_t""yes" 1>&6
6260 echo "$ac_t""no" 1>&6
6264 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6265 echo "configure:6266: checking for --enable-listctrl" >&5
6267 # Check whether --enable-listctrl or --disable-listctrl was given.
6268 if test "${enable_listctrl+set}" = set; then
6269 enableval
="$enable_listctrl"
6271 if test "$enableval" = yes; then
6272 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6274 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6279 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6280 if test "x$LINE" != x
; then
6281 eval "DEFAULT_$LINE"
6286 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6291 eval "$ac_cv_use_listctrl"
6292 if test "$no_cache" != 1; then
6293 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6296 if test "$wxUSE_LISTCTRL" = yes; then
6297 echo "$ac_t""yes" 1>&6
6299 echo "$ac_t""no" 1>&6
6303 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6304 echo "configure:6305: checking for --enable-notebook" >&5
6306 # Check whether --enable-notebook or --disable-notebook was given.
6307 if test "${enable_notebook+set}" = set; then
6308 enableval
="$enable_notebook"
6310 if test "$enableval" = yes; then
6311 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6313 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6318 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x
; then
6320 eval "DEFAULT_$LINE"
6325 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6330 eval "$ac_cv_use_notebook"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6335 if test "$wxUSE_NOTEBOOK" = yes; then
6336 echo "$ac_t""yes" 1>&6
6338 echo "$ac_t""no" 1>&6
6342 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6343 echo "configure:6344: checking for --enable-propsheet" >&5
6345 # Check whether --enable-propsheet or --disable-propsheet was given.
6346 if test "${enable_propsheet+set}" = set; then
6347 enableval
="$enable_propsheet"
6349 if test "$enableval" = yes; then
6350 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6352 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6357 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x
; then
6359 eval "DEFAULT_$LINE"
6364 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6369 eval "$ac_cv_use_propsheet"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6374 if test "$wxUSE_PROPSHEET" = yes; then
6375 echo "$ac_t""yes" 1>&6
6377 echo "$ac_t""no" 1>&6
6381 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6382 echo "configure:6383: checking for --enable-radiobox" >&5
6384 # Check whether --enable-radiobox or --disable-radiobox was given.
6385 if test "${enable_radiobox+set}" = set; then
6386 enableval
="$enable_radiobox"
6388 if test "$enableval" = yes; then
6389 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6391 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6396 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x
; then
6398 eval "DEFAULT_$LINE"
6403 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6408 eval "$ac_cv_use_radiobox"
6409 if test "$no_cache" != 1; then
6410 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6413 if test "$wxUSE_RADIOBOX" = yes; then
6414 echo "$ac_t""yes" 1>&6
6416 echo "$ac_t""no" 1>&6
6420 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6421 echo "configure:6422: checking for --enable-radiobtn" >&5
6423 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6424 if test "${enable_radiobtn+set}" = set; then
6425 enableval
="$enable_radiobtn"
6427 if test "$enableval" = yes; then
6428 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6430 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6435 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6436 if test "x$LINE" != x
; then
6437 eval "DEFAULT_$LINE"
6442 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6447 eval "$ac_cv_use_radiobtn"
6448 if test "$no_cache" != 1; then
6449 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6452 if test "$wxUSE_RADIOBTN" = yes; then
6453 echo "$ac_t""yes" 1>&6
6455 echo "$ac_t""no" 1>&6
6459 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6460 echo "configure:6461: checking for --enable-sash" >&5
6462 # Check whether --enable-sash or --disable-sash was given.
6463 if test "${enable_sash+set}" = set; then
6464 enableval
="$enable_sash"
6466 if test "$enableval" = yes; then
6467 ac_cv_use_sash
='wxUSE_SASH=yes'
6469 ac_cv_use_sash
='wxUSE_SASH=no'
6474 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6475 if test "x$LINE" != x
; then
6476 eval "DEFAULT_$LINE"
6481 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6486 eval "$ac_cv_use_sash"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6491 if test "$wxUSE_SASH" = yes; then
6492 echo "$ac_t""yes" 1>&6
6494 echo "$ac_t""no" 1>&6
6498 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6499 echo "configure:6500: checking for --enable-scrollbar" >&5
6501 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6502 if test "${enable_scrollbar+set}" = set; then
6503 enableval
="$enable_scrollbar"
6505 if test "$enableval" = yes; then
6506 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6508 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6513 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x
; then
6515 eval "DEFAULT_$LINE"
6520 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6525 eval "$ac_cv_use_scrollbar"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6530 if test "$wxUSE_SCROLLBAR" = yes; then
6531 echo "$ac_t""yes" 1>&6
6533 echo "$ac_t""no" 1>&6
6537 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6538 echo "configure:6539: checking for --enable-slider" >&5
6540 # Check whether --enable-slider or --disable-slider was given.
6541 if test "${enable_slider+set}" = set; then
6542 enableval
="$enable_slider"
6544 if test "$enableval" = yes; then
6545 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6547 ac_cv_use_slider
='wxUSE_SLIDER=no'
6552 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6553 if test "x$LINE" != x
; then
6554 eval "DEFAULT_$LINE"
6559 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6564 eval "$ac_cv_use_slider"
6565 if test "$no_cache" != 1; then
6566 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6569 if test "$wxUSE_SLIDER" = yes; then
6570 echo "$ac_t""yes" 1>&6
6572 echo "$ac_t""no" 1>&6
6576 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6577 echo "configure:6578: checking for --enable-spinbtn" >&5
6579 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6580 if test "${enable_spinbtn+set}" = set; then
6581 enableval
="$enable_spinbtn"
6583 if test "$enableval" = yes; then
6584 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6586 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6591 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6592 if test "x$LINE" != x
; then
6593 eval "DEFAULT_$LINE"
6598 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6603 eval "$ac_cv_use_spinbtn"
6604 if test "$no_cache" != 1; then
6605 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6608 if test "$wxUSE_SPINBTN" = yes; then
6609 echo "$ac_t""yes" 1>&6
6611 echo "$ac_t""no" 1>&6
6615 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6616 echo "configure:6617: checking for --enable-spinctrl" >&5
6618 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6619 if test "${enable_spinctrl+set}" = set; then
6620 enableval
="$enable_spinctrl"
6622 if test "$enableval" = yes; then
6623 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6625 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6630 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6631 if test "x$LINE" != x
; then
6632 eval "DEFAULT_$LINE"
6637 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6642 eval "$ac_cv_use_spinctrl"
6643 if test "$no_cache" != 1; then
6644 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6647 if test "$wxUSE_SPINCTRL" = yes; then
6648 echo "$ac_t""yes" 1>&6
6650 echo "$ac_t""no" 1>&6
6654 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6655 echo "configure:6656: checking for --enable-splitter" >&5
6657 # Check whether --enable-splitter or --disable-splitter was given.
6658 if test "${enable_splitter+set}" = set; then
6659 enableval
="$enable_splitter"
6661 if test "$enableval" = yes; then
6662 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6664 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6669 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x
; then
6671 eval "DEFAULT_$LINE"
6676 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6681 eval "$ac_cv_use_splitter"
6682 if test "$no_cache" != 1; then
6683 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6686 if test "$wxUSE_SPLITTER" = yes; then
6687 echo "$ac_t""yes" 1>&6
6689 echo "$ac_t""no" 1>&6
6693 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6694 echo "configure:6695: checking for --enable-statbmp" >&5
6696 # Check whether --enable-statbmp or --disable-statbmp was given.
6697 if test "${enable_statbmp+set}" = set; then
6698 enableval
="$enable_statbmp"
6700 if test "$enableval" = yes; then
6701 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6703 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6708 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x
; then
6710 eval "DEFAULT_$LINE"
6715 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6720 eval "$ac_cv_use_statbmp"
6721 if test "$no_cache" != 1; then
6722 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6725 if test "$wxUSE_STATBMP" = yes; then
6726 echo "$ac_t""yes" 1>&6
6728 echo "$ac_t""no" 1>&6
6732 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6733 echo "configure:6734: checking for --enable-statbox" >&5
6735 # Check whether --enable-statbox or --disable-statbox was given.
6736 if test "${enable_statbox+set}" = set; then
6737 enableval
="$enable_statbox"
6739 if test "$enableval" = yes; then
6740 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6742 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6747 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6748 if test "x$LINE" != x
; then
6749 eval "DEFAULT_$LINE"
6754 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6759 eval "$ac_cv_use_statbox"
6760 if test "$no_cache" != 1; then
6761 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6764 if test "$wxUSE_STATBOX" = yes; then
6765 echo "$ac_t""yes" 1>&6
6767 echo "$ac_t""no" 1>&6
6771 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6772 echo "configure:6773: checking for --enable-statline" >&5
6774 # Check whether --enable-statline or --disable-statline was given.
6775 if test "${enable_statline+set}" = set; then
6776 enableval
="$enable_statline"
6778 if test "$enableval" = yes; then
6779 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6781 ac_cv_use_statline
='wxUSE_STATLINE=no'
6786 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x
; then
6788 eval "DEFAULT_$LINE"
6793 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6798 eval "$ac_cv_use_statline"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6803 if test "$wxUSE_STATLINE" = yes; then
6804 echo "$ac_t""yes" 1>&6
6806 echo "$ac_t""no" 1>&6
6810 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6811 echo "configure:6812: checking for --enable-stattext" >&5
6813 # Check whether --enable-stattext or --disable-stattext was given.
6814 if test "${enable_stattext+set}" = set; then
6815 enableval
="$enable_stattext"
6817 if test "$enableval" = yes; then
6818 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6820 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6825 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6826 if test "x$LINE" != x
; then
6827 eval "DEFAULT_$LINE"
6832 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6837 eval "$ac_cv_use_stattext"
6838 if test "$no_cache" != 1; then
6839 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6842 if test "$wxUSE_STATTEXT" = yes; then
6843 echo "$ac_t""yes" 1>&6
6845 echo "$ac_t""no" 1>&6
6849 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6850 echo "configure:6851: checking for --enable-statusbar" >&5
6852 # Check whether --enable-statusbar or --disable-statusbar was given.
6853 if test "${enable_statusbar+set}" = set; then
6854 enableval
="$enable_statusbar"
6856 if test "$enableval" = yes; then
6857 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6859 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6864 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6865 if test "x$LINE" != x
; then
6866 eval "DEFAULT_$LINE"
6871 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6876 eval "$ac_cv_use_statusbar"
6877 if test "$no_cache" != 1; then
6878 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6881 if test "$wxUSE_STATUSBAR" = yes; then
6882 echo "$ac_t""yes" 1>&6
6884 echo "$ac_t""no" 1>&6
6888 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6889 echo "configure:6890: checking for --enable-tabdialog" >&5
6891 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6892 if test "${enable_tabdialog+set}" = set; then
6893 enableval
="$enable_tabdialog"
6895 if test "$enableval" = yes; then
6896 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6898 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6903 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6904 if test "x$LINE" != x
; then
6905 eval "DEFAULT_$LINE"
6910 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6915 eval "$ac_cv_use_tabdialog"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6920 if test "$wxUSE_TABDIALOG" = yes; then
6921 echo "$ac_t""yes" 1>&6
6923 echo "$ac_t""no" 1>&6
6927 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6928 echo "configure:6929: checking for --enable-textctrl" >&5
6930 # Check whether --enable-textctrl or --disable-textctrl was given.
6931 if test "${enable_textctrl+set}" = set; then
6932 enableval
="$enable_textctrl"
6934 if test "$enableval" = yes; then
6935 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6937 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6942 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x
; then
6944 eval "DEFAULT_$LINE"
6949 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6954 eval "$ac_cv_use_textctrl"
6955 if test "$no_cache" != 1; then
6956 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6959 if test "$wxUSE_TEXTCTRL" = yes; then
6960 echo "$ac_t""yes" 1>&6
6962 echo "$ac_t""no" 1>&6
6966 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6967 echo "configure:6968: checking for --enable-togglebtn" >&5
6969 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6970 if test "${enable_togglebtn+set}" = set; then
6971 enableval
="$enable_togglebtn"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6976 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6981 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x
; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6993 eval "$ac_cv_use_togglebtn"
6994 if test "$no_cache" != 1; then
6995 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6998 if test "$wxUSE_TOGGLEBTN" = yes; then
6999 echo "$ac_t""yes" 1>&6
7001 echo "$ac_t""no" 1>&6
7005 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7006 echo "configure:7007: checking for --enable-toolbar" >&5
7008 # Check whether --enable-toolbar or --disable-toolbar was given.
7009 if test "${enable_toolbar+set}" = set; then
7010 enableval
="$enable_toolbar"
7012 if test "$enableval" = yes; then
7013 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7015 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7020 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7021 if test "x$LINE" != x
; then
7022 eval "DEFAULT_$LINE"
7027 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7032 eval "$ac_cv_use_toolbar"
7033 if test "$no_cache" != 1; then
7034 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7037 if test "$wxUSE_TOOLBAR" = yes; then
7038 echo "$ac_t""yes" 1>&6
7040 echo "$ac_t""no" 1>&6
7044 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7045 echo "configure:7046: checking for --enable-tbarnative" >&5
7047 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7048 if test "${enable_tbarnative+set}" = set; then
7049 enableval
="$enable_tbarnative"
7051 if test "$enableval" = yes; then
7052 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7054 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7059 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x
; then
7061 eval "DEFAULT_$LINE"
7066 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7071 eval "$ac_cv_use_tbarnative"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7077 echo "$ac_t""yes" 1>&6
7079 echo "$ac_t""no" 1>&6
7083 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7084 echo "configure:7085: checking for --enable-tbarsmpl" >&5
7086 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7087 if test "${enable_tbarsmpl+set}" = set; then
7088 enableval
="$enable_tbarsmpl"
7090 if test "$enableval" = yes; then
7091 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7093 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7098 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7099 if test "x$LINE" != x
; then
7100 eval "DEFAULT_$LINE"
7105 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7110 eval "$ac_cv_use_tbarsmpl"
7111 if test "$no_cache" != 1; then
7112 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7115 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7116 echo "$ac_t""yes" 1>&6
7118 echo "$ac_t""no" 1>&6
7122 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7123 echo "configure:7124: checking for --enable-treectrl" >&5
7125 # Check whether --enable-treectrl or --disable-treectrl was given.
7126 if test "${enable_treectrl+set}" = set; then
7127 enableval
="$enable_treectrl"
7129 if test "$enableval" = yes; then
7130 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7132 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7137 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7138 if test "x$LINE" != x
; then
7139 eval "DEFAULT_$LINE"
7144 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7149 eval "$ac_cv_use_treectrl"
7150 if test "$no_cache" != 1; then
7151 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7154 if test "$wxUSE_TREECTRL" = yes; then
7155 echo "$ac_t""yes" 1>&6
7157 echo "$ac_t""no" 1>&6
7161 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7162 echo "configure:7163: checking for --enable-tipwindow" >&5
7164 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7165 if test "${enable_tipwindow+set}" = set; then
7166 enableval
="$enable_tipwindow"
7168 if test "$enableval" = yes; then
7169 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7171 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7176 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7177 if test "x$LINE" != x
; then
7178 eval "DEFAULT_$LINE"
7183 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7188 eval "$ac_cv_use_tipwindow"
7189 if test "$no_cache" != 1; then
7190 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7193 if test "$wxUSE_TIPWINDOW" = yes; then
7194 echo "$ac_t""yes" 1>&6
7196 echo "$ac_t""no" 1>&6
7200 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7201 echo "configure:7202: checking for --enable-popupwin" >&5
7203 # Check whether --enable-popupwin or --disable-popupwin was given.
7204 if test "${enable_popupwin+set}" = set; then
7205 enableval
="$enable_popupwin"
7207 if test "$enableval" = yes; then
7208 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7210 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7215 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7216 if test "x$LINE" != x
; then
7217 eval "DEFAULT_$LINE"
7222 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7227 eval "$ac_cv_use_popupwin"
7228 if test "$no_cache" != 1; then
7229 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7232 if test "$wxUSE_POPUPWIN" = yes; then
7233 echo "$ac_t""yes" 1>&6
7235 echo "$ac_t""no" 1>&6
7241 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7242 echo "configure:7243: checking for --enable-commondlg" >&5
7244 # Check whether --enable-commondlg or --disable-commondlg was given.
7245 if test "${enable_commondlg+set}" = set; then
7246 enableval
="$enable_commondlg"
7248 if test "$enableval" = yes; then
7249 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7251 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7256 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7257 if test "x$LINE" != x
; then
7258 eval "DEFAULT_$LINE"
7263 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7268 eval "$ac_cv_use_commondlg"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7273 if test "$wxUSE_COMMONDLGS" = yes; then
7274 echo "$ac_t""yes" 1>&6
7276 echo "$ac_t""no" 1>&6
7280 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7281 echo "configure:7282: checking for --enable-choicedlg" >&5
7283 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7284 if test "${enable_choicedlg+set}" = set; then
7285 enableval
="$enable_choicedlg"
7287 if test "$enableval" = yes; then
7288 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7290 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7295 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7296 if test "x$LINE" != x
; then
7297 eval "DEFAULT_$LINE"
7302 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7307 eval "$ac_cv_use_choicedlg"
7308 if test "$no_cache" != 1; then
7309 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7312 if test "$wxUSE_CHOICEDLG" = yes; then
7313 echo "$ac_t""yes" 1>&6
7315 echo "$ac_t""no" 1>&6
7319 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7320 echo "configure:7321: checking for --enable-coldlg" >&5
7322 # Check whether --enable-coldlg or --disable-coldlg was given.
7323 if test "${enable_coldlg+set}" = set; then
7324 enableval
="$enable_coldlg"
7326 if test "$enableval" = yes; then
7327 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7329 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7334 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7335 if test "x$LINE" != x
; then
7336 eval "DEFAULT_$LINE"
7341 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7346 eval "$ac_cv_use_coldlg"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7351 if test "$wxUSE_COLOURDLG" = yes; then
7352 echo "$ac_t""yes" 1>&6
7354 echo "$ac_t""no" 1>&6
7358 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7359 echo "configure:7360: checking for --enable-filedlg" >&5
7361 # Check whether --enable-filedlg or --disable-filedlg was given.
7362 if test "${enable_filedlg+set}" = set; then
7363 enableval
="$enable_filedlg"
7365 if test "$enableval" = yes; then
7366 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7368 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7373 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7374 if test "x$LINE" != x
; then
7375 eval "DEFAULT_$LINE"
7380 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7385 eval "$ac_cv_use_filedlg"
7386 if test "$no_cache" != 1; then
7387 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7390 if test "$wxUSE_FILEDLG" = yes; then
7391 echo "$ac_t""yes" 1>&6
7393 echo "$ac_t""no" 1>&6
7397 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7398 echo "configure:7399: checking for --enable-finddlg" >&5
7400 # Check whether --enable-finddlg or --disable-finddlg was given.
7401 if test "${enable_finddlg+set}" = set; then
7402 enableval
="$enable_finddlg"
7404 if test "$enableval" = yes; then
7405 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7407 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7412 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7413 if test "x$LINE" != x
; then
7414 eval "DEFAULT_$LINE"
7419 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7424 eval "$ac_cv_use_finddlg"
7425 if test "$no_cache" != 1; then
7426 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7429 if test "$wxUSE_FINDREPLDLG" = yes; then
7430 echo "$ac_t""yes" 1>&6
7432 echo "$ac_t""no" 1>&6
7436 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7437 echo "configure:7438: checking for --enable-fontdlg" >&5
7439 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7440 if test "${enable_fontdlg+set}" = set; then
7441 enableval
="$enable_fontdlg"
7443 if test "$enableval" = yes; then
7444 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7446 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7451 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7452 if test "x$LINE" != x
; then
7453 eval "DEFAULT_$LINE"
7458 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7463 eval "$ac_cv_use_fontdlg"
7464 if test "$no_cache" != 1; then
7465 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7468 if test "$wxUSE_FONTDLG" = yes; then
7469 echo "$ac_t""yes" 1>&6
7471 echo "$ac_t""no" 1>&6
7475 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7476 echo "configure:7477: checking for --enable-dirdlg" >&5
7478 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7479 if test "${enable_dirdlg+set}" = set; then
7480 enableval
="$enable_dirdlg"
7482 if test "$enableval" = yes; then
7483 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7485 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7490 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7491 if test "x$LINE" != x
; then
7492 eval "DEFAULT_$LINE"
7497 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7502 eval "$ac_cv_use_dirdlg"
7503 if test "$no_cache" != 1; then
7504 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7507 if test "$wxUSE_DIRDLG" = yes; then
7508 echo "$ac_t""yes" 1>&6
7510 echo "$ac_t""no" 1>&6
7514 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7515 echo "configure:7516: checking for --enable-msgdlg" >&5
7517 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7518 if test "${enable_msgdlg+set}" = set; then
7519 enableval
="$enable_msgdlg"
7521 if test "$enableval" = yes; then
7522 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7524 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7529 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7530 if test "x$LINE" != x
; then
7531 eval "DEFAULT_$LINE"
7536 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7541 eval "$ac_cv_use_msgdlg"
7542 if test "$no_cache" != 1; then
7543 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7546 if test "$wxUSE_MSGDLG" = yes; then
7547 echo "$ac_t""yes" 1>&6
7549 echo "$ac_t""no" 1>&6
7553 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7554 echo "configure:7555: checking for --enable-numberdlg" >&5
7556 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7557 if test "${enable_numberdlg+set}" = set; then
7558 enableval
="$enable_numberdlg"
7560 if test "$enableval" = yes; then
7561 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7563 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7568 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7569 if test "x$LINE" != x
; then
7570 eval "DEFAULT_$LINE"
7575 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7580 eval "$ac_cv_use_numberdlg"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7585 if test "$wxUSE_NUMBERDLG" = yes; then
7586 echo "$ac_t""yes" 1>&6
7588 echo "$ac_t""no" 1>&6
7592 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7593 echo "configure:7594: checking for --enable-splash" >&5
7595 # Check whether --enable-splash or --disable-splash was given.
7596 if test "${enable_splash+set}" = set; then
7597 enableval
="$enable_splash"
7599 if test "$enableval" = yes; then
7600 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7602 ac_cv_use_splash
='wxUSE_SPLASH=no'
7607 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7608 if test "x$LINE" != x
; then
7609 eval "DEFAULT_$LINE"
7614 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7619 eval "$ac_cv_use_splash"
7620 if test "$no_cache" != 1; then
7621 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7624 if test "$wxUSE_SPLASH" = yes; then
7625 echo "$ac_t""yes" 1>&6
7627 echo "$ac_t""no" 1>&6
7631 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7632 echo "configure:7633: checking for --enable-textdlg" >&5
7634 # Check whether --enable-textdlg or --disable-textdlg was given.
7635 if test "${enable_textdlg+set}" = set; then
7636 enableval
="$enable_textdlg"
7638 if test "$enableval" = yes; then
7639 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7641 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7646 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7647 if test "x$LINE" != x
; then
7648 eval "DEFAULT_$LINE"
7653 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7658 eval "$ac_cv_use_textdlg"
7659 if test "$no_cache" != 1; then
7660 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7663 if test "$wxUSE_TEXTDLG" = yes; then
7664 echo "$ac_t""yes" 1>&6
7666 echo "$ac_t""no" 1>&6
7670 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7671 echo "configure:7672: checking for --enable-tipdlg" >&5
7673 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7674 if test "${enable_tipdlg+set}" = set; then
7675 enableval
="$enable_tipdlg"
7677 if test "$enableval" = yes; then
7678 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7680 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7685 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7686 if test "x$LINE" != x
; then
7687 eval "DEFAULT_$LINE"
7692 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7697 eval "$ac_cv_use_tipdlg"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7702 if test "$wxUSE_STARTUP_TIPS" = yes; then
7703 echo "$ac_t""yes" 1>&6
7705 echo "$ac_t""no" 1>&6
7709 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7710 echo "configure:7711: checking for --enable-progressdlg" >&5
7712 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7713 if test "${enable_progressdlg+set}" = set; then
7714 enableval
="$enable_progressdlg"
7716 if test "$enableval" = yes; then
7717 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7719 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7724 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x
; then
7726 eval "DEFAULT_$LINE"
7731 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7736 eval "$ac_cv_use_progressdlg"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_PROGRESSDLG" = yes; then
7742 echo "$ac_t""yes" 1>&6
7744 echo "$ac_t""no" 1>&6
7748 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7749 echo "configure:7750: checking for --enable-wizarddlg" >&5
7751 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7752 if test "${enable_wizarddlg+set}" = set; then
7753 enableval
="$enable_wizarddlg"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7758 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7763 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7775 eval "$ac_cv_use_wizarddlg"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7780 if test "$wxUSE_WIZARDDLG" = yes; then
7781 echo "$ac_t""yes" 1>&6
7783 echo "$ac_t""no" 1>&6
7789 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7790 echo "configure:7791: checking for --enable-menus" >&5
7792 # Check whether --enable-menus or --disable-menus was given.
7793 if test "${enable_menus+set}" = set; then
7794 enableval
="$enable_menus"
7796 if test "$enableval" = yes; then
7797 ac_cv_use_menus
='wxUSE_MENUS=yes'
7799 ac_cv_use_menus
='wxUSE_MENUS=no'
7804 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x
; then
7806 eval "DEFAULT_$LINE"
7811 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7816 eval "$ac_cv_use_menus"
7817 if test "$no_cache" != 1; then
7818 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7821 if test "$wxUSE_MENUS" = yes; then
7822 echo "$ac_t""yes" 1>&6
7824 echo "$ac_t""no" 1>&6
7828 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7829 echo "configure:7830: checking for --enable-miniframe" >&5
7831 # Check whether --enable-miniframe or --disable-miniframe was given.
7832 if test "${enable_miniframe+set}" = set; then
7833 enableval
="$enable_miniframe"
7835 if test "$enableval" = yes; then
7836 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7838 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7843 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7844 if test "x$LINE" != x
; then
7845 eval "DEFAULT_$LINE"
7850 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7855 eval "$ac_cv_use_miniframe"
7856 if test "$no_cache" != 1; then
7857 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7860 if test "$wxUSE_MINIFRAME" = yes; then
7861 echo "$ac_t""yes" 1>&6
7863 echo "$ac_t""no" 1>&6
7867 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7868 echo "configure:7869: checking for --enable-tooltips" >&5
7870 # Check whether --enable-tooltips or --disable-tooltips was given.
7871 if test "${enable_tooltips+set}" = set; then
7872 enableval
="$enable_tooltips"
7874 if test "$enableval" = yes; then
7875 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7877 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7882 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x
; then
7884 eval "DEFAULT_$LINE"
7889 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7894 eval "$ac_cv_use_tooltips"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7899 if test "$wxUSE_TOOLTIPS" = yes; then
7900 echo "$ac_t""yes" 1>&6
7902 echo "$ac_t""no" 1>&6
7906 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7907 echo "configure:7908: checking for --enable-splines" >&5
7909 # Check whether --enable-splines or --disable-splines was given.
7910 if test "${enable_splines+set}" = set; then
7911 enableval
="$enable_splines"
7913 if test "$enableval" = yes; then
7914 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7916 ac_cv_use_splines
='wxUSE_SPLINES=no'
7921 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x
; then
7923 eval "DEFAULT_$LINE"
7928 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7933 eval "$ac_cv_use_splines"
7934 if test "$no_cache" != 1; then
7935 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7938 if test "$wxUSE_SPLINES" = yes; then
7939 echo "$ac_t""yes" 1>&6
7941 echo "$ac_t""no" 1>&6
7945 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7946 echo "configure:7947: checking for --enable-validators" >&5
7948 # Check whether --enable-validators or --disable-validators was given.
7949 if test "${enable_validators+set}" = set; then
7950 enableval
="$enable_validators"
7952 if test "$enableval" = yes; then
7953 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7955 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7960 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7961 if test "x$LINE" != x
; then
7962 eval "DEFAULT_$LINE"
7967 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7972 eval "$ac_cv_use_validators"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7977 if test "$wxUSE_VALIDATORS" = yes; then
7978 echo "$ac_t""yes" 1>&6
7980 echo "$ac_t""no" 1>&6
7984 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7985 echo "configure:7986: checking for --enable-busyinfo" >&5
7987 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7988 if test "${enable_busyinfo+set}" = set; then
7989 enableval
="$enable_busyinfo"
7991 if test "$enableval" = yes; then
7992 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7994 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7999 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x
; then
8001 eval "DEFAULT_$LINE"
8006 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8011 eval "$ac_cv_use_busyinfo"
8012 if test "$no_cache" != 1; then
8013 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8016 if test "$wxUSE_BUSYINFO" = yes; then
8017 echo "$ac_t""yes" 1>&6
8019 echo "$ac_t""no" 1>&6
8023 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8024 echo "configure:8025: checking for --enable-joystick" >&5
8026 # Check whether --enable-joystick or --disable-joystick was given.
8027 if test "${enable_joystick+set}" = set; then
8028 enableval
="$enable_joystick"
8030 if test "$enableval" = yes; then
8031 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8033 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8038 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8039 if test "x$LINE" != x
; then
8040 eval "DEFAULT_$LINE"
8045 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8050 eval "$ac_cv_use_joystick"
8051 if test "$no_cache" != 1; then
8052 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8055 if test "$wxUSE_JOYSTICK" = yes; then
8056 echo "$ac_t""yes" 1>&6
8058 echo "$ac_t""no" 1>&6
8062 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8063 echo "configure:8064: checking for --enable-metafile" >&5
8065 # Check whether --enable-metafile or --disable-metafile was given.
8066 if test "${enable_metafile+set}" = set; then
8067 enableval
="$enable_metafile"
8069 if test "$enableval" = yes; then
8070 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8072 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8077 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8078 if test "x$LINE" != x
; then
8079 eval "DEFAULT_$LINE"
8084 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8089 eval "$ac_cv_use_metafile"
8090 if test "$no_cache" != 1; then
8091 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8094 if test "$wxUSE_METAFILE" = yes; then
8095 echo "$ac_t""yes" 1>&6
8097 echo "$ac_t""no" 1>&6
8101 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8102 echo "configure:8103: checking for --enable-dragimage" >&5
8104 # Check whether --enable-dragimage or --disable-dragimage was given.
8105 if test "${enable_dragimage+set}" = set; then
8106 enableval
="$enable_dragimage"
8108 if test "$enableval" = yes; then
8109 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8111 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8116 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8117 if test "x$LINE" != x
; then
8118 eval "DEFAULT_$LINE"
8123 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8128 eval "$ac_cv_use_dragimage"
8129 if test "$no_cache" != 1; then
8130 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8133 if test "$wxUSE_DRAGIMAGE" = yes; then
8134 echo "$ac_t""yes" 1>&6
8136 echo "$ac_t""no" 1>&6
8142 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8143 echo "configure:8144: checking for --enable-palette" >&5
8145 # Check whether --enable-palette or --disable-palette was given.
8146 if test "${enable_palette+set}" = set; then
8147 enableval
="$enable_palette"
8149 if test "$enableval" = yes; then
8150 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8152 ac_cv_use_palette
='wxUSE_PALETTE=no'
8157 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8158 if test "x$LINE" != x
; then
8159 eval "DEFAULT_$LINE"
8164 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8169 eval "$ac_cv_use_palette"
8170 if test "$no_cache" != 1; then
8171 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8174 if test "$wxUSE_PALETTE" = yes; then
8175 echo "$ac_t""yes" 1>&6
8177 echo "$ac_t""no" 1>&6
8181 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8182 echo "configure:8183: checking for --enable-image" >&5
8184 # Check whether --enable-image or --disable-image was given.
8185 if test "${enable_image+set}" = set; then
8186 enableval
="$enable_image"
8188 if test "$enableval" = yes; then
8189 ac_cv_use_image
='wxUSE_IMAGE=yes'
8191 ac_cv_use_image
='wxUSE_IMAGE=no'
8196 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x
; then
8198 eval "DEFAULT_$LINE"
8203 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8208 eval "$ac_cv_use_image"
8209 if test "$no_cache" != 1; then
8210 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8213 if test "$wxUSE_IMAGE" = yes; then
8214 echo "$ac_t""yes" 1>&6
8216 echo "$ac_t""no" 1>&6
8220 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8221 echo "configure:8222: checking for --enable-gif" >&5
8223 # Check whether --enable-gif or --disable-gif was given.
8224 if test "${enable_gif+set}" = set; then
8225 enableval
="$enable_gif"
8227 if test "$enableval" = yes; then
8228 ac_cv_use_gif
='wxUSE_GIF=yes'
8230 ac_cv_use_gif
='wxUSE_GIF=no'
8235 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8236 if test "x$LINE" != x
; then
8237 eval "DEFAULT_$LINE"
8242 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8247 eval "$ac_cv_use_gif"
8248 if test "$no_cache" != 1; then
8249 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8252 if test "$wxUSE_GIF" = yes; then
8253 echo "$ac_t""yes" 1>&6
8255 echo "$ac_t""no" 1>&6
8259 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8260 echo "configure:8261: checking for --enable-pcx" >&5
8262 # Check whether --enable-pcx or --disable-pcx was given.
8263 if test "${enable_pcx+set}" = set; then
8264 enableval
="$enable_pcx"
8266 if test "$enableval" = yes; then
8267 ac_cv_use_pcx
='wxUSE_PCX=yes'
8269 ac_cv_use_pcx
='wxUSE_PCX=no'
8274 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8275 if test "x$LINE" != x
; then
8276 eval "DEFAULT_$LINE"
8281 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8286 eval "$ac_cv_use_pcx"
8287 if test "$no_cache" != 1; then
8288 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8291 if test "$wxUSE_PCX" = yes; then
8292 echo "$ac_t""yes" 1>&6
8294 echo "$ac_t""no" 1>&6
8298 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8299 echo "configure:8300: checking for --enable-iff" >&5
8301 # Check whether --enable-iff or --disable-iff was given.
8302 if test "${enable_iff+set}" = set; then
8303 enableval
="$enable_iff"
8305 if test "$enableval" = yes; then
8306 ac_cv_use_iff
='wxUSE_IFF=yes'
8308 ac_cv_use_iff
='wxUSE_IFF=no'
8313 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x
; then
8315 eval "DEFAULT_$LINE"
8320 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8325 eval "$ac_cv_use_iff"
8326 if test "$no_cache" != 1; then
8327 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8330 if test "$wxUSE_IFF" = yes; then
8331 echo "$ac_t""yes" 1>&6
8333 echo "$ac_t""no" 1>&6
8337 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8338 echo "configure:8339: checking for --enable-pnm" >&5
8340 # Check whether --enable-pnm or --disable-pnm was given.
8341 if test "${enable_pnm+set}" = set; then
8342 enableval
="$enable_pnm"
8344 if test "$enableval" = yes; then
8345 ac_cv_use_pnm
='wxUSE_PNM=yes'
8347 ac_cv_use_pnm
='wxUSE_PNM=no'
8352 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x
; then
8354 eval "DEFAULT_$LINE"
8359 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8364 eval "$ac_cv_use_pnm"
8365 if test "$no_cache" != 1; then
8366 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8369 if test "$wxUSE_PNM" = yes; then
8370 echo "$ac_t""yes" 1>&6
8372 echo "$ac_t""no" 1>&6
8376 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8377 echo "configure:8378: checking for --enable-xpm" >&5
8379 # Check whether --enable-xpm or --disable-xpm was given.
8380 if test "${enable_xpm+set}" = set; then
8381 enableval
="$enable_xpm"
8383 if test "$enableval" = yes; then
8384 ac_cv_use_xpm
='wxUSE_XPM=yes'
8386 ac_cv_use_xpm
='wxUSE_XPM=no'
8391 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x
; then
8393 eval "DEFAULT_$LINE"
8398 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8403 eval "$ac_cv_use_xpm"
8404 if test "$no_cache" != 1; then
8405 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8408 if test "$wxUSE_XPM" = yes; then
8409 echo "$ac_t""yes" 1>&6
8411 echo "$ac_t""no" 1>&6
8415 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8416 echo "configure:8417: checking for --enable-ico_cur" >&5
8418 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8419 if test "${enable_ico_cur+set}" = set; then
8420 enableval
="$enable_ico_cur"
8422 if test "$enableval" = yes; then
8423 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8425 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8430 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8431 if test "x$LINE" != x
; then
8432 eval "DEFAULT_$LINE"
8437 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8442 eval "$ac_cv_use_ico_cur"
8443 if test "$no_cache" != 1; then
8444 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8447 if test "$wxUSE_ICO_CUR" = yes; then
8448 echo "$ac_t""yes" 1>&6
8450 echo "$ac_t""no" 1>&6
8457 echo "saving argument cache $wx_arg_cache_file"
8458 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8462 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8463 echo "configure:8464: checking for toolkit" >&5
8465 if test "$wxUSE_GUI" = "yes"; then
8467 if test "$USE_BEOS" = 1; then
8468 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8471 if test "$TOOLKIT_GIVEN" = 1; then
8472 for toolkit
in `echo $ALL_TOOLKITS`; do
8474 eval "value=\$${var}"
8475 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8478 for toolkit
in `echo $ALL_TOOLKITS`; do
8479 if test "$has_toolkit_in_cache" != 1; then
8480 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8482 var
=DEFAULT_wxUSE_
$toolkit
8484 eval "wxUSE_$toolkit=\$${var}"
8488 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8489 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0}`
8492 *-pc-os2_emx | *-pc-os2-emx )
8493 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8494 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8503 case "$NUM_TOOLKITS" in
8507 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8510 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8513 for toolkit
in `echo $ALL_TOOLKITS`; do
8515 eval "value=\$${var}"
8516 if test "x$value" != x
; then
8517 cache_var
=CACHE_
$toolkit
8518 eval "cache=\$${cache_var}"
8519 if test "$cache" = 1; then
8520 echo "$var=$value" >> ${wx_arg_cache_file}
8522 if test "$value" = 1; then
8523 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8524 echo "$ac_t""$toolkit_echo" 1>&6
8530 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8534 cat > confcache
<<\EOF
8535 # This file is a shell script that caches the results of configure
8536 # tests run on this system so they can be shared between configure
8537 # scripts and configure runs. It is not useful on other systems.
8538 # If it contains results you don't want to keep, you may remove or edit it.
8540 # By default, configure uses ./config.cache as the cache file,
8541 # creating it if it does not exist already. You can give configure
8542 # the --cache-file=FILE option to use a different cache file; that is
8543 # what configure does when it calls configure scripts in
8544 # subdirectories, so they share the cache.
8545 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8546 # config.status only pays attention to the cache file if you give it the
8547 # --recheck option to rerun configure.
8550 # The following way of writing the cache mishandles newlines in values,
8551 # but we know of no workaround that is simple, portable, and efficient.
8552 # So, don't put newlines in cache variables' values.
8553 # Ultrix sh set writes to stderr and can't be redirected directly,
8554 # and sets the high bit in the cache file unless we assign to the vars.
8556 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8558 # `set' does not quote correctly, so add quotes (double-quote substitution
8559 # turns \\\\ into \\, and sed turns \\ into \).
8561 -e "s/'/'\\\\''/g" \
8562 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8565 # `set' quotes correctly as required by POSIX, so do not add quotes.
8566 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8569 if cmp -s $cache_file confcache
; then
8572 if test -w $cache_file; then
8573 echo "updating cache $cache_file"
8574 cat confcache
> $cache_file
8576 echo "not updating unwritable cache $cache_file"
8582 if test "$build" != "$host" ; then
8583 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8587 RANLIB
=$host_alias-ranlib
8588 DLLTOOL
=$host_alias-dlltool
8589 RESCOMP
=$host_alias-windres
8592 STRIP
=$host_alias-strip
8594 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8598 # Extract the first word of "gcc", so it can be a program name with args.
8599 set dummy gcc
; ac_word
=$2
8600 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8601 echo "configure:8602: checking for $ac_word" >&5
8602 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8603 echo $ac_n "(cached) $ac_c" 1>&6
8605 if test -n "$CC"; then
8606 ac_cv_prog_CC
="$CC" # Let the user override the test.
8608 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8610 for ac_dir
in $ac_dummy; do
8611 test -z "$ac_dir" && ac_dir
=.
8612 if test -f $ac_dir/$ac_word; then
8621 if test -n "$CC"; then
8622 echo "$ac_t""$CC" 1>&6
8624 echo "$ac_t""no" 1>&6
8627 if test -z "$CC"; then
8628 # Extract the first word of "cc", so it can be a program name with args.
8629 set dummy cc
; ac_word
=$2
8630 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8631 echo "configure:8632: checking for $ac_word" >&5
8632 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8633 echo $ac_n "(cached) $ac_c" 1>&6
8635 if test -n "$CC"; then
8636 ac_cv_prog_CC
="$CC" # Let the user override the test.
8638 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8641 for ac_dir
in $ac_dummy; do
8642 test -z "$ac_dir" && ac_dir
=.
8643 if test -f $ac_dir/$ac_word; then
8644 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8645 ac_prog_rejected
=yes
8653 if test $ac_prog_rejected = yes; then
8654 # We found a bogon in the path, so make sure we never use it.
8655 set dummy
$ac_cv_prog_CC
8657 if test $# -gt 0; then
8658 # We chose a different compiler from the bogus one.
8659 # However, it has the same basename, so the bogon will be chosen
8660 # first if we set CC to just the basename; use the full file name.
8662 set dummy
"$ac_dir/$ac_word" "$@"
8670 if test -n "$CC"; then
8671 echo "$ac_t""$CC" 1>&6
8673 echo "$ac_t""no" 1>&6
8676 if test -z "$CC"; then
8677 case "`uname -s`" in
8679 # Extract the first word of "cl", so it can be a program name with args.
8680 set dummy cl
; ac_word
=$2
8681 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8682 echo "configure:8683: checking for $ac_word" >&5
8683 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8684 echo $ac_n "(cached) $ac_c" 1>&6
8686 if test -n "$CC"; then
8687 ac_cv_prog_CC
="$CC" # Let the user override the test.
8689 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8691 for ac_dir
in $ac_dummy; do
8692 test -z "$ac_dir" && ac_dir
=.
8693 if test -f $ac_dir/$ac_word; then
8702 if test -n "$CC"; then
8703 echo "$ac_t""$CC" 1>&6
8705 echo "$ac_t""no" 1>&6
8710 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8713 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8714 echo "configure:8715: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8718 ac_cpp
='$CPP $CPPFLAGS'
8719 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8720 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8721 cross_compiling
=$ac_cv_prog_cc_cross
8723 cat > conftest.
$ac_ext << EOF
8725 #line 8726 "configure"
8726 #include "confdefs.h"
8730 if { (eval echo configure
:8731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8731 ac_cv_prog_cc_works
=yes
8732 # If we can't run a trivial program, we are probably using a cross compiler.
8733 if (.
/conftest
; exit) 2>/dev
/null
; then
8734 ac_cv_prog_cc_cross
=no
8736 ac_cv_prog_cc_cross
=yes
8739 echo "configure: failed program was:" >&5
8740 cat conftest.
$ac_ext >&5
8741 ac_cv_prog_cc_works
=no
8745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8746 ac_cpp
='$CPP $CPPFLAGS'
8747 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8748 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8749 cross_compiling
=$ac_cv_prog_cc_cross
8751 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8752 if test $ac_cv_prog_cc_works = no
; then
8753 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8755 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8756 echo "configure:8757: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8757 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8758 cross_compiling
=$ac_cv_prog_cc_cross
8760 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8761 echo "configure:8762: checking whether we are using GNU C" >&5
8762 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8763 echo $ac_n "(cached) $ac_c" 1>&6
8765 cat > conftest.c
<<EOF
8770 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8777 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8779 if test $ac_cv_prog_gcc = yes; then
8785 ac_test_CFLAGS
="${CFLAGS+set}"
8786 ac_save_CFLAGS
="$CFLAGS"
8788 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8789 echo "configure:8790: checking whether ${CC-cc} accepts -g" >&5
8790 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8791 echo $ac_n "(cached) $ac_c" 1>&6
8793 echo 'void f(){}' > conftest.c
8794 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8803 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8804 if test "$ac_test_CFLAGS" = set; then
8805 CFLAGS
="$ac_save_CFLAGS"
8806 elif test $ac_cv_prog_cc_g = yes; then
8807 if test "$GCC" = yes; then
8813 if test "$GCC" = yes; then
8821 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8823 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8824 echo "configure:8825: checking how to run the C preprocessor" >&5
8825 # On Suns, sometimes $CPP names a directory.
8826 if test -n "$CPP" && test -d "$CPP"; then
8829 if test -z "$CPP"; then
8830 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8831 echo $ac_n "(cached) $ac_c" 1>&6
8833 # This must be in double quotes, not single quotes, because CPP may get
8834 # substituted into the Makefile and "${CC-cc}" will confuse make.
8836 # On the NeXT, cc -E runs the code through the compiler's parser,
8837 # not just through cpp.
8838 cat > conftest.
$ac_ext <<EOF
8839 #line 8840 "configure"
8840 #include "confdefs.h"
8844 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8845 { (eval echo configure
:8846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8846 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8847 if test -z "$ac_err"; then
8851 echo "configure: failed program was:" >&5
8852 cat conftest.
$ac_ext >&5
8854 CPP
="${CC-cc} -E -traditional-cpp"
8855 cat > conftest.
$ac_ext <<EOF
8856 #line 8857 "configure"
8857 #include "confdefs.h"
8861 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8862 { (eval echo configure
:8863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8863 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8864 if test -z "$ac_err"; then
8868 echo "configure: failed program was:" >&5
8869 cat conftest.
$ac_ext >&5
8871 CPP
="${CC-cc} -nologo -E"
8872 cat > conftest.
$ac_ext <<EOF
8873 #line 8874 "configure"
8874 #include "confdefs.h"
8878 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8879 { (eval echo configure
:8880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8880 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8881 if test -z "$ac_err"; then
8885 echo "configure: failed program was:" >&5
8886 cat conftest.
$ac_ext >&5
8895 ac_cv_prog_CPP
="$CPP"
8897 CPP
="$ac_cv_prog_CPP"
8899 ac_cv_prog_CPP
="$CPP"
8901 echo "$ac_t""$CPP" 1>&6
8903 if test $ac_cv_prog_gcc = yes; then
8904 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8905 echo "configure:8906: checking whether ${CC-cc} needs -traditional" >&5
8906 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8907 echo $ac_n "(cached) $ac_c" 1>&6
8909 ac_pattern
="Autoconf.*'x'"
8910 cat > conftest.
$ac_ext <<EOF
8911 #line 8912 "configure"
8912 #include "confdefs.h"
8916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8917 egrep "$ac_pattern" >/dev
/null
2>&1; then
8919 ac_cv_prog_gcc_traditional
=yes
8922 ac_cv_prog_gcc_traditional
=no
8927 if test $ac_cv_prog_gcc_traditional = no
; then
8928 cat > conftest.
$ac_ext <<EOF
8929 #line 8930 "configure"
8930 #include "confdefs.h"
8934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8935 egrep "$ac_pattern" >/dev
/null
2>&1; then
8937 ac_cv_prog_gcc_traditional
=yes
8944 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8945 if test $ac_cv_prog_gcc_traditional = yes; then
8946 CC
="$CC -traditional"
8953 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8954 ac_cpp
='$CXXCPP $CPPFLAGS'
8955 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8956 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8957 cross_compiling
=$ac_cv_prog_cxx_cross
8960 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8962 # Extract the first word of "$ac_prog", so it can be a program name with args.
8963 set dummy
$ac_prog; ac_word
=$2
8964 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8965 echo "configure:8966: checking for $ac_word" >&5
8966 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8967 echo $ac_n "(cached) $ac_c" 1>&6
8969 if test -n "$CXX"; then
8970 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8972 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8974 for ac_dir
in $ac_dummy; do
8975 test -z "$ac_dir" && ac_dir
=.
8976 if test -f $ac_dir/$ac_word; then
8977 ac_cv_prog_CXX
="$ac_prog"
8984 CXX
="$ac_cv_prog_CXX"
8985 if test -n "$CXX"; then
8986 echo "$ac_t""$CXX" 1>&6
8988 echo "$ac_t""no" 1>&6
8991 test -n "$CXX" && break
8993 test -n "$CXX" || CXX
="gcc"
8996 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8997 echo "configure:8998: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9000 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9001 ac_cpp
='$CXXCPP $CPPFLAGS'
9002 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9003 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9004 cross_compiling
=$ac_cv_prog_cxx_cross
9006 cat > conftest.
$ac_ext << EOF
9008 #line 9009 "configure"
9009 #include "confdefs.h"
9011 int main(){return(0);}
9013 if { (eval echo configure
:9014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9014 ac_cv_prog_cxx_works
=yes
9015 # If we can't run a trivial program, we are probably using a cross compiler.
9016 if (.
/conftest
; exit) 2>/dev
/null
; then
9017 ac_cv_prog_cxx_cross
=no
9019 ac_cv_prog_cxx_cross
=yes
9022 echo "configure: failed program was:" >&5
9023 cat conftest.
$ac_ext >&5
9024 ac_cv_prog_cxx_works
=no
9028 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9029 ac_cpp
='$CXXCPP $CPPFLAGS'
9030 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9031 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9032 cross_compiling
=$ac_cv_prog_cxx_cross
9034 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9035 if test $ac_cv_prog_cxx_works = no
; then
9036 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9038 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9039 echo "configure:9040: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9040 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9041 cross_compiling
=$ac_cv_prog_cxx_cross
9043 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9044 echo "configure:9045: checking whether we are using GNU C++" >&5
9045 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9046 echo $ac_n "(cached) $ac_c" 1>&6
9048 cat > conftest.C
<<EOF
9053 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9060 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9062 if test $ac_cv_prog_gxx = yes; then
9068 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9069 ac_save_CXXFLAGS
="$CXXFLAGS"
9071 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9072 echo "configure:9073: checking whether ${CXX-g++} accepts -g" >&5
9073 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9074 echo $ac_n "(cached) $ac_c" 1>&6
9076 echo 'void f(){}' > conftest.cc
9077 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9078 ac_cv_prog_cxx_g
=yes
9086 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9087 if test "$ac_test_CXXFLAGS" = set; then
9088 CXXFLAGS
="$ac_save_CXXFLAGS"
9089 elif test $ac_cv_prog_cxx_g = yes; then
9090 if test "$GXX" = yes; then
9096 if test "$GXX" = yes; then
9104 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
9107 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9108 ac_cpp
='$CPP $CPPFLAGS'
9109 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9110 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9111 cross_compiling
=$ac_cv_prog_cc_cross
9114 # Extract the first word of "ranlib", so it can be a program name with args.
9115 set dummy ranlib
; ac_word
=$2
9116 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9117 echo "configure:9118: checking for $ac_word" >&5
9118 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9119 echo $ac_n "(cached) $ac_c" 1>&6
9121 if test -n "$RANLIB"; then
9122 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9124 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9126 for ac_dir
in $ac_dummy; do
9127 test -z "$ac_dir" && ac_dir
=.
9128 if test -f $ac_dir/$ac_word; then
9129 ac_cv_prog_RANLIB
="ranlib"
9134 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9137 RANLIB
="$ac_cv_prog_RANLIB"
9138 if test -n "$RANLIB"; then
9139 echo "$ac_t""$RANLIB" 1>&6
9141 echo "$ac_t""no" 1>&6
9145 # Extract the first word of "ar", so it can be a program name with args.
9146 set dummy
ar; ac_word
=$2
9147 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9148 echo "configure:9149: checking for $ac_word" >&5
9149 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9150 echo $ac_n "(cached) $ac_c" 1>&6
9152 if test -n "$AR"; then
9153 ac_cv_prog_AR
="$AR" # Let the user override the test.
9155 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9157 for ac_dir
in $ac_dummy; do
9158 test -z "$ac_dir" && ac_dir
=.
9159 if test -f $ac_dir/$ac_word; then
9165 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9169 if test -n "$AR"; then
9170 echo "$ac_t""$AR" 1>&6
9172 echo "$ac_t""no" 1>&6
9176 # Find a good install program. We prefer a C program (faster),
9177 # so one script is as good as another. But avoid the broken or
9178 # incompatible versions:
9179 # SysV /etc/install, /usr/sbin/install
9180 # SunOS /usr/etc/install
9181 # IRIX /sbin/install
9183 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9184 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9185 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9186 # ./install, which can be erroneously created by make from ./install.sh.
9187 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9188 echo "configure:9189: checking for a BSD compatible install" >&5
9189 if test -z "$INSTALL"; then
9190 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9191 echo $ac_n "(cached) $ac_c" 1>&6
9193 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9194 for ac_dir
in $PATH; do
9195 # Account for people who put trailing slashes in PATH elements.
9197 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9199 # OSF1 and SCO ODT 3.0 have their own names for install.
9200 # Don't use installbsd from OSF since it installs stuff as root
9202 for ac_prog
in ginstall scoinst
install; do
9203 if test -f $ac_dir/$ac_prog; then
9204 if test $ac_prog = install &&
9205 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9206 # AIX install. It has an incompatible calling convention.
9209 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9220 if test "${ac_cv_path_install+set}" = set; then
9221 INSTALL
="$ac_cv_path_install"
9223 # As a last resort, use the slow shell script. We don't cache a
9224 # path for INSTALL within a source directory, because that will
9225 # break other packages using the cache if that directory is
9226 # removed, or if the path is relative.
9227 INSTALL
="$ac_install_sh"
9230 echo "$ac_t""$INSTALL" 1>&6
9232 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9233 # It thinks the first close brace ends the variable substitution.
9234 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9236 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9238 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9243 INSTALL_PROGRAM
="cp -fp"
9244 INSTALL_DATA
="cp -fp"
9250 # Extract the first word of "strip", so it can be a program name with args.
9251 set dummy strip
; ac_word
=$2
9252 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9253 echo "configure:9254: checking for $ac_word" >&5
9254 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9255 echo $ac_n "(cached) $ac_c" 1>&6
9257 if test -n "$STRIP"; then
9258 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9260 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9262 for ac_dir
in $ac_dummy; do
9263 test -z "$ac_dir" && ac_dir
=.
9264 if test -f $ac_dir/$ac_word; then
9265 ac_cv_prog_STRIP
="strip"
9270 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9273 STRIP
="$ac_cv_prog_STRIP"
9274 if test -n "$STRIP"; then
9275 echo "$ac_t""$STRIP" 1>&6
9277 echo "$ac_t""no" 1>&6
9281 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
9282 echo "configure:9283: checking make for VPATH support" >&5
9283 cat - << EOF > confMake
9289 if test ! -d sub
; then
9292 echo dummy
> sub
/file
9293 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9295 rm -f sub
/file check final_file confMake
9297 if test "$RESULT" = 0; then
9298 echo "$ac_t""yes" 1>&6
9300 echo "$ac_t""no" 1>&6
9301 { echo "configure: error:
9302 You need a make-utility that is able to use the variable
9304 If your version of make does not support VPATH correctly,
9305 please install GNU-make (possibly as gmake), and start
9306 configure with the following command:
9307 export MAKE=gmake; ./configure for sh-type shells
9308 setenv MAKE gmake; ./configure for csh-type shells
9309 Also please do remember to use gmake in this case every time
9310 you are trying to compile.
9314 for ac_prog
in 'bison -y' byacc
9316 # Extract the first word of "$ac_prog", so it can be a program name with args.
9317 set dummy
$ac_prog; ac_word
=$2
9318 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9319 echo "configure:9320: checking for $ac_word" >&5
9320 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9321 echo $ac_n "(cached) $ac_c" 1>&6
9323 if test -n "$YACC"; then
9324 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9326 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9328 for ac_dir
in $ac_dummy; do
9329 test -z "$ac_dir" && ac_dir
=.
9330 if test -f $ac_dir/$ac_word; then
9331 ac_cv_prog_YACC
="$ac_prog"
9338 YACC
="$ac_cv_prog_YACC"
9339 if test -n "$YACC"; then
9340 echo "$ac_t""$YACC" 1>&6
9342 echo "$ac_t""no" 1>&6
9345 test -n "$YACC" && break
9347 test -n "$YACC" || YACC
="yacc"
9350 # Extract the first word of "flex", so it can be a program name with args.
9351 set dummy flex
; ac_word
=$2
9352 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9353 echo "configure:9354: checking for $ac_word" >&5
9354 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9355 echo $ac_n "(cached) $ac_c" 1>&6
9357 if test -n "$LEX"; then
9358 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9360 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9362 for ac_dir
in $ac_dummy; do
9363 test -z "$ac_dir" && ac_dir
=.
9364 if test -f $ac_dir/$ac_word; then
9365 ac_cv_prog_LEX
="flex"
9370 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9373 LEX
="$ac_cv_prog_LEX"
9374 if test -n "$LEX"; then
9375 echo "$ac_t""$LEX" 1>&6
9377 echo "$ac_t""no" 1>&6
9380 if test -z "$LEXLIB"
9386 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9387 echo "configure:9388: checking for yywrap in -l$ac_lib" >&5
9388 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9389 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9390 echo $ac_n "(cached) $ac_c" 1>&6
9392 ac_save_LIBS
="$LIBS"
9393 LIBS
="-l$ac_lib $LIBS"
9394 cat > conftest.
$ac_ext <<EOF
9395 #line 9396 "configure"
9396 #include "confdefs.h"
9397 /* Override any gcc2 internal prototype to avoid an error. */
9398 /* We use char because int might match the return type of a gcc2
9399 builtin and then its argument prototype would still apply. */
9406 if { (eval echo configure
:9407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9408 eval "ac_cv_lib_$ac_lib_var=yes"
9410 echo "configure: failed program was:" >&5
9411 cat conftest.
$ac_ext >&5
9413 eval "ac_cv_lib_$ac_lib_var=no"
9416 LIBS
="$ac_save_LIBS"
9419 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9420 echo "$ac_t""yes" 1>&6
9423 echo "$ac_t""no" 1>&6
9429 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9430 echo "configure:9431: checking whether ln -s works" >&5
9431 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9432 echo $ac_n "(cached) $ac_c" 1>&6
9435 if ln -s X conftestdata
2>/dev
/null
9438 ac_cv_prog_LN_S
="ln -s"
9443 LN_S
="$ac_cv_prog_LN_S"
9444 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9445 echo "$ac_t""yes" 1>&6
9447 echo "$ac_t""no" 1>&6
9453 /usr/local/include \
9455 /usr/Motif-1.2/include \
9456 /usr/Motif-2.1/include \
9458 /usr/include/Motif1.2 \
9459 /opt/xpm/include/X11 \
9460 /opt/GBxpm/include/ \
9461 /opt/GBxpm/X11/include/ \
9463 /usr/Motif1.2/include \
9465 /usr/openwin/include \
9469 /usr/X11R6/include \
9470 /usr/X11R6.4/include \
9471 /usr/X11R5/include \
9472 /usr/X11R4/include \
9474 /usr/include/X11R6 \
9475 /usr/include/X11R5 \
9476 /usr/include/X11R4 \
9478 /usr/local/X11R6/include \
9479 /usr/local/X11R5/include \
9480 /usr/local/X11R4/include \
9482 /usr/local/include/X11R6 \
9483 /usr/local/include/X11R5 \
9484 /usr/local/include/X11R4 \
9488 /usr/local/X11/include \
9489 /usr/local/include/X11 \
9493 /usr/XFree86/include/X11 \
9495 X:/XFree86/include \
9496 X:/XFree86/include/X11 \
9499 /usr/local/include/gtk \
9501 /usr/local/include/glib \
9504 /usr/local/include/qt \
9506 /usr/include/windows \
9508 /usr/local/include/wine \
9510 /usr/unsupported/include \
9511 /usr/athena/include \
9512 /usr/local/x11r5/include \
9513 /usr/lpp/Xamples/include \
9515 /usr/openwin/share/include \
9519 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9522 cat > confcache
<<\EOF
9523 # This file is a shell script that caches the results of configure
9524 # tests run on this system so they can be shared between configure
9525 # scripts and configure runs. It is not useful on other systems.
9526 # If it contains results you don't want to keep, you may remove or edit it.
9528 # By default, configure uses ./config.cache as the cache file,
9529 # creating it if it does not exist already. You can give configure
9530 # the --cache-file=FILE option to use a different cache file; that is
9531 # what configure does when it calls configure scripts in
9532 # subdirectories, so they share the cache.
9533 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9534 # config.status only pays attention to the cache file if you give it the
9535 # --recheck option to rerun configure.
9538 # The following way of writing the cache mishandles newlines in values,
9539 # but we know of no workaround that is simple, portable, and efficient.
9540 # So, don't put newlines in cache variables' values.
9541 # Ultrix sh set writes to stderr and can't be redirected directly,
9542 # and sets the high bit in the cache file unless we assign to the vars.
9544 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9546 # `set' does not quote correctly, so add quotes (double-quote substitution
9547 # turns \\\\ into \\, and sed turns \\ into \).
9549 -e "s/'/'\\\\''/g" \
9550 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9553 # `set' quotes correctly as required by POSIX, so do not add quotes.
9554 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9557 if cmp -s $cache_file confcache
; then
9560 if test -w $cache_file; then
9561 echo "updating cache $cache_file"
9562 cat confcache
> $cache_file
9564 echo "not updating unwritable cache $cache_file"
9573 if test "$wxUSE_REGEX" != "no"; then
9574 cat >> confdefs.h
<<\EOF
9575 #define wxUSE_REGEX 1
9579 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9580 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9581 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9582 echo "configure:9583: checking for regex.h" >&5
9583 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9584 echo $ac_n "(cached) $ac_c" 1>&6
9586 cat > conftest.
$ac_ext <<EOF
9587 #line 9588 "configure"
9588 #include "confdefs.h"
9591 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9592 { (eval echo configure
:9593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9593 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9594 if test -z "$ac_err"; then
9596 eval "ac_cv_header_$ac_safe=yes"
9599 echo "configure: failed program was:" >&5
9600 cat conftest.
$ac_ext >&5
9602 eval "ac_cv_header_$ac_safe=no"
9606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9607 echo "$ac_t""yes" 1>&6
9608 for ac_func
in regcomp
9610 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9611 echo "configure:9612: checking for $ac_func" >&5
9612 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9613 echo $ac_n "(cached) $ac_c" 1>&6
9615 cat > conftest.
$ac_ext <<EOF
9616 #line 9617 "configure"
9617 #include "confdefs.h"
9618 /* System header to define __stub macros and hopefully few prototypes,
9619 which can conflict with char $ac_func(); below. */
9621 /* Override any gcc2 internal prototype to avoid an error. */
9622 /* We use char because int might match the return type of a gcc2
9623 builtin and then its argument prototype would still apply. */
9628 /* The GNU C library defines this for functions which it implements
9629 to always fail with ENOSYS. Some functions are actually named
9630 something starting with __ and the normal name is an alias. */
9631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9639 if { (eval echo configure
:9640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9641 eval "ac_cv_func_$ac_func=yes"
9643 echo "configure: failed program was:" >&5
9644 cat conftest.
$ac_ext >&5
9646 eval "ac_cv_func_$ac_func=no"
9651 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9652 echo "$ac_t""yes" 1>&6
9653 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9654 cat >> confdefs.h
<<EOF
9655 #define $ac_tr_func 1
9659 echo "$ac_t""no" 1>&6
9664 echo "$ac_t""no" 1>&6
9668 if test "x$ac_cv_func_regcomp" != "xyes"; then
9669 if test "$wxUSE_REGEX" = "sys" ; then
9670 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9672 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9680 if test "$wxUSE_REGEX" = "builtin" ; then
9681 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9688 if test "$wxUSE_ZLIB" != "no" ; then
9689 cat >> confdefs.h
<<\EOF
9690 #define wxUSE_ZLIB 1
9694 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9695 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9696 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9697 echo "configure:9698: checking for zlib.h" >&5
9698 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9699 echo $ac_n "(cached) $ac_c" 1>&6
9701 cat > conftest.
$ac_ext <<EOF
9702 #line 9703 "configure"
9703 #include "confdefs.h"
9706 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9707 { (eval echo configure
:9708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9708 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9709 if test -z "$ac_err"; then
9711 eval "ac_cv_header_$ac_safe=yes"
9714 echo "configure: failed program was:" >&5
9715 cat conftest.
$ac_ext >&5
9717 eval "ac_cv_header_$ac_safe=no"
9721 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9722 echo "$ac_t""yes" 1>&6
9723 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9724 echo "configure:9725: checking for deflate in -lz" >&5
9725 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9726 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9727 echo $ac_n "(cached) $ac_c" 1>&6
9729 ac_save_LIBS
="$LIBS"
9731 cat > conftest.
$ac_ext <<EOF
9732 #line 9733 "configure"
9733 #include "confdefs.h"
9734 /* Override any gcc2 internal prototype to avoid an error. */
9735 /* We use char because int might match the return type of a gcc2
9736 builtin and then its argument prototype would still apply. */
9743 if { (eval echo configure
:9744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9745 eval "ac_cv_lib_$ac_lib_var=yes"
9747 echo "configure: failed program was:" >&5
9748 cat conftest.
$ac_ext >&5
9750 eval "ac_cv_lib_$ac_lib_var=no"
9753 LIBS
="$ac_save_LIBS"
9756 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9757 echo "$ac_t""yes" 1>&6
9760 echo "$ac_t""no" 1>&6
9764 echo "$ac_t""no" 1>&6
9768 if test "x$ZLIB_LINK" = "x" ; then
9769 if test "$wxUSE_ZLIB" = "sys" ; then
9770 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9772 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9780 if test "$wxUSE_ZLIB" = "builtin" ; then
9781 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9788 if test "$wxUSE_LIBPNG" != "no" ; then
9789 cat >> confdefs.h
<<\EOF
9790 #define wxUSE_LIBPNG 1
9794 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9795 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9796 wxUSE_LIBPNG
=builtin
9799 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9800 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9801 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9802 echo "configure:9803: checking for png.h" >&5
9803 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9804 echo $ac_n "(cached) $ac_c" 1>&6
9806 cat > conftest.
$ac_ext <<EOF
9807 #line 9808 "configure"
9808 #include "confdefs.h"
9811 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9812 { (eval echo configure
:9813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9813 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9814 if test -z "$ac_err"; then
9816 eval "ac_cv_header_$ac_safe=yes"
9819 echo "configure: failed program was:" >&5
9820 cat conftest.
$ac_ext >&5
9822 eval "ac_cv_header_$ac_safe=no"
9826 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9827 echo "$ac_t""yes" 1>&6
9828 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9829 echo "configure:9830: checking for png_check_sig in -lpng" >&5
9830 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9832 echo $ac_n "(cached) $ac_c" 1>&6
9834 ac_save_LIBS
="$LIBS"
9835 LIBS
="-lpng -lz -lm $LIBS"
9836 cat > conftest.
$ac_ext <<EOF
9837 #line 9838 "configure"
9838 #include "confdefs.h"
9839 /* Override any gcc2 internal prototype to avoid an error. */
9840 /* We use char because int might match the return type of a gcc2
9841 builtin and then its argument prototype would still apply. */
9842 char png_check_sig();
9848 if { (eval echo configure
:9849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9850 eval "ac_cv_lib_$ac_lib_var=yes"
9852 echo "configure: failed program was:" >&5
9853 cat conftest.
$ac_ext >&5
9855 eval "ac_cv_lib_$ac_lib_var=no"
9858 LIBS
="$ac_save_LIBS"
9861 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9862 echo "$ac_t""yes" 1>&6
9865 echo "$ac_t""no" 1>&6
9870 echo "$ac_t""no" 1>&6
9874 if test "x$PNG_LINK" = "x" ; then
9875 if test "$wxUSE_LIBPNG" = "sys" ; then
9876 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9878 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9879 wxUSE_LIBPNG
=builtin
9886 if test "$wxUSE_LIBPNG" = "builtin" ; then
9887 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9896 if test "$wxUSE_LIBJPEG" != "no" ; then
9897 cat >> confdefs.h
<<\EOF
9898 #define wxUSE_LIBJPEG 1
9902 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9903 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9904 echo "configure:9905: checking for jpeglib.h" >&5
9905 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9906 echo $ac_n "(cached) $ac_c" 1>&6
9908 cat > conftest.
$ac_ext <<EOF
9909 #line 9910 "configure"
9910 #include "confdefs.h"
9912 #undef HAVE_STDLIB_H
9914 #include <jpeglib.h>
9921 if { (eval echo configure
:9922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9923 ac_cv_header_jpeglib_h
=yes
9925 echo "configure: failed program was:" >&5
9926 cat conftest.
$ac_ext >&5
9928 ac_cv_header_jpeglib_h
=no
9935 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9937 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9938 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9939 echo "configure:9940: checking for jpeg_read_header in -ljpeg" >&5
9940 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9941 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9942 echo $ac_n "(cached) $ac_c" 1>&6
9944 ac_save_LIBS
="$LIBS"
9946 cat > conftest.
$ac_ext <<EOF
9947 #line 9948 "configure"
9948 #include "confdefs.h"
9949 /* Override any gcc2 internal prototype to avoid an error. */
9950 /* We use char because int might match the return type of a gcc2
9951 builtin and then its argument prototype would still apply. */
9952 char jpeg_read_header();
9958 if { (eval echo configure
:9959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9960 eval "ac_cv_lib_$ac_lib_var=yes"
9962 echo "configure: failed program was:" >&5
9963 cat conftest.
$ac_ext >&5
9965 eval "ac_cv_lib_$ac_lib_var=no"
9968 LIBS
="$ac_save_LIBS"
9971 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9972 echo "$ac_t""yes" 1>&6
9975 echo "$ac_t""no" 1>&6
9980 if test "x$JPEG_LINK" = "x" ; then
9981 if test "$wxUSE_LIBJPEG" = "sys" ; then
9982 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9984 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9985 wxUSE_LIBJPEG
=builtin
9992 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9993 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10000 if test "$wxUSE_LIBTIFF" != "no" ; then
10001 cat >> confdefs.h
<<\EOF
10002 #define wxUSE_LIBTIFF 1
10006 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
10007 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10008 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10009 echo "configure:10010: checking for tiffio.h" >&5
10010 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10011 echo $ac_n "(cached) $ac_c" 1>&6
10013 cat > conftest.
$ac_ext <<EOF
10014 #line 10015 "configure"
10015 #include "confdefs.h"
10016 #include <tiffio.h>
10018 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10019 { (eval echo configure
:10020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10020 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10021 if test -z "$ac_err"; then
10023 eval "ac_cv_header_$ac_safe=yes"
10026 echo "configure: failed program was:" >&5
10027 cat conftest.
$ac_ext >&5
10029 eval "ac_cv_header_$ac_safe=no"
10033 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10034 echo "$ac_t""yes" 1>&6
10035 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
10036 echo "configure:10037: checking for TIFFError in -ltiff" >&5
10037 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
10038 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10039 echo $ac_n "(cached) $ac_c" 1>&6
10041 ac_save_LIBS
="$LIBS"
10042 LIBS
="-ltiff -lm $LIBS"
10043 cat > conftest.
$ac_ext <<EOF
10044 #line 10045 "configure"
10045 #include "confdefs.h"
10046 /* Override any gcc2 internal prototype to avoid an error. */
10047 /* We use char because int might match the return type of a gcc2
10048 builtin and then its argument prototype would still apply. */
10055 if { (eval echo configure
:10056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10057 eval "ac_cv_lib_$ac_lib_var=yes"
10059 echo "configure: failed program was:" >&5
10060 cat conftest.
$ac_ext >&5
10062 eval "ac_cv_lib_$ac_lib_var=no"
10065 LIBS
="$ac_save_LIBS"
10068 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10069 echo "$ac_t""yes" 1>&6
10070 TIFF_LINK
=" -ltiff"
10072 echo "$ac_t""no" 1>&6
10077 echo "$ac_t""no" 1>&6
10081 if test "x$TIFF_LINK" = "x" ; then
10082 if test "$wxUSE_LIBTIFF" = "sys" ; then
10083 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10085 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10086 wxUSE_LIBTIFF
=builtin
10093 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10094 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
10101 if test "$wxUSE_FREETYPE" != "no" ; then
10102 cat >> confdefs.h
<<\EOF
10103 #define wxUSE_FREETYPE 1
10107 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
10108 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
10109 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
10110 echo "configure:10111: checking for freetype.h" >&5
10111 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10112 echo $ac_n "(cached) $ac_c" 1>&6
10114 cat > conftest.
$ac_ext <<EOF
10115 #line 10116 "configure"
10116 #include "confdefs.h"
10117 #include <freetype.h>
10119 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10120 { (eval echo configure
:10121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10121 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10122 if test -z "$ac_err"; then
10124 eval "ac_cv_header_$ac_safe=yes"
10127 echo "configure: failed program was:" >&5
10128 cat conftest.
$ac_ext >&5
10130 eval "ac_cv_header_$ac_safe=no"
10134 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10135 echo "$ac_t""yes" 1>&6
10136 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
10137 echo "configure:10138: checking for FT_Render_Glyph in -lfreetype" >&5
10138 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
10139 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10140 echo $ac_n "(cached) $ac_c" 1>&6
10142 ac_save_LIBS
="$LIBS"
10143 LIBS
="-lfreetype -lm $LIBS"
10144 cat > conftest.
$ac_ext <<EOF
10145 #line 10146 "configure"
10146 #include "confdefs.h"
10147 /* Override any gcc2 internal prototype to avoid an error. */
10148 /* We use char because int might match the return type of a gcc2
10149 builtin and then its argument prototype would still apply. */
10150 char FT_Render_Glyph();
10156 if { (eval echo configure
:10157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10158 eval "ac_cv_lib_$ac_lib_var=yes"
10160 echo "configure: failed program was:" >&5
10161 cat conftest.
$ac_ext >&5
10163 eval "ac_cv_lib_$ac_lib_var=no"
10166 LIBS
="$ac_save_LIBS"
10169 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10170 echo "$ac_t""yes" 1>&6
10171 FREETYPE_LINK
=" -lfreetype"
10173 echo "$ac_t""no" 1>&6
10178 echo "$ac_t""no" 1>&6
10182 if test "x$FREETYPE_LINK" = "x" ; then
10183 if test "$wxUSE_FREETYPE" = "sys" ; then
10184 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
10186 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
10187 wxUSE_FREETYPE
=builtin
10194 if test "$wxUSE_FREETYPE" = "builtin" ; then
10195 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
10206 if test "$USE_WIN32" = 1 ; then
10207 for ac_hdr
in w32api.h
10209 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10210 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10211 echo "configure:10212: checking for $ac_hdr" >&5
10212 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10213 echo $ac_n "(cached) $ac_c" 1>&6
10215 cat > conftest.
$ac_ext <<EOF
10216 #line 10217 "configure"
10217 #include "confdefs.h"
10220 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10221 { (eval echo configure
:10222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10222 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10223 if test -z "$ac_err"; then
10225 eval "ac_cv_header_$ac_safe=yes"
10228 echo "configure: failed program was:" >&5
10229 cat conftest.
$ac_ext >&5
10231 eval "ac_cv_header_$ac_safe=no"
10235 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10236 echo "$ac_t""yes" 1>&6
10237 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10238 cat >> confdefs.h
<<EOF
10239 #define $ac_tr_hdr 1
10243 echo "$ac_t""no" 1>&6
10247 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10248 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10249 echo "configure:10250: checking for windows.h" >&5
10250 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10251 echo $ac_n "(cached) $ac_c" 1>&6
10253 cat > conftest.
$ac_ext <<EOF
10254 #line 10255 "configure"
10255 #include "confdefs.h"
10256 #include <windows.h>
10258 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10259 { (eval echo configure
:10260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10260 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10261 if test -z "$ac_err"; then
10263 eval "ac_cv_header_$ac_safe=yes"
10266 echo "configure: failed program was:" >&5
10267 cat conftest.
$ac_ext >&5
10269 eval "ac_cv_header_$ac_safe=no"
10273 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10274 echo "$ac_t""yes" 1>&6
10277 echo "$ac_t""no" 1>&6
10279 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10284 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10285 echo "configure:10286: checking if w32api has good enough MSIE support" >&5
10286 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10287 echo $ac_n "(cached) $ac_c" 1>&6
10290 cat > conftest.
$ac_ext <<EOF
10291 #line 10292 "configure"
10292 #include "confdefs.h"
10293 #include <w32api.h>
10296 #define wxCHECK_W32API_VERSION( major, minor ) \
10297 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10298 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10299 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10301 #if !wxCHECK_W32API_VERSION(1,1)
10302 #error You need w32api 1.1 or newer
10307 if { (eval echo configure
:10308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10310 wx_cv_w32api_win32_ie
=yes
10313 echo "configure: failed program was:" >&5
10314 cat conftest.
$ac_ext >&5
10317 wx_cv_w32api_win32_ie
=no
10324 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10325 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10326 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10329 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10333 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10334 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10337 if test "$wxUSE_ODBC" = "yes" ; then
10338 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10341 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10342 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10345 if test "$wxUSE_GUI" = "yes"; then
10354 if test "$wxUSE_MSW" = 1 ; then
10360 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10364 if test "$wxUSE_GTK" = 1; then
10365 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10366 echo "configure:10367: checking for GTK+ version" >&5
10368 gtk_version_cached
=1
10369 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10370 echo $ac_n "(cached) $ac_c" 1>&6
10373 gtk_version_cached
=0
10374 echo "$ac_t""" 1>&6
10377 if test "$wxUSE_THREADS" = "yes"; then
10378 GTK_MODULES
=gthread
10382 if test "x$wxUSE_GTK2" = "xyes"; then
10383 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10384 if test "${with_gtk_prefix+set}" = set; then
10385 withval
="$with_gtk_prefix"
10386 gtk_config_prefix
="$withval"
10388 gtk_config_prefix
=""
10391 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10392 if test "${with_gtk_exec_prefix+set}" = set; then
10393 withval
="$with_gtk_exec_prefix"
10394 gtk_config_exec_prefix
="$withval"
10396 gtk_config_exec_prefix
=""
10399 # Check whether --enable-gtktest or --disable-gtktest was given.
10400 if test "${enable_gtktest+set}" = set; then
10401 enableval
="$enable_gtktest"
10408 for module
in .
$GTK_MODULES
10412 gtk_config_args
="$gtk_config_args gthread"
10417 if test x
$gtk_config_exec_prefix != x
; then
10418 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10419 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10420 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
10423 if test x
$gtk_config_prefix != x
; then
10424 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10425 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10426 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
10430 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10431 set dummy gtk
-config-2.0
; ac_word
=$2
10432 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10433 echo "configure:10434: checking for $ac_word" >&5
10434 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10435 echo $ac_n "(cached) $ac_c" 1>&6
10437 case "$GTK_CONFIG_2_0" in
10439 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10442 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10445 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10447 for ac_dir
in $ac_dummy; do
10448 test -z "$ac_dir" && ac_dir
=.
10449 if test -f $ac_dir/$ac_word; then
10450 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
10455 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
10459 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
10460 if test -n "$GTK_CONFIG_2_0"; then
10461 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10463 echo "$ac_t""no" 1>&6
10466 min_gtk_version
=1.3.1
10467 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10468 echo "configure:10469: checking for GTK - version >= $min_gtk_version" >&5
10470 if test "$GTK_CONFIG_2_0" = "no" ; then
10473 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10474 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10475 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10477 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10479 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10480 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10481 if test "x$enable_gtktest" = "xyes" ; then
10482 ac_save_CFLAGS
="$CFLAGS"
10483 ac_save_LIBS
="$LIBS"
10484 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10485 LIBS
="$GTK_LIBS $LIBS"
10487 if test "$cross_compiling" = yes; then
10488 echo $ac_n "cross compiling; assumed OK... $ac_c"
10490 cat > conftest.
$ac_ext <<EOF
10491 #line 10492 "configure"
10492 #include "confdefs.h"
10494 #include <gtk/gtk.h>
10496 #include <stdlib.h>
10501 int major, minor, micro;
10504 system ("touch conf.gtktest");
10506 /* HP/UX 9 (%@#!) writes to sscanf strings */
10507 tmp_version = g_strdup("$min_gtk_version");
10508 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10509 printf("%s, bad version string\n", "$min_gtk_version");
10513 if ((gtk_major_version != $gtk_config_major_version) ||
10514 (gtk_minor_version != $gtk_config_minor_version) ||
10515 (gtk_micro_version != $gtk_config_micro_version))
10517 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10518 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10519 gtk_major_version, gtk_minor_version, gtk_micro_version);
10520 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10521 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10522 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10523 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10524 printf("*** required on your system.\n");
10525 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10526 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10527 printf("*** before re-running configure\n");
10529 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10530 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10531 (gtk_minor_version != GTK_MINOR_VERSION) ||
10532 (gtk_micro_version != GTK_MICRO_VERSION))
10534 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10535 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10536 printf("*** library (version %d.%d.%d)\n",
10537 gtk_major_version, gtk_minor_version, gtk_micro_version);
10539 #endif /* defined (GTK_MAJOR_VERSION) ... */
10542 if ((gtk_major_version > major) ||
10543 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10544 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10550 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10551 gtk_major_version, gtk_minor_version, gtk_micro_version);
10552 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10553 major, minor, micro);
10554 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10556 printf("*** If you have already installed a sufficiently new version, this error\n");
10557 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10558 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10559 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10560 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10561 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10562 printf("*** so that the correct libraries are found at run-time))\n");
10569 if { (eval echo configure
:10570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10573 echo "configure: failed program was:" >&5
10574 cat conftest.
$ac_ext >&5
10581 CFLAGS
="$ac_save_CFLAGS"
10582 LIBS
="$ac_save_LIBS"
10585 if test "x$no_gtk" = x
; then
10586 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10589 echo "$ac_t""no" 1>&6
10590 if test "$GTK_CONFIG_2_0" = "no" ; then
10591 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10592 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10593 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10594 echo "*** full path to gtk-config-2.0."
10596 if test -f conf.gtktest
; then
10599 echo "*** Could not run GTK test program, checking why..."
10600 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10601 LIBS
="$LIBS $GTK_LIBS"
10602 cat > conftest.
$ac_ext <<EOF
10603 #line 10604 "configure"
10604 #include "confdefs.h"
10606 #include <gtk/gtk.h>
10610 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10613 if { (eval echo configure
:10614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10615 echo "*** The test program compiled, but did not run. This usually means"
10616 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10617 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10618 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10619 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10620 echo "*** is required on your system"
10622 echo "*** If you have an old version installed, it is best to remove it, although"
10623 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10625 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10626 echo "*** came with the system with the command"
10628 echo "*** rpm --erase --nodeps gtk gtk-devel"
10630 echo "configure: failed program was:" >&5
10631 cat conftest.
$ac_ext >&5
10633 echo "*** The test program failed to compile or link. See the file config.log for the"
10634 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10635 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10636 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10639 CFLAGS
="$ac_save_CFLAGS"
10640 LIBS
="$ac_save_LIBS"
10653 if test -z "$wx_cv_lib_gtk"; then
10654 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10655 if test "${with_gtk_prefix+set}" = set; then
10656 withval
="$with_gtk_prefix"
10657 gtk_config_prefix
="$withval"
10659 gtk_config_prefix
=""
10662 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10663 if test "${with_gtk_exec_prefix+set}" = set; then
10664 withval
="$with_gtk_exec_prefix"
10665 gtk_config_exec_prefix
="$withval"
10667 gtk_config_exec_prefix
=""
10670 # Check whether --enable-gtktest or --disable-gtktest was given.
10671 if test "${enable_gtktest+set}" = set; then
10672 enableval
="$enable_gtktest"
10679 for module
in .
$GTK_MODULES
10683 gtk_config_args
="$gtk_config_args gthread"
10688 if test x
$gtk_config_exec_prefix != x
; then
10689 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10690 if test x
${GTK_CONFIG+set} != xset
; then
10691 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10694 if test x
$gtk_config_prefix != x
; then
10695 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10696 if test x
${GTK_CONFIG+set} != xset
; then
10697 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10701 # Extract the first word of "gtk-config", so it can be a program name with args.
10702 set dummy gtk
-config; ac_word
=$2
10703 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10704 echo "configure:10705: checking for $ac_word" >&5
10705 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10706 echo $ac_n "(cached) $ac_c" 1>&6
10708 case "$GTK_CONFIG" in
10710 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10713 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10716 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10718 for ac_dir
in $ac_dummy; do
10719 test -z "$ac_dir" && ac_dir
=.
10720 if test -f $ac_dir/$ac_word; then
10721 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10726 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10730 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10731 if test -n "$GTK_CONFIG"; then
10732 echo "$ac_t""$GTK_CONFIG" 1>&6
10734 echo "$ac_t""no" 1>&6
10737 min_gtk_version
=1.2.7
10738 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10739 echo "configure:10740: checking for GTK - version >= $min_gtk_version" >&5
10741 if test "$GTK_CONFIG" = "no" ; then
10744 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10745 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10746 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10747 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10748 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10749 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10750 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10751 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10752 if test "x$enable_gtktest" = "xyes" ; then
10753 ac_save_CFLAGS
="$CFLAGS"
10754 ac_save_LIBS
="$LIBS"
10755 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10756 LIBS
="$GTK_LIBS $LIBS"
10758 if test "$cross_compiling" = yes; then
10759 echo $ac_n "cross compiling; assumed OK... $ac_c"
10761 cat > conftest.
$ac_ext <<EOF
10762 #line 10763 "configure"
10763 #include "confdefs.h"
10765 #include <gtk/gtk.h>
10767 #include <stdlib.h>
10772 int major, minor, micro;
10775 system ("touch conf.gtktest");
10777 /* HP/UX 9 (%@#!) writes to sscanf strings */
10778 tmp_version = g_strdup("$min_gtk_version");
10779 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10780 printf("%s, bad version string\n", "$min_gtk_version");
10784 if ((gtk_major_version != $gtk_config_major_version) ||
10785 (gtk_minor_version != $gtk_config_minor_version) ||
10786 (gtk_micro_version != $gtk_config_micro_version))
10788 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10789 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10790 gtk_major_version, gtk_minor_version, gtk_micro_version);
10791 printf ("*** was found! If gtk-config was correct, then it is best\n");
10792 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10793 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10794 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10795 printf("*** required on your system.\n");
10796 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10797 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10798 printf("*** before re-running configure\n");
10800 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10801 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10802 (gtk_minor_version != GTK_MINOR_VERSION) ||
10803 (gtk_micro_version != GTK_MICRO_VERSION))
10805 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10806 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10807 printf("*** library (version %d.%d.%d)\n",
10808 gtk_major_version, gtk_minor_version, gtk_micro_version);
10810 #endif /* defined (GTK_MAJOR_VERSION) ... */
10813 if ((gtk_major_version > major) ||
10814 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10815 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10821 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10822 gtk_major_version, gtk_minor_version, gtk_micro_version);
10823 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10824 major, minor, micro);
10825 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10827 printf("*** If you have already installed a sufficiently new version, this error\n");
10828 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10829 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10830 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10831 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10832 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10833 printf("*** so that the correct libraries are found at run-time))\n");
10840 if { (eval echo configure
:10841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10844 echo "configure: failed program was:" >&5
10845 cat conftest.
$ac_ext >&5
10852 CFLAGS
="$ac_save_CFLAGS"
10853 LIBS
="$ac_save_LIBS"
10856 if test "x$no_gtk" = x
; then
10857 echo "$ac_t""yes" 1>&6
10858 wx_cv_lib_gtk
=1.2.7
10860 echo "$ac_t""no" 1>&6
10861 if test "$GTK_CONFIG" = "no" ; then
10862 echo "*** The gtk-config script installed by GTK could not be found"
10863 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10864 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10865 echo "*** full path to gtk-config."
10867 if test -f conf.gtktest
; then
10870 echo "*** Could not run GTK test program, checking why..."
10871 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10872 LIBS
="$LIBS $GTK_LIBS"
10873 cat > conftest.
$ac_ext <<EOF
10874 #line 10875 "configure"
10875 #include "confdefs.h"
10877 #include <gtk/gtk.h>
10881 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10884 if { (eval echo configure
:10885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10886 echo "*** The test program compiled, but did not run. This usually means"
10887 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10888 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10889 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10890 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10891 echo "*** is required on your system"
10893 echo "*** If you have an old version installed, it is best to remove it, although"
10894 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10896 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10897 echo "*** came with the system with the command"
10899 echo "*** rpm --erase --nodeps gtk gtk-devel"
10901 echo "configure: failed program was:" >&5
10902 cat conftest.
$ac_ext >&5
10904 echo "*** The test program failed to compile or link. See the file config.log for the"
10905 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10906 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10907 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10910 CFLAGS
="$ac_save_CFLAGS"
10911 LIBS
="$ac_save_LIBS"
10924 if test -z "$wx_cv_lib_gtk"; then
10925 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10926 if test "${with_gtk_prefix+set}" = set; then
10927 withval
="$with_gtk_prefix"
10928 gtk_config_prefix
="$withval"
10930 gtk_config_prefix
=""
10933 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10934 if test "${with_gtk_exec_prefix+set}" = set; then
10935 withval
="$with_gtk_exec_prefix"
10936 gtk_config_exec_prefix
="$withval"
10938 gtk_config_exec_prefix
=""
10941 # Check whether --enable-gtktest or --disable-gtktest was given.
10942 if test "${enable_gtktest+set}" = set; then
10943 enableval
="$enable_gtktest"
10950 for module
in .
$GTK_MODULES
10954 gtk_config_args
="$gtk_config_args gthread"
10959 if test x
$gtk_config_exec_prefix != x
; then
10960 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10961 if test x
${GTK_CONFIG+set} != xset
; then
10962 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10965 if test x
$gtk_config_prefix != x
; then
10966 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10967 if test x
${GTK_CONFIG+set} != xset
; then
10968 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10972 # Extract the first word of "gtk-config", so it can be a program name with args.
10973 set dummy gtk
-config; ac_word
=$2
10974 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10975 echo "configure:10976: checking for $ac_word" >&5
10976 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10977 echo $ac_n "(cached) $ac_c" 1>&6
10979 case "$GTK_CONFIG" in
10981 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10984 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10987 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10989 for ac_dir
in $ac_dummy; do
10990 test -z "$ac_dir" && ac_dir
=.
10991 if test -f $ac_dir/$ac_word; then
10992 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10997 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
11001 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
11002 if test -n "$GTK_CONFIG"; then
11003 echo "$ac_t""$GTK_CONFIG" 1>&6
11005 echo "$ac_t""no" 1>&6
11008 min_gtk_version
=1.2.3
11009 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
11010 echo "configure:11011: checking for GTK - version >= $min_gtk_version" >&5
11012 if test "$GTK_CONFIG" = "no" ; then
11015 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
11016 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
11017 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
11018 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11019 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
11020 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11021 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
11022 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11023 if test "x$enable_gtktest" = "xyes" ; then
11024 ac_save_CFLAGS
="$CFLAGS"
11025 ac_save_LIBS
="$LIBS"
11026 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11027 LIBS
="$GTK_LIBS $LIBS"
11029 if test "$cross_compiling" = yes; then
11030 echo $ac_n "cross compiling; assumed OK... $ac_c"
11032 cat > conftest.
$ac_ext <<EOF
11033 #line 11034 "configure"
11034 #include "confdefs.h"
11036 #include <gtk/gtk.h>
11038 #include <stdlib.h>
11043 int major, minor, micro;
11046 system ("touch conf.gtktest");
11048 /* HP/UX 9 (%@#!) writes to sscanf strings */
11049 tmp_version = g_strdup("$min_gtk_version");
11050 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11051 printf("%s, bad version string\n", "$min_gtk_version");
11055 if ((gtk_major_version != $gtk_config_major_version) ||
11056 (gtk_minor_version != $gtk_config_minor_version) ||
11057 (gtk_micro_version != $gtk_config_micro_version))
11059 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11060 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11061 gtk_major_version, gtk_minor_version, gtk_micro_version);
11062 printf ("*** was found! If gtk-config was correct, then it is best\n");
11063 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11064 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11065 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11066 printf("*** required on your system.\n");
11067 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
11068 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
11069 printf("*** before re-running configure\n");
11071 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
11072 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11073 (gtk_minor_version != GTK_MINOR_VERSION) ||
11074 (gtk_micro_version != GTK_MICRO_VERSION))
11076 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11077 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11078 printf("*** library (version %d.%d.%d)\n",
11079 gtk_major_version, gtk_minor_version, gtk_micro_version);
11081 #endif /* defined (GTK_MAJOR_VERSION) ... */
11084 if ((gtk_major_version > major) ||
11085 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11086 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11092 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11093 gtk_major_version, gtk_minor_version, gtk_micro_version);
11094 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11095 major, minor, micro);
11096 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11098 printf("*** If you have already installed a sufficiently new version, this error\n");
11099 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11100 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11101 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11102 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11103 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11104 printf("*** so that the correct libraries are found at run-time))\n");
11111 if { (eval echo configure
:11112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11115 echo "configure: failed program was:" >&5
11116 cat conftest.
$ac_ext >&5
11123 CFLAGS
="$ac_save_CFLAGS"
11124 LIBS
="$ac_save_LIBS"
11127 if test "x$no_gtk" = x
; then
11128 echo "$ac_t""yes" 1>&6
11129 wx_cv_lib_gtk
=1.2.3
11131 echo "$ac_t""no" 1>&6
11132 if test "$GTK_CONFIG" = "no" ; then
11133 echo "*** The gtk-config script installed by GTK could not be found"
11134 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11135 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11136 echo "*** full path to gtk-config."
11138 if test -f conf.gtktest
; then
11141 echo "*** Could not run GTK test program, checking why..."
11142 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11143 LIBS
="$LIBS $GTK_LIBS"
11144 cat > conftest.
$ac_ext <<EOF
11145 #line 11146 "configure"
11146 #include "confdefs.h"
11148 #include <gtk/gtk.h>
11152 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11155 if { (eval echo configure
:11156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11157 echo "*** The test program compiled, but did not run. This usually means"
11158 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11159 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11160 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11161 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11162 echo "*** is required on your system"
11164 echo "*** If you have an old version installed, it is best to remove it, although"
11165 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11167 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11168 echo "*** came with the system with the command"
11170 echo "*** rpm --erase --nodeps gtk gtk-devel"
11172 echo "configure: failed program was:" >&5
11173 cat conftest.
$ac_ext >&5
11175 echo "*** The test program failed to compile or link. See the file config.log for the"
11176 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11177 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11178 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11181 CFLAGS
="$ac_save_CFLAGS"
11182 LIBS
="$ac_save_LIBS"
11195 if test -z "$wx_cv_lib_gtk"; then
11198 wx_cv_cflags_gtk
=$GTK_CFLAGS
11199 wx_cv_libs_gtk
=$GTK_LIBS
11206 if test "$gtk_version_cached" = 1; then
11207 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11210 case "$wx_cv_lib_gtk" in
11218 *) { echo "configure: error:
11219 Please check that gtk-config is in path, the directory
11220 where GTK+ libraries are installed (returned by
11221 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11222 equivalent variable and GTK+ is version 1.2.3 or above.
11227 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
11228 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
11230 AFMINSTALL
=afminstall
11234 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11235 echo "configure:11236: checking for gdk_im_open in -lgdk" >&5
11236 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11237 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11238 echo $ac_n "(cached) $ac_c" 1>&6
11240 ac_save_LIBS
="$LIBS"
11242 cat > conftest.
$ac_ext <<EOF
11243 #line 11244 "configure"
11244 #include "confdefs.h"
11245 /* Override any gcc2 internal prototype to avoid an error. */
11246 /* We use char because int might match the return type of a gcc2
11247 builtin and then its argument prototype would still apply. */
11248 char gdk_im_open();
11254 if { (eval echo configure
:11255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11256 eval "ac_cv_lib_$ac_lib_var=yes"
11258 echo "configure: failed program was:" >&5
11259 cat conftest.
$ac_ext >&5
11261 eval "ac_cv_lib_$ac_lib_var=no"
11264 LIBS
="$ac_save_LIBS"
11267 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11268 echo "$ac_t""yes" 1>&6
11269 cat >> confdefs.h
<<\EOF
11274 echo "$ac_t""no" 1>&6
11279 if test "$wxUSE_MGL" = 1; then
11280 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11281 echo "configure:11282: checking for SciTech MGL library" >&5
11282 if test "x$MGL_ROOT" = x
; then
11283 echo "$ac_t""not found" 1>&6
11284 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11286 echo "$ac_t""$MGL_ROOT" 1>&6
11291 mgl_os
=linux
/gcc
/glibc
11297 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11302 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11303 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11304 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11308 if test "x$mgl_lib_type" = x
; then
11309 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11310 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11311 mgl_lib_type
=release
11313 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11317 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11318 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11320 AFMINSTALL
=afminstall
11325 if test "$wxUSE_MICROWIN" = 1; then
11326 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11327 echo "configure:11328: checking for MicroWindows" >&5
11328 if test "x$MICROWINDOWS" = x
; then
11329 echo "$ac_t""not found" 1>&6
11330 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11332 echo "$ac_t""$MICROWINDOWS" 1>&6
11335 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11336 echo "$ac_t""MicroWindows' libraries found." 1>&6
11338 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11341 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11342 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11344 AFMINSTALL
=afminstall
11346 GUIDIST
=MICROWIN_DIST
11348 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11351 if test "$wxUSE_WINE" = 1; then
11352 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11353 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11354 echo "configure:11355: checking for windows.h" >&5
11355 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11356 echo $ac_n "(cached) $ac_c" 1>&6
11358 cat > conftest.
$ac_ext <<EOF
11359 #line 11360 "configure"
11360 #include "confdefs.h"
11361 #include <windows.h>
11363 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11364 { (eval echo configure
:11365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11365 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11366 if test -z "$ac_err"; then
11368 eval "ac_cv_header_$ac_safe=yes"
11371 echo "configure: failed program was:" >&5
11372 cat conftest.
$ac_ext >&5
11374 eval "ac_cv_header_$ac_safe=no"
11378 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11379 echo "$ac_t""yes" 1>&6
11382 echo "$ac_t""no" 1>&6
11384 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11390 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11391 echo "configure:11392: checking for Xpm library" >&5
11394 for ac_dir
in $SEARCH_LIB;
11396 for ac_extension
in a so sl dylib
; do
11397 if test -f "$ac_dir/libXpm.$ac_extension"; then
11398 ac_find_libraries
=$ac_dir
11404 if test "$ac_find_libraries" != "" ; then
11405 GUI_TK_LIBRARY
="-L$ac_find_libraries"
11407 cat >> confdefs.h
<<\EOF
11408 #define wxHAVE_LIB_XPM 1
11411 echo "$ac_t""found at $ac_find_libraries" 1>&6
11413 echo "$ac_t""no" 1>&6
11414 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11418 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
11419 echo "configure:11420: checking for Mesa library" >&5
11422 for ac_dir
in $SEARCH_LIB;
11424 for ac_extension
in a so sl dylib
; do
11425 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
11426 ac_find_libraries
=$ac_dir
11432 if test "$ac_find_libraries" != "" ; then
11433 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
11434 mesa_link
=" -lMesaGL"
11435 echo "$ac_t""found at $ac_find_libraries" 1>&6
11437 { echo "configure: error: no" 1>&2; exit 1; }
11440 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
11443 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
11446 if test "$wxUSE_MOTIF" = 1; then
11447 # If we find X, set shell vars x_includes and x_libraries to the
11448 # paths, otherwise set no_x=yes.
11449 # Uses ac_ vars as temps to allow command line to override cache and checks.
11450 # --without-x overrides everything else, but does not touch the cache.
11451 echo $ac_n "checking for X""... $ac_c" 1>&6
11452 echo "configure:11453: checking for X" >&5
11454 # Check whether --with-x or --without-x was given.
11455 if test "${with_x+set}" = set; then
11460 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11461 if test "x$with_x" = xno
; then
11462 # The user explicitly disabled X.
11465 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11466 # Both variables are already set.
11469 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11470 echo $ac_n "(cached) $ac_c" 1>&6
11472 # One or both of the vars are not set, and there is no cached value.
11473 ac_x_includes
=NO ac_x_libraries
=NO
11475 if mkdir conftestdir
; then
11477 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11478 cat > Imakefile
<<'EOF'
11480 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11482 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11483 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11484 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11485 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11486 for ac_extension
in a so sl
; do
11487 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11488 test -f $ac_im_libdir/libX11.
$ac_extension; then
11489 ac_im_usrlibdir
=$ac_im_libdir; break
11492 # Screen out bogus values from the imake configuration. They are
11493 # bogus both because they are the default anyway, and because
11494 # using them would break gcc on systems where it needs fixed includes.
11495 case "$ac_im_incroot" in
11497 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11499 case "$ac_im_usrlibdir" in
11500 /usr
/lib
| /lib
) ;;
11501 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11508 if test "$ac_x_includes" = NO
; then
11509 # Guess where to find include files, by looking for this one X11 .h file.
11510 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11512 # First, try using that file with no special directory specified.
11513 cat > conftest.
$ac_ext <<EOF
11514 #line 11515 "configure"
11515 #include "confdefs.h"
11516 #include <$x_direct_test_include>
11518 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11519 { (eval echo configure
:11520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11520 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11521 if test -z "$ac_err"; then
11523 # We can compile using X headers with no special include directory.
11527 echo "configure: failed program was:" >&5
11528 cat conftest.
$ac_ext >&5
11530 # Look for the header file in a standard set of common directories.
11531 # Check X11 before X11Rn because it is often a symlink to the current release.
11534 /usr
/X
11R
6/include \
11535 /usr
/X
11R
5/include \
11536 /usr
/X
11R
4/include \
11539 /usr
/include
/X11R6 \
11540 /usr
/include
/X11R5 \
11541 /usr
/include
/X11R4 \
11543 /usr
/local
/X
11/include \
11544 /usr
/local
/X
11R
6/include \
11545 /usr
/local
/X
11R
5/include \
11546 /usr
/local
/X
11R
4/include \
11548 /usr
/local
/include
/X11 \
11549 /usr
/local
/include
/X11R6 \
11550 /usr
/local
/include
/X11R5 \
11551 /usr
/local
/include
/X11R4 \
11553 /usr
/X
386/include \
11554 /usr
/x
386/include \
11555 /usr
/XFree
86/include
/X11 \
11558 /usr
/local
/include \
11559 /usr
/unsupported
/include \
11560 /usr
/athena
/include \
11561 /usr
/local
/x
11r
5/include \
11562 /usr
/lpp
/Xamples
/include \
11564 /usr
/openwin
/include \
11565 /usr
/openwin
/share
/include \
11568 if test -r "$ac_dir/$x_direct_test_include"; then
11569 ac_x_includes
=$ac_dir
11575 fi # $ac_x_includes = NO
11577 if test "$ac_x_libraries" = NO
; then
11578 # Check for the libraries.
11580 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11581 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11583 # See if we find them without any special options.
11584 # Don't add to $LIBS permanently.
11585 ac_save_LIBS
="$LIBS"
11586 LIBS
="-l$x_direct_test_library $LIBS"
11587 cat > conftest.
$ac_ext <<EOF
11588 #line 11589 "configure"
11589 #include "confdefs.h"
11592 ${x_direct_test_function}()
11595 if { (eval echo configure
:11596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11597 LIBS
="$ac_save_LIBS"
11598 # We can link X programs with no special library path.
11601 echo "configure: failed program was:" >&5
11602 cat conftest.
$ac_ext >&5
11604 LIBS
="$ac_save_LIBS"
11605 # First see if replacing the include by lib works.
11606 # Check X11 before X11Rn because it is often a symlink to the current release.
11607 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11618 /usr
/local
/X
11/lib \
11619 /usr
/local
/X
11R
6/lib \
11620 /usr
/local
/X
11R
5/lib \
11621 /usr
/local
/X
11R
4/lib \
11623 /usr
/local
/lib
/X11 \
11624 /usr
/local
/lib
/X11R6 \
11625 /usr
/local
/lib
/X11R5 \
11626 /usr
/local
/lib
/X11R4 \
11630 /usr
/XFree
86/lib
/X11 \
11634 /usr
/unsupported
/lib \
11636 /usr
/local
/x
11r
5/lib \
11637 /usr
/lpp
/Xamples
/lib \
11641 /usr
/openwin
/share
/lib \
11644 for ac_extension
in a so sl
; do
11645 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11646 ac_x_libraries
=$ac_dir
11653 fi # $ac_x_libraries = NO
11655 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11656 # Didn't find X anywhere. Cache the known absence of X.
11657 ac_cv_have_x
="have_x=no"
11659 # Record where we found X for the cache.
11660 ac_cv_have_x
="have_x=yes \
11661 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11665 eval "$ac_cv_have_x"
11668 if test "$have_x" != yes; then
11669 echo "$ac_t""$have_x" 1>&6
11672 # If each of the values was on the command line, it overrides each guess.
11673 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11674 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11675 # Update the cache value to reflect the command line values.
11676 ac_cv_have_x
="have_x=yes \
11677 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11678 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11681 if test "$no_x" = yes; then
11682 # Not all programs may use this symbol, but it does not hurt to define it.
11683 cat >> confdefs.h
<<\EOF
11684 #define X_DISPLAY_MISSING 1
11687 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11689 if test -n "$x_includes"; then
11690 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11693 # It would also be nice to do this for all -L options, not just this one.
11694 if test -n "$x_libraries"; then
11695 X_LIBS
="$X_LIBS -L$x_libraries"
11696 # For Solaris; some versions of Sun CC require a space after -R and
11697 # others require no space. Words are not sufficient . . . .
11698 case "`(uname -sr) 2>/dev/null`" in
11700 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11701 echo "configure:11702: checking whether -R must be followed by a space" >&5
11702 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11703 cat > conftest.
$ac_ext <<EOF
11704 #line 11705 "configure"
11705 #include "confdefs.h"
11711 if { (eval echo configure
:11712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11715 echo "configure: failed program was:" >&5
11716 cat conftest.
$ac_ext >&5
11721 if test $ac_R_nospace = yes; then
11722 echo "$ac_t""no" 1>&6
11723 X_LIBS
="$X_LIBS -R$x_libraries"
11725 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11726 cat > conftest.
$ac_ext <<EOF
11727 #line 11728 "configure"
11728 #include "confdefs.h"
11734 if { (eval echo configure
:11735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11738 echo "configure: failed program was:" >&5
11739 cat conftest.
$ac_ext >&5
11744 if test $ac_R_space = yes; then
11745 echo "$ac_t""yes" 1>&6
11746 X_LIBS
="$X_LIBS -R $x_libraries"
11748 echo "$ac_t""neither works" 1>&6
11751 LIBS
="$ac_xsave_LIBS"
11755 # Check for system-dependent libraries X programs must link with.
11756 # Do this before checking for the system-independent R6 libraries
11757 # (-lICE), since we may need -lsocket or whatever for X linking.
11759 if test "$ISC" = yes; then
11760 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11762 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11763 # libraries were built with DECnet support. And karl@cs.umb.edu says
11764 # the Alpha needs dnet_stub (dnet does not exist).
11765 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11766 echo "configure:11767: checking for dnet_ntoa in -ldnet" >&5
11767 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11768 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11769 echo $ac_n "(cached) $ac_c" 1>&6
11771 ac_save_LIBS
="$LIBS"
11772 LIBS
="-ldnet $LIBS"
11773 cat > conftest.
$ac_ext <<EOF
11774 #line 11775 "configure"
11775 #include "confdefs.h"
11776 /* Override any gcc2 internal prototype to avoid an error. */
11777 /* We use char because int might match the return type of a gcc2
11778 builtin and then its argument prototype would still apply. */
11785 if { (eval echo configure
:11786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11787 eval "ac_cv_lib_$ac_lib_var=yes"
11789 echo "configure: failed program was:" >&5
11790 cat conftest.
$ac_ext >&5
11792 eval "ac_cv_lib_$ac_lib_var=no"
11795 LIBS
="$ac_save_LIBS"
11798 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11799 echo "$ac_t""yes" 1>&6
11800 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11802 echo "$ac_t""no" 1>&6
11805 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11806 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11807 echo "configure:11808: checking for dnet_ntoa in -ldnet_stub" >&5
11808 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11809 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11810 echo $ac_n "(cached) $ac_c" 1>&6
11812 ac_save_LIBS
="$LIBS"
11813 LIBS
="-ldnet_stub $LIBS"
11814 cat > conftest.
$ac_ext <<EOF
11815 #line 11816 "configure"
11816 #include "confdefs.h"
11817 /* Override any gcc2 internal prototype to avoid an error. */
11818 /* We use char because int might match the return type of a gcc2
11819 builtin and then its argument prototype would still apply. */
11826 if { (eval echo configure
:11827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11828 eval "ac_cv_lib_$ac_lib_var=yes"
11830 echo "configure: failed program was:" >&5
11831 cat conftest.
$ac_ext >&5
11833 eval "ac_cv_lib_$ac_lib_var=no"
11836 LIBS
="$ac_save_LIBS"
11839 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11840 echo "$ac_t""yes" 1>&6
11841 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11843 echo "$ac_t""no" 1>&6
11848 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11849 # to get the SysV transport functions.
11850 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11852 # The nsl library prevents programs from opening the X display
11853 # on Irix 5.2, according to dickey@clark.net.
11854 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11855 echo "configure:11856: checking for gethostbyname" >&5
11856 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11857 echo $ac_n "(cached) $ac_c" 1>&6
11859 cat > conftest.
$ac_ext <<EOF
11860 #line 11861 "configure"
11861 #include "confdefs.h"
11862 /* System header to define __stub macros and hopefully few prototypes,
11863 which can conflict with char gethostbyname(); below. */
11864 #include <assert.h>
11865 /* Override any gcc2 internal prototype to avoid an error. */
11866 /* We use char because int might match the return type of a gcc2
11867 builtin and then its argument prototype would still apply. */
11868 char gethostbyname();
11872 /* The GNU C library defines this for functions which it implements
11873 to always fail with ENOSYS. Some functions are actually named
11874 something starting with __ and the normal name is an alias. */
11875 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11883 if { (eval echo configure
:11884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11885 eval "ac_cv_func_gethostbyname=yes"
11887 echo "configure: failed program was:" >&5
11888 cat conftest.
$ac_ext >&5
11890 eval "ac_cv_func_gethostbyname=no"
11895 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11896 echo "$ac_t""yes" 1>&6
11899 echo "$ac_t""no" 1>&6
11902 if test $ac_cv_func_gethostbyname = no
; then
11903 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11904 echo "configure:11905: checking for gethostbyname in -lnsl" >&5
11905 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11906 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11907 echo $ac_n "(cached) $ac_c" 1>&6
11909 ac_save_LIBS
="$LIBS"
11911 cat > conftest.
$ac_ext <<EOF
11912 #line 11913 "configure"
11913 #include "confdefs.h"
11914 /* Override any gcc2 internal prototype to avoid an error. */
11915 /* We use char because int might match the return type of a gcc2
11916 builtin and then its argument prototype would still apply. */
11917 char gethostbyname();
11923 if { (eval echo configure
:11924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11925 eval "ac_cv_lib_$ac_lib_var=yes"
11927 echo "configure: failed program was:" >&5
11928 cat conftest.
$ac_ext >&5
11930 eval "ac_cv_lib_$ac_lib_var=no"
11933 LIBS
="$ac_save_LIBS"
11936 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11937 echo "$ac_t""yes" 1>&6
11938 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11940 echo "$ac_t""no" 1>&6
11945 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11946 # socket/setsockopt and other routines are undefined under SCO ODT
11947 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11948 # on later versions), says simon@lia.di.epfl.ch: it contains
11949 # gethostby* variants that don't use the nameserver (or something).
11950 # -lsocket must be given before -lnsl if both are needed.
11951 # We assume that if connect needs -lnsl, so does gethostbyname.
11952 echo $ac_n "checking for connect""... $ac_c" 1>&6
11953 echo "configure:11954: checking for connect" >&5
11954 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11955 echo $ac_n "(cached) $ac_c" 1>&6
11957 cat > conftest.
$ac_ext <<EOF
11958 #line 11959 "configure"
11959 #include "confdefs.h"
11960 /* System header to define __stub macros and hopefully few prototypes,
11961 which can conflict with char connect(); below. */
11962 #include <assert.h>
11963 /* Override any gcc2 internal prototype to avoid an error. */
11964 /* We use char because int might match the return type of a gcc2
11965 builtin and then its argument prototype would still apply. */
11970 /* The GNU C library defines this for functions which it implements
11971 to always fail with ENOSYS. Some functions are actually named
11972 something starting with __ and the normal name is an alias. */
11973 #if defined (__stub_connect) || defined (__stub___connect)
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_func_connect=yes"
11985 echo "configure: failed program was:" >&5
11986 cat conftest.
$ac_ext >&5
11988 eval "ac_cv_func_connect=no"
11993 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11994 echo "$ac_t""yes" 1>&6
11997 echo "$ac_t""no" 1>&6
12000 if test $ac_cv_func_connect = no
; then
12001 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12002 echo "configure:12003: checking for connect in -lsocket" >&5
12003 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12004 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12005 echo $ac_n "(cached) $ac_c" 1>&6
12007 ac_save_LIBS
="$LIBS"
12008 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
12009 cat > conftest.
$ac_ext <<EOF
12010 #line 12011 "configure"
12011 #include "confdefs.h"
12012 /* Override any gcc2 internal prototype to avoid an error. */
12013 /* We use char because int might match the return type of a gcc2
12014 builtin and then its argument prototype would still apply. */
12021 if { (eval echo configure
:12022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12023 eval "ac_cv_lib_$ac_lib_var=yes"
12025 echo "configure: failed program was:" >&5
12026 cat conftest.
$ac_ext >&5
12028 eval "ac_cv_lib_$ac_lib_var=no"
12031 LIBS
="$ac_save_LIBS"
12034 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12035 echo "$ac_t""yes" 1>&6
12036 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
12038 echo "$ac_t""no" 1>&6
12043 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12044 echo $ac_n "checking for remove""... $ac_c" 1>&6
12045 echo "configure:12046: checking for remove" >&5
12046 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12047 echo $ac_n "(cached) $ac_c" 1>&6
12049 cat > conftest.
$ac_ext <<EOF
12050 #line 12051 "configure"
12051 #include "confdefs.h"
12052 /* System header to define __stub macros and hopefully few prototypes,
12053 which can conflict with char remove(); below. */
12054 #include <assert.h>
12055 /* Override any gcc2 internal prototype to avoid an error. */
12056 /* We use char because int might match the return type of a gcc2
12057 builtin and then its argument prototype would still apply. */
12062 /* The GNU C library defines this for functions which it implements
12063 to always fail with ENOSYS. Some functions are actually named
12064 something starting with __ and the normal name is an alias. */
12065 #if defined (__stub_remove) || defined (__stub___remove)
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_func_remove=yes"
12077 echo "configure: failed program was:" >&5
12078 cat conftest.
$ac_ext >&5
12080 eval "ac_cv_func_remove=no"
12085 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12086 echo "$ac_t""yes" 1>&6
12089 echo "$ac_t""no" 1>&6
12092 if test $ac_cv_func_remove = no
; then
12093 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12094 echo "configure:12095: checking for remove in -lposix" >&5
12095 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12096 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12097 echo $ac_n "(cached) $ac_c" 1>&6
12099 ac_save_LIBS
="$LIBS"
12100 LIBS
="-lposix $LIBS"
12101 cat > conftest.
$ac_ext <<EOF
12102 #line 12103 "configure"
12103 #include "confdefs.h"
12104 /* Override any gcc2 internal prototype to avoid an error. */
12105 /* We use char because int might match the return type of a gcc2
12106 builtin and then its argument prototype would still apply. */
12113 if { (eval echo configure
:12114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12115 eval "ac_cv_lib_$ac_lib_var=yes"
12117 echo "configure: failed program was:" >&5
12118 cat conftest.
$ac_ext >&5
12120 eval "ac_cv_lib_$ac_lib_var=no"
12123 LIBS
="$ac_save_LIBS"
12126 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12127 echo "$ac_t""yes" 1>&6
12128 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12130 echo "$ac_t""no" 1>&6
12135 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12136 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12137 echo "configure:12138: checking for shmat" >&5
12138 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12139 echo $ac_n "(cached) $ac_c" 1>&6
12141 cat > conftest.
$ac_ext <<EOF
12142 #line 12143 "configure"
12143 #include "confdefs.h"
12144 /* System header to define __stub macros and hopefully few prototypes,
12145 which can conflict with char shmat(); below. */
12146 #include <assert.h>
12147 /* Override any gcc2 internal prototype to avoid an error. */
12148 /* We use char because int might match the return type of a gcc2
12149 builtin and then its argument prototype would still apply. */
12154 /* The GNU C library defines this for functions which it implements
12155 to always fail with ENOSYS. Some functions are actually named
12156 something starting with __ and the normal name is an alias. */
12157 #if defined (__stub_shmat) || defined (__stub___shmat)
12165 if { (eval echo configure
:12166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12167 eval "ac_cv_func_shmat=yes"
12169 echo "configure: failed program was:" >&5
12170 cat conftest.
$ac_ext >&5
12172 eval "ac_cv_func_shmat=no"
12177 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12178 echo "$ac_t""yes" 1>&6
12181 echo "$ac_t""no" 1>&6
12184 if test $ac_cv_func_shmat = no
; then
12185 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12186 echo "configure:12187: checking for shmat in -lipc" >&5
12187 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12188 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12189 echo $ac_n "(cached) $ac_c" 1>&6
12191 ac_save_LIBS
="$LIBS"
12193 cat > conftest.
$ac_ext <<EOF
12194 #line 12195 "configure"
12195 #include "confdefs.h"
12196 /* Override any gcc2 internal prototype to avoid an error. */
12197 /* We use char because int might match the return type of a gcc2
12198 builtin and then its argument prototype would still apply. */
12205 if { (eval echo configure
:12206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12207 eval "ac_cv_lib_$ac_lib_var=yes"
12209 echo "configure: failed program was:" >&5
12210 cat conftest.
$ac_ext >&5
12212 eval "ac_cv_lib_$ac_lib_var=no"
12215 LIBS
="$ac_save_LIBS"
12218 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12219 echo "$ac_t""yes" 1>&6
12220 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12222 echo "$ac_t""no" 1>&6
12228 # Check for libraries that X11R6 Xt/Xaw programs need.
12229 ac_save_LDFLAGS
="$LDFLAGS"
12230 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12231 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12232 # check for ICE first), but we must link in the order -lSM -lICE or
12233 # we get undefined symbols. So assume we have SM if we have ICE.
12234 # These have to be linked with before -lX11, unlike the other
12235 # libraries we check for below, so use a different variable.
12236 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12237 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12238 echo "configure:12239: checking for IceConnectionNumber in -lICE" >&5
12239 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12240 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12241 echo $ac_n "(cached) $ac_c" 1>&6
12243 ac_save_LIBS
="$LIBS"
12244 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12245 cat > conftest.
$ac_ext <<EOF
12246 #line 12247 "configure"
12247 #include "confdefs.h"
12248 /* Override any gcc2 internal prototype to avoid an error. */
12249 /* We use char because int might match the return type of a gcc2
12250 builtin and then its argument prototype would still apply. */
12251 char IceConnectionNumber();
12254 IceConnectionNumber()
12257 if { (eval echo configure
:12258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12259 eval "ac_cv_lib_$ac_lib_var=yes"
12261 echo "configure: failed program was:" >&5
12262 cat conftest.
$ac_ext >&5
12264 eval "ac_cv_lib_$ac_lib_var=no"
12267 LIBS
="$ac_save_LIBS"
12270 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12271 echo "$ac_t""yes" 1>&6
12272 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12274 echo "$ac_t""no" 1>&6
12277 LDFLAGS
="$ac_save_LDFLAGS"
12282 if test "$no_x" = "yes"; then
12283 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12286 GUI_TK_LIBRARY
="$X_LIBS"
12287 TOOLKIT_INCLUDE
="$X_CFLAGS"
12288 AFMINSTALL
=afminstall
12289 COMPILED_X_PROGRAM
=0
12291 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12292 echo "configure:12293: checking for Motif/Lesstif headers" >&5
12295 for ac_dir
in $SEARCH_INCLUDE;
12297 if test -f "$ac_dir/Xm/Xm.h"; then
12298 ac_find_includes
=$ac_dir
12303 if test "$ac_find_includes" != "" ; then
12304 echo "$ac_t""found $ac_find_includes" 1>&6
12306 cat > conftest.
$ac_ext <<EOF
12307 #line 12308 "configure"
12308 #include "confdefs.h"
12315 version = xmUseVersion;
12319 if { (eval echo configure
:12320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12322 echo "$ac_t""found in default search path" 1>&6
12323 COMPILED_X_PROGRAM
=1
12326 echo "configure: failed program was:" >&5
12327 cat conftest.
$ac_ext >&5
12330 echo "$ac_t""no" 1>&6
12331 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
12338 if test "$COMPILED_X_PROGRAM" = 0; then
12339 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
12340 echo "configure:12341: checking for Motif/Lesstif library" >&5
12343 for ac_dir
in $SEARCH_LIB;
12345 for ac_extension
in a so sl dylib
; do
12346 if test -f "$ac_dir/libXm.$ac_extension"; then
12347 ac_find_libraries
=$ac_dir
12353 if test "$ac_find_libraries" != "" ; then
12355 ac_path_to_include
=$ac_find_includes
12356 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
12358 if test $result = 0; then
12359 ac_path_to_include
=""
12361 ac_path_to_include
=" -I$ac_find_includes"
12365 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12367 if test $result = 0; then
12370 ac_path_to_link
=" -L$ac_find_libraries"
12374 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12375 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
12376 echo "$ac_t""found at $ac_find_libraries" 1>&6
12378 cat > conftest.
$ac_ext <<EOF
12379 #line 12380 "configure"
12380 #include "confdefs.h"
12387 version = xmUseVersion;
12391 if { (eval echo configure
:12392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12394 echo "$ac_t""found in default search path" 1>&6
12395 COMPILED_X_PROGRAM
=1
12398 echo "configure: failed program was:" >&5
12399 cat conftest.
$ac_ext >&5
12402 echo "$ac_t""no" 1>&6
12403 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
12412 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12413 echo "configure:12414: checking for Xpm library" >&5
12416 for ac_dir
in $SEARCH_LIB;
12418 for ac_extension
in a so sl dylib
; do
12419 if test -f "$ac_dir/libXpm.$ac_extension"; then
12420 ac_find_libraries
=$ac_dir
12426 if test "$ac_find_libraries" != "" ; then
12428 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12430 if test $result = 0; then
12433 ac_path_to_link
=" -L$ac_find_libraries"
12436 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12438 cat >> confdefs.h
<<\EOF
12439 #define wxHAVE_LIB_XPM 1
12442 echo "$ac_t""found at $ac_find_libraries" 1>&6
12444 cat > conftest.
$ac_ext <<EOF
12445 #line 12446 "configure"
12446 #include "confdefs.h"
12448 #include <X11/xpm.h>
12453 version = XpmLibraryVersion();
12457 if { (eval echo configure
:12458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12461 cat >> confdefs.h
<<\EOF
12462 #define wxHAVE_LIB_XPM 1
12465 echo "$ac_t""found in default search path" 1>&6
12466 COMPILED_X_PROGRAM
=0
12469 echo "configure: failed program was:" >&5
12470 cat conftest.
$ac_ext >&5
12473 echo "$ac_t""no" 1>&6
12474 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12481 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
12482 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
12487 if test "$wxUSE_MAC" = 1; then
12488 if test "$wxUSE_PRECOMP" = "yes"; then
12489 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12491 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
12492 CFLAGS
="$CFLAGS -fpascal-strings"
12493 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
12495 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
12500 if test "$wxUSE_PM" = 1; then
12505 if test "$TOOLKIT" = "PM" ; then
12508 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
12511 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
12513 if test "$wxUSE_UNIVERSAL" = "yes"; then
12514 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
12515 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
12516 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
12517 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
12520 ALL_OBJECTS
="\$(GUIOBJS)"
12523 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
12525 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
12526 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
12529 if test "$wxUSE_HTML" = "yes"; then
12530 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
12533 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
12534 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
12536 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12537 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
12539 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12540 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
12542 if test "$wxUSE_LIBPNG" = "builtin" ; then
12543 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
12545 if test "$wxUSE_FREETYPE" = "builtin" ; then
12546 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
12549 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
12550 DISTDIR
="wx\$(TOOLKIT)"
12556 if test "$USE_WIN32" = 1 ; then
12557 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
12558 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
12562 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
12563 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
12566 PORT_FILES
="\${top_srcdir}/src/files.lst"
12568 GUIDIST
="BASE_DIST"
12572 if test "$wxUSE_REGEX" = "builtin" ; then
12573 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
12575 if test "$wxUSE_ZLIB" = "builtin" ; then
12576 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
12579 if test "$wxUSE_OPENGL" = "yes"; then
12580 if test "$wxUSE_MAC" = 1; then
12581 OPENGL_LIBS
="-framework OpenGL -framework AGL"
12584 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12585 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12586 echo "configure:12587: checking for GL/gl.h" >&5
12587 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12588 echo $ac_n "(cached) $ac_c" 1>&6
12590 cat > conftest.
$ac_ext <<EOF
12591 #line 12592 "configure"
12592 #include "confdefs.h"
12595 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12596 { (eval echo configure
:12597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12597 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12598 if test -z "$ac_err"; then
12600 eval "ac_cv_header_$ac_safe=yes"
12603 echo "configure: failed program was:" >&5
12604 cat conftest.
$ac_ext >&5
12606 eval "ac_cv_header_$ac_safe=no"
12610 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12611 echo "$ac_t""yes" 1>&6
12613 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12614 echo "configure:12615: checking for -lGL" >&5
12617 for ac_dir
in $SEARCH_LIB;
12619 for ac_extension
in a so sl dylib
; do
12620 if test -f "$ac_dir/libGL.$ac_extension"; then
12621 ac_find_libraries
=$ac_dir
12627 if test "$ac_find_libraries" != "" ; then
12629 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12631 if test $result = 0; then
12634 ac_path_to_link
=" -L$ac_find_libraries"
12637 if test "$ac_path_to_link" = " -L/usr/lib" ; then
12638 LDFLAGS_GL
="$LDFLAGS"
12640 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12642 OPENGL_LIBS
="-lGL -lGLU"
12643 echo "$ac_t""yes" 1>&6
12645 echo "$ac_t""no" 1>&6
12646 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12647 echo "configure:12648: checking for -lMesaGL" >&5
12650 for ac_dir
in $SEARCH_LIB;
12652 for ac_extension
in a so sl dylib
; do
12653 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12654 ac_find_libraries
=$ac_dir
12660 if test "$ac_find_libraries" != "" ; then
12662 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12664 if test $result = 0; then
12667 ac_path_to_link
=" -L$ac_find_libraries"
12670 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12671 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
12672 echo "$ac_t""yes" 1>&6
12674 echo "$ac_t""no" 1>&6
12679 echo "$ac_t""no" 1>&6
12684 # AC_CHECK_HEADER(GL/gl.h,
12686 # AC_CHECK_LIB(GL, glFlush,
12688 # OPENGL_LIBS="-lGL -lGLU"
12691 # AC_CHECK_LIB(MesaGL, glFlush,
12693 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
12701 if test "x$OPENGL_LIBS" = "x"; then
12702 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12706 if test "$wxUSE_OPENGL" = "yes"; then
12707 cat >> confdefs.h
<<\EOF
12708 #define wxUSE_OPENGL 1
12711 cat >> confdefs.h
<<\EOF
12712 #define wxUSE_GLCANVAS 1
12715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
12719 if test -z "$TOOLKIT_VPATH" ; then
12720 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
12723 if test -n "$TOOLKIT" ; then
12724 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12727 lib_unicode_suffix
=
12728 if test "$wxUSE_UNICODE" = "yes"; then
12729 lib_unicode_suffix
=u
12733 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12737 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12738 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12740 if test "$cross_compiling" = "yes"; then
12741 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
12742 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
12745 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
12746 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
12748 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12749 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12751 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12752 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12753 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12754 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12756 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
12757 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
12760 *-*-cygwin* | *-*-mingw32* )
12764 if test "$cross_compiling" != "yes"; then
12765 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12766 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12767 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
12768 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12770 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12771 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12776 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
12777 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
12779 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
12780 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
12782 if test "$wxUSE_OPENGL" = "yes"; then
12783 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12784 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12789 if test "$wxUSE_SHARED" = "yes"; then
12791 if test "$wxUSE_OPENGL" = "yes"; then
12792 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12793 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12795 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
12796 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12799 if test "$GCC" = "yes"; then
12803 SHARED_LD
="${CXX} -shared -o"
12807 if test "$GCC" == "yes"; then
12808 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
12810 LDFLAGS
="$LDFLAGS -L/usr/lib"
12812 SHARED_LD
="${CXX} -b -o"
12816 if test "$wxUSE_OPENGL" = "yes"; then
12817 WX_ALL_INSTALLED
="preinstall_gl"
12818 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12820 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12825 if test "$GCC" != "yes"; then
12826 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12827 echo "configure:12828: checking for Intel compiler" >&5
12828 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12829 echo $ac_n "(cached) $ac_c" 1>&6
12832 cat > conftest.
$ac_ext <<EOF
12833 #line 12834 "configure"
12834 #include "confdefs.h"
12838 #ifndef __INTEL_COMPILER
12844 if { (eval echo configure
:12845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12848 echo "configure: failed program was:" >&5
12849 cat conftest.
$ac_ext >&5
12858 echo "$ac_t""$wx_cv_prog_icc" 1>&6
12859 if test "$wx_cv_prog_icc" = "yes"; then
12864 if test "$wxUSE_SONAME" = "yes" ; then
12865 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
12866 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12867 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
12872 if test "$GCC" = yes ; then
12873 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
12875 SHARED_LD
="${CXX} -G -o"
12877 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
12878 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
12883 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
12884 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
12885 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12886 PIC_FLAG
="-dynamic -fPIC"
12890 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12893 *-*-cygwin* | *-*-mingw32* )
12895 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
12897 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12898 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12900 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12902 if test "$wxUSE_OPENGL" = "yes"; then
12903 WX_ALL_INSTALLED
="preinstall_gl"
12904 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12906 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12910 *-pc-os2_emx | *-pc-os2-emx )
12915 SHARED_LD
="${LD} -shared -o"
12918 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12920 *-*-irix5* | *-*-irix6* | \
12927 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12930 if test "x$WX_TARGET_LIBRARY" = "x"; then
12931 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
12932 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
12935 WX_TARGET_LIBRARY_TYPE
="so"
12936 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
12939 if test "$wxUSE_SHARED" = "no"; then
12941 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12942 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12945 if test "$wxUSE_MAC" = 1; then
12946 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12949 if test "$wxUSE_OPENGL" = "yes"; then
12950 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
12951 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12953 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12956 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
12957 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
12959 WX_TARGET_LIBRARY_TYPE
="a"
12960 INSTALL_LIBRARY
='$(INSTALL_DATA)'
12963 if test "$wxUSE_MAC" = 1; then
12964 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12965 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12966 # Extract the first word of "Rez", so it can be a program name with args.
12967 set dummy Rez
; ac_word
=$2
12968 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12969 echo "configure:12970: checking for $ac_word" >&5
12970 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12971 echo $ac_n "(cached) $ac_c" 1>&6
12973 if test -n "$RESCOMP"; then
12974 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12976 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12978 for ac_dir
in $ac_dummy; do
12979 test -z "$ac_dir" && ac_dir
=.
12980 if test -f $ac_dir/$ac_word; then
12981 ac_cv_prog_RESCOMP
="Rez"
12986 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
12989 RESCOMP
="$ac_cv_prog_RESCOMP"
12990 if test -n "$RESCOMP"; then
12991 echo "$ac_t""$RESCOMP" 1>&6
12993 echo "$ac_t""no" 1>&6
12996 # Extract the first word of "DeRez", so it can be a program name with args.
12997 set dummy DeRez
; ac_word
=$2
12998 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12999 echo "configure:13000: checking for $ac_word" >&5
13000 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13001 echo $ac_n "(cached) $ac_c" 1>&6
13003 if test -n "$DEREZ"; then
13004 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
13006 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13008 for ac_dir
in $ac_dummy; do
13009 test -z "$ac_dir" && ac_dir
=.
13010 if test -f $ac_dir/$ac_word; then
13011 ac_cv_prog_DEREZ
="DeRez"
13016 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
13019 DEREZ
="$ac_cv_prog_DEREZ"
13020 if test -n "$DEREZ"; then
13021 echo "$ac_t""$DEREZ" 1>&6
13023 echo "$ac_t""no" 1>&6
13026 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
13027 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
13028 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
13032 if test "$wxUSE_MAC" != 1; then
13033 for ac_hdr
in strings.h
13035 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13036 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13037 echo "configure:13038: checking for $ac_hdr" >&5
13038 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13039 echo $ac_n "(cached) $ac_c" 1>&6
13041 cat > conftest.
$ac_ext <<EOF
13042 #line 13043 "configure"
13043 #include "confdefs.h"
13046 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13047 { (eval echo configure
:13048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13048 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13049 if test -z "$ac_err"; then
13051 eval "ac_cv_header_$ac_safe=yes"
13054 echo "configure: failed program was:" >&5
13055 cat conftest.
$ac_ext >&5
13057 eval "ac_cv_header_$ac_safe=no"
13061 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13062 echo "$ac_t""yes" 1>&6
13063 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13064 cat >> confdefs.h
<<EOF
13065 #define $ac_tr_hdr 1
13069 echo "$ac_t""no" 1>&6
13075 for ac_hdr
in stdlib.h
13077 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13078 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13079 echo "configure:13080: checking for $ac_hdr" >&5
13080 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13081 echo $ac_n "(cached) $ac_c" 1>&6
13083 cat > conftest.
$ac_ext <<EOF
13084 #line 13085 "configure"
13085 #include "confdefs.h"
13088 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13089 { (eval echo configure
:13090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13090 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13091 if test -z "$ac_err"; then
13093 eval "ac_cv_header_$ac_safe=yes"
13096 echo "configure: failed program was:" >&5
13097 cat conftest.
$ac_ext >&5
13099 eval "ac_cv_header_$ac_safe=no"
13103 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13104 echo "$ac_t""yes" 1>&6
13105 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13106 cat >> confdefs.h
<<EOF
13107 #define $ac_tr_hdr 1
13111 echo "$ac_t""no" 1>&6
13115 for ac_hdr
in malloc.h
13117 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13118 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13119 echo "configure:13120: checking for $ac_hdr" >&5
13120 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13121 echo $ac_n "(cached) $ac_c" 1>&6
13123 cat > conftest.
$ac_ext <<EOF
13124 #line 13125 "configure"
13125 #include "confdefs.h"
13128 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13129 { (eval echo configure
:13130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13130 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13131 if test -z "$ac_err"; then
13133 eval "ac_cv_header_$ac_safe=yes"
13136 echo "configure: failed program was:" >&5
13137 cat conftest.
$ac_ext >&5
13139 eval "ac_cv_header_$ac_safe=no"
13143 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13144 echo "$ac_t""yes" 1>&6
13145 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13146 cat >> confdefs.h
<<EOF
13147 #define $ac_tr_hdr 1
13151 echo "$ac_t""no" 1>&6
13155 for ac_hdr
in unistd.h
13157 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13158 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13159 echo "configure:13160: checking for $ac_hdr" >&5
13160 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13161 echo $ac_n "(cached) $ac_c" 1>&6
13163 cat > conftest.
$ac_ext <<EOF
13164 #line 13165 "configure"
13165 #include "confdefs.h"
13168 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13169 { (eval echo configure
:13170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13170 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13171 if test -z "$ac_err"; then
13173 eval "ac_cv_header_$ac_safe=yes"
13176 echo "configure: failed program was:" >&5
13177 cat conftest.
$ac_ext >&5
13179 eval "ac_cv_header_$ac_safe=no"
13183 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13184 echo "$ac_t""yes" 1>&6
13185 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13186 cat >> confdefs.h
<<EOF
13187 #define $ac_tr_hdr 1
13191 echo "$ac_t""no" 1>&6
13195 for ac_hdr
in wchar.h
13197 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13198 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13199 echo "configure:13200: checking for $ac_hdr" >&5
13200 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13201 echo $ac_n "(cached) $ac_c" 1>&6
13203 cat > conftest.
$ac_ext <<EOF
13204 #line 13205 "configure"
13205 #include "confdefs.h"
13208 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13209 { (eval echo configure
:13210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13210 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13211 if test -z "$ac_err"; then
13213 eval "ac_cv_header_$ac_safe=yes"
13216 echo "configure: failed program was:" >&5
13217 cat conftest.
$ac_ext >&5
13219 eval "ac_cv_header_$ac_safe=no"
13223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13224 echo "$ac_t""yes" 1>&6
13225 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13226 cat >> confdefs.h
<<EOF
13227 #define $ac_tr_hdr 1
13231 echo "$ac_t""no" 1>&6
13235 for ac_hdr
in wcstr.h
13237 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13238 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13239 echo "configure:13240: checking for $ac_hdr" >&5
13240 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13241 echo $ac_n "(cached) $ac_c" 1>&6
13243 cat > conftest.
$ac_ext <<EOF
13244 #line 13245 "configure"
13245 #include "confdefs.h"
13248 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13249 { (eval echo configure
:13250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13250 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13251 if test -z "$ac_err"; then
13253 eval "ac_cv_header_$ac_safe=yes"
13256 echo "configure: failed program was:" >&5
13257 cat conftest.
$ac_ext >&5
13259 eval "ac_cv_header_$ac_safe=no"
13263 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13264 echo "$ac_t""yes" 1>&6
13265 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13266 cat >> confdefs.h
<<EOF
13267 #define $ac_tr_hdr 1
13271 echo "$ac_t""no" 1>&6
13275 for ac_hdr
in wctype.h
13277 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13278 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13279 echo "configure:13280: checking for $ac_hdr" >&5
13280 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13281 echo $ac_n "(cached) $ac_c" 1>&6
13283 cat > conftest.
$ac_ext <<EOF
13284 #line 13285 "configure"
13285 #include "confdefs.h"
13288 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13289 { (eval echo configure
:13290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13290 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13291 if test -z "$ac_err"; then
13293 eval "ac_cv_header_$ac_safe=yes"
13296 echo "configure: failed program was:" >&5
13297 cat conftest.
$ac_ext >&5
13299 eval "ac_cv_header_$ac_safe=no"
13303 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13304 echo "$ac_t""yes" 1>&6
13305 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13306 cat >> confdefs.h
<<EOF
13307 #define $ac_tr_hdr 1
13311 echo "$ac_t""no" 1>&6
13315 for ac_hdr
in fnmatch.h
13317 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13318 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13319 echo "configure:13320: checking for $ac_hdr" >&5
13320 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13321 echo $ac_n "(cached) $ac_c" 1>&6
13323 cat > conftest.
$ac_ext <<EOF
13324 #line 13325 "configure"
13325 #include "confdefs.h"
13328 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13329 { (eval echo configure
:13330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13330 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13331 if test -z "$ac_err"; then
13333 eval "ac_cv_header_$ac_safe=yes"
13336 echo "configure: failed program was:" >&5
13337 cat conftest.
$ac_ext >&5
13339 eval "ac_cv_header_$ac_safe=no"
13343 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13344 echo "$ac_t""yes" 1>&6
13345 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13346 cat >> confdefs.h
<<EOF
13347 #define $ac_tr_hdr 1
13351 echo "$ac_t""no" 1>&6
13355 for ac_hdr
in iconv.h
13357 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13358 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13359 echo "configure:13360: checking for $ac_hdr" >&5
13360 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13361 echo $ac_n "(cached) $ac_c" 1>&6
13363 cat > conftest.
$ac_ext <<EOF
13364 #line 13365 "configure"
13365 #include "confdefs.h"
13368 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13369 { (eval echo configure
:13370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13370 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13371 if test -z "$ac_err"; then
13373 eval "ac_cv_header_$ac_safe=yes"
13376 echo "configure: failed program was:" >&5
13377 cat conftest.
$ac_ext >&5
13379 eval "ac_cv_header_$ac_safe=no"
13383 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13384 echo "$ac_t""yes" 1>&6
13385 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13386 cat >> confdefs.h
<<EOF
13387 #define $ac_tr_hdr 1
13391 echo "$ac_t""no" 1>&6
13395 for ac_hdr
in langinfo.h
13397 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13398 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13399 echo "configure:13400: checking for $ac_hdr" >&5
13400 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13401 echo $ac_n "(cached) $ac_c" 1>&6
13403 cat > conftest.
$ac_ext <<EOF
13404 #line 13405 "configure"
13405 #include "confdefs.h"
13408 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13409 { (eval echo configure
:13410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13410 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13411 if test -z "$ac_err"; then
13413 eval "ac_cv_header_$ac_safe=yes"
13416 echo "configure: failed program was:" >&5
13417 cat conftest.
$ac_ext >&5
13419 eval "ac_cv_header_$ac_safe=no"
13423 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13424 echo "$ac_t""yes" 1>&6
13425 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13426 cat >> confdefs.h
<<EOF
13427 #define $ac_tr_hdr 1
13431 echo "$ac_t""no" 1>&6
13436 if test "$wxUSE_GUI" = "yes"; then
13437 if test "$wxUSE_UNIX" = "yes"; then
13438 for ac_hdr
in X
11/XKBlib.h
13440 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13441 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13442 echo "configure:13443: checking for $ac_hdr" >&5
13443 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13444 echo $ac_n "(cached) $ac_c" 1>&6
13446 cat > conftest.
$ac_ext <<EOF
13447 #line 13448 "configure"
13448 #include "confdefs.h"
13451 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13452 { (eval echo configure
:13453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13453 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13454 if test -z "$ac_err"; then
13456 eval "ac_cv_header_$ac_safe=yes"
13459 echo "configure: failed program was:" >&5
13460 cat conftest.
$ac_ext >&5
13462 eval "ac_cv_header_$ac_safe=no"
13466 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13467 echo "$ac_t""yes" 1>&6
13468 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13469 cat >> confdefs.h
<<EOF
13470 #define $ac_tr_hdr 1
13474 echo "$ac_t""no" 1>&6
13482 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
13483 echo "configure:13484: checking for ANSI C header files" >&5
13484 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
13485 echo $ac_n "(cached) $ac_c" 1>&6
13487 cat > conftest.
$ac_ext <<EOF
13488 #line 13489 "configure"
13489 #include "confdefs.h"
13490 #include <stdlib.h>
13491 #include <stdarg.h>
13492 #include <string.h>
13495 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13496 { (eval echo configure
:13497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13497 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13498 if test -z "$ac_err"; then
13500 ac_cv_header_stdc
=yes
13503 echo "configure: failed program was:" >&5
13504 cat conftest.
$ac_ext >&5
13506 ac_cv_header_stdc
=no
13510 if test $ac_cv_header_stdc = yes; then
13511 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13512 cat > conftest.
$ac_ext <<EOF
13513 #line 13514 "configure"
13514 #include "confdefs.h"
13515 #include <string.h>
13517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13518 egrep "memchr" >/dev
/null
2>&1; then
13522 ac_cv_header_stdc
=no
13528 if test $ac_cv_header_stdc = yes; then
13529 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13530 cat > conftest.
$ac_ext <<EOF
13531 #line 13532 "configure"
13532 #include "confdefs.h"
13533 #include <stdlib.h>
13535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13536 egrep "free" >/dev
/null
2>&1; then
13540 ac_cv_header_stdc
=no
13546 if test $ac_cv_header_stdc = yes; then
13547 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13548 if test "$cross_compiling" = yes; then
13551 cat > conftest.
$ac_ext <<EOF
13552 #line 13553 "configure"
13553 #include "confdefs.h"
13555 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13556 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13557 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13558 int main () { int i; for (i = 0; i < 256; i++)
13559 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
13563 if { (eval echo configure
:13564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13567 echo "configure: failed program was:" >&5
13568 cat conftest.
$ac_ext >&5
13570 ac_cv_header_stdc
=no
13578 echo "$ac_t""$ac_cv_header_stdc" 1>&6
13579 if test $ac_cv_header_stdc = yes; then
13580 cat >> confdefs.h
<<\EOF
13581 #define STDC_HEADERS 1
13586 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13587 echo "configure:13588: checking for mode_t" >&5
13588 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13589 echo $ac_n "(cached) $ac_c" 1>&6
13591 cat > conftest.
$ac_ext <<EOF
13592 #line 13593 "configure"
13593 #include "confdefs.h"
13594 #include <sys/types.h>
13596 #include <stdlib.h>
13597 #include <stddef.h>
13600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13601 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13603 ac_cv_type_mode_t
=yes
13606 ac_cv_type_mode_t
=no
13611 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13612 if test $ac_cv_type_mode_t = no
; then
13613 cat >> confdefs.h
<<\EOF
13619 echo $ac_n "checking for off_t""... $ac_c" 1>&6
13620 echo "configure:13621: checking for off_t" >&5
13621 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13622 echo $ac_n "(cached) $ac_c" 1>&6
13624 cat > conftest.
$ac_ext <<EOF
13625 #line 13626 "configure"
13626 #include "confdefs.h"
13627 #include <sys/types.h>
13629 #include <stdlib.h>
13630 #include <stddef.h>
13633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13634 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13636 ac_cv_type_off_t
=yes
13639 ac_cv_type_off_t
=no
13644 echo "$ac_t""$ac_cv_type_off_t" 1>&6
13645 if test $ac_cv_type_off_t = no
; then
13646 cat >> confdefs.h
<<\EOF
13652 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13653 echo "configure:13654: checking for pid_t" >&5
13654 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13655 echo $ac_n "(cached) $ac_c" 1>&6
13657 cat > conftest.
$ac_ext <<EOF
13658 #line 13659 "configure"
13659 #include "confdefs.h"
13660 #include <sys/types.h>
13662 #include <stdlib.h>
13663 #include <stddef.h>
13666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13667 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13669 ac_cv_type_pid_t
=yes
13672 ac_cv_type_pid_t
=no
13677 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13678 if test $ac_cv_type_pid_t = no
; then
13679 cat >> confdefs.h
<<\EOF
13685 echo $ac_n "checking for size_t""... $ac_c" 1>&6
13686 echo "configure:13687: checking for size_t" >&5
13687 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13688 echo $ac_n "(cached) $ac_c" 1>&6
13690 cat > conftest.
$ac_ext <<EOF
13691 #line 13692 "configure"
13692 #include "confdefs.h"
13693 #include <sys/types.h>
13695 #include <stdlib.h>
13696 #include <stddef.h>
13699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13700 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13702 ac_cv_type_size_t
=yes
13705 ac_cv_type_size_t
=no
13710 echo "$ac_t""$ac_cv_type_size_t" 1>&6
13711 if test $ac_cv_type_size_t = no
; then
13712 cat >> confdefs.h
<<\EOF
13713 #define size_t unsigned
13718 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13719 echo "configure:13720: checking for uid_t in sys/types.h" >&5
13720 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+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"
13726 #include <sys/types.h>
13728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13729 egrep "uid_t" >/dev
/null
2>&1; then
13731 ac_cv_type_uid_t
=yes
13734 ac_cv_type_uid_t
=no
13740 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13741 if test $ac_cv_type_uid_t = no
; then
13742 cat >> confdefs.h
<<\EOF
13746 cat >> confdefs.h
<<\EOF
13753 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13754 echo "configure:13755: checking for wchar_t" >&5
13755 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13756 echo $ac_n "(cached) $ac_c" 1>&6
13759 cat > conftest.
$ac_ext <<EOF
13760 #line 13761 "configure"
13761 #include "confdefs.h"
13763 #ifdef HAVE_WCHAR_H
13765 # include <stddef.h>
13767 # include <wchar.h>
13769 #ifdef HAVE_STDLIB_H
13770 # include <stdlib.h>
13777 ws = L"Hello, world!";
13781 if { (eval echo configure
:13782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13783 wx_cv_type_wchar_t
=yes
13785 echo "configure: failed program was:" >&5
13786 cat conftest.
$ac_ext >&5
13788 wx_cv_type_wchar_t
=no
13795 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13797 if test "$wx_cv_type_wchar_t" = "yes"; then
13798 cat >> confdefs.h
<<\EOF
13799 #define wxUSE_WCHAR_T 1
13806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13807 ac_cpp
='$CXXCPP $CPPFLAGS'
13808 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13809 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13810 cross_compiling
=$ac_cv_prog_cxx_cross
13812 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13813 echo "configure:13814: checking if size_t is unsigned int" >&5
13814 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13815 echo $ac_n "(cached) $ac_c" 1>&6
13817 cat > conftest.
$ac_ext <<EOF
13818 #line 13819 "configure"
13819 #include "confdefs.h"
13820 #include <stddef.h>
13825 struct Foo { void foo(size_t); void foo(unsigned int); };
13831 if { (eval echo configure
:13832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13833 wx_cv_size_t_is_uint
=no
13835 echo "configure: failed program was:" >&5
13836 cat conftest.
$ac_ext >&5
13838 wx_cv_size_t_is_uint
=yes
13845 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13847 if test "$wx_cv_size_t_is_uint" = "yes"; then
13848 cat >> confdefs.h
<<\EOF
13849 #define wxSIZE_T_IS_UINT 1
13853 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13854 echo "configure:13855: checking if size_t is unsigned long" >&5
13855 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13856 echo $ac_n "(cached) $ac_c" 1>&6
13858 cat > conftest.
$ac_ext <<EOF
13859 #line 13860 "configure"
13860 #include "confdefs.h"
13861 #include <stddef.h>
13866 struct Foo { void foo(size_t); void foo(unsigned long); };
13872 if { (eval echo configure
:13873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13874 wx_cv_size_t_is_ulong
=no
13876 echo "configure: failed program was:" >&5
13877 cat conftest.
$ac_ext >&5
13879 wx_cv_size_t_is_ulong
=yes
13886 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13888 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13889 cat >> confdefs.h
<<\EOF
13890 #define wxSIZE_T_IS_ULONG 1
13897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13898 ac_cpp
='$CPP $CPPFLAGS'
13899 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13900 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13901 cross_compiling
=$ac_cv_prog_cc_cross
13905 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13906 echo "configure:13907: checking for pw_gecos in struct passwd" >&5
13907 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13908 echo $ac_n "(cached) $ac_c" 1>&6
13911 cat > conftest.
$ac_ext <<EOF
13912 #line 13913 "configure"
13913 #include "confdefs.h"
13923 if { (eval echo configure
:13924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13926 wx_cv_struct_pw_gecos
=yes
13929 echo "configure: failed program was:" >&5
13930 cat conftest.
$ac_ext >&5
13933 wx_cv_struct_pw_gecos
=no
13942 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13944 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13945 cat >> confdefs.h
<<\EOF
13946 #define HAVE_PW_GECOS 1
13952 echo $ac_n "checking for working const""... $ac_c" 1>&6
13953 echo "configure:13954: checking for working const" >&5
13954 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13955 echo $ac_n "(cached) $ac_c" 1>&6
13957 cat > conftest.
$ac_ext <<EOF
13958 #line 13959 "configure"
13959 #include "confdefs.h"
13963 /* Ultrix mips cc rejects this. */
13964 typedef int charset[2]; const charset x;
13965 /* SunOS 4.1.1 cc rejects this. */
13966 char const *const *ccp;
13968 /* NEC SVR4.0.2 mips cc rejects this. */
13969 struct point {int x, y;};
13970 static struct point const zero = {0,0};
13971 /* AIX XL C 1.02.0.0 rejects this.
13972 It does not let you subtract one const X* pointer from another in an arm
13973 of an if-expression whose if-part is not a constant expression */
13974 const char *g = "string";
13975 ccp = &g + (g ? g-g : 0);
13976 /* HPUX 7.0 cc rejects these. */
13979 ccp = (char const *const *) p;
13980 { /* SCO 3.2v4 cc rejects this. */
13982 char const *s = 0 ? (char *) 0 : (char const *) 0;
13986 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13987 int x[] = {25, 17};
13988 const int *foo = &x[0];
13991 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13992 typedef const int *iptr;
13996 { /* AIX XL C 1.02.0.0 rejects this saying
13997 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13998 struct s { int j; const int *ap[3]; };
13999 struct s *b; b->j = 5;
14001 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14002 const int foo = 10;
14007 if { (eval echo configure
:14008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14011 echo "configure: failed program was:" >&5
14012 cat conftest.
$ac_ext >&5
14019 echo "$ac_t""$ac_cv_c_const" 1>&6
14020 if test $ac_cv_c_const = no
; then
14021 cat >> confdefs.h
<<\EOF
14027 echo $ac_n "checking for inline""... $ac_c" 1>&6
14028 echo "configure:14029: checking for inline" >&5
14029 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
14030 echo $ac_n "(cached) $ac_c" 1>&6
14033 for ac_kw
in inline __inline__ __inline
; do
14034 cat > conftest.
$ac_ext <<EOF
14035 #line 14036 "configure"
14036 #include "confdefs.h"
14042 if { (eval echo configure
:14043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14044 ac_cv_c_inline
=$ac_kw; break
14046 echo "configure: failed program was:" >&5
14047 cat conftest.
$ac_ext >&5
14054 echo "$ac_t""$ac_cv_c_inline" 1>&6
14055 case "$ac_cv_c_inline" in
14057 no
) cat >> confdefs.h
<<\EOF
14061 *) cat >> confdefs.h
<<EOF
14062 #define inline $ac_cv_c_inline
14068 echo $ac_n "checking size of char""... $ac_c" 1>&6
14069 echo "configure:14070: checking size of char" >&5
14070 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14071 echo $ac_n "(cached) $ac_c" 1>&6
14073 if test "$cross_compiling" = yes; then
14074 ac_cv_sizeof_char
=1
14076 cat > conftest.
$ac_ext <<EOF
14077 #line 14078 "configure"
14078 #include "confdefs.h"
14082 FILE *f=fopen("conftestval", "w");
14084 fprintf(f, "%d\n", sizeof(char));
14088 if { (eval echo configure
:14089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14090 ac_cv_sizeof_char
=`cat conftestval`
14092 echo "configure: failed program was:" >&5
14093 cat conftest.
$ac_ext >&5
14095 ac_cv_sizeof_char
=0
14101 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14102 cat >> confdefs.h
<<EOF
14103 #define SIZEOF_CHAR $ac_cv_sizeof_char
14107 echo $ac_n "checking size of short""... $ac_c" 1>&6
14108 echo "configure:14109: checking size of short" >&5
14109 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14110 echo $ac_n "(cached) $ac_c" 1>&6
14112 if test "$cross_compiling" = yes; then
14113 ac_cv_sizeof_short
=2
14115 cat > conftest.
$ac_ext <<EOF
14116 #line 14117 "configure"
14117 #include "confdefs.h"
14121 FILE *f=fopen("conftestval", "w");
14123 fprintf(f, "%d\n", sizeof(short));
14127 if { (eval echo configure
:14128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14129 ac_cv_sizeof_short
=`cat conftestval`
14131 echo "configure: failed program was:" >&5
14132 cat conftest.
$ac_ext >&5
14134 ac_cv_sizeof_short
=0
14140 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14141 cat >> confdefs.h
<<EOF
14142 #define SIZEOF_SHORT $ac_cv_sizeof_short
14146 echo $ac_n "checking size of int *""... $ac_c" 1>&6
14147 echo "configure:14148: checking size of int *" >&5
14148 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
14149 echo $ac_n "(cached) $ac_c" 1>&6
14151 if test "$cross_compiling" = yes; then
14152 ac_cv_sizeof_int_p
=4
14154 cat > conftest.
$ac_ext <<EOF
14155 #line 14156 "configure"
14156 #include "confdefs.h"
14160 FILE *f=fopen("conftestval", "w");
14162 fprintf(f, "%d\n", sizeof(int *));
14166 if { (eval echo configure
:14167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14168 ac_cv_sizeof_int_p
=`cat conftestval`
14170 echo "configure: failed program was:" >&5
14171 cat conftest.
$ac_ext >&5
14173 ac_cv_sizeof_int_p
=0
14179 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
14180 cat >> confdefs.h
<<EOF
14181 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
14185 echo $ac_n "checking size of int""... $ac_c" 1>&6
14186 echo "configure:14187: checking size of int" >&5
14187 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14188 echo $ac_n "(cached) $ac_c" 1>&6
14190 if test "$cross_compiling" = yes; then
14193 cat > conftest.
$ac_ext <<EOF
14194 #line 14195 "configure"
14195 #include "confdefs.h"
14199 FILE *f=fopen("conftestval", "w");
14201 fprintf(f, "%d\n", sizeof(int));
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
14207 ac_cv_sizeof_int
=`cat conftestval`
14209 echo "configure: failed program was:" >&5
14210 cat conftest.
$ac_ext >&5
14218 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14219 cat >> confdefs.h
<<EOF
14220 #define SIZEOF_INT $ac_cv_sizeof_int
14224 echo $ac_n "checking size of long""... $ac_c" 1>&6
14225 echo "configure:14226: checking size of long" >&5
14226 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14227 echo $ac_n "(cached) $ac_c" 1>&6
14229 if test "$cross_compiling" = yes; then
14230 ac_cv_sizeof_long
=4
14232 cat > conftest.
$ac_ext <<EOF
14233 #line 14234 "configure"
14234 #include "confdefs.h"
14238 FILE *f=fopen("conftestval", "w");
14240 fprintf(f, "%d\n", sizeof(long));
14244 if { (eval echo configure
:14245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14246 ac_cv_sizeof_long
=`cat conftestval`
14248 echo "configure: failed program was:" >&5
14249 cat conftest.
$ac_ext >&5
14251 ac_cv_sizeof_long
=0
14257 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14258 cat >> confdefs.h
<<EOF
14259 #define SIZEOF_LONG $ac_cv_sizeof_long
14263 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14264 echo "configure:14265: checking size of long long" >&5
14265 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14266 echo $ac_n "(cached) $ac_c" 1>&6
14268 if test "$cross_compiling" = yes; then
14269 ac_cv_sizeof_long_long
=0
14271 cat > conftest.
$ac_ext <<EOF
14272 #line 14273 "configure"
14273 #include "confdefs.h"
14277 FILE *f=fopen("conftestval", "w");
14279 fprintf(f, "%d\n", sizeof(long long));
14283 if { (eval echo configure
:14284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14285 ac_cv_sizeof_long_long
=`cat conftestval`
14287 echo "configure: failed program was:" >&5
14288 cat conftest.
$ac_ext >&5
14290 ac_cv_sizeof_long_long
=0
14296 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14297 cat >> confdefs.h
<<EOF
14298 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14303 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14304 echo "configure:14305: checking size of wchar_t" >&5
14305 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14306 echo $ac_n "(cached) $ac_c" 1>&6
14309 if test "$cross_compiling" = yes; then
14310 wx_cv_sizeof_wchar_t
=4
14313 cat > conftest.
$ac_ext <<EOF
14314 #line 14315 "configure"
14315 #include "confdefs.h"
14317 #ifdef HAVE_WCHAR_H
14319 # include <stddef.h>
14321 # include <wchar.h>
14323 #ifdef HAVE_STDLIB_H
14324 # include <stdlib.h>
14329 FILE *f=fopen("conftestval", "w");
14331 fprintf(f, "%i", sizeof(wchar_t));
14336 if { (eval echo configure
:14337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14338 wx_cv_sizeof_wchar_t
=`cat conftestval`
14340 echo "configure: failed program was:" >&5
14341 cat conftest.
$ac_ext >&5
14343 wx_cv_sizeof_wchar_t
=0
14351 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
14353 cat >> confdefs.h
<<EOF
14354 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
14358 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
14359 echo "configure:14360: checking whether byte ordering is bigendian" >&5
14360 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
14361 echo $ac_n "(cached) $ac_c" 1>&6
14363 ac_cv_c_bigendian
=unknown
14364 # See if sys/param.h defines the BYTE_ORDER macro.
14365 cat > conftest.
$ac_ext <<EOF
14366 #line 14367 "configure"
14367 #include "confdefs.h"
14368 #include <sys/types.h>
14369 #include <sys/param.h>
14372 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14373 bogus endian macros
14377 if { (eval echo configure
:14378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14379 # It does; now see whether it defined to BIG_ENDIAN or not.
14380 cat > conftest.
$ac_ext <<EOF
14381 #line 14382 "configure"
14382 #include "confdefs.h"
14383 #include <sys/types.h>
14384 #include <sys/param.h>
14387 #if BYTE_ORDER != BIG_ENDIAN
14392 if { (eval echo configure
:14393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14394 ac_cv_c_bigendian
=yes
14396 echo "configure: failed program was:" >&5
14397 cat conftest.
$ac_ext >&5
14399 ac_cv_c_bigendian
=no
14403 echo "configure: failed program was:" >&5
14404 cat conftest.
$ac_ext >&5
14407 if test $ac_cv_c_bigendian = unknown
; then
14408 if test "$cross_compiling" = yes; then
14409 ac_cv_c_bigendian
=unknown
14411 cat > conftest.
$ac_ext <<EOF
14412 #line 14413 "configure"
14413 #include "confdefs.h"
14415 /* Are we little or big endian? From Harbison&Steele. */
14419 char c[sizeof (long)];
14422 exit (u.c[sizeof (long) - 1] == 1);
14425 if { (eval echo configure
:14426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14427 ac_cv_c_bigendian
=no
14429 echo "configure: failed program was:" >&5
14430 cat conftest.
$ac_ext >&5
14432 ac_cv_c_bigendian
=yes
14440 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
14441 if test $ac_cv_c_bigendian = unknown
; then
14442 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
14444 if test $ac_cv_c_bigendian = yes; then
14445 cat >> confdefs.h
<<\EOF
14446 #define WORDS_BIGENDIAN 1
14452 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
14453 echo "configure:14454: checking how to run the C++ preprocessor" >&5
14454 if test -z "$CXXCPP"; then
14455 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
14456 echo $ac_n "(cached) $ac_c" 1>&6
14459 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14460 ac_cpp
='$CXXCPP $CPPFLAGS'
14461 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14462 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14463 cross_compiling
=$ac_cv_prog_cxx_cross
14464 CXXCPP
="${CXX-g++} -E"
14465 cat > conftest.
$ac_ext <<EOF
14466 #line 14467 "configure"
14467 #include "confdefs.h"
14468 #include <stdlib.h>
14470 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14471 { (eval echo configure
:14472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14472 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14473 if test -z "$ac_err"; then
14477 echo "configure: failed program was:" >&5
14478 cat conftest.
$ac_ext >&5
14483 ac_cv_prog_CXXCPP
="$CXXCPP"
14485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14486 ac_cpp
='$CXXCPP $CPPFLAGS'
14487 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14488 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14489 cross_compiling
=$ac_cv_prog_cxx_cross
14492 CXXCPP
="$ac_cv_prog_CXXCPP"
14493 echo "$ac_t""$CXXCPP" 1>&6
14496 if test "$cross_compiling" = "yes"; then
14497 cat >> confdefs.h
<<\EOF
14498 #define wxUSE_IOSTREAMH 1
14504 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14505 ac_cpp
='$CXXCPP $CPPFLAGS'
14506 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14507 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14508 cross_compiling
=$ac_cv_prog_cxx_cross
14511 for ac_hdr
in iostream
14513 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14514 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14515 echo "configure:14516: checking for $ac_hdr" >&5
14516 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14517 echo $ac_n "(cached) $ac_c" 1>&6
14519 cat > conftest.
$ac_ext <<EOF
14520 #line 14521 "configure"
14521 #include "confdefs.h"
14524 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14525 { (eval echo configure
:14526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14526 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14527 if test -z "$ac_err"; then
14529 eval "ac_cv_header_$ac_safe=yes"
14532 echo "configure: failed program was:" >&5
14533 cat conftest.
$ac_ext >&5
14535 eval "ac_cv_header_$ac_safe=no"
14539 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14540 echo "$ac_t""yes" 1>&6
14541 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14542 cat >> confdefs.h
<<EOF
14543 #define $ac_tr_hdr 1
14547 echo "$ac_t""no" 1>&6
14552 if test "$ac_cv_header_iostream" = "yes" ; then
14555 cat >> confdefs.h
<<\EOF
14556 #define wxUSE_IOSTREAMH 1
14562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14563 ac_cpp
='$CPP $CPPFLAGS'
14564 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14565 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14566 cross_compiling
=$ac_cv_prog_cc_cross
14572 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
14573 echo "configure:14574: checking if C++ compiler supports bool" >&5
14574 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14575 echo $ac_n "(cached) $ac_c" 1>&6
14580 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14581 ac_cpp
='$CXXCPP $CPPFLAGS'
14582 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14583 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14584 cross_compiling
=$ac_cv_prog_cxx_cross
14587 cat > conftest.
$ac_ext <<EOF
14588 #line 14589 "configure"
14589 #include "confdefs.h"
14600 if { (eval echo configure
:14601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14606 echo "configure: failed program was:" >&5
14607 cat conftest.
$ac_ext >&5
14617 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14618 ac_cpp
='$CPP $CPPFLAGS'
14619 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14620 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14621 cross_compiling
=$ac_cv_prog_cc_cross
14626 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14628 if test "$wx_cv_cpp_bool" = "yes"; then
14629 cat >> confdefs.h
<<\EOF
14630 #define HAVE_BOOL 1
14637 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14638 echo "configure:14639: checking for wcslen in -lc" >&5
14639 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14640 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14641 echo $ac_n "(cached) $ac_c" 1>&6
14643 ac_save_LIBS
="$LIBS"
14645 cat > conftest.
$ac_ext <<EOF
14646 #line 14647 "configure"
14647 #include "confdefs.h"
14648 /* Override any gcc2 internal prototype to avoid an error. */
14649 /* We use char because int might match the return type of a gcc2
14650 builtin and then its argument prototype would still apply. */
14657 if { (eval echo configure
:14658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14659 eval "ac_cv_lib_$ac_lib_var=yes"
14661 echo "configure: failed program was:" >&5
14662 cat conftest.
$ac_ext >&5
14664 eval "ac_cv_lib_$ac_lib_var=no"
14667 LIBS
="$ac_save_LIBS"
14670 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14671 echo "$ac_t""yes" 1>&6
14673 cat >> confdefs.h
<<\EOF
14674 #define HAVE_WCSLEN 1
14680 echo "$ac_t""no" 1>&6
14682 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14683 echo "configure:14684: checking for wcslen in -lw" >&5
14684 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
14685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14686 echo $ac_n "(cached) $ac_c" 1>&6
14688 ac_save_LIBS
="$LIBS"
14690 cat > conftest.
$ac_ext <<EOF
14691 #line 14692 "configure"
14692 #include "confdefs.h"
14693 /* Override any gcc2 internal prototype to avoid an error. */
14694 /* We use char because int might match the return type of a gcc2
14695 builtin and then its argument prototype would still apply. */
14702 if { (eval echo configure
:14703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14704 eval "ac_cv_lib_$ac_lib_var=yes"
14706 echo "configure: failed program was:" >&5
14707 cat conftest.
$ac_ext >&5
14709 eval "ac_cv_lib_$ac_lib_var=no"
14712 LIBS
="$ac_save_LIBS"
14715 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14716 echo "$ac_t""yes" 1>&6
14718 cat >> confdefs.h
<<\EOF
14719 #define HAVE_WCSLEN 1
14725 echo "$ac_t""no" 1>&6
14727 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14728 echo "configure:14729: checking for wcslen in -lmsvcrt" >&5
14729 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
14730 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14731 echo $ac_n "(cached) $ac_c" 1>&6
14733 ac_save_LIBS
="$LIBS"
14734 LIBS
="-lmsvcrt $LIBS"
14735 cat > conftest.
$ac_ext <<EOF
14736 #line 14737 "configure"
14737 #include "confdefs.h"
14738 /* Override any gcc2 internal prototype to avoid an error. */
14739 /* We use char because int might match the return type of a gcc2
14740 builtin and then its argument prototype would still apply. */
14747 if { (eval echo configure
:14748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14749 eval "ac_cv_lib_$ac_lib_var=yes"
14751 echo "configure: failed program was:" >&5
14752 cat conftest.
$ac_ext >&5
14754 eval "ac_cv_lib_$ac_lib_var=no"
14757 LIBS
="$ac_save_LIBS"
14760 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14761 echo "$ac_t""yes" 1>&6
14763 cat >> confdefs.h
<<\EOF
14764 #define HAVE_WCSLEN 1
14770 echo "$ac_t""no" 1>&6
14780 for ac_func
in wcsrtombs
14782 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14783 echo "configure:14784: checking for $ac_func" >&5
14784 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14785 echo $ac_n "(cached) $ac_c" 1>&6
14787 cat > conftest.
$ac_ext <<EOF
14788 #line 14789 "configure"
14789 #include "confdefs.h"
14790 /* System header to define __stub macros and hopefully few prototypes,
14791 which can conflict with char $ac_func(); below. */
14792 #include <assert.h>
14793 /* Override any gcc2 internal prototype to avoid an error. */
14794 /* We use char because int might match the return type of a gcc2
14795 builtin and then its argument prototype would still apply. */
14800 /* The GNU C library defines this for functions which it implements
14801 to always fail with ENOSYS. Some functions are actually named
14802 something starting with __ and the normal name is an alias. */
14803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14811 if { (eval echo configure
:14812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14813 eval "ac_cv_func_$ac_func=yes"
14815 echo "configure: failed program was:" >&5
14816 cat conftest.
$ac_ext >&5
14818 eval "ac_cv_func_$ac_func=no"
14823 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14824 echo "$ac_t""yes" 1>&6
14825 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14826 cat >> confdefs.h
<<EOF
14827 #define $ac_tr_func 1
14831 echo "$ac_t""no" 1>&6
14836 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14837 echo "configure:14838: checking for vprintf" >&5
14838 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14839 echo $ac_n "(cached) $ac_c" 1>&6
14841 cat > conftest.
$ac_ext <<EOF
14842 #line 14843 "configure"
14843 #include "confdefs.h"
14844 /* System header to define __stub macros and hopefully few prototypes,
14845 which can conflict with char vprintf(); below. */
14846 #include <assert.h>
14847 /* Override any gcc2 internal prototype to avoid an error. */
14848 /* We use char because int might match the return type of a gcc2
14849 builtin and then its argument prototype would still apply. */
14854 /* The GNU C library defines this for functions which it implements
14855 to always fail with ENOSYS. Some functions are actually named
14856 something starting with __ and the normal name is an alias. */
14857 #if defined (__stub_vprintf) || defined (__stub___vprintf)
14865 if { (eval echo configure
:14866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14867 eval "ac_cv_func_vprintf=yes"
14869 echo "configure: failed program was:" >&5
14870 cat conftest.
$ac_ext >&5
14872 eval "ac_cv_func_vprintf=no"
14877 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14878 echo "$ac_t""yes" 1>&6
14879 cat >> confdefs.h
<<\EOF
14880 #define HAVE_VPRINTF 1
14884 echo "$ac_t""no" 1>&6
14887 if test "$ac_cv_func_vprintf" != yes; then
14888 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14889 echo "configure:14890: checking for _doprnt" >&5
14890 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14891 echo $ac_n "(cached) $ac_c" 1>&6
14893 cat > conftest.
$ac_ext <<EOF
14894 #line 14895 "configure"
14895 #include "confdefs.h"
14896 /* System header to define __stub macros and hopefully few prototypes,
14897 which can conflict with char _doprnt(); below. */
14898 #include <assert.h>
14899 /* Override any gcc2 internal prototype to avoid an error. */
14900 /* We use char because int might match the return type of a gcc2
14901 builtin and then its argument prototype would still apply. */
14906 /* The GNU C library defines this for functions which it implements
14907 to always fail with ENOSYS. Some functions are actually named
14908 something starting with __ and the normal name is an alias. */
14909 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14917 if { (eval echo configure
:14918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14919 eval "ac_cv_func__doprnt=yes"
14921 echo "configure: failed program was:" >&5
14922 cat conftest.
$ac_ext >&5
14924 eval "ac_cv_func__doprnt=no"
14929 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14930 echo "$ac_t""yes" 1>&6
14931 cat >> confdefs.h
<<\EOF
14932 #define HAVE_DOPRNT 1
14936 echo "$ac_t""no" 1>&6
14946 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14947 echo "configure:14948: checking for vsnprintf" >&5
14948 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14949 echo $ac_n "(cached) $ac_c" 1>&6
14952 cat > conftest.
$ac_ext <<EOF
14953 #line 14954 "configure"
14954 #include "confdefs.h"
14957 #include <stdarg.h>
14961 int wx_test_vsnprintf(const char *, ...);
14963 wx_test_vsnprintf("%s");
14967 int wx_test_vsnprintf(const char *fmt, ...)
14972 va_start(argp, fmt);
14973 vsnprintf(s, 42, fmt, argp);
14978 if { (eval echo configure
:14979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14981 wx_cv_func_vsnprintf
=yes
14984 echo "configure: failed program was:" >&5
14985 cat conftest.
$ac_ext >&5
14988 cat > conftest.
$ac_ext <<EOF
14989 #line 14990 "configure"
14990 #include "confdefs.h"
14993 #include <stdarg.h>
14997 int wx_test_vsnprintf(const char *, ...);
14999 wx_test_vsnprintf("%s");
15003 int wx_test_vsnprintf(const char *fmt, ...)
15008 va_start(argp, fmt);
15009 _vsnprintf(s, 42, fmt, argp);
15014 if { (eval echo configure
:15015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15017 wx_cv_func_vsnprintf
=yes
15020 echo "configure: failed program was:" >&5
15021 cat conftest.
$ac_ext >&5
15024 wx_cv_func_vsnprintf
=no
15034 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15036 if test "$wx_cv_func_vsnprintf" = yes; then
15037 cat >> confdefs.h
<<\EOF
15038 #define HAVE_VSNPRINTF 1
15042 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15045 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15046 echo "configure:15047: checking for vsscanf" >&5
15047 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15048 echo $ac_n "(cached) $ac_c" 1>&6
15051 cat > conftest.
$ac_ext <<EOF
15052 #line 15053 "configure"
15053 #include "confdefs.h"
15056 #include <stdarg.h>
15060 int wx_test_vsscanf(const char *, ...);
15062 wx_test_vsscanf("%d");
15066 int wx_test_vsscanf(const char *fmt, ...)
15069 va_start(argp, fmt);
15070 vsscanf("42", fmt, argp);
15075 if { (eval echo configure
:15076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15078 wx_cv_func_vsscanf
=yes
15081 echo "configure: failed program was:" >&5
15082 cat conftest.
$ac_ext >&5
15085 wx_cv_func_vsscanf
=no
15092 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15094 if test "$wx_cv_func_vsscanf" = yes; then
15095 cat >> confdefs.h
<<\EOF
15096 #define HAVE_VSSCANF 1
15101 if test "$TOOLKIT" != "MSW"; then
15106 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15107 ac_cpp
='$CXXCPP $CPPFLAGS'
15108 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15109 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15110 cross_compiling
=$ac_cv_prog_cxx_cross
15112 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
15113 echo "configure:15114: checking if iconv() takes char**" >&5
15114 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
15115 echo $ac_n "(cached) $ac_c" 1>&6
15118 cat > conftest.
$ac_ext <<EOF
15119 #line 15120 "configure"
15120 #include "confdefs.h"
15124 char **inbuf, **outbuf;
15126 size_t insz, outsz;
15127 iconv(cd, inbuf, &insz, outbuf, &outsz);
15131 if { (eval echo configure
:15132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15133 wx_cv_iconv_takes_char
=yes
15135 echo "configure: failed program was:" >&5
15136 cat conftest.
$ac_ext >&5
15138 wx_cv_iconv_takes_char
=no
15144 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
15146 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15147 ac_cpp
='$CPP $CPPFLAGS'
15148 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15149 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15150 cross_compiling
=$ac_cv_prog_cc_cross
15152 if test "$wx_cv_iconv_takes_char" = yes ; then
15153 cat >> confdefs.h
<<\EOF
15154 #define WX_ICONV_TAKES_CHAR 1
15160 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15161 for ac_func
in sigaction
15163 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15164 echo "configure:15165: checking for $ac_func" >&5
15165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15166 echo $ac_n "(cached) $ac_c" 1>&6
15168 cat > conftest.
$ac_ext <<EOF
15169 #line 15170 "configure"
15170 #include "confdefs.h"
15171 /* System header to define __stub macros and hopefully few prototypes,
15172 which can conflict with char $ac_func(); below. */
15173 #include <assert.h>
15174 /* Override any gcc2 internal prototype to avoid an error. */
15175 /* We use char because int might match the return type of a gcc2
15176 builtin and then its argument prototype would still apply. */
15181 /* The GNU C library defines this for functions which it implements
15182 to always fail with ENOSYS. Some functions are actually named
15183 something starting with __ and the normal name is an alias. */
15184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15192 if { (eval echo configure
:15193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15194 eval "ac_cv_func_$ac_func=yes"
15196 echo "configure: failed program was:" >&5
15197 cat conftest.
$ac_ext >&5
15199 eval "ac_cv_func_$ac_func=no"
15204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15205 echo "$ac_t""yes" 1>&6
15206 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15207 cat >> confdefs.h
<<EOF
15208 #define $ac_tr_func 1
15212 echo "$ac_t""no" 1>&6
15217 if test "$ac_cv_func_sigaction" = "no"; then
15218 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15219 wxUSE_ON_FATAL_EXCEPTION
=no
15222 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15226 ac_cpp
='$CXXCPP $CPPFLAGS'
15227 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15228 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15229 cross_compiling
=$ac_cv_prog_cxx_cross
15232 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15233 echo "configure:15234: checking for sa_handler type" >&5
15234 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15235 echo $ac_n "(cached) $ac_c" 1>&6
15238 cat > conftest.
$ac_ext <<EOF
15239 #line 15240 "configure"
15240 #include "confdefs.h"
15241 #include <signal.h>
15244 extern void testSigHandler(int);
15246 struct sigaction sa;
15247 sa.sa_handler = testSigHandler;
15251 if { (eval echo configure
:15252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15254 wx_cv_type_sa_handler
=int
15257 echo "configure: failed program was:" >&5
15258 cat conftest.
$ac_ext >&5
15261 wx_cv_type_sa_handler
=void
15268 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
15271 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15272 ac_cpp
='$CPP $CPPFLAGS'
15273 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15274 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15275 cross_compiling
=$ac_cv_prog_cc_cross
15278 cat >> confdefs.h
<<EOF
15279 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
15285 for ac_func
in vfork
15287 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15288 echo "configure:15289: checking for $ac_func" >&5
15289 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15290 echo $ac_n "(cached) $ac_c" 1>&6
15292 cat > conftest.
$ac_ext <<EOF
15293 #line 15294 "configure"
15294 #include "confdefs.h"
15295 /* System header to define __stub macros and hopefully few prototypes,
15296 which can conflict with char $ac_func(); below. */
15297 #include <assert.h>
15298 /* Override any gcc2 internal prototype to avoid an error. */
15299 /* We use char because int might match the return type of a gcc2
15300 builtin and then its argument prototype would still apply. */
15305 /* The GNU C library defines this for functions which it implements
15306 to always fail with ENOSYS. Some functions are actually named
15307 something starting with __ and the normal name is an alias. */
15308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15316 if { (eval echo configure
:15317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15318 eval "ac_cv_func_$ac_func=yes"
15320 echo "configure: failed program was:" >&5
15321 cat conftest.
$ac_ext >&5
15323 eval "ac_cv_func_$ac_func=no"
15328 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15329 echo "$ac_t""yes" 1>&6
15330 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15331 cat >> confdefs.h
<<EOF
15332 #define $ac_tr_func 1
15336 echo "$ac_t""no" 1>&6
15341 for ac_func
in mkstemp mktemp
15343 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15344 echo "configure:15345: checking for $ac_func" >&5
15345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15346 echo $ac_n "(cached) $ac_c" 1>&6
15348 cat > conftest.
$ac_ext <<EOF
15349 #line 15350 "configure"
15350 #include "confdefs.h"
15351 /* System header to define __stub macros and hopefully few prototypes,
15352 which can conflict with char $ac_func(); below. */
15353 #include <assert.h>
15354 /* Override any gcc2 internal prototype to avoid an error. */
15355 /* We use char because int might match the return type of a gcc2
15356 builtin and then its argument prototype would still apply. */
15361 /* The GNU C library defines this for functions which it implements
15362 to always fail with ENOSYS. Some functions are actually named
15363 something starting with __ and the normal name is an alias. */
15364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15372 if { (eval echo configure
:15373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15374 eval "ac_cv_func_$ac_func=yes"
15376 echo "configure: failed program was:" >&5
15377 cat conftest.
$ac_ext >&5
15379 eval "ac_cv_func_$ac_func=no"
15384 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15385 echo "$ac_t""yes" 1>&6
15386 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15387 cat >> confdefs.h
<<EOF
15388 #define $ac_tr_func 1
15392 echo "$ac_t""no" 1>&6
15397 echo $ac_n "checking for statfs""... $ac_c" 1>&6
15398 echo "configure:15399: checking for statfs" >&5
15399 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
15400 echo $ac_n "(cached) $ac_c" 1>&6
15402 cat > conftest.
$ac_ext <<EOF
15403 #line 15404 "configure"
15404 #include "confdefs.h"
15406 #if defined(__BSD__)
15407 #include <sys/param.h>
15408 #include <sys/mount.h>
15410 #include <sys/vfs.h>
15424 if { (eval echo configure
:15425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15427 wx_cv_func_statfs
=yes
15430 echo "configure: failed program was:" >&5
15431 cat conftest.
$ac_ext >&5
15434 wx_cv_func_statfs
=no
15442 echo "$ac_t""$wx_cv_func_statfs" 1>&6
15444 if test "$wx_cv_func_statfs" = "yes"; then
15445 cat >> confdefs.h
<<\EOF
15446 #define HAVE_STATFS 1
15450 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
15451 echo "configure:15452: checking for statvfs" >&5
15452 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
15453 echo $ac_n "(cached) $ac_c" 1>&6
15455 cat > conftest.
$ac_ext <<EOF
15456 #line 15457 "configure"
15457 #include "confdefs.h"
15459 #include <sys/statvfs.h>
15472 if { (eval echo configure
:15473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15475 wx_cv_func_statvfs
=yes
15478 echo "configure: failed program was:" >&5
15479 cat conftest.
$ac_ext >&5
15482 wx_cv_func_statvfs
=no
15490 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
15492 if test "$wx_cv_func_statvfs" = "yes"; then
15493 cat >> confdefs.h
<<\EOF
15494 #define HAVE_STATVFS 1
15498 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
15502 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15503 for ac_func
in fcntl flock
15505 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15506 echo "configure:15507: checking for $ac_func" >&5
15507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15508 echo $ac_n "(cached) $ac_c" 1>&6
15510 cat > conftest.
$ac_ext <<EOF
15511 #line 15512 "configure"
15512 #include "confdefs.h"
15513 /* System header to define __stub macros and hopefully few prototypes,
15514 which can conflict with char $ac_func(); below. */
15515 #include <assert.h>
15516 /* Override any gcc2 internal prototype to avoid an error. */
15517 /* We use char because int might match the return type of a gcc2
15518 builtin and then its argument prototype would still apply. */
15523 /* The GNU C library defines this for functions which it implements
15524 to always fail with ENOSYS. Some functions are actually named
15525 something starting with __ and the normal name is an alias. */
15526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15534 if { (eval echo configure
:15535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15536 eval "ac_cv_func_$ac_func=yes"
15538 echo "configure: failed program was:" >&5
15539 cat conftest.
$ac_ext >&5
15541 eval "ac_cv_func_$ac_func=no"
15546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15547 echo "$ac_t""yes" 1>&6
15548 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15549 cat >> confdefs.h
<<EOF
15550 #define $ac_tr_func 1
15554 echo "$ac_t""no" 1>&6
15559 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
15560 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
15561 wxUSE_SNGLINST_CHECKER
=no
15565 for ac_func
in timegm
15567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15568 echo "configure:15569: checking for $ac_func" >&5
15569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15570 echo $ac_n "(cached) $ac_c" 1>&6
15572 cat > conftest.
$ac_ext <<EOF
15573 #line 15574 "configure"
15574 #include "confdefs.h"
15575 /* System header to define __stub macros and hopefully few prototypes,
15576 which can conflict with char $ac_func(); below. */
15577 #include <assert.h>
15578 /* Override any gcc2 internal prototype to avoid an error. */
15579 /* We use char because int might match the return type of a gcc2
15580 builtin and then its argument prototype would still apply. */
15585 /* The GNU C library defines this for functions which it implements
15586 to always fail with ENOSYS. Some functions are actually named
15587 something starting with __ and the normal name is an alias. */
15588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15596 if { (eval echo configure
:15597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15598 eval "ac_cv_func_$ac_func=yes"
15600 echo "configure: failed program was:" >&5
15601 cat conftest.
$ac_ext >&5
15603 eval "ac_cv_func_$ac_func=no"
15608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15609 echo "$ac_t""yes" 1>&6
15610 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15611 cat >> confdefs.h
<<EOF
15612 #define $ac_tr_func 1
15616 echo "$ac_t""no" 1>&6
15621 for ac_func
in putenv setenv
15623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15624 echo "configure:15625: checking for $ac_func" >&5
15625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15626 echo $ac_n "(cached) $ac_c" 1>&6
15628 cat > conftest.
$ac_ext <<EOF
15629 #line 15630 "configure"
15630 #include "confdefs.h"
15631 /* System header to define __stub macros and hopefully few prototypes,
15632 which can conflict with char $ac_func(); below. */
15633 #include <assert.h>
15634 /* Override any gcc2 internal prototype to avoid an error. */
15635 /* We use char because int might match the return type of a gcc2
15636 builtin and then its argument prototype would still apply. */
15641 /* The GNU C library defines this for functions which it implements
15642 to always fail with ENOSYS. Some functions are actually named
15643 something starting with __ and the normal name is an alias. */
15644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15652 if { (eval echo configure
:15653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15654 eval "ac_cv_func_$ac_func=yes"
15656 echo "configure: failed program was:" >&5
15657 cat conftest.
$ac_ext >&5
15659 eval "ac_cv_func_$ac_func=no"
15664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15665 echo "$ac_t""yes" 1>&6
15666 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15667 cat >> confdefs.h
<<EOF
15668 #define $ac_tr_func 1
15672 echo "$ac_t""no" 1>&6
15677 HAVE_SOME_SLEEP_FUNC
=0
15678 if test "$USE_BEOS" = 1; then
15679 cat >> confdefs.h
<<\EOF
15680 #define HAVE_SLEEP 1
15683 HAVE_SOME_SLEEP_FUNC
=1
15686 if test "$USE_DARWIN" = 1; then
15687 cat >> confdefs.h
<<\EOF
15688 #define HAVE_USLEEP 1
15691 HAVE_SOME_SLEEP_FUNC
=1
15694 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15696 for ac_func
in nanosleep
15698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15699 echo "configure:15700: checking for $ac_func" >&5
15700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15701 echo $ac_n "(cached) $ac_c" 1>&6
15703 cat > conftest.
$ac_ext <<EOF
15704 #line 15705 "configure"
15705 #include "confdefs.h"
15706 /* System header to define __stub macros and hopefully few prototypes,
15707 which can conflict with char $ac_func(); below. */
15708 #include <assert.h>
15709 /* Override any gcc2 internal prototype to avoid an error. */
15710 /* We use char because int might match the return type of a gcc2
15711 builtin and then its argument prototype would still apply. */
15716 /* The GNU C library defines this for functions which it implements
15717 to always fail with ENOSYS. Some functions are actually named
15718 something starting with __ and the normal name is an alias. */
15719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15727 if { (eval echo configure
:15728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15729 eval "ac_cv_func_$ac_func=yes"
15731 echo "configure: failed program was:" >&5
15732 cat conftest.
$ac_ext >&5
15734 eval "ac_cv_func_$ac_func=no"
15739 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15740 echo "$ac_t""yes" 1>&6
15741 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15742 cat >> confdefs.h
<<EOF
15743 #define $ac_tr_func 1
15745 cat >> confdefs.h
<<\EOF
15746 #define HAVE_NANOSLEEP 1
15750 echo "$ac_t""no" 1>&6
15751 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15752 echo "configure:15753: checking for nanosleep in -lposix4" >&5
15753 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15754 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15755 echo $ac_n "(cached) $ac_c" 1>&6
15757 ac_save_LIBS
="$LIBS"
15758 LIBS
="-lposix4 $LIBS"
15759 cat > conftest.
$ac_ext <<EOF
15760 #line 15761 "configure"
15761 #include "confdefs.h"
15762 /* Override any gcc2 internal prototype to avoid an error. */
15763 /* We use char because int might match the return type of a gcc2
15764 builtin and then its argument prototype would still apply. */
15771 if { (eval echo configure
:15772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15773 eval "ac_cv_lib_$ac_lib_var=yes"
15775 echo "configure: failed program was:" >&5
15776 cat conftest.
$ac_ext >&5
15778 eval "ac_cv_lib_$ac_lib_var=no"
15781 LIBS
="$ac_save_LIBS"
15784 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15785 echo "$ac_t""yes" 1>&6
15787 cat >> confdefs.h
<<\EOF
15788 #define HAVE_NANOSLEEP 1
15791 POSIX4_LINK
=" -lposix4"
15794 echo "$ac_t""no" 1>&6
15796 for ac_func
in usleep
15798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15799 echo "configure:15800: checking for $ac_func" >&5
15800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15801 echo $ac_n "(cached) $ac_c" 1>&6
15803 cat > conftest.
$ac_ext <<EOF
15804 #line 15805 "configure"
15805 #include "confdefs.h"
15806 /* System header to define __stub macros and hopefully few prototypes,
15807 which can conflict with char $ac_func(); below. */
15808 #include <assert.h>
15809 /* Override any gcc2 internal prototype to avoid an error. */
15810 /* We use char because int might match the return type of a gcc2
15811 builtin and then its argument prototype would still apply. */
15816 /* The GNU C library defines this for functions which it implements
15817 to always fail with ENOSYS. Some functions are actually named
15818 something starting with __ and the normal name is an alias. */
15819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15827 if { (eval echo configure
:15828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15829 eval "ac_cv_func_$ac_func=yes"
15831 echo "configure: failed program was:" >&5
15832 cat conftest.
$ac_ext >&5
15834 eval "ac_cv_func_$ac_func=no"
15839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15840 echo "$ac_t""yes" 1>&6
15841 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15842 cat >> confdefs.h
<<EOF
15843 #define $ac_tr_func 1
15845 cat >> confdefs.h
<<\EOF
15846 #define HAVE_USLEEP 1
15850 echo "$ac_t""no" 1>&6
15851 echo "configure: warning: wxSleep() function will not work" 1>&2
15867 for ac_func
in uname gethostname
15869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15870 echo "configure:15871: checking for $ac_func" >&5
15871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15872 echo $ac_n "(cached) $ac_c" 1>&6
15874 cat > conftest.
$ac_ext <<EOF
15875 #line 15876 "configure"
15876 #include "confdefs.h"
15877 /* System header to define __stub macros and hopefully few prototypes,
15878 which can conflict with char $ac_func(); below. */
15879 #include <assert.h>
15880 /* Override any gcc2 internal prototype to avoid an error. */
15881 /* We use char because int might match the return type of a gcc2
15882 builtin and then its argument prototype would still apply. */
15887 /* The GNU C library defines this for functions which it implements
15888 to always fail with ENOSYS. Some functions are actually named
15889 something starting with __ and the normal name is an alias. */
15890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15898 if { (eval echo configure
:15899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15900 eval "ac_cv_func_$ac_func=yes"
15902 echo "configure: failed program was:" >&5
15903 cat conftest.
$ac_ext >&5
15905 eval "ac_cv_func_$ac_func=no"
15910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15911 echo "$ac_t""yes" 1>&6
15912 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15913 cat >> confdefs.h
<<EOF
15914 #define $ac_tr_func 1
15918 echo "$ac_t""no" 1>&6
15925 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15926 ac_cpp
='$CXXCPP $CPPFLAGS'
15927 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15928 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15929 cross_compiling
=$ac_cv_prog_cxx_cross
15932 for ac_func
in strtok_r
15934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15935 echo "configure:15936: checking for $ac_func" >&5
15936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15937 echo $ac_n "(cached) $ac_c" 1>&6
15939 cat > conftest.
$ac_ext <<EOF
15940 #line 15941 "configure"
15941 #include "confdefs.h"
15942 /* System header to define __stub macros and hopefully few prototypes,
15943 which can conflict with char $ac_func(); below. */
15944 #include <assert.h>
15945 /* Override any gcc2 internal prototype to avoid an error. */
15949 /* We use char because int might match the return type of a gcc2
15950 builtin and then its argument prototype would still apply. */
15955 /* The GNU C library defines this for functions which it implements
15956 to always fail with ENOSYS. Some functions are actually named
15957 something starting with __ and the normal name is an alias. */
15958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15966 if { (eval echo configure
:15967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15968 eval "ac_cv_func_$ac_func=yes"
15970 echo "configure: failed program was:" >&5
15971 cat conftest.
$ac_ext >&5
15973 eval "ac_cv_func_$ac_func=no"
15978 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15979 echo "$ac_t""yes" 1>&6
15980 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15981 cat >> confdefs.h
<<EOF
15982 #define $ac_tr_func 1
15986 echo "$ac_t""no" 1>&6
15992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15993 ac_cpp
='$CPP $CPPFLAGS'
15994 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15995 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15996 cross_compiling
=$ac_cv_prog_cc_cross
16000 for ac_func
in inet_addr
16002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16003 echo "configure:16004: checking for $ac_func" >&5
16004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16005 echo $ac_n "(cached) $ac_c" 1>&6
16007 cat > conftest.
$ac_ext <<EOF
16008 #line 16009 "configure"
16009 #include "confdefs.h"
16010 /* System header to define __stub macros and hopefully few prototypes,
16011 which can conflict with char $ac_func(); below. */
16012 #include <assert.h>
16013 /* Override any gcc2 internal prototype to avoid an error. */
16014 /* We use char because int might match the return type of a gcc2
16015 builtin and then its argument prototype would still apply. */
16020 /* The GNU C library defines this for functions which it implements
16021 to always fail with ENOSYS. Some functions are actually named
16022 something starting with __ and the normal name is an alias. */
16023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16031 if { (eval echo configure
:16032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16033 eval "ac_cv_func_$ac_func=yes"
16035 echo "configure: failed program was:" >&5
16036 cat conftest.
$ac_ext >&5
16038 eval "ac_cv_func_$ac_func=no"
16043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16044 echo "$ac_t""yes" 1>&6
16045 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16046 cat >> confdefs.h
<<EOF
16047 #define $ac_tr_func 1
16049 cat >> confdefs.h
<<\EOF
16050 #define HAVE_INET_ADDR 1
16054 echo "$ac_t""no" 1>&6
16055 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16056 echo "configure:16057: checking for inet_addr in -lnsl" >&5
16057 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16058 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16059 echo $ac_n "(cached) $ac_c" 1>&6
16061 ac_save_LIBS
="$LIBS"
16063 cat > conftest.
$ac_ext <<EOF
16064 #line 16065 "configure"
16065 #include "confdefs.h"
16066 /* Override any gcc2 internal prototype to avoid an error. */
16067 /* We use char because int might match the return type of a gcc2
16068 builtin and then its argument prototype would still apply. */
16075 if { (eval echo configure
:16076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16077 eval "ac_cv_lib_$ac_lib_var=yes"
16079 echo "configure: failed program was:" >&5
16080 cat conftest.
$ac_ext >&5
16082 eval "ac_cv_lib_$ac_lib_var=no"
16085 LIBS
="$ac_save_LIBS"
16088 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16089 echo "$ac_t""yes" 1>&6
16092 echo "$ac_t""no" 1>&6
16093 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16094 echo "configure:16095: checking for inet_addr in -lresolv" >&5
16095 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16096 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16097 echo $ac_n "(cached) $ac_c" 1>&6
16099 ac_save_LIBS
="$LIBS"
16100 LIBS
="-lresolv $LIBS"
16101 cat > conftest.
$ac_ext <<EOF
16102 #line 16103 "configure"
16103 #include "confdefs.h"
16104 /* Override any gcc2 internal prototype to avoid an error. */
16105 /* We use char because int might match the return type of a gcc2
16106 builtin and then its argument prototype would still apply. */
16113 if { (eval echo configure
:16114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16115 eval "ac_cv_lib_$ac_lib_var=yes"
16117 echo "configure: failed program was:" >&5
16118 cat conftest.
$ac_ext >&5
16120 eval "ac_cv_lib_$ac_lib_var=no"
16123 LIBS
="$ac_save_LIBS"
16126 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16127 echo "$ac_t""yes" 1>&6
16131 echo "$ac_t""no" 1>&6
16143 for ac_func
in inet_aton
16145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16146 echo "configure:16147: checking for $ac_func" >&5
16147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16148 echo $ac_n "(cached) $ac_c" 1>&6
16150 cat > conftest.
$ac_ext <<EOF
16151 #line 16152 "configure"
16152 #include "confdefs.h"
16153 /* System header to define __stub macros and hopefully few prototypes,
16154 which can conflict with char $ac_func(); below. */
16155 #include <assert.h>
16156 /* Override any gcc2 internal prototype to avoid an error. */
16157 /* We use char because int might match the return type of a gcc2
16158 builtin and then its argument prototype would still apply. */
16163 /* The GNU C library defines this for functions which it implements
16164 to always fail with ENOSYS. Some functions are actually named
16165 something starting with __ and the normal name is an alias. */
16166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16174 if { (eval echo configure
:16175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16176 eval "ac_cv_func_$ac_func=yes"
16178 echo "configure: failed program was:" >&5
16179 cat conftest.
$ac_ext >&5
16181 eval "ac_cv_func_$ac_func=no"
16186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16187 echo "$ac_t""yes" 1>&6
16188 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16189 cat >> confdefs.h
<<EOF
16190 #define $ac_tr_func 1
16192 cat >> confdefs.h
<<\EOF
16193 #define HAVE_INET_ATON 1
16197 echo "$ac_t""no" 1>&6
16198 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
16199 echo "configure:16200: checking for inet_aton in -l$INET_LINK" >&5
16200 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
16201 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16202 echo $ac_n "(cached) $ac_c" 1>&6
16204 ac_save_LIBS
="$LIBS"
16205 LIBS
="-l$INET_LINK $LIBS"
16206 cat > conftest.
$ac_ext <<EOF
16207 #line 16208 "configure"
16208 #include "confdefs.h"
16209 /* Override any gcc2 internal prototype to avoid an error. */
16210 /* We use char because int might match the return type of a gcc2
16211 builtin and then its argument prototype would still apply. */
16218 if { (eval echo configure
:16219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16220 eval "ac_cv_lib_$ac_lib_var=yes"
16222 echo "configure: failed program was:" >&5
16223 cat conftest.
$ac_ext >&5
16225 eval "ac_cv_lib_$ac_lib_var=no"
16228 LIBS
="$ac_save_LIBS"
16231 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16232 echo "$ac_t""yes" 1>&6
16233 cat >> confdefs.h
<<\EOF
16234 #define HAVE_INET_ATON 1
16238 echo "$ac_t""no" 1>&6
16246 if test "x$INET_LINK" != "x"; then
16247 cat >> confdefs.h
<<\EOF
16248 #define HAVE_INET_ADDR 1
16251 INET_LINK
=" -l$INET_LINK"
16257 cat > confcache
<<\EOF
16258 # This file is a shell script that caches the results of configure
16259 # tests run on this system so they can be shared between configure
16260 # scripts and configure runs. It is not useful on other systems.
16261 # If it contains results you don't want to keep, you may remove or edit it.
16263 # By default, configure uses ./config.cache as the cache file,
16264 # creating it if it does not exist already. You can give configure
16265 # the --cache-file=FILE option to use a different cache file; that is
16266 # what configure does when it calls configure scripts in
16267 # subdirectories, so they share the cache.
16268 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16269 # config.status only pays attention to the cache file if you give it the
16270 # --recheck option to rerun configure.
16273 # The following way of writing the cache mishandles newlines in values,
16274 # but we know of no workaround that is simple, portable, and efficient.
16275 # So, don't put newlines in cache variables' values.
16276 # Ultrix sh set writes to stderr and can't be redirected directly,
16277 # and sets the high bit in the cache file unless we assign to the vars.
16279 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16281 # `set' does not quote correctly, so add quotes (double-quote substitution
16282 # turns \\\\ into \\, and sed turns \\ into \).
16284 -e "s/'/'\\\\''/g" \
16285 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16288 # `set' quotes correctly as required by POSIX, so do not add quotes.
16289 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16292 if cmp -s $cache_file confcache
; then
16295 if test -w $cache_file; then
16296 echo "updating cache $cache_file"
16297 cat confcache
> $cache_file
16299 echo "not updating unwritable cache $cache_file"
16306 if test "$TOOLKIT" != "MSW"; then
16312 CODE_GEN_FLAGS_CXX
=
16314 if test "$wxUSE_THREADS" = "yes" ; then
16315 if test "$wxUSE_WINE" = 1 ; then
16316 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
16318 elif test "$USE_BEOS" = 1; then
16319 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
16324 if test "$wxUSE_THREADS" = "yes" ; then
16326 if test "$USE_AIX" = 1; then
16327 THREADS_LIB
=pthreads
16329 THREADS_LIB
=pthread
16332 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
16333 echo "configure:16334: checking for pthread_create in -l$THREADS_LIB" >&5
16334 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
16335 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16336 echo $ac_n "(cached) $ac_c" 1>&6
16338 ac_save_LIBS
="$LIBS"
16339 LIBS
="-l$THREADS_LIB $LIBS"
16340 cat > conftest.
$ac_ext <<EOF
16341 #line 16342 "configure"
16342 #include "confdefs.h"
16343 /* Override any gcc2 internal prototype to avoid an error. */
16344 /* We use char because int might match the return type of a gcc2
16345 builtin and then its argument prototype would still apply. */
16346 char pthread_create();
16352 if { (eval echo configure
:16353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16354 eval "ac_cv_lib_$ac_lib_var=yes"
16356 echo "configure: failed program was:" >&5
16357 cat conftest.
$ac_ext >&5
16359 eval "ac_cv_lib_$ac_lib_var=no"
16362 LIBS
="$ac_save_LIBS"
16365 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16366 echo "$ac_t""yes" 1>&6
16368 THREADS_OBJ
="threadpsx.lo"
16369 THREADS_LINK
=$THREADS_LIB
16372 echo "$ac_t""no" 1>&6
16374 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
16375 echo "configure:16376: checking for pthread_create in -lc_r" >&5
16376 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
16377 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16378 echo $ac_n "(cached) $ac_c" 1>&6
16380 ac_save_LIBS
="$LIBS"
16382 cat > conftest.
$ac_ext <<EOF
16383 #line 16384 "configure"
16384 #include "confdefs.h"
16385 /* Override any gcc2 internal prototype to avoid an error. */
16386 /* We use char because int might match the return type of a gcc2
16387 builtin and then its argument prototype would still apply. */
16388 char pthread_create();
16394 if { (eval echo configure
:16395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16396 eval "ac_cv_lib_$ac_lib_var=yes"
16398 echo "configure: failed program was:" >&5
16399 cat conftest.
$ac_ext >&5
16401 eval "ac_cv_lib_$ac_lib_var=no"
16404 LIBS
="$ac_save_LIBS"
16407 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16408 echo "$ac_t""yes" 1>&6
16410 THREADS_OBJ
="threadpsx.lo"
16414 echo "$ac_t""no" 1>&6
16416 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
16417 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
16418 echo "configure:16419: checking for sys/prctl.h" >&5
16419 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16420 echo $ac_n "(cached) $ac_c" 1>&6
16422 cat > conftest.
$ac_ext <<EOF
16423 #line 16424 "configure"
16424 #include "confdefs.h"
16425 #include <sys/prctl.h>
16427 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16428 { (eval echo configure
:16429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16429 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16430 if test -z "$ac_err"; then
16432 eval "ac_cv_header_$ac_safe=yes"
16435 echo "configure: failed program was:" >&5
16436 cat conftest.
$ac_ext >&5
16438 eval "ac_cv_header_$ac_safe=no"
16442 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16443 echo "$ac_t""yes" 1>&6
16445 THREADS_OBJ
="threadsgi.lo"
16448 echo "$ac_t""no" 1>&6
16458 if test -z "$THREADS_OBJ" ; then
16460 echo "configure: warning: No thread support on this system... disabled" 1>&2
16464 if test "$wxUSE_THREADS" = "yes" ; then
16465 for ac_func
in thr_setconcurrency
16467 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16468 echo "configure:16469: checking for $ac_func" >&5
16469 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16470 echo $ac_n "(cached) $ac_c" 1>&6
16472 cat > conftest.
$ac_ext <<EOF
16473 #line 16474 "configure"
16474 #include "confdefs.h"
16475 /* System header to define __stub macros and hopefully few prototypes,
16476 which can conflict with char $ac_func(); below. */
16477 #include <assert.h>
16478 /* Override any gcc2 internal prototype to avoid an error. */
16479 /* We use char because int might match the return type of a gcc2
16480 builtin and then its argument prototype would still apply. */
16485 /* The GNU C library defines this for functions which it implements
16486 to always fail with ENOSYS. Some functions are actually named
16487 something starting with __ and the normal name is an alias. */
16488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16496 if { (eval echo configure
:16497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16498 eval "ac_cv_func_$ac_func=yes"
16500 echo "configure: failed program was:" >&5
16501 cat conftest.
$ac_ext >&5
16503 eval "ac_cv_func_$ac_func=no"
16508 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16509 echo "$ac_t""yes" 1>&6
16510 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16511 cat >> confdefs.h
<<EOF
16512 #define $ac_tr_func 1
16516 echo "$ac_t""no" 1>&6
16522 for ac_hdr
in sched.h
16524 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16525 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16526 echo "configure:16527: checking for $ac_hdr" >&5
16527 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16528 echo $ac_n "(cached) $ac_c" 1>&6
16530 cat > conftest.
$ac_ext <<EOF
16531 #line 16532 "configure"
16532 #include "confdefs.h"
16535 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16536 { (eval echo configure
:16537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16537 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16538 if test -z "$ac_err"; then
16540 eval "ac_cv_header_$ac_safe=yes"
16543 echo "configure: failed program was:" >&5
16544 cat conftest.
$ac_ext >&5
16546 eval "ac_cv_header_$ac_safe=no"
16550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16551 echo "$ac_t""yes" 1>&6
16552 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16553 cat >> confdefs.h
<<EOF
16554 #define $ac_tr_hdr 1
16558 echo "$ac_t""no" 1>&6
16563 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
16564 echo "configure:16565: checking for sched_yield in -l$THREADS_LINK" >&5
16565 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
16566 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16567 echo $ac_n "(cached) $ac_c" 1>&6
16569 ac_save_LIBS
="$LIBS"
16570 LIBS
="-l$THREADS_LINK $LIBS"
16571 cat > conftest.
$ac_ext <<EOF
16572 #line 16573 "configure"
16573 #include "confdefs.h"
16574 /* Override any gcc2 internal prototype to avoid an error. */
16575 /* We use char because int might match the return type of a gcc2
16576 builtin and then its argument prototype would still apply. */
16577 char sched_yield();
16583 if { (eval echo configure
:16584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16585 eval "ac_cv_lib_$ac_lib_var=yes"
16587 echo "configure: failed program was:" >&5
16588 cat conftest.
$ac_ext >&5
16590 eval "ac_cv_lib_$ac_lib_var=no"
16593 LIBS
="$ac_save_LIBS"
16596 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16597 echo "$ac_t""yes" 1>&6
16598 cat >> confdefs.h
<<\EOF
16599 #define HAVE_SCHED_YIELD 1
16603 echo "$ac_t""no" 1>&6
16604 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16605 echo "configure:16606: checking for sched_yield in -lposix4" >&5
16606 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16607 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16608 echo $ac_n "(cached) $ac_c" 1>&6
16610 ac_save_LIBS
="$LIBS"
16611 LIBS
="-lposix4 $LIBS"
16612 cat > conftest.
$ac_ext <<EOF
16613 #line 16614 "configure"
16614 #include "confdefs.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. */
16618 char sched_yield();
16624 if { (eval echo configure
:16625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16626 eval "ac_cv_lib_$ac_lib_var=yes"
16628 echo "configure: failed program was:" >&5
16629 cat conftest.
$ac_ext >&5
16631 eval "ac_cv_lib_$ac_lib_var=no"
16634 LIBS
="$ac_save_LIBS"
16637 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16638 echo "$ac_t""yes" 1>&6
16639 cat >> confdefs.h
<<\EOF
16640 #define HAVE_SCHED_YIELD 1
16642 POSIX4_LINK
=" -lposix4"
16644 echo "$ac_t""no" 1>&6
16645 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16654 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16655 echo "configure:16656: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16656 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16657 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16658 echo $ac_n "(cached) $ac_c" 1>&6
16660 ac_save_LIBS
="$LIBS"
16661 LIBS
="-l$THREADS_LINK $LIBS"
16662 cat > conftest.
$ac_ext <<EOF
16663 #line 16664 "configure"
16664 #include "confdefs.h"
16665 /* Override any gcc2 internal prototype to avoid an error. */
16666 /* We use char because int might match the return type of a gcc2
16667 builtin and then its argument prototype would still apply. */
16668 char pthread_attr_getschedpolicy();
16671 pthread_attr_getschedpolicy()
16674 if { (eval echo configure
:16675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16676 eval "ac_cv_lib_$ac_lib_var=yes"
16678 echo "configure: failed program was:" >&5
16679 cat conftest.
$ac_ext >&5
16681 eval "ac_cv_lib_$ac_lib_var=no"
16684 LIBS
="$ac_save_LIBS"
16687 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16688 echo "$ac_t""yes" 1>&6
16689 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16690 echo "configure:16691: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16691 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16692 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16693 echo $ac_n "(cached) $ac_c" 1>&6
16695 ac_save_LIBS
="$LIBS"
16696 LIBS
="-l$THREADS_LINK $LIBS"
16697 cat > conftest.
$ac_ext <<EOF
16698 #line 16699 "configure"
16699 #include "confdefs.h"
16700 /* Override any gcc2 internal prototype to avoid an error. */
16701 /* We use char because int might match the return type of a gcc2
16702 builtin and then its argument prototype would still apply. */
16703 char pthread_attr_setschedparam();
16706 pthread_attr_setschedparam()
16709 if { (eval echo configure
:16710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16711 eval "ac_cv_lib_$ac_lib_var=yes"
16713 echo "configure: failed program was:" >&5
16714 cat conftest.
$ac_ext >&5
16716 eval "ac_cv_lib_$ac_lib_var=no"
16719 LIBS
="$ac_save_LIBS"
16722 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16723 echo "$ac_t""yes" 1>&6
16724 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16725 echo "configure:16726: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16726 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16727 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16728 echo $ac_n "(cached) $ac_c" 1>&6
16730 ac_save_LIBS
="$LIBS"
16731 LIBS
="-l$THREADS_LINK $LIBS"
16732 cat > conftest.
$ac_ext <<EOF
16733 #line 16734 "configure"
16734 #include "confdefs.h"
16735 /* Override any gcc2 internal prototype to avoid an error. */
16736 /* We use char because int might match the return type of a gcc2
16737 builtin and then its argument prototype would still apply. */
16738 char sched_get_priority_max();
16741 sched_get_priority_max()
16744 if { (eval echo configure
:16745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16746 eval "ac_cv_lib_$ac_lib_var=yes"
16748 echo "configure: failed program was:" >&5
16749 cat conftest.
$ac_ext >&5
16751 eval "ac_cv_lib_$ac_lib_var=no"
16754 LIBS
="$ac_save_LIBS"
16757 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16758 echo "$ac_t""yes" 1>&6
16761 echo "$ac_t""no" 1>&6
16762 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16763 echo "configure:16764: checking for sched_get_priority_max in -lposix4" >&5
16764 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16765 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16766 echo $ac_n "(cached) $ac_c" 1>&6
16768 ac_save_LIBS
="$LIBS"
16769 LIBS
="-lposix4 $LIBS"
16770 cat > conftest.
$ac_ext <<EOF
16771 #line 16772 "configure"
16772 #include "confdefs.h"
16773 /* Override any gcc2 internal prototype to avoid an error. */
16774 /* We use char because int might match the return type of a gcc2
16775 builtin and then its argument prototype would still apply. */
16776 char sched_get_priority_max();
16779 sched_get_priority_max()
16782 if { (eval echo configure
:16783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16784 eval "ac_cv_lib_$ac_lib_var=yes"
16786 echo "configure: failed program was:" >&5
16787 cat conftest.
$ac_ext >&5
16789 eval "ac_cv_lib_$ac_lib_var=no"
16792 LIBS
="$ac_save_LIBS"
16795 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16796 echo "$ac_t""yes" 1>&6
16799 POSIX4_LINK
=" -lposix4"
16802 echo "$ac_t""no" 1>&6
16810 echo "$ac_t""no" 1>&6
16815 echo "$ac_t""no" 1>&6
16819 if test "$HAVE_PRIOR_FUNCS" = 1; then
16820 cat >> confdefs.h
<<\EOF
16821 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16825 echo "configure: warning: Setting thread priority will not work" 1>&2
16828 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16829 echo "configure:16830: checking for pthread_cancel in -l$THREADS_LINK" >&5
16830 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | 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
="-l$THREADS_LINK $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. */
16842 char pthread_cancel();
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
16863 cat >> confdefs.h
<<\EOF
16864 #define HAVE_PTHREAD_CANCEL 1
16868 echo "$ac_t""no" 1>&6
16869 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16873 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16874 echo "configure:16875: checking for pthread_cleanup_push/pop" >&5
16875 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16876 echo $ac_n "(cached) $ac_c" 1>&6
16879 cat > conftest.
$ac_ext <<EOF
16880 #line 16881 "configure"
16881 #include "confdefs.h"
16882 #include <pthread.h>
16885 pthread_cleanup_push(NULL, NULL);
16886 pthread_cleanup_pop(0);
16890 if { (eval echo configure
:16891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16893 wx_cv_func_pthread_cleanup_push
=yes
16896 echo "configure: failed program was:" >&5
16897 cat conftest.
$ac_ext >&5
16900 wx_cv_func_pthread_cleanup_push
=no
16907 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16909 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16910 cat >> confdefs.h
<<\EOF
16911 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16917 if test "x$wx_lib_glibc21" = "xyes"; then
16918 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
16921 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16922 echo "configure:16923: checking for pthread_mutexattr_t" >&5
16923 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16924 echo $ac_n "(cached) $ac_c" 1>&6
16927 cat > conftest.
$ac_ext <<EOF
16928 #line 16929 "configure"
16929 #include "confdefs.h"
16930 #include <pthread.h>
16933 pthread_mutexattr_t attr;
16934 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16938 if { (eval echo configure
:16939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16941 wx_cv_type_pthread_mutexattr_t
=yes
16944 echo "configure: failed program was:" >&5
16945 cat conftest.
$ac_ext >&5
16948 wx_cv_type_pthread_mutexattr_t
=no
16956 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16958 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16959 cat >> confdefs.h
<<\EOF
16960 #define HAVE_PTHREAD_MUTEXATTR_T 1
16964 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16965 echo "configure:16966: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16966 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16967 echo $ac_n "(cached) $ac_c" 1>&6
16970 cat > conftest.
$ac_ext <<EOF
16971 #line 16972 "configure"
16972 #include "confdefs.h"
16973 #include <pthread.h>
16976 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16980 if { (eval echo configure
:16981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16983 wx_cv_type_pthread_rec_mutex_init
=yes
16986 echo "configure: failed program was:" >&5
16987 cat conftest.
$ac_ext >&5
16990 wx_cv_type_pthread_rec_mutex_init
=no
16998 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16999 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17000 cat >> confdefs.h
<<\EOF
17001 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17005 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17009 THREADS_LINK
=" -l$THREADS_LINK"
17011 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
17012 CPPFLAGS
="$CFLAGS -mt"
17013 CXXFLAGS
="$CXXFLAGS -mt"
17014 LDFLAGS
="$LDFLAGS -mt"
17020 if test "$wxUSE_THREADS" = "yes"; then
17021 cat >> confdefs.h
<<\EOF
17022 #define wxUSE_THREADS 1
17026 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
17028 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
17030 if test "$ac_cv_func_strtok_r" = "yes"; then
17031 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17032 echo "configure:17033: checking if -D_REENTRANT is needed" >&5
17033 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17034 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
17035 echo "$ac_t""yes" 1>&6
17037 echo "$ac_t""no" 1>&6
17042 if test "$WXGTK20" = 1 ; then
17043 cat >> confdefs.h
<<EOF
17044 #define __WXGTK20__ $WXGTK20
17050 if test "$WXGTK12" = 1 ; then
17051 cat >> confdefs.h
<<EOF
17052 #define __WXGTK12__ $WXGTK12
17057 if test "$WXGTK127" = 1 ; then
17058 cat >> confdefs.h
<<EOF
17059 #define __WXGTK127__ $WXGTK127
17066 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17071 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17072 wxUSE_DEBUG_INFO
=yes
17076 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17077 cat >> confdefs.h
<<\EOF
17081 WXDEBUG_DEFINE
="-D__WXDEBUG__"
17083 if test "$wxUSE_GTK" = 1 ; then
17084 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
17088 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17089 cat >> confdefs.h
<<\EOF
17090 #define wxUSE_MEMORY_TRACING 1
17093 cat >> confdefs.h
<<\EOF
17094 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17097 cat >> confdefs.h
<<\EOF
17098 #define wxUSE_DEBUG_NEW_ALWAYS 1
17101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
17104 if test "$wxUSE_DMALLOC" = "yes" ; then
17105 DMALLOC_LIBS
="-ldmalloc"
17109 if test "$wxUSE_PROFILE" = "yes" ; then
17113 if test "$GCC" = "yes" ; then
17114 if test "$wxUSE_NO_RTTI" = "yes" ; then
17115 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
17117 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17118 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17120 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17121 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
17123 if test "$USE_WIN32" = 1 ; then
17124 # I'm not even really sure what this was ever added to solve,
17125 # but someone added it for mingw native builds, so I guess
17126 # they had a reason, right??
17127 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17132 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17133 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17134 if test "$wxUSE_OPTIMISE" = "no" ; then
17137 if test "$GCC" = yes ; then
17140 i586
-*-*|i686
-*-* )
17141 OPTIMISE
="${OPTIMISE} "
17149 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17150 cat >> confdefs.h
<<\EOF
17151 #define WXWIN_COMPATIBILITY_2 1
17155 WXWIN_COMPATIBILITY_2_2
="yes"
17158 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
17159 cat >> confdefs.h
<<\EOF
17160 #define WXWIN_COMPATIBILITY_2_2 1
17166 if test "$wxUSE_GUI" = "yes"; then
17167 cat >> confdefs.h
<<\EOF
17168 #define wxUSE_GUI 1
17173 cat >> confdefs.h
<<\EOF
17174 #define wxUSE_NOGUI 1
17180 if test "$wxUSE_UNIX" = "yes"; then
17181 cat >> confdefs.h
<<\EOF
17182 #define wxUSE_UNIX 1
17188 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17189 cat >> confdefs.h
<<\EOF
17190 #define wxUSE_APPLE_IEEE 1
17195 if test "$wxUSE_TIMER" = "yes"; then
17196 cat >> confdefs.h
<<\EOF
17197 #define wxUSE_TIMER 1
17202 if test "$wxUSE_WAVE" = "yes"; then
17203 cat >> confdefs.h
<<\EOF
17204 #define wxUSE_WAVE 1
17209 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
17210 cat >> confdefs.h
<<\EOF
17211 #define wxUSE_CMDLINE_PARSER 1
17216 if test "$wxUSE_STOPWATCH" = "yes"; then
17217 cat >> confdefs.h
<<\EOF
17218 #define wxUSE_STOPWATCH 1
17223 if test "$wxUSE_DATETIME" = "yes"; then
17224 cat >> confdefs.h
<<\EOF
17225 #define wxUSE_DATETIME 1
17230 if test "$wxUSE_TIMEDATE" = "yes"; then
17231 cat >> confdefs.h
<<\EOF
17232 #define wxUSE_TIMEDATE 1
17237 if test "$wxUSE_FILE" = "yes"; then
17238 cat >> confdefs.h
<<\EOF
17239 #define wxUSE_FILE 1
17244 if test "$wxUSE_FFILE" = "yes"; then
17245 cat >> confdefs.h
<<\EOF
17246 #define wxUSE_FFILE 1
17251 if test "$wxUSE_FILESYSTEM" = "yes"; then
17252 cat >> confdefs.h
<<\EOF
17253 #define wxUSE_FILESYSTEM 1
17258 if test "$wxUSE_FS_INET" = "yes"; then
17259 cat >> confdefs.h
<<\EOF
17260 #define wxUSE_FS_INET 1
17265 if test "$wxUSE_FS_ZIP" = "yes"; then
17266 cat >> confdefs.h
<<\EOF
17267 #define wxUSE_FS_ZIP 1
17272 if test "$wxUSE_ZIPSTREAM" = "yes"; then
17273 cat >> confdefs.h
<<\EOF
17274 #define wxUSE_ZIPSTREAM 1
17279 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17280 cat >> confdefs.h
<<\EOF
17281 #define wxUSE_ON_FATAL_EXCEPTION 1
17286 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17287 cat >> confdefs.h
<<\EOF
17288 #define wxUSE_SNGLINST_CHECKER 1
17293 if test "$wxUSE_BUSYINFO" = "yes"; then
17294 cat >> confdefs.h
<<\EOF
17295 #define wxUSE_BUSYINFO 1
17300 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
17301 cat >> confdefs.h
<<\EOF
17302 #define wxUSE_STD_IOSTREAM 1
17307 if test "$wxUSE_TEXTBUFFER" = "yes"; then
17308 cat >> confdefs.h
<<\EOF
17309 #define wxUSE_TEXTBUFFER 1
17314 if test "$wxUSE_TEXTFILE" = "yes"; then
17315 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
17316 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
17318 cat >> confdefs.h
<<\EOF
17319 #define wxUSE_TEXTFILE 1
17325 if test "$wxUSE_CONFIG" = "yes" ; then
17326 if test "$wxUSE_TEXTFILE" != "yes"; then
17327 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
17329 cat >> confdefs.h
<<\EOF
17330 #define wxUSE_CONFIG 1
17333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
17337 if test "$wxUSE_INTL" = "yes" ; then
17338 if test "$wxUSE_FILE" != "yes"; then
17339 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
17341 cat >> confdefs.h
<<\EOF
17342 #define wxUSE_INTL 1
17345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
17346 GUIDIST
="$GUIDIST INTL_DIST"
17350 if test "$wxUSE_LOG" = "yes"; then
17351 cat >> confdefs.h
<<\EOF
17352 #define wxUSE_LOG 1
17356 if test "$wxUSE_LOGGUI" = "yes"; then
17357 cat >> confdefs.h
<<\EOF
17358 #define wxUSE_LOGGUI 1
17363 if test "$wxUSE_LOGWINDOW" = "yes"; then
17364 cat >> confdefs.h
<<\EOF
17365 #define wxUSE_LOGWINDOW 1
17370 if test "$wxUSE_LOGDIALOG" = "yes"; then
17371 cat >> confdefs.h
<<\EOF
17372 #define wxUSE_LOG_DIALOG 1
17378 if test "$wxUSE_LONGLONG" = "yes"; then
17379 cat >> confdefs.h
<<\EOF
17380 #define wxUSE_LONGLONG 1
17385 if test "$wxUSE_GEOMETRY" = "yes"; then
17386 cat >> confdefs.h
<<\EOF
17387 #define wxUSE_GEOMETRY 1
17392 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
17393 cat >> confdefs.h
<<\EOF
17394 #define wxUSE_DIALUP_MANAGER 1
17397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
17400 if test "$wxUSE_STREAMS" = "yes" ; then
17401 cat >> confdefs.h
<<\EOF
17402 #define wxUSE_STREAMS 1
17408 if test "$wxUSE_DATETIME" = "yes"; then
17409 for ac_func
in strptime
17411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17412 echo "configure:17413: checking for $ac_func" >&5
17413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17414 echo $ac_n "(cached) $ac_c" 1>&6
17416 cat > conftest.
$ac_ext <<EOF
17417 #line 17418 "configure"
17418 #include "confdefs.h"
17419 /* System header to define __stub macros and hopefully few prototypes,
17420 which can conflict with char $ac_func(); below. */
17421 #include <assert.h>
17422 /* Override any gcc2 internal prototype to avoid an error. */
17423 /* We use char because int might match the return type of a gcc2
17424 builtin and then its argument prototype would still apply. */
17429 /* The GNU C library defines this for functions which it implements
17430 to always fail with ENOSYS. Some functions are actually named
17431 something starting with __ and the normal name is an alias. */
17432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17440 if { (eval echo configure
:17441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17442 eval "ac_cv_func_$ac_func=yes"
17444 echo "configure: failed program was:" >&5
17445 cat conftest.
$ac_ext >&5
17447 eval "ac_cv_func_$ac_func=no"
17452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17453 echo "$ac_t""yes" 1>&6
17454 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17455 cat >> confdefs.h
<<EOF
17456 #define $ac_tr_func 1
17460 echo "$ac_t""no" 1>&6
17465 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
17466 echo "configure:17467: checking for timezone variable in <time.h>" >&5
17467 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
17468 echo $ac_n "(cached) $ac_c" 1>&6
17471 cat > conftest.
$ac_ext <<EOF
17472 #line 17473 "configure"
17473 #include "confdefs.h"
17484 if { (eval echo configure
:17485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17487 wx_cv_var_timezone
=timezone
17490 echo "configure: failed program was:" >&5
17491 cat conftest.
$ac_ext >&5
17494 cat > conftest.
$ac_ext <<EOF
17495 #line 17496 "configure"
17496 #include "confdefs.h"
17507 if { (eval echo configure
:17508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17510 wx_cv_var_timezone
=_timezone
17513 echo "configure: failed program was:" >&5
17514 cat conftest.
$ac_ext >&5
17517 cat > conftest.
$ac_ext <<EOF
17518 #line 17519 "configure"
17519 #include "confdefs.h"
17530 if { (eval echo configure
:17531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17533 wx_cv_var_timezone
=__timezone
17536 echo "configure: failed program was:" >&5
17537 cat conftest.
$ac_ext >&5
17540 if test "$USE_DOS" = 0 ; then
17541 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
17559 echo "$ac_t""$wx_cv_var_timezone" 1>&6
17561 if test "x$wx_cv_var_timezone" != x
; then
17562 cat >> confdefs.h
<<EOF
17563 #define WX_TIMEZONE $wx_cv_var_timezone
17568 for ac_func
in localtime
17570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17571 echo "configure:17572: checking for $ac_func" >&5
17572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17573 echo $ac_n "(cached) $ac_c" 1>&6
17575 cat > conftest.
$ac_ext <<EOF
17576 #line 17577 "configure"
17577 #include "confdefs.h"
17578 /* System header to define __stub macros and hopefully few prototypes,
17579 which can conflict with char $ac_func(); below. */
17580 #include <assert.h>
17581 /* Override any gcc2 internal prototype to avoid an error. */
17582 /* We use char because int might match the return type of a gcc2
17583 builtin and then its argument prototype would still apply. */
17588 /* The GNU C library defines this for functions which it implements
17589 to always fail with ENOSYS. Some functions are actually named
17590 something starting with __ and the normal name is an alias. */
17591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17599 if { (eval echo configure
:17600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17601 eval "ac_cv_func_$ac_func=yes"
17603 echo "configure: failed program was:" >&5
17604 cat conftest.
$ac_ext >&5
17606 eval "ac_cv_func_$ac_func=no"
17611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17612 echo "$ac_t""yes" 1>&6
17613 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17614 cat >> confdefs.h
<<EOF
17615 #define $ac_tr_func 1
17619 echo "$ac_t""no" 1>&6
17624 if test "$ac_cv_func_localtime" = "yes"; then
17625 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17626 echo "configure:17627: checking for tm_gmtoff in struct tm" >&5
17627 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17628 echo $ac_n "(cached) $ac_c" 1>&6
17631 cat > conftest.
$ac_ext <<EOF
17632 #line 17633 "configure"
17633 #include "confdefs.h"
17644 if { (eval echo configure
:17645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17647 wx_cv_struct_tm_has_gmtoff
=yes
17650 echo "configure: failed program was:" >&5
17651 cat conftest.
$ac_ext >&5
17653 wx_cv_struct_tm_has_gmtoff
=no
17660 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17663 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17664 cat >> confdefs.h
<<\EOF
17665 #define WX_GMTOFF_IN_TM 1
17670 for ac_func
in gettimeofday ftime
17672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17673 echo "configure:17674: checking for $ac_func" >&5
17674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17675 echo $ac_n "(cached) $ac_c" 1>&6
17677 cat > conftest.
$ac_ext <<EOF
17678 #line 17679 "configure"
17679 #include "confdefs.h"
17680 /* System header to define __stub macros and hopefully few prototypes,
17681 which can conflict with char $ac_func(); below. */
17682 #include <assert.h>
17683 /* Override any gcc2 internal prototype to avoid an error. */
17684 /* We use char because int might match the return type of a gcc2
17685 builtin and then its argument prototype would still apply. */
17690 /* The GNU C library defines this for functions which it implements
17691 to always fail with ENOSYS. Some functions are actually named
17692 something starting with __ and the normal name is an alias. */
17693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17701 if { (eval echo configure
:17702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17703 eval "ac_cv_func_$ac_func=yes"
17705 echo "configure: failed program was:" >&5
17706 cat conftest.
$ac_ext >&5
17708 eval "ac_cv_func_$ac_func=no"
17713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17714 echo "$ac_t""yes" 1>&6
17715 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17716 cat >> confdefs.h
<<EOF
17717 #define $ac_tr_func 1
17721 echo "$ac_t""no" 1>&6
17726 if test "$ac_cv_func_gettimeofday" = "yes"; then
17727 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17728 echo "configure:17729: checking whether gettimeofday takes two arguments" >&5
17729 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17730 echo $ac_n "(cached) $ac_c" 1>&6
17735 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17736 ac_cpp
='$CXXCPP $CPPFLAGS'
17737 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17738 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17739 cross_compiling
=$ac_cv_prog_cxx_cross
17742 cat > conftest.
$ac_ext <<EOF
17743 #line 17744 "configure"
17744 #include "confdefs.h"
17746 #include <sys/time.h>
17747 #include <unistd.h>
17752 gettimeofday(&tv, NULL);
17756 if { (eval echo configure
:17757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17758 wx_cv_func_gettimeofday_has_2_args
=yes
17760 echo "configure: failed program was:" >&5
17761 cat conftest.
$ac_ext >&5
17763 cat > conftest.
$ac_ext <<EOF
17764 #line 17765 "configure"
17765 #include "confdefs.h"
17767 #include <sys/time.h>
17768 #include <unistd.h>
17777 if { (eval echo configure
:17778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17779 wx_cv_func_gettimeofday_has_2_args
=no
17781 echo "configure: failed program was:" >&5
17782 cat conftest.
$ac_ext >&5
17785 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17786 wx_cv_func_gettimeofday_has_2_args
=unknown
17795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17796 ac_cpp
='$CPP $CPPFLAGS'
17797 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17798 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17799 cross_compiling
=$ac_cv_prog_cc_cross
17804 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17806 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17807 cat >> confdefs.h
<<\EOF
17808 #define WX_GETTIMEOFDAY_NO_TZ 1
17814 cat >> confdefs.h
<<\EOF
17815 #define wxUSE_TIMEDATE 1
17818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
17822 if test "$TOOLKIT" != "MSW"; then
17824 if test "$wxUSE_SOCKETS" = "yes"; then
17825 echo $ac_n "checking for socket""... $ac_c" 1>&6
17826 echo "configure:17827: checking for socket" >&5
17827 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17828 echo $ac_n "(cached) $ac_c" 1>&6
17830 cat > conftest.
$ac_ext <<EOF
17831 #line 17832 "configure"
17832 #include "confdefs.h"
17833 /* System header to define __stub macros and hopefully few prototypes,
17834 which can conflict with char socket(); below. */
17835 #include <assert.h>
17836 /* Override any gcc2 internal prototype to avoid an error. */
17837 /* We use char because int might match the return type of a gcc2
17838 builtin and then its argument prototype would still apply. */
17843 /* The GNU C library defines this for functions which it implements
17844 to always fail with ENOSYS. Some functions are actually named
17845 something starting with __ and the normal name is an alias. */
17846 #if defined (__stub_socket) || defined (__stub___socket)
17854 if { (eval echo configure
:17855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17856 eval "ac_cv_func_socket=yes"
17858 echo "configure: failed program was:" >&5
17859 cat conftest.
$ac_ext >&5
17861 eval "ac_cv_func_socket=no"
17866 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17867 echo "$ac_t""yes" 1>&6
17870 echo "$ac_t""no" 1>&6
17871 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17872 echo "configure:17873: checking for socket in -lsocket" >&5
17873 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17874 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17875 echo $ac_n "(cached) $ac_c" 1>&6
17877 ac_save_LIBS
="$LIBS"
17878 LIBS
="-lsocket $LIBS"
17879 cat > conftest.
$ac_ext <<EOF
17880 #line 17881 "configure"
17881 #include "confdefs.h"
17882 /* Override any gcc2 internal prototype to avoid an error. */
17883 /* We use char because int might match the return type of a gcc2
17884 builtin and then its argument prototype would still apply. */
17891 if { (eval echo configure
:17892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17893 eval "ac_cv_lib_$ac_lib_var=yes"
17895 echo "configure: failed program was:" >&5
17896 cat conftest.
$ac_ext >&5
17898 eval "ac_cv_lib_$ac_lib_var=no"
17901 LIBS
="$ac_save_LIBS"
17904 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17905 echo "$ac_t""yes" 1>&6
17906 INET_LINK
="$INET_LINK -lsocket"
17908 echo "$ac_t""no" 1>&6
17910 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17922 if test "$wxUSE_SOCKETS" = "yes" ; then
17923 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17924 echo "configure:17925: checking what is the type of the third argument of getsockname" >&5
17925 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17926 echo $ac_n "(cached) $ac_c" 1>&6
17931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17932 ac_cpp
='$CXXCPP $CPPFLAGS'
17933 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17934 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17935 cross_compiling
=$ac_cv_prog_cxx_cross
17938 cat > conftest.
$ac_ext <<EOF
17939 #line 17940 "configure"
17940 #include "confdefs.h"
17942 #include <sys/types.h>
17943 #include <sys/socket.h>
17948 getsockname(0, 0, &len);
17952 if { (eval echo configure
:17953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17954 wx_cv_type_getsockname3
=socklen_t
17956 echo "configure: failed program was:" >&5
17957 cat conftest.
$ac_ext >&5
17959 cat > conftest.
$ac_ext <<EOF
17960 #line 17961 "configure"
17961 #include "confdefs.h"
17963 #include <sys/types.h>
17964 #include <sys/socket.h>
17969 getsockname(0, 0, &len);
17973 if { (eval echo configure
:17974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17975 wx_cv_type_getsockname3
=size_t
17977 echo "configure: failed program was:" >&5
17978 cat conftest.
$ac_ext >&5
17980 cat > conftest.
$ac_ext <<EOF
17981 #line 17982 "configure"
17982 #include "confdefs.h"
17984 #include <sys/types.h>
17985 #include <sys/socket.h>
17990 getsockname(0, 0, &len);
17994 if { (eval echo configure
:17995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17996 wx_cv_type_getsockname3
=int
17998 echo "configure: failed program was:" >&5
17999 cat conftest.
$ac_ext >&5
18001 wx_cv_type_getsockname3
=unknown
18013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18014 ac_cpp
='$CPP $CPPFLAGS'
18015 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18016 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18017 cross_compiling
=$ac_cv_prog_cc_cross
18022 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18024 if test "$wx_cv_type_getsockname3" = "unknown"; then
18026 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18028 cat >> confdefs.h
<<EOF
18029 #define SOCKLEN_T $wx_cv_type_getsockname3
18036 if test "$wxUSE_SOCKETS" = "yes" ; then
18037 cat >> confdefs.h
<<\EOF
18038 #define wxUSE_SOCKETS 1
18041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
18045 if test "$wxUSE_GUI" = "yes"; then
18047 if test "$TOOLKIT" = "MAC"; then
18048 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18051 if test "$TOOLKIT" = "MOTIF"; then
18052 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18056 if test "$TOOLKIT" != "MSW"; then
18057 if test "$wxUSE_JOYSTICK" = "yes"; then
18058 for ac_hdr
in linux
/joystick.h
18060 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18061 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18062 echo "configure:18063: checking for $ac_hdr" >&5
18063 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18064 echo $ac_n "(cached) $ac_c" 1>&6
18066 cat > conftest.
$ac_ext <<EOF
18067 #line 18068 "configure"
18068 #include "confdefs.h"
18071 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18072 { (eval echo configure
:18073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18073 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18074 if test -z "$ac_err"; then
18076 eval "ac_cv_header_$ac_safe=yes"
18079 echo "configure: failed program was:" >&5
18080 cat conftest.
$ac_ext >&5
18082 eval "ac_cv_header_$ac_safe=no"
18086 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18087 echo "$ac_t""yes" 1>&6
18088 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18089 cat >> confdefs.h
<<EOF
18090 #define $ac_tr_hdr 1
18094 echo "$ac_t""no" 1>&6
18098 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18100 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18105 if test "$wxUSE_JOYSTICK" = "yes"; then
18106 cat >> confdefs.h
<<\EOF
18107 #define wxUSE_JOYSTICK 1
18110 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
18115 if test "$TOOLKIT" != "MSW"; then
18119 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18120 if test "$USE_DARWIN" = 1; then
18123 for ac_func
in dlopen
18125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18126 echo "configure:18127: checking for $ac_func" >&5
18127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18128 echo $ac_n "(cached) $ac_c" 1>&6
18130 cat > conftest.
$ac_ext <<EOF
18131 #line 18132 "configure"
18132 #include "confdefs.h"
18133 /* System header to define __stub macros and hopefully few prototypes,
18134 which can conflict with char $ac_func(); below. */
18135 #include <assert.h>
18136 /* Override any gcc2 internal prototype to avoid an error. */
18137 /* We use char because int might match the return type of a gcc2
18138 builtin and then its argument prototype would still apply. */
18143 /* The GNU C library defines this for functions which it implements
18144 to always fail with ENOSYS. Some functions are actually named
18145 something starting with __ and the normal name is an alias. */
18146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18154 if { (eval echo configure
:18155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18156 eval "ac_cv_func_$ac_func=yes"
18158 echo "configure: failed program was:" >&5
18159 cat conftest.
$ac_ext >&5
18161 eval "ac_cv_func_$ac_func=no"
18166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18167 echo "$ac_t""yes" 1>&6
18168 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18169 cat >> confdefs.h
<<EOF
18170 #define $ac_tr_func 1
18173 cat >> confdefs.h
<<\EOF
18174 #define HAVE_DLOPEN 1
18180 echo "$ac_t""no" 1>&6
18181 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18182 echo "configure:18183: checking for dlopen in -ldl" >&5
18183 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18184 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18185 echo $ac_n "(cached) $ac_c" 1>&6
18187 ac_save_LIBS
="$LIBS"
18189 cat > conftest.
$ac_ext <<EOF
18190 #line 18191 "configure"
18191 #include "confdefs.h"
18192 /* Override any gcc2 internal prototype to avoid an error. */
18193 /* We use char because int might match the return type of a gcc2
18194 builtin and then its argument prototype would still apply. */
18201 if { (eval echo configure
:18202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18203 eval "ac_cv_lib_$ac_lib_var=yes"
18205 echo "configure: failed program was:" >&5
18206 cat conftest.
$ac_ext >&5
18208 eval "ac_cv_lib_$ac_lib_var=no"
18211 LIBS
="$ac_save_LIBS"
18214 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18215 echo "$ac_t""yes" 1>&6
18217 cat >> confdefs.h
<<\EOF
18218 #define HAVE_DLOPEN 1
18222 DL_LINK
=" -ldl$DL_LINK"
18225 echo "$ac_t""no" 1>&6
18227 for ac_func
in shl_load
18229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18230 echo "configure:18231: checking for $ac_func" >&5
18231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18232 echo $ac_n "(cached) $ac_c" 1>&6
18234 cat > conftest.
$ac_ext <<EOF
18235 #line 18236 "configure"
18236 #include "confdefs.h"
18237 /* System header to define __stub macros and hopefully few prototypes,
18238 which can conflict with char $ac_func(); below. */
18239 #include <assert.h>
18240 /* Override any gcc2 internal prototype to avoid an error. */
18241 /* We use char because int might match the return type of a gcc2
18242 builtin and then its argument prototype would still apply. */
18247 /* The GNU C library defines this for functions which it implements
18248 to always fail with ENOSYS. Some functions are actually named
18249 something starting with __ and the normal name is an alias. */
18250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18258 if { (eval echo configure
:18259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18260 eval "ac_cv_func_$ac_func=yes"
18262 echo "configure: failed program was:" >&5
18263 cat conftest.
$ac_ext >&5
18265 eval "ac_cv_func_$ac_func=no"
18270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18271 echo "$ac_t""yes" 1>&6
18272 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18273 cat >> confdefs.h
<<EOF
18274 #define $ac_tr_func 1
18277 cat >> confdefs.h
<<\EOF
18278 #define HAVE_SHL_LOAD 1
18284 echo "$ac_t""no" 1>&6
18285 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
18286 echo "configure:18287: checking for dld in -lshl_load" >&5
18287 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
18288 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18289 echo $ac_n "(cached) $ac_c" 1>&6
18291 ac_save_LIBS
="$LIBS"
18292 LIBS
="-lshl_load $LIBS"
18293 cat > conftest.
$ac_ext <<EOF
18294 #line 18295 "configure"
18295 #include "confdefs.h"
18296 /* Override any gcc2 internal prototype to avoid an error. */
18297 /* We use char because int might match the return type of a gcc2
18298 builtin and then its argument prototype would still apply. */
18305 if { (eval echo configure
:18306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18307 eval "ac_cv_lib_$ac_lib_var=yes"
18309 echo "configure: failed program was:" >&5
18310 cat conftest.
$ac_ext >&5
18312 eval "ac_cv_lib_$ac_lib_var=no"
18315 LIBS
="$ac_save_LIBS"
18318 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18319 echo "$ac_t""yes" 1>&6
18322 DL_LINK
=" -ldld$DL_LINK"
18325 echo "$ac_t""no" 1>&6
18340 if test "$HAVE_DL_FUNCS" = 1; then
18341 for ac_func
in dlerror
18343 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18344 echo "configure:18345: checking for $ac_func" >&5
18345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18346 echo $ac_n "(cached) $ac_c" 1>&6
18348 cat > conftest.
$ac_ext <<EOF
18349 #line 18350 "configure"
18350 #include "confdefs.h"
18351 /* System header to define __stub macros and hopefully few prototypes,
18352 which can conflict with char $ac_func(); below. */
18353 #include <assert.h>
18354 /* Override any gcc2 internal prototype to avoid an error. */
18355 /* We use char because int might match the return type of a gcc2
18356 builtin and then its argument prototype would still apply. */
18361 /* The GNU C library defines this for functions which it implements
18362 to always fail with ENOSYS. Some functions are actually named
18363 something starting with __ and the normal name is an alias. */
18364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18372 if { (eval echo configure
:18373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18374 eval "ac_cv_func_$ac_func=yes"
18376 echo "configure: failed program was:" >&5
18377 cat conftest.
$ac_ext >&5
18379 eval "ac_cv_func_$ac_func=no"
18384 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18385 echo "$ac_t""yes" 1>&6
18386 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18387 cat >> confdefs.h
<<EOF
18388 #define $ac_tr_func 1
18390 cat >> confdefs.h
<<\EOF
18391 #define HAVE_DLERROR 1
18395 echo "$ac_t""no" 1>&6
18396 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
18397 echo "configure:18398: checking for dlerror in -ldl" >&5
18398 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
18399 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18400 echo $ac_n "(cached) $ac_c" 1>&6
18402 ac_save_LIBS
="$LIBS"
18404 cat > conftest.
$ac_ext <<EOF
18405 #line 18406 "configure"
18406 #include "confdefs.h"
18407 /* Override any gcc2 internal prototype to avoid an error. */
18408 /* We use char because int might match the return type of a gcc2
18409 builtin and then its argument prototype would still apply. */
18416 if { (eval echo configure
:18417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18418 eval "ac_cv_lib_$ac_lib_var=yes"
18420 echo "configure: failed program was:" >&5
18421 cat conftest.
$ac_ext >&5
18423 eval "ac_cv_lib_$ac_lib_var=no"
18426 LIBS
="$ac_save_LIBS"
18429 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18430 echo "$ac_t""yes" 1>&6
18431 cat >> confdefs.h
<<\EOF
18432 #define HAVE_DLERROR 1
18436 echo "$ac_t""no" 1>&6
18445 if test "$HAVE_DL_FUNCS" = 0; then
18446 if test "$HAVE_SHL_FUNCS" = 0; then
18447 if test "$USE_UNIX" = 1; then
18448 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
18449 wxUSE_DYNAMIC_LOADER
=no
18450 wxUSE_DYNLIB_CLASS
=no
18452 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
18459 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
18460 cat >> confdefs.h
<<\EOF
18461 #define wxUSE_DYNAMIC_LOADER 1
18464 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18465 cat >> confdefs.h
<<\EOF
18466 #define wxUSE_DYNLIB_CLASS 1
18472 if test "$wxUSE_FONTMAP" = "yes" ; then
18473 cat >> confdefs.h
<<\EOF
18474 #define wxUSE_FONTMAP 1
18479 if test "$wxUSE_UNICODE" = "yes" ; then
18480 cat >> confdefs.h
<<\EOF
18481 #define wxUSE_UNICODE 1
18485 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
18486 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
18487 echo "configure:18488: checking for main in -lunicows" >&5
18488 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
18489 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18490 echo $ac_n "(cached) $ac_c" 1>&6
18492 ac_save_LIBS
="$LIBS"
18493 LIBS
="-lunicows $LIBS"
18494 cat > conftest.
$ac_ext <<EOF
18495 #line 18496 "configure"
18496 #include "confdefs.h"
18502 if { (eval echo configure
:18503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18504 eval "ac_cv_lib_$ac_lib_var=yes"
18506 echo "configure: failed program was:" >&5
18507 cat conftest.
$ac_ext >&5
18509 eval "ac_cv_lib_$ac_lib_var=no"
18512 LIBS
="$ac_save_LIBS"
18515 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18516 echo "$ac_t""yes" 1>&6
18518 cat >> confdefs.h
<<\EOF
18519 #define wxUSE_UNICODE_MSLU 1
18524 echo "$ac_t""no" 1>&6
18526 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
18527 Applications will only run on Windows NT/2000/XP!" 1>&2
18528 wxUSE_UNICODE_MSLU
=no
18535 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
18536 cat >> confdefs.h
<<\EOF
18537 #define wxUSE_EXPERIMENTAL_PRINTF 1
18545 if test "$wxUSE_ODBC" = "yes" ; then
18546 cat >> confdefs.h
<<\EOF
18547 #define wxUSE_ODBC 1
18550 WXODBCFLAG
="-D_IODBC_"
18551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
18555 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
18556 cat >> confdefs.h
<<\EOF
18557 #define wxUSE_POSTSCRIPT 1
18562 cat >> confdefs.h
<<\EOF
18563 #define wxUSE_AFM_FOR_POSTSCRIPT 1
18567 cat >> confdefs.h
<<\EOF
18568 #define wxUSE_NORMALIZED_PS_FONTS 1
18573 if test "$wxUSE_CONSTRAINTS" = "yes"; then
18574 cat >> confdefs.h
<<\EOF
18575 #define wxUSE_CONSTRAINTS 1
18578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
18581 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18582 if test "$wxUSE_UNIVERSAL" = "yes"; then
18583 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
18584 wxUSE_MDI_ARCHITECTURE
=no
18587 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18588 cat >> confdefs.h
<<\EOF
18589 #define wxUSE_MDI_ARCHITECTURE 1
18592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
18596 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
18597 cat >> confdefs.h
<<\EOF
18598 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
18601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
18602 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18603 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
18607 if test "$wxUSE_HELP" = "yes"; then
18608 cat >> confdefs.h
<<\EOF
18609 #define wxUSE_HELP 1
18612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
18614 if test "$wxUSE_MSW" = 1; then
18615 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
18616 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
18617 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
18618 echo "configure:18619: checking for htmlhelp.h" >&5
18619 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18620 echo $ac_n "(cached) $ac_c" 1>&6
18622 cat > conftest.
$ac_ext <<EOF
18623 #line 18624 "configure"
18624 #include "confdefs.h"
18625 #include <htmlhelp.h>
18627 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18628 { (eval echo configure
:18629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18629 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18630 if test -z "$ac_err"; then
18632 eval "ac_cv_header_$ac_safe=yes"
18635 echo "configure: failed program was:" >&5
18636 cat conftest.
$ac_ext >&5
18638 eval "ac_cv_header_$ac_safe=no"
18642 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18643 echo "$ac_t""yes" 1>&6
18645 cat >> confdefs.h
<<\EOF
18646 #define wxUSE_MS_HTML_HELP 1
18651 echo "$ac_t""no" 1>&6
18653 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18654 wxUSE_MS_HTML_HELP
=no
18661 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18662 if test "$wxUSE_HTML" = "yes"; then
18663 cat >> confdefs.h
<<\EOF
18664 #define wxUSE_WXHTML_HELP 1
18668 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18669 wxUSE_WXHTML_HELP
=no
18674 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18675 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18676 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18678 cat >> confdefs.h
<<\EOF
18679 #define wxUSE_PRINTING_ARCHITECTURE 1
18683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
18686 if test "$wxUSE_PROLOGIO" = "yes" ; then
18687 cat >> confdefs.h
<<\EOF
18688 #define wxUSE_PROLOGIO 1
18693 if test "$wxUSE_RESOURCES" = "yes" ; then
18694 cat >> confdefs.h
<<\EOF
18695 #define wxUSE_RESOURCES 1
18698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
18701 if test "$wxUSE_X_RESOURCES" = "yes"; then
18702 cat >> confdefs.h
<<\EOF
18703 #define wxUSE_X_RESOURCES 1
18709 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
18710 -o "$wxUSE_CLIPBOARD" = "yes" \
18711 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
18712 for ac_hdr
in ole2.h
18714 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18715 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18716 echo "configure:18717: checking for $ac_hdr" >&5
18717 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18718 echo $ac_n "(cached) $ac_c" 1>&6
18720 cat > conftest.
$ac_ext <<EOF
18721 #line 18722 "configure"
18722 #include "confdefs.h"
18725 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18726 { (eval echo configure
:18727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18727 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18728 if test -z "$ac_err"; then
18730 eval "ac_cv_header_$ac_safe=yes"
18733 echo "configure: failed program was:" >&5
18734 cat conftest.
$ac_ext >&5
18736 eval "ac_cv_header_$ac_safe=no"
18740 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18741 echo "$ac_t""yes" 1>&6
18742 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18743 cat >> confdefs.h
<<EOF
18744 #define $ac_tr_hdr 1
18748 echo "$ac_t""no" 1>&6
18753 if test "$ac_cv_header_ole2_h" = "yes" ; then
18754 if test "$GCC" = yes ; then
18755 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
18756 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18757 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18758 cat >> confdefs.h
<<\EOF
18759 #define wxUSE_OLE 1
18765 cat >> confdefs.h
<<\EOF
18766 #define wxUSE_DATAOBJ 1
18770 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18773 wxUSE_DRAG_AND_DROP
=no
18777 if test "$wxUSE_METAFILE" = "yes"; then
18778 cat >> confdefs.h
<<\EOF
18779 #define wxUSE_METAFILE 1
18783 cat >> confdefs.h
<<\EOF
18784 #define wxUSE_ENH_METAFILE 1
18790 if test "$wxUSE_IPC" = "yes"; then
18791 if test "$wxUSE_SOCKETS" != "yes"; then
18792 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18795 cat >> confdefs.h
<<\EOF
18796 #define wxUSE_IPC 1
18801 if test "$wxUSE_CLIPBOARD" = "yes"; then
18802 cat >> confdefs.h
<<\EOF
18803 #define wxUSE_CLIPBOARD 1
18807 cat >> confdefs.h
<<\EOF
18808 #define wxUSE_DATAOBJ 1
18813 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18814 if test "$wxUSE_GTK" = 1; then
18815 if test "$WXGTK12" != 1; then
18816 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18817 wxUSE_DRAG_AND_DROP
=no
18821 if test "$wxUSE_MOTIF" = 1; then
18822 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18823 wxUSE_DRAG_AND_DROP
=no
18826 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18827 cat >> confdefs.h
<<\EOF
18828 #define wxUSE_DRAG_AND_DROP 1
18831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
18836 if test "$wxUSE_SPLINES" = "yes" ; then
18837 cat >> confdefs.h
<<\EOF
18838 #define wxUSE_SPLINES 1
18845 if test "$wxUSE_CONTROLS" = "yes"; then
18849 if test "$wxUSE_ACCEL" = "yes"; then
18850 cat >> confdefs.h
<<\EOF
18851 #define wxUSE_ACCEL 1
18857 if test "$wxUSE_BUTTON" = "yes"; then
18858 cat >> confdefs.h
<<\EOF
18859 #define wxUSE_BUTTON 1
18865 if test "$wxUSE_BMPBUTTON" = "yes"; then
18866 cat >> confdefs.h
<<\EOF
18867 #define wxUSE_BMPBUTTON 1
18873 if test "$wxUSE_CALCTRL" = "yes"; then
18874 cat >> confdefs.h
<<\EOF
18875 #define wxUSE_CALENDARCTRL 1
18879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
18882 if test "$wxUSE_CARET" = "yes"; then
18883 cat >> confdefs.h
<<\EOF
18884 #define wxUSE_CARET 1
18888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
18891 if test "$wxUSE_COMBOBOX" = "yes"; then
18892 cat >> confdefs.h
<<\EOF
18893 #define wxUSE_COMBOBOX 1
18899 if test "$wxUSE_CHOICE" = "yes"; then
18900 cat >> confdefs.h
<<\EOF
18901 #define wxUSE_CHOICE 1
18907 if test "$wxUSE_CHECKBOX" = "yes"; then
18908 cat >> confdefs.h
<<\EOF
18909 #define wxUSE_CHECKBOX 1
18915 if test "$wxUSE_CHECKLST" = "yes"; then
18916 cat >> confdefs.h
<<\EOF
18917 #define wxUSE_CHECKLISTBOX 1
18921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
18924 if test "$wxUSE_GAUGE" = "yes"; then
18925 cat >> confdefs.h
<<\EOF
18926 #define wxUSE_GAUGE 1
18932 if test "$wxUSE_NEW_GRID" = "yes"; then
18934 cat >> confdefs.h
<<\EOF
18935 #define wxUSE_NEW_GRID 1
18939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
18942 if test "$wxUSE_GRID" = "yes"; then
18943 cat >> confdefs.h
<<\EOF
18944 #define wxUSE_GRID 1
18948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
18951 if test "$wxUSE_IMAGLIST" = "yes"; then
18952 cat >> confdefs.h
<<\EOF
18953 #define wxUSE_IMAGLIST 1
18958 if test "$wxUSE_LISTBOX" = "yes"; then
18959 cat >> confdefs.h
<<\EOF
18960 #define wxUSE_LISTBOX 1
18966 if test "$wxUSE_LISTCTRL" = "yes"; then
18967 if test "$wxUSE_IMAGLIST" = "yes"; then
18968 cat >> confdefs.h
<<\EOF
18969 #define wxUSE_LISTCTRL 1
18973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
18975 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18979 if test "$wxUSE_NOTEBOOK" = "yes"; then
18980 cat >> confdefs.h
<<\EOF
18981 #define wxUSE_NOTEBOOK 1
18985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
18988 if test "$wxUSE_PROPSHEET" = "yes"; then
18989 cat >> confdefs.h
<<\EOF
18990 #define wxUSE_PROPSHEET 1
18994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
18997 if test "$wxUSE_RADIOBOX" = "yes"; then
18998 cat >> confdefs.h
<<\EOF
18999 #define wxUSE_RADIOBOX 1
19005 if test "$wxUSE_RADIOBTN" = "yes"; then
19006 cat >> confdefs.h
<<\EOF
19007 #define wxUSE_RADIOBTN 1
19013 if test "$wxUSE_SASH" = "yes"; then
19014 cat >> confdefs.h
<<\EOF
19015 #define wxUSE_SASH 1
19018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
19021 if test "$wxUSE_SCROLLBAR" = "yes"; then
19022 cat >> confdefs.h
<<\EOF
19023 #define wxUSE_SCROLLBAR 1
19027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
19030 if test "$wxUSE_SLIDER" = "yes"; then
19031 cat >> confdefs.h
<<\EOF
19032 #define wxUSE_SLIDER 1
19038 if test "$wxUSE_SPINBTN" = "yes"; then
19039 cat >> confdefs.h
<<\EOF
19040 #define wxUSE_SPINBTN 1
19046 if test "$wxUSE_SPINCTRL" = "yes"; then
19047 cat >> confdefs.h
<<\EOF
19048 #define wxUSE_SPINCTRL 1
19054 if test "$wxUSE_SPLITTER" = "yes"; then
19055 cat >> confdefs.h
<<\EOF
19056 #define wxUSE_SPLITTER 1
19059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
19062 if test "$wxUSE_STATBMP" = "yes"; then
19063 cat >> confdefs.h
<<\EOF
19064 #define wxUSE_STATBMP 1
19070 if test "$wxUSE_STATBOX" = "yes"; then
19071 cat >> confdefs.h
<<\EOF
19072 #define wxUSE_STATBOX 1
19078 if test "$wxUSE_STATTEXT" = "yes"; then
19079 cat >> confdefs.h
<<\EOF
19080 #define wxUSE_STATTEXT 1
19086 if test "$wxUSE_STATLINE" = "yes"; then
19087 if test "$wxUSE_WINE" = 1 ; then
19088 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19090 cat >> confdefs.h
<<\EOF
19091 #define wxUSE_STATLINE 1
19098 if test "$wxUSE_STATUSBAR" = "yes"; then
19099 cat >> confdefs.h
<<\EOF
19100 #define wxUSE_STATUSBAR 1
19105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
19108 if test "$wxUSE_TABDIALOG" = "yes"; then
19109 cat >> confdefs.h
<<\EOF
19110 #define wxUSE_TAB_DIALOG 1
19113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
19116 if test "$wxUSE_TEXTCTRL" = "yes"; then
19117 cat >> confdefs.h
<<\EOF
19118 #define wxUSE_TEXTCTRL 1
19122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
19125 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19126 if test "$wxUSE_MAC" = 1; then
19127 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19130 if test "$wxUSE_UNIVERSAL" = "yes"; then
19131 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
19135 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19136 cat >> confdefs.h
<<\EOF
19137 #define wxUSE_TOGGLEBTN 1
19144 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19145 cat >> confdefs.h
<<\EOF
19146 #define wxUSE_TOOLBAR_SIMPLE 1
19149 wxUSE_TOOLBAR
="yes"
19153 if test "$wxUSE_TOOLBAR" = "yes"; then
19154 cat >> confdefs.h
<<\EOF
19155 #define wxUSE_TOOLBAR 1
19160 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19161 wxUSE_TOOLBAR_NATIVE
="yes"
19164 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19165 cat >> confdefs.h
<<\EOF
19166 #define wxUSE_TOOLBAR_NATIVE 1
19172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
19175 if test "$wxUSE_TOOLTIPS" = "yes"; then
19176 if test "$wxUSE_MOTIF" = 1; then
19177 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19179 if test "$wxUSE_WINE" = 1; then
19180 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19182 if test "$wxUSE_UNIVERSAL" = "yes"; then
19183 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
19185 cat >> confdefs.h
<<\EOF
19186 #define wxUSE_TOOLTIPS 1
19194 if test "$wxUSE_TREECTRL" = "yes"; then
19195 if test "$wxUSE_IMAGLIST" = "yes"; then
19196 cat >> confdefs.h
<<\EOF
19197 #define wxUSE_TREECTRL 1
19201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
19203 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19207 if test "$wxUSE_POPUPWIN" = "yes"; then
19208 if test "$wxUSE_MAC" = 1; then
19209 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
19211 if test "$wxUSE_MOTIF" = 1; then
19212 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
19214 cat >> confdefs.h
<<\EOF
19215 #define wxUSE_POPUPWIN 1
19224 if test "$wxUSE_TIPWINDOW" = "yes"; then
19225 cat >> confdefs.h
<<\EOF
19226 #define wxUSE_TIPWINDOW 1
19231 if test "$USES_CONTROLS" = 1; then
19232 cat >> confdefs.h
<<\EOF
19233 #define wxUSE_CONTROLS 1
19239 if test "$wxUSE_TREELAYOUT" = "yes"; then
19240 cat >> confdefs.h
<<\EOF
19241 #define wxUSE_TREELAYOUT 1
19244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
19247 if test "$wxUSE_DRAGIMAGE" = "yes"; then
19248 cat >> confdefs.h
<<\EOF
19249 #define wxUSE_DRAGIMAGE 1
19252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
19255 if test "$wxUSE_MENUS" = "yes"; then
19256 cat >> confdefs.h
<<\EOF
19257 #define wxUSE_MENUS 1
19260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
19263 if test "$wxUSE_METAFILE" = "yes"; then
19264 cat >> confdefs.h
<<\EOF
19265 #define wxUSE_METAFILE 1
19270 if test "$wxUSE_MIMETYPE" = "yes"; then
19271 cat >> confdefs.h
<<\EOF
19272 #define wxUSE_MIMETYPE 1
19277 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
19278 cat >> confdefs.h
<<\EOF
19279 #define wxUSE_SYSTEM_OPTIONS 1
19284 if test "$wxUSE_PROTOCOL" = "yes"; then
19285 if test "$wxUSE_SOCKETS" != "yes"; then
19286 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
19290 if test "$wxUSE_PROTOCOL" = "yes"; then
19291 cat >> confdefs.h
<<\EOF
19292 #define wxUSE_PROTOCOL 1
19296 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
19297 cat >> confdefs.h
<<\EOF
19298 #define wxUSE_PROTOCOL_HTTP 1
19302 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
19303 cat >> confdefs.h
<<\EOF
19304 #define wxUSE_PROTOCOL_FTP 1
19308 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
19309 cat >> confdefs.h
<<\EOF
19310 #define wxUSE_PROTOCOL_FILE 1
19317 if test "$wxUSE_URL" = "yes"; then
19318 if test "$wxUSE_PROTOCOL" != "yes"; then
19319 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
19322 if test "$wxUSE_URL" = "yes"; then
19323 cat >> confdefs.h
<<\EOF
19324 #define wxUSE_URL 1
19330 if test "$wxUSE_MINIFRAME" = "yes"; then
19331 cat >> confdefs.h
<<\EOF
19332 #define wxUSE_MINIFRAME 1
19335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
19338 if test "$wxUSE_HTML" = "yes"; then
19339 cat >> confdefs.h
<<\EOF
19340 #define wxUSE_HTML 1
19343 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
19346 if test "$wxUSE_VALIDATORS" = "yes"; then
19347 cat >> confdefs.h
<<\EOF
19348 #define wxUSE_VALIDATORS 1
19351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
19354 if test "$wxUSE_PALETTE" = "yes" ; then
19355 cat >> confdefs.h
<<\EOF
19356 #define wxUSE_PALETTE 1
19361 if test "$wxUSE_IMAGE" = "yes" ; then
19362 cat >> confdefs.h
<<\EOF
19363 #define wxUSE_IMAGE 1
19368 if test "$wxUSE_GIF" = "yes" ; then
19369 cat >> confdefs.h
<<\EOF
19370 #define wxUSE_GIF 1
19375 if test "$wxUSE_PCX" = "yes" ; then
19376 cat >> confdefs.h
<<\EOF
19377 #define wxUSE_PCX 1
19382 if test "$wxUSE_IFF" = "yes" ; then
19383 cat >> confdefs.h
<<\EOF
19384 #define wxUSE_IFF 1
19389 if test "$wxUSE_PNM" = "yes" ; then
19390 cat >> confdefs.h
<<\EOF
19391 #define wxUSE_PNM 1
19396 if test "$wxUSE_XPM" = "yes" ; then
19397 cat >> confdefs.h
<<\EOF
19398 #define wxUSE_XPM 1
19403 if test "$wxUSE_ICO_CUR" = "yes" ; then
19404 cat >> confdefs.h
<<\EOF
19405 #define wxUSE_ICO_CUR 1
19410 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
19411 LIBS
=" -lunicows $LIBS"
19415 if test "$wxUSE_CHOICEDLG" = "yes"; then
19416 cat >> confdefs.h
<<\EOF
19417 #define wxUSE_CHOICEDLG 1
19422 if test "$wxUSE_COLOURDLG" = "yes"; then
19423 cat >> confdefs.h
<<\EOF
19424 #define wxUSE_COLOURDLG 1
19429 if test "$wxUSE_FILEDLG" = "yes"; then
19430 cat >> confdefs.h
<<\EOF
19431 #define wxUSE_FILEDLG 1
19436 if test "$wxUSE_FINDREPLDLG" = "yes"; then
19437 cat >> confdefs.h
<<\EOF
19438 #define wxUSE_FINDREPLDLG 1
19443 if test "$wxUSE_FONTDLG" = "yes"; then
19444 cat >> confdefs.h
<<\EOF
19445 #define wxUSE_FONTDLG 1
19450 if test "$wxUSE_DIRDLG" = "yes"; then
19451 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19452 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
19454 if test "$wxUSE_TREECTRL" != "yes"; then
19455 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
19457 cat >> confdefs.h
<<\EOF
19458 #define wxUSE_DIRDLG 1
19465 if test "$wxUSE_MSGDLG" = "yes"; then
19466 cat >> confdefs.h
<<\EOF
19467 #define wxUSE_MSGDLG 1
19472 if test "$wxUSE_NUMBERDLG" = "yes"; then
19473 cat >> confdefs.h
<<\EOF
19474 #define wxUSE_NUMBERDLG 1
19479 if test "$wxUSE_PROGRESSDLG" = "yes"; then
19480 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19481 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
19483 cat >> confdefs.h
<<\EOF
19484 #define wxUSE_PROGRESSDLG 1
19490 if test "$wxUSE_SPLASH" = "yes"; then
19491 cat >> confdefs.h
<<\EOF
19492 #define wxUSE_SPLASH 1
19497 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
19498 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19499 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
19501 cat >> confdefs.h
<<\EOF
19502 #define wxUSE_STARTUP_TIPS 1
19508 if test "$wxUSE_TEXTDLG" = "yes"; then
19509 cat >> confdefs.h
<<\EOF
19510 #define wxUSE_TEXTDLG 1
19515 if test "$wxUSE_WIZARDDLG" = "yes"; then
19516 cat >> confdefs.h
<<\EOF
19517 #define wxUSE_WIZARDDLG 1
19520 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
19524 if test "$cross_compiling" = "yes"; then
19527 OSINFO
=`uname -s -r -m`
19528 OSINFO
="\"$OSINFO\""
19531 cat >> confdefs.h
<<EOF
19532 #define WXWIN_OS_DESCRIPTION $OSINFO
19537 if test "x$prefix" != "xNONE"; then
19540 wxPREFIX
=$ac_default_prefix
19543 cat >> confdefs.h
<<EOF
19544 #define wxINSTALL_PREFIX "$wxPREFIX"
19551 if test "$wxUSE_MAC" = 1 ; then
19552 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
19556 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
19558 if test "$wxUSE_GUI" = "yes"; then
19560 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
19563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
19564 drawing dynamic erase event exec font image \
19565 minimal richedit rotate widgets"
19567 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
19569 SAMPLES_SUBDIRS
="console"
19573 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
19574 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
19575 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
19577 if test "$wxUSE_GTK" = 1; then
19580 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
19583 if test "$GXX" = yes ; then
19584 CXXWARNINGS
="-Wall"
19586 if test "$wxUSE_NO_DEPS" = "no" ; then
19587 CFLAGS
="-MMD $CFLAGS"
19588 CXXFLAGS
="-MMD $CXXFLAGS"
19592 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
19594 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
19595 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
19597 LDFLAGS
="$LDFLAGS$PROFILE"
19599 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
19685 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19686 echo "configure:19687: checking whether ${MAKE-make} sets \${MAKE}" >&5
19687 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
19688 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19689 echo $ac_n "(cached) $ac_c" 1>&6
19691 cat > conftestmake
<<\EOF
19693 @
echo 'ac_maketemp="${MAKE}"'
19695 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19696 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19697 if test -n "$ac_maketemp"; then
19698 eval ac_cv_prog_make_
${ac_make}_set
=yes
19700 eval ac_cv_prog_make_
${ac_make}_set
=no
19704 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19705 echo "$ac_t""yes" 1>&6
19708 echo "$ac_t""no" 1>&6
19709 SET_MAKE
="MAKE=${MAKE-make}"
19713 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
19714 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
19719 if test "$wxUSE_GUI" = "yes"; then
19720 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
19721 wx_cv_path_ifs
=$PATH_IFS
19722 wx_cv_program_ext
=$PROGRAM_EXT
19723 wx_cv_target_library
=$WX_TARGET_LIBRARY
19724 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
19725 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
19726 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
19727 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19728 subdirs
="demos samples utils contrib"
19733 cat > confcache
<<\EOF
19734 # This file is a shell script that caches the results of configure
19735 # tests run on this system so they can be shared between configure
19736 # scripts and configure runs. It is not useful on other systems.
19737 # If it contains results you don't want to keep, you may remove or edit it.
19739 # By default, configure uses ./config.cache as the cache file,
19740 # creating it if it does not exist already. You can give configure
19741 # the --cache-file=FILE option to use a different cache file; that is
19742 # what configure does when it calls configure scripts in
19743 # subdirectories, so they share the cache.
19744 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19745 # config.status only pays attention to the cache file if you give it the
19746 # --recheck option to rerun configure.
19749 # The following way of writing the cache mishandles newlines in values,
19750 # but we know of no workaround that is simple, portable, and efficient.
19751 # So, don't put newlines in cache variables' values.
19752 # Ultrix sh set writes to stderr and can't be redirected directly,
19753 # and sets the high bit in the cache file unless we assign to the vars.
19755 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19757 # `set' does not quote correctly, so add quotes (double-quote substitution
19758 # turns \\\\ into \\, and sed turns \\ into \).
19760 -e "s/'/'\\\\''/g" \
19761 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19764 # `set' quotes correctly as required by POSIX, so do not add quotes.
19765 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19768 if cmp -s $cache_file confcache
; then
19771 if test -w $cache_file; then
19772 echo "updating cache $cache_file"
19773 cat confcache
> $cache_file
19775 echo "not updating unwritable cache $cache_file"
19780 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19782 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19783 # Let make expand exec_prefix.
19784 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19786 # Any assignment to VPATH causes Sun make to only execute
19787 # the first set of double-colon rules, so remove it if not needed.
19788 # If there is a colon in the path, we need to keep it.
19789 if test "x$srcdir" = x.
; then
19790 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
19793 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19795 DEFS
=-DHAVE_CONFIG_H
19797 # Without the "./", some shells look in PATH for config.status.
19798 : ${CONFIG_STATUS=./config.status}
19800 echo creating
$CONFIG_STATUS
19801 rm -f $CONFIG_STATUS
19802 cat > $CONFIG_STATUS <<EOF
19804 # Generated automatically by configure.
19805 # Run this file to recreate the current configuration.
19806 # This directory was configured as follows,
19807 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19809 # $0 $ac_configure_args
19811 # Compiler output produced by configure, useful for debugging
19812 # configure, is in ./config.log if it exists.
19814 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19817 case "\$ac_option" in
19818 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19819 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19820 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19821 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19822 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19824 -help | --help | --hel | --he | --h)
19825 echo "\$ac_cs_usage"; exit 0 ;;
19826 *) echo "\$ac_cs_usage"; exit 1 ;;
19830 ac_given_srcdir=$srcdir
19831 ac_given_INSTALL="$INSTALL"
19833 trap 'rm -fr `echo "
19839 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19841 cat >> $CONFIG_STATUS <<EOF
19843 # Protect against being on the right side of a sed subst in config.status.
19844 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19845 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19849 s%@CFLAGS@%$CFLAGS%g
19850 s%@CPPFLAGS@%$CPPFLAGS%g
19851 s%@CXXFLAGS@%$CXXFLAGS%g
19852 s%@FFLAGS@%$FFLAGS%g
19854 s%@LDFLAGS@%$LDFLAGS%g
19856 s%@exec_prefix@%$exec_prefix%g
19857 s%@prefix@%$prefix%g
19858 s%@program_transform_name@%$program_transform_name%g
19859 s%@bindir@%$bindir%g
19860 s%@sbindir@%$sbindir%g
19861 s%@libexecdir@%$libexecdir%g
19862 s%@datadir@%$datadir%g
19863 s%@sysconfdir@%$sysconfdir%g
19864 s%@sharedstatedir@%$sharedstatedir%g
19865 s%@localstatedir@%$localstatedir%g
19866 s%@libdir@%$libdir%g
19867 s%@includedir@%$includedir%g
19868 s%@oldincludedir@%$oldincludedir%g
19869 s%@infodir@%$infodir%g
19870 s%@mandir@%$mandir%g
19872 s%@host_alias@%$host_alias%g
19873 s%@host_cpu@%$host_cpu%g
19874 s%@host_vendor@%$host_vendor%g
19875 s%@host_os@%$host_os%g
19876 s%@target@%$target%g
19877 s%@target_alias@%$target_alias%g
19878 s%@target_cpu@%$target_cpu%g
19879 s%@target_vendor@%$target_vendor%g
19880 s%@target_os@%$target_os%g
19882 s%@build_alias@%$build_alias%g
19883 s%@build_cpu@%$build_cpu%g
19884 s%@build_vendor@%$build_vendor%g
19885 s%@build_os@%$build_os%g
19889 s%@RANLIB@%$RANLIB%g
19891 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19892 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19893 s%@INSTALL_DATA@%$INSTALL_DATA%g
19897 s%@LEXLIB@%$LEXLIB%g
19899 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
19900 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
19901 s%@GTK_LIBS@%$GTK_LIBS%g
19902 s%@GTK_CONFIG@%$GTK_CONFIG%g
19903 s%@X_CFLAGS@%$X_CFLAGS%g
19904 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
19905 s%@X_LIBS@%$X_LIBS%g
19906 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
19907 s%@RESCOMP@%$RESCOMP%g
19909 s%@CXXCPP@%$CXXCPP%g
19910 s%@LEX_STEM@%$LEX_STEM%g
19911 s%@PATH_IFS@%$PATH_IFS%g
19912 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
19913 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
19914 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
19915 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
19916 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
19917 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
19918 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
19919 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
19920 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
19921 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
19922 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
19923 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
19924 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
19925 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
19926 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
19927 s%@WX_ALL@%$WX_ALL%g
19928 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
19929 s%@SHARED_LD@%$SHARED_LD%g
19930 s%@PIC_FLAG@%$PIC_FLAG%g
19931 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
19932 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
19933 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
19934 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
19935 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
19936 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
19937 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
19938 s%@USE_GUI@%$USE_GUI%g
19939 s%@AFMINSTALL@%$AFMINSTALL%g
19940 s%@TOOLKIT@%$TOOLKIT%g
19941 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
19942 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
19943 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
19944 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
19945 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
19946 s%@cross_compiling@%$cross_compiling%g
19947 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
19948 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
19949 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
19950 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
19951 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
19952 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
19953 s%@GUIDIST@%$GUIDIST%g
19954 s%@PORT_FILES@%$PORT_FILES%g
19955 s%@DISTDIR@%$DISTDIR%g
19956 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
19957 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
19958 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
19959 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
19960 s%@EXTRADEFS@%$EXTRADEFS%g
19961 s%@RESFLAGS@%$RESFLAGS%g
19962 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
19963 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
19964 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
19965 s%@LIBWXMACRES@%$LIBWXMACRES%g
19966 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
19967 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
19968 s%@DLLTOOL@%$DLLTOOL%g
19972 s%@MAKEINFO@%$MAKEINFO%g
19973 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
19974 s%@SET_MAKE@%$SET_MAKE%g
19975 s%@subdirs@%$subdirs%g
19980 cat >> $CONFIG_STATUS <<\EOF
19982 # Split the substitutions into bite-sized pieces for seds with
19983 # small command number limits, like on Digital OSF/1 and HP-UX.
19984 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
19985 ac_file
=1 # Number of current file.
19986 ac_beg
=1 # First line for current file.
19987 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
19990 while $ac_more_lines; do
19991 if test $ac_beg -gt 1; then
19992 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
19994 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
19996 if test ! -s conftest.s
$ac_file; then
19997 ac_more_lines
=false
19998 rm -f conftest.s
$ac_file
20000 if test -z "$ac_sed_cmds"; then
20001 ac_sed_cmds
="sed -f conftest.s$ac_file"
20003 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
20005 ac_file
=`expr $ac_file + 1`
20007 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
20010 if test -z "$ac_sed_cmds"; then
20015 cat >> $CONFIG_STATUS <<EOF
20017 CONFIG_FILES=\${CONFIG_FILES-"wx-config
20024 cat >> $CONFIG_STATUS <<\EOF
20025 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
20026 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20028 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20029 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20030 *) ac_file_in
="${ac_file}.in" ;;
20033 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20035 # Remove last slash and all that follows it. Not all systems have dirname.
20036 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20037 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
20038 # The file is in a subdirectory.
20039 test ! -d "$ac_dir" && mkdir "$ac_dir"
20040 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
20041 # A "../" for each directory in $ac_dir_suffix.
20042 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20044 ac_dir_suffix
= ac_dots
=
20047 case "$ac_given_srcdir" in
20049 if test -z "$ac_dots"; then top_srcdir
=.
20050 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20051 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
20052 *) # Relative path.
20053 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20054 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20057 case "$ac_given_INSTALL" in
20058 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
20059 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
20062 echo creating
"$ac_file"
20064 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20066 *Makefile
*) ac_comsub
="1i\\
20067 # $configure_input" ;;
20071 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20073 s%@configure_input@%$configure_input%g
20074 s%@srcdir@%$srcdir%g
20075 s%@top_srcdir@%$top_srcdir%g
20076 s%@INSTALL@%$INSTALL%g
20077 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20081 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20082 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20084 # ac_d sets the value in "#define NAME VALUE" lines.
20085 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20086 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
20089 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20090 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20091 ac_uB
='\([ ]\)%\1#\2define\3'
20094 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20095 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20096 ac_eB
='$%\1#\2define\3'
20100 if test "${CONFIG_HEADERS+set}" != set; then
20102 cat >> $CONFIG_STATUS <<EOF
20103 CONFIG_HEADERS="setup.h:setup.h.in"
20105 cat >> $CONFIG_STATUS <<\EOF
20107 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
20108 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20110 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20111 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20112 *) ac_file_in
="${ac_file}.in" ;;
20115 echo creating
$ac_file
20117 rm -f conftest.frag conftest.
in conftest.out
20118 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20119 cat $ac_file_inputs > conftest.
in
20123 # Transform confdefs.h into a sed script conftest.vals that substitutes
20124 # the proper values into config.h.in to produce config.h. And first:
20125 # Protect against being on the right side of a sed subst in config.status.
20126 # Protect against being in an unquoted here document in config.status.
20127 rm -f conftest.vals
20128 cat > conftest.hdr
<<\EOF
20131 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20135 sed -n -f conftest.hdr confdefs.h > conftest.vals
20138 # This sed command replaces #undef with comments. This is necessary, for
20139 # example, in the case of _POSIX_SOURCE, which is predefined and required
20140 # on some systems where configure will not decide to define it.
20141 cat >> conftest.vals <<\EOF
20142 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20145 # Break up conftest.vals because some shells have a limit on
20146 # the size of here documents, and old seds have small limits too.
20148 rm -f conftest.tail
20151 ac_lines=`grep -c . conftest.vals
`
20152 # grep -c gives empty output for an empty file on some AIX systems.
20153 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20154 # Write a limited-size here document to conftest.frag.
20155 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20156 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20158 sed -f conftest.frag conftest.in > conftest.out
20160 mv conftest.out conftest.in
20161 ' >> $CONFIG_STATUS
20162 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20163 rm -f conftest.vals
20164 mv conftest.tail conftest.vals
20166 rm -f conftest.vals
20168 cat >> $CONFIG_STATUS <<\EOF
20169 rm -f conftest.frag conftest.h
20170 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20171 cat conftest.in >> conftest.h
20173 if cmp -s $ac_file conftest.h 2>/dev/null; then
20174 echo "$ac_file is unchanged"
20177 # Remove last slash and all that follows it. Not all systems have dirname.
20178 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20179 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20180 # The file is in a subdirectory.
20181 test ! -d "$ac_dir" && mkdir "$ac_dir"
20184 mv conftest.h $ac_file
20189 cat >> $CONFIG_STATUS <<EOF
20191 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
20196 cat >> $CONFIG_STATUS <<\EOF
20198 if test ! -h wx-config; then
20200 mv wx-config wx${TOOLCHAIN_NAME}-config
20201 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
20204 if test ! -d lib; then
20207 if test ! -d lib/wx; then
20210 if test ! -d lib/wx/include; then
20211 mkdir lib/wx/include
20213 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
20214 mkdir lib/wx/include/${TOOLCHAIN_NAME}
20216 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
20217 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
20219 if test -f setup.h; then
20220 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
20225 chmod +x $CONFIG_STATUS
20226 rm -fr confdefs* $ac_clean_files
20227 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20229 if test "$no_recursion" != yes; then
20231 # Remove --cache-file and --srcdir arguments so they do not pile up.
20232 ac_sub_configure_args=
20234 for ac_arg in $ac_configure_args; do
20235 if test -n "$ac_prev"; then
20240 -cache-file | --cache-file | --cache-fil | --cache-fi \
20241 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20242 ac_prev=cache_file ;;
20243 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
20244 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
20246 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20248 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20250 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20254 for ac_config_dir in demos samples utils contrib; do
20256 # Do not complain, so a configure script can configure whichever
20257 # parts of a large source tree are present.
20258 if test ! -d $srcdir/$ac_config_dir; then
20262 echo configuring in $ac_config_dir
20267 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
20269 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
20277 # A "../" for each directory in /$ac_config_dir.
20278 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
20281 .) # No --srcdir option. We are building in place.
20282 ac_sub_srcdir=$srcdir ;;
20283 /*) # Absolute path.
20284 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
20285 *) # Relative path.
20286 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
20289 # Check for guested configure; otherwise get Cygnus style configure.
20290 if test -f $ac_sub_srcdir/configure; then
20291 ac_sub_configure=$ac_sub_srcdir/configure
20292 elif test -f $ac_sub_srcdir/configure.in; then
20293 ac_sub_configure=$ac_configure
20295 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
20299 # The recursion is here.
20300 if test -n "$ac_sub_configure"; then
20302 # Make the cache file name correct relative to the subdirectory.
20303 case "$cache_file" in
20304 /*) ac_sub_cache_file=$cache_file ;;
20305 *) # Relative path.
20306 ac_sub_cache_file="$ac_dots$cache_file" ;;
20308 case "$ac_given_INSTALL" in
20309 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20310 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20313 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
20314 # The eval makes quoting arguments work.
20315 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
20318 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }